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
7774977e5d
Fixed handling of attribute specifiers in front of declaration
...
Done with Roberto Raggi
2009-02-17 11:28:18 +01:00
Thorbjørn Lindeijer
a26bef5ff4
Ignore undefined macros in macro completion
...
Done with Roberto Raggi
2009-02-17 11:25:58 +01:00
Roberto Raggi
738c50726d
Compile.
2009-02-17 11:25:44 +01:00
hjk
3cd4e39872
Fixes: debugger: fix assert includes
2009-02-17 11:16:23 +01:00
hjk
30f0f63002
Merge branch 'aumuell-fakevim'
2009-02-17 09:33:40 +01:00
Martin Aumueller
81a4518127
Revert "Fixes: Workaround a bug in kde 4.2.0."
...
This reverts commit e08f1763b7 .
2009-02-17 09:13:33 +01:00
Martin Aumueller
6b78281193
fakevim: fix repetition for dh/j/k/l
2009-02-17 09:13:33 +01:00
Martin Aumueller
d8e675db9a
fakevim: fix backward deletion/change
2009-02-17 09:13:33 +01:00
Martin Aumueller
b1e73ff272
fakevim: 'I' would replace text between current position and first non-blank on line
2009-02-17 09:13:33 +01:00
Martin Aumueller
cc850f6f5b
fakevim: let Esc correctly cancel not yet complete commands
2009-02-17 09:13:33 +01:00
Martin Aumueller
694f34a4f1
fakevim: indent correctly after return key
2009-02-17 09:13:32 +01:00
Martin Aumueller
5f5dfaaae8
fakevim: remove dead code
2009-02-17 09:13:32 +01:00
Martin Aumueller
bd29664c8c
fakevim: make 'c$' repeatable with '.'
2009-02-17 09:13:32 +01:00
Martin Aumueller
d5f3c585ba
fakevim: also repeat insertion with '.'
2009-02-17 09:13:32 +01:00
Martin Aumueller
5dc2f8ed0a
fakevim: d$ and D would delete newline
2009-02-17 09:13:32 +01:00
Martin Aumueller
bf3c4a1562
fakevim: use QTextDocument's undo/redo operations
...
this has several advantages compared to an undo/redo stack private to fakevim:
- change marks in document correspond to actual changes
- mouse pasting does not invalidate the fakevim undo/redo stack
- menu commands (such as undo/redo from the Edit menu) do not invalidate the fakevim undo/redo stack
- possible other changes not caused by fakevim do not invalidate fakevim undo/redo stack
it is pretty bad if the fakevim undo/redo stack becomes invalid, as applying these invalid
undo/redo operations corrupts the document
2009-02-17 09:13:32 +01:00
Roberto Raggi
59624d91a1
Set the resolved symbol (it needs some cleanup).
2009-02-16 19:07:22 +01:00
Roberto Raggi
f63b8e6693
--warnings
2009-02-16 18:56:35 +01:00
Thorbjørn Lindeijer
b15dec9de1
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-02-16 18:47:35 +01:00
mae
0bc68b0ca1
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-02-16 18:44:36 +01:00
mae
959ba534f6
show and hide the editor info bar in the correct view
2009-02-16 18:44:04 +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
hjk
d92afa1905
Fixes: debugger: set width and height of "terminal" to 0 to avoid
...
extra prompting
2009-02-16 18:38:10 +01:00
hjk
0ce7cb1ec6
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
...
Conflicts:
src/plugins/debugger/gdbengine.cpp
2009-02-16 18:36:55 +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
hjk
79a428f480
Fixes: debugger: work on process logic
2009-02-16 18:28:15 +01:00
Roberto Raggi
fa216de41c
Improved the C++ hover handler.
...
Done with: bjorn
2009-02-16 18:21:05 +01:00
Roberto Raggi
01145fd552
Added Type::isForwardClassDeclaration().
2009-02-16 18:20:47 +01:00
Roberto Raggi
ba78e075da
Introduced support for forward class declarations.
2009-02-16 18:20:46 +01:00
Roberto Raggi
2788d77229
Fixes: Implementation of NewExpressionAST::lastToken()
2009-02-16 18:20:46 +01:00
Oswald Buddenhagen
3666883f23
Fixes: windows build
2009-02-16 16:51:30 +01:00
Oswald Buddenhagen
933bd672e4
move -data-list-register-names up to the other initializers.
2009-02-16 16:51:30 +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
hjk
9bb43992cd
Fixes: debugger: enum naming cosmetics
2009-02-16 13:58:43 +01:00
Oswald Buddenhagen
f6e3b90ebb
Fixes: debugging external apps
...
just treat it the same as internal apps as far as gdbengine is
concerned.
2009-02-16 13:52:59 +01:00
hjk
604682c47d
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-02-16 13:30:22 +01:00
hjk
e4a9d85c00
Fixes: debugger: work on shutdown
2009-02-16 13:29:57 +01:00
dt
ce14b00570
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-02-16 13:19:40 +01:00
dt
c6a02170b9
Fixes: Move Buildparser to the projectexplorer, use in cmakeplugin
...
Details: This enables us to parse the build errors correctly.
The makesteps of the qt4project and cmakeproject have some
code dupliaction, which could be refactored. And the code
to find out the correct build parser could probably also
be done better, but we are now parsing the build output for
cmake.
2009-02-16 13:12:12 +01:00
mae
0c09777ab4
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-02-16 12:51:11 +01:00
mae
8598a59b9f
fix context definitions of the vcs editors (this makes shortcuts work again)
2009-02-16 12:50:15 +01:00
mae
2ff2c9c14b
keep stack history in each editor view.
2009-02-16 11:29:50 +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
hjk
137ba736a7
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-02-16 09:59:47 +01:00
hjk
f90706fa01
Fixes: debugger: make shutdown a bit more robust
2009-02-16 09:59:12 +01:00