summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* remove unneeded method in the uninstall caseTim Jenssen2012-05-071-4/+0
| | | | | | | | | | | | | | | | | | - an uninstallation is basically running the undo operation on all ran/saved operations, for this no scripts are needed and usually they are not loaded to run the uninstaller(maybe there is a bug if the user used the previous button of the maintenance tool in the packagemanager or updater mode) - both removed methods using things from script which shouldn't load in the uninstall only mode - what should do an uninstaller if they need to close an application to run correctly, till now this is not needed because if the delete method of the installer can't remove a file it moves it to the temp directory Change-Id: Ia8d8337b64450473fd400a4c5b2fc2d96daefecc Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* no need to remove the startmenu entryTim Jenssen2012-05-041-11/+0
| | | | | | | | - createShortCutOperations handles that completely (it removes every parent dir if it is empty) Change-Id: I94021c12342de9ec3bfa859d17c352b73b55e4dc Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Doc: fix style sheetsLeena Miettinen2012-05-037-277/+616
| | | | | Change-Id: Id158ddef8ff27fb17950c161b07624ecdb6f3ea8 Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
* Fixes to parameter syntax documentation.Niels Weber2012-05-031-9/+9
| | | | | | Change-Id: Ie515bb76104b6c325f93e643828619d46e052533 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* use QHash where it is possibleTim Jenssen2012-05-0314-44/+42
| | | | | Change-Id: I01edf5ee396ea61526dce52d7b7f4fd02721c220 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* improve clickButton and isButtonEnabledTim Jenssen2012-05-031-5/+22
| | | | | | | | - show the type of the missing button as a readable string Change-Id: I68dbadd1ddd0a1a43219807e9fb2c0b4fa9df436 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* fix 0a8755a for Linux and MacNiels Weber2012-04-303-2/+14
| | | | | Change-Id: I7b3a85e8b83226db47955f88c13b5bc3cd8b5ad1 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* Fix connection type, makes the models actually work.kh12012-04-271-1/+1
| | | | | Change-Id: Ibbbc944c603a10c3de43ad96f89a7ca00f3993b9 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* use scCommaRegExp where ever we canTim Jenssen2012-04-278-12/+11
| | | | | Change-Id: I484e20fd53c2710595c5d4eb28878932eebafe35 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* now we can setTempRepositories from script sideTim Jenssen2012-04-275-28/+21
| | | | | | | - this makes testing with autoscript more convenient Change-Id: I93e25570cd9f2b1431412a601476947fc9a046d9 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* now installer can disallow to install from a remote locationTim Jenssen2012-04-2710-3/+175
| | | | | | | | | | | | - at the moment the implementation is windows only - in some cases it is problematically to install big installers from a remote location: if the connection is lost -> crash - the installer itself can have the flag DependsOnLocalInstallerBinary in the config.xml file - or a component can request that installer.setDependsOnLocalInstallerBinary() Change-Id: I0c8d70ca89dd55d2d0c52bf3418f11c95b5290a1 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* added the possibility to ask the gui if a button is enabledTim Jenssen2012-04-272-0/+12
| | | | | | | Change-Id: I3f3bb02de3e290fc423de5d83f4cb4799b35ec6a Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* remove allowMaintenanceTool checkNiels Weber2012-04-271-29/+0
| | | | | Change-Id: Ibb6d0757137bef2e381030d2b6baf5f2460d3439 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Implememt a way to ask for and save user authentication settings.kh12012-04-278-9/+245
| | | | | | Change-Id: If1fa6bbcb8cd0d3da08f33f96b52589251f9cffc Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix formatting and indention.kh12012-04-271-7/+4
| | | | | Change-Id: I37d4d26ca68de83a6651fe6b8119830ea282fa1d Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Do not limit parameter count to 10 in add(Elevated)OperationOliver Wolff2012-04-272-16/+46
| | | | | | | | | Instead of adding more and more parameters to the functions the possibility to use arrays was added. Change-Id: I8569b162e5676f1a3b7c4f2a5b3bf98cb2f46030 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* fix build and warning on OSX after f691fd7, 84a744kh12012-04-262-3/+2
| | | | | | | Change-Id: Ibcae072952c9835a6c698889a539453b2d88059a Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Add possibility to verify custom pages.Andreas Holzammer2012-04-256-0/+67
| | | | | | | | | Introduce setValidatorForCustomPage, to set a validator for a custom page. Change-Id: I24739d9544c20e0b2b1beab1ae90f8b98cc3d542 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Insert RegisterQtInCreatorQNXOperationAndreas Holzammer2012-04-254-0/+291
| | | | | | | This allows to add a Qt for QNX in the QtCreator. Change-Id: Icd8a75cdbc50df333fe9f6a93399392ee4a7109d Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* add the possibility to add a repository from script sideTim Jenssen2012-04-254-0/+46
| | | | | Change-Id: Ida419095138fcfb924210484c2bf2d1cb77fc55b Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Move the models inside core engine.kh12012-04-257-89/+124
| | | | | | | | Improves the situation for qml based installer. Change-Id: Ia7198f0720a1268c7918517228c13255cccce4ea Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix patching of qmake for Qt5Andreas Holzammer2012-04-251-0/+16
| | | | | | | Change-Id: I0a039905c2b37105974270414478d6909325d2ad Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Add QFileDialog::getExistingDirectory to ScriptingAndreas Holzammer2012-04-253-0/+21
| | | | | | | | | Make it possible to access QFileDialog::getExistingDirectory from installer script. Change-Id: I2cfa8cd9bba77580b4ed1ade46b56796839f7126 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* correct spelling: there is no plural of information in EnglishTim Jenssen2012-04-242-2/+2
| | | | | Change-Id: I2eaf5c99d98ae8ccff8fd2e23a7c50740f61f37c Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* use Q_OS instead of Q_WS definesTim Jenssen2012-04-2414-43/+47
| | | | | Change-Id: I2bbc5b97b8aa9d3dbe77a3334c0182158c2db9c5 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Do not abbreviate "directory" in uninstall warningOliver Wolff2012-04-244-4/+4
| | | | | Change-Id: I82e4526371c221dfa34c2dbf0896229ddb15e517 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* printusage should show binaryending under windowsTim Jenssen2012-04-231-11/+21
| | | | | | | | - and added some correction code if that .exe ending is missing Change-Id: Id8d4ed0962d8cb3a0bdb277dfce6f9e6014aec33 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* remove W from windows methodsTim Jenssen2012-04-191-2/+2
| | | | | | | | - there are defines in the windows api which use the correct function (ASCII/Unicode ...) Change-Id: I2c545a67c3d23040bf128ecbc65d7e5015e997b5 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Implement https support, reuse http downloader.kh12012-04-194-7/+51
| | | | | | | | | Fixes Task-number: QTIFW-119 Change-Id: If374603834f5dfe9e7b51f41139cd3b78ad21c61 Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* createOperationsForArchive should use the correct pathTim Jenssen2012-04-131-8/+10
| | | | | | | - only with this you are able to overload the createOperationsForArchive without the knowledge where the archive comes from Change-Id: Ica65c2bbd14cf554ab4702f5886d74423bbc86f5 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* remove 7z:// protocol leftoversTim Jenssen2012-04-132-15/+3
| | | | | Change-Id: I65abb22a330d928d32800acd357fdd6b27c9399b Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* add missing config.xml to one exampleTim Jenssen2012-04-131-4/+5
| | | | | | | - and added seperator instead of hardcoded "/" Change-Id: I26fa9b0dac5d0e0d131b628ef78ff8eca3a5fb2a Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* deinstallation is not an english wordTim Jenssen2012-04-131-2/+3
| | | | | Change-Id: Ide623cb7550ed0a6835e1f0113f2e06d5af9f046 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* translation updatesNiels Weber2012-04-112-28/+28
| | | | | Change-Id: I2cdd4f89c64467e02c0afeaf950426cf5e905de4 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* updatecreatorsettingsfrom21to22operation has never worked for debuggersTim Jenssen2012-04-051-4/+6
| | | | | | Change-Id: I673b0e17d33cec338c0b772c7bef120aa878eb60 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Change usage message to reflect changed config handling.Niels Weber2012-04-033-3/+3
| | | | | Change-Id: Ia3287e48faa5b0efa575602933a1d965081b6f28 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Remove leftover comment.Niels Weber2012-04-031-1/+0
| | | | | Change-Id: I750d3488ef6913e96332a3582a44e047cc76eea8 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Specify config file instead of hardcoding config.xmlNiels Weber2012-04-023-37/+40
| | | | | | | Fixes Task-number: QTIFW-83 Change-Id: I706e08492355e3502e76377f232c94ded5437029 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* also use cleanlooks on ubuntu 12.04Niels Weber2012-04-021-1/+1
| | | | | | Change-Id: Iea79be86fb5b5e552b8b8473d432ff45ecd3b5d9 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* binarycreator shouldn't exit with error code if it can't clean up correctlyTim Jenssen2012-03-302-5/+16
| | | | | | | | - in case there is something but ignoreErrors==true it is showing a warning message Change-Id: I9c09a310960a56432975757496984bbe36fe5028 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* fix typo resulting in annoying warning in German translationNiels Weber2012-03-301-3/+3
| | | | | Change-Id: I718403a80cc8ac64d9ebe205e89c6502f7a9b367 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* doc notes for the new changes in repogen and binarycreatorTim Jenssen2012-03-301-28/+49
| | | | | | | Change-Id: I86fb2c25a4cf01f7196b79742f6cc10f10b80e53 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Update German translationNiels Weber2012-03-302-1065/+385
| | | | | | | Also remove obsolete strings from German and English ts files. Change-Id: I7978120a0935465c14a8cee61b62c2b9b7a6e178 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Remove app bundle, as well as tool and statusbar.kh12012-03-292-9/+1
| | | | | | Change-Id: I70a67d7217580e6d292d210c9f832bbfe44f96b9 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Document localization of package.xml description.Niels Weber2012-03-282-0/+6
| | | | | Change-Id: I73c0f338433f8c571057760765d0388dcf062350 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Load only the description with the correct lang attribute.Niels Weber2012-03-281-0/+12
| | | | | | | If there is none, fall back to the untranslated one, if that can be found. Change-Id: I589b67e314c2039fe40e88c1370afd4eff89b0d5 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Disable the cancel button in case we uninstall.kh12012-03-282-2/+22
| | | | | Change-Id: I246fca40b571e9f7b482ae81e040b952deb5ba39 Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Typos etc fixedNiels Weber2012-03-282-6/+6
| | | | | Change-Id: I7cb7438f940c14d65426e8a43acec496824ade0d Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fallback to read the environment from registry as well.kh12012-03-271-3/+13
| | | | | Change-Id: Id3666ca179b7033a958fc7e0681d6ee7b2024788 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* take into account that we could have more then one updates.xmlTim Jenssen2012-03-271-1/+6
| | | | | Change-Id: If754c5885e3c1bf2b15773d39b14d3a7edfe6039 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>