OSDN Git Service

qt-creator-jp/qt-creator-jp.git
14 years agoQmlDesigner: fix text context pane
Thomas Hartmann [Wed, 7 Jul 2010 11:06:46 +0000 (13:06 +0200)]
QmlDesigner: fix text context pane

14 years agoqmljsrewriter: adapt rewriter to ChangeSet api changes
Thomas Hartmann [Wed, 7 Jul 2010 11:05:25 +0000 (13:05 +0200)]
qmljsrewriter: adapt rewriter to ChangeSet api changes

14 years agoAdd unit test for QTCREATORBUG-597
Tobias Hunger [Wed, 7 Jul 2010 08:23:24 +0000 (10:23 +0200)]
Add unit test for QTCREATORBUG-597

 * This is already implicitly tested, but since the reporter
   claims that there was a regression I explicitly added this test.
 * No change needed to make the unit test pass.

14 years agoFix compilation with installed qt
dt [Tue, 6 Jul 2010 10:48:40 +0000 (12:48 +0200)]
Fix compilation with installed qt

14 years agoTask hub
dt [Tue, 6 Jul 2010 10:11:15 +0000 (12:11 +0200)]
Task hub

14 years agofix crash
mae [Wed, 7 Jul 2010 09:13:24 +0000 (11:13 +0200)]
fix crash

confusion between columns and character positions

14 years agoUse current file path (not dir path) for open file
mae [Wed, 7 Jul 2010 09:02:32 +0000 (11:02 +0200)]
Use current file path (not dir path) for open file

This makes it possible to open a pro-file with the locator,
then doing Ctrl+O Enter to load the project.

14 years agoMaemo: Fix deployment.
ck [Wed, 7 Jul 2010 09:15:18 +0000 (11:15 +0200)]
Maemo: Fix deployment.

This broke after the introduction of a deploy step type.

14 years agoQt4Projectmanager: Constify some member functions.
ck [Tue, 6 Jul 2010 12:32:33 +0000 (14:32 +0200)]
Qt4Projectmanager: Constify some member functions.

Reviewed-by: dt
14 years agoRefactored CheckUndefinedSymbols to use RunFunctionTaskBase.
Roberto Raggi [Wed, 7 Jul 2010 07:42:56 +0000 (09:42 +0200)]
Refactored CheckUndefinedSymbols to use RunFunctionTaskBase.

This will eventually fix a few leaks we introduced in the semantic highlighter.

14 years agoAdd Deploy steps
Tobias Hunger [Tue, 6 Jul 2010 15:56:01 +0000 (17:56 +0200)]
Add Deploy steps

 * Add "Deploy" to BuildSteps::Type
 * Update UIs to handle deploy steps
 * Turn existing package creation steps from build type to deploy type
 * Move packaging steps into deploy steps when loading projects

Reviewed-by: dt
14 years agoImprove save/restore of buildsteps
Tobias Hunger [Tue, 6 Jul 2010 15:53:45 +0000 (17:53 +0200)]
Improve save/restore of buildsteps

 * Inspect the BuildStep::Type enum for key names in fromMap/toMap

Reviewed-by: dt
14 years agoRename StepType to BuildStep::Type
Tobias Hunger [Tue, 6 Jul 2010 15:49:09 +0000 (17:49 +0200)]
Rename StepType to BuildStep::Type

 * Move and rename the enum
 * Add Q_ENUMS macro

Reviewed-by: dt
14 years agoRemoved unneeded reimplementation of virtual function.
Robert Loehning [Tue, 6 Jul 2010 14:53:48 +0000 (16:53 +0200)]
Removed unneeded reimplementation of virtual function.

14 years agoRemove unused variable
Tobias Hunger [Tue, 6 Jul 2010 15:16:49 +0000 (17:16 +0200)]
Remove unused variable

14 years agoFix directory separator
Tobias Hunger [Tue, 6 Jul 2010 13:43:44 +0000 (15:43 +0200)]
Fix directory separator

14 years agoMerge remote branch 'origin/2.0'
con [Tue, 6 Jul 2010 13:34:50 +0000 (15:34 +0200)]
Merge remote branch 'origin/2.0'

