OSDN Git Service

qt-creator-jp/qt-creator-jp.git
13 years agodebugger: find better separation between runcontrol and engine
hjk [Fri, 10 Dec 2010 09:01:29 +0000 (10:01 +0100)]
debugger: find better separation between runcontrol and engine

13 years agodebugger: minor cleanup
hjk [Fri, 10 Dec 2010 08:37:31 +0000 (09:37 +0100)]
debugger: minor cleanup

13 years agodebugger: the DebuggerRunControlFactory could be internal
hjk [Fri, 10 Dec 2010 08:23:32 +0000 (09:23 +0100)]
debugger: the DebuggerRunControlFactory could be internal

13 years agodebugger: remove displayDebugger() from the plugin interface
hjk [Wed, 8 Dec 2010 17:23:10 +0000 (18:23 +0100)]
debugger: remove displayDebugger() from the plugin interface

13 years agodebugger: make the mode an automatically released object
hjk [Wed, 8 Dec 2010 17:19:49 +0000 (18:19 +0100)]
debugger: make the mode an automatically released object

13 years agoImproved follow symbol under cursor when searching for macro definitions.
Roberto Raggi [Fri, 10 Dec 2010 10:50:36 +0000 (11:50 +0100)]
Improved follow symbol under cursor when searching for macro definitions.

Reviewed-by: Christian Kamm
13 years agoMerge remote branch 'origin/2.1'
con [Fri, 10 Dec 2010 10:09:55 +0000 (11:09 +0100)]
Merge remote branch 'origin/2.1'

13 years agoFlatModel: Fix sorting
dt [Thu, 9 Dec 2010 18:02:15 +0000 (19:02 +0100)]
FlatModel: Fix sorting

Mea culpa

13 years agoDebugger[New CDB]: Work on recoding char *-pointers.
Friedemann Kleint [Fri, 10 Dec 2010 09:47:51 +0000 (10:47 +0100)]
Debugger[New CDB]: Work on recoding char *-pointers.

Latin1/Ucs4. Append hex dump in case non-printable
characters show in default output.

13 years agoTry to get the right overload when switching from a declaration to its definition.
Roberto Raggi [Fri, 10 Dec 2010 09:47:57 +0000 (10:47 +0100)]
Try to get the right overload when switching from a declaration to its definition.

13 years agoAdded some initial support for function overloading.
Roberto Raggi [Fri, 10 Dec 2010 09:32:46 +0000 (10:32 +0100)]
Added some initial support for function overloading.

13 years agoRemove debugging output again
dt [Thu, 9 Dec 2010 19:08:53 +0000 (20:08 +0100)]
Remove debugging output again

13 years agoEnvironmentModel: Fix crash on clicking add twice
dt [Thu, 9 Dec 2010 19:08:10 +0000 (20:08 +0100)]
EnvironmentModel: Fix crash on clicking add twice

Task-Nr: QTCREATORBUG-3336

13 years agoSession Manager: Set corrrect window title after unloading last project
dt [Thu, 9 Dec 2010 18:53:49 +0000 (19:53 +0100)]
Session Manager: Set corrrect window title after unloading last project

Task-Nr: QTCREATORBUG-3337

13 years agoDebugger[New CDB]: Pass formatting parameters.
Friedemann Kleint [Thu, 9 Dec 2010 16:04:43 +0000 (17:04 +0100)]
Debugger[New CDB]: Pass formatting parameters.

Pass around formatting parameters as structure.
Prototypically implement formatting of char *-Pointers
as UTF8.
Transfer registers and modules only if dock window is visible.

13 years agoQmlDesigner: adding Meego plugin
Thomas Hartmann [Thu, 9 Dec 2010 15:43:03 +0000 (16:43 +0100)]
QmlDesigner: adding Meego plugin

13 years agoQmlDesigner: adding Symbian plugin
Thomas Hartmann [Thu, 9 Dec 2010 15:42:47 +0000 (16:42 +0100)]
QmlDesigner: adding Symbian plugin

