Commit Graph

145 Commits

Author SHA1 Message Date
Roberto Raggi
ed69c39906 More cleanup 2009-03-02 18:15:58 +01:00
Roberto Raggi
c4877cf641 oops! removed some useless debug statement. 2009-03-02 17:43:48 +01:00
Roberto Raggi
b74fcb7702 Cache the UTF-8 encoded contents of the text editors, and some cleanup in updateEditorSelections(). 2009-03-02 16:31:59 +01:00
Roberto Raggi
a8cfda0ddb Introduced CppTools::EditorSupport::contentsChanged(). 2009-03-02 16:31:59 +01:00
Oswald Buddenhagen
2593c7798e Merge commit 'origin/1.0.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/qt4projectmanager/qt4project.cpp
	src/tools/qpatch/qpatch.cpp
2009-03-02 12:28:01 +01:00
con
0be29685a3 Fixes: - New license, new website. 2009-02-27 15:09:44 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
hjk
84c82a669b Fixes: change license headers to LGPL 2009-02-25 09:02:17 +01:00
Oswald Buddenhagen
3fcb20d6bb Merge branch '1.0.0' into master-master
Conflicts:
	src/plugins/debugger/debugger.pro
	src/plugins/debugger/gdbengine.cpp
2009-02-24 15:15:39 +01:00
con
523f74e838 Fixes: - Updated version number 2009-02-24 12:29:27 +01:00
Roberto Raggi
0220b4519e Cleanup 2009-02-24 12:06:34 +01:00
Roberto Raggi
5b54d59d23 Cleanup the indexer, and remove to old sequential stuff. 2009-02-24 11:49:01 +01:00
Roberto Raggi
bfe36575b7 Introduced a parallel indexer. It is ifdef-out atm. 2009-02-24 11:04:52 +01:00
Roberto Raggi
e2079e3269 Look at the char at the left of \ or @. 2009-02-23 17:54:08 +01:00
Roberto Raggi
65ff19e7fa Postpone the update of the ifdefedOut blocks. 2009-02-23 17:49:03 +01:00
Roberto Raggi
fcf4d6fd14 Oops! we still need to create a Document::Ptr for the `unresolved' files. 2009-02-23 17:08:55 +01:00
Roberto Raggi
e330d96668 Better values for the progress bar. 2009-02-23 15:57:37 +01:00
Roberto Raggi
1c063f6953 Alternative implementation of the indexer. It is a little bit slower, but I'm going to make it faster.
Unfortunately the refactoring of the indexer is kind of necessary. I need to merge the new binding pass.
2009-02-23 12:49:56 +01:00
Roberto Raggi
c8bdd0bee4 Skip __complex__, __imag__ and __real__ 2009-02-23 11:48:26 +01:00
Roberto Raggi
48739839e4 Improved qdoc support. 2009-02-20 14:55:28 +01:00
Roberto Raggi
e67b2453c8 Added support for some qdoc tags. 2009-02-20 13:52:24 +01:00
Roberto Raggi
5f7ab722b0 Use the std keyword icon for doxygen tags. 2009-02-20 12:57:16 +01:00
Roberto Raggi
a976385b44 Code completion of doxygen tags. 2009-02-20 12:55:18 +01:00
Roberto Raggi
4c5ff047f0 Initial support for doxygen comments. 2009-02-20 11:52:27 +01:00
Roberto Raggi
5c791dc423 Some code to simplify the debugging of ASTs. 2009-02-18 16:02:01 +01:00
Roberto Raggi
0ef213dfdd Nicer implementation of ::completeScope() 2009-02-18 16:02:01 +01:00
hjk
f3141d99c4 Merge branch '1.0.0'
Conflicts:
	src/plugins/coreplugin/editormanager/stackededitorgroup.cpp
	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:56:18 +01:00
Thorbjørn Lindeijer
b32198d736 Fix size problems on reusing function argument widget
We now hide the parent QFrame while updating the label to work around
the problem where the it wouldn't shrink the widget.
2009-02-17 15:11:56 +01:00
Roberto Raggi
7044809139 Cleanup 2009-02-17 12:12:14 +01:00
Roberto Raggi
c2f61a76e1 Merge branch '1.0.0' of git@scm.dev.nokia.troll.no:creator/mainline 2009-02-17 11:52:56 +01:00
Roberto Raggi
c020250556 Fixes: Constructor completion. 2009-02-17 11:50:56 +01:00
Thorbjørn Lindeijer
a26bef5ff4 Ignore undefined macros in macro completion
Done with Roberto Raggi
2009-02-17 11:25:58 +01:00
Thorbjørn Lindeijer
3230017eaf Merge branch '1.0.0'
Conflicts:
	src/libs/cplusplus/Overview.h
	src/libs/cplusplus/TypePrettyPrinter.cpp
	src/plugins/cpptools/cppcodecompletion.cpp
2009-02-16 18:42:22 +01:00
Thorbjørn Lindeijer
d94dd392cb Reuse the function argument widget when possible
Now that we're showing this thing instantly, we can no longer rely on
the thing hiding cause of a focus change.

(cherry picked from commit 5a0a084c31)

Conflicts:

	src/plugins/cpptools/cppcodecompletion.cpp
2009-02-16 18:34:56 +01:00
Thorbjørn Lindeijer
100a6254f6 More intelligent function argument widget
Now it shows immediately when there is only a single signature of a
given method/constructor.

(cherry picked from commit 8b9dd766c8)

Conflicts:

	src/plugins/cpptools/cppcodecompletion.cpp
2009-02-16 15:15:43 +01:00
Thorbjørn Lindeijer
9aa86f9135 Completion for constructors used on initialization
Deals with cases like "QString s(", but for the moment doesn't handle
yet "QString const s(".

Done with Roberto Raggi.

(cherry picked from commit fca3ec1f32)
2009-02-16 15:08:38 +01:00
Thorbjørn Lindeijer
e539a9375b Avoid inserting characters that are already there
When completing, don't insert "();" characters when they're already
there. Skip them instead.

(cherry picked from commit 86427ecf62)

Conflicts:

	src/plugins/cpptools/cppcodecompletion.cpp
2009-02-16 14:54:41 +01:00
Thorbjørn Lindeijer
7c71b1bf38 Fixed crash on updating function argument widget
Crashed for example in the case of template instantiation. To make sure
the Function* stays valid, we need to not only keep around the Snapshot
but the whole LookupContext.

Done with Roberto Raggi.
2009-02-16 11:20:11 +01:00
Thorbjørn Lindeijer
5a0a084c31 Reuse the function argument widget when possible
Now that we're showing this thing instantly, we can no longer rely on
the thing hiding cause of a focus change.
2009-02-13 15:58:12 +01:00
Thorbjørn Lindeijer
8b9dd766c8 More intelligent function argument widget
Now it shows immediately when there is only a single signature of a
given method/constructor.
2009-02-12 12:06:32 +01:00
Thorbjørn Lindeijer
c5751df251 Merge branch '1.0.0' 2009-02-11 15:27:25 +01:00
Thorbjørn Lindeijer
dd54cc6a7a Don't remove syntax errors on each document change
Especially when several error markers exist, the flashing this causes
while editing isn't really nice.

Reviewed-by: Roberto Raggi
2009-02-11 15:03:50 +01:00
Roberto Raggi
f3c2bbaabe Less annoying syntax checker.
(cherry picked from commit 9539bb2b28)
2009-02-11 15:03:31 +01:00
Roberto Raggi
9539bb2b28 Less annoying syntax checker. 2009-02-10 23:33:40 +01:00
Thorbjørn Lindeijer
a33ae02927 Revert now unnecessary checks for null-types
This reverts commits:

c721304a47
885d908ea3
a0909989f7
fb4ad59ddb
0a9a67cf54
0d1624d4d1
d018cfd5cb
0504fdd00b
a2fd10fe19

Conflicts:

	src/plugins/cpptools/cppcodecompletion.cpp

Reviewed-by: Roberto Raggi
2009-02-10 17:41:04 +01:00
Thorbjørn Lindeijer
c721304a47 Fix for crash when doing signal completion 2009-02-10 16:43:23 +01:00
Thorbjørn Lindeijer
86427ecf62 Avoid inserting characters that are already there
When completing, don't insert "();" characters when they're already
there. Skip them instead.
2009-02-10 13:01:19 +01:00
Roberto Raggi
a0909989f7 Fixes: Possible crash in completeMember. 2009-02-10 12:43:47 +01:00
Roberto Raggi
0a9a67cf54 Fixes: Possible crash when completing constructors. 2009-02-09 20:59:39 +01:00
Roberto Raggi
d018cfd5cb Fixes: Possible crash when completing a function with (void) argument. 2009-02-09 20:34:54 +01:00