OSDN Git Service

qt-creator-jp/qt-creator-jp.git
12 years agoWizards: Refactor GeneratedFile in a extra file
Marco Bubke [Mon, 12 Sep 2011 14:52:54 +0000 (16:52 +0200)]
Wizards: Refactor GeneratedFile in a extra file

Change-Id: I58f7053405c79774154c2f0447944533e6b10152
Reviewed-on: http://codereview.qt-project.org/4685
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agofakevim: make toggle action scriptable
hjk [Mon, 12 Sep 2011 13:16:27 +0000 (15:16 +0200)]
fakevim: make toggle action scriptable

Change-Id: Ic089b91db144389bac4967a6c4f8be361b1a3bda
Reviewed-on: http://codereview.qt-project.org/4730
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoFixed operator precedence
Robert Loehning [Mon, 12 Sep 2011 13:48:43 +0000 (15:48 +0200)]
Fixed operator precedence

Change-Id: I8482915ac8218d6575fb4c51dbcf0d1fcd0d60e4
Reviewed-on: http://codereview.qt-project.org/4681
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
12 years agoRemoved unused constant
Robert Loehning [Mon, 12 Sep 2011 13:07:05 +0000 (15:07 +0200)]
Removed unused constant

Change-Id: I5a58bb3f4a5be240d1e4b59ad8a592699f35af93
Reviewed-on: http://codereview.qt-project.org/4676
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoQmlDesigner.formeEditor: create paintPlaceHolder
Thomas Hartmann [Mon, 12 Sep 2011 12:59:58 +0000 (14:59 +0200)]
QmlDesigner.formeEditor: create paintPlaceHolder

Change-Id: I91d3aa94b4e8ac91eeaed98d19722837e590dfdf
Reviewed-on: http://codereview.qt-project.org/4673
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agoQmlJS: Fix reference lookup cycles.
Christian Kamm [Mon, 12 Sep 2011 09:48:33 +0000 (11:48 +0200)]
QmlJS: Fix reference lookup cycles.

Since several reference lookups involve Evaluate which may cause
further reference lookups, we need to be able to pass the existing
ReferenceContext to avoid cycles.

Change-Id: I2f1eeaad4d6b6ff094413d51077b03c985f6fab4
Reviewed-on: http://codereview.qt-project.org/4653
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoWatchHandler: Fix warnings
Aurindam Jana [Mon, 12 Sep 2011 10:45:17 +0000 (12:45 +0200)]
WatchHandler: Fix warnings

Change-Id: I877a78b48e7b5c0abb30db6661b9e1986be61b47
Reviewed-on: http://codereview.qt-project.org/4659
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoQmlDesigner.formEditor: improving appearence
Thomas Hartmann [Wed, 7 Sep 2011 11:50:47 +0000 (13:50 +0200)]
QmlDesigner.formEditor: improving appearence

Change-Id: Icdc10bb0eca30a4e5d85e5200e1c19b5a846b4e4
Reviewed-on: http://codereview.qt-project.org/4350
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agoQmlJS semantic highlighter: Abort when file changes.
Christian Kamm [Mon, 12 Sep 2011 10:58:59 +0000 (12:58 +0200)]
QmlJS semantic highlighter: Abort when file changes.

Fixes the warning in incrementalApplyExtraAdditionalFormats being
triggered when the document is reduced in size while a highlight is
running.

Change-Id: I60e0c8772d511f52ee433d27cc77ba726030b354
Reviewed-on: http://codereview.qt-project.org/4661
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
12 years agoAdded indentation test for Qml
Christian Stenger [Mon, 12 Sep 2011 09:07:54 +0000 (11:07 +0200)]
Added indentation test for Qml

Change-Id: I15751d93dccba232455e6e85c4ac0c30c74be3af
Reviewed-on: http://codereview.qt-project.org/4650
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bill King <bill.king@nokia.com>
12 years agoC++ function signature: Don't accidentally eat specifiers.
Christian Kamm [Fri, 9 Sep 2011 12:21:31 +0000 (14:21 +0200)]
C++ function signature: Don't accidentally eat specifiers.

You could accidentally delete specifiers like 'static' or 'virtual' with
the 'apply function signature changes' quick fix before.

Change-Id: Ia97a33f663a01063fad4d432551715ebf27a18d5
Reviewed-on: http://codereview.qt-project.org/4538
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
12 years agoC++: Fix function return type printing.
Christian Kamm [Mon, 12 Sep 2011 06:41:53 +0000 (08:41 +0200)]
C++: Fix function return type printing.

We used to print T * foo(), but our style suggests T *foo().

Change-Id: Ie3b0ce6b620785ec98aeb394f7955ce959440619
Reviewed-on: http://codereview.qt-project.org/4634
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
12 years agoQmlJS: Use mime types to distinguish qml and js files.
Christian Kamm [Fri, 9 Sep 2011 08:55:11 +0000 (10:55 +0200)]
QmlJS: Use mime types to distinguish qml and js files.

This allows adding patterns to the qml mime type in the options dialog.
Previously they were always parsed as js.

Change-Id: Ifa344fb6ab8cbcda02becef991cf6807615a1caa
Reviewed-on: http://codereview.qt-project.org/4515
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
12 years agoNew waitForSignal function
Bill King [Mon, 12 Sep 2011 08:29:08 +0000 (10:29 +0200)]
New waitForSignal function

