OSDN Git Service

qt-creator-jp/qt-creator-jp.git
13 years agoQmlDesigner.NodeInstances: React to removed import
Marco Bubke [Thu, 25 Nov 2010 16:38:48 +0000 (17:38 +0100)]
QmlDesigner.NodeInstances: React to removed import

13 years agoMaemo: Only add target deployment for the current toolchain.
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

13 years agoMaemo: Set Qemu environment once instead of at every start.
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
13 years agoMaemo: Move .pro file scope generation to a dedicated function.
Christian Kandeler [Tue, 30 Nov 2010 16:53:08 +0000 (17:53 +0100)]
Maemo: Move .pro file scope generation to a dedicated function.

13 years agoMaemo: Fix Qemu file path once instead of at every start.
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
13 years agodebugger: remove unneeded argument from templateArgument()
hjk [Tue, 30 Nov 2010 16:14:44 +0000 (17:14 +0100)]
debugger: remove unneeded argument from templateArgument()

13 years agoReactivate the argument hints.
Roberto Raggi [Tue, 30 Nov 2010 16:21:30 +0000 (17:21 +0100)]
Reactivate the argument hints.

13 years agodebugger: replace a few 'template_argument(0)' by the templateArgument wrapper
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

13 years agodebugger: work around gdb 7.2 bug
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

13 years agoMerge remote branch 'origin/2.1' into master
con [Tue, 30 Nov 2010 15:45:04 +0000 (16:45 +0100)]
Merge remote branch 'origin/2.1' into master

13 years agoShow buttons only when more than one tip is available
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
13 years agoShow the argument hints only when the cursor is at the right of an open brace.
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.

13 years agoDon't skip gl_* symbols.
Roberto Raggi [Tue, 30 Nov 2010 15:27:46 +0000 (16:27 +0100)]
Don't skip gl_* symbols.

13 years agoMark the current argument.
Roberto Raggi [Tue, 30 Nov 2010 15:25:03 +0000 (16:25 +0100)]
Mark the current argument.

13 years agoProcess constructors.
Roberto Raggi [Tue, 30 Nov 2010 15:21:36 +0000 (16:21 +0100)]
Process constructors.

13 years agoProcess binary expressions.
Roberto Raggi [Tue, 30 Nov 2010 15:10:07 +0000 (16:10 +0100)]
Process binary expressions.

13 years agoHandle logical xor.
Roberto Raggi [Tue, 30 Nov 2010 14:47:03 +0000 (15:47 +0100)]
Handle logical xor.

13 years agoHandle the long float suffix.
Roberto Raggi [Tue, 30 Nov 2010 14:44:32 +0000 (15:44 +0100)]
Handle the long float suffix.

13 years agodebugger: show breakpoint markers more often again
hjk [Tue, 30 Nov 2010 14:44:29 +0000 (15:44 +0100)]
debugger: show breakpoint markers more often again

13 years agoShow the signatures in a tooltip when completing functions.
Roberto Raggi [Tue, 30 Nov 2010 14:42:18 +0000 (15:42 +0100)]
Show the signatures in a tooltip when completing functions.

13 years agoMaemo: Move "mad info" parsing for Qemu specs into dedicated classes.
Christian Kandeler [Tue, 30 Nov 2010 14:31:15 +0000 (15:31 +0100)]
Maemo: Move "mad info" parsing for Qemu specs into dedicated classes.

13 years agoMaemo: Move MaemoQemuRuntime class to its own file.
Christian Kandeler [Tue, 30 Nov 2010 13:25:21 +0000 (14:25 +0100)]
Maemo: Move MaemoQemuRuntime class to its own file.

13 years agoMaemo: Rename "Runtime" class to make the name more unique.
Christian Kandeler [Tue, 30 Nov 2010 13:14:55 +0000 (14:14 +0100)]
Maemo: Rename "Runtime" class to make the name more unique.

13 years agoDebugger[New CDB]: Add infrastructure for casting/adding symbols.
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.

13 years agodebugger: fix QVariant dumper corner case
hjk [Tue, 30 Nov 2010 12:50:25 +0000 (13:50 +0100)]
debugger: fix QVariant dumper corner case

13 years agoMaemo: Support new "mad info" schema.
Christian Kandeler [Tue, 30 Nov 2010 12:45:15 +0000 (13:45 +0100)]
Maemo: Support new "mad info" schema.

