Commit Graph

333 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
9b3dd396be Merge branch '1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
2010-02-04 15:09:05 +01:00
Erik Verbruggen
cdd8ac099d Renamed method. 2010-02-04 10:59:23 +01:00
Roquette
32199de9d9 Added semicolon after } when creating unnamed enumeration
Task-number: QTCREATORBUG-643
Merge-request: 109
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-02-01 15:07:18 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
Erik Verbruggen
b7cbc9b0c1 Removed methods which always returned a constant (false). 2010-01-28 17:05:26 +01:00
Erik Verbruggen
0fdf02ab4d Changed binary expression parsing to use precedence parsing. 2010-01-28 15:22:50 +01:00
Erik Verbruggen
ff910fd757 Added "@property" to the outline entries for ObjC properties. 2010-01-22 13:24:06 +01:00
Wolfgang Beck
4b33881729 Merge ichecker branch changes into the mainline. New project can be found under src/tools/ICheck 2010-01-19 15:26:08 +10:00
Erik Verbruggen
2dc221d76d Prefer ObjC classes/protocols when searching for a canonical symbol. 2010-01-11 09:29:38 +01:00
Tobias Hunger
87b96a7520 Add missing include. 2010-01-08 16:12:40 +01:00
Tobias Hunger
df2a2dc118 Small inclusion fixes.
* Remove duplicate headers.
 * Move own headers to the top.

Reviewed-by: Roberto Raggi
2010-01-08 15:48:32 +01:00
Roberto Raggi
bcfb9d2385 Removed stray & character. 2010-01-08 14:58:21 +01:00
Tobias Hunger
a22e64a093 Fix typo in comment. 2010-01-08 11:43:45 +01:00
Thorbjørn Lindeijer
97eabc2916 Merge branch '1.3' 2010-01-06 14:46:22 +01:00
Roberto Raggi
d510aaa029 Fixed problem with nested templates in function declaration completion
Wasn't using a space to separate the closing angular brackets.

Task-number: QTCREATORBUG-547
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-01-06 14:29:51 +01:00
Roberto Raggi
0fdb3bebee Fixed crash when completing symbols without a valid context.
Task-number: QTCREATORBUG-534
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2010-01-06 12:32:29 +01:00
Christian Kamm
b3d3089955 Fix two small bugs in TypePrettyPrinter.
- unsigned* was printed as unsigned
- Type **name was printed as Type**name
2009-12-23 11:38:05 +01:00
Christian Kamm
c3cc7cf4d8 Enhance data stored for macros and macro uses.
In preparation for finding macro uses.

* Macro: add offset and length
* MacroUse: add line
* Document: add convenience functions for finding a macro definition, use
  or undefined use at a given location.

Reviewed-by: Erik Verbruggen
2009-12-21 14:57:05 +01:00
Roberto Raggi
599d4aa355 Fixed line/column position of the tokens after multiline string literals. 2009-12-17 16:06:35 +01:00
Roberto Raggi
51de95c497 Use the text editor revision to ignore outdated parse results. 2009-12-15 15:52:55 +01:00
con
7081a3d415 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/projectexplorer/outputwindow.cpp
2009-12-14 11:47:39 +01:00
Roberto Raggi
0be80466b8 Save/Restore the if-level. 2009-12-09 16:01:20 +01:00
Roberto Raggi
22d75c4c20 Fixed: Template argument marked as "not a type name" when defined as primitive type
Task-number: QTCREATORBUG-384
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-12-08 13:06:17 +01:00
Roberto Raggi
02c7336795 Expand the template parameters. 2009-12-08 12:38:27 +01:00
Roberto Raggi
5a0b7f8ec8 Added initializers to the formal arguments. 2009-12-08 11:35:34 +01:00
Thorbjørn Lindeijer
d20cdc64e3 Merge remote branch 'origin/1.3' 2009-12-08 11:26:05 +01:00
Roberto Raggi
4bbb9219e9 Fixed completion when a typedef symbol is used as class name
For example std::string, which is a typedef of std::basic_string.

Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-12-08 11:09:11 +01:00
Thorbjørn Lindeijer
9839dea6bc Fixed autoindent when using tabs instead of spaces
Several special cases that are handled by the CPPEditor did not take
into account code that was using tab characters.

Task-number: QTCREATORBUG-292
Reviewed-by: Roberto Raggi
2009-12-08 11:09:11 +01:00
Roberto Raggi
55175c149c Fixed scope completion after a template-id. For example, when completing std::list<int>::i... 2009-12-07 15:33:08 +01:00
Roberto Raggi
a93b625697 Compile with msvc. 2009-12-07 13:00:56 +01:00
Roberto Raggi
69c9a06342 Removed the call to QDir::cleanPath. 2009-12-07 11:20:16 +01:00
Roberto Raggi
60caec48d1 Store the documents in an hash. 2009-12-07 11:12:55 +01:00
Roberto Raggi
14376c3c32 Initial work on the new CPlusPlus::Snapshot.
Encapsulate the details.
2009-12-07 10:54:27 +01:00
Roberto Raggi
aae5b92125 Use mappedReduce when searching for the usages of a symbol. 2009-12-04 13:04:47 +01:00
mae
c1120587a8 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/cppeditor/cppeditor.cpp
2009-12-03 18:41:21 +01:00
Christian Kamm
cc6c543a75 Compile fix for 42f849c4da.
Reviewed-by: Roberto Raggi
2009-12-03 16:05:53 +01:00
con
8b9c748abb Merge remote branch 'origin/1.3' 2009-12-03 15:15:08 +01:00
Roberto Raggi
42f849c4da Fixed line/column position after macro expansion.
Task-Number: QTCREATORBUG-409
2009-12-03 15:08:39 +01:00
Roberto Raggi
43df685c68 Removed useless arguments 2009-12-03 11:59:37 +01:00
Roberto Raggi
8741494f41 Rename dependsOn() in filesDepedingOn() and introduced Snapshot::dependencyTable(). 2009-12-02 17:07:10 +01:00
Roberto Raggi
d5c2dedd8a Save the usages. 2009-12-02 12:16:41 +01:00
Roberto Raggi
7c7ce13ac0 Use const names. 2009-12-01 12:46:23 +01:00
Roberto Raggi
fade61a8a9 Use const literals. 2009-12-01 11:46:36 +01:00
Roberto Raggi
527a9bd526 Inital support for Q_D/Q_Q declarations. 2009-11-30 17:07:22 +01:00
Oswald Buddenhagen
b0b5bde2e9 Merge remote branch 'origin/1.3'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/debugger/watchhandler.cpp
2009-11-27 20:06:01 +01:00
Thorbjørn Lindeijer
b02d705ac4 Fixed possible crash in the code completion
Null pointer reference in a case where the global namespace is
explicitly specified using ::

Task-number: QTCREATORBUG-351
Review-pending-by: Roberto Raggi
2009-11-26 16:36:39 +01:00
hjk
68160cfa8b compile fix with namespaced Qt 2009-11-20 16:54:09 +01:00
Roberto Raggi
ecf40d2426 Get rid off QPair<FullySpecifiedType, Symbol *>. Use LookupItem intead. 2009-11-17 14:24:09 +01:00
Roberto Raggi
5d7def6d2a Refactored the AST visitors.
Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
2009-11-17 13:30:39 +01:00