summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix corruption of uninstaller operations after 'soft restart'1.6Kai Koehne2014-12-081-0/+5
| | | | | | | | | | | | | | | | | | After updates have been installed, the user can restart the maintenance tool GUI, and check for updates again. If no updates are found then, availableComponents() will remain empty, letting fetchUpdaterPackages() nuke also all 'updaterComponentsDeps'. This in turn breaks sortOperationsBasedOnComponentDependencies(), which needs the list of components to calculate the order. Work around this by forcing a write of the uninstaller data before the core is re-initialized. This let the soft updater behave like an independent updater run ... if no updates are installed, the uninstaller is not written. Task-number: QTIFW-600 Change-Id: I83659491b8e2c0c7a0478362a6c3a4dfaec542b3 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* Fix broken start menu directory handling.kh2014-11-281-6/+2
| | | | | | | | | | | While leaving the page, the value was updated in the core engine, but once the user returned back and choose a new one from the list it was set to the selected directory plus the updated one. Task-number: QTIFW-559 Change-Id: I907fd789bd4460b7479b4f17a06e3d31a8d22c20 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Patch .pri and cmake files for OS X / AndroidKai Koehne2014-11-171-2/+2
| | | | | | | | | Follow the logic in the other emb-arm-qt5 files and patch .pri, .cmake in the OS X / Android packages, too. Change-Id: Ibd41fada7babd0e8ac44ab1fafb474b03a94627e Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* Fix calculation of required disk spaceKai Koehne2014-10-282-2/+38
| | | | | | | | | | Do not count in already installed components when calculating the required disk space. Task-number: QTBUG-39308 Change-Id: Idff52da33d3e42dd156322115d5c489ba13a0945 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Update Russian translationSergey Belyashov2014-10-281-148/+121
| | | | | | Change-Id: I695684d024741cfe1cab171aedd5d7dd9ab9008e Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Fix patching of libexec path on WindowsKai Koehne2014-09-301-4/+11
| | | | | | | | We place all libexec content into bin on Windows. Task-number: QTBUG-41599 Change-Id: I17c8c2f8183af210b416c1169b3f45c5ab0b0158 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
* French translationMatthieu Bachelier2014-08-274-7/+3368
| | | | | | Change-Id: Ifc5c2cc74dad576733b870cb135b45457de434ce Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Sanity-check for Qt SDK installations with broken uninstall operationsKai Koehne2014-08-271-1/+29
| | | | | | | Task-number: QTIFW-535 Change-Id: If4f0ceaf577387c7b98d5b35908a9312e640549c Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Make cycles in component dependencies fatalkh12014-08-261-1/+6
| | | | | | | | | | | Warn the user when sorting operations fails due to cyclic dependencies. Previously we would just continue, saving an incomplete list of operations. This is a backport of commit b707ec04c971 to 1.6. Change-Id: I034007c2271b565d0d792d9a6cfc7f663c897428 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Update German translationNiels Weber2014-07-111-264/+399
| | | | | Change-Id: Ife0dd523984dd0798a30af863e9f3190724f32a2 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Update Changelog.Niels Weber2014-06-061-0/+9
| | | | | Change-Id: I2fbf14be2b3a94a980121b40fb16ff637788345d Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Merge remote-tracking branch 'origin/1.5' into 1.6Tim Jenssen2014-06-061-1/+9
|\ | | | | | | Change-Id: I818c7e398e99c1c28d6b44bfe41223c356afbb80
| * Updated Changelog1.5Niels Weber2014-06-051-1/+9
| | | | | | | | | | Change-Id: Ib4acd1742a21e4cd92b7cf9a56267ac71c5d4365 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Make it possible to calculate dependencies from script.kh12014-06-052-18/+50
| | | | | | | | | | | | | | | | Task-number: QTIFW-503 Change-Id: Ic359d586f36669d4c1430c22e10b5a209ba6fc3c Reviewed-by: Samuli Piippo <samuli.piippo@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Make sure we honor the updates xml checksum flag.kh12014-06-051-1/+6
| | | | | | | | | | | | Change-Id: I1fb7aec13c86c1018298d25d186f200c48d1d59e Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Revert "Use QTemporaryFile instead of some homebrew construction."kh12014-05-221-4/+5
| | | | | | | | | | | | | | | | | | | | This reverts commit 23d0dc225dbe3f89d0411c0195d8bcd066c3bdc7. Thought the implementation looks right in the first place, it will fail if we are asking for a random name inside a directory where we do not have access rights. QTemporaryFile will not roundtrip to the admin server and therefor return an empty string. Change-Id: I0bd716b10e43242f5da5dd939b06213040256d67 Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Check if the file we are writing to is a file.kh12014-05-221-1/+8
| | | | | | | | | | | | | | Remove superfluous remove, since if the file exists but we can't open it it might belong to someone else, so keep it... Change-Id: Ic541fe134dad76983088d4b3d243d15e78f9fed4 Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Fix HTTP proxy settings do not have any effect.kh12014-05-211-0/+2
| | | | | | | | | | | | Task-number: QTIFW-498 Change-Id: I58ebb5a6a65313540a6ee3bb20d872ef32631c5b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Avoid 'Too many open files' on MacKai Koehne2014-05-141-1/+9
| | | | | | | | | | | | | | | | | | Increase the number of file descriptors that the process can open to the maximum allowed. By default, Mac OS X only allows 256 file descriptors, which can easily be reached. Change-Id: Ie4e5ab1051d8e3bf1cb39747f629360915a22d97 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Cleanup. Remove some unused and broken code.kh12014-05-145-420/+0
| | | | | | | | | | Change-Id: I6b1c9b4cd406da91c6642a9cad0e225d8473df20 Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Remove 'What's this' button from wizard (Windows).kh12014-05-091-0/+1
| | | | | | | | | | | | | | Task-number: QTIFW-488 Change-Id: Ibb3915c03e97d7f4334f203731f294b0abedf669 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Obviously we need to pass the authenticator everywhere.kh12014-05-091-0/+6
| | | | | | | | | | | | Change-Id: I8f51582f54ef3c58d439dfffb7ba7802bc47b797 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Improve error message for ConsumeOutputOperationKai Koehne2014-04-251-3/+3
| | | | | | | | | | | | | | | | | | Avoid a warning that e.g. 'qmake.exe.exe' does not exist, when the argument was qmake.exe. Task-number: QTBUG-38343 Change-Id: Icdfc8ffc8e112b23fb0e789d6041ea7eefaf55c3 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | ConsumeOutput: Use local encoding to parse executable outputKai Koehne2014-04-231-1/+1
| | | | | | | | | | | | | | | | | | We don't really know which encoding the app will use. local 8 bit seems to be the best bet though. Change-Id: Ic4d8668ed5f5a6eca55d44348ae54adb903bf447 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Mac: Do not require Xcode command line toolsEike Ziller2014-04-162-10/+10
| | | | | | | | | | | | | | | | | | | | | | /usr/bin/xcrun is the tool to use for running build tools from the current Xcode installation, without the need to install anything beside it. Task-number: QTBUG-38015 Change-Id: I32ba8bfac2f2c49e863fe8aeeecaf3df80afb8c8 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Update version numberKai Koehne2014-04-044-5/+5
| | | | | | | | | | Change-Id: If921eda7fc8919c604e31e2a6230f456e65d078c Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Fix a possible race and some wrong assumptions about file ownership.kh12014-04-033-29/+19
| | | | | | | | | | | | | | | | | | | | | | | | The download archive job does not need to cleanup the files afterwards, that's taken care of by the meta data download. That one will provide the infrastructure where the files are downloaded at. Also prevent the meta job from removing the files once they are fetched in case of a cancel event (which does not entirely mean we are going to shutdown). Change-Id: I66eeff30ef4cabb485dd4f300b2917deb7557867 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Style changes, line length, signature fixes etc...kh12014-04-031-136/+194
| | | | | | | | | | | | Change-Id: I62e8e3db41fcffe43dec0346cefbc52cd51b792e Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Be more descriptive while downloading the actual component.kh12014-04-031-5/+4
| | | | | | | | | | | | | | | | Task-number: QTIFW-438 Change-Id: I309c69cf8a7460d17d76a54fee724e10ab0c9347 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Use qobject_cast where appropriate.kh12014-04-032-2/+2
| | | | | | | | | | | | Change-Id: I433ce0a9521863f02777baff339c7226327f4628 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Calm down the possibility of a buffer overflow.kh12014-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | Still the maximum values do not fit exactly into the double, though way better than the previous overflow while passing a large qint64 as qint32 into the function. Fixes some progress issues I've noticed with very large files that I downloaded. Change-Id: I7c9ea1fbd8cdd454c3ffd5f952dd0118fdf11c28 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Click the "Next" button once we acknowledge to quit the installer.kh12014-03-311-0/+1
| | | | | | | | | | | | | | Task-number: QTIFW-473 Change-Id: Id7c98cec965b786b2ec9df6f46bfef1ddca02fca Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Merge remote-tracking branch 'origin/1.5'Oswald Buddenhagen2014-03-2719-1141/+515
|\ \ | |/ | | | | | | | | | | Conflicts: installerfw.pri Change-Id: I8bd85997fef0fcfa21a4dd28a6362748a54a4a3b
| * Fix hang when entering wrong sudo pwNiels Weber2014-03-271-3/+5
| | | | | | | | | | | | | | Task-number: QTIFW-451 Task-number: QTIFW-409 Change-Id: I83ebd338b5f52f2a0b3b1fabcce8fb98afce5e19 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
| * Fix banner image not working in dynamic pages.kh12014-03-261-2/+0
| | | | | | | | | | | | | | Task-number: QTIFW-471 Change-Id: I3f4df0a6e008664e14034e55f1d843390ad0ca94 Reviewed-by: Niels Weber <niels.weber@digia.com>
| * Implement missing setNativeArguments wrapper.kh12014-03-261-0/+7
| | | | | | | | | | | | | | | | Task-number: QTIFW-310 Change-Id: I88bd641b25973257a7de0b1601581b4cff0bcc42 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
| * Unify access to the supported schemes.kh12014-03-256-29/+32
| | | | | | | | | | | | | | | | | | 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>
| * Remove the fixed font size on License page on LinuxNiels Weber2014-03-111-7/+0
| | | | | | | | | | | | | | | | | | Use the system settings instead like on Windows and Mac. Stops text from becoming illegible on high dpi displays. Task-number: QTIFW-437 Change-Id: Ieca4eba2a24d97ffb5b211623ce8883c011d33da Reviewed-by: Kai Koehne <kai.koehne@digia.com>
| * Fix typos in comments and documentationSergio Ahumada2014-03-055-5/+5
| | | | | | | | | | | | Change-Id: I03d99ae5eb9266195ff9ab1c73b5ebd8e548e6bc Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
| * Update Russian translationSergey Belyashov2014-02-191-1080/+419
| | | | | | | | | | | | | | | | Change-Id: Ib3602d8a6d8becb72cd9eba431353856549a5726 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
| * doc: More fixes for repogen documentationSergio Ahumada2014-02-112-6/+3
| | | | | | | | | | | | | | | | | | - Remove '-c config' from docs - Remove '--updateurl' from docs Change-Id: I2a7a6d3ffd370527ab3d72a2db7c120355f1931f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
| * doc: Fix minor typosSergio Ahumada2014-02-111-4/+4
| | | | | | | | | | | | | | | | - config.xml -> package.xml - Update.xml -> Updates.xml Change-Id: I94cd1b316a8591f24cea50153f071976800ed771 Reviewed-by: Niels Weber <niels.weber@digia.com>
| * Add ts-<lang>, ts-all, commit-ts rules for translationsTakumi Asaki2014-02-102-3/+40
| | | | | | | | | | | | | | | | Add ts-<lang>, ts-all, commit-ts rules to src/sdk/sdk.pro for translator's convenience. Change-Id: Ie75641870e78b78f4db04ec9c7e4460b86d079c8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
| * doc: Remove '-u http://www.example.com:8080' from the repogen helpSergio Ahumada2014-02-101-1/+1
| | | | | | | | | | | | | | | | The --updateurl functionality was removed by 17401372c003949a86540c7581e830b980606b73 so removing its usage from the repogen tool help. Change-Id: Iaf0e7bb65b5f116e5c5e3b921d072db70e8e7236 Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Remove some trailing whitespace.Niels Weber2014-03-271-5/+5
| | | | | | | | | | Change-Id: Ia417652a44c99008143f3dc7c94c0853b129fea9 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Use non-static remove, same as with exists.Niels Weber2014-03-261-1/+1
| | | | | | | | | | Change-Id: I5e7fd0bbdee35daf76caf1fe192a1f57362642ab Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Warn earlier about trying to install to root or home path.Niels Weber2014-03-261-5/+13
| | | | | | | | | | Change-Id: Ic5e6e207a140158edc15c09c6cf7af3b36ac1139 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Use QTemporaryFile instead of some homebrew construction.Niels Weber2014-03-251-5/+4
| | | | | | | | | | Change-Id: I4bacd7d0f60861e457a13a05bd9218097fb6a364 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Add lconvert to pri file.Niels Weber2014-03-191-0/+2
| | | | | | | | | | Change-Id: I09da477700da81a4fd678b959553e2078b8c1bc0 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Add 'Open ReadMe' exampleKai Koehne2014-03-116-0/+140
| | | | | | | | | | | | | | Shows how to add a 'Open ReadMe' checkbox to the final page of the installer. Change-Id: Ibbf0fb6c4d0422c2df892a3f3e636fc20312e56b Reviewed-by: Niels Weber <niels.weber@digia.com>