- 16 Apr, 2013 1 commit
-
-
Erik Verbruggen authored
System headers and other file which are not explicitly mentioned in the project must be reparsed when the project changes. Task-number: QTCREATORBUG-9056 Change-Id: I32f1206d241a078a4d9b15fac5813f365a1ba303 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 03 Apr, 2013 1 commit
-
-
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>
-
- 20 Mar, 2013 1 commit
-
-
Friedemann Kleint authored
Change-Id: Ied32236a84d20225b1ca4a192f3a346fbfbd09b4 Reviewed-by:
hjk <hjk121@nokiamail.com>
-
- 19 Feb, 2013 1 commit
-
-
Erik Verbruggen authored
Change-Id: I5636039c79be40505c707f775b228bc51f35c243 Reviewed-by:
Nikolai Kosjar <nikolai.kosjar@digia.com>
-
- 29 Jan, 2013 1 commit
-
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 24 Jan, 2013 1 commit
-
-
Nikolai Kosjar authored
For a given AST, CppRefactoringFile and Overview this will create a ChangeSet for rewriting the pointer or reference declaration according to the Overview. Task-number: QTCREATORBUG-6169 Change-Id: If6f824c1ea5e9f53a11a58ec8b6d696d01f0723e Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 08 Jan, 2013 1 commit
-
-
Orgad Shaneh authored
#!/usr/bin/env ruby Dir.glob('**/*.cpp') { |file| # skip ast (excluding paste, astpath, and canv'ast'imer) next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i s = File.read(file) next if s.include?('qlalr') orig = s.dup s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m| res = $& if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces res else res.gsub!('} else', 'else') res.gsub!(/\n +} *\n/m, "\n") res.gsub(/ *{$/, '') end } s.gsub!(/ *$/, '') File.open(file, 'wb').write(s) if s != orig } Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc Reviewed-by:
hjk <qthjk@ovi.com>
-
- 20 Dec, 2012 1 commit
-
-
hjk authored
Change-Id: I638fe4291d6b682864d0a0c3938ad0066e060a3a Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
- 15 Oct, 2012 2 commits
-
-
Erik Verbruggen authored
Change-Id: I43b1d5b72c9bf7302e0acb9206c87152e4f0727b Reviewed-by:
Erik Verbruggen <erik.verbruggen@digia.com>
-
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>
-
- 05 Oct, 2012 1 commit
-
-
hjk authored
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 06 Aug, 2012 1 commit
-
-
hjk authored
More uniform. Change-Id: I1c6057981f4c2b3170a4e69f0674fe4caf1143a2 Reviewed-by:
Robert Loehning <robert.loehning@nokia.com>
-
- 19 Jul, 2012 1 commit
-
-
Eike Ziller authored
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- 29 Mar, 2012 1 commit
-
-
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>
-
- 13 Mar, 2012 1 commit
-
-
Francois Ferrand authored
- Go to macro definition only on macro name (ie not in parameters). - Prefer macro definition over expanded code definition, as the preprocessor is executed first: when trying to go to definition, the user sees the macro, not the expanded code. Task-number: QTCREATORBUG-2240 Task-number: QTCREATORBUG-6175 Task-number: QTCREATORBUG-6848 Task-number: QTCREATORBUG-7008 Task-number: QTCREATORBUG-7009 Change-Id: I819c763524e79b20518c26a46a99a3a3b0a131bd Reviewed-by:
Andre Hartmann <aha_1980@gmx.de> Reviewed-by:
Orgad Shaneh <orgads@gmail.com> Reviewed-by:
Erik Verbruggen <erik.verbruggen@nokia.com>
-
- 15 Feb, 2012 1 commit
-
-
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>
-
- 26 Jan, 2012 1 commit
-
-
hjk authored
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 23 Jan, 2012 1 commit
-
-
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>
-
- 13 Jan, 2012 1 commit
-
-
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>
-
- 03 Nov, 2011 1 commit
-
-
hjk authored
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- 31 Oct, 2011 1 commit
-
-
Christian Kamm authored
That fixes navigation and the 'function signature update' quickfix for global functions and functions in namespaces. Task-number: QTCREATORBUG-6413 Change-Id: Ifc68a88a34eb363f4e84c72e9f72444d22df1086 Reviewed-by:
Leandro T. C. Melo <leandro.melo@nokia.com>
-
- 20 Sep, 2011 1 commit
-
-
Christian Kamm authored
In strict mode, don't give up after the first Document with candidates. Change-Id: I62ba59708a3501b31f79d979b1a85bede875eccb Reviewed-on: http://codereview.qt-project.org/5142 Reviewed-by:
Leandro T. C. Melo <leandro.melo@nokia.com>
-
- 08 Sep, 2011 1 commit
-
-
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>
-
- 31 Aug, 2011 1 commit
-
-
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>
-
- 25 Aug, 2011 1 commit
-
-
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>
-
- 24 Aug, 2011 1 commit
-
-
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>
-
- 16 Aug, 2011 2 commits
-
-
Christian Kamm authored
Change-Id: Id158be80c42056c145c2b787d4f569e2c0a0b66e Reviewed-on: http://codereview.qt.nokia.com/2932 Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Christian Kamm <christian.d.kamm@nokia.com>
-
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>
-
- 10 Aug, 2011 1 commit
-
-
Christian Kamm authored
The only Scope that set the end offset to *before* the last token was ObjCClassDeclaration. Change-Id: Icbdb5bcdd72d96087ac586ad51510fed74a633eb Reviewed-on: http://codereview.qt.nokia.com/2820 Reviewed-by:
Leandro T. C. Melo <leandro.melo@nokia.com>
-
- 06 May, 2011 1 commit
-
-
Tobias Hunger authored
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
-
- 13 Apr, 2011 1 commit
-
-
hjk authored
-
- 03 Mar, 2011 1 commit
-
-
Christian Kamm authored
Reviewed-by: Roberto Raggi Reviewed-by: Erik Verbruggen
-
- 12 Jan, 2011 2 commits
- 10 Jan, 2011 1 commit
-
-
Christian Kamm authored
There was trouble when a plugin qmlRegisterType'd something like 'Item' into the global default module. Reviewed-by: Roberto Raggi
-
- 06 Jan, 2011 1 commit
-
-
Christian Kamm authored
Reviewed-by: Erik Verbruggen
-
- 04 Jan, 2011 1 commit
-
-
Christian Kamm authored
Reviewed-by: Erik Verbruggen
-
- 17 Dec, 2010 1 commit
-
-
con authored
-
- 10 Dec, 2010 1 commit
-
-
Roberto Raggi authored
-
- 19 Nov, 2010 1 commit
-
-
Erik Verbruggen authored
Task-number: QTCREATORBUG-2313 Reviewed-by: Roberto Raggi
-