- Dec 04, 2013
-
-
jkobus authored
Change-Id: I9f8681a8d975558e5e8626566df73ac8438c4cef Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com>
-
Erik Verbruggen authored
Possible when the highlighter does not need semantic info to run, and is started through onDocumentUpdated() and updateDocumentNow(). Change-Id: I720299730213ac196143a273fb60cee8e43111f1 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Dec 03, 2013
-
-
Nikolai Kosjar authored
This takes too much memory. For qtcreator.pro the numbers are as follows: Patch applied: ~ 1600MB (RES) Patch reverted: ~ 510MB (RES) This reverts commit 4c2daa90. Task-number: QTCREATORBUG-10973 Change-Id: I843bd7c1ea4a26a1ec55ddc14c2a34a98d040922 Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Robert Loehning <robert.loehning@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Dec 02, 2013
-
-
Tobias Hunger authored
Change-Id: Iaedd5eb2890d19761c342d248e600b50e43be979 Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- Nov 29, 2013
-
-
Nikolai Kosjar authored
This adds definitions for the macros __FILE__, __LINE__, __DATE__ and __TIME__ on demand. As a side effect, this also introduces highlighting for the uses of these macros. Task-number: QTCREATORBUG-8036 Change-Id: Ib7546c7d45d2eecbc50c7883fc684e3497154405 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- Nov 25, 2013
-
-
Nikolai Kosjar authored
So far revisions for AbstractEditorSupport were not needed because until recently we only had a single snapshot ("global snapshot"). Now, since editor snapshots are introduced, we need to make sure to update the corresponding documents in these snapshots, too. To do this efficiently, a revision is introduced for AbstractEditorSupport. Task-number: QTCREATORBUG-10894 Change-Id: Ibad1dbbafb7c721d1328959c1e903345fe465326 Reviewed-by:
Christian Stenger <christian.stenger@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Nov 22, 2013
-
-
Przemyslaw Gorszkowski authored
Example: namespace NS { struct S { int member; void fun(); }; } using NS::S; void S::fun() { mem// ctrl+space } Task-number: QTCREATORBUG-9037 Change-Id: I5a568be1b5c44deb02caa04996167a88a9c5d4d7 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Nov 20, 2013
-
-
Nikolai Kosjar authored
We need to wait for the document parser, otherwise the CppModelManager object might get destroyed first and will be referenced later in CppEditorSupport::parse(). Change-Id: I1b591640c1da3e63e49ac0b4b8af41aae31b3d43 Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Nov 19, 2013
-
-
Nikolai Kosjar authored
If parse() is called in another thread the CppToolsEditorSupport might be already destructed. Task-number: QTCREATORBUG-10548 Change-Id: Ie4215937eb1847b51bce8b080aca4925c0bee39f Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Nov 18, 2013
-
-
Nikolai Kosjar authored
...for reading not already opened files. This partly reverts commit f7c68f6b. In case TextFileFormat::detect() fails, the user configurable editor manager's codec is used instead of QTextCodec::codecForLocale(). Adds also a qWarning() to easier detect encoding errors. Task-number: QTCREATORBUG-10378 Change-Id: I0fa4e6b898ed090d85414ce2a001f11b115a42d3 Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Nov 14, 2013
-
-
Nikolai Kosjar authored
Since commit 566be099 we might reparse the current document if the current editor changes. This is fine as long as the current document has a file path, which is not always true, especially for the documents created in the FakeVim tests. Task-number: QTCREATORBUG-10767 Change-Id: Ibe00ef8bb6a144e2ba09b311025d238c2dcde112 Reviewed-by:
Christian Stenger <christian.stenger@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com>
-
Nikolai Kosjar authored
The document was not always updated in time. Change-Id: Iac89985d39a8784e3cbf63dfd42b1c5150775068 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
Orgad Shaneh authored
Change-Id: I8413252c90a1487d291f15d92837c30ab697b245 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- Nov 13, 2013
-
-
Knut Petter Svendsen authored
Change-Id: Ie047782cde63bd64b6a52747ee2cd7d4fc102b88 Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Nov 12, 2013
-
-
Nikolai Kosjar authored
Change-Id: Ifbc2adeff83cbef9841da872e15a5b9dd8379a3d Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Depending files of the file the base class is defined in were look up for *all* the derived classes. With this change, only the relevant files for the 'current' base class are looked up. Tested with qtbase.pro via Ctrl+T on the QObject definition. - Without this patch: ~60s - With this patch: ~40s Change-Id: Ia947f1a4f7d242a0cb81e42d0ef2afab2db70a7f Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I7a82f2b22105d4e096fc0bd69679adacdde2c731 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
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 29, 2013
-
-
Nikolai Kosjar authored
This static function got moved into a base class. Change-Id: I0b72f324bd52421388c7566dc4fd115a9b27ea7f Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Oct 24, 2013
-
-
Orgad Shaneh authored
Denoise usages get{Short|Long}PathName are now static. They're not used anywhere except in normalizePathName. Change-Id: Ief277b6d828faadd98ec7faa39dd682bfaa8805f Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
hjk <hjk121@nokiamail.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Oct 23, 2013
-
-
Erik Verbruggen authored
Task-number: QTCREATORBUG-10280 Change-Id: Ibc6ffeedb97a31a35a2d1f00625506f844692e16 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Oct 22, 2013
-
-
Nikolai Kosjar authored
... when invoked on a macro that is defined inside that dialog. Change-Id: I419c6675d70cfb8dd174f6a33f502b4c584baa3a Reviewed-by:
David Schulz <david.schulz@digia.com>
-
- Oct 18, 2013
-
-
Nikolai Kosjar authored
This reverts commit 5be56c07 except for its tests. While it fixed the problem described in the bug report, it also introduced regressions. For now, we use a hard limit. Change-Id: I19a85be454e3d7969371707e3eb1c3d42a16ecee Reviewed-by:
Przemyslaw Gorszkowski <pgorszkowski@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Eike Ziller authored
The snapshots at the moment of search were held as long as the corresponding search result panel was kept, to allow mapping of the old symbol to the corresponding symbol in the new snapshot. Now we just save the file name and ID of the old symbol. Change-Id: Iaf3c9ca27ec2b788f142bd0dd6b86e34e66d5c8b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 17, 2013
-
-
Przemyslaw Gorszkowski authored
This is the first phase of fixing bug QTCREATORBUG-10320. This change resolves typedefs of template parameters(and resolves problem with endless loop). The next step will be matching appropriate template specialization (this is needed to solve problem with missing code completion). Missing matching: template specialization with the same parameters, e.g.: template <class T1, class T2, class T3> class T { }; template <class T1, class T2> class T<T1, T2, T2> { }; Task-number: QTCREATORBUG-10320 Change-Id: Icb6b539c021b2a67a66db9011a2e627f7d96526b Reviewed-by:
Przemyslaw Gorszkowski <pgorszkowski@gmail.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Oct 15, 2013
-
-
hjk authored
Change-Id: I4e2df6992b446adec662ab07671acd41715e41fd Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Oct 14, 2013
-
-
hjk authored
Change-Id: Ie210d2a068158c6caaac66aae58cbd886f61c18d Reviewed-by:
Tobias Hunger <tobias.hunger@digia.com>
-
- Oct 10, 2013
-
-
Nikolai Kosjar authored
Only methods as programming functions are affected. Besides renaming some actions like "Switch Between Function Declaration/Definition" this mostly touches (api) code comments. This is a follow-up patch to commit 872bfb70. Change-Id: Icb65e8d73b59a022f8885b14df497169543a3b92 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- Oct 09, 2013
-
-
Christian Kandeler authored
Change-Id: I396d970fafea1fd0b4c4d73883796662a1d0064b Reviewed-by:
Joerg Bornemann <joerg.bornemann@digia.com>
-
Nikolai Kosjar authored
The project that was referenced at cppeditor.cpp:711 was already deleted. CppModelManager::m_fileToProjectParts contained outdated information. Now it is updated if a project is closed. Exposed by commit d411c076. Change-Id: I6fee93a02c72a045dd44a05723ab39a1eeec616e Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Task-number: QTCREATORBUG-10282 Change-Id: Ia58359f774c72260956caecd5f63d44b612d1451 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 08, 2013
-
-
Orgad Shaneh authored
Deleting an editor while currentEditorChanged is apparently not a good idea. Use a queued connection instead. This reverts commits 243a6259 and d9602ca5. Task-number: QTCREATORBUG-10190 Task-number: QTCREATORBUG-10235 Change-Id: Iccbee25fb77714963faa6f7184d1f5f53ed348a6 Reviewed-by:
Eike Ziller <eike.ziller@digia.com> Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com> Reviewed-by:
Jarek Kobus <jaroslaw.kobus@digia.com>
-
Orgad Shaneh authored
Deleting an editor while currentEditorChanged is apparently not a good idea. Use a queued connection instead. This reverts commits 243a6259, 447c4ed3, d9602ca5 and 31034870. Change-Id: Iccbee25fb77714963faa6f7184d1f5f53ed348a6 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com> Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Oct 07, 2013
-
-
Nikolai Kosjar authored
The new names are: * C++ Methods in Current Document -> C++ Symbols in Current Document * C++ Classes and Methods -> C++ Classes, Enums and Functions * C++ Methods and Functions -> C++ Functions Further notes: * "C++ Classes" stays the same. * The term "Methods" was removed since "Functions" says it all (member functions, non-member functions). Because of this, the "m" shortcut for this filter does not fit so well to the name anymore. * "C++ Symbols in..." - "Symbols" means the same as in the C++ Search dialog: classes, enums, functions and declarations Change-Id: I8e5f410f2dcb1fafe83d0a1c8607f4c17eabbb8c Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com>
-
- Oct 06, 2013
-
-
Thiago Macieira authored
That is <algorithm>. Relying on indirect includes is bad, mmkay? Change-Id: I245885672004cd406f98c82231aaa38a5cfe464c Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- Oct 02, 2013
-
-
Oswald Buddenhagen authored
Change-Id: I1884f6e61dcae95817da10f0ead67f2df99b4ec7 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
Nikolai Kosjar authored
On duplication of an editor onMimeTypeChanged() of CppToolsEditorSupport was not triggered, thus not completion provider was set. Task-number: QTCREATORBUG-10284 Change-Id: Ia1da7f59b19e042f65b068a993f0d5c04b0778e0 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I371e986c9b41fec5cddf05e3f7849c5e0b9e6b69 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Regression introduced by commit 190fb448. Change-Id: Ibd47b6d316e5ae976fb448aad5062eb5887f10e6 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
Nikolai Kosjar authored
Change-Id: I76d5e421258eda85907e56762a59894ce7f84f13 Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-