...and real life test case.

Change-Id: Id22f4a7bf444e319651b54e1a3a230040b982e30
Reviewed-on: http://codereview.qt-project.org/4548
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
12 years agoqttest: Fix issues reported by Krazy
Shane Bradley [Wed, 7 Sep 2011 00:19:21 +0000 (10:19 +1000)]
qttest: Fix issues reported by Krazy

Change-Id: I7bce3cd862b7f680f1b8f42249ae0df4c12e10d9
Reviewed-on: http://codereview.qt-project.org/4299
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
12 years agoSort help registrations.
Bill King [Thu, 8 Sep 2011 14:45:39 +0000 (16:45 +0200)]
Sort help registrations.

Looks cleaner, also helps cleanup.

Change-Id: If3182f974ca3401cd44fb062d695685e5029aa81
Reviewed-on: http://codereview.qt-project.org/4473
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoRemoteLinux: Change output at the end of a deploy step.
Christian Kandeler [Fri, 9 Sep 2011 15:06:15 +0000 (17:06 +0200)]
RemoteLinux: Change output at the end of a deploy step.

"Deployment finished" is potentially misleading, as other steps
might follow.

Change-Id: I457b2c2427c65146b48e13bf9323ac11feee18db
Reviewed-on: http://codereview.qt-project.org/4561
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoRemoteLinux: Change default deployment method.
Christian Kandeler [Fri, 9 Sep 2011 15:04:14 +0000 (17:04 +0200)]
RemoteLinux: Change default deployment method.

Do direct upload instead of creating and extracting a tarball.

Change-Id: Ic84f3a833a7f42e392e37bf4e9b2f9522af5f5ca
Reviewed-on: http://codereview.qt-project.org/4560
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoRemove unnecessary 'explicit's.
Eike Ziller [Wed, 7 Sep 2011 08:32:24 +0000 (10:32 +0200)]
Remove unnecessary 'explicit's.

Change-Id: Id0386635b1c7daadf2501361a2c78019b9dfd4ab
Reviewed-on: http://codereview.qt-project.org/4553
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoMore wait-for-project-refresh
Bill King [Fri, 9 Sep 2011 09:38:13 +0000 (11:38 +0200)]
More wait-for-project-refresh

Change-Id: Ic08c7e66edbcf300d6643ea0139cf9eea1720e31
Reviewed-on: http://codereview.qt-project.org/4519
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
12 years agoRemoteLinux: Make GenericDirectUploadStep extensible.
Christian Kandeler [Fri, 9 Sep 2011 12:24:30 +0000 (14:24 +0200)]
RemoteLinux: Make GenericDirectUploadStep extensible.

Change-Id: I2f201145dbfcd152a7d5624554d66dc17a91352c
Reviewed-on: http://codereview.qt-project.org/4539
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoSpeed up this testcase
Bill King [Fri, 9 Sep 2011 10:25:43 +0000 (12:25 +0200)]
Speed up this testcase

While qt is large, it also takes a fair amount of time to process.
This should still be a sufficient testcase for basic project opening.

Change-Id: I319d009d22ad1607926d2cd751953a6268266f35
Reviewed-on: http://codereview.qt-project.org/4523
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
12 years agoWait for project refresh before building.
Bill King [Fri, 9 Sep 2011 08:14:09 +0000 (10:14 +0200)]
Wait for project refresh before building.

Change-Id: Ia5bbeec726168ecd0264ff351dd0eab9b9af31d2
Reviewed-on: http://codereview.qt-project.org/4512
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
12 years agoBuild fix
Tobias Hunger [Thu, 8 Sep 2011 17:44:34 +0000 (19:44 +0200)]
Build fix

Change-Id: I2cef68b757d6f0affd21151a7f59029dce814c95
Reviewed-on: http://codereview.qt-project.org/4485
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
12 years agoABI: Improve tool chain selection for Qt projects
Tobias Hunger [Tue, 6 Sep 2011 15:19:05 +0000 (15:19 +0000)]
ABI: Improve tool chain selection for Qt projects

* Set a null-ABI for toolchains where detection of ABI failed: This
  allows the user to select any tool chain.

* Warn if ABI detection fails by showing a message in the Qt version
  setup dialog

* Do not override the mkspec if the Qt version has a null ABI only:
  We (have to) trust the user to know what he is doing in that case.

* GCC: Add version information to GCC tool chain and use it to select
  the mkspec on Mac.

* GCC: Do not override mkspec if we do a cross-compile
  (and actually detect that).

* GCC: Leave out -32 or -64 from mkspec if the compiler binaries ABI
  matches the target ABI.

* Linux-generic is compatible with all other linuxes (both ways)
  The targets themselves do additional filtering and will remove
  anything that does not work for them anyway.

Task-number: QTCREATORBUG-5756
Task-number: QTCREATORBUG-5960
Change-Id: Ib3c0ac91f3aa8e2a823e3e9891a02bdccb97af14
Reviewed-on: http://codereview.qt-project.org/4281
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoall: some m_d -> d style
hjk [Wed, 7 Sep 2011 12:26:11 +0000 (14:26 +0200)]
all: some m_d -> d style