Reviewed-by: kh1
13 years agodebugger: make "threadspec" an int instead of a bytearray
hjk [Tue, 30 Nov 2010 12:39:01 +0000 (13:39 +0100)]
debugger: make "threadspec" an int instead of a bytearray

13 years agodebygger: remove unused code
hjk [Tue, 30 Nov 2010 11:49:09 +0000 (12:49 +0100)]
debygger: remove unused code

13 years agodebugger: less magic state transitions in the break handler
hjk [Tue, 30 Nov 2010 11:47:53 +0000 (12:47 +0100)]
debugger: less magic state transitions in the break handler

13 years agoQmlDump: Fix use with namespaced types.
Christian Kamm [Tue, 30 Nov 2010 12:27:19 +0000 (13:27 +0100)]
QmlDump: Fix use with namespaced types.

Reviewed-by: Roberto Raggi
13 years agoWindow title didn't show nice name for e.g. diff views.
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

13 years agoSupport symbolic links in the file manager.
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.

13 years agoQmlEngine: handling breakpoint insertions/removals
Christiaan Janssen [Tue, 30 Nov 2010 10:35:17 +0000 (11:35 +0100)]
QmlEngine:  handling breakpoint insertions/removals

Reviewed-by: hjk
13 years agoDebuggerEngine: fix shutdown when run failed
Christiaan Janssen [Mon, 29 Nov 2010 16:12:43 +0000 (17:12 +0100)]
DebuggerEngine:  fix shutdown when run failed

Reviewed-by: hjk
13 years agoQmlJS: Don't trigger completion for '/' outside string literals.
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
13 years agoMaemo: Make SSH connection error messages a bit more helpful.
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

13 years agodebugger: mark breakpoints as 'insertion proceeding' in qml debugger
hjk [Tue, 30 Nov 2010 09:03:20 +0000 (10:03 +0100)]
debugger: mark breakpoints as 'insertion proceeding' in qml debugger

13 years agodebugger: add a few more asserts
hjk [Tue, 30 Nov 2010 09:00:33 +0000 (10:00 +0100)]
debugger: add a few more asserts

13 years agodebugger: make breakpoint enables state visible in the breakpoint dialog
hjk [Tue, 30 Nov 2010 07:59:22 +0000 (08:59 +0100)]
debugger: make breakpoint enables state visible in the breakpoint dialog

13 years agodebugger: cosmetics
hjk [Mon, 29 Nov 2010 17:59:30 +0000 (18:59 +0100)]
debugger: cosmetics

13 years agoQmlProject: Fix crash for invalid Qt version
Kai Koehne [Tue, 30 Nov 2010 06:48:58 +0000 (07:48 +0100)]
QmlProject: Fix crash for invalid Qt version

Regression introduced by dcd1876d5ba.

13 years agoSort most relevant swizzle orderings to the top
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.

13 years agoRecover from unfinished do-while loops.
Roberto Raggi [Mon, 29 Nov 2010 21:21:02 +0000 (22:21 +0100)]
Recover from unfinished do-while loops.

13 years agoFix usage of mad command, seems we depend on the system env.
kh1 [Mon, 29 Nov 2010 17:35:07 +0000 (18:35 +0100)]
Fix usage of mad command, seems we depend on the system env.

13 years agoEvaluate member accesses.
Roberto Raggi [Mon, 29 Nov 2010 17:16:44 +0000 (18:16 +0100)]
Evaluate member accesses.

13 years agoImplemented some basic code completion.
Roberto Raggi [Mon, 29 Nov 2010 16:21:47 +0000 (17:21 +0100)]
Implemented some basic code completion.

13 years agoBauhaus: Fix border around zoom actiom
dt [Mon, 29 Nov 2010 16:10:32 +0000 (17:10 +0100)]
Bauhaus: Fix border around zoom actiom

Reviewed-By: Jens Bache-Wiig
13 years agolldb: move away from local sockets to stdio coms
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

13 years agolddb: fix tons of missing breaks
Arvid Ephraim Picciani [Fri, 26 Nov 2010 15:47:10 +0000 (16:47 +0100)]
lddb: fix tons of missing breaks

13 years agodebugger: forward-port 49cac3d4484faf9308260d77cb1562c3a756b41e
hjk [Mon, 29 Nov 2010 15:53:40 +0000 (16:53 +0100)]
debugger: forward-port 49cac3d4484faf9308260d77cb1562c3a756b41e