13 years agoQmlDesigner.metaInfo: crashfix
Thomas Hartmann [Thu, 9 Dec 2010 15:42:09 +0000 (16:42 +0100)]
QmlDesigner.metaInfo: crashfix

getNearestQmlObjectValue() might be 0 if qmldump could not dump the
C++ object.

13 years agoQmlDesigner.itemLibrary: add requiredImport
Thomas Hartmann [Thu, 9 Dec 2010 15:41:14 +0000 (16:41 +0100)]
QmlDesigner.itemLibrary: add requiredImport

13 years agoQmlDesigner.dragAndDrop: properly add imports
Thomas Hartmann [Thu, 9 Dec 2010 15:39:15 +0000 (16:39 +0100)]
QmlDesigner.dragAndDrop: properly add imports

Imports have to be added before transaction starts.

13 years agoQmlDesigner.dragAndDrop: crashfix
Thomas Hartmann [Thu, 9 Dec 2010 15:38:28 +0000 (16:38 +0100)]
QmlDesigner.dragAndDrop: crashfix

dragNode might be invalid!

13 years agoQmlDesigner.propertyEditor: optimize startup
Thomas Hartmann [Thu, 9 Dec 2010 13:19:37 +0000 (14:19 +0100)]
QmlDesigner.propertyEditor: optimize startup

The QApplication::processEvents(); slowed it down.
Rectangle and Text is enough.

13 years agoQmlDesigner.itemLibrary: always show Qml Components first
Thomas Hartmann [Thu, 9 Dec 2010 13:18:55 +0000 (14:18 +0100)]
QmlDesigner.itemLibrary: always show Qml Components first

Also we do translate "Qml Components" anymore since it might get confusing
and all the other categories do not get translated, either.

13 years agoGit: Stop debug message
Tobias Hunger [Thu, 9 Dec 2010 15:41:02 +0000 (16:41 +0100)]
Git: Stop debug message

13 years agoGit: Bring iexisting editors to foreground
Tobias Hunger [Thu, 9 Dec 2010 15:37:37 +0000 (16:37 +0100)]
Git: Bring iexisting editors to foreground

If we have some git operation in an editor already: Bring that to
the foreground.

13 years agoGit: Allow for pretty format selection in git show
Tobias Hunger [Thu, 9 Dec 2010 14:53:45 +0000 (15:53 +0100)]
Git: Allow for pretty format selection in git show

Allow for pretty format selection in git show.

Save selected value and default to "email".

Task-number: QTCREATORBUG-3341

13 years agoQmlDesigner: Add component complete feature
Marco Bubke [Thu, 9 Dec 2010 15:09:37 +0000 (16:09 +0100)]
QmlDesigner: Add component complete feature

This notifies the views if the instance has be really instanced.

13 years agoCertificate management should not throw exceptions when loading Dev Certificates
Pawel Polanski [Thu, 9 Dec 2010 11:03:44 +0000 (12:03 +0100)]
Certificate management should not throw exceptions when loading Dev Certificates

Task-number: QTCREATORBUG-3323
Reviewed-by: Tobias Hunger
13 years agoProjectExplorer, FlatModel: Crash fix
dt [Wed, 8 Dec 2010 17:57:31 +0000 (18:57 +0100)]
ProjectExplorer, FlatModel: Crash fix

sortNodes only ensured a partial ordering, we need a total ordering.

Reviewed-By: con
Task-Nr: QTCREATORBUG-3317
Task-Nr: QTCREATORBUG-3302

13 years agoAdd qtpromaker to gitignores
Marco Bubke [Thu, 9 Dec 2010 12:46:09 +0000 (13:46 +0100)]
Add qtpromaker to gitignores

13 years agoQmlDesigner.NodeInstances: Revert to base state for every state change
Marco Bubke [Thu, 9 Dec 2010 12:44:02 +0000 (13:44 +0100)]
QmlDesigner.NodeInstances: Revert to base state for every state change