Conflicts:
share/qtcreator/gdbmacros/dumper.py
src/libs/qmljs/qmljs-lib.pri
src/plugins/fakevim/fakevimhandler.cpp

14 years agoFixed a crash when deleting files from a project under certain conditions
Sebastian Hartte [Tue, 6 Jul 2010 13:19:53 +0000 (15:19 +0200)]
Fixed a crash when deleting files from a project under certain conditions

Task-number: QTCREATORBUG-1804
Merge-request: 2168
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
14 years agoAdded option to toggle check state in TargetSetupPage.
Robert Loehning [Tue, 6 Jul 2010 13:00:14 +0000 (15:00 +0200)]
Added option to toggle check state in TargetSetupPage.

14 years agoApplication output always scrolled, and moved the cursor.
con [Tue, 6 Jul 2010 13:06:33 +0000 (15:06 +0200)]
Application output always scrolled, and moved the cursor.

Task-number: QTCREATORBUG-1790
Reviewed-by: dt
Reviewed-by: mae
14 years agoScroll Application Output to end also for project explorer messages.
con [Tue, 6 Jul 2010 12:32:53 +0000 (14:32 +0200)]
Scroll Application Output to end also for project explorer messages.

Task-number: QTCREATORBUG-1405
Reviewed-by: dt
14 years agoC++ editor: Put the changes for indenting a selection in an edit block.
Christian Kamm [Tue, 6 Jul 2010 13:04:37 +0000 (15:04 +0200)]
C++ editor: Put the changes for indenting a selection in an edit block.

Reviewed-by: Roberto Raggi
14 years agoC++ editor: Use the new indenter to make indenting selections fast.
Christian Kamm [Tue, 6 Jul 2010 12:52:38 +0000 (14:52 +0200)]
C++ editor: Use the new indenter to make indenting selections fast.

14 years agoC++ indenter: Add more functions to manage the indenter state.
Christian Kamm [Tue, 6 Jul 2010 12:41:34 +0000 (14:41 +0200)]
C++ indenter: Add more functions to manage the indenter state.

14 years agoqmldesigner: compile fix for linux, compile fix for namespaced Qt
hjk [Tue, 6 Jul 2010 12:36:02 +0000 (14:36 +0200)]
qmldesigner: compile fix for linux, compile fix for namespaced Qt

14 years agoCompute the dependecy table on demand.
Roberto Raggi [Tue, 6 Jul 2010 12:34:59 +0000 (14:34 +0200)]
Compute the dependecy table on demand.

14 years agoCompress the usages.
Roberto Raggi [Tue, 6 Jul 2010 10:42:55 +0000 (12:42 +0200)]
Compress the usages.

14 years agofakevim: make Ctrl-V <Tab> and Ctrl-V <Return> work in Insert and Ex mode
hjk [Tue, 6 Jul 2010 07:20:40 +0000 (09:20 +0200)]
fakevim: make Ctrl-V <Tab> and Ctrl-V <Return> work in Insert and Ex mode
(cherry picked from commit cbdd9202d23f9cf3a2429bf56bd03cd90937d3e8)

14 years agofakevim: fix up/down movement in the presence of real tabs
hjk [Tue, 6 Jul 2010 08:12:21 +0000 (10:12 +0200)]
fakevim: fix up/down movement in the presence of real tabs
(cherry picked from commit 2e09a8f42171b5daf58d90af386580be4e178bd5)

14 years agofakevim: fix insert of Tabs
hjk [Tue, 6 Jul 2010 07:27:56 +0000 (09:27 +0200)]
fakevim: fix insert of Tabs
(cherry picked from commit d3cea8a4d14f22e2bfa40691d3063aceff4b4d78)

14 years agodebugger: remove some debug output
hjk [Tue, 6 Jul 2010 08:57:59 +0000 (10:57 +0200)]
debugger: remove some debug output

14 years agofakevim: fix up/down movement in the presence of real tabs
hjk [Tue, 6 Jul 2010 08:12:21 +0000 (10:12 +0200)]
fakevim: fix up/down movement in the presence of real tabs

14 years agofakevim: fix insert of Tabs
hjk [Tue, 6 Jul 2010 07:27:56 +0000 (09:27 +0200)]
fakevim: fix insert of Tabs