Mis-merge?

13 years agoQmlProject: Restrict UI to using the System Environment
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).

13 years agoQmlProject: Allow user to change process 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

13 years agoQmlProject: Split RunConfiguration, ..Widget into two classes
Kai Koehne [Mon, 29 Nov 2010 10:42:58 +0000 (11:42 +0100)]
QmlProject: Split RunConfiguration, ..Widget into two classes

13 years agoQmlProject: Code cleanup
Kai Koehne [Mon, 29 Nov 2010 08:45:30 +0000 (09:45 +0100)]
QmlProject: Code cleanup

13 years agodebugger: remove "debug debugging helper" option
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.

13 years agodebugger: remove unneeded argument to showToolTip
hjk [Mon, 29 Nov 2010 12:38:02 +0000 (13:38 +0100)]
debugger: remove unneeded argument to showToolTip

13 years agodebugger: remove toying with semitransparent tooltips
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

13 years agodebugger: output a log message for spurious SIGTRAP
hjk [Fri, 26 Nov 2010 13:35:36 +0000 (14:35 +0100)]
debugger: output a log message for spurious SIGTRAP

13 years agoDebugger[new CDB]: Add support for more core types.
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.

13 years agoQmlJS: Don't warn about expression statements in script bindings.
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
13 years agoAdd missing include.
Christian Kamm [Mon, 29 Nov 2010 10:53:51 +0000 (11:53 +0100)]
Add missing include.

13 years agoQmlJS: Don't warn for "string == ''" and "boolean == true".
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
13 years agoQmlJS: Don't warn on 'numbervalue == 0'.
Christian Kamm [Mon, 29 Nov 2010 10:20:07 +0000 (11:20 +0100)]
QmlJS: Don't warn on 'numbervalue == 0'.

Reviewed-by: Roberto Raggi
13 years agoQmlDesigner.metaInfo: crash fix
Thomas Hartmann [Thu, 25 Nov 2010 08:44:04 +0000 (09:44 +0100)]
QmlDesigner.metaInfo: crash fix

13 years agoQmlDesigner.rewriter: crash fix
Thomas Hartmann [Thu, 25 Nov 2010 08:44:52 +0000 (09:44 +0100)]
QmlDesigner.rewriter: crash fix

These sanity checks are needed

13 years agoQmlDesigner.propertyEditor: speedup loading of QmlDesigner
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

13 years agoFix syntax highlighting of multiline QMLJS strings
Rhys Weatherley [Mon, 29 Nov 2010 04:00:43 +0000 (14:00 +1000)]
Fix syntax highlighting of multiline QMLJS strings

13 years agoSimple error recovery.
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.

13 years agoQmlJS: Remove overzealous 'undefined' check for enums.
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

13 years agoRemove type categories from the GLSL AST
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.

13 years agoUse the GLSL/ES system library by default.
Rhys Weatherley [Mon, 29 Nov 2010 00:09:22 +0000 (10:09 +1000)]
Use the GLSL/ES system library by default.

13 years agoUpdate GLSL system library definitions
Rhys Weatherley [Sun, 28 Nov 2010 23:30:56 +0000 (09:30 +1000)]
Update GLSL system library definitions

13 years agoGenericBuildConfiguration: Use user modified environment
dt [Sun, 28 Nov 2010 12:14:04 +0000 (13:14 +0100)]
GenericBuildConfiguration: Use user modified environment

Task-Nr: QTCREATORBUG-3211

13 years agoOops, NamedTypeAST should produce a Type and not an ExprResult.
Roberto Raggi [Sat, 27 Nov 2010 22:18:51 +0000 (23:18 +0100)]
Oops, NamedTypeAST should produce a Type and not an ExprResult.

13 years agoMaemo: Get rid of some environment setting redundancies.
Christian Kandeler [Fri, 26 Nov 2010 16:53:13 +0000 (17:53 +0100)]
Maemo: Get rid of some environment setting redundancies.

Reviewed-by: kh1
13 years agoRemove warning about invalid run configurations
Tobias Hunger [Fri, 26 Nov 2010 16:10:25 +0000 (17:10 +0100)]
Remove warning about invalid run configurations

Reviewed-by: dt
13 years agolldb: remove runlock
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

13 years agoSymbian: Pass on license file information
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).

13 years agolldb: disable gdb emulation by default
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

