- 17 Nov, 2015 2 commits
-
-
Marco Bubke authored
Prepare the move of the semantic highlighting to the clang back end. We have it under tests too so it should be quite easy to make changes or corrections. Change-Id: I5706a8a06fde5a9ba2eba3a8ba62782102ac0bd3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Change-Id: I5619f157a8a251ad06f6ea63d310015d13eb4c9c Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 16 Nov, 2015 1 commit
-
-
Nikolai Kosjar authored
Change-Id: I9c258159d240c6ba7eeff34702d8512d9220b3af Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 06 Nov, 2015 3 commits
-
-
Nikolai Kosjar authored
...if qtc.clangbackend.verboselib=true. Change-Id: Ibba408db955892daf055b2050d810ce55b9d8913 Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
Nikolai Kosjar authored
Provide the language option (e.g. "-x c++-header") when registering a translation unit for the editor. Task-number: QTCREATORBUG-14787 Change-Id: Ie06f9fdab302f1b21ba72cdb65b6aabf9f7bc04c Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
Nikolai Kosjar authored
Apparently libclang might return invalid ranges. Now we discard the invalid ranges. Since there is a diagnostic location (in addition to ranges) the editor will still display an indication for the user. Task-number: QTCREATORBUG-15272 Change-Id: I351e136b9925a53fb2273a394e17873c5533798d Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-
- 14 Oct, 2015 1 commit
-
-
Nikolai Kosjar authored
...on editor open. Change-Id: I02eb7092facedef9be5bf7b523ad840ebf1ecca9 Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 13 Oct, 2015 2 commits
-
-
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>
-
Marco Bubke authored
Start the timer after a translation unit change and stop after every diagnostic is sent. We should decrease the interval as we are sending the diagnostics because otherwise the sending is delayed to much. If the file watcher is emitting a file change we should only react to changes of files which have no editor open. Change-Id: I5431b4bf6b4c0b825bfc74bb9c697bb2d198fa26 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 12 Oct, 2015 3 commits
-
-
Marco Bubke authored
If a file is deleted the translation unit should be not updated. It will be later removed anyway. Task-number: QTCREATORBUG-15070 Change-Id: I40c9c70629dab1d35b713d54442ffdbb2df3db43 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
We get in crashes in clang if we not check if the file exists. Change-Id: I78a20507db6403247c02f8c1e69cd872e3e8f774 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Change-Id: I010777926d868a9b644c83740c560e4998dbf285 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 01 Oct, 2015 2 commits
-
-
Nikolai Kosjar authored
Change-Id: I6e9f479023f0993df365b4e2f0d71539e962c278 Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
Nikolai Kosjar authored
Change-Id: I9167c016760fe1e8378cdf84144c4bed5cd4e57c Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 30 Sep, 2015 2 commits
-
-
Marco Bubke authored
Change-Id: I210bb19576cc1b7a6639487f868bcf20065c73b5 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
cxTranslationUnit() is starting a reparsing if it is needed so in the best case it is useless. But it can be maybe harmful if the translation unit isn't already created. Change-Id: Ie733edac58ab8f7eccb1611ca1554209f8aa8718 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 23 Sep, 2015 1 commit
-
-
Nikolai Kosjar authored
It is pointless and will generate error messages like clangbackend.stderr: QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory for renamed or removed files. Change-Id: I3ea14cc5f38526960d52ae7b41a270ef620a929c Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 04 Sep, 2015 1 commit
-
-
Nikolai Kosjar authored
Otherwise we will run into compile errors if the libclang dev package is not installed. Change-Id: I31c05d9d0e11154f1c3748e6736c143805d310e8 Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com>
-
- 03 Sep, 2015 3 commits
-
-
Marco Bubke authored
Change-Id: I783cc0b536f880ce736cddf530f0363691cd6e77 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
We have to revert it if the fix is going in. Change-Id: I28418e6c7cf6c40afdb5025eb1a52c13a0aa1302 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Change-Id: I73c432e5fe834ce199204c49b1e0afe43ae605ac Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 01 Sep, 2015 1 commit
-
-
Christian Stenger authored
Change-Id: I88d371a5997576bfd29aedc38353df9ea3a3faeb Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 31 Aug, 2015 11 commits
-
-
Marco Bubke authored
Change-Id: Ie43d922596423e0f7507f06bfec5be4e9f5f484a Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
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
Change-Id: Ibe8a3fa46bead6018a4279c3a270cb2535a7b296 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Otherwise we can stall the backend process. Change-Id: I854d117546ad08026be8a42854739cabad8b67fd Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
One mechanism for all diagnostic updates is better to maintain. Change-Id: I774577bfa343162ded362977a0727a12379d1eab Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Change-Id: I6065e51d38c262cf59d977c11c6453dec85a6dfe Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
The document is now always reparsed after a change. Change-Id: Iad1d9f78d98f75d5e873de35ac487a8dabc4fc4e 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
Change-Id: I5af23b6694d3d0bf45ed0a30b4d91b350f0515df 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 3 commits
-
-
Marco Bubke authored
Don't move if you assign to yourself. Change-Id: I33977fe34cc89849337c17c1ff418ff48d68e708 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Change-Id: I85243b6b041e639fb6313e2fb794a658ca456ea3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
Marco Bubke authored
Change-Id: I1e2671d15b0db3c670b86dd0d4bed5ee09e866f1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
-
- 13 Aug, 2015 1 commit
-
-
Nikolai Kosjar authored
We called delete[] on invalid data. Change-Id: I94147c80119e27b42c280fb527966602fc456f8b Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com>
-
- 04 Aug, 2015 1 commit
-
-
Nikolai Kosjar authored
...otherwise, if the compilation fails, the user is left without any hint. Change-Id: I753aefac0c9fbd24b148235e792fe3b3a2aea21b Reviewed-by:
Marco Bubke <marco.bubke@theqtcompany.com> Reviewed-by:
Christian Kandeler <christian.kandeler@theqtcompany.com>
-
- 30 Jul, 2015 1 commit
-
-
Nikolai Kosjar authored
...apparently they are enabled by default. Change-Id: I6bda380655050c62e124de451a8aefd440cf4b91 Reviewed-by:
Christian Stenger <christian.stenger@theqtcompany.com>
-
- 29 Jul, 2015 1 commit
-
-
Nikolai Kosjar authored
...by enabling the logging rule: qtc.clangbackend.timers=true Change-Id: I085c6bbebc0343b74bcb90119d1ebb80ad49518d Reviewed-by:
Erik Verbruggen <erik.verbruggen@theqtcompany.com>
-