Commit Graph

254 Commits

Author SHA1 Message Date
Roberto Raggi
37a146d05c Introduced revisions in CPlusPlus::Document.
Reviewed by Thorbjørn Lindeijer
2009-07-14 14:24:02 +02:00
Alessandro Portale
d3f9757916 Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
Roberto Raggi
a446e06742 Moved CheckUndefinedSymbols in libCPlusPlus 2009-07-13 11:41:12 +02:00
Roberto Raggi
780abd0d4b Store the document's revision used to compute the warning/error marks. 2009-07-10 13:57:55 +02:00
Thorbjørn Lindeijer
300b60fa98 Fixed warnings about unused variables 2009-07-10 11:52:12 +02:00
Roberto Raggi
85c501c976 Fixed possible crash when completing function-like arguments. 2009-07-09 16:20:20 +02:00
Roberto Raggi
43a957e6e3 Disabled the quick fix engine.
We don't really have any useful quickfix implemented so there's no reason
to waste time visiting the AST.
2009-07-07 17:06:11 +02:00
Roberto Raggi
45448ce5d5 Don't search for undefined types in ambiguous sizeof expressions. 2009-07-06 17:29:57 +02:00
Roberto Raggi
b261e78f35 Look at template-type parameters. 2009-07-06 13:44:29 +02:00
Thorbjørn Lindeijer
e51811657b No need to open file for reading when just writing to it 2009-06-29 14:30:43 +02:00
Erik Verbruggen
f84534287e Fixed mimetype check for Objective-C(++) files. 2009-06-29 11:32:43 +02:00
Roberto Raggi
fd8cd69a47 Introduced Document::CheckMode. 2009-06-26 09:11:14 +02:00
Friedemann Kleint
2f7b3e1257 Fix overwriting of new license header template. 2009-06-22 16:27:06 +02:00
Friedemann Kleint
696cfa0432 Add a license template setting to the CppTools settings.
Acked-by: con <qtc-committer@nokia.com>
2009-06-22 16:22:15 +02:00
Thorbjørn Lindeijer
1b168b686d Fixed colors of function argument hint with some palettes
Bad idea to hardcode the background color. Now using the style directly
to draw a fake tooltip as background for the function argument hint.

Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@nokia.com>
2009-06-22 14:14:05 +02:00
Roberto Raggi
9c038180d8 Improved compatibility with the gcc extensions. 2009-06-18 17:49:17 +02:00
Roberto Raggi
9a8e724f15 Don't search for undefined symbols in ambiguous typeof expressions. 2009-06-18 14:22:06 +02:00
Roberto Raggi
44aa96fcf5 Disable the undefined-type check for all the C-cast expressions. 2009-06-18 14:14:17 +02:00
Roberto Raggi
da6614ce6d Don't check for undefined symbols in ambiguous ast nodes. 2009-06-18 13:00:21 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
e2a0a4d7c5 Keep the original encoded text around while preprocessing. 2009-06-15 15:39:20 +02:00
Roberto Raggi
7d1bf1fe57 Merge branch '1.2' of git@scm.dev.nokia.troll.no:creator/mainline 2009-06-11 17:03:53 +02:00
Thorbjørn Lindeijer
0d8456a73e Some capitalization fixes 2009-06-11 15:14:40 +02:00
Roberto Raggi
d08b90b494 Merge branch '1.2' of git@scm.dev.nokia.troll.no:creator/mainline 2009-06-11 11:32:47 +02:00
Thorbjørn Lindeijer
0da4881c3e Made case-insensitive code completion really case-insensitive
There was still some "smartness" that made uppercase characters match
case-sensitive, regardless of the case-sensitivity setting. This annoyed
or at least confused many people who prefer case-insensitivity.

Reviewed-by: con
2009-06-10 16:25:59 +02:00
Roberto Raggi
ec769aeaf7 Search in the editor buffers. 2009-06-10 12:25:52 +02:00
dt
c91b9dd010 Compile
Case sensitive file system :)
2009-06-09 16:20:43 +02:00
Roberto Raggi
c44584b7ca Search the function calls 2009-06-09 15:56:45 +02:00
Roberto Raggi
31522c5599 Improved the semantic search for class declarations. 2009-06-09 15:39:50 +02:00
Roberto Raggi
769d6282bd Some work on rewriting conditionals. 2009-06-09 14:50:32 +02:00
Roberto Raggi
132258753a More work on `Quick Fix'. 2009-06-09 13:52:52 +02:00
con
b60cbecd72 Merge commit 'origin/1.2' 2009-06-08 10:04:55 +02:00
Thorbjørn Lindeijer
3a0db441e4 Show the filename of a symbol if it doesn't have additional type info
Helps with disambiguating global functions, for example.
2009-06-05 16:52:30 +02:00
con
f6ff04a7be Integrate merge-request #567 into branch 'master'
Christian Hoenig (1):
      Implement CppCurrentDocumentFilter for symbols in current document

Request-url: http://gitorious.org/qt-creator/qt-creator/merge_requests/567
Reviewed-by: con <qtc-committer@nokia.com>
2009-06-04 14:46:21 +02:00
Roberto Raggi
e80eaae787 Fixed the warn message. 2009-06-04 12:55:12 +02:00
Roberto Raggi
90efa0f174 Check nested name specifiers. 2009-06-04 12:18:05 +02:00
Roberto Raggi
45fb9726ab Add the type-template parameters. 2009-06-04 11:53:48 +02:00
Roberto Raggi
cd3022dc3e Show all the warn messages. 2009-06-04 11:42:02 +02:00
Roberto Raggi
f55d5500c5 Warn for undefined types (not finished yet). 2009-06-04 11:32:29 +02:00
con
57cd26548e Version bump also in master. 2009-06-04 11:00:28 +02:00
con
49f8a55533 Merge commit 'origin/1.2' 2009-06-04 10:59:01 +02:00
Oswald Buddenhagen
d2a8449bea ifdef Q_?S_* cleanup
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
Roberto Raggi
bb9ae8aa4f Check for missing Q_OBJECT macro. 2009-06-03 16:53:18 +02:00
Roberto Raggi
4bc6256942 cleanup 2009-06-03 16:29:49 +02:00
Roberto Raggi
d18b0195e5 Introduced CPlusPlus::FastPreprocessor. 2009-06-03 15:51:37 +02:00
Roberto Raggi
5134206e78 We need a valid name to resolve namespace symbols. 2009-06-03 15:46:36 +02:00
Roberto Raggi
a1c6efbd43 cleanup 2009-06-03 14:55:56 +02:00
Roberto Raggi
b78200221b Warn for undefined namespaces in using namespace directives. 2009-06-03 14:16:13 +02:00
Roberto Raggi
7b44f1749a Run the binding pass 2009-06-03 12:13:22 +02:00
con
2ac1f797ad Merge commit 'origin/1.2'
Conflicts:
	src/plugins/coreplugin/welcomemode.ui
2009-06-03 11:36:49 +02:00