Fix the steps we perform to build an installer.We need to keep a specific order, otherwise the data might endup in
the resource file as well and gets appended twice to the installer
binary.
Task-number: QTIFW-564
Change-Id: Idcadb5d65043d1855846556b63191898a4a54027
Reviewed-by: Christoph Vogtländer <c.vogtlaender@sigma-surface-science.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
fix broken command line parsingusing any of the mutually exclusive options of the maintenance tool only showed the help text
Change-Id: Icc4d13f95c6b3e74383c8ffe513eb541a26a9171
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
add info message line endingadded missing std::endl in "repogen --update-new-components" info message in case packages list is empty
Change-Id: I9a49e46ee031c14a9b02cd41e0a4be2d0234c1af
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Fix the uninstaller calculatorDon't include dependencies which were not installed before.
Fix the "Cascade dependencies" test of "solver".
Change-Id: I807503840af5c841cde89fdbbfc3f6932d4787b8
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Fix unregistering resources. Fix --operation argument parsing.In case of dump we register some resources, though since we
return immediately after the function call, never unregister.
We need to split the arguments on our own, the parser does not.
Change-Id: Id97e0a4d8a3c15fd0027a09514a9c0a6930e7fdb
Reviewed-by: Niels Weber <niels.weber@digia.com>
Replace all occurrences of "can not" with "cannot"Also fix some other issues in the touched strings,
making them comply to Qt style.
Change-Id: I46515e1a3bec5e21610943ded2ef7fa1f09a4a15
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Fix annoying warning printed during installation.Make the Error class to not inherit from runtime error,
there's no reason to do so. Add empty ctor to avoid dumping
the error message at least once. Check if a .dat file exists
and only then print warning.
Change-Id: I97833947022e05ee3b14992c8ec662874fb5d343
Reviewed-by: Christoph Vogtländer <c.vogtlaender@sigma-surface-science.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewe...
Add support for passing the scope to operation GlobalConfig.GlobalConfig now additionally accepts parameters "scope company
application key value"
Change-Id: I17934beff5db1096b9cc01cbc88dbbc8e5fb9d8a
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Introduce behavior change, always keep the higher version package.Change-Id: I96c013fb49143cea8f123b464ae779878f8d0210
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Optimize the lookup and correct some debug information.Change-Id: I8b5a641a9e551e0e01dce7b4d03b77a20dc156ba
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Make sure to remove all objects from script engine.Change-Id: I5dedd63bad3eb37b55a3cc246b3c74ba58396b32
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Fix regression after porting to QJSEngine.Setting a dynamic property of a dynamic page from JS doesn't have
any effect anymore, as the properties are not synced. Now we define
the property directly on the JavaScript object and connect it to
corresponding C++ page with static Qt properties.
Task-number: QTIFW-562
Change-Id: If95222a94ebee7f8bb455792eab96c5e9bc19b86
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Kai Koehn...
Add support to pass a query string when requesting Updates.xmlChange-Id: Ib9cbd1bdd6c4241ccbe3e011271a4ca6b4c50ec2
Reviewed-by: Niels Weber <niels.weber@digia.com>
Unify the output name to match the README file description.Fix the dynamic page example to compile the additional resource.
Change-Id: I62a641f05c4ac76649951695ea5c2d03a390ee8d
Reviewed-by: Niels Weber <niels.weber@digia.com>
Remove some I don't know what's this for stuff...Change-Id: I528322348107999154a2dd9f28fa98d809848f40
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Add --framework-version argumentThis prints the version number of the Qt Installer Framework. In contrast
to the more verbose '--version' argument it can be used safely by
other applications to check for the version.
Also, we might at one point decide to give the IFW user control of the
--version output: He might want to run his own version scheme to also
take into account the packaged content.
Change-Id: Ia609310659ac45c5a...
Fix automatic generation of examples for debug_and_release buildsQ_MAKE_EXTRA_TARGETS does generate targets both in Makefile,
Makefile.debug, and Makefile.release. Use QMAKE_EXTRA_COMPILERS
instead, which in addition will also work in generated Visual Studio
projects.
Change-Id: I29ec3760508e84c30b3afce39fc36d4e9b6c2e07
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Compile fix for Visual Studio 11.Change-Id: Ief110f24055ca6204ace5986707e154b23aad312
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reuse already existing code to convert the URL.Change-Id: I07917ff5a3db927b4d8f0508a4d6e62315cc258a
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Check for valid drive.Also extend the check on Windows for unsupported folder names.
Task-number: QTIFW-538
Change-Id: If60a9d61e5b08f38e99a98f22acc846250b6f1b3
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Be more unique with the downloaded package.Change-Id: If21c4fb5abfa94317ac0410ffd854e2d98735e02
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Overhaul the binary format API.Adjust some naming. Add documentation. Make the Resource class
handle files only, this is sufficient to read and map inbuild
resources. Keep the QResources inside the manager as well, no
need to handle them separate. Remove read, write functions from
collection class, the API was just unclear how to use. Still it
is far from intuitive in the manager class either. If we open a
Resource, we need ...
Some more documentation fixes (removes more warnings).Change-Id: I1efb7f98ac4cccdc4dbd1784806cce286654af9f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Add failing test for uninstallationChange-Id: I76686693e14523732849e8cba297e550dc3fc5bd
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Do not download update.xml files if they are on disk.We did download the file from server in a different code path (put to
tmp), hand over the so called update source info to again download the
file from tmp to tmp to finally parse it. So if the scheme is "file" or
"resource", avoid this step and set the file directly.
Change-Id: Idaf8867142f7c2eb9c644321f458bd51373e98e6
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Fix warning and handle file scheme like files better.Calling setFileName() prints a warning if the path is reset
without calling close() before.
Convert the source path with file:/// scheme to local file.
Change-Id: Ie21e7e8ad8f76dbe1afc1843ff5bf7fb4598123a
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Fix broken update option.We need to read the marker on our own, BinaryContent::binaryLayout()
throws cause it cannot read the full layout in case of maintenance
tool binary (part of the stuff is inside the .dat file).
To be able to read the layout from the .dat file, we need to open it.
Pass the right file to relace, in both cases the executable.
Change-Id: Ic76e78a2ee289f3d59d51cc8984d84ab5edf5b46
Reviewed-by: Kai Ko...
Update Japanese translationFix a typo and orthographical variants for folder
Change-Id: I043d46f213e55093987ca3ec54b4db289f90be11
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Takumi ASAKI <takumi.asaki@gmail.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Name the collection, otherwise leads to hangs or crashes.Change-Id: I70302eb81479ced3bc8b6c15afd277ff5a1cc43a
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>