This is a woukround and should be fixed later.

13 years agoQmlJS indenter: Fix for expressions starting with numbers or strings.
Christian Kamm [Thu, 9 Dec 2010 12:20:13 +0000 (13:20 +0100)]
QmlJS indenter: Fix for expressions starting with numbers or strings.

Reviewed-by: Roberto Raggi
13 years agoRecent files should remember the editor type as well.
con [Thu, 9 Dec 2010 10:37:58 +0000 (11:37 +0100)]
Recent files should remember the editor type as well.

Task-number: QTCREATORBUG-1785

13 years agoSnippets: Replace forward declaration by include
Leandro Melo [Thu, 9 Dec 2010 10:24:01 +0000 (11:24 +0100)]
Snippets: Replace forward declaration by include

Avoid issues with QXmlStream* classes on Mac.

Reviewed-by: con
13 years agoQt4: Simplify makestep
Tobias Hunger [Thu, 9 Dec 2010 09:41:13 +0000 (10:41 +0100)]
Qt4: Simplify makestep

 * Remove unnecessary member variable.

13 years agoSymbian CODA: Add ping for serial, handle reading long messages.
Friedemann Kleint [Thu, 9 Dec 2010 08:49:23 +0000 (09:49 +0100)]
Symbian CODA: Add ping for serial, handle reading long messages.

Some renaming and cleanup.

13 years agoQmlJS: Set default import paths in constructor.
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
13 years agoQmlDesigner: fixes warnings
Thomas Hartmann [Wed, 8 Dec 2010 17:19:57 +0000 (18:19 +0100)]
QmlDesigner: fixes warnings

13 years agoQmlDesigner.statesEditorView: crash fix
Thomas Hartmann [Wed, 8 Dec 2010 17:19:40 +0000 (18:19 +0100)]
QmlDesigner.statesEditorView: crash fix

fixes crash on shutdown

13 years agodebugger: the mainwindow does not have to be in the plugin object pool
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

13 years agoQmlDesigner: compile fix
Thomas Hartmann [Wed, 8 Dec 2010 17:12:34 +0000 (18:12 +0100)]
QmlDesigner: compile fix

13 years agodebugger: remove superflous namespace qualifications
hjk [Wed, 8 Dec 2010 16:56:20 +0000 (17:56 +0100)]
debugger: remove superflous namespace qualifications

13 years agodebugger: fix crash on exit
hjk [Wed, 8 Dec 2010 16:54:16 +0000 (17:54 +0100)]
debugger: fix crash on exit

Order matters.

13 years agoQmlDesigner: Refactor states editor
Marco Bubke [Wed, 8 Dec 2010 15:46:25 +0000 (16:46 +0100)]
QmlDesigner: Refactor states editor

Reviewed-By: Thomas Hartmann
13 years agoSnippets: Remove the snippets manager
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.

13 years agoSnippets: Add include
Leandro Melo [Mon, 6 Dec 2010 10:30:28 +0000 (11:30 +0100)]
Snippets: Add include

13 years agoSnippets: Make it flexible for adding builtin snippets
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.

13 years agoSnippets: Correct top-left/bottom-right when emiting dataChanged
Leandro Melo [Thu, 2 Dec 2010 16:15:35 +0000 (17:15 +0100)]
Snippets: Correct top-left/bottom-right when emiting dataChanged

13 years agoSnippets: Make it easier for plugins to add snippets groups
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.

13 years agoSnippets: Track begin of first selection
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.

13 years agoSnippets: Add more use-cases
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.

13 years agoSnippets: Move code from the manager to the 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.

13 years agoSnippets: Do not update content on window deactivation
Leandro Melo [Mon, 22 Nov 2010 14:09:27 +0000 (15:09 +0100)]
Snippets: Do not update content on window deactivation

