summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ConnectionClient: Fix race conditions regarding the timeoutwip/clang-oopNikolai Kosjar2015-06-012-3/+22
| | | | | | | | If the main thread is blocked for a while, it is unclear whether first the timeout slot is processed or the data from the socket. Change-Id: Ief1fdf40968f7548a0ad5ca4abc9b40253f79fa8 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* ConnectionClient: Fix unreliable sendEnd()Nikolai Kosjar2015-06-012-0/+14
| | | | | | | | | Calling QLocalSocket::flush() is not enough since it sends "as much as possible from the internal write buffer" (doc), but not necessarily everything. Change-Id: Ica2220aaf9f8c01fe039c3b3b8e3ff7269c00851 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* Rename testing pri fileMarco Bubke2015-06-012-1/+1
| | | | | Change-Id: I88c82b91281156ce0fd7f09006976e9bdc82695a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Add a little timeout so the connection server can be startedMarco Bubke2015-06-011-0/+2
| | | | | Change-Id: Iced2336388b9c7c6da293c0f3c6df16295a10351 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Forward standard output and errorMarco Bubke2015-06-012-11/+27
| | | | | Change-Id: Ib3acd04688724bec70597e87c27bfbb16555bbd8 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Print connection client local socket errorsMarco Bubke2015-06-012-0/+10
| | | | | Change-Id: Ie06148a040d52f74900c7881402c1a39afa75c6a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Don't connect before process is startedMarco Bubke2015-06-012-14/+6
| | | | | Change-Id: I5692662476d2407c19c95567b97c9aa70975f9b4 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Compile fixNikolai Kosjar2015-06-011-1/+2
| | | | | Change-Id: Ibe62a56abf830f6ad1c512a64b4568139c9447ff Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* Fix optional recursionMarco Bubke2015-06-017-46/+171
| | | | | Change-Id: I9c1ed7d7b0f48f656c730dd5538677e62727682c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Add converter from chunks to hintsMarco Bubke2015-05-296-3/+297
| | | | | Change-Id: Ie49c9ad890337d54183087e7edab8c7540180cd9 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Add printer to every fileMarco Bubke2015-05-2718-5/+70
| | | | | | | Otherwise the template definition is picked by the linker. Change-Id: I168afb8c78ba59f546d1ecda67345237632cb4c7 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* CodeModelBackEnd: Restart backend on QProcess::finishedNikolai Kosjar2015-05-273-5/+50
| | | | | Change-Id: Ib017f87cb4c470678ecb9e25b2b253c7a366b658 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* CodeModelBackEnd: Fix memory leak in SqliteTableNikolai Kosjar2015-05-262-0/+6
| | | | | Change-Id: Ic55de2a568dd506a6179621f8a2fd59db2f46839 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* CodeModelBackEnd: Fix memory leak in UnsavedFilesNikolai Kosjar2015-05-261-0/+1
| | | | | Change-Id: I043d9b13c61602fcca60b5d00b9d5e6f27cb5257 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* CodeModelBackEnd: Fix memory leak in ProjectPartNikolai Kosjar2015-05-261-1/+18
| | | | | Change-Id: I0fcb947eeaa8b5a953ec6bed5616baf31d78caad Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Move codemodelbackendipc source to project rootMarco Bubke2015-05-2261-73/+65
| | | | | Change-Id: I948c29489e4951ddf46ec936fa667056a7fc61f0 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Move sqlite source to the project rootMarco Bubke2015-05-2251-7/+56
| | | | | Change-Id: I24e81770dadda3a649b30689409b72e4e5b06283 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Add process id to connection nameMarco Bubke2015-05-217-19/+45
| | | | | Change-Id: Ia0bc74e55eec390fc660e0cad6d06a76658e6bbc Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Do not check for file existence if it hase unsaved contentMarco Bubke2015-05-215-6/+38
| | | | | | | In the case of UI files we have unsaved content but no file. Change-Id: I0f3a7618f8eb271a22bbc4aad83ab921113f5f0f Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Sleep in test to check if timer is advancedMarco Bubke2015-05-218-18/+24
| | | | | | | It can be happen that there is no time difference. Change-Id: I30e30e0f4dd92d4063340021070f86cf5a96b83a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Fix window path for echo serverMarco Bubke2015-05-213-2/+10
| | | | | Change-Id: I4adc49b5493632a9c2f8e1d3b487036088fc2ce3 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Fix test data path on windowsMarco Bubke2015-05-213-12/+5
| | | | | Change-Id: Id0d3e688fddf2de8ca7de2caa80d884ec2e86461 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* make test dir absoluteMarco Bubke2015-05-219-40/+37
| | | | | Change-Id: I0f1263edfac5a1fcc85596617a01cd314b1871e8 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Add codemodelbackend qbs fileMarco Bubke2015-05-212-0/+89
| | | | | Change-Id: I163607127afa636bdd334b00809c4e0f8e62d6e5 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Fix CodeModelBackEndIpc qbs fileMarco Bubke2015-05-211-63/+14
| | | | | Change-Id: I3c420bec4ec7b59b402286c8eadf8e5bed375d50 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Add qbs support for for codemodelbackend ipcMarco Bubke2015-05-212-0/+79
| | | | | Change-Id: I85cb48322be385e45167ea987c735c6886bab0be Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Sqlite qbs file is compilingMarco Bubke2015-05-211-6/+21
| | | | | Change-Id: I2374171d9ca676fbf99b546d7eabc78fd01973e8 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Requires that clang is presentMarco Bubke2015-05-212-0/+4
| | | | | Change-Id: Ieebdc757b2f7e9a9ffe397d9fc8fef9b98386ee5 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Add conversion operators for utf8 stringMarco Bubke2015-05-213-1/+42
| | | | | | | | There is not implicit constructor from QByteArray to prevent wrong conversion. Change-Id: Ie9b532e6630b069b9ef11d1b025f1c4cc97049e3 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* add include for ostreamMarco Bubke2015-05-2115-0/+30
| | | | | | | Under OS X it is not included in Qt. Change-Id: I69afcd5ac23088df99d9c313b45bf7b81614bc36 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* std::at_quick_exit don't exists under macMarco Bubke2015-05-211-1/+1
| | | | | Change-Id: Ie6867521819256c314b8df2489f7982d613cda16 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Add flags for compiling under OS XMarco Bubke2015-05-212-0/+4
| | | | | Change-Id: I175d27bd294364c87ae9554ca92773d924b41d08 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Fix include in projectpartMarco Bubke2015-05-211-1/+1
| | | | | Change-Id: I5b2b0dee4b5de1fdfe3bb0bba67068960f5fd1ae Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Remove already moved filesMarco Bubke2015-05-212-163/+0
| | | | | | | Fix compile Change-Id: I5aac31d786718c93e17a6fa26ff4b17556fdaa6e Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Remove -O2 from pro fileMarco Bubke2015-05-211-3/+0
| | | | | Change-Id: I8484edf09e83043e36666ad3e1689727f7d9a49e Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* fix echoserver windows pathMarco Bubke2015-05-211-0/+2
| | | | | Change-Id: I38e4f6ed4e4922af50906e5011ef59bd8a028e5f Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Rename test server to echo serverMarco Bubke2015-05-216-6/+7
| | | | | Change-Id: I8b3a963042930f7debf2a12cdde9421f4f820dbd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* improve namingMarco Bubke2015-05-2161-694/+686
| | | | | Change-Id: Idc81457549660ed23b5de1b7355b63c7450ee019 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* improve removal of translation units and projectsMarco Bubke2015-05-2111-35/+182
| | | | | Change-Id: I0f81cd3e9d0fdbecc1c0d082fc5b2cb9aa6645a4 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Compile fixNikolai Kosjar2015-05-081-1/+1
| | | | | Change-Id: Ib574f7041f3d2b401f431a26d99eca6eecf984f0 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* improve formattingMarco Bubke2015-05-071-0/+2
| | | | | Change-Id: Ie519d3e854e2c76f8a122fe61b59036bc22c5f13 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* Give local socket a better nameMarco Bubke2015-05-072-5/+5
| | | | | Change-Id: I428f09883e68942ac5d0b286ae4ebe92012aa0f5 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* Improve testing that projects not existsMarco Bubke2015-05-078-45/+41
| | | | | Change-Id: Id23b6e0e07b7a1d214fa670de5aea3e845632139 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* windows is compilingMarco Bubke2015-05-074-10/+12
| | | | | Change-Id: I58947e1f4e428bdc1394f0b58368eb07163b240c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* Add ticket numberMarco Bubke2015-05-078-23/+66
| | | | | Change-Id: If0413b4c3c60c10cd2b5804258a506440fe809f7 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* improve swapMarco Bubke2015-05-071-2/+4
| | | | | Change-Id: I195c8ec2d292175738b62a9df65491fad414cc91 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* use reference function instead of unionMarco Bubke2015-05-064-20/+34
| | | | | Change-Id: Ia6568ec922877a68b0ae0b6a55708bf4b98b4403 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* use chunkTextMarco Bubke2015-05-061-2/+1
| | | | | Change-Id: I7953c22bc4492d9522aad961172d57d85f72e5a4 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
* CodeModelBackEnd: Complete printers of ProjectContainerNikolai Kosjar2015-05-061-0/+4
| | | | | Change-Id: Id6e9bb3971c408783f2d58a309032bbb55b23cc9 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
* improve utf8 vector joinMarco Bubke2015-05-061-8/+5
| | | | | Change-Id: I4172386312337f1b76aa54d35e0cc541f88de722 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>