14 years agofakevim: make Ctrl-V <Tab> and Ctrl-V <Return> work in Insert and Ex mode
hjk [Tue, 6 Jul 2010 07:20:40 +0000 (09:20 +0200)]
fakevim: make Ctrl-V <Tab> and Ctrl-V <Return> work in Insert and Ex mode

14 years agoC++ indenter: Add special case rule for indenting enums.
Christian Kamm [Tue, 6 Jul 2010 11:54:21 +0000 (13:54 +0200)]
C++ indenter: Add special case rule for indenting enums.

So you now get
enum A { a = 2,
         b = 3,
       };

14 years agoC++ indenter: Require explicit state update requests.
Christian Kamm [Tue, 6 Jul 2010 11:52:49 +0000 (13:52 +0200)]
C++ indenter: Require explicit state update requests.

This will allow much faster indenting of selected areas as the state
doesn't have to be checked again for every line.

14 years agoFix autotest build for cplusplus based tests.
Christian Kamm [Tue, 6 Jul 2010 11:50:24 +0000 (13:50 +0200)]
Fix autotest build for cplusplus based tests.

Reviewed-by: Roberto Raggi
14 years agoMore completion fixes.
Erik Verbruggen [Tue, 6 Jul 2010 11:10:24 +0000 (13:10 +0200)]
More completion fixes.

14 years agodebugger: backport small fixes and synchronized code layout with master
hjk [Tue, 6 Jul 2010 10:43:48 +0000 (12:43 +0200)]
debugger: backport small fixes and synchronized code layout with master

14 years agoC++ editor: Drop extra selections before large editing operations.
Christian Kamm [Tue, 6 Jul 2010 10:27:22 +0000 (12:27 +0200)]
C++ editor: Drop extra selections before large editing operations.

Updating the text cursors that the extra selections are based on can
get quite slow if there are changes in a lot of positions - like when
reindenting a file.

Dropping some text cursors can increase performance significantly in
these cases.

Done-with: mae

14 years agoCut off the forward navigation history to avoid messing it up.
con [Tue, 6 Jul 2010 10:19:27 +0000 (12:19 +0200)]
Cut off the forward navigation history to avoid messing it up.

There are cases like when editing, or when jumping to a line, where we
shouldn't cut it though (so we don't).

Task-number: QTCREATORBUG-1535

14 years agoMaemo: Prepare infrastructure for proper subdirs support.
ck [Tue, 6 Jul 2010 10:04:53 +0000 (12:04 +0200)]
Maemo: Prepare infrastructure for proper subdirs support.

No difference in functionality yet.

Reviewed-by: kh1
14 years agoQmlDesigner: adding context pane into the object pool
Thomas Hartmann [Tue, 6 Jul 2010 09:11:27 +0000 (11:11 +0200)]
QmlDesigner: adding context pane into the object pool

14 years agoQmlDesigner: adding QmlContextPane
Thomas Hartmann [Tue, 6 Jul 2010 09:10:23 +0000 (11:10 +0200)]
QmlDesigner: adding QmlContextPane

14 years agoQmlDesigner.propertyEditor: adding new widgets
Thomas Hartmann [Tue, 6 Jul 2010 09:05:43 +0000 (11:05 +0200)]
QmlDesigner.propertyEditor: adding new widgets

14 years agoQmlDesigner: adding a setting for the context pane
Thomas Hartmann [Tue, 6 Jul 2010 08:59:01 +0000 (10:59 +0200)]
QmlDesigner: adding a setting for the context pane

14 years agoAdding interface for context widget to qmljs lib
Thomas Hartmann [Tue, 6 Jul 2010 08:39:32 +0000 (10:39 +0200)]
Adding interface for context widget to qmljs lib

14 years agoQmlDesigner: adding custom ColorDialog
Thomas Hartmann [Mon, 5 Jul 2010 16:28:40 +0000 (18:28 +0200)]
QmlDesigner: adding custom ColorDialog

14 years agoQmlDesigner: adding resources
Thomas Hartmann [Mon, 5 Jul 2010 08:12:35 +0000 (10:12 +0200)]
QmlDesigner: adding resources

14 years agoLet search dialog open the completion box at cursor down.
con [Tue, 6 Jul 2010 09:21:19 +0000 (11:21 +0200)]
Let search dialog open the completion box at cursor down.