13 years agoSnippets: Rename a method in the snippet editor.
Leandro Melo [Tue, 9 Nov 2010 10:53:42 +0000 (11:53 +0100)]
Snippets: Rename a method in the snippet editor.

13 years agoSnippets: Set auto-completers.
Leandro Melo [Tue, 9 Nov 2010 10:44:49 +0000 (11:44 +0100)]
Snippets: Set auto-completers.

13 years agoSnippets: Enable editor's parentheses matching.
Leandro Melo [Mon, 8 Nov 2010 10:45:39 +0000 (11:45 +0100)]
Snippets: Enable editor's parentheses matching.

13 years agoSnippets: Set indenters.
Leandro Melo [Mon, 8 Nov 2010 10:42:07 +0000 (11:42 +0100)]
Snippets: Set indenters.

13 years agoSnippets: Make text snippets available to all groups.
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.

13 years agoSnippets: Synchronize editing of equivalent variables inside snippets.
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.

13 years agoSnippets: Feature enhancement start...
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.

13 years agoCompile fix.
Leandro Melo [Wed, 8 Dec 2010 16:20:45 +0000 (17:20 +0100)]
Compile fix.

13 years agoQmlDesigner.nodeInstances: changing ordering of notification
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.

13 years agoQmlDesigner.dragAndDrop: optimize drag and drop behaivour
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.

13 years agoQmlDesigner.itemLibrary: simplification
Thomas Hartmann [Wed, 8 Dec 2010 09:08:53 +0000 (10:08 +0100)]
QmlDesigner.itemLibrary: simplification

13 years agodebugger: make memory view updatable
hjk [Wed, 8 Dec 2010 13:08:35 +0000 (14:08 +0100)]
debugger: make memory view updatable

Task-number: QTCREATORBUG-3242

13 years agodebugger: split debuggeragents.{h,cpp} int {memory,disassembler}agent.{h,cpp}
hjk [Wed, 8 Dec 2010 11:43:11 +0000 (12:43 +0100)]
debugger: split debuggeragents.{h,cpp} int {memory,disassembler}agent.{h,cpp}

13 years agoSymbian/CODA: Add infrastructure for serial communication.
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.

13 years agofix navigation
Oswald Buddenhagen [Wed, 8 Dec 2010 15:13:11 +0000 (16:13 +0100)]
fix navigation

Reviewed-by: Leena Miettinen
13 years agoadd fixnavi target for convenience
Oswald Buddenhagen [Wed, 8 Dec 2010 15:01:31 +0000 (16:01 +0100)]
add fixnavi target for convenience

13 years agofix fixing of navigation with multiple files
Oswald Buddenhagen [Wed, 8 Dec 2010 13:46:26 +0000 (14:46 +0100)]
fix fixing of navigation with multiple files

13 years agoFixing several issues in folder deployment
Alessandro Portale [Wed, 8 Dec 2010 15:07:09 +0000 (16:07 +0100)]
Fixing several issues in folder deployment

 - Also copying paths when doing in-source build,
   and not copying paths if source and target differ
 - Quote paths in order to support white spaces
 - Tolerate forward slashes as input paths

Task-Number: QTCREATORBUG-3203
Reviewed-By: ck
Merge-request: 226

13 years agoQmlProject: Add mainFile property
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

13 years agoQmlProject: Add autotest for Files element
Kai Koehne [Fri, 3 Dec 2010 13:32:21 +0000 (14:32 +0100)]
QmlProject: Add autotest for Files element

13 years agoUpdate Polish translations
Jarek Kobus [Wed, 8 Dec 2010 11:24:03 +0000 (12:24 +0100)]
Update Polish translations

Task-number: QTCREATORBUG-3313

13 years agoC++ indenter: Fix for access declarations and initializer lists.
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
13 years agoDoc: opening projects
Leena Miettinen [Wed, 8 Dec 2010 11:28:17 +0000 (12:28 +0100)]
Doc: opening projects

Task-number: QTCREATORBUG-2426

