OSDN Git Service
Rhys Weatherley [Wed, 1 Dec 2010 02:52:57 +0000 (12:52 +1000)]
Fix vec and mat type names in tooltips
Rhys Weatherley [Wed, 1 Dec 2010 02:30:07 +0000 (12:30 +1000)]
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.
Rhys Weatherley [Wed, 1 Dec 2010 01:52:10 +0000 (11:52 +1000)]
Recognize all keywords during autocompletion
Rhys Weatherley [Wed, 1 Dec 2010 01:49:36 +0000 (11:49 +1000)]
Make GLSL highlighter aware of language variant
Rhys Weatherley [Wed, 1 Dec 2010 00:04:56 +0000 (10:04 +1000)]
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
Marco Bubke [Tue, 30 Nov 2010 20:32:52 +0000 (21:32 +0100)]
QmlDesigner.NodeInstances: Refactor image send commands
Marco Bubke [Tue, 30 Nov 2010 16:46:57 +0000 (17:46 +0100)]
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.
Marco Bubke [Mon, 29 Nov 2010 15:36:08 +0000 (16:36 +0100)]
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.
Marco Bubke [Thu, 25 Nov 2010 16:38:48 +0000 (17:38 +0100)]
QmlDesigner.NodeInstances: React to removed import
Christian Kandeler [Tue, 30 Nov 2010 17:10:40 +0000 (18:10 +0100)]
Maemo: Only add target deployment for the current toolchain.
Task-number: QTCREATORBUG-3222
Christian Kandeler [Tue, 30 Nov 2010 17:09:45 +0000 (18:09 +0100)]
Maemo: Set Qemu environment once instead of at every start.
Reviewed-by: kh1
Christian Kandeler [Tue, 30 Nov 2010 16:53:08 +0000 (17:53 +0100)]
Maemo: Move .pro file scope generation to a dedicated function.
Christian Kandeler [Tue, 30 Nov 2010 15:42:30 +0000 (16:42 +0100)]
Maemo: Fix Qemu file path once instead of at every start.
Reviewed-by: kh1
hjk [Tue, 30 Nov 2010 16:14:44 +0000 (17:14 +0100)]
debugger: remove unneeded argument from templateArgument()
Roberto Raggi [Tue, 30 Nov 2010 16:21:30 +0000 (17:21 +0100)]
Reactivate the argument hints.
hjk [Tue, 30 Nov 2010 16:14:44 +0000 (17:14 +0100)]
debugger: replace a few 'template_argument(0)' by the templateArgument wrapper
Makes QSharedPointer & Co. work with gdb 7.2
hjk [Tue, 30 Nov 2010 15:50:42 +0000 (16:50 +0100)]
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
con [Tue, 30 Nov 2010 15:45:04 +0000 (16:45 +0100)]
Merge remote branch 'origin/2.1' into master
Daniel Molkentin [Tue, 30 Nov 2010 12:26:14 +0000 (13:26 +0100)]
Show buttons only when more than one tip is available
Task-number: QTCREATORBUG-3160
Reviewed-by: con
Roberto Raggi [Tue, 30 Nov 2010 15:35:40 +0000 (16:35 +0100)]
Show the argument hints only when the cursor is at the right of an open brace.
Roberto Raggi [Tue, 30 Nov 2010 15:27:46 +0000 (16:27 +0100)]
Don't skip gl_* symbols.
Roberto Raggi [Tue, 30 Nov 2010 15:25:03 +0000 (16:25 +0100)]
Mark the current argument.
Roberto Raggi [Tue, 30 Nov 2010 15:21:36 +0000 (16:21 +0100)]
Process constructors.
Roberto Raggi [Tue, 30 Nov 2010 15:10:07 +0000 (16:10 +0100)]
Process binary expressions.
Roberto Raggi [Tue, 30 Nov 2010 14:47:03 +0000 (15:47 +0100)]
Handle logical xor.
Roberto Raggi [Tue, 30 Nov 2010 14:44:32 +0000 (15:44 +0100)]
Handle the long float suffix.
hjk [Tue, 30 Nov 2010 14:44:29 +0000 (15:44 +0100)]
debugger: show breakpoint markers more often again
Roberto Raggi [Tue, 30 Nov 2010 14:42:18 +0000 (15:42 +0100)]
Show the signatures in a tooltip when completing functions.
Christian Kandeler [Tue, 30 Nov 2010 14:31:15 +0000 (15:31 +0100)]
Maemo: Move "mad info" parsing for Qemu specs into dedicated classes.
Christian Kandeler [Tue, 30 Nov 2010 13:25:21 +0000 (14:25 +0100)]
Maemo: Move MaemoQemuRuntime class to its own file.
Christian Kandeler [Tue, 30 Nov 2010 13:14:55 +0000 (14:14 +0100)]
Maemo: Rename "Runtime" class to make the name more unique.
Friedemann Kleint [Tue, 30 Nov 2010 13:42:04 +0000 (14:42 +0100)]
Debugger[New CDB]: Add infrastructure for casting/adding symbols.
Some more value fixing/support double-quoted commands in extension.
Functionality for printing command help.
hjk [Tue, 30 Nov 2010 12:50:25 +0000 (13:50 +0100)]
debugger: fix QVariant dumper corner case
Christian Kandeler [Tue, 30 Nov 2010 12:45:15 +0000 (13:45 +0100)]
Maemo: Support new "mad info" schema.
Reviewed-by: kh1
hjk [Tue, 30 Nov 2010 12:39:01 +0000 (13:39 +0100)]
debugger: make "threadspec" an int instead of a bytearray
hjk [Tue, 30 Nov 2010 11:49:09 +0000 (12:49 +0100)]
debygger: remove unused code
hjk [Tue, 30 Nov 2010 11:47:53 +0000 (12:47 +0100)]
debugger: less magic state transitions in the break handler
Christian Kamm [Tue, 30 Nov 2010 12:27:19 +0000 (13:27 +0100)]
QmlDump: Fix use with namespaced types.
Reviewed-by: Roberto Raggi
con [Tue, 30 Nov 2010 11:55:41 +0000 (12:55 +0100)]
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
con [Tue, 23 Nov 2010 11:47:45 +0000 (12:47 +0100)]
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.
Christiaan Janssen [Tue, 30 Nov 2010 10:35:17 +0000 (11:35 +0100)]
QmlEngine: handling breakpoint insertions/removals
Reviewed-by: hjk
Christiaan Janssen [Mon, 29 Nov 2010 16:12:43 +0000 (17:12 +0100)]
DebuggerEngine: fix shutdown when run failed
Reviewed-by: hjk
Christian Kamm [Tue, 30 Nov 2010 10:00:23 +0000 (11:00 +0100)]
QmlJS: Don't trigger completion for '/' outside string literals.
Reviewed-by: Roberto Raggi
Christian Kandeler [Tue, 30 Nov 2010 09:55:44 +0000 (10:55 +0100)]
Maemo: Make SSH connection error messages a bit more helpful.
Task-number: QTCREATORBUG-3225
hjk [Tue, 30 Nov 2010 09:03:20 +0000 (10:03 +0100)]
debugger: mark breakpoints as 'insertion proceeding' in qml debugger
hjk [Tue, 30 Nov 2010 09:00:33 +0000 (10:00 +0100)]
debugger: add a few more asserts
hjk [Tue, 30 Nov 2010 07:59:22 +0000 (08:59 +0100)]
debugger: make breakpoint enables state visible in the breakpoint dialog
hjk [Mon, 29 Nov 2010 17:59:30 +0000 (18:59 +0100)]
debugger: cosmetics
Kai Koehne [Tue, 30 Nov 2010 06:48:58 +0000 (07:48 +0100)]
QmlProject: Fix crash for invalid Qt version
Regression introduced by
dcd1876d5ba.
Rhys Weatherley [Mon, 29 Nov 2010 23:08:00 +0000 (09:08 +1000)]
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.
Roberto Raggi [Mon, 29 Nov 2010 21:21:02 +0000 (22:21 +0100)]
Recover from unfinished do-while loops.
kh1 [Mon, 29 Nov 2010 17:35:07 +0000 (18:35 +0100)]
Fix usage of mad command, seems we depend on the system env.
Roberto Raggi [Mon, 29 Nov 2010 17:16:44 +0000 (18:16 +0100)]
Evaluate member accesses.
Roberto Raggi [Mon, 29 Nov 2010 16:21:47 +0000 (17:21 +0100)]
Implemented some basic code completion.
dt [Mon, 29 Nov 2010 16:10:32 +0000 (17:10 +0100)]
Bauhaus: Fix border around zoom actiom
Reviewed-By: Jens Bache-Wiig
Arvid Ephraim Picciani [Mon, 29 Nov 2010 16:02:01 +0000 (17:02 +0100)]
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
Arvid Ephraim Picciani [Fri, 26 Nov 2010 15:47:10 +0000 (16:47 +0100)]
lddb: fix tons of missing breaks
hjk [Mon, 29 Nov 2010 15:53:40 +0000 (16:53 +0100)]
Kai Koehne [Mon, 29 Nov 2010 13:16:38 +0000 (14:16 +0100)]
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).
Kai Koehne [Mon, 29 Nov 2010 11:50:44 +0000 (12:50 +0100)]
QmlProject: Allow user to change process environment
Task-number: QTCREATORBUG-2600
Kai Koehne [Mon, 29 Nov 2010 10:42:58 +0000 (11:42 +0100)]
QmlProject: Split RunConfiguration, ..Widget into two classes
Kai Koehne [Mon, 29 Nov 2010 08:45:30 +0000 (09:45 +0100)]
QmlProject: Code cleanup
hjk [Mon, 29 Nov 2010 12:52:43 +0000 (13:52 +0100)]
debugger: remove "debug debugging helper" option
Only useful for the compiled dumpers, and I have not used it for a while.
hjk [Mon, 29 Nov 2010 12:38:02 +0000 (13:38 +0100)]
debugger: remove unneeded argument to showToolTip
hjk [Mon, 29 Nov 2010 12:31:51 +0000 (13:31 +0100)]
debugger: remove toying with semitransparent tooltips
Reviewed-by: Thorbjorn Lindeijer
Task-number: QTCREATORBUG-3072
hjk [Fri, 26 Nov 2010 13:35:36 +0000 (14:35 +0100)]
debugger: output a log message for spurious SIGTRAP
Friedemann Kleint [Mon, 29 Nov 2010 11:35:19 +0000 (12:35 +0100)]
Debugger[new CDB]: Add support for more core types.
Structures with accessible members.
Christian Kamm [Mon, 29 Nov 2010 11:21:02 +0000 (12:21 +0100)]
QmlJS: Don't warn about expression statements in script bindings.
Reviewed-by: Roberto Raggi
Christian Kamm [Mon, 29 Nov 2010 10:53:51 +0000 (11:53 +0100)]
Add missing include.
Christian Kamm [Mon, 29 Nov 2010 10:52:30 +0000 (11:52 +0100)]
QmlJS: Don't warn for "string == ''" and "boolean == true".
Reviewed-by: Roberto Raggi
Christian Kamm [Mon, 29 Nov 2010 10:20:07 +0000 (11:20 +0100)]
QmlJS: Don't warn on 'numbervalue == 0'.
Reviewed-by: Roberto Raggi
Thomas Hartmann [Thu, 25 Nov 2010 08:44:04 +0000 (09:44 +0100)]
QmlDesigner.metaInfo: crash fix
Thomas Hartmann [Thu, 25 Nov 2010 08:44:52 +0000 (09:44 +0100)]
QmlDesigner.rewriter: crash fix
These sanity checks are needed
Thomas Hartmann [Thu, 25 Nov 2010 10:49:29 +0000 (11:49 +0100)]
QmlDesigner.propertyEditor: speedup loading of QmlDesigner
The creation of property pages is now delayed
Rhys Weatherley [Mon, 29 Nov 2010 04:00:43 +0000 (14:00 +1000)]
Fix syntax highlighting of multiline QMLJS strings
Roberto Raggi [Mon, 29 Nov 2010 08:54:27 +0000 (09:54 +0100)]
Simple error recovery.
Well, it's not very advanced but it is probably good enough for now.
Christian Kamm [Mon, 29 Nov 2010 07:59:54 +0000 (08:59 +0100)]
QmlJS: Remove overzealous 'undefined' check for enums.
The "value might be 'undefined'" warning triggered whenever the static
expression evaluator failed to produce a value. At the moment, it does
so for almost all non-trivial expressions.
The warning is now disabled.
Task-number: QTCREATORBUG-3208
Rhys Weatherley [Mon, 29 Nov 2010 03:04:54 +0000 (13:04 +1000)]
Remove type categories from the GLSL AST
Type categories are now handled at semantic analysis time
so we don't need to track them at syntax analysis time.
Rhys Weatherley [Mon, 29 Nov 2010 00:09:22 +0000 (10:09 +1000)]
Use the GLSL/ES system library by default.
Rhys Weatherley [Sun, 28 Nov 2010 23:30:56 +0000 (09:30 +1000)]
Update GLSL system library definitions
dt [Sun, 28 Nov 2010 12:14:04 +0000 (13:14 +0100)]
GenericBuildConfiguration: Use user modified environment
Task-Nr: QTCREATORBUG-3211
Roberto Raggi [Sat, 27 Nov 2010 22:18:51 +0000 (23:18 +0100)]
Oops, NamedTypeAST should produce a Type and not an ExprResult.
Christian Kandeler [Fri, 26 Nov 2010 16:53:13 +0000 (17:53 +0100)]
Maemo: Get rid of some environment setting redundancies.
Reviewed-by: kh1
Tobias Hunger [Fri, 26 Nov 2010 16:10:25 +0000 (17:10 +0100)]
Remove warning about invalid run configurations
Reviewed-by: dt
Arvid Ephraim Picciani [Fri, 26 Nov 2010 15:34:10 +0000 (16:34 +0100)]
lldb: remove runlock
preventing access to functions while inferior is running,
is the job of the gui
Tobias Hunger [Fri, 26 Nov 2010 15:13:54 +0000 (16:13 +0100)]
Symbian: Pass on license file information
Pass on license file information from Qt Creator's environment to the
build environment if that is needed (RVCT compilers).
Arvid Ephraim Picciani [Fri, 26 Nov 2010 15:03:02 +0000 (16:03 +0100)]
lldb: disable gdb emulation by default
since right now there is no way to differ between
'default true' and 'user true' in creator settings
Roberto Raggi [Fri, 26 Nov 2010 14:58:17 +0000 (15:58 +0100)]
Set up the GLSL variant.
Arvid Ephraim Picciani [Fri, 26 Nov 2010 14:57:00 +0000 (15:57 +0100)]
lldb: flush socket after terminator to prevent severe lag
Roberto Raggi [Fri, 26 Nov 2010 14:50:55 +0000 (15:50 +0100)]
Store the numbers and the identifiers in two different sets.
Friedemann Kleint [Fri, 26 Nov 2010 14:51:56 +0000 (15:51 +0100)]
Debugger[New CDDB]: Dump strings and simple Qt types.
Add infrastructure for simple dumpers in Symbol group.
Fix display of class values.
Tobias Hunger [Fri, 26 Nov 2010 14:36:06 +0000 (15:36 +0100)]
Compile fix
Tobias Hunger [Fri, 26 Nov 2010 14:23:25 +0000 (15:23 +0100)]
Compile fix
Roberto Raggi [Fri, 26 Nov 2010 14:14:33 +0000 (15:14 +0100)]
Detect the type of the shader.
Roberto Raggi [Fri, 26 Nov 2010 14:00:46 +0000 (15:00 +0100)]
Initialize the shaders
Arvid Ephraim Picciani [Fri, 26 Nov 2010 14:10:10 +0000 (15:10 +0100)]
lldb: enable lldb through gui configure page
Tobias Hunger [Fri, 26 Nov 2010 11:17:14 +0000 (12:17 +0100)]
Symbian: Introduce RVCT 4 toolchain
Task-number: 2481
Tobias Hunger [Fri, 26 Nov 2010 10:54:38 +0000 (11:54 +0100)]
ToolChain: Rename RVCT toolchains to RVCT2
Reviewed-by: dt
Arvid Ephraim Picciani [Fri, 26 Nov 2010 13:40:45 +0000 (14:40 +0100)]
lldb: detect lldb build in environment WITH_LLDB
Christian Kandeler [Fri, 26 Nov 2010 13:41:04 +0000 (14:41 +0100)]
Maemo: Fix recursive directory removal.
It's not an error if the directory does not exist.