Redkit
  1. Redkit

QtIFW

Public
AuthorCommitMessageCommit dateIssues
Christoph VogtländerChristoph Vogtländer
db18dbdcf13Fix null pointer exception in silent modeRunning in silent mode (using gui.setSilent(true) in a controller script) QApplication::activeWindow() returns a null pointer as no application window has the focus. Change-Id: I440746b540110ebf336b6078b87b250660ee95be Task-number: QTIFW-764 Reviewed-by: Katja Marttila <katja.marttila@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>QTIFW-764
Katja MarttilaKatja Marttila
666ad7944d6Fix translations README file to correspond how language can be changedChange in QTIFW-390 caused that LANG cannot be used anymore in Windows and Linux to change the language. Instead LANGUAGE should be used in Linux and system settings changed in Windows Change-Id: I2fa6881652e31836d85e2b7442a39a418654ee80 Task-number: QTIFW-791 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>2 Jira Issues
Katja MarttilaKatja Marttila
30c223190dfFix scriptengine autotestWas failing in Windows because NativeSeparators was not taken into account when verifying the error message Change-Id: I79c17ad91875918501d84b102d16f84bb2008038 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Katja MarttilaKatja Marttila
ba9d6002fc2Fix crash when updating admin installation with user/temp repositoryGrant permission rights for writing maintenance config file Change-Id: Ib95fc05b80b95ce952b4bcf2395fbb5ed0ef9153 Task-number: QTIFW-740 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>QTIFW-740
Jarek KobusJarek Kobus
d19d8323c67Read UrlQueryString from settings.Task-number: QTIFW-744 Change-Id: Ie67bbb5f753a86041c60f2e32fe6b36213e4613e Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>QTIFW-744
Kai KoehneKai Koehne
6c04ab67125MMerge remote-tracking branch 'origin/2.0'Change-Id: Ia4c0c6766b52626798197c646043407df8de1fd6
Denis ShienkovDenis Shienkov
175ffec58f9Allow to use the stylesheet to customize UINow it is possible to set a stylesheet file to customize the wizard's UI. The stylesheet adds to the config.xml file using the new "StyleSheet" element. Change-Id: I66271f755a0f742e96cf433fe557423a2261e432 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Javier LlorenteJavier Llorente
2dcd457bcecAdd Castilian Spanish translationChange-Id: I6cef758f1b9746b4eb03670765677bb8f5b275c5 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
d3de2b14cbdCompile with namespaces.Change-Id: I734b0e27d53fd8b6199a3fb5891497df0e1815bb Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
cab3405ad2bMissed to rename classes and to update docs and tests.Change-Id: I2d79ab4094cb9706287d44160543c19b35a66c95 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Kai KoehneKai Koehne
823efa49cc6Fix wording of "Could not get authorization" error messageTask-number: QTIFW-767 Change-Id: I424c0551032a3a9bc96037d5104bf295060d5e35 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>QTIFW-767
Kai KoehneKai Koehne
a81f1929574Fix errors when running updates in a directory requiring elevationisWritable() is not a reliable way to check for permissions on Windows. Instead, just try to create a file. The alternative would be to set the magic qt_ntfs_permission_lookup variable to 1. Anyhow, this might slow down things and cause other regressions ... Task-number: QTIFW-746 Change-Id: I1b5637670bfcfe29966f0545ce2c6b1f663a9738 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com> Re...QTIFW-746
Kai KoehneKai Koehne
3bad334b26bDocument installer.components() restrictionsIt's not obvious for the innocent user that components() are only available once the metadata has been fetched (i.e. not in a control script / component constructor). Change-Id: I033a78442d7e676a8aa662898a897af9e4d0ab65 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Kai KoehneKai Koehne
c417d953f74MMerge remote-tracking branch 'origin/2.0'Conflicts: Changelog dist/config/config.xml dist/packages/org.qtproject.ifw.binaries/meta/package.xml dist/packages/org.qtproject.ifw/meta/package.xml installerfw.pri src/libs/installer/component.cpp src/libs/kdtools/updatesinfo.cpp Change-Id: I0a1b4a464f7d9008b589b54dd7aed0cac71bd666
Takayuki ORITOTakayuki ORITO
85ce2334cf8Doc: Fix the function name in Controller Scripting page.Callback was not written in the function name. It is targeted for 'Start Menu Directory Page' section. Change-Id: I8e206caf29865e1e01defddc1fb9ae60c5f85632 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Leena MiettinenLeena Miettinen
c53747138d2Doc: list supported license file formatsChange-Id: Ia6762aee85f515528b842fbae7795c62f8836680 Task-number: QTIFW-691 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>QTIFW-691
Karsten HeimrichKarsten Heimrich
3f665c40d8aFix missing KD* documentation.Change-Id: I4916c786ac946d58044eb6938801af93de82d6c4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Kai KoehneKai Koehne
79a9d2e7d66Fix usage of system proxy with credentialsSo far we've been using the entered credentials only for custom proxies on Windows and OS X. If one selected 'System Proxy' we asked or the credentials, but tried again without setting them. This fixes a regression introduced in 2.0, where we started to interactively ask for credentials. Task-number: QTBUG-46547 Change-Id: If059a9c68a0976db0453abdc795d9546c4b3aa4a Reviewed-by: Niels Weber <ni...QTBUG-46547
Christoph VogtländerChristoph Vogtländer
ca59912053eadd silent modeAdd possibility to run silently without a gui. Silent mode can be enabled in a controller script using gui.setSilent(true). Change-Id: I5c5d0cc2be734e8e447edfe4e71106fe08f87188 Task-number: QTIFW-166 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>QTIFW-166
Karsten HeimrichKarsten Heimrich
5a635073b45Compile.Change-Id: I130d79d0f814f2b8237a24b340ba96d44c92b428 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
dace8172164Adjust include guards.Change-Id: I0252c934b3bcdca254ae6915904d84d5cf013f5a Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
de8b7ede255Rename files. Remove {kd} prefix. Remove {kdupdater} prefix.Change-Id: I88c93cab718f4659296d5f7f562beefd747a366f Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
7530807cb04Make the installation relocatable (with some limitations).Replace the install path with a constant that's updated while loading the stored configuration and operation values. Dynamic variables now need to be set after reading the .ini file, cause there we store the values we found during installation. Makes an installation relocatable, though with some limitations: * Uninstaller entry might break on Windows * Start menu sortcuts might break on Wind...QTIFW-653
Karsten HeimrichKarsten Heimrich
b4a2001d65eCleanup. Prepare for proper rollback implementation.Change-Id: I798702d86dccad2883d36355c5e98d1e698a18ab Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
df9fdaf4ea0Rework handling of repository testing.- Show message box on error/success. - Show informative text only if necessary. - Add option to enable/disable repo after test. Change-Id: I5608aa1c94f804db1754c9f789697eab614b21c6 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Kai KoehneKai Koehne
5b28b048c49Remove quotes around component checker warningsThis was forgotten in b2a65ce68bce4fcd Change-Id: I3731765ffc17879116609b88fb43215fd8aa4cf7 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
38799ceaf11Make use of the new varadic template feature + cosmetic changes.Change constructor to take the a package manager argument. Add a package manager member to the operation. Remove setter function. Change-Id: Iffb860e24089beb6496ac4ee479d547a29463728 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
39a56f719a2Add factory auto test. Update template parameter + documentation.The create function cannot be documented properly, cause qdoc does not understand the ellipsis(...) operator as of right now. Change-Id: I6569372ed37621eeaaa7a41ea49aa795676ca65b Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Kai KoehneKai Koehne
d01de18c1edFix build on WindowsFix breakage introduced with b2a65ce68 Change-Id: I587e9c7d681e8197fa0c967441b52ef58cfe23e6 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Kai KoehneKai Koehne
b2a65ce68bcSanitize QDebug outputPrefer 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>
Karsten HeimrichKarsten Heimrich
d7f53290d9aImplement repository testing using our task classes.Motivation is to get rid of the KD(}Downloader classes. Change-Id: Idab1b3b56c2a879e1076e9f400ccec92a4484197 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
a1a11cf402eFix canceling the download done by an external call.Fix canceling the download on blocking connections without events, it will not trigger the Downloader::testCanceled(). Change-Id: Ia74c70cb1ab98189872d39feb1b9ab47f3ccbd22 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Kai KoehneKai Koehne
f3c92c9e1caPrint Qt version in verbose outputHelps diagnosing whether an error is due to bugs in the Qt version. Also remove the quotes. Change-Id: I7d85094e19d7d2a695ea4ac7be2006673ffa17e2 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Kai KoehneKai Koehne
d343cd20410Update ChangeLogChange-Id: I4e72da86a559165ca6471945103df4509e21ff08 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Kai KoehneKai Koehne
360a8c20aa1Unify handling of translationsMimic the logic implemented in installerbase/QTranslator::load() by - using QLocale().uiLanguages() - splitting up the locales into candidates (first en-US, then en ...) - implicitly assuming the default is English Task-number: QTIFW-390 Change-Id: I294288d5fc739ebf12c93a0e1a43d613b3834721 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>QTIFW-390
Jarek KobusJarek Kobus
0f114d79157Init all components with proper install actionTask-number: QTIFW-727 Change-Id: Iae9d232310370fefc0c9dca771e6b2cca6b5b433 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>QTIFW-727
Karsten HeimrichKarsten Heimrich
8d0d8397f17Fix missing filename conversion on UNIX systems.Task-number: QTIFW-643 Change-Id: If6df557d09b23dce99caed8f7b00dd726a6d42e6 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>QTIFW-643
Karsten HeimrichKarsten Heimrich
0a229c256cfRemove superfluous clone() method. Prepare for next patch.Task-number: QTIFW-180 Change-Id: I6aa8b409e323d14e353a1f80b0b2ec54daad184f Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>QTIFW-180
Karsten HeimrichKarsten Heimrich
38bd4ceae10Implement generic factory using c++11 variadic template feature.Change-Id: I65bbb82ef1bd8c1a94100b583f504a86d64015de Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Kai KoehneKai Koehne
5d53c5a4ba3Fix error strings in autotestsFix autotests that broke with commit 1e589e37a991b. Change-Id: I2c0ed437de17fef856706fb3e422f3466c373c37 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
1d0d566f154Add getter and setter for package manager.Change-Id: Iff8ac5fc97f73939e0cbfea21370bb63e94b7782 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Kai KoehneKai Koehne
1e589e37a99Unify translated error messages* 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>
Karsten HeimrichKarsten Heimrich
65a5d4d33c7Follow description on MSDN to implement time utils.Task-number: QTIFW-445 Change-Id: I8c3bc221f57043cc876f1927edf0d591303b5687 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>QTIFW-445
Karsten HeimrichKarsten Heimrich
94df4a43b67Cleanup time handling, some minor changes.Change-Id: I830ff58673efe76c47dcb0c5839bf44bbd2f42a8 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
24671447746Fix missing operation 'installer' value and update documentation.Commit 478a8a1db3eed2 was done under the assumption that after UpdateOperation::fromXml(...) existing values are still set. That is wrong and we have to set the 'installer' value again. The same commit was trying to fix the empty 'installer' value in the operations destructor, though the value got removed in PackageManagerCore::writeMaintenanceToolBinaryData() already. We now skip it once we w...
Christian StengerChristian Stenger
d198b18ca8dFix compile for gcc 4.7.3error: looser throw specifier for 'virtual VerbosePrinterCallback::~VerbosePrinterCallback()' Change-Id: Id0dc7761eb011e8c39f6bda8257f636cbd3a1cf7 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Kai KoehneKai Koehne
1611812a626Version bumpChange-Id: Ic11a894ef21f4dd2967a3fd662fad8a30f11ba7e Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Karsten HeimrichKarsten Heimrich
b753081497aFix usage of Lib7z::createArchive(), do not use static.Change-Id: I749fefeafc924540a8c6119f669685895a69e07d Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
Kai KoehneKai Koehne
90135a5b7a3Convert to Qt 5 connect syntaxConvert 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> Rev...
Kai KoehneKai Koehne
80b2694aedeRemove %0 from tr() callsThe placeholder of the first argument to QString::tr() is %1, not %0. Change-Id: I69fcddb42ddbfda27dfb4430f03ebef156280c64 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>