Oswald Buddenhagen
a7b329a2f1
simplify
2009-09-25 17:39:51 +02:00
mae
36fb96b69d
fix auto braces with preprocessor directives
...
We now exclude brace in ifdefed out sections when calculating,
whether or not the braces match. This requires adjust the brace
levels whenever sections get ifdef'd out or ifdef'd in again.
2009-09-25 17:23:14 +02:00
Christian Kamm
22ed0255b9
Track more macro uses.
...
In particular macros that are only checked for definition or are
expanded during the evaluation of an #if or #elif directive are now also
added to the list available through Document::macroUses().
The names of undefined macros that are interesting (because they're used
in an #ifdef or a defined(...)) are now available through
Document::undefinedMacroUses().
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com >
2009-09-25 16:08:01 +02:00
Friedemann Kleint
90470771fd
Debugger: Export DebuggerManager and DebuggerStartParameters.
...
For device debugging. Move both from namespace
Debugger::Internal to Debugger, export them, give
DebuggerManager a static instance().
2009-09-25 16:01:28 +02:00
Friedemann Kleint
4dbfc18340
Debugger: Compile Windows.
2009-09-25 15:10:19 +02:00
Friedemann Kleint
ec7c77ca23
Debugger: Work towards exporting DebuggerManager: Introduce d.
...
Clean out header.
2009-09-25 15:02:16 +02:00
Roberto Raggi
b3cf5ae50a
Some work on `find references of a symbol'.
2009-09-25 14:20:02 +02:00
Roberto Raggi
20ff553b59
Introduced LookupContext::canonicalSymbol().
2009-09-25 14:20:02 +02:00
Roberto Raggi
e9a5ab1b0d
Added the `isVirtual' attribute to Function.
2009-09-25 14:20:02 +02:00
Roberto Raggi
54d60a77ae
Use the canonical symbol when searching references.
2009-09-25 14:20:02 +02:00
mae
efed56c49e
Improve auto-inserting or deleting of parentheses and brackets
...
When inserting or deleting ( or [, we now check wether this will improve
the block's parentheses balancing, and only fix it if it doesn't. Same
applies to skipping of ) or ].
2009-09-25 13:52:16 +02:00
Friedemann Kleint
e653b7054a
git: Remove duplicate action.
2009-09-25 13:46:49 +02:00
Friedemann Kleint
77fc7441af
Git: Remove dpulicate slot revert(), move to UndoFileChanges.
2009-09-25 12:41:13 +02:00
Daniel Molkentin
e7a477b3a0
Build system: make 'install' target work on Windows.
...
Reviewed-By: Oswald Buddenhagen
2009-09-25 12:31:25 +02:00
Erik Verbruggen
06fcf59f2e
Added method arguments to the lookup context of an ObjC method.
2009-09-25 12:12:00 +02:00
hjk
00f676708b
debugger: work on handling gdb crashes gracefully
2009-09-25 11:50:39 +02:00
Friedemann Kleint
978cf4bda8
Rename IRunConfigurationRunner -> IRunControlFactory...
...
and ApplicationRunConfiguration to LocalApplicationRunConfiguration,
preparing remote debugging. Change the interface canRun() to be const,
run() to create() (since it does not run anything), use references
to the QSharedPointer<Foo>. Introduce d-Pointer and remove
unneeded headers from ProjectExplorerPlugin and add missing includes
everywhere.
2009-09-25 11:35:44 +02:00
Erik Verbruggen
e7cef7ef22
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-09-25 10:47:20 +02:00
Erik Verbruggen
91a492a562
Reverted a change which introduced a duplicate action for
...
(re-)formatting.
2009-09-25 10:47:04 +02:00
Kai Koehne
89aa5e6d1e
Added 'NoModeSwitch' flag to EditorManager::activateEditor
...
This allows a different mode to activate an editor without necessarily
switching to the text/debug mode. Used in Bauhaus.
Reviewed-by: con
2009-09-25 10:15:05 +02:00
Friedemann Kleint
9a442ce79c
Compile Windows
2009-09-25 09:31:35 +02:00
hjk
20b9258d9e
debugger: refactoring
...
Intergrate per-engine state tracking with the global running/stopped state.
2009-09-25 08:36:44 +02:00
kh1
9f8d93c37e
Compile fix.
2009-09-24 20:02:51 +02:00
Roberto Raggi
91a50a74f2
Changed the signature of findReferences()
2009-09-24 16:51:40 +02:00
Roberto Raggi
e7b96347f1
Revert "Introduced our own document revision."
...
This reverts commit 6b510cb487 .
2009-09-24 16:34:18 +02:00
mae
7d72996fa3
fix cppeditor occurance extra selections
...
only set the background, we do not want to modify foreground properties
set by the syntax highlighter or the link
2009-09-24 15:19:45 +02:00
mae
aac47dcbad
fix revision handling in base text editor.
...
After recent qt changes, the initial revision after a QTextDocument::setPlainText()
is not 0.
2009-09-24 15:09:15 +02:00
mae
600fc9b218
cpp editor actions
...
remove some standard actions from the cpp editor context menu,
and enhance the advanced menu instead.
2009-09-24 14:51:40 +02:00
Friedemann Kleint
a86ea9707b
Fix form class wizard clobbering the class name when choosing back
...
Task-number: QTCREATORBUG-116
Use initializePage instead of currentPageChanged().
2009-09-24 14:39:30 +02:00
Friedemann Kleint
25a546e3ea
Git:: Prompt before doing hard reset.
2009-09-24 13:58:08 +02:00
mae
4abe4d186c
In auto-indent mode, also indent pasted text.
2009-09-24 13:41:16 +02:00
Erik Verbruggen
dabd7272bf
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-09-24 12:55:33 +02:00
Erik Verbruggen
f358034f8b
Fixed BAUHAUS-1.
2009-09-24 12:54:53 +02:00
Friedemann Kleint
c839f4b1e1
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-09-24 12:21:00 +02:00
Friedemann Kleint
f7350f438e
Trk: Make Windows reader thread read > 1 bytes by querying size.
2009-09-24 12:20:32 +02:00
Erik Verbruggen
a98db7b096
Fixed a crasher.
2009-09-24 12:19:54 +02:00
hjk
d5f1035770
debugger: refactoring
...
Move GdbAdapterState from individual adapters to GdbEngine.
Also, remove some trailing whitespace.
2009-09-24 11:46:38 +02:00
Friedemann Kleint
386173d4bb
Trk: Fix deadlocks, introduce reader thread.
...
Make locking more fine-grained, move handling of the
No-op message into the WriterThread (basically, do not
lock dataMutex over invocation of the no-op message
as this might queue messages). Introduce a reader thread
using select()/Windows overlapped I/O, removing the need
for timers.
2009-09-24 11:34:16 +02:00
hjk
8f6aa2259e
debugger: refactoring
...
rename GdbResultRecord into GdbResponse
merge cookie QVariant into GdbResponse
move debugMessage convienience function from individual adapters to base
2009-09-24 11:22:45 +02:00
hjk
f5c6f667d1
debugger: work on remote debugging using plain gdbserver
2009-09-24 10:54:51 +02:00
hjk
063d13e00f
debugger: work on general shutdown handling
2009-09-24 10:54:50 +02:00
Roberto Raggi
6b510cb487
Introduced our own document revision.
2009-09-24 10:12:33 +02:00
Roberto Raggi
6051584cfd
Don't create selections for unused symbols
2009-09-24 10:05:33 +02:00
Oswald Buddenhagen
9cb9f29d63
implement infile() and $$fromfile()
2009-09-23 18:19:58 +02:00
Roberto Raggi
7cf7683052
Mark unused symbols.
2009-09-23 18:07:17 +02:00
dt
1d75ebecdc
Fix Qt4Project::toolchain() returning a wrong thing.
...
Hmm even if the cached toolchain is correct, we do a few things, maybe
I should optimize it.
2009-09-23 17:39:50 +02:00
dt
fd5ee47949
Forward declaration is not enough, so include the header.
2009-09-23 17:38:36 +02:00
dt
1714a992ba
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-09-23 17:17:11 +02:00
dt
a46c18ba41
Set margin to zero everywhere on the project pane.
...
Makes the project pane look nicer.
2009-09-23 17:16:09 +02:00
dt
a86fc8aa23
Remove unused member variable, potentially saving up to 120 bytes.
2009-09-23 17:06:23 +02:00