OSDN Git Service
Christian Kamm [Thu, 9 Dec 2010 08:41:43 +0000 (09:41 +0100)]
QmlJS: Set default import paths in constructor.
Also, remove the import path of the Qt that Creator was built with. It
might make things seem to work on built-from-source Creators that will
fail when Creator is shipped.
Reviewed-by: Erik Verbruggen
Thomas Hartmann [Wed, 8 Dec 2010 17:19:57 +0000 (18:19 +0100)]
QmlDesigner: fixes warnings
Thomas Hartmann [Wed, 8 Dec 2010 17:19:40 +0000 (18:19 +0100)]
QmlDesigner.statesEditorView: crash fix
fixes crash on shutdown
hjk [Wed, 8 Dec 2010 17:14:48 +0000 (18:14 +0100)]
debugger: the mainwindow does not have to be in the plugin object pool
Thomas Hartmann [Wed, 8 Dec 2010 17:12:34 +0000 (18:12 +0100)]
QmlDesigner: compile fix
hjk [Wed, 8 Dec 2010 16:56:20 +0000 (17:56 +0100)]
debugger: remove superflous namespace qualifications
hjk [Wed, 8 Dec 2010 16:54:16 +0000 (17:54 +0100)]
debugger: fix crash on exit
Order matters.
Marco Bubke [Wed, 8 Dec 2010 15:46:25 +0000 (16:46 +0100)]
QmlDesigner: Refactor states editor
Reviewed-By: Thomas Hartmann
Leandro Melo [Wed, 8 Dec 2010 15:05:48 +0000 (16:05 +0100)]
Snippets: Remove the snippets manager
Let the collection itself be the singleton.
Leandro Melo [Mon, 6 Dec 2010 10:30:28 +0000 (11:30 +0100)]
Snippets: Add include
Leandro Melo [Fri, 3 Dec 2010 14:55:51 +0000 (15:55 +0100)]
Snippets: Make it flexible for adding builtin snippets
Instead of in one XML embedded as a resource, now builtin
snippets can be specified on any XML distributed under share.
Leandro Melo [Thu, 2 Dec 2010 16:15:35 +0000 (17:15 +0100)]
Snippets: Correct top-left/bottom-right when emiting dataChanged
Leandro Melo [Thu, 2 Dec 2010 16:02:23 +0000 (17:02 +0100)]
Snippets: Make it easier for plugins to add snippets groups
Groups are no longer enum values but identified from snippet providers.
Leandro Melo [Mon, 29 Nov 2010 16:25:01 +0000 (17:25 +0100)]
Snippets: Track begin of first selection
Since in the snippets overlay the selections are created with
ExpandBegin the interest is mostly in detecting when the first one
moved to the left (for example, when an undo is performed right
after inserting the snippet). However, this tracking doesn't need
to necessarily be associated with that flag.
Leandro Melo [Wed, 24 Nov 2010 10:04:24 +0000 (11:04 +0100)]
Snippets: Add more use-cases
- Restored removed built-in snippets.
- Revert a built-in snippet.
- Reset the snippets collection.
Leandro Melo [Tue, 23 Nov 2010 10:31:57 +0000 (11:31 +0100)]
Snippets: Move code from the manager to the collection.
Reloading and synchronizing are now directly accessible from
the collection interface.
Leandro Melo [Mon, 22 Nov 2010 14:09:27 +0000 (15:09 +0100)]
Snippets: Do not update content on window deactivation
Leandro Melo [Tue, 9 Nov 2010 10:53:42 +0000 (11:53 +0100)]
Snippets: Rename a method in the snippet editor.
Leandro Melo [Tue, 9 Nov 2010 10:44:49 +0000 (11:44 +0100)]
Snippets: Set auto-completers.
Leandro Melo [Mon, 8 Nov 2010 10:45:39 +0000 (11:45 +0100)]
Snippets: Enable editor's parentheses matching.
Leandro Melo [Mon, 8 Nov 2010 10:42:07 +0000 (11:42 +0100)]
Snippets: Set indenters.
Leandro Melo [Wed, 3 Nov 2010 09:05:37 +0000 (10:05 +0100)]
Snippets: Make text snippets available to all groups.
And mark the completion item as a snippet.
Leandro Melo [Tue, 2 Nov 2010 14:35:42 +0000 (15:35 +0100)]
Snippets: Synchronize editing of equivalent variables inside snippets.
When editing one variable from a code snippet, all other variables
with the same name are updated accordingly.
Leandro Melo [Wed, 27 Oct 2010 15:38:22 +0000 (17:38 +0200)]
Snippets: Feature enhancement start...
Provide an interface so users can create/edit/remove snippets.
Leandro Melo [Wed, 8 Dec 2010 16:20:45 +0000 (17:20 +0100)]
Compile fix.
Thomas Hartmann [Wed, 8 Dec 2010 16:09:58 +0000 (17:09 +0100)]
QmlDesigner.nodeInstances: changing ordering of notification
This avoids flickering, since parentChanged now
comes after property changed.
Thomas Hartmann [Wed, 8 Dec 2010 15:10:32 +0000 (16:10 +0100)]
QmlDesigner.dragAndDrop: optimize drag and drop behaivour
We select now after the drop event.
Some fixes for the out of process stuff.
Thomas Hartmann [Wed, 8 Dec 2010 09:08:53 +0000 (10:08 +0100)]
QmlDesigner.itemLibrary: simplification
hjk [Wed, 8 Dec 2010 13:08:35 +0000 (14:08 +0100)]
debugger: make memory view updatable
Task-number: QTCREATORBUG-3242
hjk [Wed, 8 Dec 2010 11:43:11 +0000 (12:43 +0100)]
debugger: split debuggeragents.{h,cpp} int {memory,disassembler}agent.{h,cpp}
Friedemann Kleint [Wed, 8 Dec 2010 15:50:40 +0000 (16:50 +0100)]
Symbian/CODA: Add infrastructure for serial communication.
Add USB protocol and chunking.
Kai Koehne [Fri, 3 Dec 2010 16:04:29 +0000 (17:04 +0100)]
QmlProject: Add mainFile property
The mainFile property of QmlProject is the default file to run. People
have still the opportunity to override this in their run settings,
though.
The wizard generated code was updated accordingly. Note that this makes
projects generated by the wizard incompatible with QtCreator 2.1!
Task-number: QTCREATORBUG-3249
Kai Koehne [Fri, 3 Dec 2010 13:32:21 +0000 (14:32 +0100)]
QmlProject: Add autotest for Files element
Christian Kamm [Wed, 8 Dec 2010 12:50:24 +0000 (13:50 +0100)]
C++ indenter: Fix for access declarations and initializer lists.
Reviewed-by: Erik Verbruggen
con [Wed, 8 Dec 2010 10:39:16 +0000 (11:39 +0100)]
Add method to get all the visible "top level" editors in splits.
Christian Kandeler [Wed, 8 Dec 2010 10:20:44 +0000 (11:20 +0100)]
Maemo: Add GUI element to set project description.
con [Wed, 8 Dec 2010 09:57:21 +0000 (10:57 +0100)]
Merge remote branch 'origin/2.1'
Conflicts:
doc/qtcreator.qdoc
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qt4projectmanager/qmakestep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
src/plugins/qt4projectmanager/qtversionmanager.cpp
con [Tue, 7 Dec 2010 15:48:57 +0000 (16:48 +0100)]
Mac: Fix opening ui files in external designer
Friedemann Kleint [Wed, 8 Dec 2010 08:08:59 +0000 (09:08 +0100)]
L10n: Update more German translations.
Task-number: QTCREATORBUG-3312
hjk [Wed, 8 Dec 2010 06:57:20 +0000 (07:57 +0100)]
bineditor: add a facility to invalidate the cache from the outside
This is necessary to handle "live updates". Originally done by ck.
hjk [Tue, 7 Dec 2010 16:34:43 +0000 (17:34 +0100)]
vcsmanager: coding convention
hjk [Tue, 7 Dec 2010 16:28:03 +0000 (17:28 +0100)]
vcsmanager: add comment to currently dead code
Christian Kandeler [Tue, 7 Dec 2010 17:30:36 +0000 (18:30 +0100)]
Maemo: Manage project's display name for package manager.
Task-number: QTCREATORBUG-3063
Christian Kandeler [Tue, 7 Dec 2010 16:33:55 +0000 (17:33 +0100)]
Maemo: Check some meta information before publishing.
dt [Tue, 7 Dec 2010 16:50:58 +0000 (17:50 +0100)]
Qmlprojectplugin: work again
Splitted up patches wrongly
Thomas Hartmann [Tue, 7 Dec 2010 16:33:27 +0000 (17:33 +0100)]
QmlDesigner.rewriter: We use QmlJSCheck now to validate the document
We check the qml file/document now with QmlJSCheck.
We explicitly disable checking of qml types.
Thomas Hartmann [Tue, 7 Dec 2010 16:31:53 +0000 (17:31 +0100)]
QmlJSCheck: adding more checks
We are checking for duplicate ids and duplicate property definitions now.
Thomas Hartmann [Tue, 7 Dec 2010 13:26:00 +0000 (14:26 +0100)]
QmlDesigner.model: nice qDebug output for ModelNode
Thomas Hartmann [Tue, 7 Dec 2010 13:25:32 +0000 (14:25 +0100)]
QmlDesigner.nodeInstances: fixing isValid for NodeInstance
We have to check also for the ModelNode, but we also have to avoid
recursion.
Reviewed-by: Marco Bubke
Thomas Hartmann [Tue, 7 Dec 2010 13:23:46 +0000 (14:23 +0100)]
QmlDesigner.model: properly detach from views
Properly detach from rewriter view and node instance view
on model destruction.
Reviewed-by: Marco Bubke
hjk [Mon, 6 Dec 2010 13:12:38 +0000 (14:12 +0100)]
Replace BaseMode convenience class by individual implementation.
Using the convienience class does not really save code and adds another
needless level in the hierarchy. This affects the three remaining BaseMode
users: Help, ProjectExplorer and HelloWorld.
dt [Mon, 6 Dec 2010 15:28:01 +0000 (16:28 +0100)]
Header cleanup
dt [Mon, 6 Dec 2010 15:25:11 +0000 (16:25 +0100)]
Coding style
dt [Mon, 6 Dec 2010 15:24:29 +0000 (16:24 +0100)]
coding style
dt [Thu, 25 Nov 2010 17:40:02 +0000 (18:40 +0100)]
Qt4ProjectManager: Fix Maemo runconfiguration isEnabled
Reviewed-By: hunger
dt [Thu, 25 Nov 2010 17:38:54 +0000 (18:38 +0100)]
Qt4ProjectManager: Fix Qt4RunConfiguration::isEnabled()
Reviewed-By: hunger
Christian Kamm [Tue, 7 Dec 2010 15:33:22 +0000 (16:33 +0100)]
QmlJS completion: Fix segfault.
Reviewed-by: Lasse Holmstedt
Erik Verbruggen [Tue, 7 Dec 2010 15:20:46 +0000 (16:20 +0100)]
Improved switching between method declarationand definition.
Reviewed-by: Roberto Raggi
dt [Tue, 7 Dec 2010 14:41:26 +0000 (15:41 +0100)]
Qt4ProjectManager: set the displayname and icon on creating new projects
This code is still needed.
Jarek Kobus [Tue, 7 Dec 2010 14:28:44 +0000 (15:28 +0100)]
Handle property nonlinear wizards
Reviewed-by: dt <qtc-committer@nokia.com>
Task-number: QTCREATORBUG-2511
Pawel Polanski [Tue, 7 Dec 2010 14:20:09 +0000 (15:20 +0100)]
Information about the time that took the CODA to process a command.
Christian Kandeler [Tue, 7 Dec 2010 14:05:36 +0000 (15:05 +0100)]
Maemo: Fix path to exectuable in desktop file when publishing.
Friedemann Kleint [Tue, 7 Dec 2010 14:19:35 +0000 (15:19 +0100)]
Windows compile fix.
Christian Kamm [Tue, 7 Dec 2010 13:30:17 +0000 (14:30 +0100)]
C++ indenter: Don't use label indent when typing 'Type:'.
It could easily be followed by another colon.
Reviewed-by: Roberto Raggi
dt [Tue, 7 Dec 2010 12:27:52 +0000 (13:27 +0100)]
Qt4ProjectManager: Actually add the qt4targetfactory to the object pool
Makes Creator useable again :)
dt [Mon, 6 Dec 2010 15:15:41 +0000 (16:15 +0100)]
ProjectExplorer: Move ITargetFactory to object pool
Makes multiple target factories per project possible
Reviewed-By: hunger
dt [Mon, 6 Dec 2010 12:29:18 +0000 (13:29 +0100)]
Qt4: Move Qt4Target and Qt4BC out of the Internal namespace
Reviewed-By: hunger
Thomas Hartmann [Thu, 2 Dec 2010 14:15:14 +0000 (15:15 +0100)]
QmlDesigner.propertyEditor: fix opacity slider bug
The granularity of the slider was to fine.
So 1 could be a rounded 0.99.
Task-number: QTCREATORBUG-3035
Reviewed-by: Marco Bubke
Thomas Hartmann [Thu, 2 Dec 2010 14:13:45 +0000 (15:13 +0100)]
QmlDesigner.nodeInstances: crash fix
PathView creates problems and we do not properly support it anyway.
We just create a dummy instance, instead.
Task-number: QTCREATORBUG-3251
Reviewed-by: Marco Bubke
con [Tue, 7 Dec 2010 11:25:20 +0000 (12:25 +0100)]
compatVersion has nothing to do with Qt Creator version.
Nicolas Arnaud-Cormos [Tue, 7 Dec 2010 11:24:30 +0000 (12:24 +0100)]
Update the template for Qt Creator plugin.
Make it more consistant with the current plugins:
* plugin class use the Plugin template instead of Impl
* add a pluginconstants.h file
* use the new pluginspec.in file
Merge-request: 216
Reviewed-by: con <qtc-committer@nokia.com>
Sami Tikka [Tue, 7 Dec 2010 11:26:42 +0000 (12:26 +0100)]
VCS: Support nested repositories
Find correct version control to use in a repo inside another repo (e.g.
SVN checkout inside a git repo)
Merge-request: 224
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
con [Tue, 7 Dec 2010 09:53:42 +0000 (10:53 +0100)]
Coding style.
Friedemann Kleint [Tue, 7 Dec 2010 10:28:21 +0000 (11:28 +0100)]
L10n: Update German translations.
Task-number: QTCREATORBUG-3305
Friedemann Kleint [Tue, 7 Dec 2010 10:22:39 +0000 (11:22 +0100)]
Debugger[CDB]: Fix crash when printing large arrays.
Terminate string buffer correctly.
Reviewed-by: dt
Task-number: QTCREATORBUG-3271
Kai Koehne [Tue, 30 Nov 2010 15:23:22 +0000 (16:23 +0100)]
QmlWizards: Use 'QtQuick 1.0' namespace
Use the 'QtQuick 1.0' namespace introduced in 4.7.1. This makes them in
line with the examples/demos we ship in the SDK, but breaks for 4.7.0
(e.g. N900).
Task-number: QTCREATORBUG-3243
Friedemann Kleint [Tue, 7 Dec 2010 10:05:25 +0000 (11:05 +0100)]
Symbian[CODA-client]: Copy files in chunks. Fix usage information.
Leandro Melo [Tue, 7 Dec 2010 08:26:39 +0000 (09:26 +0100)]
Gen. highlighter: Improve performance (delimiters)
Make lookup for a delimiter a bit faster.
Leandro Melo [Mon, 6 Dec 2010 18:20:37 +0000 (19:20 +0100)]
Gen. highlighter: Improve performance (reg. exp.)
Cache matches of the RegExprRule to avoid unnecessary calls.
This is essentially the same optimization existent in Kate.
A colateral effect of this implementation is a mechanism to
notify the rules when a progress (highlight of the current
line) is finished.
Thomas Hartmann [Tue, 7 Dec 2010 09:10:11 +0000 (10:10 +0100)]
QmlDesigner.navigator: fixes shown properties
Some enums have the same typname as QDeclarative items.
We have to check for this case.
Bill King [Mon, 6 Dec 2010 23:41:48 +0000 (09:41 +1000)]
Fixes compile
con [Mon, 6 Dec 2010 16:21:03 +0000 (17:21 +0100)]
Make it possible to specify shortcuts for Locator filters.
Task-number: QTCREATORBUG-1147
con [Mon, 6 Dec 2010 16:38:42 +0000 (17:38 +0100)]
Fix crash when using settings dialog filter.
Introduced by
773343f396adb765e3b1837b3d961045e2a10056
Need to ensure widget creation when filtering, because the translated
strings from the widgets are used for key words.
Arvid Ephraim Picciani [Mon, 6 Dec 2010 17:15:53 +0000 (18:15 +0100)]
lldb: remove incorrect running hints from step funcs
the target eventloop emits the correct events when stepping,
(running followed by stop)
its up to the Debuggerruncontrol to fix the raceconditions.
emiting events artificially just makes it worse
Christian Kandeler [Mon, 6 Dec 2010 17:15:11 +0000 (18:15 +0100)]
Mobile wizards: Scale Maemo icon if necessary and approved by user.
Arvid Ephraim Picciani [Mon, 6 Dec 2010 16:59:53 +0000 (17:59 +0100)]
lldb: spit out canonical path for frame source
Thomas Hartmann [Mon, 6 Dec 2010 16:45:51 +0000 (17:45 +0100)]
QmlDesigner.metaSystem: optimizations
Improved caching. Using of hash instead of a list...
Thomas Hartmann [Mon, 6 Dec 2010 16:44:54 +0000 (17:44 +0100)]
QmlDesigner.model: leading '_' is allowed for ids
Thomas Hartmann [Mon, 6 Dec 2010 16:44:25 +0000 (17:44 +0100)]
QmlDesigner.dragAndDrop: fix
This is just a hotfix. We have to find a way to properly
sync with the out of process node instances.
Thomas Hartmann [Mon, 6 Dec 2010 16:43:30 +0000 (17:43 +0100)]
QmlDesigner.itemLibary: keep track of version
We have to define a version for the item library.
Before 4.7 was hardcoded.
Slight update of the itemlibrary.
Thomas Hartmann [Mon, 6 Dec 2010 16:42:05 +0000 (17:42 +0100)]
QmlDesigner.nodeinstanes: crash fix
We have to check if there is a model. Might be detached, already!
Thomas Hartmann [Mon, 6 Dec 2010 16:41:24 +0000 (17:41 +0100)]
QmlDesigner.statesEditorView: Crash fix
The removed node is propably not a state.
Thomas Hartmann [Mon, 6 Dec 2010 16:40:45 +0000 (17:40 +0100)]
QmlDesigner: crashfix
The model() might be deleted already!
Thomas Hartmann [Mon, 6 Dec 2010 16:40:12 +0000 (17:40 +0100)]
QmlDesigner.propertyEditor: fix for webview
Handle different packages
Thomas Hartmann [Mon, 6 Dec 2010 16:39:08 +0000 (17:39 +0100)]
QmlDesigner.propertyEditor: only show writable properties
Thomas Hartmann [Mon, 6 Dec 2010 16:38:45 +0000 (17:38 +0100)]
QmlDesigner.propertyEditor: crashfix
When the property editor is closed before the timer runs out,
now the timer is deleted.
Before we accessed a dangling pointer.
Thomas Hartmann [Mon, 6 Dec 2010 16:37:17 +0000 (17:37 +0100)]
QmlDesigner.navigator: small fix
Do now show any dot properties in the Navigator
Thomas Hartmann [Mon, 6 Dec 2010 16:36:35 +0000 (17:36 +0100)]
QmlDesigner.propertyEditor: support for smooth
Support for smooth in all items
Leena Miettinen [Mon, 6 Dec 2010 16:13:40 +0000 (17:13 +0100)]
Doc: deploy configurations
Publishing to Ovi Store
Reviewed-by: Tobias Hunger
Reviewed-by: Pawel Polanski
Leena Miettinen [Mon, 6 Dec 2010 16:11:45 +0000 (17:11 +0100)]
Doc: explain build, run, and deploy configurations
Reviewed-by: Tobias Hunger