summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller
Commit message (Collapse)AuthorAgeFilesLines
* Qt SDK -> Installer FrameworkNiels Weber2012-01-31120-120/+120
| | | | | Change-Id: I143694ac2a62e3c0e2be003ffa0f7e37f00351a2 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Fix for QTIFW-103 and update on QTIFW-75.kh12012-01-311-8/+16
| | | | | | | | | | We missed a connect, thus the label on the right got only updated in case we switched the current node as well. Also hide 0 size infos. Change-Id: I7aa5b689ed9928fc4918b6e9cf651d14183e25a8 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Iikka Eklund <iikka.eklund@digia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* mass change 2011 -> 2012 for copyrightNiels Weber2012-01-3166-66/+66
| | | | | | Change-Id: I66340dbc1f2a5a38ed98d1ad406c22b594d92b6e Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* 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>
* 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>
* 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>
* 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-243-5/+3
| | | | | 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 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>
* 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>
* Use qDebug instead of verbose.kh12012-01-1726-178/+142
| | | | | | | 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-179-24/+22
| | | | | | | | | 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>
* 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-151-7/+10
| | | | | | | - and don't pollute args with this cleanlooks hack Change-Id: I6cacd33b5c02effe267fabc745b1e8f1aab77166 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.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-072-6/+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-011-2/+0
| | | | | | | | 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>
* Hide the automatic restart page.kh12011-11-301-2/+2
| | | | | | | Might also fix the double commit button seen by the tester. Change-Id: I67b0ac36eee97afcc6bba84e4f102ea056ea4bc0 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* fix a crash if the replaces is not existingTim Jenssen2011-11-291-3/+8
| | | | | Change-Id: I2b65c343f701d67577e2b127b47054368ce583c7 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Remove fetch and implement "lazy" fetch.kh12011-11-282-0/+3
| | | | | | | | | Now it feels better then to bring up the dialog and start the fetch instantly, the user now has the opportunity to edit the network settings first and on "Next" we fetch the tree. Change-Id: I1ebce333bf5157421f2b62afbe5630b0ec1e0134 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* compile fix for LinuxNiels Weber2011-11-281-1/+2
| | | | | Change-Id: Id2a87d393f154870fb6d7dbba747be083706280a Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Implement network settings dialog.kh12011-11-285-44/+183
| | | | | | | | | User settings are stored inside a network.xml file, e.g. proxy type, proxy authentification, repositories etc... Default repos are saved kind of encrypted inside the already existing ini file. Change-Id: Ie97f2e82af7faf4d15719c669a0fa4158b503ce3 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Make it possible to set proxy factorys for the downloaders.kh12011-11-284-0/+31
| | | | | Change-Id: I1a728b60a196807fa8257b22e58165e2c55be787 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>