summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Inform about superfluous dependencies.Jarek Kobus2015-03-131-1/+13
| | | | | | | | | In case B depends on A and B auto depends on A, the first dependency is superfluous. Change-Id: I01a97e0777089fafd43d36b8f9675d7089099885 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* fix empty installer.components arrayChristoph Vogtländer2015-03-133-10/+23
| | | | | | | | | | Make sure the current list of components is used when referencing installer.components in a controller script. Change-Id: I9468110d61a958f13edba66da0059d6622aa7037 Task-number: QTIFW-601 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Don't show "safety" space on Ready for install pageNiels Weber2015-03-131-1/+2
| | | | | | | | | | This confused people as it is a different size than what is shown on ComponentSelection page. Change-Id: I3d20250f79b96312bceafb42277452bad7c15465 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: update docs for component selectionLeena Miettinen2015-03-111-6/+6
| | | | | | | | | The selected property seems to be gone, so QDoc now wants isSelected() and isSelectedForInstallation() documented. Change-Id: I638f297a77ebd787a627374e71acab2026e49593 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Fix embedding of installbase manifestKai Koehne2015-03-112-5/+3
| | | | | | | | | | | | Redefining QMAKE_MANIFEST is currently broken in Qt for newer compilers: The content is not embedded at all if the toolchain supports "embedding". But the hack is not needed anyway: Just disable the Qt manifest magic, and include our custom manifest file via .rc. This way we can also avoid changing the mkspec for embed_manifest_exe, embed_manifest_dll. Change-Id: I5155ddabe17f0b61b2d7b9c5b9cd912ad6c53dfe Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: add links to topics that describe the namespacesLeena Miettinen2015-03-111-0/+5
| | | | | | | | | | | | In addition to linking to the classes from the top level topic. The namespace topics are generated automatically and list all classes in a namespace with brief descriptions. Add subtitles for listing the classes in each namespace. Change-Id: I0304a86717e018fa3af9f213871f159fdb4ce05c Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: move systeminfo scripting docs to a separate fileLeena Miettinen2015-03-111-21/+23
| | | | | | | | | | Reformat the docs in systeminfo.cpp as C++ code docs. Edit for style. Change-Id: Idec8aaae072a97f889b4d48051341ff766da4247 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Issue a warning when a component depends on auto dependent one.Jarek Kobus2015-03-111-1/+7
| | | | | | | Task-number: QTIFW-510 Change-Id: I57eff879deebf8f31a472a6c66a7e275e34447bd Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: move component scripting docs to a separate fileLeena Miettinen2015-03-091-231/+195
| | | | | | | | | Reformat the docs in the C++ file as C++ documentation. Fix language and style issues. Change-Id: Ifc2ac0a99700d8b2a2ca6835927cdfb0abd7ed2e Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Fix failing autotestsKai Koehne2015-03-061-1/+1
| | | | | | | | | | | | Commit 603d9bb1f49c58f2 deleted RemoteClientPrivate when the engine is shut down, but the autotests expect to re-use the singleton in the same process afterwards. Fix this by creating a new - clean - RemoteClientPrivate instance instead on shutdown. Change-Id: Iafa701f44c654db2d7e7d838ea7a27e978eb1913 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: move ScriptEngine scripting docs to separate filesLeena Miettinen2015-03-061-313/+0
| | | | | Change-Id: Iac1c810cf52fb4a480ebde956d62830af97b6f8c Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Make sure RemoteClient's localsocket is freed early enough on shutdownKai Koehne2015-03-051-0/+1
| | | | | Change-Id: Idb0afb201f4759696988566f08baeb156c3bb7be Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Simplify KeepAliveObject implementationKai Koehne2015-03-053-49/+19
| | | | | | Change-Id: I5c647510a8aa001183c9bf63ac0e1cae5ec32ce9 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Add Windows 8.1 to list of supported versions in manifestKai Koehne2015-03-051-0/+2
| | | | | Change-Id: If101748767192d0a32dbba7f3b3bf156fb04b781 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Docs: edit MessageBoxHandler docsLeena Miettinen2015-03-051-61/+161
| | | | | | | | Move scripting docs to another file and add C++ docs. Edit the C++ docs for grammar and style. Change-Id: I2494c573662687cd107916c06e24b0f528596a7e Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: fix a broken \a commandLeena Miettinen2015-03-051-1/+1
| | | | | | | In protocol.cpp. Change-Id: Ib73c055e88bbab8a3e2a7e61bcbddcd8ca42c577 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Drop source code references from ts filesNiels Weber2015-03-025-2488/+1
| | | | | | Change-Id: I58deca6acc3c4c36097b57a57fdaae11068f5feb Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Restore original behavior for component.installationRequestedKai Koehne2015-02-274-3/+9
| | | | | | | | | | | | | | component.installationRequested() should return true also for components that are selected through dependencies (after they have been resolved). This restores the original behavior on 1.6. To keep the change minimal the 'new' behavior has been saved in a method isSelectedForInstallation . This should be further refactored in the master branch. Task-number: QTBUG-633 Change-Id: I2cb936a399927252a4ad4dd81f73683fa3c28a01 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Added Italian translationcuoghimax2015-02-274-3/+2605
| | | | | Change-Id: I7c5dbe0a5610dc9b7671d6db3f57c169096c7ef2 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: Add missing docs for KDUpdater::PackagesInfoLeena Miettinen2015-02-271-19/+23
| | | | | | | | Fix references to non-existing package information file elements. Change-Id: I6167b66284ad018057610f38f8a5c4d3cd67806d Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Remove setSelected that has been deprecated since 1.3Niels Weber2015-02-272-14/+0
| | | | | Change-Id: I739f37bcdbb4ea17e57397e98bc49619938977d5 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix dependencies in static buildKai Koehne2015-02-251-0/+7
| | | | | Change-Id: Iae06c6d5a9b1c678a4ab136da145a9c69ccadb6e Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Doc: add docs for KDUpdater::FileDownloaderLeena Miettinen2015-02-251-30/+340
| | | | | Change-Id: I27db6645449b2da5bb5fca36270031e22fd41dad Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: Add docs for QInstaller::PackageManagerGui classesLeena Miettinen2015-02-251-3/+617
| | | | | Change-Id: I2ae0a5b80c22b344d19653bb0dfd6ee71e1b3507 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: add docs for TaskRole, FileTaskItem and FileTaskResultLeena Miettinen2015-02-251-0/+80
| | | | | | | | To suppress QDoc errors. Change-Id: If439fcaff9ca8ac2af1545ebef8d14790b3e3853 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: Add docs for KDUpdater::Application and ConfigurationInterfaceLeena Miettinen2015-02-251-11/+42
| | | | | | | | | | | Remove some \c commands. Replace "package XML" with "installation information XML" to avoid confusiong with the "package information file" that is used when building the installer. Change-Id: I56bc80cad5d7bc65557185c1b9d037baa8595128 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: add docs for ScriptEngine methodsLeena Miettinen2015-02-251-3/+17
| | | | | | | Fix the formatting of a list. Change-Id: I93bcd369f5e685fecacab632b801084199b06d4b Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Do wait an indefinite time for server repliesKai Koehne2015-02-241-1/+1
| | | | | | | | Operations can take sometimes longer than 30 seconds. Do wait forever, provided that the port is still open. Change-Id: If28fab22a42a863d026f2ff04cad5d8d980ea92b Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: add docs for KDGenericFactory classLeena Miettinen2015-02-241-3/+28
| | | | | | Change-Id: I4d4f5d2d92cfb5dcf5d171e871115eb5ebd2c3c3 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: Add docs for FileDownloaderFactory and FileDownloaderProxyFactoryLeena Miettinen2015-02-241-2/+51
| | | | | | Change-Id: I45658cacef985fd81a22f8ac9c7010b5f58de108 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Doc: KDUpdater operatorsLeena Miettinen2015-02-231-0/+12
| | | | | Change-Id: Id88e7b7eea7228dbfd94840eedc00f4a0f74168d Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Remove orphaned fileKai Koehne2015-02-231-530/+0
| | | | | | | The file was supposed to be deleted in 6a38cb8df826216b7d already. Change-Id: I97b166bdc5707f683091065fd8ef47ab8b4cf038 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Fix handling of incomplete messages in client/server communicationKai Koehne2015-02-207-165/+249
| | | | | | | | | | | | | Do not assume that the socket always contains enough data. Instead, prefix every 'packet' with its size, and back off until the full packet is available. The actual encoding/decoding is done in Protocol::sendPacket, Protocol::receivePacket. To be able to use the methods everywhere, replies are now prefixed by a Protocol::Reply command. Change-Id: I75a89605b2cc3fe2f2f841d8e3159fc8aea65d77 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Use local sockets for client-server communicationKai Koehne2015-02-2017-82/+71
| | | | | | Change-Id: I12bfef671ab31ae9fb8c4bb02776517e7f434d27 Task-number: QTIFW-228 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Update Polish translationjkobus2015-02-201-197/+201
| | | | | | Change-Id: I53b239885ea752fb0da15591beb77cd7e2365f24 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
* Update CopyrightKai Koehne2015-02-18234-1597/+1597
| | | | | Change-Id: I8dde6629cfd461104364d5cdc255cb54b58283fa Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: Add docs for KDUpdater::Update methodsLeena Miettinen2015-02-131-0/+7
| | | | | Change-Id: Iac06edf83091199d0e33ca573b50e3bbe3d03e66 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: Add docs for KDUpdater::TaskLeena Miettinen2015-02-131-6/+24
| | | | | | | | | | Add missing return values. Add links to referred enum values. Fix a function signature in a \fn command. Fix the grammar. Change-Id: I653571b302ec460a0f03e1c5e9043824b7f2080b Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: Add return values for KUpdater::UpdateOperation methodsLeena Miettinen2015-02-131-5/+14
| | | | | | | And fix some style and grammar issues. Change-Id: I62fa801f893f972b50d1c8156e5014b706cb45c3 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: add docs for the performinstallationform classLeena Miettinen2015-02-131-1/+69
| | | | | Change-Id: I759a9584abae3293850da18b08a6317810f5ed61 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Translate into Polishjkobus2015-02-121-566/+582
| | | | | | | Change-Id: Ib9956c0db357818a515c08cdb14b02c3164fdbf0 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: fix language and QDoc command issuesLeena Miettinen2015-02-124-22/+31
| | | | | | | | To follow the Qt documentation guidelines. Change-Id: I8f533737b39d7d58645a05b033fc966f70918369 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Update Russian translationSergey Belyashov2015-02-111-718/+719
| | | | | | | | Change-Id: Ieaee032c9b2d9ab05230aafc6e6aef11e6190646 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add a translation exampleNiels Weber2015-02-091-1/+11
| | | | | | | | | | Add an example showing how the translation of components works. Also document this. Make translated license files work again. Task-number: QTIFW-469 Change-Id: I3c13ecc9941b09370d0713b19b2683b42454c43c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Fix update from 1.6 and earlier to 2.0 installerbase.kh2015-02-061-4/+10
| | | | | | | | | | | | | | The update was broken caused by the attribute rename. We already print a warning and read the old value, though we did not set it for the new introduced tags in case of an update. Thus we where not able to read the .ini file and the values stored, but did fallback to the use the initial values from config.xml. Task-number: QTIFW-625 Change-Id: Iad1c96c690de81c5653864a3777c78bd43007249 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* Fix could not write installer configuration file.kh2015-02-041-4/+5
| | | | | | | | Task-number: QTIFW-621 Change-Id: Iad160efc3c9123476d0fd0d676a0ce751025778a Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Christoph Vogtländer <c.vogtlaender@sigma-surface-science.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: edit docs for the ComponentModel classLeena Miettinen2015-02-041-11/+19
| | | | | | | | | | Add missing information. Fix grammar issues and QDoc command issues. Use the phrase "checked state" consistently. Change-Id: I45f5082bdbdbce933735e902ac24c575a1fc13d3 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* CreateLocalRepository doesn't work on OS X.kh2015-02-041-2/+12
| | | | | | Task-number: QTIFW-622 Change-Id: I0a370801f605a43739ed660afcfe6a4c03f082dc Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Revert "Allow spaces in path by default"Niels Weber2015-02-031-1/+1
| | | | | | | | | The change did the opposite of what it claims. This reverts commit b843bff42705044eb88bc87298873ed6f7a93c55. Change-Id: I79b1527a95ce64472b7cc20bc83649aef1b90127 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Show size in "Programs and Features"Christoph Vogtländer2015-02-033-2/+20
| | | | | | | | | | | Add size as quint32 to always create a REG_DWORD. Calculate size based on installed packages and meta data instead of using the installer binary file size. Change-Id: Id379aafe885d2785251eecf831cb7d07cc44f3d4 Task-number: QTIFW-616 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>