Similar to what we do in the find tool bar.

Task-number: QTCREATORBUG-1543

14 years agoImprove translation quickfix
Tobias Hunger [Tue, 6 Jul 2010 09:09:16 +0000 (11:09 +0200)]
Improve translation quickfix

 * Use tr if a tr method is available at the object
 * Use QT_TRANSLATE_NOOP for global string constants
 * Do not offer to translate stuff inside QLatin1String and QLatin1Literal
 * Do not offer to wrap strings inside tr, trUtf8 and QT_TRANSLATE_NOOP
   with QLatin1String

14 years agoFixed completion for doxygen comments.
Erik Verbruggen [Tue, 6 Jul 2010 08:57:39 +0000 (10:57 +0200)]
Fixed completion for doxygen comments.

14 years agoMoved the semantic highlighter in a QFuture.
Roberto Raggi [Mon, 5 Jul 2010 16:52:52 +0000 (18:52 +0200)]
Moved the semantic highlighter in a QFuture.

14 years agodebugger: fix list of members in case gdb reports '_class_ SomeClass'
hjk [Tue, 6 Jul 2010 08:51:50 +0000 (10:51 +0200)]
debugger: fix list of members in case gdb reports '_class_ SomeClass'

14 years agodebugger: cache results of gdb.lookup_type
hjk [Tue, 6 Jul 2010 08:47:10 +0000 (10:47 +0200)]
debugger: cache results of gdb.lookup_type

14 years agoFixes wrong internal folder path for first level project subfolder
con [Tue, 6 Jul 2010 08:42:59 +0000 (10:42 +0200)]
Fixes wrong internal folder path for first level project subfolder

Task-number: QTCREATORBUG-1631

14 years agoUse the correct scope name when inserting QCoreApplication::translate().
Roberto Raggi [Mon, 5 Jul 2010 16:51:38 +0000 (18:51 +0200)]
Use the correct scope name when inserting QCoreApplication::translate().

14 years agoC++ indenter: Fix 'else' indentation in GNU style.
Christian Kamm [Tue, 6 Jul 2010 07:44:04 +0000 (09:44 +0200)]
C++ indenter: Fix 'else' indentation in GNU style.

14 years agoIncreased dumper accuracy by genererating the dumper methods.
Erik Verbruggen [Mon, 5 Jul 2010 17:20:14 +0000 (19:20 +0200)]
Increased dumper accuracy by genererating the dumper methods.

14 years agoFixed scope calculation in code completion.
Erik Verbruggen [Sat, 3 Jul 2010 16:41:31 +0000 (18:41 +0200)]
Fixed scope calculation in code completion.

14 years agoAdded ObjC completion for message-send expressions.
Erik Verbruggen [Fri, 18 Jun 2010 10:34:32 +0000 (12:34 +0200)]
Added ObjC completion for message-send expressions.

14 years agoFix autotests so that they're compiling again.
Bill King [Tue, 6 Jul 2010 04:37:45 +0000 (14:37 +1000)]
Fix autotests so that they're compiling again.

14 years agoSetting icon size for folder navigation widget.
Robert Loehning [Mon, 5 Jul 2010 18:53:34 +0000 (20:53 +0200)]
Setting icon size for folder navigation widget.
Thus icons are displayed in a uniform size and don't waste too much space.

Task-number: QTCREATORBUG-1539

14 years agoBinEditor: Add a bit of value interpretation.
ck [Mon, 5 Jul 2010 16:22:31 +0000 (18:22 +0200)]
BinEditor: Add a bit of value interpretation.

14 years agoGet rid of CheckUndefinedSymbol::Use.
Roberto Raggi [Mon, 5 Jul 2010 15:43:13 +0000 (17:43 +0200)]
Get rid of CheckUndefinedSymbol::Use.

14 years agoMoved SemanticInfo in its own file.
Roberto Raggi [Mon, 5 Jul 2010 15:41:05 +0000 (17:41 +0200)]
Moved SemanticInfo in its own file.

14 years agoMoved CheckUndefinedSymbols to the cpptools plug-in.
Roberto Raggi [Mon, 5 Jul 2010 15:35:54 +0000 (17:35 +0200)]
Moved CheckUndefinedSymbols to the cpptools plug-in.

