- 28 Jun, 2017 1 commit
-
-
Nikolai Kosjar authored
...otherwise an already destructed QTextDocument might be accessed in the ClangCodeModel::Internal::IpcReceiver::references. Task-number: QTCREATORBUG-18459 Change-Id: I1868b2fd3a64341794f83eea6c4eeb7c2c1af812 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
David Schulz <david.schulz@qt.io>
-
- 15 Jun, 2017 2 commits
-
-
Nikolai Kosjar authored
The called function uses already static state. Change-Id: I22c6cceea6c0c779c4b8ca94b74e0828e27b1f4e Reviewed-by:
Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
David Schulz authored
Change-Id: I7a720ce13741cb663628798078c74c98314905d7 Reviewed-by:
Christian Stenger <christian.stenger@qt.io>
-
- 14 Jun, 2017 2 commits
-
-
Ivan Donchevskii authored
Change-Id: Ic57f7f633b73abec26f1d6b9f62ff6d4612911ea Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
Nikolai Kosjar authored
Change-Id: I80ffe23cbcc84ab7323124581d9dd6afbe974fd0 Reviewed-by:
Marco Bubke <marco.bubke@qt.io>
-
- 13 Dec, 2016 2 commits
-
-
Nikolai Kosjar authored
Change-Id: I5d0db45d9fdb624bb6cc55d7f04061d553f13bce Reviewed-by:
David Schulz <david.schulz@qt.io>
-
Nikolai Kosjar authored
Change-Id: Ia7969ceb52ffb25e7c63b24bc33b091001e9b50a Reviewed-by:
David Schulz <david.schulz@qt.io>
-
- 23 Nov, 2016 1 commit
-
-
Nikolai Kosjar authored
In 99% of the time this is annoying. Change-Id: I14749eec6180472221193577aa14b1e396f34ba7 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
- 11 Oct, 2016 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I687c4a4eb8a7a8874fd88b4d3d6995535dade2c9 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
David Schulz <david.schulz@qt.io>
-
- 07 Oct, 2016 1 commit
-
-
Nikolai Kosjar authored
This addresses SOFT ASSERT made fatal: "m_connection.isConnected()" in file src/plugins/clangcodemodel/clangbackendipcintegration.cpp, line 230 I could not reproduce the issue locally, so I'm leaving the soft asserts untouched for now. Change-Id: If1d55ba7bc7e2d1ac20ad992c6d0d43ceb0f5d73 Reviewed-by:
Christian Kandeler <christian.kandeler@qt.io>
-
- 14 Sep, 2016 1 commit
-
-
Nikolai Kosjar authored
* Extract common stuff into the base class ClangException * Remove unused exceptions TranslationUnitParseErrorException and TranslationUnitReparseErrorException * Do not send error messages to the Qt Creator side. The messages were only generated when the backend crashed and while it was not yet fully re-initialized (e.g. do code completion right after crash where the document was not yet registered at the backend). Change-Id: I91d98d5ef681ad487f7a2fd66f78fa7cd1e958df Reviewed-by:
David Schulz <david.schulz@qt.io>
-
- 13 Sep, 2016 1 commit
-
-
Nikolai Kosjar authored
Change-Id: Ia95aface60d6f00db5e38d28fc3bf2a3fd7d4406 Reviewed-by:
David Schulz <david.schulz@qt.io>
-
- 18 Jul, 2016 1 commit
-
-
Nikolai Kosjar authored
The messages RequestDiagnosticsMessage RequestHighlightingMessage and DiagnosticsChangedMessage HighlightingChangedMessage are always send/received together, so merge them into RequestDocumentAnnotationsMessage DocumentAnnotationsChangedMessage Change-Id: I6a0b6281ed1e6efe6cb18386afe99b1d1fb58abf Reviewed-by:
Marco Bubke <marco.bubke@qt.io> Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
-
- 12 Jul, 2016 2 commits
-
-
Marco Bubke authored
We want to reuse the connection client in other plugins. This is the first step, the next step is refactoring the IPC mechanismn and move it up to the IpcServer- and IpcClientInterface. Change-Id: I6eb6db1e9bc18232c8df350a6303afd2edc68da8 Reviewed-by:
Tim Jenssen <tim.jenssen@theqtcompany.com>
-
Nikolai Kosjar authored
Change-Id: Iaa01a68b161efc80e69ee671c62e2e5b007ae0f6 Reviewed-by:
Tim Jenssen <tim.jenssen@theqtcompany.com>
-
- 30 Jun, 2016 1 commit
-
-
Marco Bubke authored
We want to share more functionality of the IPC mechanism and for what we need more interface classes. But we use this names already for the ClangCodeModel implementation. So we rename the them to ClangCodeModel*. Change-Id: Ie320e0d3b993586a9bcc6a5aa0d32427af41202e Reviewed-by:
Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@qt.io>
-
- 30 Mar, 2016 1 commit
-
-
hjk authored
Kudos to cgmb and https://github.com/cgmb/guardonce Change-Id: Ifa8970734b8d43fd08c9260c645bdb0228633791 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
- 19 Jan, 2016 1 commit
-
-
Tobias Hunger authored
* Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
- 13 Jan, 2016 1 commit
-
-
Marco Bubke authored
Change-Id: Ida0e8552d371972c141cf561b28667f4428c6fff Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 02 Dec, 2015 2 commits
-
-
Nikolai Kosjar authored
The translation unit was updated, but not re-registered. Handle the editor documents this way: 1. Reset all ClangEditorDocumentProcessors (this will send an unregister message, but that's not problematic). 2. For the visible editor documents, run their processors so that the translation units will be re-registered. 3. For the invisible editor documents, mark them dirty. Once the user makes an invisible document visible again, the processor will run and also re-register the translation unit. Change-Id: I23693ac197bd34a183f3a0020eb5372268636599 Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
Marco Bubke authored
If we send already a completion we should test if there is already one sent for the same position. Change-Id: Ie88f89bff0e1da1c5e747827a45154c7ccaecabc Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com> Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 01 Dec, 2015 1 commit
-
-
Marco Bubke authored
We reparse first the current and then the visible translation units before we reparse all other units. The signals connections are queued to wait for the visible editor update. Change-Id: I5e2b8bc80568450268ca24e26720b3f5af640995 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 30 Nov, 2015 1 commit
-
-
Nikolai Kosjar authored
Most of the time, the updated diagnostics/highlightings will be send by the backend on translation unit update. The other use case is changing the font settings (e.g. color), here we need to request the highlightings explicitly. Change-Id: I17a574eaf972c8bef12900241e7b33fe6ffd9dbd Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 26 Nov, 2015 1 commit
-
-
Marco Bubke authored
Change-Id: I2c3fb69aabfe075bde76d63eafc2ca370f17493c Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 09 Nov, 2015 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I1dfbb32246798a402a1efe18529e95d6199ba942 Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- 06 Nov, 2015 1 commit
-
-
Nikolai Kosjar authored
Change-Id: Ic81768748bb998d73906dcfc599a52f8c363f5b8 Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- 13 Oct, 2015 1 commit
-
-
Marco Bubke authored
If an editor is changing all translation units independent of their project part they must be updated too. So we introduce a new message to update all translation units with the same file path. Change-Id: I70d0ea2bbca9fa880111ff7219573e54f3277026 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 12 Oct, 2015 1 commit
-
-
Marco Bubke authored
Diagnostics should be not computed after a file change but after creator is requesting them. Now we wait for the dialog if the file should be reloaded. Change-Id: Id0d51874b95e0f8743002a91511d07e0ed47ecdc Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 30 Sep, 2015 2 commits
-
-
Nikolai Kosjar authored
Change-Id: I6f3dd4cb41f52df440ce9d133cc199f6c66b742c Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
Marco Bubke authored
If a file is reloaded it should update every translation unit. Change-Id: Ib61d933e95fcd9fe4d32363ddc06f5edcca55e35 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 28 Sep, 2015 1 commit
-
-
Marco Bubke authored
Reparsing a document is expensive so we should avoid it by all means. In this patch we prevent that the same document is send again. It isn't send too in advance of a code completion if there was no changes before the the completion position. Change-Id: I0bb786ba1d4e7ce08611a518cb32f8cf8f4d0037 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 21 Sep, 2015 1 commit
-
-
Marco Bubke authored
registerCurrentUnsavedFiles was misleading. Change-Id: I5a2444d81d141ced4b8a0fae7236484c9e919d8d Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 31 Aug, 2015 4 commits
-
-
Marco Bubke authored
We have auto generated buffers from ui files which are not open but have no file representation. So we need to provide them as unsaved files only. Change-Id: I48a426c18e06eeda2fa707864f32f293e17ac651 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
It reflects that the translation units and projects have a tied relationship with an editor. Change-Id: I3c01d5776980fe079af1fdef82feded83fdf5463 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Includes are now watched by a file watcher. Unsaved file changes are watched too. If they are changed the translation units which depend on them are set to a state which require a reparse. Later the diagnostics of this units are collected and send back to creator. Change-Id: I2fb5c7dd6644687f22399edd8d18edd6215c9505 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Diagnostics are now moved to the clang backend process. Fixits are supported too. Change-Id: I20faacf466bbf78dec479220c3d7b336a47bc453 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 25 Aug, 2015 1 commit
-
-
Marco Bubke authored
Change-Id: I1e2671d15b0db3c670b86dd0d4bed5ee09e866f1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 20 Jul, 2015 1 commit
-
-
Nikolai Kosjar authored
File paths are not unique since e.g. each qbs group in a file is mapped to a project part. Change-Id: I7df3f224dd23046b869f2588b8a34eb26cfc0b1a Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 14 Jul, 2015 1 commit
-
-
Nikolai Kosjar authored
...on shutdown. Now the slot will be disconnected on destruction. Change-Id: Ie511bf5400c41eee3245879ea355293e7bb5c7cd Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 16 Jun, 2015 1 commit
-
-
Marco Bubke authored
Change-Id: I13e8a458634110456375956d4d4da7239c86957f Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-