Reviewed-by: Tobias Hunger
13 years agoDoc: replace build example with a Qt Quick application
Leena Miettinen [Tue, 7 Dec 2010 17:05:14 +0000 (18:05 +0100)]
Doc: replace build example with a Qt Quick application

Reviwed-by: Carsten Owerfeldt
13 years agoDoc: fix link to previous page
Leena Miettinen [Tue, 7 Dec 2010 10:58:14 +0000 (11:58 +0100)]
Doc: fix link to previous page

13 years agoAdd method to get all the visible "top level" editors in splits.
con [Wed, 8 Dec 2010 10:39:16 +0000 (11:39 +0100)]
Add method to get all the visible "top level" editors in splits.

13 years agoMaemo: Add GUI element to set project description.
Christian Kandeler [Wed, 8 Dec 2010 10:20:44 +0000 (11:20 +0100)]
Maemo: Add GUI element to set project description.

13 years agoFixed Russian translation of word "Comment"
Sergey Belyashov [Wed, 8 Dec 2010 10:02:39 +0000 (11:02 +0100)]
Fixed Russian translation of word "Comment"

Merge-request: 2184
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
13 years agoMerge remote branch 'origin/2.1'
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

13 years agoREADME: QmlJSInspector does not require private headers any more
Kai Koehne [Wed, 8 Dec 2010 08:05:44 +0000 (09:05 +0100)]
README: QmlJSInspector does not require private headers any more

QmlJSInspector does not depend on Qt private headers being available
any more: The needed private API files have been copied into the
QtCreator source repo.

13 years agoMac: Fix opening ui files in external designer
con [Tue, 7 Dec 2010 15:48:57 +0000 (16:48 +0100)]
Mac: Fix opening ui files in external designer

13 years agoL10n: Update more German translations.
Friedemann Kleint [Wed, 8 Dec 2010 08:08:59 +0000 (09:08 +0100)]
L10n: Update more German translations.

Task-number: QTCREATORBUG-3312

13 years agobineditor: add a facility to invalidate the cache from the outside
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.

13 years agovcsmanager: coding convention
hjk [Tue, 7 Dec 2010 16:34:43 +0000 (17:34 +0100)]
vcsmanager: coding convention

13 years agovcsmanager: add comment to currently dead code
hjk [Tue, 7 Dec 2010 16:28:03 +0000 (17:28 +0100)]
vcsmanager: add comment to currently dead code

13 years agoMaemo: Manage project's display name for package manager.
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

13 years agoMaemo: Check some meta information before publishing.
Christian Kandeler [Tue, 7 Dec 2010 16:33:55 +0000 (17:33 +0100)]
Maemo: Check some meta information before publishing.

13 years agoQmlprojectplugin: work again
dt [Tue, 7 Dec 2010 16:50:58 +0000 (17:50 +0100)]
Qmlprojectplugin: work again

Splitted up patches wrongly

13 years agoQmlDesigner.rewriter: We use QmlJSCheck now to validate the document
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.

13 years agoQmlJSCheck: adding more checks
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.

13 years agoQmlDesigner.model: nice qDebug output for ModelNode
Thomas Hartmann [Tue, 7 Dec 2010 13:26:00 +0000 (14:26 +0100)]
QmlDesigner.model: nice qDebug output for ModelNode

13 years agoQmlDesigner.nodeInstances: fixing isValid for NodeInstance
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
13 years agoQmlDesigner.model: properly detach from views
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
13 years agoReplace BaseMode convenience class by individual implementation.
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.

13 years agoHeader cleanup
dt [Mon, 6 Dec 2010 15:28:01 +0000 (16:28 +0100)]
Header cleanup

13 years agoCoding style
dt [Mon, 6 Dec 2010 15:25:11 +0000 (16:25 +0100)]
Coding style

13 years agocoding style
dt [Mon, 6 Dec 2010 15:24:29 +0000 (16:24 +0100)]
coding style