summaryrefslogtreecommitdiffstats
path: root/installerbuilder
Commit message (Collapse)AuthorAgeFilesLines
* delete the components in the updater case in a safer way1.2Tim Jenssen2012-01-301-6/+13
| | | | | | | | | - we had problems that local component are replaced by new ones from server, even this should not happen we don't want this as a crash Change-Id: I87688d96cd52220a07863df47a3778b9f9fbdc66 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* check that the local package is a component to be replacedAlexander Lenhardt2012-01-301-1/+2
| | | | | | | Change-Id: I38fad5c76d454f30106c20852c858bca619e33b5 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* fix possible crash intjenssen2012-01-301-0/+2
| | | | | | | | - findDisplayVersion shouldn't look for unavailable component in components hash Change-Id: I64fe9044e43678d0f98e0d470d73fa2ba4336ff2 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Qt binary patch operation for embedded linux arm target.Iikka Eklund2012-01-302-0/+72
| | | | | | | | | Add new binary patch operation for embedded linux arm targets. New keyword added and corresponding resource file that lists files which need patching. Change-Id: Icab6541939fe44fd10b19358d7dbebf62d4e3e3d Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* fix for Replaces tagAlexander Lenhardt2012-01-271-4/+20
| | | | | | | | - covers also the case when remote components are already replaced by another component - works also in update mode when the component to be replaced exists only locally but not remotely Change-Id: I7af08be4484969f4559da7e29e3e8b333b4d9d4e Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* init state of a new Repository should be enabled as defaultTim Jenssen2012-01-261-1/+3
| | | | | Change-Id: Ie1c47a6e0d9783d5b6fe2da64c2df8900f5d122f Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* now replaces should work againTim Jenssen2012-01-261-7/+1
| | | | | | | - can't reproduce the crash with this code - so maybe the fix from the past was wrong Change-Id: I834eedab1bed6d4600eab3f4c6d8eb8b7cdc62bd Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Typos fixedNiels Weber2012-01-261-5/+5
| | | | | Change-Id: Ia130243f3c96fec5778af5b7ae8b0cc7ece90ed4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
* use QDir::tempPath()Niels Weber2012-01-261-2/+2
| | | | | Change-Id: I3edf4d8307aea8e62e78e501c33e311e2096538d Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Clamp to improve readability.kh12012-01-251-2/+2
| | | | | Change-Id: I2ba777e12a52c94ac7961f442cd4cd75aca35e15 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Use humanReadableSize instead of unitSizeText.kh12012-01-251-14/+5
| | | | | | | Removes some duplicated readable size calculation. Change-Id: Ifae4e3215baef110c1c7b2dd105942f35bac4954 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* silence warningsNiels Weber2012-01-251-1/+1
| | | | | Change-Id: I0003f2453b1a86af60b6349ae6e5d8910ef1c429 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Fix crash while deleting components.Tim Jenssen2012-01-241-1/+7
| | | | | | | | | | | To delete it's childs, the component uses qDeleteAll on the childs list, but once a child get's deleted it removes itself from the calling components child list and then messes up the list iterators. The child list passed to qDeleteAll needs to be a deep copy of the list the component owns to not mess with the original the calliing component holds. Change-Id: I638ffbb576a9543b7197c8bf267239f31197e274 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Remove redundant code. Same is included from libinstaller.pri.Tim Jenssen2012-01-241-5/+0
| | | | | Change-Id: Id5f1ef0d2f46aadcc09abb564b90ea0ddd6cdf1f Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* don't try to call methods if there is no scriptTim Jenssen2012-01-241-0/+3
| | | | | Change-Id: I3a1d5d4b75e0e928f37c976eac1b034a7798f7fb Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* show asserts like default qassertsTim Jenssen2012-01-241-2/+5
| | | | | | Change-Id: I1c002692bcfa76f2b218103dc9357299eea53c66 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* remove only the last space from default qDebugTim Jenssen2012-01-241-1/+3
| | | | | Change-Id: I918a9ad70abb89b100fd7917ae0f8ee1f2b9c610 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* clean up some qDebug messagesTim Jenssen2012-01-244-9/+13
| | | | | Change-Id: I707c4e757f9e050512166779e64dec76ec806879 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* deactivate error message in qdoc register caseTim Jenssen2012-01-241-3/+4
| | | | | | Change-Id: Iae67eb407276128d7ca1fda3cd683b8804946e58 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Fix QTIFW-92.kh12012-01-241-1/+16
| | | | | | | | Select and open an editor on the repositories url field. Also add some tool tips to get a hint on what to enter in the field. Change-Id: Idd275f8f6309c28a6cbcb870ccf09f558499e812 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* Fix I247cca06386eee0f1af084ac4c15a813e38c3f02.kh12012-01-235-83/+52
| | | | | | | | | | We need to update the repositories during fetch and restart afterwards. Thought we can't add them always, as otherwise we would restart again and again without fetching the actual meta data. Fully untested. Change-Id: I4420bfed56e060c67ce12cb684d422bcd0904bf3 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Move to private implementation.kh12012-01-233-5/+11
| | | | | Change-Id: I153c648a45f0f01856c2e96e9337501ed77229d1 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Initial part to update repositories.kh12012-01-208-51/+144
| | | | | Change-Id: I247cca06386eee0f1af084ac4c15a813e38c3f02 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Update repositories after redirect.kh12012-01-175-2/+46
| | | | | | | | Once we got the redirect we should update the repository stored in the settings as well(this is independent of the repository type). Change-Id: I513eff4b5d72e29e879dbf58f224f4262443520f Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Implement operator!=().kh12012-01-172-3/+14
| | | | | | Change-Id: I7584bf90b3b419932c6c68d80924a459e6b5e8d1 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* fatal should abort the applicationTim Jenssen2012-01-171-0/+2
| | | | | Change-Id: I0af9bfb7a64c5045c3f3f6a12390e7dfc15cf0c9 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* remove wrong assert, we are using this if we are calling it with --checkupdatesTim Jenssen2012-01-171-1/+0
| | | | | Change-Id: Iaf3fcc9771f11ea8b963c4b91d9b887cbda0a966 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Remove unused functions from verbose class.Tim Jenssen2012-01-172-41/+0
| | | | | Change-Id: I2b02ab64eaf77a26ed476984c3af4f688415d13e Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Use qDebug instead of verbose.kh12012-01-1733-301/+261
| | | | | | | The message handler now forwards everything to the verbosew riter anyway. Change-Id: I822f86e8f2e2e7690a3b855ed83199d2f41dc480 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Small QString improvements.kh12012-01-1710-25/+23
| | | | | | | | | Use QString::fromLatin1 instead of creating QLatin1String inside the the QString constructor first. Remove some superfluous QStrings at all. Change-Id: Icea93494c669ffa382fd5fbfacc6596383b4de21 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Improve message handler output.kh12012-01-171-3/+22
| | | | | Change-Id: I24abcf2ee05375dd3ea2771ffbe71732c4edd9ec Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* rename button to defaultButtonTim Jenssen2012-01-162-8/+8
| | | | | | Change-Id: I0bdf5b48adee9c289f0f058012490473a2d7f760 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* cleanup unused #includesTim Jenssen2012-01-162-8/+0
| | | | | | Change-Id: Ic1798e1fd7c750988f4e919bee08a8a5c3a00dcb Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* internal config controls whether the maintenance tool can be run standaloneAlexander Lenhardt2012-01-101-0/+28
| | | | | Change-Id: Ia2d95f4f25195981676531e9837a55851360de68 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* added Q_INVOKABLE to a method for counting the number of available updatesAlexander Lenhardt2012-01-051-1/+1
| | | | | Change-Id: Ib5d7f36626654da697ded0a9a2916b591d5a3380 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* fixed QTIFW-75Alexander Lenhardt2012-01-055-4/+28
| | | | | Change-Id: I012819b8e95aa47d08576765eaeffaef01eeaabf Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* treat strings containing commata as QStringListsAlexander Lenhardt2011-12-161-1/+4
| | | | | Change-Id: I6d8980a5825209b23539b4cd2fd6cf148e26d8ea Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* fixed compile errorsAlexander Lenhardt2011-12-151-2/+2
| | | | | Change-Id: I6ed35d9933fa7b3bcf621267710c155ccc569706 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* improve parse arguments at operationrunnerTim Jenssen2011-12-152-8/+12
| | | | | | | - and don't pollute args with this cleanlooks hack Change-Id: I6cacd33b5c02effe267fabc745b1e8f1aab77166 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* fix the hack that uses cleanlooks under Ubuntu 11.10Tim Jenssen2011-12-131-5/+6
| | | | | | | | - count wasn't the right position in the array - and don't ignore style from commandline Change-Id: I8bc5f169c51adafeb333b0872bb5adbde59d01e7 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* try to hack around the ubuntu 11.10 problemTim Jenssen2011-12-121-0/+28
| | | | | | | Change-Id: I3e36c2816513e079f57b168c044f8b2d3355164d Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
* show all details of all messageboxes in verboseTim Jenssen2011-12-073-6/+11
| | | | | | | | - and not only for some and then only some information Change-Id: I9dce3cc895eeff864585db822ba3b8d91233b9d5 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* removed triggerControlScriptForCurrentPageTim Jenssen2011-12-073-7/+0
| | | | | | | | - it is not needed anymore Change-Id: If75bd18d390368feb4244da98457a75639a7b02f Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* added PackageManagerCore::executeDetachedTim Jenssen2011-12-072-0/+18
| | | | | | | Change-Id: I005dc93b06f258ac46f9d79d916815cfacb966c6 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* use replaces for the arguments in PackageManagerCore::executeTim Jenssen2011-12-071-9/+18
| | | | | | | Change-Id: Ib3c71a769deff71766ac75f32c72e83929784f71 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* missid the root components itselfTim Jenssen2011-12-021-1/+1
| | | | | Change-Id: I6328d152d8795e04930bbbbb2d1d2f713eb84745 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* If we cancel an download, prevent the failure msgbox.kh12011-12-022-2/+6
| | | | | | | | | | | | | Make sure to check for cancel in httpError, as the error gets emited as soon as we call http abort in cancelDownload(). Later in the chain httpDone would reset m_canceled and cancelDownload would call httpDone now with an unset m_canceled, resulting in emmiting an error. Change-Id: Ic1e74bef83706dba42ce8d2cb444c08078fa1ed8 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix QTIFW-52.kh12011-12-011-9/+18
| | | | | | | | | | Do not set the application name and version during init, as this would set the packages info to modified. Thus if the packages info goes out of scope would trigger an components xml write. We now set the name and version when we start installing, or if is empty. Change-Id: I8503bab55f7d614bc859f3a3773eb4a0f7816d48 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Move the restart of the wizard into installer base.kh12011-12-012-5/+12
| | | | | | | | Also clear some more labels on restart or after new setings. Change-Id: I3a3727b0d4f2f43e13aafa5f6e499ac74277774c Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix QTIFW-85.kh12011-12-012-4/+13
| | | | | | | | | Do not use word wrap and provide a better size policy. Also elide the text if it does not fit the width of the widget. Change-Id: I18fbdd64c6aa7e07b66d36bf708f709d00787199 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>