OSDN Git Service
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.
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
hjk [Fri, 26 Nov 2010 11:58:04 +0000 (12:58 +0100)]
debugger: cosmetics
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
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).
Roberto Raggi [Fri, 26 Nov 2010 13:24:03 +0000 (14:24 +0100)]
Added Engine::blockDiagnosticMessages()
Roberto Raggi [Fri, 26 Nov 2010 13:18:50 +0000 (14:18 +0100)]
Load the shader intializers.
Roberto Raggi [Fri, 26 Nov 2010 13:03:05 +0000 (14:03 +0100)]
Added declarations for the GLSL builtins.
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
Thomas Hartmann [Mon, 27 Sep 2010 12:57:22 +0000 (14:57 +0200)]
fixing warnings
Tobias Hunger [Fri, 26 Nov 2010 11:20:44 +0000 (12:20 +0100)]
Symbian: Use clean pathes when setting up PATH
Tobias Hunger [Fri, 26 Nov 2010 11:19:32 +0000 (12:19 +0100)]
Symbian: Make sure to call make.exe on windows
In some situations the build system will try to run make.pl otherwise!
Tobias Hunger [Fri, 26 Nov 2010 10:36:06 +0000 (11:36 +0100)]
Git: Add some tooltips
Add tooltips to the toggles found in the Git Blame and Diff editors.
Friedemann Kleint [Fri, 26 Nov 2010 12:06:03 +0000 (13:06 +0100)]
Debugger: Fix compilation, centralize breakpoint type detection.
Reviewed-by: hjk
Roberto Raggi [Fri, 26 Nov 2010 11:55:24 +0000 (12:55 +0100)]
Run the semantic checker and check for invalid function calls.
Roberto Raggi [Fri, 26 Nov 2010 11:37:05 +0000 (12:37 +0100)]
Propagate the ExprResult::isConstant attribute.
Roberto Raggi [Fri, 26 Nov 2010 11:35:02 +0000 (12:35 +0100)]
Compute the types of literal expressions.
Roberto Raggi [Fri, 26 Nov 2010 11:30:12 +0000 (12:30 +0100)]
Check for undefined symbols.
Roberto Raggi [Fri, 26 Nov 2010 11:24:32 +0000 (12:24 +0100)]
Create symbols for variable declarations.
Roberto Raggi [Fri, 26 Nov 2010 11:20:53 +0000 (12:20 +0100)]
Check for undefined types.
hjk [Fri, 26 Nov 2010 11:30:05 +0000 (12:30 +0100)]
debugger: watchpoint cosmetics
Christian Kandeler [Fri, 26 Nov 2010 11:19:32 +0000 (12:19 +0100)]
Maemo: Fix code redundancy.
Recursively removing a directory was implmented twice.
Roberto Raggi [Fri, 26 Nov 2010 11:08:43 +0000 (12:08 +0100)]
Evaluate the expression's attributes.
Roberto Raggi [Fri, 26 Nov 2010 10:33:49 +0000 (11:33 +0100)]
Added GLSL::OverloadSet.
hjk [Fri, 26 Nov 2010 10:51:12 +0000 (11:51 +0100)]
debugger: compile fix
hjk [Fri, 26 Nov 2010 10:42:24 +0000 (11:42 +0100)]
debugger: link fix
hjk [Fri, 26 Nov 2010 10:38:16 +0000 (11:38 +0100)]
debugger: code cosmetics
hjk [Fri, 26 Nov 2010 10:10:03 +0000 (11:10 +0100)]
debugger: remove unneeded declarations
hjk [Fri, 26 Nov 2010 09:10:00 +0000 (10:10 +0100)]
debugger: code cosmetics
hjk [Fri, 26 Nov 2010 09:20:50 +0000 (10:20 +0100)]
debugger: make DebuggerEngine::acceptsBreakpoint(id) pure
hjk [Fri, 26 Nov 2010 08:58:34 +0000 (09:58 +0100)]
debugger: polish module symbols
hjk [Thu, 25 Nov 2010 17:49:26 +0000 (18:49 +0100)]
debugger: remove needless indirection
Roberto Raggi [Fri, 26 Nov 2010 10:17:30 +0000 (11:17 +0100)]
Show tooltips with the error messages.
Roberto Raggi [Fri, 26 Nov 2010 10:09:32 +0000 (11:09 +0100)]
Made the completion less annoying.
Don't trigger again the completion when completing identifiers.
Roberto Raggi [Fri, 26 Nov 2010 09:59:33 +0000 (10:59 +0100)]
Added indenter, code folding and automagically brace insertion to the GLSL editor.
Christian Kandeler [Fri, 26 Nov 2010 09:41:39 +0000 (10:41 +0100)]
Maemo: Whitespace fixes.
Christian Kandeler [Fri, 26 Nov 2010 09:37:32 +0000 (10:37 +0100)]
Maemo: Fix Harmattan icon workaround.
Don't hardcode PNG format.
Christian Kandeler [Fri, 26 Nov 2010 08:56:05 +0000 (09:56 +0100)]
Maemo: Small deployment refactoring.
Christian Kandeler [Fri, 26 Nov 2010 08:45:10 +0000 (09:45 +0100)]
Maemo: For deployment, use our models directly.
Don't waste time going through the Qt4ProFileNodes.
Rhys Weatherley [Fri, 26 Nov 2010 03:51:45 +0000 (13:51 +1000)]
Add GLSL sampler types to semantic analysis phase
Rhys Weatherley [Fri, 26 Nov 2010 01:06:24 +0000 (11:06 +1000)]
Add support for GLSL array and index types.
Index types are arrays, matrices, and vectors, which can
all be "indexed" by operator[].
Rhys Weatherley [Fri, 26 Nov 2010 00:11:54 +0000 (10:11 +1000)]
Populate GLSL vecN types with swizzled field names
Rhys Weatherley [Fri, 26 Nov 2010 00:06:05 +0000 (10:06 +1000)]
Fix AST for GLSL DeclarationStatement
DeclarationStatement wraps a single declaration, not a list.
hjk [Thu, 25 Nov 2010 17:44:07 +0000 (18:44 +0100)]
debugger: save a few cycles when updating a large locals view
Christian Kandeler [Thu, 25 Nov 2010 16:58:02 +0000 (17:58 +0100)]
Maemo: Allow adding an application launcher icon via the GUI.
Reviewed-by: kh1
con [Thu, 25 Nov 2010 16:51:10 +0000 (17:51 +0100)]
Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline
con [Thu, 25 Nov 2010 16:51:01 +0000 (17:51 +0100)]
Merge remote branch 'origin/2.1'
Conflicts:
src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp
con [Thu, 25 Nov 2010 16:47:56 +0000 (17:47 +0100)]
Fix debugging Symbian gcce raptor built apps.
Local executable is put into a different folder
(always 'armv5' despite it being a 'gcce' build, changed in qmake),
and the symbol file is named 'foo.exe.sym' instead of 'foo.sym'.
Done-by: Friedemann Kleint
Reviewed-by: Pawel Polanski
con [Thu, 25 Nov 2010 16:36:50 +0000 (17:36 +0100)]
Merge commit '
bd8b23d4bad4191367e7c5eb3297769a2477afec' (origin/2.1)
Conflicts:
src/plugins/debugger/qml/qmlengine.cpp
Christiaan Janssen [Thu, 25 Nov 2010 16:30:58 +0000 (17:30 +0100)]
RunControl actions updated when project settings change
Reviewed-by: Kai Koehne
hjk [Thu, 25 Nov 2010 16:16:58 +0000 (17:16 +0100)]
debugger: allow re-running debugger engines
Task-number: QTCREATORBUG-3073
hjk [Thu, 25 Nov 2010 15:32:07 +0000 (16:32 +0100)]
make breakpoint and watchers view more robust when switching sessions
hjk [Thu, 25 Nov 2010 14:16:04 +0000 (15:16 +0100)]
debugger: more manual test clarification.
Friedemann Kleint [Thu, 25 Nov 2010 16:17:06 +0000 (17:17 +0100)]
Debugger[New CDB]: Add SymbolGroupValue for simple dumping.
con [Thu, 18 Nov 2010 17:11:15 +0000 (18:11 +0100)]
Remove some unused / useless api.
con [Thu, 25 Nov 2010 14:54:21 +0000 (15:54 +0100)]
Fix debugging Symbian gcce raptor built apps.
Local executable is put into a different folder
(always 'armv5' despite it being a 'gcce' build, changed in qmake),
and the symbol file is named 'foo.exe.sym' instead of 'foo.sym'.
Done-by: Friedemann Kleint
Reviewed-by: Pawel Polanski
Christian Kamm [Thu, 25 Nov 2010 14:10:25 +0000 (15:10 +0100)]
Export QmlJSEditorEditable.
Rubber-stamped-by: Friedemann Kleint
hjk [Thu, 25 Nov 2010 14:08:18 +0000 (15:08 +0100)]
debugger: add notes that std::container dumpers are python-only
Christian Kamm [Thu, 25 Nov 2010 12:38:15 +0000 (13:38 +0100)]
QmlJS: Add JSLint-style warnings for common JS traps.
Task-number: QTCREATORBUG-3071
Reviewed-by: Erik Verbruggen
Christian Kamm [Wed, 24 Nov 2010 14:12:11 +0000 (15:12 +0100)]
QmlJS: Enhance check pass to do lookup... and disable it.
It still generates too many false-negatives for now. Will be enabled
once the remaining lookup failures have been fixed.
Reviewed-by: Erik Verbruggen
Christian Kamm [Wed, 24 Nov 2010 13:42:10 +0000 (14:42 +0100)]
QmlJS: Fix binding and scoping function expressions.
Reviewed-by: Erik Verbruggen
Christian Kamm [Wed, 24 Nov 2010 08:30:46 +0000 (09:30 +0100)]
QmlJS: Improve error reporting for failed plugin dumps.
Reviewed-by: Erik Verbruggen
Christian Kamm [Tue, 23 Nov 2010 13:30:23 +0000 (14:30 +0100)]
QmlJS: Mark invalid urls and files in url properties as an error.
Reviewed-by: Erik Verbruggen
Christian Kamm [Tue, 23 Nov 2010 13:15:50 +0000 (14:15 +0100)]
QmlJS: Make evaluator understand expression statements.
Reviewed-by: Erik Verbruggen
Christian Kamm [Tue, 23 Nov 2010 11:57:48 +0000 (12:57 +0100)]
QmlJS: Reactivate instantiating component scope detection.
* Bind::usesQmlPrototype is now significantly more performant
* type environments are no longer hashed by filename, but rather
by Document *
* duplicate scope builds are avoided
Task-number: QTCREATORBUG-2835
Reviewed-by: Erik Verbruggen
Christian Kamm [Tue, 23 Nov 2010 11:49:50 +0000 (12:49 +0100)]
QmlJS: Don't use full mime type detection to decide between qml/js.
Determining the mime type is too expensive - and for deciding between
qml and js files comparing suffixes is sufficient.
Reviewed-by: Friedemann Kleint