summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/metadatajob.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Read UrlQueryString from settings.Jarek Kobus2015-10-141-2/+2
| | | | | | | | | | | | | | Task-number: QTIFW-744 Change-Id: Ie67bbb5f753a86041c60f2e32fe6b36213e4613e Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* | Missed to rename classes and to update docs and tests.Karsten Heimrich2015-09-071-7/+7
| | | | | | | | | | Change-Id: I2d79ab4094cb9706287d44160543c19b35a66c95 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* | Sanitize QDebug outputKai Koehne2015-07-091-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Prefer using the stream operator logic instead of using QString::fromLatin1. Add a noquote() where a QString should be printed without any quotes/escapes. This also fixes the tests with Qt 5.5, where QString's are further escaped. Change-Id: Ie3afd14b9355101d3c0b52f30f66ec759c76526c Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* | Unify translated error messagesKai Koehne2015-06-241-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | * Enclose file paths in "" * Localize file paths with QDir::toNativeSeparators. * Make sure sentences end with a '.' * Append error details always by ':', e.g. tr("Failed to copy file '%1': %2").(...) * Use 'directory' instead of 'folder' everywhere Change-Id: Ie045f429f72ad5045c96537465c5fb9d2e99d250 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* | Convert to Qt 5 connect syntaxKai Koehne2015-06-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Convert to new signal/slot syntax where it does not make things more complicated: connections where the signal or slot is an overloaded method, or where the receiver method is not in a QObject, are left alone. The new syntax allows compile-time checking of the connection. Change-Id: I2cc3c93b9812797bd67f64a8728569491eeec668 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* | Remove scRemoteVersion, it's the same as scVersionJarek Kobus2015-05-071-1/+1
| | | | | | | | | | Change-Id: I552b2f62865ff88fb6827819240b283485d0e4c7 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* | Merge remote-tracking branch 'origin/2.0'Kai Koehne2015-02-261-7/+7
|\| | | | | | | Change-Id: I962f4f19909c06e1da03c14072b15f97de02a07d
| * Update CopyrightKai Koehne2015-02-181-7/+7
| | | | | | | | | | Change-Id: I8dde6629cfd461104364d5cdc255cb54b58283fa Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* | Introduce isMaintainer() methodjkobus2015-01-261-3/+3
|/ | | | | | | Prepare for unification of updater and packageManager. Change-Id: Iac9ac109ac5e6cf1309d5739ecee03bdfb1e2934 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Implement server authentication and updating repository credentials.kh2014-11-261-17/+49
| | | | | | | Task-number: QTIFW-570 Change-Id: I7b6b1fab8279331e5cb4b4da86726322b44a1109 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Rename the exceptions class to be more generic.kh2014-11-241-2/+2
| | | | | Change-Id: Ia96477920055ee6a6f15be1334516746ddf3573b Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Ask for proxy credentials in modal dialogKai Koehne2014-11-181-0/+20
| | | | | | | | | | | | If a proxy requires authentication, DownloadFileTask will throw an exception of type ProxyAuthenticationRequiredException. This exception is handled in MetadataJob to first ask the user for credentials, storing them in PackageManagerProxyFactory, and then retriggering the download. Change-Id: I0d69504d3f90d503d83c7b2229bc670756fa1463 GPush-Base: 9aeb0197e58d630ef7e657bb05671d6ec7b3f5ec Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Expose real type of PackageManagerProxyFactoryKai Koehne2014-11-181-0/+1
| | | | | | | This allows us to store proxy settings in the factory later on. Change-Id: Ib389ccffb3163be4f5cd511be4c4b8bbe15e8a93 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Add support to pass a query string when requesting Updates.xmlkh12014-10-301-3/+6
| | | | | Change-Id: Ib9cbd1bdd6c4241ccbe3e011271a4ca6b4c50ec2 Reviewed-by: Niels Weber <niels.weber@digia.com>
* Add LGPLv3 as new licenseKai Koehne2014-10-161-14/+7
| | | | | | | Change-Id: I61158f956894e209dccf83744b4753774676099d Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
* Be more unique with the downloaded package.kh12014-10-161-2/+2
| | | | | | Change-Id: If21c4fb5abfa94317ac0410ffd854e2d98735e02 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Merge remote-tracking branch 'origin/1.6'Tim Jenssen2014-06-181-1/+6
|\ | | | | | | Change-Id: I7358124780a6e1711a90e4d735795309db5f1b50
| * Make sure we honor the updates xml checksum flag.kh12014-06-051-1/+6
| | | | | | | | | | | | Change-Id: I1fb7aec13c86c1018298d25d186f200c48d1d59e Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Fix crash while canceling the meta data unzip task.kh12014-06-161-3/+8
| | | | | | | | | | | | | | | | | | The crash happens cause in reset we do a delete later on the unzip tasks and then a second delete while not checking early enough for the set error code. Change-Id: Iee17cd6863435d25c0c999fb0cc4e05672de3cc8 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | Fix annoying warning that the file can not be deleted.kh12014-06-031-3/+5
| | | | | | | | | | | | | | | | | | Define the downloadable target inside the remote directory it belongs to, avoids the unnecessary delete inside the task destructor. The temporary dir deleter will take care of it. Change-Id: I4858a71dc714a33f1afb00eb2b2a167294899461 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* | Use QTemporaryDir instead of our homemade solution.kh12014-06-031-8/+10
|/ | | | | | Change-Id: Ia584a9b2f954df5c29a2f0aa5f12b201b2bfbcc4 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Fix HTTP proxy settings do not have any effect.kh12014-05-211-0/+2
| | | | | | Task-number: QTIFW-498 Change-Id: I58ebb5a6a65313540a6ee3bb20d872ef32631c5b Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Obviously we need to pass the authenticator everywhere.kh12014-05-091-0/+6
| | | | | | Change-Id: I8f51582f54ef3c58d439dfffb7ba7802bc47b797 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* Slightly faster version of asynchronous metadata download.kh12014-02-031-0/+380
Change-Id: I63793529eeebfd3ea0a325cabe79d646015dc3bc Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>