Commit Graph

72811 Commits

Author SHA1 Message Date
Oswald Buddenhagen
ba9e0b8ae9 $IDETESTDIR => $QTCREATOR_TEST_DIR
i really don't detest dirs ... :D
2009-09-29 12:18:42 +02:00
Oswald Buddenhagen
f7d665ba42 remove dead code 2009-09-29 12:18:42 +02:00
dt
1112430094 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-09-29 12:11:59 +02:00
Friedemann Kleint
530d03b372 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-09-29 11:41:07 +02:00
con
3ec6f58530 Qt for Symbian also in project explorer 2009-09-29 11:40:32 +02:00
Friedemann Kleint
ad294f8467 Project explorer: Make public headers compile with NO_CAST_FROM_ASCII
.. and purge unneeded includes.
2009-09-29 11:39:55 +02:00
Roberto Raggi
e40cd82f8c Introduced T_CPP_COMMENT and T_CPP_DOXY_COMMENT to handle C++-style comments and improved CPPEditor::isInComment to handle the newly introduced tokens.
As side effect,this change should fix the regression we introduced in the "automagically" quote/brace insertion.
2009-09-29 11:35:43 +02:00
hjk
1ce92c0ed6 debugger: centralize view cleanup in the manager to setState(DebuggerNotReady) 2009-09-29 10:59:46 +02:00
hjk
37add8b52d debugger: suppress debug output for known state changes triggered by initialization 2009-09-29 10:59:46 +02:00
hjk
10fa3b2b76 debugger: remove inferiorStarted() signal.
It had unclear semantics and was only used to show a statusmessage.
We do that directly now.
2009-09-29 10:59:46 +02:00
hjk
f685aa2361 debugger: prepare more direct TRK interaction 2009-09-29 10:59:46 +02:00
con
51e1a23493 Enable Qt for Symbian parts on windows by default 2009-09-29 10:48:10 +02:00
hjk
1803ee2f91 debugger: reset memory cache after stepping
It's better when one wants up-to-date data...
2009-09-29 09:35:04 +02:00
hjk
b944e1eb14 debugger: load the gdb macro based dumpers only once per session. 2009-09-29 09:35:04 +02:00
hjk
4d1bae47c1 debbugger: try to disconnect from TRK on application shutdown 2009-09-29 09:35:04 +02:00
hjk
ef37f7f1e5 debugger: improve presentation of some error/status messages 2009-09-29 09:35:04 +02:00
hjk
bc15777ee1 debugger: retrieve InferiorRunning state from gdb output, not from business logic 2009-09-29 09:35:04 +02:00
hjk
214d998b63 debugger: let debugger console directly communicate with TRK 2009-09-29 09:35:04 +02:00
hjk
b5706d77cf debugger: save a few cycles when writing to the gdb process 2009-09-29 09:35:04 +02:00
Friedemann Kleint
4503ed6b4a Trk/Windows: Handle lower case PATH settings correctly. 2009-09-29 09:13:16 +02:00
Friedemann Kleint
e4f253ea2b Trk/Debugger: Invoke memory read callback directly if no requests
are sent.
2009-09-29 08:51:28 +02:00
Friedemann Kleint
6baeb06a76 Add missing dependency (Qt4ProjectManager->Debugger) 2009-09-29 08:22:15 +02:00
dt
670246e3ef Remove unecessary file. 2009-09-28 17:50:36 +02:00
dt
268d277d7a Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-09-28 17:29:24 +02:00
dt
96b495e440 On jumping to invalid bookmarks, delete them.
For next/prev try the next/prev one then.
2009-09-28 17:28:29 +02:00
Friedemann Kleint
5cd639747a S60: Split run configurations
creating a debug run configuration. Import the debugger
into Qt4ProjectManager.
2009-09-28 17:17:11 +02:00
Robert Loehning
12536eeb9f Trk: Checking for result of file creation.
Reviewed-by: con
2009-09-28 16:56:31 +02:00
mae
3ca067ad12 tune auto-indentation of pastes
when pasting text which ends with a newline, we should not
reindent the final line, instead we will preserve the indentation
that was there.
2009-09-28 16:23:53 +02:00
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
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