OSDN Git Service
Thomas Hartmann [Wed, 7 Jul 2010 11:06:46 +0000 (13:06 +0200)]
QmlDesigner: fix text context pane
Thomas Hartmann [Wed, 7 Jul 2010 11:05:25 +0000 (13:05 +0200)]
qmljsrewriter: adapt rewriter to ChangeSet api changes
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.
dt [Tue, 6 Jul 2010 10:48:40 +0000 (12:48 +0200)]
Fix compilation with installed qt
dt [Tue, 6 Jul 2010 10:11:15 +0000 (12:11 +0200)]
Task hub
mae [Wed, 7 Jul 2010 09:13:24 +0000 (11:13 +0200)]
fix crash
confusion between columns and character positions
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.
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.
ck [Tue, 6 Jul 2010 12:32:33 +0000 (14:32 +0200)]
Qt4Projectmanager: Constify some member functions.
Reviewed-by: dt
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.
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
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
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
Robert Loehning [Tue, 6 Jul 2010 14:53:48 +0000 (16:53 +0200)]
Removed unneeded reimplementation of virtual function.
Tobias Hunger [Tue, 6 Jul 2010 15:16:49 +0000 (17:16 +0200)]
Remove unused variable
Tobias Hunger [Tue, 6 Jul 2010 13:43:44 +0000 (15:43 +0200)]
Fix directory separator
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
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>
Robert Loehning [Tue, 6 Jul 2010 13:00:14 +0000 (15:00 +0200)]
Added option to toggle check state in TargetSetupPage.
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
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
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
Christian Kamm [Tue, 6 Jul 2010 12:52:38 +0000 (14:52 +0200)]
C++ editor: Use the new indenter to make indenting selections fast.
Christian Kamm [Tue, 6 Jul 2010 12:41:34 +0000 (14:41 +0200)]
C++ indenter: Add more functions to manage the indenter state.
hjk [Tue, 6 Jul 2010 12:36:02 +0000 (14:36 +0200)]
qmldesigner: compile fix for linux, compile fix for namespaced Qt
Roberto Raggi [Tue, 6 Jul 2010 12:34:59 +0000 (14:34 +0200)]
Compute the dependecy table on demand.
Roberto Raggi [Tue, 6 Jul 2010 10:42:55 +0000 (12:42 +0200)]
Compress the usages.
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)
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)
hjk [Tue, 6 Jul 2010 07:27:56 +0000 (09:27 +0200)]
fakevim: fix insert of Tabs
(cherry picked from commit
d3cea8a4d14f22e2bfa40691d3063aceff4b4d78)
hjk [Tue, 6 Jul 2010 08:57:59 +0000 (10:57 +0200)]
debugger: remove some debug output
hjk [Tue, 6 Jul 2010 08:12:21 +0000 (10:12 +0200)]
fakevim: fix up/down movement in the presence of real tabs
hjk [Tue, 6 Jul 2010 07:27:56 +0000 (09:27 +0200)]
fakevim: fix insert of Tabs
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
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,
};
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.
Christian Kamm [Tue, 6 Jul 2010 11:50:24 +0000 (13:50 +0200)]
Fix autotest build for cplusplus based tests.
Reviewed-by: Roberto Raggi
Erik Verbruggen [Tue, 6 Jul 2010 11:10:24 +0000 (13:10 +0200)]
More completion fixes.
hjk [Tue, 6 Jul 2010 10:43:48 +0000 (12:43 +0200)]
debugger: backport small fixes and synchronized code layout with master
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
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
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
Thomas Hartmann [Tue, 6 Jul 2010 09:11:27 +0000 (11:11 +0200)]
QmlDesigner: adding context pane into the object pool
Thomas Hartmann [Tue, 6 Jul 2010 09:10:23 +0000 (11:10 +0200)]
QmlDesigner: adding QmlContextPane
Thomas Hartmann [Tue, 6 Jul 2010 09:05:43 +0000 (11:05 +0200)]
QmlDesigner.propertyEditor: adding new widgets
Thomas Hartmann [Tue, 6 Jul 2010 08:59:01 +0000 (10:59 +0200)]
QmlDesigner: adding a setting for the context pane
Thomas Hartmann [Tue, 6 Jul 2010 08:39:32 +0000 (10:39 +0200)]
Adding interface for context widget to qmljs lib
Thomas Hartmann [Mon, 5 Jul 2010 16:28:40 +0000 (18:28 +0200)]
QmlDesigner: adding custom ColorDialog
Thomas Hartmann [Mon, 5 Jul 2010 08:12:35 +0000 (10:12 +0200)]
QmlDesigner: adding resources
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
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
Erik Verbruggen [Tue, 6 Jul 2010 08:57:39 +0000 (10:57 +0200)]
Fixed completion for doxygen comments.
Roberto Raggi [Mon, 5 Jul 2010 16:52:52 +0000 (18:52 +0200)]
Moved the semantic highlighter in a QFuture.
hjk [Tue, 6 Jul 2010 08:51:50 +0000 (10:51 +0200)]
debugger: fix list of members in case gdb reports '_class_ SomeClass'
hjk [Tue, 6 Jul 2010 08:47:10 +0000 (10:47 +0200)]
debugger: cache results of gdb.lookup_type
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
Roberto Raggi [Mon, 5 Jul 2010 16:51:38 +0000 (18:51 +0200)]
Use the correct scope name when inserting QCoreApplication::translate().
Christian Kamm [Tue, 6 Jul 2010 07:44:04 +0000 (09:44 +0200)]
C++ indenter: Fix 'else' indentation in GNU style.
Erik Verbruggen [Mon, 5 Jul 2010 17:20:14 +0000 (19:20 +0200)]
Increased dumper accuracy by genererating the dumper methods.
Erik Verbruggen [Sat, 3 Jul 2010 16:41:31 +0000 (18:41 +0200)]
Fixed scope calculation in code completion.
Erik Verbruggen [Fri, 18 Jun 2010 10:34:32 +0000 (12:34 +0200)]
Added ObjC completion for message-send expressions.
Bill King [Tue, 6 Jul 2010 04:37:45 +0000 (14:37 +1000)]
Fix autotests so that they're compiling again.
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
ck [Mon, 5 Jul 2010 16:22:31 +0000 (18:22 +0200)]
BinEditor: Add a bit of value interpretation.
Roberto Raggi [Mon, 5 Jul 2010 15:43:13 +0000 (17:43 +0200)]
Get rid of CheckUndefinedSymbol::Use.
Roberto Raggi [Mon, 5 Jul 2010 15:41:05 +0000 (17:41 +0200)]
Moved SemanticInfo in its own file.
Roberto Raggi [Mon, 5 Jul 2010 15:35:54 +0000 (17:35 +0200)]
Moved CheckUndefinedSymbols to the cpptools plug-in.
Friedemann Kleint [Mon, 5 Jul 2010 15:14:45 +0000 (17:14 +0200)]
Trk[TCF]: Proper exit handling
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.
Roberto Raggi [Mon, 5 Jul 2010 15:07:20 +0000 (17:07 +0200)]
Fixed possible crash when computing the AST path.
hjk [Mon, 5 Jul 2010 15:08:30 +0000 (17:08 +0200)]
debugger: set sensible default values for debugger actions on startup
hjk [Mon, 5 Jul 2010 09:28:38 +0000 (11:28 +0200)]
debugger: work on the qmlengine
hjk [Fri, 2 Jul 2010 15:03:35 +0000 (17:03 +0200)]
debugger: also strip 'enum' before looking up types
hjk [Fri, 2 Jul 2010 15:03:25 +0000 (17:03 +0200)]
debugger: remove some unused code in the qmlengine
con [Mon, 5 Jul 2010 11:54:17 +0000 (13:54 +0200)]
Merge branch 'master' of scm.dev.nokia.troll.no:creator/mainline
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
Christian Kamm [Mon, 5 Jul 2010 11:48:53 +0000 (13:48 +0200)]
C++: Use the new indenter.
Reviewed-by: Roberto Raggi
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
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.
Christian Kamm [Mon, 5 Jul 2010 07:59:42 +0000 (09:59 +0200)]
C++ indenter: Add support for other brace styles.
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
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>
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
Roberto Raggi [Mon, 5 Jul 2010 10:48:47 +0000 (12:48 +0200)]
Check for possible 0x0 access.
Roberto Raggi [Mon, 5 Jul 2010 10:45:56 +0000 (12:45 +0200)]
Position the refactoring icon at the top right corner.
Tobias Hunger [Mon, 5 Jul 2010 10:37:50 +0000 (12:37 +0200)]
Fix scanning for directories in projectloadwizard
con [Fri, 2 Jul 2010 15:15:12 +0000 (17:15 +0200)]
Quick fixes converting between hex, octal, and decimal integer literals.
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.
Roberto Raggi [Mon, 5 Jul 2010 10:06:09 +0000 (12:06 +0200)]
Align the refactoring icon at the bottom of the paragraph.
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).
Friedemann Kleint [Mon, 5 Jul 2010 08:47:24 +0000 (10:47 +0200)]
Add QDeclarativeItem as base class for NewClassWidget.
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().
Friedemann Kleint [Mon, 5 Jul 2010 07:52:32 +0000 (09:52 +0200)]
VCS: Windows slash display fixing spree.
Task-number: QTCREATORBUG-1795
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[].
Alessandro Portale [Sun, 4 Jul 2010 07:52:17 +0000 (09:52 +0200)]
Add variable "MOBILITY" to be highlighted.
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.
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
Tobias Hunger [Fri, 2 Jul 2010 11:40:17 +0000 (13:40 +0200)]
Add uncheck all button to targetsetuppage
Task-number: QTCREATORBUG-1290
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.
Leena Miettinen [Fri, 2 Jul 2010 15:16:00 +0000 (17:16 +0200)]
Doc - Edit the introduction.
Reviewed-by: Carsten Owerfeldt