Commit Graph

80529 Commits

Author SHA1 Message Date
Robert Loehning
a2bfa61013 Trk: Added some error checking. 2009-09-28 15:11:48 +02:00
Erik Verbruggen
dcc60fb531 Split off the incremental lexer from the QScriptHighlighter into a
separate class (QScriptIncrementalScanner).
2009-09-28 14:50:42 +02:00
Robert Loehning
5583dd7ad1 Trk: Using QScopedPointer in trk::LauncherPrivate::CopyState to ensure deletion
Reviewed-by: con
2009-09-28 13:54:11 +02:00
con
fa25a821f2 Build fix
Reviewed-by: Friedemann Kleint
2009-09-28 13:03:58 +02:00
Friedemann Kleint
92bfcf4335 Trk: Make work with ultra-fast devices, fix race condition
Insert message into the WriteQueue's map storing the messages
before writing it out in case the reader thread gets the
answer before WriteQueue::notifyResult is called.
2009-09-28 12:41:13 +02:00
hjk
6bd55be672 debugger: make DebuggerState read accessor public and export it 2009-09-28 12:00:37 +02:00
hjk
1173b0f656 debugger: fix color of changed register values.
Was broken since 1e7cee620.
2009-09-28 11:53:08 +02:00
Erik Verbruggen
377ed944e5 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-09-28 11:46:20 +02:00
Erik Verbruggen
478e94748f Added type declarations for forward declared ObjC protocols and classes. 2009-09-28 11:46:00 +02:00
con
6d839a9919 Build fix for Mac. 2009-09-28 11:42:46 +02:00
Robert Loehning
9839d0a8b3 Trk: Checking errorCode of CreateProcess message.
Reviewed-by: con
2009-09-28 11:04:29 +02:00
Kai Koehne
23de8e9dde Make some more EditorManager slots public
closeEditor(), closeOtherEditors() are used in Design mode.
2009-09-28 11:01:58 +02:00
Kai Koehne
d1d05d9870 Make some EditorManager slots public
saveFile, saveFileAs & revertToSaved are 'reused' in the Bauhaus
Design mode.

Reviewed-by: con
2009-09-28 10:08:33 +02:00
hjk
0155f11cd8 debugger: fix regression in disassembler listing introduced in 37c98f89 2009-09-28 09:52:49 +02:00
hjk
ca47f5d1b8 debugger: don't complain on Running->Stopped state changes when not directly
triggered by the user
2009-09-28 09:49:58 +02:00
hjk
bb1ebd0998 debugger: handle error triggered by "-exec-finish" triggered in the outermost
frame
2009-09-28 09:49:58 +02:00
hjk
bf501dcae5 debugger: implement writing to registers using trk 2009-09-28 09:49:58 +02:00
Friedemann Kleint
724cc50ed5 Trk: Move message decoding into ReaderThread and emit via signal
... using a DirectBlockingConnection, hopefully fixing
Windows deadlocks.
2009-09-28 09:48:21 +02:00
Aleksey Palazhchenko
6ddc5afd00 Update Doxyfile.
Merge-request: 1315
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-09-25 17:39:51 +02:00
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
d5af926c21 Add src/libs/cplusplus to folder list for api doc generation. 2009-09-25 16:08:01 +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