summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix settings testKatja Marttila2016-06-201-7/+13
| | | | | | | | | QFile either returns 'Unknown error' or 'No such file or directory' when trying to use non-existing file. Make settings test work with both values. Change-Id: I5245b5ad0cf5b91a7eec61c17315982ce14eecfb Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Make Execute operation work without arguments in WindowsKatja Marttila2016-06-131-10/+1
| | | | | | | | | | | Since Qt5.5, QProcess start() needs a program to start. When using native arguments the program is empty and QProcess will fail to start. Removed the use of native arguments until QProcess supports setting program through native arguments. Task-number: QTIFW-862 Change-Id: Ia56344e1bf82fbd76e4e8f2ae8b6817e4bb2fce1 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* add make install functionality with INSTALL_ROOTKatja Marttila2016-05-197-0/+21
| | | | | | Change-Id: I8bad1c9bbe7b705ff0842f15fb0c9bc6c127e9bc Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* add missing tr for "AlreadyRunning" messageboxKatja Marttila2016-05-191-2/+2
| | | | | | Change-Id: Icffe886597a1f18d9eaacf1e3a14f31e252919c6 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com> Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* Do not force doc build on Linux when calling "make install"Iikka Eklund2016-05-161-6/+0
| | | | | Change-Id: I7081e43810ec8c05c75f6772140e1a464dbc08ad Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Doc: Fix PackageManagerCore::ComponentType briefLeena Miettinen2016-05-131-1/+1
| | | | | | | | The \enum command \brief commands do not seem to get automatically completed during builds anymore. Change-Id: Id81aa8f3044f6151d6b4d8a441e386deb0ca4844 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Doc: Fix link to Supported Platforms in Qt Reference DocsLeena Miettinen2016-05-131-1/+1
| | | | | | | | The module name is needed, because there is a Supported Platforms section in this Manual, too. Change-Id: I3d77c89a2afc006d6e423d21ee46e7fbfee2058b Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Doc: Describe return values for boolean Component functionsLeena Miettinen2016-05-131-2/+11
| | | | | | | ...to suppress QDoc warnings. Change-Id: Ib79b0392efaed37b4a52932d4f7d98327a3ad306 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Doc: PackageManagerCore::ComponentType is now an enumLeena Miettinen2016-05-131-27/+21
| | | | | | | Change the documentation accordingly. Change-Id: I2f15bf724558794b66e99eab1120dc2d224600de Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update changelog2.0.3Katja Marttila2016-05-021-0/+3
| | | | | Change-Id: I31ddb526ec76b4b28a457dbb95b1809fb5425395 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* Cleanup Japanese translation (12 obsolete).Takayuki ORITO2016-04-291-71/+0
| | | | | | | Remove 12 obsolete messages in ja.ts. Change-Id: I2d514b93056f5755760ff4eb1b44e36923b01f1c Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
* Update Japanese translation (new 2).Takayuki ORITO2016-04-291-0/+8
| | | | | | | | Update new 2 messages in ja.ts. Change-Id: Ifde5277b4ec968472831c46a940480471dec33dd Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Niels Weber <niels.weber@qt.io>
* Fix the exception message because missing a space.Takayuki ORITO2016-04-291-1/+1
| | | | | | | Added space between 'convert' from 'path'. Change-Id: I25f4eedc7d322d29c8c93dd7dd80fc13232de0b7 Reviewed-by: Niels Weber <niels.weber@qt.io>
* Make IFW compile with FreeBSDKatja Marttila2016-04-262-1/+14
| | | | | | | Change-Id: Ibebc25b738c843c0eb4291faa2bba7ac9836b008 Task-number: QTIFW-841 Reviewed-by: Ralf Nolden <nolden@kde.org> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix MSVC2015 build.Rafael Roquetto2016-04-182-2/+2
| | | | | Change-Id: I502e48dea6329bd6f05a776a669093f41698a274 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Update minimum Qt version for 2.0.3 releaseKatja Marttila2016-03-223-48/+8
| | | | | | | Minimum required version is now Qt5.5 Change-Id: If000a507f0067650605987d38374bf6694eb16aa Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Update version number for 2.0.3 releaseIikka Eklund2016-03-225-7/+13
| | | | | | | Also update the Changelog. Change-Id: I2a74edd32783bdfb01d4706dcbc2d3ae78ac5069 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Revert "Use QQmlV4Function to correctly get empty parameters from script."Katja Marttila2016-02-177-175/+58
| | | | | | | | | | | This reverts commit eb574d77b0ab9a92b61e7738d089cd4ea4304e51. The change will not work with Qt5.5 as it is causing constant crashes in Qt installers. Using this change will require a fix for Qt5. As we are about to make Qt installers based on 2.0 we need to revert this change for now. Change-Id: Ia7906d02db645f2407ab07d14f5a037224574b29 Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
* Fix crash when updating admin installation with user/temp repositoryKatja Marttila2016-02-151-1/+10
| | | | | | | | Grant permission rights for writing maintenance config file Change-Id: I9364358455b8ad5e98b03c20d949c2562ba2535a Task-number: QTIFW-740 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* Compile with Qt 5.5, 5.6. Minimum version is now 5.5.Karsten Heimrich2016-01-212-4/+4
| | | | | Change-Id: I60d248ea38e8176e18a9b2a642e81a0ad5fb21d3 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Fix compile with namespace'ed Qt.Karsten Heimrich2016-01-213-10/+4
| | | | | Change-Id: I9c0d399943d2f6eb9a0ab136abf24a5c8b108abb Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
* Update Changelog for version 2.0.2Iikka Eklund2016-01-211-0/+14
| | | | | | Change-Id: Ic7900dec6db93ecab54bb60685326226127ce20a Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: Remove dubious sentence from installer.calculateComponentsToUninstall()Kai Koehne2016-01-151-2/+2
| | | | | | | | The auto-dependencies seems already to be handled correctly in UninstallerCalculator. Change-Id: I30074036aa030399cd49a6bfe2e380ffa1e92c58 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Update documentation for --runoperationKai Koehne2016-01-131-4/+3
| | | | | | Change-Id: I031f3e5ef7f23a92185a6ad35fe9575c06ba3eb9 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Update the git-archive export optionsIikka Eklund2016-01-082-0/+4
| | | | | | | | | | | The .gitattributes, .gitignore, files do not need to be present in packaged sources Add .tag for git-archive to store the SHA-1 of the commit being packaged. Change-Id: Id81ec994b8244b783b5488aa01f1ba28481a4379 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Add alternative option where to read the installer-framework sha1Iikka Eklund2016-01-041-1/+9
| | | | | | | | | | | | | | | | | The "--version" uses the sha1 of the git checkout of the installer-framework. This works when making the build from git checkout. For Coin (continuous integration) the installer-framework builds are made from stored src packages where the .git directory is not present. In this case read the sha1 from the .tag instead which is present in the Coin produced src packages. Change-Id: Ic6387c844699f4410c043a4df84727bb5c1108ae Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Add sync.profileIikka Eklund2015-12-301-0/+6
| | | | | | Change-Id: Iab18aa118911d8a6b6b352e958e6b301e55d4a70 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* Add .qt-license-check.exclude and .qt-license-check.optional rulesIikka Eklund2015-12-302-0/+2
| | | | | | | | | | | | | | | Installer-framework has two imported third party modules. src/libs/7zip: - Do not attempt to check for license headers for these files, use exclude filter. src/libs/kdtools - If license headers exist then check those i.e. optional. These files are contributed by KDAB. Change-Id: Ie3c7507c0386680ae84987628291a9612590a4f7 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Update license headersIikka Eklund2015-12-29369-1340/+1450
| | | | | | | | | Update existing license headers. LGPL -> LGPLv21. Update copyright year as well. Change-Id: Ie1d71f8c68186b8f625f409ddf94691f178093c9 Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com> Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Fix target directory check for reserved words on WindowsAndy Shaw2015-12-071-1/+1
| | | | | | | | | If the directory starts with "Con" etc then it is still ok to use, it is only if it is /Con or /Con/ that it is not allowed. So the extra check to be sure has anything after the reserved part is included. Change-Id: I72e0e0f98167f29da54cb627e75cd1814c3f9706 Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com>
* Use QQmlV4Function to correctly get empty parameters from script.Karsten Heimrich2015-11-267-58/+177
| | | | | | | | | By using QQmlV4Function to get the parameters, empty strings passed are correctly kept as empty and not null. Task-number: QTIFW-724 Change-Id: I592e2230e574ba82e765bd0079964db29452b2e9 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Fix errors when running updates in a directory requiring elevationKai Koehne2015-08-202-2/+2
| | | | | | | | | | | | | | isWritable() is not a reliable way to check for permissions on Windows. Instead, just try to create a file. The alternative would be to set the magic qt_ntfs_permission_lookup variable to 1. Anyhow, this might slow down things and cause other regressions ... Task-number: QTIFW-746 Change-Id: I1b5637670bfcfe29966f0545ce2c6b1f663a9738 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: Fix the function name in Controller Scripting page.Takayuki ORITO2015-08-111-1/+1
| | | | | | | | Callback was not written in the function name. It is targeted for 'Start Menu Directory Page' section. Change-Id: I8e206caf29865e1e01defddc1fb9ae60c5f85632 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix usage of system proxy with credentialsKai Koehne2015-08-052-1/+14
| | | | | | | | | | | | | | So far we've been using the entered credentials only for custom proxies on Windows and OS X. If one selected 'System Proxy' we asked or the credentials, but tried again without setting them. This fixes a regression introduced in 2.0, where we started to interactively ask for credentials. Task-number: QTBUG-46547 Change-Id: If059a9c68a0976db0453abdc795d9546c4b3aa4a Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Update ChangeLogKai Koehne2015-06-301-0/+2
| | | | | | Change-Id: I4e72da86a559165ca6471945103df4509e21ff08 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Unify handling of translationsKai Koehne2015-06-304-21/+63
| | | | | | | | | | | Mimic the logic implemented in installerbase/QTranslator::load() by - using QLocale().uiLanguages() - splitting up the locales into candidates (first en-US, then en ...) - implicitly assuming the default is English Task-number: QTIFW-390 Change-Id: I294288d5fc739ebf12c93a0e1a43d613b3834721 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Init all components with proper install actionJarek Kobus2015-06-291-1/+1
| | | | | | Task-number: QTIFW-727 Change-Id: Iae9d232310370fefc0c9dca771e6b2cca6b5b433 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Version bumpKai Koehne2015-06-165-8/+13
| | | | | | Change-Id: Ic11a894ef21f4dd2967a3fd662fad8a30f11ba7e Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Fix: .dat file gets deleted after multiple component changes.Karsten Heimrich2015-06-111-0/+6
| | | | | | | | | | | | | | | | | | | | We can close the .dat file in maintenance mode. There is no need to keep it open since no packages are in there and resources are mapped into memory anyway. Fixes commit 7f2c98c8 that updates the .dat file on soft restart. On Windows updating did not work cause the .dat is opened and locked by the OS. To overcome locked files we run a VB script that does a deferred rename once the lock is gone, but in case of a soft restart we now did start several of them depending on the amount of restarts. That had the undesired effect of several replace/rename operations, of which only 2 "succeeded": - First script: Remove .dat | Rename .dat.new -> .dat - Second script: Remove .dat | no .dat anymore... Task-number: QTIFW-689 Change-Id: Ic3ee1b418890eabe5b854dc7879cd7bc118f9240 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: Mention what you can do with a control script early onKai Koehne2015-06-041-1/+5
| | | | | | | | Task-number: QTIFW-166 Change-Id: I42ff186b7f4203b6f29685d10136e25089892c4d Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Fix maintenance tool upgrade on OSX.Karsten Heimrich2015-06-031-0/+9
| | | | | | | | | Before rename we need to delete a possible existing file, otherwise it will fail and the installation is messed up. Change-Id: I6ade434f828f11b38c00b52eabeb1c574557ec5a Reviewed-by: Jonathan Courtois <jonathan.courtois@gmail.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: add docs for devtool2.0.1Leena Miettinen2015-06-011-0/+49
| | | | | | Change-Id: Iadb453a02b331bb2cf9f8f0a4e1fe66052abe264 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Update 2.0.1 ChangeLogKai Koehne2015-06-011-1/+5
| | | | | Change-Id: If4dff4d3557a3e942937ae293924c59497ead8e3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* OS X: Make sure real user uid == euid in elevated modeKai Koehne2015-06-011-0/+13
| | | | | | | | | | | | | | | | | | | | This fixes a bug that prevents changing existing .ini files during an elevated installation. QFileSystemEngine::fillMetaData() on Unix uses :access() to check whether the user can write to a file, based on the real user id. Because OS X's AuthorizationExecuteWithPrivileges() does keep the original real user id also in the elevated process, QFileInfo::isWritable() was returning false for existing files, which in turn let QSaveFile, and therefore QSettings, to not even attempt to write to the file. On Linux, we use sudo to start the elevated process, which already resets the real user id by default. Task-number: QTIFW-709 Change-Id: I5bfbd631f579412045b242a08baf206a5d444500 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: Clarify use of addOperationKai Koehne2015-05-292-9/+23
| | | | | | | | Make it explicit that addOperation , addElevatedOperation should be usually called from within createOperations(). Change-Id: Id14339b1259716825a9443cc563449025674976f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: Add a link to QInstaller::BinaryContent docs.Leena Miettinen2015-05-271-1/+1
| | | | | | | | And remove the ##TODO Task-number: QTIFW-693 Change-Id: Idaef76e75ffef66b37fdd67e62f0760b7ec263c3 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: add docs for ScriptEngine::newArrayLeena Miettinen2015-05-271-0/+4
| | | | | Change-Id: I69462de7442612c35634cead37572db387031c3e Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix missing details output in example.Karsten Heimrich2015-05-272-4/+9
| | | | | | | | | | Commit 17e29fc8d3 introduced a behavior change, the installer.components is no longer a array property, it is now a function returning an array. Update docs. Change-Id: I4fcdee6cff4572012236e1ac0768013a1e5689ac Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: update screenshots of Settings dialogLeena Miettinen2015-05-272-0/+0
| | | | | | | | | The Network tab changed, but I also updated the Repositories tab screenshot for consistency. Change-Id: Id6e0ffb6620449724da8093aae9816d4a02f7fe8 Task-number: QTIFW-708 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Explain logic in dynamic page exampleKai Koehne2015-05-271-0/+4
| | | | | | Change-Id: I2e41a4f19cfb0b6dc9cad03896db6d079cf7aeee Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>