Commit Graph

80529 Commits

Author SHA1 Message Date
hirschen
cd190875cc fix indentation of template functions
template functions where treated as unfinished lines by the indenter and so
the result of:

template<typename T>
void myFunc()
{

}

was indented as:

template<typename T>
	void myFunc()
{

}

which is pretty ugly and non-standard.

Merge-request: 1615
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
2009-09-29 16:32:09 +02:00
Roberto Raggi
f62ecb37f3 Preprocess the given expression when trying to resolve names. 2009-09-29 16:20:37 +02:00
Friedemann Kleint
c3a5a4877c CDB: Compile Windows 2009-09-29 16:03:30 +02:00
hjk
49b6498870 debugger: remove some unused code 2009-09-29 14:47:27 +02:00
hjk
9157f12ed2 debugger: fix pid parsing from gdb output on Mac 2009-09-29 14:47:27 +02:00
hjk
03e966085f debugger: code cosmetics 2009-09-29 14:47:27 +02:00
hjk
17c928f970 debugger: introduce a new state InferiorUnrunnable to properly describe the
state when gdb is attached to a core.
2009-09-29 14:47:27 +02:00
hjk
573ca3ad85 debugger: rename StepByInstruction into OperateByInstruction 2009-09-29 14:47:27 +02:00
Roberto Raggi
d42475fd90 Enable find references. 2009-09-29 14:41:43 +02:00
Roberto Raggi
11212eb0d1 Handle qualified name ids. 2009-09-29 14:41:43 +02:00
Friedemann Kleint
ee8029aa49 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-09-29 13:51:33 +02:00
Roberto Raggi
05f7870a67 Cleanup 2009-09-29 13:50:55 +02:00
Friedemann Kleint
c3bb032753 Trk/S60: Wire debugger parameters.
Remove conditionals from toolchain enumeration, pass parameters to
TrkGdbAdapter, rename function in runconfig, derive symbol
file from local exe file.
2009-09-29 13:49:35 +02:00
Roberto Raggi
86e21bc255 Look at the working copy when searching for references. 2009-09-29 13:42:47 +02:00
Roberto Raggi
4bc4bd0f5d Removed useless qDebug. 2009-09-29 13:34:52 +02:00
Roberto Raggi
9f49cd05b6 Handle mem initializers. 2009-09-29 13:02:15 +02:00
Roberto Raggi
6b4db9e674 Handle ctor-initializers in the LookupContext. 2009-09-29 12:47:03 +02:00
mae
0ed9043c34 tune auto-indentation of pasted text
auto-indentation of pasted text now only happens when complete
lines including a trailing paragraph separator are copied and pasted.

In addition, the reindent() functions ensures that the relative indentation
within the pasted block is preserved. This mechanism is now also used for
moving lines up/down.

Done with thorbjorn
2009-09-29 12:46:04 +02:00
Roberto Raggi
b1f5a40ee2 Handle member expressions. 2009-09-29 12:32:47 +02:00
Oswald Buddenhagen
5a482ace9a no contractions, please. and loosers are losers. :D 2009-09-29 12:18:43 +02:00
Oswald Buddenhagen
95caceb268 better looking error message 2009-09-29 12:18:43 +02:00
Oswald Buddenhagen
c7ad4adeea report plugin loading problems to the user 2009-09-29 12:18:42 +02:00
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