summaryrefslogtreecommitdiffstats
path: root/src/sdk/installerbase_p.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use QCommandlineParser, remove some developer related options.kh12014-07-101-318/+0
| | | | | | | | | Remove: --runoperation, --undooperation, --update-installerbase --dump-binary-data, Script, Updater, ManagePackages Some of these options will go into a separate dev related tool. Change-Id: I31084f60d3ed9a33abeb3df90fadf939d3b4c0a7 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Fix broken tools after switching to QFileDevice.kh12014-07-021-1/+0
| | | | | | | | | | | Follow up on 924ebcdbc9b9e590a5f0905941e2d05ac34d4be2 (Part 1). Get rid of KDSaveFile, reuse QTemporaryFile. After changing KDSaveFile to inherit from QFileDevice, it turns out to be not working properly anymore and crashing e.g. binarycreator while using it. To save fixing it we just switch to QTemporaryFile. Change-Id: I785a04db91b431f5e122f193ecf2ef3c54e34b1c Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Split out the file IO stuff and adjust other files respectively.kh12014-06-241-3/+3
| | | | | | | | | Also adjust the API to use QFileDevice instead of QIODevice to make clear we just operate on files here and not on any possible device like sockets, processes etc... Change-Id: I4ecbb6e244fe4bb666ed12e62f9f5586bc1347f0 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Fix replace maintenance tool binary.kh12014-06-041-50/+42
| | | | | | | | | | Missing QInstaller::init() did lead to crashes cause of uninitialized lib7z (in case we used a zipped file as input). In verbose mode console did not show up. Get rid of KDSaveFile as it complicated to code unnecessary. Change-Id: I5911c895d7763e4ce919b1d4761568e47b244b1b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Unify access to the supported schemes.kh12014-03-251-9/+2
| | | | | | | | | Fixes an issue that https downloaded files where not properly named and put in the right temporary download directory. Change-Id: I8a973e8b63cfae2f575d84591a8ebbef53d45a3a Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Fix --checkupdates shows error dialog if network is down.kh12014-01-081-135/+3
| | | | | | | | | | | | Task-number: QTIFW-431 We need to add a separate console window in case we run on windows, though we can't use a gui application as the lib might popup message boxes. (MessageBoxHandler checks against a running core application) Change-Id: Idad8dff44c6c0bfb0bb45e8a0fb408b3db832c3c Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Compile on mingw.kh12013-10-151-8/+3
| | | | | Change-Id: I2a9a85e88dffa62af57c8502533a0c131ecf1b8e Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Fix compile error.kh12013-09-301-0/+7
| | | | | Change-Id: Ibb90804435248541ca8c2ecaaf88e394f9bf403f Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Fix possible crash. Disable close button during installer run.Tim Jenssen2013-09-301-0/+5
| | | | | Change-Id: I6a0affab7394e3ae9669904bbfc48617b5cb1bd5 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Cleanup and improve output of --helpNiels Weber2013-08-291-44/+48
| | | | | Change-Id: I1bfe519e858cfcb698522c8e8890c16c52669d81 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Add a line to --help about multiple repositories.1.4.0Niels Weber2013-08-271-0/+6
| | | | | | | | | | Also document --updater and --manage-packages options. Task-number: QTIFW-348 Task-number: QTIFW-350 Change-Id: Icdb2fe04adbdebc11cf929b5f2f6880835c989ec Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* fix error handling in 7z libTim Jenssen2013-04-191-2/+2
| | | | | | | | | | | | | | | | - remove an already existing symlink at extraction, because it uses QFile to get the io device and that would be the symlink target which was wrong. - try to get better 7z error output - an error would be now: "There was a problem while performing the operation: Error while extracting 'C:\Qt\qtcreator-2.7.0_test.7z': Cannot open file: D:/test/qtcreator-2.7.0_test/bin/sqldrivers/qsqlite4.dll (Access is denied.)" - move setPermissions to the end so read only files are getting the right timestamp Change-Id: I8881144660296618d443568e6974bf2721328991 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Add --binarydatafile argument to installerbase.kh12013-02-071-0/+3
| | | | | | | | | | | Task-number: QTIFW-214 Simplifies testing an already existing installer or maintenancetool using a newer installerbase or IFW build. Change-Id: I11df629614eb1c2c15ecc28af37d8e40b5173a79 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Add 2013 to the copyright.Niels Weber2013-02-051-1/+1
| | | | | Change-Id: If64730ba7203d1a910a426c0d9c9a738ecfeff4b Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Change copyright headers from Nokia to DigiaSergio Ahumada2012-12-211-18/+27
| | | | | Change-Id: Id55a71a6ee24b234739b6066e11e9c1f2e389f73 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Some changes to start compile with Qt5.kh12012-11-201-1/+1
| | | | | Change-Id: Ie6a3ba7b3c0b24fc292d0d7444ae920dfa866a54 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Implement cmd option to dump binary content into given dir.kh12012-11-141-0/+6
| | | | | | | | | | Reuse already existing functionality, just fix the hard coded "repository" path name. Also check if we are running offline only, as otherwise there will be no data section. Change-Id: Iac45d89822fceee9e527afe0dc9eb589e39e16e7 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Add new commandline argument.kh12012-08-171-0/+3
| | | | | | | | | | | | In case we run an offline installer, --create-offline-repository will dump the whole installer content into the install directory and add an extra url to the repositories pointing to the mentioned local repository. This allows an offline user to add packages without the need of a new installation. Change-Id: I3e7eb0c56f632b74f5ea41b96bf3d9be83173f41 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* Reorganize the tree, have better ifw.pri. Shadow build support.kh12012-03-191-0/+428
Change-Id: I01fb12537f863ed0744979973c7e4153889cc5cb Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>