14 years agoTrk[TCF]: Proper exit handling
Friedemann Kleint [Mon, 5 Jul 2010 15:14:45 +0000 (17:14 +0200)]
Trk[TCF]: Proper exit handling

14 years agoFixed possible crash when asking for the firstToken of an incomplete base class speci...
Roberto Raggi [Mon, 5 Jul 2010 15:07:49 +0000 (17:07 +0200)]
Fixed possible crash when asking for the firstToken of an incomplete base class specifier.

14 years agoFixed possible crash when computing the AST path.
Roberto Raggi [Mon, 5 Jul 2010 15:07:20 +0000 (17:07 +0200)]
Fixed possible crash when computing the AST path.

14 years agodebugger: set sensible default values for debugger actions on startup
hjk [Mon, 5 Jul 2010 15:08:30 +0000 (17:08 +0200)]
debugger: set sensible default values for debugger actions on startup

14 years agodebugger: work on the qmlengine
hjk [Mon, 5 Jul 2010 09:28:38 +0000 (11:28 +0200)]
debugger: work on the qmlengine

14 years agodebugger: also strip 'enum' before looking up types
hjk [Fri, 2 Jul 2010 15:03:35 +0000 (17:03 +0200)]
debugger: also strip 'enum' before looking up types

14 years agodebugger: remove some unused code in the qmlengine
hjk [Fri, 2 Jul 2010 15:03:25 +0000 (17:03 +0200)]
debugger: remove some unused code in the qmlengine

14 years agoMerge branch 'master' of scm.dev.nokia.troll.no:creator/mainline
con [Mon, 5 Jul 2010 11:54:17 +0000 (13:54 +0200)]
Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline

14 years agoMerge remote branch 'origin/2.0'
con [Mon, 5 Jul 2010 11:54:07 +0000 (13:54 +0200)]
Merge remote branch 'origin/2.0'

Conflicts:
doc/qtcreator.qdoc
src/plugins/bineditor/bineditorplugin.cpp

14 years agoC++: Use the new indenter.
Christian Kamm [Mon, 5 Jul 2010 11:48:53 +0000 (13:48 +0200)]
C++: Use the new indenter.

Reviewed-by: Roberto Raggi
14 years agoC++ indenter: Store tab size and use it to calculate the column position
Christian Kamm [Mon, 5 Jul 2010 11:39:23 +0000 (13:39 +0200)]
C++ indenter: Store tab size and use it to calculate the column position

14 years agoC++ indenter: Make building custom styles easier, fix style issues.
Christian Kamm [Mon, 5 Jul 2010 10:56:37 +0000 (12:56 +0200)]
C++ indenter: Make building custom styles easier, fix style issues.

Keep more information by using enter() instead of turnInto() when moving
from a *_start to *_open.

14 years agoC++ indenter: Add support for other brace styles.
Christian Kamm [Mon, 5 Jul 2010 07:59:42 +0000 (09:59 +0200)]
C++ indenter: Add support for other brace styles.

14 years agoFixed: "Follow symbol" on constructor or destructor always jumps to class definition
Roberto Raggi [Mon, 5 Jul 2010 11:34:27 +0000 (13:34 +0200)]
Fixed: "Follow symbol" on constructor or destructor always jumps to class definition

Task-number: QTCREATORBUG-1776

14 years agoDesigner: Fix exit crash.
Friedemann Kleint [Mon, 5 Jul 2010 11:27:13 +0000 (13:27 +0200)]
Designer: Fix exit crash.

Task-number: QTCREATORBUG-1798
Reviewed-by: Lasse Holmstedt <lasse.holmstedt@nokia.com>
14 years agoPick up the newest debugging helper from the possible locations.
con [Mon, 5 Jul 2010 11:22:46 +0000 (13:22 +0200)]
Pick up the newest debugging helper from the possible locations.

Otherwise "rebuilding" the debugging helper doesn't necessarily lead to
Qt Creator picking up the new one (some of the locations can be
read-only).

Reviewed-by: dt
14 years agoCheck for possible 0x0 access.
Roberto Raggi [Mon, 5 Jul 2010 10:48:47 +0000 (12:48 +0200)]
Check for possible 0x0 access.

