summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* remove the limitation that archivegen could handle directories onlyTim Jenssen2012-05-142-16/+15
| | | | | Change-Id: I5e7b6740d6df1b858cee091a1174e8fd64e477a7 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* remove unneeded variableTim Jenssen2012-05-141-1/+0
| | | | | Change-Id: Iced0128f40f4e84b2751ef37079c70f7c69dabcc Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Fix broken check for translation files.kh12012-05-071-1/+1
| | | | | | | | Even if SUCCESS contains false, the term evaluates to true cause SUCCESS is not empty... Change-Id: I259e6224de9816629c4fb538a49dd072ea58e7d3 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* use string replace method instead of unneeded regexp (\ -> /)Tim Jenssen2012-05-073-11/+5
| | | | | | Change-Id: I9116fc2484e0c2c6e76a9f7e5318d7985f31b898 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* add killProcess methodTim Jenssen2012-05-076-0/+97
| | | | | | | | | - only implemented under windows where it could be needed for update - even the delete file method moves files to temp which can not be removed, it is much safer to kill the process Change-Id: Ide043657d5f74186da02cb18a87072b18910c964 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* 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>
* use QHash where it is possibleTim Jenssen2012-05-0311-38/+36
| | | | | 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-277-11/+10
| | | | | 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>
* 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>
* 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>
* 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-301-4/+15
| | | | | | | | - 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>
* 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>
* 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>
* introduce general humanReadableSize methodTim Jenssen2012-03-277-64/+39
| | | | | Change-Id: I4731be424cf2207e8cc2320ab9e442d02c29aeda Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* let repogen validate install scriptskh12012-03-271-1/+1
| | | | | | Change-Id: I4d08e4c33c3d967d4cf45ef5cdb5f3c3e066cf67 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* updated ts filesNiels Weber2012-03-262-12/+12
| | | | | Change-Id: I6cd6d28ab4ae928b2d44f8b340cfb38ecd2c7898 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* added file exists method to installer object in installerscriptsTim Jenssen2012-03-262-0/+5
| | | | | | Change-Id: Iba4d3fde8ed71d6361366604fd7773761da78b12 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* Build and compile the resource on the fly.kh12012-03-222-13/+57
| | | | | | | | | Copy over the qt qm files. Run lupdate on our ts files. Run rcc and generate the qrc_*.cpp file used to compile. Change-Id: Ib726dde084643848d5edab700476b133326c54d7 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* tiny cleanup stuffNiels Weber2012-03-221-9/+9
| | | | | Change-Id: Iddff810e993e89ca660ca5e4ab6c0220f8659068 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>