summaryrefslogtreecommitdiffstats
path: root/src/sdk
Commit message (Collapse)AuthorAgeFilesLines
* Add command line option to disable checking of free space on target3.2.2-rcArttu Tarkiainen2020-02-273-0/+7
| | | | | | | | | | Also move functionality to PackageManagerCore::checkAvailableSpace() for more convenient later usage, if we want to use this without starting the Wizard GUI. Task-number: QTIFW-1602 Change-Id: I4f2d3cc78bc542475fe9c51b9364b1b221098e4a Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Add early prompt to run MaintenanceTool as admin when neededArttu Tarkiainen2019-11-141-1/+17
| | | | | | | | | | | | Currently IFW does not support manipulating Windows Access Control Lists for files. If a user does not have reading permissions to installer.dat it will throw error on QInstaller::openForRead() before the wizard GUI is shown. At very least, add a MessageBox to prompt the user to run the executable again as administrator in such a case. Task-number: QTIFW-1392 Change-Id: I9e20c34b215ee697118af9c15a7e344f9cfc3c3f Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Fix --no-proxy option in WindowsKatja Marttila2019-10-141-5/+5
| | | | | | Task-number: QTIFW-1445 Change-Id: Iad02ecda0d5b27c3c9719f7c57e090d53a249be6 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Fix maintenance tool source translations to match the actual stringsAndy Shaw2019-08-237-28/+28
| | | | | Change-Id: If4f87a6d14450a74151b610e0da54ef3a82712fd Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update usage of Apple-related terminologyArttu Tarkiainen2019-08-163-10/+10
| | | | | | | | | | | Replace deprecated Q_OS_OSX macro used in several places with the newer Q_OS_MACOS. Old style reference of Apple's desktop operating system name as "OS X" in documentation and files are also replaced with "macOS" where applicable. Task-number: QTIFW-1406 Change-Id: I0561d5e0d964917ac4fca0702d58a06b85d30e57 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Add IFW version information to installerbase binary on WindowsArttu Tarkiainen2019-08-151-0/+18
| | | | | | | | | | | Add Windows VERSIONINFO resource definition to installerbase.rc so we can link the installerbase executable with file version property. Created installers using this base binary will include the set version property. Task-number: QTIFW-1397 Change-Id: Ie7781bf65c6032c01bb0bac9e945c665e81973d9 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Fix installer hang on Windows with empty command prompt window appearingArttu Tarkiainen2019-05-172-6/+10
| | | | | | | | | | | | | | Installer sometimes hangs on Windows with a command prompt window opening and blocking any progress. Hitting enter in this command prompt window causes progress to move forward. This blocks automated execution of tests since it requires manual interaction. parentConsole boolean was not initialized properly, fix logically broken closing actions for console. Task-number: QTIFW-1250 Change-Id: I062c0491c16c26e9435022d79f99240bf59e1a79 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Russian translationKatja Marttila2019-05-171-4/+4
| | | | | | | Change-Id: Ic8edbbd34b048d4d7b4fd034b0dddfa1e73ef8a1 Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Pass -sort-contexts when calling lconvert to keep the order for smaller diffsAndy Shaw2019-05-031-2/+3
| | | | | Change-Id: I4634d54b9bbf0d762a7274ae482f480baed6c0d2 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Fix install button string having a font name in French translationKatja Marttila2019-05-021-2/+2
| | | | | | Task-number: QTIFW-1333 Change-Id: Ia1b055aa0360885d6ab9b3c0aa0fc7930521e040 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update Russian translationSergey Belyashov2019-04-171-42/+76
| | | | | | | Change-Id: I36d329b7c8742133fe62cfc250e53a71ac25d069 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: olesya gerasimenko <gammaray@basealt.ru> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
* Update translations for a number of languagesAndy Shaw2019-03-016-7342/+5361
| | | | | | | | The translations were contributed from an external and are for Spanish, French, Italian, Japanese, Polish and Chinese. Change-Id: I737c88e727c61fb358ab2cf99ce4b80a89817311 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Change quantity information unit textKatja Marttila2019-02-078-96/+96
| | | | | | Task-number: QTIFW-1288 Change-Id: Ie5a6fdc27bb5eb96b080638839ee09f06370848e Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Replace 0 with nullptrKatja Marttila2019-01-095-12/+12
| | | | | | | Prevents a lot of warnings seen in QtCreator Change-Id: I63bf95aca68a04fc9fd0eecbe29c63e9b9c47efd Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Merge remote-tracking branch 'origin/3.0' into masterKatja Marttila2018-12-1012-41/+21
|\ | | | | | | Change-Id: I73cb43e090c6ff34f1ceb774490d01818465e2e0
| * Fix 'Bad allocation' error in Windows3.0.63.0Katja Marttila2018-12-059-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | Due to bug in QTextDocument (QTBUG-65865), installer will crash if it will write a lot of logs to 'Details View' in 'PerformInstallationPage'. Fixed so that instead of writing all extracted filenames to log, write only the name of package which is extracted. This will reduce the huge amount of log written and thus prevents the 'Bad allocation' crash. Task-number: QTIFW-1242 Change-Id: I98ff0df25bcc10d0f7bb79d6c4010665b5e2ac51 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
| * Do not reset core data values in restartKatja Marttila2018-10-163-23/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Do not reset core data values as that removes all data set using setValue() which are needed. Restart is called when pressing 'Restart' after maintenancetool finish page or when changing settings from Settings Dialog. Task-number QTIFW-504 Change-Id: I0713b0371811957b93623433d26f0b10e4c8fb12 Reviewed-by: Janne Anttila <janne.anttila@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Allow maintenancetool signing in WindowsKatja Marttila2018-09-261-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | Maintenancetool signing was broke as installer modified the maintenancetool binary. Fixed so that maintenancetool is not modified, instead the needed data is written to a separate installer.dat file. Installer.dat is written and needed only after install so we can continue using and deploying only one executable. Task-number: QTIFW-667 Change-Id: I30bf2ebe81d7c7146a78840d234c5c813f8e1da5 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Merge remote-tracking branch 'origin/3.0' into masterKatja Marttila2018-09-172-732/+607
|\| | | | | | | Change-Id: I77d539e079f3c7d61c4a965b222f4e02c35b1108
| * Fix typo in French translationThomas Quinot2018-09-171-1/+1
| | | | | | | | | | Change-Id: Ib166c9730c54bff58f19323148a1950e385a18b2 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
| * Update german translation fileKatja Marttila2018-09-131-731/+606
| | | | | | | | | | | | | | Task-number: QTIFW-1084 Change-Id: I023180400efd73655df004df417d9cf1ed86f23e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Niels Weber <niels.weber@qt.io>
* | Add possibility to check/uncheck repositories with one button clickKatja Marttila2018-09-103-2/+40
| | | | | | | | | | | | Task-number: QTIFW-1132 Change-Id: I4d71dedf6f099f8ccc7ecefcfa02cae78d28244b Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Update danish (da) translation for Qt installer-frameworkscootergrisen2018-07-121-84/+100
|/ | | | | Change-Id: Ibc4dae55f01b42b636b2e09149f0f4caf6ede8e3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update Japanese translationTakayuki ORITO2018-03-051-283/+1197
| | | | | | | | Update message in ifw_ja.ts Change-Id: I8a8495f57651eaa2a13a7b36206939f79fc96201 Reviewed-by: Tasuku Suzuki <tasuku.suzuki@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* move ts targets to a separate project fileOswald Buddenhagen2018-02-283-34/+42
| | | | | | | | that makes it possible to update the templates even if the ifw itself cannot be built (e.g., due to using a -no-widgets qt build). Change-Id: Ie170e6524dbed40f6c8b837e35af6b45a1c2d2dd Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Enable building IFW with Squish supportKatja Marttila2018-02-124-0/+30
| | | | | | | | | | | | Change enables building IFW with Squish support by passing SQUISH_PATH to qmake when building IFW. Also enables runtime change of Squish port with command line option --squish-port <port number>. If no port is set, default port 11233 is used to attach to Squish. Change-Id: I4821b360031df66968d3592886c2e45598e1b097 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io> Reviewed-by: Antti Kokko <antti.kokko@qt.io> Reviewed-by: Johanna Äijälä <johanna.aijala@qt.io>
* Fix usesSystemConfiguration usageKatja Marttila2018-01-301-3/+5
| | | | | | | | As usesSystemConfiguration() is introduced in Qt 5.8, use it only when compiling with Qt 5.8 or higher. IFW still supports version 5.6.2. Change-Id: Ib39f38a452624a84627ad53c9941154bc0fd7929 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Remove http_proxy environment usageKatja Marttila2018-01-251-9/+0
| | | | | | | | From Qt 4.8 onwards Qt automatically uses http_proxy environment variable. Change-Id: Ib7b3df96beeed14da86c1b17aa2402a9809f3983 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Set correct proxy typeKatja Marttila2018-01-251-2/+7
| | | | | | | | | From Qt 5.8 onwards system proxy might be used by default. Checked if that is the case and updated settings accordingly. Task-number: QTBUG-65143 Change-Id: Ibe8f3173636c57f73addcc576afdd37a68ec1d03 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Add no-proxy optionKatja Marttila2018-01-253-3/+10
| | | | | | | | | From Qt 5.8 onwards system proxy is used by default. Add option --no-proxy to enable installer usage with no proxy. Task-number: QTIFW-1085 Change-Id: If5247969aa9577cb746468c59802104d19826596 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* make .ts file naming follow the usual patternOswald Buddenhagen2018-01-0312-18/+18
| | | | | | | | this makes it easier to integrate ifw into the surrounding infrastructure. Change-Id: I7918830b7a6c29d8556911eec83a3b6530478d84 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Enable HighDPI support only in WindowsKatja Marttila2017-10-261-1/+7
| | | | | | | | Enabling HighDPI looks crappy in Linux. In MacOS this flag is not supported so enable it only in Windows host. Change-Id: I15167e45371daab1176b0043802bdc8a6954d67d Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Do not reset core when pressing 'Restart'Katja Marttila2017-10-161-1/+1
| | | | | | | | | | Core does not need reset when selecting 'Restart'. If resetting, settings dialog will lose some of its values etc. temporary repositories set from command line. Task-number: QTIFW-1017 Change-Id: Ifd67e373eaeccd85b985012b36b4314f59f0138f Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Update italian translationMichele Caini2017-09-131-2/+2
| | | | | | | | Change-Id: Iadf3bd6ee397839f7121c2991069d262a271e849 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Marco Benelli <marco.benelli@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Massimo Callegari <massimocallegari@yahoo.it>
* Update Russian translation3.0.1Sergey Belyashov2017-08-231-14/+13
| | | | | | Change-Id: Iaa474ae2ed0c462b66ad3355e35e4c5a76d549fc Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Adminauthorization freeze fixed under unixRobert Obermeier2017-06-151-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix x11 authorization livelock problems causing the installer to freeze after password entry. There might be unrelated issues causeing further freezes. Further explanation: If sudo does not terminate then closing stderr has no effect in remoteserver.cpp and the loop in adminauthorization_x11.cpp reading from pipedData will never terminate, causing the installer to freeze. It is important to close all references to stderr and terminate all applications that do not close stderr themselves in the fork/exec chain from adminauthorization_x11.cpp up to the remoteserver. Remoteserver will close stderr in remoteserver.cpp. Forking is done in main cause we can arrange it so that no threads are running up to this point. If any thread were running we would need to fork/exec in the child to be sure to restore a semi-deterministic state. Task-number: QTIFW-934 Change-Id: I87374d3ff195b42da0248c83aff020d373306d93 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Enable high-DPI scalingKatja Marttila2017-06-081-0/+1
| | | | | | Task-number: QTBUG-61122 Change-Id: I412af85f4dd6f379aa09de10d09726e3d2c130e1 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Add danish (da) translation for Qt 5.9 installer-frameworkscootergrisen2017-05-161-0/+2450
| | | | | Change-Id: I3a52d35beff8039c3c24a4d28703a9dddcd812aa Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* update instructions for adding and updating translationsOswald Buddenhagen2017-05-151-11/+12
| | | | | | | this also obsoletes the file list in src.pro, so it is deleted. Change-Id: Ic3f7499e710e35bd785c8041c6c53e937c21092e Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* add target to create untranslated.tsOswald Buddenhagen2017-05-151-2/+3
| | | | | | | this is the standard way to start a new translation. Change-Id: Ie0235e41e39484af0b832a9b7488501bc883aaea Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* auto-generate english "translation"Oswald Buddenhagen2017-05-152-2653/+6
| | | | | | | | this file is merely a placeholder. there is no point in it being in the repository. Change-Id: Id07be46a9fa0c2eb14cbc567cb95e67c00f18b02 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* revamp build of translationsOswald Buddenhagen2017-05-152-61/+31
| | | | | | | | | | | | | instead of using a hand-crafted qrc file, auto-generate one. this allows us to collect available translations dynamically, which means that we don't need to limit ourselves to the state of qt 5.5. as a side effect, this removes the possibility to compile the qt translations ourselves. i'm not sure what the point of that was, as every qt installation would have pre-compiled qm files. Change-Id: Ie88327e848c2498eb2a63a895a80e1cd603619b8 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* fix commit-ts targetOswald Buddenhagen2017-05-151-6/+6
| | | | | | | | | the pattern *_?? (meant to exclude *_untranslated) doesn't match ifw's translations without a country code, because they have only a language code. use two patterns instead. Change-Id: I5c0f67c339053281dfbee1bcd16b03ac6ca1b6e2 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* fix capitalization of zh_CN.ts file nameOswald Buddenhagen2017-05-151-0/+0
| | | | | Change-Id: I466ad08c4ebc1b086cd5b6d6d061ffef9fa3eced Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Check license when doing silentUpdateKatja Marttila2017-05-151-0/+3
| | | | | | Task-number: QTAUTO-428 Change-Id: Ib3d56b59a12d4c7091a6abdbc5231ed5dbe2c3b1 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Give warning and exit install if invalid URL given for 7z repositoryKatja Marttila2017-05-101-0/+6
| | | | | | Task-number: QTIFW-966 Change-Id: I13cf001771d30e0737348d33183e329e4c1d2070 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Proofread German translationFrederik Schwarzer2017-04-241-99/+99
| | | | | Change-Id: I9bda8b78137f9793a4c38b1a8b3b96653fa86c7e Reviewed-by: Niels Weber <niels.weber@qt.io>
* Merge remote-tracking branch 'origin/2.0'Katja Marttila2017-01-3017-289/+204
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Changelog dist/config/config.xml dist/packages/org.qtproject.ifw.binaries/meta/package.xml dist/packages/org.qtproject.ifw/meta/package.xml installerfw.pri src/libs/installer/lib7z_create.h src/libs/kdtools/kdgenericfactory.cpp src/libs/kdtools/kdgenericfactory.h src/libs/kdtools/kdupdaterapplication.cpp src/libs/kdtools/kdupdaterapplication.h src/libs/kdtools/kdupdaterupdatesourcesinfo.cpp src/libs/kdtools/kdupdaterupdatesourcesinfo.h src/libs/kdtools/localpackagehub.cpp src/libs/kdtools/localpackagehub.h src/libs/kdtools/updatefinder.cpp src/libs/kdtools/updatefinder.h tools/binarycreator/resources/mkdmg.sh Change-Id: Iab2513f549832d2e750e77131c673457ab265af4
| * License header update to GPL-EXCEPTKatja Marttila2017-01-2617-289/+204
| | | | | | | | | | Change-Id: I6426c4e8f932cf26c6c638dec18d0c12e22972d1 Reviewed-by: Janne Anttila <janne.anttila@theqtcompany.com>
* | Rename QtBSP as QBSPKatja Marttila2017-01-241-1/+1
| | | | | | | | | | Change-Id: I2537aec5d3065da78bf9b0c6970ff3b38c7d4946 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>