Change-Id: Iac1f12980bf47666007817cfb2c64a6d1e9b780e
Reviewed-on: http://codereview.qt-project.org/4477
Reviewed-by: hjk <qthjk@ovi.com>
12 years agouse Core::Id for IEditorFactory::id
hjk [Wed, 7 Sep 2011 07:26:29 +0000 (09:26 +0200)]
use Core::Id for IEditorFactory::id

Change-Id: Iefd67a0461d9016b8ba0f3371df7ec6d42e188c5
Reviewed-on: http://codereview.qt-project.org/4321
Reviewed-by: hjk <qthjk@ovi.com>
12 years agodebugger: take care of unknown instructions in arm disassembler output
hjk [Thu, 8 Sep 2011 15:38:47 +0000 (17:38 +0200)]
debugger: take care of unknown instructions in arm disassembler output

Change-Id: Ibeb8992856e8c5031e21925316c3fb0f9d7764e1
Reviewed-on: http://codereview.qt-project.org/4479
Reviewed-by: hjk <qthjk@ovi.com>
12 years agodebugger: robustness when stepping through inaccessible memory
hjk [Wed, 7 Sep 2011 13:20:04 +0000 (15:20 +0200)]
debugger: robustness when stepping through inaccessible memory

Change-Id: I9cafda99986b653872e57f8223a0fe4621fd5136
Reviewed-on: http://codereview.qt-project.org/4478
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoC++ function signature: Fix problem with multiline declarations.
Christian Kamm [Thu, 8 Sep 2011 12:47:19 +0000 (14:47 +0200)]
C++ function signature: Fix problem with multiline declarations.

QTextCursor::selectedText() has null chars where the tokenizer expects
newlines.

Change-Id: I15ae87ef8525c89812a61b80abda91d36bf56576
Reviewed-on: http://codereview.qt-project.org/4450
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
12 years agoC++: Fix duplicate items in C++ completion for Qt methods
Leandro Melo [Thu, 8 Sep 2011 12:01:18 +0000 (14:01 +0200)]
C++: Fix duplicate items in C++ completion for Qt methods

In the old code completion engine items were created on the stack
and passed around by value. With the refactoring of the code assist
API they became heap objects manipulated through pointers. This
patch fixes one reminiscence not caught during the refactoring
in which the same actual pointer was being used more than once to
be appended on the list.

Change-Id: I2009fb0b6aa18df57aa5ca9bde0591536ca2cd74
Reviewed-on: http://codereview.qt-project.org/4444
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoadd always defined macro Q_CREATOR_RUN to cpp parser
Benito van der Zander [Tue, 6 Sep 2011 15:46:06 +0000 (17:46 +0200)]
add always defined macro Q_CREATOR_RUN to cpp parser

Merge-request: 336
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
Change-Id: Iefd0c60bb3e78047e28dcff33cc62c15ed11f711
Reviewed-on: http://codereview.qt-project.org/4292
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
12 years agoQmlJS checks: Improve warning about accidental empty blocks.
Christian Kamm [Wed, 7 Sep 2011 09:01:13 +0000 (11:01 +0200)]
QmlJS checks: Improve warning about accidental empty blocks.

Change-Id: I2bddd65aef9092bf87f5a441e065ebca0e772174
Reviewed-on: http://codereview.qt-project.org/4331
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoQmlJS checks: Fix collection of use-before-declaration warnings.
Christian Kamm [Tue, 6 Sep 2011 11:59:50 +0000 (13:59 +0200)]
QmlJS checks: Fix collection of use-before-declaration warnings.

Previously they would not be collected if the var had a
duplicate-declaration warning.

Change-Id: I82244e911fcdfc3d11cc391288da263ee288a3ca
Reviewed-on: http://codereview.qt-project.org/4330
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoC++: Always set source location of function symbols.
Christian Kamm [Thu, 8 Sep 2011 10:52:37 +0000 (12:52 +0200)]
C++: Always set source location of function symbols.

Change-Id: I83bcea6fcdbf113d541a962ac461aef1765d99fd
Reviewed-on: http://codereview.qt-project.org/4433
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
12 years agoQmlJS indenter: Fix indentation for property initializers.
Christian Kamm [Wed, 7 Sep 2011 10:06:46 +0000 (12:06 +0200)]
QmlJS indenter: Fix indentation for property initializers.