13 years agoSet up the GLSL variant.
Roberto Raggi [Fri, 26 Nov 2010 14:58:17 +0000 (15:58 +0100)]
Set up the GLSL variant.

13 years agolldb: flush socket after terminator to prevent severe lag
Arvid Ephraim Picciani [Fri, 26 Nov 2010 14:57:00 +0000 (15:57 +0100)]
lldb: flush socket after terminator to prevent severe lag

13 years agoStore the numbers and the identifiers in two different sets.
Roberto Raggi [Fri, 26 Nov 2010 14:50:55 +0000 (15:50 +0100)]
Store the numbers and the identifiers in two different sets.

13 years agoDebugger[New CDDB]: Dump strings and simple Qt types.
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.

13 years agoCompile fix
Tobias Hunger [Fri, 26 Nov 2010 14:36:06 +0000 (15:36 +0100)]
Compile fix

13 years agoCompile fix
Tobias Hunger [Fri, 26 Nov 2010 14:23:25 +0000 (15:23 +0100)]
Compile fix

13 years agoDetect the type of the shader.
Roberto Raggi [Fri, 26 Nov 2010 14:14:33 +0000 (15:14 +0100)]
Detect the type of the shader.

13 years agoInitialize the shaders
Roberto Raggi [Fri, 26 Nov 2010 14:00:46 +0000 (15:00 +0100)]
Initialize the shaders

13 years agolldb: enable lldb through gui configure page
Arvid Ephraim Picciani [Fri, 26 Nov 2010 14:10:10 +0000 (15:10 +0100)]
lldb: enable lldb through gui configure page

13 years agoSymbian: Introduce RVCT 4 toolchain
Tobias Hunger [Fri, 26 Nov 2010 11:17:14 +0000 (12:17 +0100)]
Symbian: Introduce RVCT 4 toolchain

Task-number: 2481

13 years agoToolChain: Rename RVCT toolchains to RVCT2
Tobias Hunger [Fri, 26 Nov 2010 10:54:38 +0000 (11:54 +0100)]
ToolChain: Rename RVCT toolchains to RVCT2

Reviewed-by: dt
13 years agolldb: detect lldb build in environment WITH_LLDB
Arvid Ephraim Picciani [Fri, 26 Nov 2010 13:40:45 +0000 (14:40 +0100)]
lldb: detect lldb build in environment WITH_LLDB

13 years agoMaemo: Fix recursive directory removal.
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.

13 years agodebugger: fix state after error output to -exec-interrupt
hjk [Fri, 26 Nov 2010 13:23:52 +0000 (14:23 +0100)]
debugger: fix state after error output to -exec-interrupt

Task-number: QTCREATORBUG-2850

13 years agodebugger: cosmetics
hjk [Fri, 26 Nov 2010 11:58:04 +0000 (12:58 +0100)]
debugger: cosmetics

13 years agoQmlJS: Allow QML plugins to ship pre-dumped type descriptions.
Christian Kamm [Fri, 26 Nov 2010 13:24:59 +0000 (14:24 +0100)]
QmlJS: Allow QML plugins to ship pre-dumped type descriptions.

If there's a library.xml file next to the qmldir file, Creator will
read that instead of trying to run qmldump on the library.

Reviewed-by: Erik Verbruggen
13 years agoReport only one error message for line (well, at least for now).
Roberto Raggi [Fri, 26 Nov 2010 13:25:24 +0000 (14:25 +0100)]
Report only one error message for line (well, at least for now).

13 years agoAdded Engine::blockDiagnosticMessages()
Roberto Raggi [Fri, 26 Nov 2010 13:24:03 +0000 (14:24 +0100)]
Added Engine::blockDiagnosticMessages()

13 years agoLoad the shader intializers.
Roberto Raggi [Fri, 26 Nov 2010 13:18:50 +0000 (14:18 +0100)]
Load the shader intializers.

13 years agoAdded declarations for the GLSL builtins.
Roberto Raggi [Fri, 26 Nov 2010 13:03:05 +0000 (14:03 +0100)]
Added declarations for the GLSL builtins.

13 years agoBuild fix for tools
Thomas Hartmann [Fri, 26 Nov 2010 13:24:44 +0000 (14:24 +0100)]
Build fix for tools

We have to check for Qt Versions and private headers to build qmlpuppet.

Reviewed-by: Kai Koehne