- Apr 14, 2014
-
-
Nikolai Kosjar authored
...when collecting data for the semantic highlighting recalculation. Task-number: QTCREATORBUG-11037 Change-Id: Ibed73a2916df0a91aedef166de2c8c6bb5df309c Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Mar 17, 2014
-
-
Nikolai Kosjar authored
...so we can rehighlight if it's requested by the editor. This is e.g. necessary if the font size changes. Task-number: QTCREATORBUG-11502 Change-Id: I608921899fc37fcf1394db9ff041e6b378196bdd Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
...in order to be able to full-rehighlight on the next turn. The following sequence was problematic: 1. recalculateSemanticInfoDetached(true) * e.g. triggered by opening the document 2. recalculateSemanticInfoDetached(false) * e.g. triggered by moving the cursor * cancels 1. and leads to incompletely parsed/checked document - OK 3. startHighlighting() * triggered by 1.; starts highlighting on incomplete document - OK 4. startHighlighting() * gets a completely parsed/checked document - OK * not forced, so just compare revisions; they are the same, so skip/return - a partly highlighted document is left behind. Task-number: QTCREATORBUG-11367 Change-Id: Ic56e00e862ec4a1ffa197b2fc8b48be56a3562de Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Mar 13, 2014
-
-
Nikolai Kosjar authored
Change-Id: I24b6f6d698051d1ccfe3f0d83078c26d8de193fb Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Feb 06, 2014
-
-
Eike Ziller authored
For some reason it doesn't like signals with QFutures. Going back to pointers, but copying the future from there when it's used. Change-Id: I8dea0817b4e59ede6874ab8be01f22a92e7402a0 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Feb 05, 2014
-
-
Erik Verbruggen authored
The CPPEditorWidget retained two futures, as did the attached future watchers retained them too. Together, each future and the watcher held on to a complete snapshot that would only get released when another future was set. This could result into retaining old snapshots in editors that were invisible/unused for long. Change-Id: I1133e857c620437b4a69b9dad468f6bd458304b8 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Jan 14, 2014
-
-
Eike Ziller authored
Change-Id: Ic935a8971705cb3238deda71aa2b5d19e4f62593 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Jan 08, 2014
-
-
Robert Loehning authored
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- Nov 14, 2013
-
-
Nikolai Kosjar authored
The document was not always updated in time. Change-Id: Iac89985d39a8784e3cbf63dfd42b1c5150775068 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- Nov 12, 2013
-
-
Erik Verbruggen authored
- fix memory leak in find-usages - do not retain snapshot in search history - when an editor is invisible for more than 2 minutes, release the backing snapshot Retaining snapshots will retain their documents, and if done for too long, the memory consumption might grow. This is especially the case when switching to a different kit (Qt version): in that case, the new versions of headers will be indexed, while the old ones stay around. Task-number: QTCREATORBUG-5583 Task-number: QTCREATORBUG-7645 Task-number: QTCREATORBUG-9842 Change-Id: I045eda1565e0a3fa702baeffaab9c12662f90289 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Oct 01, 2013
-
-
Erik Verbruggen authored
If two files from different (sub-)projects include the same header file, and the defined macros differ for both files, the header file will be parsed with only the appropriate macros for the including file. Task-number: QTCREATORBUG-9802 Task-number: QTCREATORBUG-1249 Change-Id: I560490afa287b3bb1e863bce1bb4f57af36ad56e Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Sep 11, 2013
-
-
Erik Verbruggen authored
These not only take less space than UTF-16 encoded QStrings, but due to the caching in the CppEditorSupport also take less time to build. This patch also fixes a number of possible encoding issues, where files and constant strings were (falsely) assumed to be UTF-8. Change-Id: Ib6f91c9a94ebed5b5dfbd4eb2998825c62c72784 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- Sep 09, 2013
-
-
Erik Verbruggen authored
This is step 1 of 2 for merging the various provider factories into a single class. Merging has the advantage that selecting based on editor (content) mime-type only has to select one class, instead of re-doing the selection for each class separately. Change-Id: I11f815151bd4769ae6028b636793d6a80d02e202 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
Erik Verbruggen authored
And not from the global object pool. This way, the editors that have different highlighters for various language dialects, or editors that support multiple languages in a single editor, can decide themselves on what CompletionAssistProvider to provide. Change-Id: Ieebc4a8e7b3de6470fdb8103035aa3b8b2ba6598 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Aug 19, 2013
-
-
Erik Verbruggen authored
Change-Id: I38cc0e55348cac0245d2ab8f3e39c68de76e3e6d Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jun 24, 2013
-
-
Nikolai Kosjar authored
When a reloading operation was in progress, CppEditorSupport::contents() could return a partly reloaded file to the code model leading to parse errors and incomplete highlighting. Fixed by checking if the file is currently being reloaded. Task-number: QTCREATORBUG-9382 Change-Id: Iee97e10444763c0cbf481132afa4617c5cdbd15c Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- May 15, 2013
-
-
Erik Verbruggen authored
If the file type (mime type) of an editor changes, it might need a different kind of highlighter/highlighting-support. Change-Id: I470dbf69e71856c9593d201416c4d4bd2958aaec Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- May 07, 2013
-
-
Nikolai Kosjar authored
Now recalculateSemanticInfoNow is called only once instead of three times when a new editor is opened/created. Change-Id: Ife84fc9ca90cdbf2a417123e6a2b9e1e068dfdc4 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- May 02, 2013
-
-
Nikolai Kosjar authored
Also remove the introduced functions in CppEditorSupport. We can just wait until the document is "Full Checked" via Document::checkmode(). Change-Id: I31d23016f5aa5d3c37e8e05078436ab901bfb2d7 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 30, 2013
-
-
Nikolai Kosjar authored
Test cases are examples from Working Draft, Standard for Programming Language C++ Document Number: N3242=11-0012 Change-Id: I624c315943d6a00e821abb52eef6e0ff4a40f0d7 Reviewed-by:
Przemyslaw Gorszkowski <pgorszkowski@gmail.com> Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Apr 29, 2013
-
-
Orgad Shaneh authored
CppTools.lib(CppTools.dll) : error LNK2005: "public: virtual __thiscall QFutureInterface<class TextEditor::HighlightingResult>::~QFutureInterface<class TextEditor::HighlightingResult>(void)" (??1?$QFutureInterface@VHighlightingResult@TextEditor@@@@UAE@XZ) already defined in moc_cppeditor.obj Creating library ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.lib and object ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.exp..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.dll : fatal error LNK1169: one or more multiply defined symbols found Change-Id: Id53a0f8a99dbd18a9cbdf2af57b4f3970f5c41a3 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Apr 26, 2013
-
-
Erik Verbruggen authored
- Moved document update handling into CppTools. - Moved semantic info calculation into CppTools. - Moved semantic highlighting into CppTools. Change-Id: I253861bf074a64b1f657f7a4a8e6583871b5285f Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Apr 10, 2013
-
-
Friedemann Kleint authored
Ran script to remove inludes on a trial-and-error basis and manually corrected it. Change-Id: Ic8464ea084ca1ab401e9f4a7d0183b92b4038902 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 08, 2013
-
-
Tobias Hunger authored
There were quite a few classes using CPlusPlus namespace in the CppTools plugin. Rename them and do some other small namespace related coding style fixups. Change-Id: I093fc1f3fc394fd9923e3f18d5f66522e288f21d Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Apr 03, 2013
-
-
Oswald Buddenhagen authored
... and adjust INCLUDEPATH accordingly. while i'm at messing with include statements, also re-order the include blocks according to policy and sort them within bigger blocks. Change-Id: I7762abfd7c4ecf59432b99db2f424e4fa25733a5 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Feb 21, 2013
-
-
Tobias Hunger authored
Reduce the padding in some often-used structs for 64bit machines. 32bit machines should also profit from most changes, but to a lesser degree. Change-Id: Ic4c67b94e962731de4f31164c52a372d78944ccc Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com> Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-
- Jan 29, 2013
-
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- Oct 05, 2012
-
-
hjk authored
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Jul 19, 2012
-
-
Eike Ziller authored
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- Feb 20, 2012
-
-
Erik Verbruggen authored
Change-Id: I990fdf5411153041c6b4c62f31b453342d59de53 Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- Feb 15, 2012
-
-
Erik Verbruggen authored
Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- Feb 08, 2012
-
-
Erik Verbruggen authored
This way the editor does not need to know all the details of instantiating or maintaining classes for highlighting and/or completion, it can just ask the model manager. The change also enables different highlighting- or completion-engines without changes to the cppeditor. Change-Id: I8000d9d9fe446b292defddb2295493cf77d0f14a Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
- Jan 26, 2012
-
-
hjk authored
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- Nov 03, 2011
-
-
hjk authored
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- May 06, 2011
-
-
Tobias Hunger authored
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
-
- Apr 13, 2011
-
-
hjk authored
-
- Feb 04, 2011
-
-
hjk authored
We use the latter style everywhere else to signify the end of a namespace block.
-
- Jan 12, 2011
- Dec 17, 2010
-
-
con authored
-