| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Update list of translation changes.
Change-Id: Ifa2e37ea37dbf6dc172caadb2e58bd929b1bf9d4
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
| |
This reverts commit 1e053058bbee09c21a132909901446694ed4d95e.
Reason for revert: Remove .ts file for now, until the quality of translation is verified.
Change-Id: I729b6c237ebe1b6638b27a072a2abcd11fe1394e
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: I47cdc4df9c1a4e99fb0f4eabddd5ba201042ef2d
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Since we already adjust the output path for archive entries, libarchive
would fail with the error string "Hard-link target '...' does not exist"
for hard links referring to extracted files. Fix by also adjusting the
hard link target paths.
Task-number: QTIFW-2403
Change-Id: I8f78117c5b0707a70c76433ca1c1483ea49b432b
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Windows, QFileInfo::isSymLink() returns true for *.lnk files, which
unlike symlinks contain data - when creating an archive the writing was
incorrectly skipped.
Also add test case for creating and extracting archives containing
either symlinks or shortcuts.
Change-Id: I3ebbd28e889ffa17ece7378c3812244a55df20d5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that the server process may request file seeks in addition to reads
for archive formats supporting them, the interval which we process the
requests will have a big impact on the extracting speed.
Also shrink the read buffer as its size isn't as significant for the
performance after this change.
Task-number: QTIFW-2384
Change-Id: Iaf296833c6ff1acfc666a6e82f661e1a40c77b61
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
archive_write_header() will write the complete symlink to the archive,
the client application should not try to write any data for symlinks
or if archive_entry_size() is zero.
The tar.* archives were not affected by this.
Task-number: QTIFW-2382
Change-Id: I6a5e62ef4c7e650ad806f183556e39ac8ae8cdc3
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Change-Id: I47d24c72317bed594b22b234be75d0359f2e2b98
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes losing executable bits of files in Zip archives when
extracted. Zip archives store file metadata in two ways, partial
metadata per-entry and full metadata at the end of archive. IFW's read
implementation previously did only streaming without support for seeking
archives, which is required to obtain full metadata - meaning the
partial metadata was used instead by libarchive's Zip reader. The
extracted entries between the two metadata types are not consistent.
This change also enables usage of archive formats that cannot be
accurately handled with a streaming model, like 7zip which needs to read
key data from the end of the file before reading file data from the
beginning.
Task-number: QTIFW-2372
Change-Id: Ie4ed33040fc52de073546e46d9da726816f47a81
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do not use our own message handler for printing XML-formatted component
information (from 'list', 'search', 'check-updates') that is expected to
be included in output regardless of the current verbosity level or
logging rules. Higher verbosity can still add more information to be
included in output.
Also:
- Modify auto-tests to pass and check the output correctly.
- Remove now orphaned 'ifw.package.info' logging category.
- Rename 'LoggingHandler::printComponentInformation()' to
'printUpdateInformation()' to better match the intended purpose.
Task-number: QTIFW-2349
Change-Id: Id1a868f8f824c606825cd6168974a7e3845383e6
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
verbosity"
This reverts commit fae6c9901645d6ae6acdeaf843e542385318a1d8.
Reason for revert: updateinfo plugin also sets QT_LOGGING_RULES=*=false,
meaning the printing is still suppressed.
Change-Id: I5f14d471221a32c58d028be5f06a199422dca7d4
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Dependencies example creates a local repository. The example was failing
in Windows because QFile was not able to rename the file when creating
a local repository as it was open by Lib7zArchive.
Task-number: QTIFW-2362
Change-Id: I7d118707c0d770e67b5a71167b9818fbcccc599f
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
| |
Change-Id: I157f5d19122494118b1ffde582986c7701303130
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2095
Change-Id: Ic867042bfc6598a10e5882f028f152eefeca2a00
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
| |
The Brazilian Portuguese was renamed from ifw_pt_BR to ifw_pt so that it
was easier to translate to European Portuguese. Restoring the Brazilian
Portuguese file after the translate.
Change-Id: I778af42b105be7bcee8178bd69a04b1eafe119b9
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2095
Change-Id: I87fb87ddb9a80754c03f5342d6a9350632783497
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
| |
This makes it easier to grep usage of variable and we shouldn't really
use the magic string as there is already a constant.
Change-Id: I96a6b3901f79127b7cf71494643e2cd038df6670
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2208
Change-Id: I8c8e9bd798320ab6d4397ac411cfea75177d27f2
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2344
Change-Id: Ibedcecc82b7a7a28040d0308aa4211925e7fc251
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
| |
This is required for the deprecated '--checkupdates' option to behave as
it did with IFW 3.x, printing only the XML-formatted update information.
Task-number: QTIFW-2349
Change-Id: Iebd75b33943216a1c7d3b50882e2d1b7a567aa08
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2095
Change-Id: Ia17bdabff9d62f30bbe0ef236f8b918fc3402342
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2095
Change-Id: I850a425bdb866d008c6484c13c55bf855b0c9784
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2095
Change-Id: I71ed70f0868d63e60b8c4d978425d2fa44bc9b3c
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2347
Change-Id: I1eb11495f3985a0e845853fbfc598447e662bada
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2095
Change-Id: I7c32fd1cccbc2f846f079c46334a83744fc1ab0b
Reviewed-by: Samuel Mira <samuel.mira@qt.io>
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2130
Change-Id: I520c12a871f5977d96a512c5530131782a5c9539
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
This tends to fail on CI with rhel 7.4
Change-Id: I50408060f75d57497b878bc171289bb39a859644
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2344
Change-Id: I971e96ed5b1f1e52c5779a04b7edab0952d89d9a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2095
Change-Id: I19fa879ce81f2f29ae8c97a594a8e8f13ef5b234
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2095
Change-Id: I7b64693e199e54acf2bc44450d466a40ffdd5144
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2095
Change-Id: I5e50c6c1097779acb952065035bd844a396a6eca
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
|
|
|
|
|
| |
Change-Id: Id6a94106256309af07ac8fe58952fce4382ee5ea
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
| |
Productkeycheck needs the information about loaded language, send the
signal after it is initialized.
Change-Id: If85d5127c80ae0d5f2caa62c731c8669e8d6df7e
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
| |
The translation file is updated but most of the new strings are not
translated. Added translation for strings 'Installing' and 'Finished'.
Task-number: QTIFW-2049
Change-Id: I59fe5ed56132475538fba1f91b9cfb433b871d0c
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1905
Change-Id: I4565e14d2b7790fe9c64bf3c53b8f9116a04865c
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
| |
Change-Id: I255a17f5a5460d41492f11ba1dacf7fb08155099
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1496
Change-Id: I39ca95f5f5b9139c4ca107f2aee4716f98901bcd
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1421
Change-Id: Icbaeab855313e05188735aba250fa6a2ba503be4
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Change-Id: I66c5c83a3df29b7c5926277270979d7cf933be6c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|\ |
|
| |\
| | |
| | |
| | | |
Change-Id: I8e2864b3ec81cffa907fe02ff1f2019e155c54e3
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTIFW-2253
Change-Id: Idf0216c1b4491160ee06924241bf26aaace9c883
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When collecting information about the paths to be compressed into
unified metadata, if the package directory used to update repository was
missing replacements for two or more components, it would reveal an
issue with the traversing of the existing repository directory.
Fix by adding the missing "cd up" after entering a component entry
directory. Add new test case.
Task-number: QTIFW-2287
Change-Id: Ica1228968398b6e987bdf89336f74f53fcd35d27
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
ComponentSelectionPage::isComplete() would return false if the state of
the component model was "DefaultChecked" and user had not (de)selected
any new components. This change adds a condition to check if there are
any ForcedInstallation components that haven't been previously
installed, and allows navigating forward and installing those without
additional selections.
Task-number: QTIFW-2286
Change-Id: I273cc7219df1eae4e11ff23e733d71a9c297bedd
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Value of StartMenuDir variable should be permanent after initial
installation and must be read from maintenancetool.ini, don't use the
default value from internal configuration file (metadata/installer-
config/config.xml) of the maintenance tool binary as it:
- Does not contain the path prefix for either user or system-wide start
menu directory, we add this later depending on the installation type.
- May change altogether with a new configuration file if the vendor has
provided an update mechanism for maintenance tool, or if the user has
opted for a non-default location.
Task-number: QTIFW-2284
Change-Id: Id731d151b9f0acc77aa146722d1e088ea6a47eb3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also make the detailed output to be shown on the installation
error message box.
Task-number: QTIFW-2273
Change-Id: I9c678a0b382d52a6ff9ba78e0d93118714cc96ae
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Installer may leave an event loop running in DownloadFileTask::doTask
when shutting down, if Downloader::testCanceled() was not yet triggered
by connection events, or by a timer timeout used to check if the user
has canceled download while the connection is blocked.
Fix by waiting for the tasks to finish when canceled.
Task-number: QTIFW-2282
Change-Id: I8800cdb3c368da3edaf8def50e3b8e837d3e993c
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The "component::addDependency" and "component::addAutoDependOn" methods
support also specifying a comma separated list of components in the same
string parameter.
Change-Id: I7f4d289d80d4efd485a0cfa64c6dda93bfc2f59a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTIFW-2264
Change-Id: Ie7191ba75d923cc8d8eb353f7fac85818b87591f
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use a function overload of QUrl::fromUserInput that takes a
workingDirectory parameter, in order to be able to handle relative
paths. Otherwise a string pointing to a relative local file path is
handled as a short form of a HTTP URL.
Change-Id: I5811661680728e79555ea7b99d0a1e8a8f294b44
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|