Commit Graph

15615 Commits

Author SHA1 Message Date
Christian Kamm c5c4bacda9 C++ indenter: Fix labels.
Reviewed-by: Roberto Raggi
2010-12-01 10:22:41 +01:00
hjk bb654838cf debugger: fix gdb 7.2's template argument hickup also for more then one arg 2010-12-01 10:12:18 +01:00
Leandro Melo ea8cb4764b Editors: Move auto-completion code out of the editor
This is basically a continuation of the commits which
refactor code out of the base text editor. For instance,
36fa1de4c6 and
3a684586fa.

Also removed the doXXXX() forwarding methods.
2010-12-01 09:07:15 +01:00
Rhys Weatherley e117f04fab Show different icons for GLSL variable categories
Attributes, uniforms, varyings, and constants are shown with a
distinguished icon that is different from regular variables.
2010-12-01 15:44:50 +10:00
Rhys Weatherley ecf4baec66 Better icons for the GLSL code completer 2010-12-01 14:57:14 +10:00
Rhys Weatherley 9af4436875 GLSL array type toString() implementation 2010-12-01 13:19:22 +10:00
Rhys Weatherley 045c7fd513 Fix vec and mat type names in tooltips 2010-12-01 12:52:57 +10:00
Rhys Weatherley 814c9cc62e Replace the "Qt" GLSL variant with "ES_100"
The Qt variant is almost exactly the same as GLSL/ES,
so there is little point having a separate variant code.
2010-12-01 12:30:07 +10:00
Rhys Weatherley c552e26b2d Recognize all keywords during autocompletion 2010-12-01 11:52:10 +10:00
Rhys Weatherley 16862432e3 Make GLSL highlighter aware of language variant 2010-12-01 11:49:36 +10:00
Rhys Weatherley 85aa32dfca Detect GLSL vs GLSL/ES based on mime type
*.vert and *.frag are now for desktop shaders
*.vsh and *.fsh are now for ES shaders
File/New gives the user the choice which to create
2010-12-01 10:25:23 +10:00
Marco Bubke 1b3016c571 QmlDesigner.NodeInstances: Refactor image send commands 2010-11-30 21:32:52 +01:00
Marco Bubke 66ed5367d2 QmlDesigner.NodeInstances: Add ChildrenChangedCommand
Because the order of the commands can be changed the reparenting was
changed. Now there is a command with the exact order of child items so
it should be much more correct.
2010-11-30 18:23:58 +01:00
Marco Bubke da077c361a QmlDesigner.Rewriter: Use the QmlJS Parser instead of the QDeclarativeEngine
The QmlJS Parser is checking the source file so we don't need to use the QmlEngine anymore.
2010-11-30 18:23:58 +01:00
Marco Bubke 4c9724fca4 QmlDesigner.NodeInstances: React to removed import 2010-11-30 18:23:58 +01:00
Christian Kandeler 5466766819 Maemo: Only add target deployment for the current toolchain.
Task-number: QTCREATORBUG-3222
2010-11-30 18:10:40 +01:00
Christian Kandeler cead4f3974 Maemo: Set Qemu environment once instead of at every start.
Reviewed-by: kh1
2010-11-30 18:09:45 +01:00
Christian Kandeler 233081aadb Maemo: Move .pro file scope generation to a dedicated function. 2010-11-30 17:57:23 +01:00
Christian Kandeler 4041a69404 Maemo: Fix Qemu file path once instead of at every start.
Reviewed-by: kh1
2010-11-30 17:57:23 +01:00
hjk 5f5dbc62fd debugger: remove unneeded argument from templateArgument() 2010-11-30 17:30:06 +01:00
Roberto Raggi 1fdfe414c7 Reactivate the argument hints. 2010-11-30 17:22:13 +01:00
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