summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Explain logic in dynamic page exampleKai Koehne2015-05-271-0/+4
| | | | | | Change-Id: I2e41a4f19cfb0b6dc9cad03896db6d079cf7aeee Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Remove leftover. (signal and documentation)Karsten Heimrich2015-05-263-15/+0
| | | | | | | Change-Id: Ib735d8e7103ade0a9c31fa3d710542cafae3c8f2 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: add docs for PackageManagerCoreLeena Miettinen2015-05-262-316/+1231
| | | | | | | | | | | Move the scripting API documentation to a separate qdoc file. Where possible (no QDoc errors are generated), only link from the C++ API documentation to the scripting API documentation. Change-Id: I969e9afc5cd45c495e6c517b825abb9a9aabdd82 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Adapt LGPLv3 preamble to IFWKai Koehne2015-05-182-4/+4
| | | | | Change-Id: Ic4c4b8a29dcba66da28ed927d46648625ee69fae Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Fix help output for --proxyKai Koehne2015-05-121-1/+1
| | | | | | | Actually passing --proxy has an effect on Linux, but not on OS X. Change-Id: I29a4d3945c6113d67311fdea3c700a5610075939 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix archivegen recursive include of directories with filter.Karsten Heimrich2015-05-121-6/+7
| | | | | | | | | | | | | Never pass recursive with true even if path is a directory, otherwise the path containing the file name part of the path is used as path to recurse and the actual file name is used as filter. For example: /path/to/doc -> Directory: /path/to -> Filter: doc Task-number: QTIFW-639 Change-Id: I60972eab0b34073b4c81a815ee83058df09d1eab Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Document -static-runtime argument for Qt 5.5 onwardsKai Koehne2015-05-122-7/+11
| | | | | Change-Id: Ic26cabbc42aa7247a6078f5fdf26320340a1c461 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix auto-test for Qt >= 5.5.0Karsten Heimrich2015-05-121-0/+4
| | | | | Change-Id: I8bdde116fc7721ff07f2f1eec07cfa9cf4c5620d Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Update.Karsten Heimrich2015-05-121-0/+1
| | | | | | | Change-Id: Ia49c395b0ba8cd2f8dc7932b74fe7b99f73ba190 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Missed to register copy codec, thus failing to copy files.Karsten Heimrich2015-05-121-0/+3
| | | | | | Task-number: QTIFW-695 Change-Id: I197c9b904dfabe9f08d2344c098d8db70afd91f0 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Replace waitForBytesWritten with flushKai Koehne2015-05-114-2/+4
| | | | | | | | | | | Unfortunately waitForByesWritten is known to fail from time to time: QTBUG-24451 . We introduced it for making sure large data is actually send, but flush() seems to serve the same purporse. The only drawback is that flush() operates on the concrete socket, and therefore needs to be called on the caller's side. Change-Id: Ic92db298b3dad2c3f9eaa47d160aec517e33e284 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: link from gui C++ docs to scripting docsLeena Miettinen2015-05-081-12/+25
| | | | | | | Remove duplicated text, where possible. Change-Id: I6e5e81ab151817d76d53f7137e5183b12bdb04af Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: link from C++ API ref to scripting API refLeena Miettinen2015-05-082-55/+88
| | | | | | | | Remove duplicated text where possible, and unify the text if it is needed in both files (by QDoc). Change-Id: If0c62a4a4abf6c1f61fd24f7947b9bc9bfb14f63 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: add link to controller scripting topicLeena Miettinen2015-05-081-0/+2
| | | | | | Change-Id: I929ced36d59f52621785e44c7d93fd24f237d590 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: Fix layout issues on the operations tableTopi Reinio2015-05-081-6/+4
| | | | | | | | | | | | Replace a \code block with a monospace \c text, and unintended '\n' sequences with spaces, allowing the text to span multiple lines. These changes make the table more readable by reducing its width and avoiding the creation of a scrollbar. Change-Id: Iff87fe2fe1b017e88395701643d278cb868e7f04 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Fix auto-test build with Qt 5.5.Karsten Heimrich2015-05-062-0/+3
| | | | | | | | Still the tst_PackageManagerCore fails here cause the expected "\t" is not expanded anymore by qDebug()... Change-Id: Ia5f9383af6b32e95a198ce612c40fe0e3db2392d Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Doc: fix code snippet in controller scripting sectionLeena Miettinen2015-05-051-1/+1
| | | | | | Task-number: QTIFW-687 Change-Id: I5690e9ebd4b8fae9f3f21b6685bec0d2c2999913 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix dynamic build.kh2015-04-281-3/+3
| | | | | Change-Id: I3df834c1938e991b0c3bc07d9caf272c5a2a8507 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix dubious warning about RequiresAdminRights tag.kh12015-04-273-11/+5
| | | | | | | | | | | | | The tag was added once component script is parsed and we did know that addElevatedOperation is called from script. However, the initial commit 7ccd0acdcf35b957e9e7d04cd81902bac362ad04 did not append the node to the parent package update node. Now we decided to have the option statically and declarative available, so we can remove the warning. Task-number: QTIFW-670 Change-Id: I8cd8f702391d7bf80fc4c42074e1fd6d2d4abc57 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Don't modify check state of autodependent component when Select AllJarek Kobus2015-04-241-1/+1
| | | | | Change-Id: Id50fc5fa3460ffda62102019b46923b01b8e8745 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add more logging categories.Jarek Kobus2015-04-244-15/+28
| | | | | Change-Id: I1c7dabfd16a69ef5a3e5aaa490036de061f1fd13 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Enable logging categories as an installer option.Jarek Kobus2015-04-248-13/+47
| | | | | | | | | | | Now by default all categories are disabled. They get enabled only in verbose mode. Verbose mode enables all categories by default. Categories can be filtered using logging-rules option. Change-Id: I9324826a6e2d7a746e3d7369747fcd31a42b84b6 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add more explanations on warnings we issue.Jarek Kobus2015-04-241-0/+27
| | | | | | Change-Id: I7fea8d8c5ebc1ffea78635c335a0740c648b8e2e Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add a missing warning about auto dependency on component with childrenJarek Kobus2015-04-241-5/+10
| | | | | | Change-Id: Ib17fb2d48059ecc5b7f3b466661aad8e9d6b4b33 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix hang and errors when sending big packages over the socketKai Koehne2015-04-241-3/+9
| | | | | | | | | | The assumption that packages of arbitrary size can be send is apparently wrong on Windows. Also, one has sometimes to call waitForBytesWritten, otherwise the data is never transferred. Task-number: QTBUG-45625 Change-Id: I8b5a2584d4d42cf33d1d6688b0e17c44c325ac53 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* RemoteObject: Do not use processEvents()Kai Koehne2015-04-241-9/+1
| | | | | | | | | | | | | Replace the hand-written calls to processEvents() with socket->waitForConnected(). It's unclear why this wasn't done in the first place (maybe to keep the UI responsive when the IFW was still single-threaded)? Anyhow, this allows delivery of spurious events too, which can lead to weird hang-ups. Task-number: QTBUG-45625 Change-Id: I0ff2b85c05d0cc9d0102cf13791935be83c10536 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix "Too many open files" error.kh2015-04-242-67/+67
| | | | | | | | | | The current code did create all files in advance, exceeding the open file limit on big downloads. Now we create the file once we write to it. Task-number: QTIFW-662 Change-Id: I9fe019e08342cbfb14bf564ad00b045cc03b6661 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Make componentChecker warnings optional.Jarek Kobus2015-04-224-1/+10
| | | | | | | | To enable them export the following environment variable: QT_LOGGING_RULES=ifw.componentChecker=true Change-Id: Ied6744c745ca3fd0840c622c71a8ba30ad22e3d9 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Reset font property when setting "virtual" property to false.Jarek Kobus2015-04-211-2/+3
| | | | | | | Visible in systeminfo example, when run with --show-virtual-components Change-Id: Ie9f82602d86c9be8060bc14ef5b1e524387f5c17 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: Remove mentioning of "UpdateAgent"Kai Koehne2015-04-171-2/+1
| | | | | | | | It's the only place we mention an 'UpdateAgent' in the documentation/code. Change-Id: I4e26246d7ecd7c9a81c006fb7448a9f788f7df20 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix compilation with gcc 4.6Kai Koehne2015-04-161-1/+1
| | | | | | | gcc 4.6 does not support alias templates yet. Change-Id: I65f2dd8d8bf8ffae37ca2ed9743d24539cd47fcf Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Update ChangeLogKai Koehne2015-04-161-1/+6
| | | | | Change-Id: Ic5933f828cfee1cde0686a9fa888a397c9c63da0 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Windows: Fix crashes in elevated installationKai Koehne2015-04-166-13/+82
| | | | | | | | | | | | | | | | | | | | | | Until Qt 5.5.0, QLocalSocket::waitForReadyRead() immediately returns when there are still bytesAvailable(). This means our busy loop for polling new data gets stuck. To work around this we've been explicitly calling processEvents(), which however can have undesired side effects: Namely that non-network events get delivered too, and that 'intermediate' requests are sent to the server, resulting in the protocol getting out of sync - requests get replies from intermediate commands, ultimately leading to crashes. The patch therefore removes the processEvents() call, and instead works around the QLocalSocket::waitForReadyRead() deficiency by subclassing. Task-number: QTIFW-663 Task-number: QTIFW-656 Task-number: QTIFW-659 Change-Id: I4099fa1702cd8dceda954d672c9c3dac0ca7fd66 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Do not throw on empty translation filesNiels Weber2015-04-151-3/+5
| | | | | | | | Workaround for QTBUG-31031 (QTranslator::load returns false for empty translation-files) Change-Id: If4587b99c86a5afacada2d022af10460248ecf93 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Move the component checker after installer calculator.Jarek Kobus2015-04-151-4/+5
| | | | | | | In this way we first check for errors, then check for warnings. Change-Id: I3993498c9c517e7900d789fc0f04c59f9c150e14 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Document the operation storing mechanism more precisely.kh2015-04-141-0/+9
| | | | | | Task-number: QTIFW-669 Change-Id: I7b4a89f74c0e82ec091876effaedf304de345fbd Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Fix updatecheckNiels Weber2015-04-141-1/+1
| | | | | | | Check for installermarker was the wrong way around. Change-Id: Id87cbc61d0bdb269eddc8377e5c775bc12c01174 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: component.virtualStateChanged() signalLeena Miettinen2015-04-131-0/+6
| | | | | | | | Docs were missing from the scripting API docs. Change-Id: I941e387c4226fae2a4640605299d925b3101bf46 Task-number: QTIFW-655 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: AdminTargetDir element is Linux onlyLeena Miettinen2015-04-131-2/+4
| | | | | | | | In the configuration.xml file. Task-number: QTIFW-658 Change-Id: Ia83649aac14be1d24bc1aa1cfee27da4d335e63e Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Compile with Qt 5.5kh2015-04-134-3/+7
| | | | | Change-Id: Iaab5bd3821bc4f1d4a826c9fee0c2a8c75d06bba Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Prevent disabled component to be selected using the Select All button.Jonathan Courtois2015-04-101-1/+1
| | | | | | | | | | The Select All button would select disabled component and try to install them, this new check prevent this. Task-number: QTIFW-635 Change-Id: If15f765b2b8c2fcbb66f72f6d27e9b1d3db92e4a Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* "Selected" property has gone.Jarek Kobus2015-04-101-6/+0
| | | | | | | Please see 5f6afc7d268dd16dd3f28d3579ae9517954a6553 Change-Id: I02a026c19d768b4d9c0c9f179d5738a121f46e99 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix possible null pointer access.kh2015-04-101-2/+7
| | | | | Change-Id: I2cb1c8b70d41c764e0f9e47637b951c480ebcb5c Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Fix crash on exit for Windows XP, VistaKai Koehne2015-04-093-17/+35
| | | | | | | | | The destructor of QWinTaskBarButton until Qt 5.4.2 crashes on exit if the OS is older than Windows 7. Task-number: QTIFW-652 Change-Id: Icd0255f79f7339937f129cddce7291997d652f72 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Update contributor's listKai Koehne2015-04-081-1/+1
| | | | | Change-Id: I9964eb2caaccd0afe6d6000175d79d999c20bc31 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Bump version numberKai Koehne2015-04-084-6/+6
| | | | | | Change-Id: I78552ac9b88fd02828966e71ddafd25a3075535e Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Improve Proxy Credentials dialogKai Koehne2015-04-081-0/+3
| | | | | | | | Give it a title + hide the "What's this?" button. Change-Id: I2717a0eeda5c2ca3da511d88540307763228b30b Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Mention compiler requirements2.0.0Kai Koehne2015-04-022-1/+11
| | | | | | Change-Id: Iae3637ea149199f9b152efa4ea27a42bd4581974 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Update system requirementsKai Koehne2015-04-021-2/+2
| | | | | Change-Id: I316a737c8a3763baa3b35646e60a9a2d4b3468b3 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Change binary name to Qt Installer FrameworkNiels Weber2015-03-241-1/+1
| | | | | Change-Id: I9b721ae055ec9849492171dacf07c56ca7cc4b08 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>