- Feb 19, 2013
-
-
Erik Verbruggen authored
Change-Id: I5636039c79be40505c707f775b228bc51f35c243 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Jan 29, 2013
-
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- Jan 18, 2013
-
-
Erik Verbruggen authored
Track the typical #ifndef/#define/#endif usage in header files to see if the macro is an include guard. If so, store it in the Document. No behavioural change, just recording the name. This can be used in the future to track if a file needs to be re-parsed when a macro changes: if it was used in the file, and not defined in it nor being the include-guard, a file should be re-preprocessed and re-parsed. It can also be used to check if two files have the same include guard. Change-Id: I2715f529997a7b24a11bdbc6150652e2669f1a46 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- Oct 15, 2012
-
-
Erik Verbruggen authored
Record revisions of documents in macro definitions and usages. Then, when searching for usages, check the revision of the documents against the revision of the macros. If they are out-of-sync, repreprocess the documents to get up-to-date info. Task-number: QTCREATORBUG-7872 Change-Id: I846bb52ec660024728ab117a9fb7e43382a50e63 Reviewed-by:
Christian Stenger <christian.stenger@digia.com>
-
- Oct 05, 2012
-
-
hjk authored
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- Jul 23, 2012
-
-
Christian Kamm authored
Change-Id: I03f907dd0e8d9d63f0dfd38499c98296b5c7871a Reviewed-by:
Christian Kamm <christian.d.kamm@nokia.com>
-
- Jul 19, 2012
-
-
Eike Ziller authored
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- Jun 05, 2012
-
-
Francois Ferrand authored
- Highlight all function/methods (not just virtual methods). - Highlight as a function even if number of arguments does not match. In that case, add a diagnostic message to indicate there are too many/too few arguments. - Fix highlighting of parameters in function declarations. These used to be handled indiferently, and they could be mistaken for type or field references. - Properly highlight template method calls. Change-Id: I6e61c9ee47763db95c62314f9cc1c4d398df38b3 Reviewed-by:
Leandro Melo <leandro.melo@nokia.com>
-
- Mar 29, 2012
-
-
Erik Verbruggen authored
This rewrite fixes a couple of issues with the pre-processor. It now supports: - macros in macro bodies - stringification of parameters [cpp.stringize] - the concatenation operator [cpp.concat] - #include MACRO_HERE - defined() inside macro bodies used in pp-conditions. Change-Id: Ifdb78041fb6afadf44f939a4bd66ce2832b8601f Reviewed-by:
Roberto Raggi <roberto.raggi@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>
-
- Jan 26, 2012
-
-
hjk authored
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- Jan 23, 2012
-
-
Leandro Melo authored
This patch introduces a priority-based mechanism when searching for certains symbols in the snapshot. The priority corresponds to how similar the file path from the "reference" symbol is to the file path from the "candidate" symbol. This solves a variety of issues when matching "equivalent" symbols but that are in another file/project, such as when following a function declaration, a forward class declaration, or adding a definition through a quickfix. There's now a symbol finder which will compute the "best" search order and cache the most recent results. A consequence is that following symbols in some cases is slower, but not apparently significatly. Note: The "find" functions were moved from the Snapshot to the new SymbolFinder class. Task-number: QTCREATORBUG-6697 Task-number: QTCREATORBUG-6792 Change-Id: Ia518f014275fec1f4d0cb3224bd4e06a9df6d557 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- Jan 13, 2012
-
-
Leandro Melo authored
Continuinng a previous commit... This is in order to make the interface clearer. Change-Id: Ic1b05217f878578bc84a064927507b75981c47d6 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- Nov 03, 2011
-
-
hjk authored
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- Sep 08, 2011
-
-
Christian Kamm authored
Task-number: QTCREATORBUG-3199 Change-Id: I591490ceafadc0f5a07c63ec063f1bdfa7055f47 Reviewed-on: http://codereview.qt-project.org/4074 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@nokia.com>
-
- Aug 31, 2011
-
-
Leandro Melo authored
This is now necessary due to the recent change that added the non-inline operator==. Change-Id: I62255ddeb09f1e312a802db9733575e73ea56478 Reviewed-on: http://codereview.qt.nokia.com/3928 Reviewed-by:
Christian Kamm <christian.d.kamm@nokia.com>
-
Christian Kamm authored
Setting extra diagnostics would call updateDocument which would in turn trigger another scan. Change-Id: I3810a380cdf716a12767d94ff82dc30f8ae3954d Reviewed-on: http://codereview.qt.nokia.com/3917 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by:
Leandro T. C. Melo <leandro.melo@nokia.com>
-
- Aug 25, 2011
-
-
Christian Kamm authored
Contrary to StringLiterals, keeping them around is unnecessary. Change-Id: Idc1967c125e1373e69ce4c7640328d323a84ec14 Reviewed-on: http://codereview.qt.nokia.com/3395 Reviewed-by:
Roberto Raggi <roberto.raggi@nokia.com>
-
- Aug 24, 2011
-
-
Christian Kamm authored
It now lives in qmljstools/qmljsfindexportedcpptypes, all in one place. Also ensures that the source code is available when a file is being scanned for QML exports. This will enable checking comments for annotations about the URI a plugin is usually imported as. Change-Id: I1da36d0678e0a8d34b171dbe0f6b5690d89eb18b Reviewed-on: http://codereview.qt.nokia.com/3392 Reviewed-by:
Fawzi Mohamed <fawzi.mohamed@nokia.com>
-
- Aug 16, 2011
-
-
Christian Kamm authored
When editing a function declaration or definition the code model may realize the same changes have to be applied somewhere else. A refactoring marker will pop up that can be clicked to perform the changes. Alternatively, press enter to apply. Change-Id: I2299a2ecfb6a8f87d4853fc7cfa99486f890a1d3 Reviewed-on: http://codereview.qt.nokia.com/2909 Reviewed-by:
Leandro T. C. Melo <leandro.melo@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
- Jan 04, 2011
-
-
Christian Kamm authored
Reviewed-by: Erik Verbruggen
-
- Dec 17, 2010
-
-
con authored
-
- Aug 17, 2010
-
-
Roberto Raggi authored
That is, we don't look at the column position anymore when searching the function under cursor.
-
Roberto Raggi authored
-
- Aug 11, 2010
-
-
Roberto Raggi authored
-
- Jun 16, 2010
-
-
Christian Kamm authored
If it encounters a forward declaration, it tries to find the class declaration globally now. Task-number: QTCREATORBUG-20
-
- May 28, 2010
-
-
Roberto Raggi authored
-
- May 25, 2010
-
-
Roberto Raggi authored
-
- May 17, 2010
-
-
Roberto Raggi authored
-
- May 14, 2010
-
-
Roberto Raggi authored
-
- May 11, 2010
-
-
Roberto Raggi authored
-
Roberto Raggi authored
-
- Mar 18, 2010
-
-
Roberto Raggi authored
-
- Mar 17, 2010
-
-
Erik Verbruggen authored
-
- Mar 05, 2010
-
-
hjk authored
-