summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* Update Qt watermark imageKai Koehne2015-02-201-0/+0
| | | | | Change-Id: Ie6dac62390db927731e961ae312b8b5ebf0a3447 Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Fix handling of incomplete messages in client/server communicationKai Koehne2015-02-208-203/+425
| | | | | | | | | | | | | 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-2018-93/+99
| | | | | | 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-18346-2299/+2299
| | | | | 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-0917-5/+329
| | | | | | | | | | 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>
* Dump binary content for both installer and maintenance tool.kh2015-02-051-4/+2
| | | | | Change-Id: I749912ebba5e1765f0d60e089a0366f59e09279b Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Doc: Link directly to the respective tools from the overviewKai Koehne2015-02-051-3/+3
| | | | | Change-Id: Ifc67d38da7d8018348e41eac18fa23dc5da8acc0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@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-032-2/+2
| | | | | | | | | 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>
* RemoteServer: Make sure we don't write to stderrKai Koehne2015-02-021-0/+8
| | | | | | | | | | | | | In adminauthorization_x11.cpp we redirect stderr of the child process to a pipe, but do not read from it anymore after sudo completed. Which means, if the server process continues to write into the pipe it'll block at some point. Avoid this by always closing the stderr handle in production mode. Change-Id: If1e9578f12d7a0f60811f9c2b43cd9c18adfea59 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Set objectName for QThreadKai Koehne2015-02-024-0/+4
| | | | | | | | The objectName of a QThread will be picked up and shown by debuggers. Change-Id: Iabd1006a228a73fff0a9a89bd3d8c1021bab6945 Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com> Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Fix use --startclient argumentsKai Koehne2015-02-022-4/+3
| | | | | | | | | So far the arguments to --startclient have been ignored. Change-Id: Ib76b061381a9320e6e4e9e2e970132c2f614aca7 GPush-Base: 92da4093e32040cb7cd7ed5587de78262d825e65 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* RemoteServer: Exit early if authorization failedKai Koehne2015-02-021-1/+3
| | | | | | | | | | There's no point in listening to the socket after the authorization failed. It will then be closed by the client, anyway. Change-Id: I26eb2023e08ac3b16ecb894a89ffa0bfeddc62b0 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Make sure RemoteServerConnection is properly shut downKai Koehne2015-02-023-4/+7
| | | | | | | | | | | QThreadServerConnection is automatically deleted via deleteLater on exit. Anyhow, TcpServer::shutdown() also tries to quit() all child threads by going through the list of children. Making the QThread a child of TcpServer activates this behavior again. Change-Id: If1639ae2c9cd74a83b8ff1814aa2131d9016de14 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Verbose output: Avoid '(:0)' in release buildKai Koehne2015-02-021-1/+1
| | | | | | | | | Do not try to log file, line, function information if it's not available (release build). Change-Id: I1c3348503f08cc57427012ce985277d0e95924b1 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
* Update Simplified Chinese translation fileZhang Xingtao2015-02-021-1174/+1035
| | | | | | | Change-Id: Ie0fb52d07427d3cdbb9fb9e517499e8e2c72510e Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Do not defer deletion of socket in RemoteObjectKai Koehne2015-02-021-2/+1
| | | | | | | | | | | | | The 7z backend can create and close a considerable number of RemoteObjects without ever returning to the event loop. For big archives the socket objects are therefore piling up, slowing down the extraction over time. QTcpSocket::close is documented to close the connection automatically in its destructor, so deleting it instantly is safe. Change-Id: I95323b53e6886a7bc6c0b59dd3c13ade4aa9567c Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
* Update German translation for 2.0Niels Weber2015-02-021-185/+205
| | | | | Change-Id: Ic85aa74b55bd9c0010f3ff8245f0c6847f819e6d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
* Doc: add docs for arguments and return valuesLeena Miettinen2015-01-309-24/+52
| | | | | | | | To get rid of QDoc errors. Change-Id: I4932f1f3ff5fab87eebf24536d63be550582b195 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* 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>