property int foo: {

used to start an object literal but is a block statement now.

Change-Id: I9ffbce4927b444314f1a43aba65ca3d9d234e47c
Reviewed-on: http://codereview.qt-project.org/4339
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoWatchHandler: Move generationCounter to individual WatchModels
Aurindam Jana [Thu, 8 Sep 2011 10:22:13 +0000 (12:22 +0200)]
WatchHandler: Move generationCounter to individual WatchModels

Change-Id: I39cdd48ed02cbcf6702076245c765cb6c8926c1b
Reviewed-on: http://codereview.qt-project.org/4429
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoRemoteLinux: Don't assume a POSIX-compliant ps command.
Christian Kandeler [Thu, 8 Sep 2011 10:38:46 +0000 (12:38 +0200)]
RemoteLinux: Don't assume a POSIX-compliant ps command.

Presumably, lots of embedded systems don't have one.

Task-number: QTCREATORBUG-5918
Change-Id: Idfbd7fe2d27ed992b3f3dbba240943d0fe41dc5b
Reviewed-on: http://codereview.qt-project.org/4432
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoQmlJS: Honor typeinfo lines in qmldir files.
Christian Kamm [Fri, 2 Sep 2011 11:25:08 +0000 (13:25 +0200)]
QmlJS: Honor typeinfo lines in qmldir files.

Change-Id: I1ddad1eb031bc4b95671be4a474b5e8e72f6e350
Reviewed-on: http://codereview.qt-project.org/4137
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoQmlJS: Find setContextProperty calls in C++ and expose to QML.
Christian Kamm [Thu, 25 Aug 2011 10:35:55 +0000 (12:35 +0200)]
QmlJS: Find setContextProperty calls in C++ and expose to QML.

Task-number: QTCREATORBUG-3199

Change-Id: I591490ceafadc0f5a07c63ec063f1bdfa7055f47
Reviewed-on: http://codereview.qt-project.org/4074
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoAdded support for Microsoft-specific inline keywords
Thorbjørn Lindeijer [Thu, 8 Sep 2011 09:30:48 +0000 (11:30 +0200)]
Added support for Microsoft-specific inline keywords

__inline is equivalent to inline.
__forceinline is used to override the cost/benefit analysis.

Change-Id: Ifc7c94c1798f98c553ffa979a722ede9df11b3f0
Merge-request: 2206
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Reviewed-on: http://codereview.qt-project.org/4416
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
12 years agoqttest: Rename private classes to match Creator standard.
Shane Bradley [Wed, 7 Sep 2011 03:51:54 +0000 (13:51 +1000)]
qttest: Rename private classes to match Creator standard.

Change-Id: I4926d1947216395a18c2e263417d14d08e9487f4
Reviewed-on: http://codereview.qt-project.org/4301
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoAdded test for creation of QtQuick application
Christian Stenger [Tue, 6 Sep 2011 07:12:15 +0000 (09:12 +0200)]
Added test for creation of QtQuick application

Added more QtQuick tests and did some refactorings according to re-appearing code.
Completed the Qt Quick Wizards test from QtCreatorTestingMatrix.

Change-Id: I857d9f3c3809221e2df3e096b3926a8d5d36b828
Reviewed-on: http://codereview.qt-project.org/4238
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bill King <bill.king@nokia.com>
12 years agoRemoteLinux: Grab used ports information from /proc.
Christian Kandeler [Thu, 8 Sep 2011 08:15:38 +0000 (10:15 +0200)]
RemoteLinux: Grab used ports information from /proc.

The target host might not have lsof.

Change-Id: Ic0bbaf933e145b94b4665a0bfad12721984c3cc9
Reviewed-on: http://codereview.qt-project.org/4409
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoC++: Set endOffset of Function symbols even if skipping bodies.
Christian Kamm [Thu, 8 Sep 2011 06:49:01 +0000 (08:49 +0200)]
C++: Set endOffset of Function symbols even if skipping bodies.

Fixes insert-definition-from-declaration when the source file was not
yet opened in an editor.

Change-Id: I4263113390ae4fbe9d4641104b5cb43373ddc5a4
Reviewed-on: http://codereview.qt-project.org/4394
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
12 years agoQmlJS checks: Don't complain about alias properties.
Christian Kamm [Thu, 8 Sep 2011 06:55:20 +0000 (08:55 +0200)]
QmlJS checks: Don't complain about alias properties.

Change-Id: I6721b42a6ae8cc4de3d85754bf12c95f7366212e
Reviewed-on: http://codereview.qt-project.org/4395
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
12 years agoRemoteLinux: Respect qmake scopes for subdirs deployment.
Christian Kandeler [Wed, 7 Sep 2011 13:48:10 +0000 (15:48 +0200)]
RemoteLinux: Respect qmake scopes for subdirs deployment.

Task-number: QTCREATORBUG-6017

Change-Id: Ib7e3814c88ad4598e897a0c99103eafb61846eeb
Reviewed-on: http://codereview.qt.nokia.com/4365
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoRemoteLinux: It's not a fatal error when ports gathering fails.
Christian Kandeler [Wed, 7 Sep 2011 13:43:11 +0000 (15:43 +0200)]
RemoteLinux: It's not a fatal error when ports gathering fails.

Change-Id: If803e1acaaa8164a5177fa5ca227516cc06c577c
Reviewed-on: http://codereview.qt.nokia.com/4364
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoQmlDesigner: changing the path of plugins
Thomas Hartmann [Wed, 7 Sep 2011 12:33:42 +0000 (14:33 +0200)]
QmlDesigner: changing the path of plugins

This patch changes the path of QmlDesigner specific plugins on Linux
and Windows.
The path is changed from lib/qmldesigner to lib/qtcreator/qmldesigner.

The plugins use the same plugindestdir.pri now.

Task-number: QTCREATORBUG-5222
Change-Id: I12e874c8501dc7546f924cec950f29b55a837c88
Reviewed-on: http://codereview.qt.nokia.com/4356
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
12 years agoRemoteLinux: Deploy tarball to /tmp.
Christian Kandeler [Wed, 7 Sep 2011 13:06:51 +0000 (15:06 +0200)]
RemoteLinux: Deploy tarball to /tmp.

Home directories might be at non-standard locations on embedded Linux
systems.

Task-number: QTCREATORBUG-5916
Change-Id: I9988c9accc91c90e9b950b74460d48aacd18da28
Reviewed-on: http://codereview.qt.nokia.com/4362
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoRemoteLinux: Remove unused class member.
Christian Kandeler [Wed, 7 Sep 2011 12:57:35 +0000 (14:57 +0200)]
RemoteLinux: Remove unused class member.

Change-Id: Ifdd99c320253774f1c3938188ef1bc103c1638b4
Reviewed-on: http://codereview.qt.nokia.com/4361
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoCode assist: Fix memory leak in completion
Leandro Melo [Wed, 7 Sep 2011 12:02:31 +0000 (14:02 +0200)]
Code assist: Fix memory leak in completion

One fix is in the runner, which is part of the completion
engine itself. The other is specific for C++.

Task-number: QTCREATORBUG-5947
Change-Id: Ib8fff1eb5adad1ffb2a11da66c50b545e1457df8
Reviewed-on: http://codereview.qt.nokia.com/4355
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoProjectExplorer: Make RunConfiguration::fromMap() public.
Christian Kandeler [Tue, 6 Sep 2011 14:15:58 +0000 (16:15 +0200)]
ProjectExplorer: Make RunConfiguration::fromMap() public.

Callers might want to use it polymorphically, e.g. in the restore()
method of a factory that can create more than run configuration.

Change-Id: I773f7b5d75fb6f9ad007cdafc0cf0b56e5f8da8b
Reviewed-on: http://codereview.qt.nokia.com/4266
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
12 years agoExport Qt4PriFileNode
Daniel Teske [Wed, 7 Sep 2011 09:52:04 +0000 (11:52 +0200)]
Export Qt4PriFileNode

Change-Id: I4e6dd89a8ddd95aa21ebf5555c05349f541bd83e
Reviewed-on: http://codereview.qt.nokia.com/4335
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
12 years agoAdd Qt4PriFileNode::subProjectNodesExact which uses the exact parse
Daniel Teske [Tue, 6 Sep 2011 15:21:51 +0000 (17:21 +0200)]
Add Qt4PriFileNode::subProjectNodesExact which uses the exact parse

Change-Id: Ic6b8dedbc31830295e3dccea82c5f6514840dc57
Reviewed-on: http://codereview.qt.nokia.com/4282
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
12 years agoRemove unnecessary virtual keywords
Tobias Hunger [Tue, 6 Sep 2011 15:12:14 +0000 (15:12 +0000)]
Remove unnecessary virtual keywords

Change-Id: I8f75bad07959a8d80ddf1c9245b89c1cc977ce61
Reviewed-on: http://codereview.qt.nokia.com/4280
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoAbi: Add isNull() method
Tobias Hunger [Tue, 6 Sep 2011 14:24:13 +0000 (14:24 +0000)]
Abi: Add isNull() method

Change-Id: If8d6e5ace13857e4435b09e47d5d40dd2befdacf
Reviewed-on: http://codereview.qt.nokia.com/4279
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agoQmlJS parser: Fix else token in IfStatement.
Christian Kamm [Wed, 7 Sep 2011 07:26:46 +0000 (09:26 +0200)]
QmlJS parser: Fix else token in IfStatement.

Change-Id: Id994a9c5777021e3dc5027776df42234441440d8
Reviewed-on: http://codereview.qt.nokia.com/4319
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
12 years agoC++: Improve Literal::hashCode.
Christian Kamm [Wed, 7 Sep 2011 06:45:01 +0000 (08:45 +0200)]
C++: Improve Literal::hashCode.

This can have a dramatic impact on performance when a file contains lots
of unique literals.

Change-Id: I5309b28f704d7f53e164dc8084ae08354c09354b
Reviewed-on: http://codereview.qt.nokia.com/4312
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
12 years agoRemoteLinux: Make incremental deployment configurable...
Christian Kandeler [Wed, 7 Sep 2011 07:07:41 +0000 (09:07 +0200)]
RemoteLinux: Make incremental deployment configurable...

...for the direct upload step.

Change-Id: I369963556f0c72b692b802b30a0e43c03b8b2397
Reviewed-on: http://codereview.qt.nokia.com/4315
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoRefactor the search result widget to its own class.
Eike Ziller [Tue, 6 Sep 2011 11:03:15 +0000 (13:03 +0200)]
Refactor the search result widget to its own class.

To be used for switching between multiple search result lists.

Change-Id: I4cf62f7e5adf71bac7d4fdfed05d74cea4f3ca44
Rubber-stamped-by: Daniel Teske
Reviewed-on: http://codereview.qt.nokia.com/4255
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoQmlJS checks: Warn about inappropriate use of constructor functions.
Christian Kamm [Tue, 6 Sep 2011 10:59:30 +0000 (12:59 +0200)]
QmlJS checks: Warn about inappropriate use of constructor functions.

Change-Id: Iaedaaa88915f2010bfdd0d2b5ca95f01f8663ed7
Reviewed-on: http://codereview.qt.nokia.com/4254
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoQmlJS: Cleanup in Check.
Christian Kamm [Thu, 1 Sep 2011 13:04:21 +0000 (15:04 +0200)]
QmlJS: Cleanup in Check.

Evaluate supports ExpressionStatements now.

Change-Id: I74c440fe0abf27c3d3b41b7d28a69fdd9359fb2e
Reviewed-on: http://codereview.qt.nokia.com/4080
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
12 years agoQmlDesigner.NodeInstances: Show stripes for items without content
Marco Bubke [Tue, 6 Sep 2011 15:50:56 +0000 (17:50 +0200)]
QmlDesigner.NodeInstances: Show stripes for items without content

Change-Id: I6c737616d485445d77efd8b6d73b2d8259e5120b
Reviewed-on: http://codereview.qt.nokia.com/4288
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
12 years agoQmlDesigner.NodeInstances: Refactor isManipulatable to isChangeable
Marco Bubke [Tue, 6 Sep 2011 15:24:27 +0000 (17:24 +0200)]
QmlDesigner.NodeInstances: Refactor isManipulatable to isChangeable

Change-Id: Icfc508e1549f4cfbcdda09b4611b2d66b4e2de1d
Reviewed-on: http://codereview.qt.nokia.com/4287
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agoQmlDesigner.NodeInstances: Render only items with content
Marco Bubke [Tue, 6 Sep 2011 15:23:25 +0000 (17:23 +0200)]
QmlDesigner.NodeInstances: Render only items with content

Change-Id: I9f17f369816763b2ac983d557d6bcaa723a28139
Reviewed-on: http://codereview.qt.nokia.com/4286
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agoC++: Add __try, __except, and __finally to configuration
Leandro Melo [Tue, 6 Sep 2011 14:45:47 +0000 (16:45 +0200)]
C++: Add __try, __except, and __finally to configuration

This is not really a direct mapping to the Microsoft specifc
ones, but I guess defining such macros is an acceptable solution.

Change-Id: I17a9414364ef664f2e8afa7ececc6a87f663049e
Reviewed-on: http://codereview.qt.nokia.com/4277
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
12 years agoCorrected lookup for qmlviewer on Windows
Christian Stenger [Tue, 6 Sep 2011 13:32:25 +0000 (15:32 +0200)]
Corrected lookup for qmlviewer on Windows

Change-Id: I4ebb87bca34aba07ef5fd408cf5481d8cb10ecf6
Reviewed-on: http://codereview.qt.nokia.com/4264
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
12 years agoMove and cleanup search specific API to SearchResult class
Eike Ziller [Fri, 2 Sep 2011 09:51:31 +0000 (11:51 +0200)]
Move and cleanup search specific API to SearchResult class

Change-Id: I7e64701e8833ad38b9ac01d316bd00302602a390
Rubber-stamped-by: Daniel Teske
Reviewed-on: http://codereview.qt.nokia.com/4179
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoRemoteLinux: Give default value to constructor argument.
Christian Kandeler [Tue, 6 Sep 2011 14:14:17 +0000 (16:14 +0200)]
RemoteLinux: Give default value to constructor argument.

Change-Id: I39d5994d3a8ccad29f462f04eeff2ce9b6ef9566
Reviewed-on: http://codereview.qt.nokia.com/4265
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoC++: More flexibility for string representation of macros
Leandro Melo [Tue, 6 Sep 2011 09:50:58 +0000 (11:50 +0200)]
C++: More flexibility for string representation of macros

It's now possible to get the macro definition with the actual
line breaks used on the code. This is particularly useful for
tooltips in order for them to look nice.

The preprocessor is changed so the macro also stores the breaks
positions. This doesn't seem to have any impact on performance.
In my machine, for example, the total time for parsing Creator's
source code is approx. 18100ms with or without the patch.

Change-Id: Ic7487236315c3567d26496315accdb2adfea894a
Reviewed-on: http://codereview.qt.nokia.com/4253
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
12 years agoC++: Normalize line ending for preprocessing
Leandro Melo [Tue, 6 Sep 2011 09:28:47 +0000 (11:28 +0200)]
C++: Normalize line ending for preprocessing

There is logic in the preprocessor that assumes a normalized line
ending. Other patches have already fixed the issue in other parts.

Change-Id: Iac262da361b6528cc9466a6c87e83da95af9ea04
Reviewed-on: http://codereview.qt.nokia.com/4252
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
12 years agoQmlProfilerTool: Fix hang on exit
Kai Koehne [Mon, 5 Sep 2011 12:07:27 +0000 (14:07 +0200)]
QmlProfilerTool: Fix hang on exit

the reader thread has to terminate on its own, terminate
is not reliable.

Change-Id: I4222bc8f0c585c190cd90efbaade0b03ca698ec7
Reviewed-on: http://codereview.qt.nokia.com/4194
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
12 years agoQmlProfilerTool: Fix help text
Kai Koehne [Mon, 5 Sep 2011 10:49:54 +0000 (12:49 +0200)]
QmlProfilerTool: Fix help text

Make sure it fits 80 columns.

Change-Id: I52eea0e79be33ae7b546fbca6b7e07e1d78d2a94
Reviewed-on: http://codereview.qt.nokia.com/4191
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
12 years agoFix property type mismatch in Qt Quick Designer
Thomas Hartmann [Tue, 6 Sep 2011 11:06:50 +0000 (13:06 +0200)]
Fix property type mismatch in Qt Quick Designer

* GridView.keyNavigationWraps
* ListView.keyNavigationWraps

Task-number: QTCREATORBUG-5776

Change-Id: I6d18650a6be83bdeb1bb6f38749d0bae79e52e24
Merge-request: 365
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/4249
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
12 years agoQmlDesigener.propertyEditor: support for QtQuick 2.0 gradients
Thomas Hartmann [Mon, 5 Sep 2011 14:04:10 +0000 (16:04 +0200)]
QmlDesigener.propertyEditor: support for QtQuick 2.0 gradients

Change-Id: I00c58120080f84a30431c34c5c71866f63aca0e4
Reviewed-on: http://codereview.qt.nokia.com/4212
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agoQmlDesigner.modelMerger: fix for imports
Thomas Hartmann [Mon, 5 Sep 2011 13:20:50 +0000 (15:20 +0200)]
QmlDesigner.modelMerger: fix for imports

Change-Id: Icaae847dab5758655389771cdf662a18e8a8211e
Reviewed-on: http://codereview.qt.nokia.com/4206
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agoC++: removed assert that could crash creator. Gracefully exit instead.
Erik Verbruggen [Tue, 6 Sep 2011 08:44:23 +0000 (10:44 +0200)]
C++: removed assert that could crash creator. Gracefully exit instead.

Change-Id: Iab79b2548195feb83b3f408f0eb612878454bd47
Reviewed-on: http://codereview.qt.nokia.com/4246
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
12 years agoTextEditor: Remove byte order mark.
Christian Kandeler [Tue, 6 Sep 2011 07:51:22 +0000 (09:51 +0200)]
TextEditor: Remove byte order mark.

Some compilers have problems with such control characters.

Change-Id: I137913f8c7f8bd83367c3e5dbad4018045eff28f
Reviewed-on: http://codereview.qt.nokia.com/4240
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
12 years agoQmlJS: Check property declaration types.
Christian Kamm [Mon, 5 Sep 2011 13:37:14 +0000 (15:37 +0200)]
QmlJS: Check property declaration types.

Change-Id: I2cc1236552e00e99a846b0d4b724135724f175fc
Task-number: QTCREATORBUG-3666
Reviewed-on: http://codereview.qt.nokia.com/4241
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
12 years agofakevim: let autotests pass.
hjk [Mon, 5 Sep 2011 16:14:57 +0000 (18:14 +0200)]
fakevim: let autotests pass.

Change-Id: I9d095c904d95ca710e033849723daf249f450486
Reviewed-on: http://codereview.qt.nokia.com/4218
Reviewed-by: hjk <qthjk@ovi.com>
12 years agofakevim: fix connection in autotest
hjk [Mon, 5 Sep 2011 16:11:24 +0000 (18:11 +0200)]
fakevim: fix connection in autotest

Change-Id: I3c7250b1f0e3459d446e9f6f5eb87f175dc84908
Reviewed-on: http://codereview.qt.nokia.com/4217
Reviewed-by: hjk <qthjk@ovi.com>
12 years agocore: rename uniqueidmanager.{cpp,h} as the class UniqueIdManager is gone
hjk [Mon, 5 Sep 2011 14:10:37 +0000 (16:10 +0200)]
core: rename uniqueidmanager.{cpp,h} as the class UniqueIdManager is gone

Change-Id: Iffe04bc3bb0103cbac605f0734bbfd66eb7fd854
Reviewed-on: http://codereview.qt.nokia.com/4215
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoprojectexplorer: convert the string literal constants
hjk [Fri, 2 Sep 2011 11:19:50 +0000 (13:19 +0200)]
projectexplorer: convert the string literal constants

Change-Id: I58997c7fbe64002b4b3f38c9c85b98d2bd75dcbf
Reviewed-on: http://codereview.qt.nokia.com/4135
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoImproved writing tasks files
Christian Stenger [Mon, 5 Sep 2011 13:00:01 +0000 (15:00 +0200)]
Improved writing tasks files

Change-Id: Ia7dfa0c4554082e8620cfbed40e3f105fb8ff2e1
Reviewed-on: http://codereview.qt.nokia.com/4205
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bill King <bill.king@nokia.com>
12 years agoeditormanager: style
hjk [Fri, 2 Sep 2011 17:11:10 +0000 (19:11 +0200)]
editormanager: style

Change-Id: I3536ba31d8be8bcd8330fb7b4174a6ae3cd95cb5
Reviewed-on: http://codereview.qt.nokia.com/4214
Reviewed-by: hjk <qthjk@ovi.com>
12 years agofakevim: save a few string->int->string roundtrips
hjk [Fri, 2 Sep 2011 12:50:08 +0000 (14:50 +0200)]
fakevim: save a few string->int->string roundtrips

Change-Id: Id21ce47ecf267f37f2433f2423dccfd9dcee6c42
(cherry picked from commit 1a503d867c34ced26fa8ca8ca12d2fc22b2f0d81)
Reviewed-on: http://codereview.qt.nokia.com/4198
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoC++: fixed potential crash for out of bounds access of token_names.
Erik Verbruggen [Mon, 5 Sep 2011 13:25:55 +0000 (15:25 +0200)]
C++: fixed potential crash for out of bounds access of token_names.

Cause: Q_PRIVATE_PROPERTY didn't have an entry in token_names, so if
Token::spell or Token::name was called on a T_Q_GADGET, an out-of-bounds
access would occur.

Change-Id: I1ec7b91a5d3def5508e21ad4f1863a52cb4ed540
Reviewed-on: http://codereview.qt.nokia.com/4207
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
12 years agocore: progress on the QString->QByteArray for Core::Id, remove UniqueIDManager
hjk [Fri, 2 Sep 2011 10:45:36 +0000 (12:45 +0200)]
core: progress on the QString->QByteArray for Core::Id, remove UniqueIDManager

Change-Id: I94bec127866822b790a6e45a4201a7a5fe71d6ce
Reviewed-on: http://codereview.qt.nokia.com/4208
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoConvert slashes on restoring sbs and epoc directory
Daniel Teske [Fri, 2 Sep 2011 10:51:25 +0000 (12:51 +0200)]
Convert slashes on restoring sbs and epoc directory

Apparently there are some users with wrong slashes in their settings.
I'm not sure how that happened, but better be safe.

Task-Nr: QTCREATORBUG-5969

Change-Id: Ifb7cc392e53d84da916d06e546ceff02057c6014
Reviewed-on: http://codereview.qt.nokia.com/4133
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agocore: remove usages of Core::ICore::instance()->modeManager()
hjk [Fri, 2 Sep 2011 15:15:18 +0000 (17:15 +0200)]
core: remove usages of Core::ICore::instance()->modeManager()

The function is still there but should be remove in my opinion.

Change-Id: I739fe942e74f459faccb80b5bcb8a5721c6bb9bf
Reviewed-on: http://codereview.qt.nokia.com/4200
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoQmlDesigner.NodeInstances: Fix reparent bug
Marco Bubke [Thu, 1 Sep 2011 17:49:04 +0000 (19:49 +0200)]
QmlDesigner.NodeInstances: Fix reparent bug

Change-Id: I4a05ddc9e28e02aa9b9a8f602b3726fc53743245
Reviewed-on: http://codereview.qt.nokia.com/4101
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agoBetter error feedback on Open project
Daniel Teske [Mon, 5 Sep 2011 11:47:29 +0000 (13:47 +0200)]
Better error feedback on Open project

Task-Nr: QTCREATORBUG-5996
Task-Nr: QTCREATORBUG-5995

Change-Id: I4184a1c652cbfc93a788a8f9b67d936401e197b9
Reviewed-on: http://codereview.qt.nokia.com/4197
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
12 years agohelpmanager: cleanup
hjk [Fri, 2 Sep 2011 17:05:12 +0000 (19:05 +0200)]
helpmanager: cleanup

Change-Id: I7bd885e9e64f8be99a040b14151cd8fba5249235
Reviewed-on: http://codereview.qt.nokia.com/4202
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoactioncontainer: style
hjk [Fri, 2 Sep 2011 17:11:45 +0000 (19:11 +0200)]
actioncontainer: style

Change-Id: I8f83b11250817425a06c063532e5662cb72fb7dc
Reviewed-on: http://codereview.qt.nokia.com/4204
Reviewed-by: hjk <qthjk@ovi.com>
12 years agoQmlJS: Fix lookup for enums.
Christian Kamm [Mon, 5 Sep 2011 11:35:16 +0000 (13:35 +0200)]
QmlJS: Fix lookup for enums.

* Also look for enums in prototypes.
* Report back which QmlObjectValue had the enum.
* Fix a bug where enum lookup was always skipped.

Change-Id: I9c9fd8f8cf9bd8cc5f1bb5688fef5786267cd794
Reviewed-on: http://codereview.qt.nokia.com/4192
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
12 years agoAdd "Find in directory" to project tree context menu
Daniel Teske [Mon, 5 Sep 2011 08:19:49 +0000 (10:19 +0200)]
Add "Find in directory" to project tree context menu

And also to the filesystem view.

Task-Nr: QTCREATORBUG-5879
Change-Id: I27bfe05808182f56deafd6ceab474894631f0a26
Reviewed-on: http://codereview.qt.nokia.com/4185
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
12 years agoRename qmlprofiler to qmlprofilertool
Kai Koehne [Mon, 5 Sep 2011 10:31:01 +0000 (12:31 +0200)]
Rename qmlprofiler to qmlprofilertool

Avoid clash with qmlprofiler.pro from plugins which causes problems
for Visual Studio Solution.

Change-Id: I360b952ab9170a4823ef0cab75b969512af5c31f
Reviewed-on: http://codereview.qt.nokia.com/4190
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
12 years agoImproved build handling when build fails without errors inside build issues
Christian Stenger [Mon, 5 Sep 2011 09:00:32 +0000 (11:00 +0200)]
Improved build handling when build fails without errors inside build issues

Change-Id: I0958a9a8e644c245fb0930f5d165e0aac4a74ce8
Reviewed-on: http://codereview.qt.nokia.com/4184
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bill King <bill.king@nokia.com>
12 years agoMake compilation with "qmake" instead of "qmake -r" work again.
Eike Ziller [Mon, 5 Sep 2011 07:40:07 +0000 (09:40 +0200)]
Make compilation with "qmake" instead of "qmake -r" work again.

The dependencies between app and libs are a bit more complicated now,
since qmake must run on app (to generate app_version.h) before the
utils lib is compiled.

Change-Id: I836683b80810ad35d296366f89bb1d2a98a3afb4
Reviewed-on: http://codereview.qt.nokia.com/4180
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>