| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Do not remove Qt::ItemIsEnabled flag from all unvisited pages as we
may have skipped some. Instead do this for all pages which's id is
greater than the current one.
Task-number: QTIFW-2059
Change-Id: Ia66de5e1a376d33179cfee3eb7395248407aa4f1
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2056
Change-Id: I119d2e7f8f943c3df19f4c0df58123f7bb0d0b6c
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
|
|
|
| |
Both directories are created by IFW so they should follow the same
file permissions practice we use whenever possible. This fix also
applies to subdirectories inside 'installerResources'.
Change-Id: I747a7638028fb0b9ff406143a97b5100eacc2566
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
|
|
| |
This makes it possible to query for the Installer Framework
version of the running installer binary from the scripting-API.
Change-Id: I88fd12d081aa720cbe95683ee35714e5e2d4908b
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: I09aba5b1ad22af3ce3826812e268a814c0dfa52e
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
| |
Change-Id: I560796aa248df505a86701014a001deb90c627f2
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
If Appendfile is done to a file in an install folder, the backup
file name folder name is saved as @RELOCATABLE_PATH@. Replace the
variable with actual folder when the value is read.
Task-number: QTIFW-2020
Change-Id: Ibe32f9afd53fd9698c0acc14de62a641d0dd89c4
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
| |
Change-Id: I084e4a80cc7d98f6ddc455dad4f8df09d01087ee
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
United metadata 7z was missing the component which had no update
available.
Task-number: QTIFW-2018
Change-Id: I069fd852499f157075bf28e3ccfef3e42e5f30a9
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
| |
The debug print does not look very nice when the string contains escape
characters for quotes or extra spaces.
Change-Id: I9428d3aef4e3ebd693f66083447430e4e2600098
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-798
Change-Id: I9ed5bb585cc0b09cd0a17c535e7073d6e7bf4fc8
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-1062
Change-Id: I3deb46cae74d1e5851d4ddd4b58c0ba19375ddbd
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The onError function destroys instances required later during the error
message construction.
This improves over the fix introduced with commit
6a93f37440a3dcc72bb5e496dac90a8f95d63eab.
Change-Id: I54c4064eb225d3e3913ce5073706a5ce5717d234
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
Add missing short versions of options and '--confirm-command' reference.
Change-Id: I4e4df0a7f883a97b653da1dea4dae878f4e1484c
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Instead of using tabs for indentation, use the same two whitespaces
as with options. Use the same format for package list arguments as in
documentation.
Change-Id: Id5a7d1e6bdbea6a49c560cdadb2fe3ef5793d04a
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The lesser called class constructor function was missing initialization
for some of the fundamental data type member variables. This could cause
weird behavior in autotests, where a PackageManagerCore object for
"fake" installers is instantiated on multiple occasions.
Change-Id: I4e65453e3125cb5b4b662314a593bb0232907478
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: I3fa464acece6276a3c147d9b8585c7da100a3574
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1996
Change-Id: Iaf9aa6bfd39d266ed052838e969881c168b4b2ed
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: Id7e544f912d7c59c7c57f59680611ae52ed8a50e
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
|
|
| |
Packages don't understand the variants, replacing those with hard coded
values.
Change-Id: I5a35a1f46958b4ce699a2eff117305cc2e75cbb1
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
| |
Change-Id: I1330a170999c0518637dd3b27ec9050382756c02
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: If3c675f0cd76744eee63170f629633b31f7a046a
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This script can be used to generate an offline installer
that packs the built IFW libraries as installable content.
It requires that the IFW has been built first i.e. the IFW
build artifacts are the input for this script.
Task-number: QTIFW-1027
Change-Id: I34157d43129464273a1e4c338b795cb3a1b9277b
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: I31f3ec6f14d689e8f4892ae31f9bb8cc2500aca8
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
| |
Change-Id: Iced229d7d364f68599bd6eec20db57838f36a671
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: I67178a9df34e3ed4752452dca9a85709fdd4c620
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1986
Change-Id: I0dbf619c5d0459bc6750764abfaabc8abbe265c7
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed regogen 'update' and 'repository' options to work with unite
metadata.
--update-new-components with unify metadata is prevented.
Moved --update-new-components functionality from repogen.cpp to
QInstallerTools so it can be accessed from tests.
Created tests for repogen.
Task-number: QTIFW-1943
Change-Id: I12389f4747154a0f6f51b4f34f630103c2cfef04
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
| |
We have a deferred delete for maintenance tool as in Windows the running
program cannot be deleted.
Task-number: QTIFW-1979
Change-Id: I3bfd98dd1d476450b9b770c9b2f1c70810e67492
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
| |
When updating essential, no other components should be installed nor
updated unless there is autodepend on the essential component.
Task-number: QTIFW-1970
Change-Id: If9edd6515e3e5ec51611ac07ac52b13f05983b9d
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1974
Change-Id: I5f2c815a5fe64a2fc2d15e26ff8687b3929292d7
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1984
Change-Id: I9e2c9302d4a21f169266b147bac618758f004fa5
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1981
Change-Id: Ibb531dcd6e95c6dc6a17d92659736f3cab57af29
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
|
| |
Results from cppcheck analyzer tool
Change-Id: Ib76a53728d2774f5e7ec884e1b98d6bf98d20b21
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
| |
Task-id: QTIFW-1980
Change-Id: Id4641406d67f377597575d1e7f9d2e6d312091a3
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
| |
Task-id: QTIFW-1982
Change-Id: I97f51c0931f4baef5e19f0e819bd6beee186301e
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1744
Change-Id: I4a4fdcd2517028e05f9282c15a91a4fb83c24901
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1972
Change-Id: Ia6f75e4b06b17fb9d1b0cf4ae4af47f140f86be4
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-1744
Change-Id: Id44df3b5edbea5582e8ddee230c915d403271d3f
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: I7eb9d452bd409635c3ae3de043f4c3cd442f6ef5
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of returning just true or false when running installer or
maintenancetool, utilize the PackagemanagerCore status message.
Added also a new status enum, EssentialUpdated, which is returned when
calling command 'update' and only essential components are updated.
Also fixed a bug when components could be installed even when there
were an essential update available.
Task-number: QTIFW-1969
Change-Id: I43826301656573b34e1338b49566d199bdcd7468
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Package manager core type can change from other causes than the user
altering the radio button selection in introduction page. Replace
associated connection to use a signal that is emitted in all cases the
binary type is updated.
Task-number: QTIFW-1841
Change-Id: I5c647267775a767ca01e4d0a6822fda373c56a6b
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Command line instance does not launch properly without user interaction.
In Windows, the maintenancetool was launched to the background without
GUI and CLI, in Linux the CLI does not take user inputs.
Task-number: QTIFW-1967
Change-Id: I5e6ebb40f7db37a70f8d0063cbe279f5cd26080b
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
| |
'updater' command option is deprecated, use predefined
variable instead so code continues to work even if the
command name changes.
Change-Id: I99537bfd37dd55aeeff132b7c6ae04f9ea74d711
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
If the dynamic page list becomes too long to fit the current window
height, enable scrolling instead of forcing the user to resize the
window.
Task-number: QTIFW-1966
Change-Id: Ifc1f1424d3e626c5378a1ed65194489387ad0bed
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1845
Change-Id: Iceea374ae4e027653c9e353fa2a4902e5fed790a
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
After migration to using 5.12.7 based qdoc, the generated documentation
contains also empty declarations for members of undocumented internal
classes. Mark them internal as needed.
Task-number: QTIFW-1483
Change-Id: Iad40e4efdd098f09a825ce1c8d0aafcc76bd83bf
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Miscellaneous fixes to missing function documentation, undocumented
parameters, namespace scope etc. As 5.12.7 based qdoc gives a lot
more warnings about code missing documentation, mark undocumented
implementation details with \internal command. Also some spelling
fixes to related parts of documentation.
Task-number: QTIFW-1483
Change-Id: Ibf5d1e5098713acbd152c5b61ea4f46cc11feb4b
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This helps to provide correct include paths to QDoc as it
requires them from 5.11 onwards.
Add a custom module header that pulls in the required header
files into the doc build.
Change-Id: I857ec5cd49e6c6c586baed6f1e39f2e9ceb900b4
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
|
| |
These changes fix many of the documentation warnings when building
with a recent version of (Clang-integrated) QDoc.
Change-Id: I5714635a25707cd7ab7bec209fa043a95f0b9832
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|