summaryrefslogtreecommitdiffstats
path: root/src/sdk
Commit message (Collapse)AuthorAgeFilesLines
* Update Korean translation fileArttu Tarkiainen2022-05-121-22/+139
| | | | | | Task-number: QTIFW-2622 Change-Id: I8451b4c7a4b6533efcfef09ec1c44d3aa7183066 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Polish translation fileArttu Tarkiainen2022-05-121-19/+127
| | | | | | | Task-number: QTIFW-2622 Change-Id: I780802300c380c3e84af58d3e79ad199f679e74e Reviewed-by: Krzysztof Guć <krzysiek@gemsnet.pl> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Spanish translation fileArttu Tarkiainen2022-05-121-22/+137
| | | | | | Task-number: QTIFW-2622 Change-Id: I3b2e7fa2be859df300917da67392b57a067a284a Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update German translation fileArttu Tarkiainen2022-05-101-22/+140
| | | | | | Task-number: QTIFW-2622 Change-Id: I4862ac23acc4a1e5417a3432902a879b8028d9a3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Add option for specifying maximum concurrent unpack operationsArttu Tarkiainen2022-04-211-0/+10
| | | | | | | | | | For tracing issues with the multithreaded extraction and limiting the processor load from the installer. Task-number: QTIFW-2586 Change-Id: I5df0bf6be30b4ee5ef8470c407281e2a4318ed0c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Add support for parallel extraction of component archivesArttu Tarkiainen2022-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce ConcurrentOperationRunner class used for running installer operations concurrently in the global thread pool. Add execution groups for operations; Unpack operations are run concurrently for all components requesting installation, operations belonging to Install group are run sequentially for sorted components one at a time as before. From the default registered operations the Extract op is moved to Unpack group. Move the previously on-the-fly backup steps of Extract operation to the ExtractArchiveOperation::backup(), so that backups are done before any archives are extracted, and that we know if any of the archives requires administrator privileges to unpack. Reparent QInstaller::Error to QException to support throwing and catching exceptions across thread boundaries. Use RAII for the server-side objects of the classes supporting the remote client-server protocol of installer framework. The concurrent extraction revealed that it was still possible that the local socket was disconnected and thus the RemoteServer- Connection thread finished before receiving and processing the final "Destroy" command packet, leaking the dynamically allocated objects. Task-number: QTIFW-2566 Change-Id: Ib8c2928b9405b7b3465c731018df73acb51e949f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Add missing mnemonic for the "Settings" buttonArttu Tarkiainen2022-04-2116-16/+16
| | | | | | | | | | The "Cancel" button on bottom of the wizard is also missing a shortcut. But this behavior is inherited from QWizard, where it appears to be intentional. Task-number: QTIFW-2206 Change-Id: I53e595591679f5d22b2b381f86974dfc963d2bd4 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Print archive and compression library versions with --version optionArttu Tarkiainen2022-04-131-1/+14
| | | | | | Task-number: QTIFW-2507 Change-Id: I566dc4984df305fb0b5e7b9a1fe7ea9628ac02d4 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Fix minor Japanese translationsKatja Marttila2022-02-211-2/+2
| | | | | Change-Id: Id7396eec7cc21e8011c716564adf9c9019eddb84 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Update Japanese translation fileKatja Marttila2022-02-161-0/+16
| | | | | | Task-number: QTIFW-2436 Change-Id: I9b89eb86c33fbc39b77b96af963f1aaa02051374 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Chinese translation fileLiang Qi2022-02-101-10/+17
| | | | | | Task-number: QTIFW-2436 Change-Id: I9f3d81a5eb7c3ae1c5f596a1ba4a992bb99a1b8f Reviewed-by: Liang Qi <liang.qi@qt.io>
* Update Chinese translation fileLiang Qi2022-02-091-32/+48
| | | | | Change-Id: I144d3f1b955b92b8a0f46704016c9fe75f8c3ffa Reviewed-by: Liang Qi <liang.qi@qt.io>
* Update Polish translation fileKrzysztof Guć2022-02-091-108/+147
| | | | | | | All translations with unfinished status have been translated Change-Id: I0c4b0b15c3a1296f2e10cbd5c2dde631e34dc384 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Russian translation fileKatja Marttila2022-01-241-0/+16
| | | | | | Task-number: QTIFW-2436 Change-Id: Ib1308b78d4e793f9d94bc2b891b7646799b11337 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Update Arabic translation fileKatja Marttila2022-01-181-0/+16
| | | | | | | Task-number: QTIFW-2436 Change-Id: Ic91ce0a88c78370bec68acd1db35712ad5bd7927 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Add "about application" menu and dialog on macOSArttu Tarkiainen2022-01-185-6/+167
| | | | | | | | | Also enable linking qtimageformats as a static plugin on macOS, it is required to read the .icns file to be shown on the dialog. Task-number: QTIFW-2453 Change-Id: Ib776635167a4c90ffa20a91ecc447d2d73f5aeb9 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Polish translation fileLukasz Lewandowski2022-01-171-1/+1
| | | | | | | | Adding translation for "Unnable to start installer" Task-number: QTIFW-2377 Change-Id: Ib0a4b2b69f3a53c33da2bc9f1ffe0cf9a7775982 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Portuguese translation fileKatja Marttila2022-01-121-0/+16
| | | | | | Task-number: QTIFW-2436 Change-Id: I5d478d2275dc8393c168796d0af4308af46c5282 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Add Hungarian translationZsolt Branyiczky2022-01-111-0/+2758
| | | | | Change-Id: I7a7f0cfb438b119fccf6cf0feafb0b7a51e0ce73 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
* Update German translation fileKatja Marttila2022-01-061-0/+16
| | | | | | Task-number: QTIFW-2436 Change-Id: I4fd94831e31db8d498df73c3450c2672922668a5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Update Korean translation fileKatja Marttila2022-01-051-7/+23
| | | | | | | Task-number: QTIFW-2436 Change-Id: I4becea9550686ad962ac85d939e549d9072ec512 Reviewed-by: Katja Marttila <katja.marttila@qt.io> Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Update Polish translation fileKrzysztof Guć2022-01-051-1/+1
| | | | | | | Removal of unnecessary comma before "i" Change-Id: I2c0f0ee1323a807caed84dbbd1e77592237880f9 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Spanish translation fileKatja Marttila2022-01-031-0/+16
| | | | | | Task-number: QTIFW-2436 Change-Id: Ib3f5fa1a4ed3391c4b86c72da02e0e5c83291c3d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Update French translation fileKatja Marttila2021-12-291-0/+16
| | | | | | Task-number: QTIFW-2436 Change-Id: Icb2272ec5204628a82018080330fe29353dd1ad0 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Fix deprecation warnings from building with Qt 5.15.2Arttu Tarkiainen2021-12-212-8/+10
| | | | | | | | Also update build version requirements. Task-number: QTIFW-2388 Change-Id: Iae1949548dda7a3b8d448228e27060efb5abd8eb Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Fix selecting target directory when elevated server process is activeArttu Tarkiainen2021-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | There is a disparency in the return value of QFileInfo::isFile() on Windows whether QFileInfo uses QFileSystemEngine directly (for local files, returns false) or with another file engine (QFSFileEngine in this case, returns true), when the file does not exist on disk. Installer registers its own file engine handler that handles file engine creation. It creates custom RemoteFileEngine instances suitable for writing into more restrictive locations when the connection to the elevated installer server process is active. When calling RemoteFileEngine::fileFlags() with TypesMask parameter, the returned combination of enum values includes FileFlag::FileType when the given file does not exist, this can be reproduced with both the active remote server connection that forwards the file engine calls to the server process, and when the composed QFSFileEngine object is used directly without the remote connection. Fix by adding a check if the given target directory path exists, if it doesn't we can assume it is a directory to be created by the installer. Also rename function to better match what it does. Task-number: QTIFW-2383 Change-Id: I906b0676802d9d94e70abeb2dea1f71866cbbec8 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Validate and update Korean translationArttu Tarkiainen2021-12-091-63/+63
| | | | | Change-Id: Ia6f9a36633fe8a0d30f9263237014251d53f0231 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Re-add Korean translationArttu Tarkiainen2021-12-011-0/+2771
| | | | | | | | File copied from original change: 1e053058bbee09c21a132909901446694ed4d95e Change-Id: I576ccbb2e55adc27c6664e637ac07baa168a4dc2 Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Revert "Add Korean translation"Arttu Tarkiainen2021-11-051-2771/+0
| | | | | | | | | 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>
* Print essential component information with std::coutArttu Tarkiainen2021-10-222-7/+4
| | | | | | | | | | | | | | | | | | 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>
* Update Chinese translationKatja Marttila2021-10-141-199/+274
| | | | | | Task-number: QTIFW-2095 Change-Id: Ic867042bfc6598a10e5882f028f152eefeca2a00 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Restore Brazilian Portuguese fileKatja Marttila2021-10-141-0/+2780
| | | | | | | | | 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>
* Add Korean translationKatja Marttila2021-10-141-0/+2771
| | | | | | Task-number: QTIFW-2095 Change-Id: I87fb87ddb9a80754c03f5342d6a9350632783497 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Replace occurrences of "TargetDir" string with 'scTargetDir' constantArttu Tarkiainen2021-10-131-2/+2
| | | | | | | | 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>
* Add ability to query used language in scriptKatja Marttila2021-10-121-5/+6
| | | | | | Task-number: QTIFW-2208 Change-Id: I8c8e9bd798320ab6d4397ac411cfea75177d27f2 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Update Russian translationKatja Marttila2021-10-121-119/+195
| | | | | | Task-number: QTIFW-2095 Change-Id: Ia17bdabff9d62f30bbe0ef236f8b918fc3402342 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Update French translationKatja Marttila2021-10-111-231/+307
| | | | | | | Task-number: QTIFW-2095 Change-Id: I850a425bdb866d008c6484c13c55bf855b0c9784 Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Japanese translationKatja Marttila2021-10-081-200/+270
| | | | | | Task-number: QTIFW-2095 Change-Id: I71ed70f0868d63e60b8c4d978425d2fa44bc9b3c Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Add Portuquese translationKatja Marttila2021-10-081-533/+607
| | | | | | | Task-number: QTIFW-2095 Change-Id: I7c32fd1cccbc2f846f079c46334a83744fc1ab0b Reviewed-by: Samuel Mira <samuel.mira@qt.io> Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Update Arabic translationKatja Marttila2021-10-071-218/+312
| | | | | | | Task-number: QTIFW-2095 Change-Id: I19fa879ce81f2f29ae8c97a594a8e8f13ef5b234 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Katja Marttila <katja.marttila@qt.io>
* Update Spanish translationKatja Marttila2021-10-071-212/+286
| | | | | | Task-number: QTIFW-2095 Change-Id: I7b64693e199e54acf2bc44450d466a40ffdd5144 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
* Update German translationKatja Marttila2021-10-061-250/+323
| | | | | | Task-number: QTIFW-2095 Change-Id: I5e50c6c1097779acb952065035bd844a396a6eca Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Emit translationLoaded -signal after productkeycheck initKatja Marttila2021-09-241-1/+6
| | | | | | | | 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>
* Update Polish translation fileKatja Marttila2021-09-231-25/+85
| | | | | | | | | 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>
* Fix German translationKatja Marttila2021-09-231-1/+1
| | | | | | Task-number: QTIFW-1905 Change-Id: I4565e14d2b7790fe9c64bf3c53b8f9116a04865c Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Add 'no-obsolete' to remove the deleted stringsKatja Marttila2021-09-221-1/+1
| | | | | Change-Id: I255a17f5a5460d41492f11ba1dacf7fb08155099 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Fix typo in Russian translationKatja Marttila2021-09-171-1/+1
| | | | | | Task-number: QTIFW-1496 Change-Id: I39ca95f5f5b9139c4ca107f2aee4716f98901bcd Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Fix typo in German translationKatja Marttila2021-09-171-2/+2
| | | | | | Task-number: QTIFW-1421 Change-Id: Icbaeab855313e05188735aba250fa6a2ba503be4 Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
* Translations: reshuffle existing .ts files with updated source stringsArttu Tarkiainen2021-06-2313-1654/+1601
| | | | | Change-Id: I0dfafd7fac5e66793b34883f17a6d08684679c31 Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
* Translations: validate and update translatable user interface stringsArttu Tarkiainen2021-06-232-2/+2
| | | | | | | Task-number: QTIFW-2245 Change-Id: Id9a79c7c572dc588c05ad37c67ae3f0431fa7cdb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>