14 years agoPosition the refactoring icon at the top right corner.
Roberto Raggi [Mon, 5 Jul 2010 10:45:56 +0000 (12:45 +0200)]
Position the refactoring icon at the top right corner.

14 years agoFix scanning for directories in projectloadwizard
Tobias Hunger [Mon, 5 Jul 2010 10:37:50 +0000 (12:37 +0200)]
Fix scanning for directories in projectloadwizard

14 years agoQuick fixes converting between hex, octal, and decimal integer literals.
con [Fri, 2 Jul 2010 15:15:12 +0000 (17:15 +0200)]
Quick fixes converting between hex, octal, and decimal integer literals.

14 years agonew icon
mae [Mon, 5 Jul 2010 10:06:36 +0000 (12:06 +0200)]
new icon

we need a real icon in a larger size, this one will scale
poorly.

14 years agoAlign the refactoring icon at the bottom of the paragraph.
Roberto Raggi [Mon, 5 Jul 2010 10:06:09 +0000 (12:06 +0200)]
Align the refactoring icon at the bottom of the paragraph.

14 years agoFixed function-like code completion.
Roberto Raggi [Mon, 5 Jul 2010 09:03:52 +0000 (11:03 +0200)]
Fixed function-like code completion.

This was a regression introduced in 8e4fb678fd68cbb01d5548ba07dfcb2927868df4
triggersCompletion should return `true' when the token at the left of the T_LPAREN
is an identifier, a SIGNAL, a SLOT or T_GREATER (for template functions).

14 years agoAdd QDeclarativeItem as base class for NewClassWidget.
Friedemann Kleint [Mon, 5 Jul 2010 08:47:24 +0000 (10:47 +0200)]
Add QDeclarativeItem as base class for NewClassWidget.

14 years agotranslation quickfix
Tobias Hunger [Mon, 5 Jul 2010 07:24:49 +0000 (09:24 +0200)]
translation quickfix

 * Mark a string literal as translateable, using either
   tr() (if the object is perived from QObject) or
   QCoreApplacation::translate().

14 years agoVCS: Windows slash display fixing spree.
Friedemann Kleint [Mon, 5 Jul 2010 07:52:32 +0000 (09:52 +0200)]
VCS: Windows slash display fixing spree.
Task-number: QTCREATORBUG-1795

14 years agoRemove bogus function "CONFIG"
Alessandro Portale [Sun, 4 Jul 2010 07:53:58 +0000 (09:53 +0200)]
Remove bogus function "CONFIG"

There is already a "CONFIG" in variables[] which always overshadowed
the entry from functions[].

14 years agoAdd variable "MOBILITY" to be highlighted.
Alessandro Portale [Sun, 4 Jul 2010 07:52:17 +0000 (09:52 +0200)]
Add variable "MOBILITY" to be highlighted.

14 years agoLet the computer count the number of variables[] and functions[]
Alessandro Portale [Sun, 4 Jul 2010 07:51:38 +0000 (09:51 +0200)]
Let the computer count the number of variables[] and functions[]

I did not learn to count higher than 20, myself.

14 years agoUser visible paths need to go through QDir::toNativeSeparators()
Alessandro Portale [Sat, 3 Jul 2010 18:05:20 +0000 (20:05 +0200)]
User visible paths need to go through QDir::toNativeSeparators()

Task-number: QTCREATORBUG-1795

14 years agoAdd uncheck all button to targetsetuppage
Tobias Hunger [Fri, 2 Jul 2010 11:40:17 +0000 (13:40 +0200)]
Add uncheck all button to targetsetuppage

Task-number: QTCREATORBUG-1290

14 years agoFix showoutput taskhandler
Tobias Hunger [Fri, 2 Jul 2010 13:54:41 +0000 (15:54 +0200)]
Fix showoutput taskhandler

 * Was broken after recent change to compileoutputwindow.
 * simplify logic a bit while at it.

14 years agoDoc - Edit the introduction.
Leena Miettinen [Fri, 2 Jul 2010 15:16:00 +0000 (17:16 +0200)]
Doc - Edit the introduction.

Reviewed-by: Carsten Owerfeldt