Commit Graph

15594 Commits

Author SHA1 Message Date
hjk
d3290c3231 debugger: replace a few 'template_argument(0)' by the templateArgument wrapper
Makes QSharedPointer & Co. work with gdb 7.2
2010-11-30 17:14:44 +01:00
hjk
f03138aa53 debugger: work around gdb 7.2 bug
python print gdb.parse_and_eval("ob.d_ptr.d.children\").type.template_argument(0)
creates consistent "RuntimeError: No type named myns::QObject." with stock 7.2
2010-11-30 16:52:46 +01:00
con
7c0b1b63d5 Merge remote branch 'origin/2.1' into master 2010-11-30 16:45:15 +01:00
Daniel Molkentin
e0084d9ef0 Show buttons only when more than one tip is available
Task-number: QTCREATORBUG-3160
Reviewed-by: con
2010-11-30 16:43:01 +01:00
Roberto Raggi
5daec0bd0a Show the argument hints only when the cursor is at the right of an open brace. 2010-11-30 16:35:40 +01:00
Roberto Raggi
4771978361 Don't skip gl_* symbols. 2010-11-30 16:28:34 +01:00
Roberto Raggi
f7d4644534 Mark the current argument. 2010-11-30 16:25:03 +01:00
Roberto Raggi
38d642c061 Process constructors. 2010-11-30 16:21:36 +01:00
Roberto Raggi
593626644c Process binary expressions. 2010-11-30 16:10:27 +01:00
Roberto Raggi
cf793418c3 Handle logical xor. 2010-11-30 16:10:27 +01:00
Roberto Raggi
5aacd95966 Handle the long float suffix. 2010-11-30 16:10:27 +01:00
hjk
3d8aefb9f5 debugger: show breakpoint markers more often again 2010-11-30 15:44:54 +01:00
Roberto Raggi
ad5476ff54 Show the signatures in a tooltip when completing functions. 2010-11-30 15:43:17 +01:00
Christian Kandeler
20e749df08 Maemo: Move "mad info" parsing for Qemu specs into dedicated classes. 2010-11-30 15:32:02 +01:00
Christian Kandeler
0f15f41966 Maemo: Move MaemoQemuRuntime class to its own file. 2010-11-30 15:32:02 +01:00
Christian Kandeler
9a26654878 Maemo: Rename "Runtime" class to make the name more unique. 2010-11-30 15:32:02 +01:00
Friedemann Kleint
c7acef6e9a Debugger[New CDB]: Add infrastructure for casting/adding symbols.
Some more value fixing/support double-quoted commands in extension.
Functionality for printing command help.
2010-11-30 14:42:04 +01:00
hjk
6a6840c404 debugger: fix QVariant dumper corner case 2010-11-30 13:50:50 +01:00
Christian Kandeler
ede779e3c7 Maemo: Support new "mad info" schema.
Reviewed-by: kh1
2010-11-30 13:45:33 +01:00
hjk
d5c5b90b4f debugger: make "threadspec" an int instead of a bytearray 2010-11-30 13:40:23 +01:00
hjk
d02b2e9a36 debygger: remove unused code 2010-11-30 13:40:23 +01:00
hjk
2b80651d7b debugger: less magic state transitions in the break handler 2010-11-30 13:40:23 +01:00
Christian Kamm
3fbc0bd31d QmlDump: Fix use with namespaced types.
Reviewed-by: Roberto Raggi
2010-11-30 13:42:00 +01:00
con
af99e09b05 Window title didn't show nice name for e.g. diff views.
Use the editor's displayName for the window title.
Also there were missing change signal emissions in setDisplayName
implementations.
Moves the actual handling of the window title from Session to
EditorManager (so it now is also done for the hypothetical case of no
project explorer plugin).

Task-number: QTCREATORBUG-3207
2010-11-30 13:18:34 +01:00
con
14a71bc770 Support symbolic links in the file manager.
We didn't watch the symbolic link itself before, only the final link
target. We are watching the symbolic link and the final link target now.
Ugly hack: We need to work around QTBUG-15522. The inotify and kqueue
based file system watcher engines (Linux + Mac) don't report changes to
symbolic links. The workaround is to use the polling engine *only for
the links themselves*. The only way to force the use of the polling
engine is by using the auto test hook in QFileSystemWatcher.
2010-11-30 13:10:03 +01:00
Christiaan Janssen
4b7d826daa QmlEngine: handling breakpoint insertions/removals
Reviewed-by: hjk
2010-11-30 11:35:56 +01:00
Christiaan Janssen
0269e60bac DebuggerEngine: fix shutdown when run failed
Reviewed-by: hjk
2010-11-30 11:35:56 +01:00
Christian Kamm
4cb87c3e08 QmlJS: Don't trigger completion for '/' outside string literals.
Reviewed-by: Roberto Raggi
2010-11-30 11:02:42 +01:00
Christian Kandeler
8a89a8bd8e Maemo: Make SSH connection error messages a bit more helpful.
Task-number: QTCREATORBUG-3225
2010-11-30 10:56:45 +01:00
hjk
80f640fbb3 debugger: mark breakpoints as 'insertion proceeding' in qml debugger 2010-11-30 10:03:20 +01:00
hjk
8a2e21eb60 debugger: add a few more asserts 2010-11-30 10:00:33 +01:00
hjk
cf154b3bc3 debugger: make breakpoint enables state visible in the breakpoint dialog 2010-11-30 08:59:58 +01:00
hjk
3cff7afbbc debugger: cosmetics 2010-11-30 08:59:58 +01:00
Kai Koehne
ef074dad0c QmlProject: Fix crash for invalid Qt version
Regression introduced by dcd1876d5b.
2010-11-30 07:49:38 +01:00
Rhys Weatherley
1c491bcde5 Sort most relevant swizzle orderings to the top
"xyz", "st", and "rgb" are more likely to be what the user
wants than things like "aaar" and "abbb", so sort the
completion list to move common swizzles to the top.
2010-11-30 09:08:00 +10:00
Roberto Raggi
63849faf9d Recover from unfinished do-while loops. 2010-11-29 22:23:33 +01:00
kh1
1d2fa45a94 Fix usage of mad command, seems we depend on the system env. 2010-11-29 18:35:27 +01:00
Roberto Raggi
945b25559d Evaluate member accesses. 2010-11-29 18:16:44 +01:00
Roberto Raggi
55234b9d16 Implemented some basic code completion. 2010-11-29 18:06:21 +01:00
dt
31ff319f74 Bauhaus: Fix border around zoom actiom
Reviewed-By: Jens Bache-Wiig
2010-11-29 17:12:39 +01:00
Arvid Ephraim Picciani
776a45df68 lldb: move away from local sockets to stdio coms
can now pluginto any host via ssh.
define QTC_LLDB_GUEST=/some/script in the env
where script is a wrapper that does ssh, or whatever you need
2010-11-29 17:07:30 +01:00
Arvid Ephraim Picciani
0ba7fd6720 lddb: fix tons of missing breaks 2010-11-29 17:07:30 +01:00
hjk
02b6e3cb77 debugger: forward-port 49cac3d448
Mis-merge?
2010-11-29 16:54:56 +01:00
Kai Koehne
dcd1876d5b QmlProject: Restrict UI to using the System Environment
There are probably very little use cases where you want to start
from a clean environment, and there is no such thing as a Build
Environment (although we magically add some toolchain settings to
the environment).
2010-11-29 14:18:11 +01:00
Kai Koehne
e398225cd0 QmlProject: Allow user to change process environment
Task-number: QTCREATORBUG-2600
2010-11-29 14:18:11 +01:00
Kai Koehne
b1ce0af3f5 QmlProject: Split RunConfiguration, ..Widget into two classes 2010-11-29 14:18:10 +01:00
Kai Koehne
4474ab4e69 QmlProject: Code cleanup 2010-11-29 14:18:10 +01:00
hjk
40c9b8f2f0 debugger: remove "debug debugging helper" option
Only useful for the compiled dumpers, and I have not used it for a while.
2010-11-29 13:52:43 +01:00
hjk
78850785c1 debugger: remove unneeded argument to showToolTip 2010-11-29 13:44:47 +01:00
hjk
c9ca3359e6 debugger: remove toying with semitransparent tooltips
Reviewed-by: Thorbjorn Lindeijer
Task-number: QTCREATORBUG-3072
2010-11-29 13:33:02 +01:00