summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update French translationMatthieu Bachelier2015-01-301-1611/+1475
| | | | | | | Change-Id: Ie6067ea37787b9b0b839c6f9dbad860f74353742 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 \value commands to generate docs properlyLeena Miettinen2015-01-301-6/+10
| | | | | | | | for UpdateOperation::Error enum Change-Id: Ib8b019bfe4aa8ab541dd37e8d96e06eb98d3e23b Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add Polish translationsjkobus2015-01-305-2/+3222
| | | | | | Change-Id: I311c5f0139e3fc54909b35d0629fecce58bcd37c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Fix testBrokenJSMethodConnect autotestKai Koehne2015-01-302-3/+6
| | | | | | | | | | | Since qtdeclarative change e2c1e7b8a exceptions in JS slots do _not_ set the engine to an error state anymore, but are rather printed to console, and ignored. This prevents exceptions to silently propagate ... Change-Id: Icb065314730cf2142eedbde14b0c77c21bdd6f6f Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: add defines to qdocconf to suppress doc errorsLeena Miettinen2015-01-291-0/+82
| | | | | | Change-Id: I8871a24d4b28473d7a2079debb02428abf9f8653 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* Doc: edited PackageManagerGui docsLeena Miettinen2015-01-291-5/+6
| | | | | | | Fixed grammar, writing style, and QDoc command issues. Change-Id: Ib2fd4e09793943248a6ec8bc6d73e94fd47b5d59 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: edited binaryformat docsLeena Miettinen2015-01-291-4/+4
| | | | | | | Fixed grammar, writing style, and QDoc command issues. Change-Id: I93e79ad7294651071a2d3ab03cad657da1d23ba7 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Delete the messages that are no longer needed in japanese translations.Takayuki ORITO2015-01-291-890/+0
| | | | | | | Change-Id: Iae1736bccb854d320f089f0fdd69f8ad1b10aec4 Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Takumi ASAKI <takumi.asaki@gmail.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: add docs for QDesktopServices JavaScript objectLeena Miettinen2015-01-281-3/+32
| | | | | | | | | Based on Qt 5 documentation for QDesktopServices. Change-Id: Ib1a42505b1c046b5175aae0a76f3c71d58c0e86f Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Make sure component wrapper is not deleted in advanceKai Koehne2015-01-282-11/+16
| | | | | | | | | | Use ScriptEngine::newQObject instead of the stock QScriptEngine one. This one (among other things) sets object ownership to Cpp, preventing dubious "cannot call name on undefined" script failures if the garbage collector runs. Change-Id: Ib3275012d307533c13de3520f4630d1eeee66869 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Update Japanese translation.Takayuki ORITO2015-01-281-0/+28
| | | | | | | | | | Update new 7 messages in ja.ts. Change-Id: I799ee320db50d260876427e1b350ec84612af09f Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Takumi ASAKI <takumi.asaki@gmail.com> Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix the invocation order of entering() and page callbackjkobus2015-01-274-2/+111
| | | | | | | Task-number: QTIFW-620 Change-Id: I1a40aae35dc1c259a96043a1056aa631bf7279b2 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix a doc typojkobus2015-01-271-1/+1
| | | | | | Change-Id: I6208606b237a8f408cf071efb428c3e82e987ad8 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Fix loading of translationsJarek Kobus2015-01-261-22/+15
| | | | | | | | | | In case we hit the English translation just try to load it and break in any case. In case we hit another language we only install the translation if the qt translation was loaded properly, and break. Change-Id: I2755501c1af8cb51b38cf21e0205bcf05541fb91 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Set correct permissions for ini filesNiels Weber2015-01-266-41/+154
| | | | | | | | | | | This is necessary due to a behavior change in QSettings/Qt 5 that now creates ini files with more restrictive permissions than before. Task-number: QTIFW-589 Task-number: QTBUG-44086 Change-Id: I296ad4b312a933cbda7dd5c1f644294f83e1850d Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Add example for online installerKai Koehne2015-01-2615-0/+255
| | | | | | Change-Id: I7c4f32db01b94b24339641907ae7cdbe209ff707 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: Fix capitalizationKai Koehne2015-01-261-2/+2
| | | | | Change-Id: Ifa70b0928bd24f8b9be6f627d11d0ae79944cfd9 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Remove unused sv.tsKai Koehne2015-01-261-3384/+0
| | | | | | | It's almost empty, and we don't actually ship it. Change-Id: I276f127b52d86ecfd17470a96b2517c5154fb656 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Fix deadlock in elevated Settings operationKai Koehne2015-01-261-4/+4
| | | | | | | | | | | There are cases where using the RemoteFileEngine through QSettings will dead-lock. Avoid this by using QSettingsWrapper directly, like we already do in the rest of the code. Change-Id: I2e00e107c5ab471ddd6cd79fed96417bf4351c1e Task-number: QTIFW-618 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Fix updating of ts filesKai Koehne2015-01-261-5/+5
| | | | | Change-Id: I019b9f83e9fff2ce4ce9bc659ac6619b02d93956 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Add a dependencies exampleLeena Miettinen2015-01-2320-0/+258
| | | | | | | Change-Id: I77c404294a5210f892c88480fa5b56075d44cc30 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix a crash in testDynamicPage of scriptengine testjkobus2015-01-231-0/+1
| | | | | | Change-Id: I9fcb599c9b14162d0aa86aad0834737e28203939 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Use a UUID as uninstall registry subkeyChristoph Vogtländer2015-01-233-6/+11
| | | | | | | Change-Id: I365e3bdf529bed7bff526b772d9dec5260d71ba4 Task-Id: QTIFW-615 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: update the Controller Scripting topicLeena Miettinen2015-01-232-33/+67
| | | | | | | | | Fix some style and grammar issues. Add some subtitles and some information. Change-Id: Ibf2a3b4ff2a61782b45d772754859b35c7043192 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: Add docs for QInstaller JavaScript objectLeena Miettinen2015-01-231-19/+38
| | | | | Change-Id: Ied88c365fdbd1cb7fe07d4ed196e7b568f6e892c Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Don't show checkbox for autodependent componentsjkobus2015-01-233-5/+21
| | | | | | Change-Id: Ia954f6337c188453f05b37725975be98a28d564f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: add docs for QFileDialog JavaScript objectLeena Miettinen2015-01-221-0/+32
| | | | | | | | Based on Qt reference docs for QFileDialog. Change-Id: Ic56fd5a48b290608f7810bc8f9260367389c5896 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: add docs for the gui JavaScript objectLeena Miettinen2015-01-221-0/+12
| | | | | | | | Based on the example code in the Manual. Change-Id: I4b933fe49768fe296c89d715ea5aef30b6e3430b Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Fix running out of sockets in serverKai Koehne2015-01-211-1/+1
| | | | | | | | | | The client side (RemoteObject) sends a Destroy message to the socket when it's done. The server however did continue to listen to the socket even after the message, letting inactive socket descriptors pile up until we run out of them. Change-Id: I659ab8e24a81ab6163a05e2fb8db4dfd47ebd02f Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: fix broken linksLeena Miettinen2015-01-211-14/+12
| | | | | | | | | | To get rid of some QDoc error messages. Also remove the \c command to enable automatic linking to scripting API and C++ classes. Change-Id: I317301bd0097059faf6e7696707fc1f0e3ed0beb Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Doc: fix broken linkLeena Miettinen2015-01-211-1/+1
| | | | | Change-Id: Idb729705cd0c37173b483f265f63ff3ed496b047 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: add docs for the console JavaScript objectLeena Miettinen2015-01-211-0/+19
| | | | | | | Change-Id: I0560178f9a1fbd60fa4a5f7c25706b2c826ecd14 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: more missed "section" to "element" changesLeena Miettinen2015-01-215-12/+12
| | | | | Change-Id: I2382e13b9e143f870b27507b214f2dfc045e2a50 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Show "Forced" component as enabled, but without checkboxjkobus2015-01-212-2/+2
| | | | | | | | | The indication that it will be installed will be shown in second column. Task-number: QTIFW-491 Change-Id: I23407fe9376a375e62a7b56a0284b12e42c83f81 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: replace "section" with "element" in example docsLeena Miettinen2015-01-213-7/+7
| | | | | | | | Missed the example docs in the previous commit. Change-Id: Ia48ae1bad208498429c39be8ff8c472b8b4786aa Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Doc: add the XML requirement for escaping <Leena Miettinen2015-01-211-4/+7
| | | | | | | | | One must use the character reference "&lt;" to escape the left angle bracket within XML elements. Change-Id: I69d3683b3a3b1e9f3e62cb6199e554d13de1f58f Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Christoph Vogtländer <c.vogtlaender@sigma-surface-science.com>
* no longer use Version as the repository format versionChristoph Vogtländer2015-01-209-17/+17
| | | | | | | | | | | | Use the Version value defined in config.xml as the product version exclusively instead of sometimes using it as the repository format version in components.xml (which must be 1.0.0) and sometimes as the product version. Change-Id: I63864947bf131ac6e246a2aaf6febdda0555c13d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Make sure widgets from .ui files are properly registered to engineKai Koehne2015-01-205-0/+51
| | | | | | | | | | | | | Make the QWidget representing a UI file known to the engine, so that e.g. child objects can be always accessed : component.userInterface("RegisterFileCheckBoxForm").RegisterFileCheckBox.checked; This worked reliably only if the .ui file has been shown to the user, which might not always been the case. Change-Id: I7a87773e29f6210ab7160d8e33c41f6ebeeb82d6 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Include application size only in case of installer.jkobus2015-01-201-1/+1
| | | | | | | | | | | When createLocalRepository option was specified, include the size of application only for the very first installation (isInstaller()) and omit it in other cases. Change-Id: I3bb248cb1436c16e570140e8d70ebf5cba2c37e5 Reviewed-by: Christoph Vogtländer <c.vogtlaender@sigma-surface-science.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Mark "os" variable as deprecatedKai Koehne2015-01-203-6/+8
| | | | | | | | | | | Mark installer.variable("os") as deprecated, and replace it with systemInfo.productType in the examples. Change-Id: Ic86af21369cd066fc003b268f001101b642f6d2d Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Delete components only after they have been removed from the listsKai Koehne2015-01-201-4/+6
| | | | | | | | | | | | | | This fixes a crash when a component destructor e.g. tries to unregister a widget: This might lead to the creation of a new scripting engine, which then tries to register all components into the engine, including components that have already been deleted ... Avoid this by first cleaning the lists, and then doing the actual deletion. Task-number: QTIFW-612 Change-Id: I708a1ade3b3cc15006eefe394c2d81bf47ebe754 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: replace "sections" and "settings" with elementsLeena Miettinen2015-01-194-60/+67
| | | | | | | | | | | As we are describing XML files. "Settings" is still used where appropriate. Also use the angle brackets around element names more consistently. Change-Id: I5c7179212c90d8f2cd55e28af98e7cd785603f4a Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Introduce InstallAction property for componentjkobus2015-01-1910-42/+161
| | | | | | | | | | Fixes calculation of component size inside maintenance tool. Don't manipulate check state of components while calculating dependencies. Prepare feature: live preview of dependencies. Change-Id: I0485df8383bc9149a996456e09878fc5676bb27b Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix code examples to use 'MaintenanceToolName'Kai Koehne2015-01-192-2/+2
| | | | | | | | | Commit 27390528bd renamed the <UninstallerName> tag to <MaintenanceToolName>. Fix remaining uses of <UninstallerName> to use the new tag. Change-Id: I2a397b7c23e2d3a0e8d8759f24d407cdfd4e5fa5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: add information about control scriptsLeena Miettinen2015-01-192-20/+100
| | | | | | | | Modify the Customizing Installers topic to also discuss Control scripts. Change-Id: I7a140c9bcf913ae914bf4c611f658ecc70c84fce Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Fix a doc typojkobus2015-01-191-1/+1
| | | | | Change-Id: I4df5650d4a90dfa220b239e431f408bbff34e825 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Bump version numberKai Koehne2015-01-194-6/+6
| | | | | Change-Id: I0d6afa57054d012cd23e6364a32ca2485741a784 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Fix focus handling on the FinishedPagejkobus2015-01-162-41/+32
| | | | | | | | | | Simplify entering() / leaving() implementation for wizard pages, above methods are now called a bit later, when the new page is already visible. Calling setFocus() inside entering() should work properly right now. Change-Id: Ic5d194f074cc4b1fc419c7be70563e105e644957 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Doc: make example briefs more consistentLeena Miettinen2015-01-1510-10/+16
| | | | | | | | Make clear that all current examples illustrate how to use component scripts. Change-Id: Id1015912723ed2f8f982d8316c8923e47e4897bc Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Warn whenever (auto)dependencies are not leaf nodes.jkobus2015-01-151-0/+24
| | | | | | | | | | | Whenever any source or destination node of dependency link or any destination node of autodependency link has children, warn about it. Maintenance tool isn't able to handle such cases properly. Change-Id: Ifaf3fbb7903eb960ab8fd977c4f47b7906900115 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>