qt-creator:qt-creator.git
3 years agoQmlProfiler: Fix order of updates to timeline contentX and contentWidth
Ulf Hermann [Mon, 3 Mar 2014 13:04:50 +0000 (14:04 +0100)]
QmlProfiler: Fix order of updates to timeline contentX and contentWidth

contentWidth has to be updated before contentX as the WheelArea
underneath will clamp its horizontal value to its bounds on change and
thus break the update to contentX if contentWidth is growing.

As contentX is automatically updated by changes to contentWidth it's
generally a good idea to prevent any reactions to  that with a recursion
guard. When updating contentWidth before contentX this becomes necessary
for correct operation.

Task-number: QTCREATORBUG-11699
Change-Id: I34fff7a55e93745d658e8cbb5ac3d430a42770e8
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
3 years agoRemove trailing newlines from QML Puppet messages.
Friedemann Kleint [Fri, 14 Mar 2014 15:11:49 +0000 (16:11 +0100)]
Remove trailing newlines from QML Puppet messages.

Change-Id: Ibe184979568f5ba2d4635cf36c9206cf56d87bac
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
3 years agoQnx: Add support for qml profiler in BlackBerry/Qnx
Frantisek Vacek [Fri, 14 Mar 2014 14:39:02 +0000 (15:39 +0100)]
Qnx: Add support for qml profiler in BlackBerry/Qnx

We cannot set -qmljsdebugger arg in bar-descriptor.xml file since
it can be done in DeployStep only. QTC architecture do not allows this.

Current approach modifies already deployed MANIFEST.MF on the device.

This patch has nothing to do with QML analyzer for pure QNX,
it's purely for BlackBerry.

Task-number: QTCREATORBUG-10520
Change-Id: I89e83c6ff70a7a35344ff7e3fe573fc19e797ccb
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoDebugger: Add dumper for boost::container::list
hjk [Wed, 12 Mar 2014 19:33:57 +0000 (20:33 +0100)]
Debugger: Add dumper for boost::container::list

Change-Id: I251a859ca63bf932cb0d22ef11b5492b75ebcadd
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoDoc: remove Qt Simulator macro
Leena Miettinen [Fri, 14 Mar 2014 15:12:52 +0000 (16:12 +0100)]
Doc: remove Qt Simulator macro

The Qt Simulator is no longer mentioned in the docs.

Change-Id: I8730e45c75f2e69dadc053ebfa205aa7b6eef5fd
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoDoc: don't use the term SDK in connection with Qt
Leena Miettinen [Fri, 14 Mar 2014 15:02:01 +0000 (16:02 +0100)]
Doc: don't use the term SDK in connection with Qt

Replace with "Qt distributions" or "installers" or rewrite
in some other way.

Remove references to installing Qt 4 SDK, because it is
no longer available for downloading.

Change-Id: I291f82702e21d953f2efbb0e634d6454b4bc17b9
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoFix some strings.
Jarek Kobus [Fri, 14 Mar 2014 10:38:00 +0000 (11:38 +0100)]
Fix some strings.

Change-Id: Iaac415d25ebfac507df73fc4b3977425df521979
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoFix QT_VERSION checks in logging.h
Kai Koehne [Fri, 14 Mar 2014 10:12:14 +0000 (11:12 +0100)]
Fix QT_VERSION checks in logging.h

0x520000 is minor version 20. Use QT_VERSION_CHECK to avoid such
stupid errors.

Change-Id: I4408c0796b015f509ca9cfa8535dfdaf1603acae
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agoQmlDesigner: Improve error message for puppet
Marco Bubke [Fri, 14 Mar 2014 12:31:43 +0000 (13:31 +0100)]
QmlDesigner: Improve error message for puppet

Task-number: QTCREATORBUG-11713
Change-Id: Ic8721235a6db34803585d69f5bb8c2b2439e04eb
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
3 years agoResourceNode: Remove unnecessary update() call
Daniel Teske [Fri, 14 Mar 2014 12:03:01 +0000 (13:03 +0100)]
ResourceNode: Remove unnecessary update() call

Change-Id: Iea72f2cb02b6b983cb90d4dd09c5e0fc1f8c0c3f
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoLLDB: Stop creating zombies when executing dumper auto tests
Christian Stenger [Fri, 14 Mar 2014 09:39:39 +0000 (10:39 +0100)]
LLDB: Stop creating zombies when executing dumper auto tests

Change-Id: I8a9d2e9e0027f60a9801ba9a20aab1c5e2991bdb
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoAndroid: Treat "fatal" messages error output
Ulf Hermann [Fri, 14 Mar 2014 10:44:31 +0000 (11:44 +0100)]
Android: Treat "fatal" messages error output

If you trigger a fatal signal e.g. dividing by 0, you'll get a message
with an "F/" prefix. That should be red, too, just like "E/" and "W/".

Change-Id: I8bef7ebf4e8c7d7ac3794750306073043852634b
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoWelcomeScreen: Adding links to Qt Account and Qt Cloud Services
Alessandro Portale [Fri, 14 Mar 2014 09:28:58 +0000 (10:28 +0100)]
WelcomeScreen: Adding links to Qt Account and Qt Cloud Services

Change-Id: Iec39fd4a44671c284e7442f40a1c3156a299437e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoWelcomeScreen: putting the "icon plus link" into a component
Alessandro Portale [Fri, 14 Mar 2014 09:15:18 +0000 (10:15 +0100)]
WelcomeScreen: putting the "icon plus link" into a component

...more links to come...

Change-Id: Ic500f38995bf515eda80c0720d1fdd7718e5ff54
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoAndroid: Properly split stderr into lines and drop unrelated messages
Ulf Hermann [Thu, 13 Mar 2014 16:33:47 +0000 (17:33 +0100)]
Android: Properly split stderr into lines and drop unrelated messages

Change-Id: I860cddcea23692fd8c9b69b849e7b1fb50e9113d
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoFix deployment to Android virtual device
Kimmo Leppälä [Fri, 7 Mar 2014 08:23:06 +0000 (10:23 +0200)]
Fix deployment to Android virtual device

With the latest Android SDK Tools installed deployment to Android
Virtual Device failed since the format of "android list avd"
changed to include device tag information.

Task-number: QTCREATORBUG-11658
Change-Id: I72a2427dedfaf0cd7638b9805c545fda0bd6598e
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Kimmo Leppälä <kimmo.leppala@digia.com>
3 years agoSquish: Rewrite checkQtCreatorHelpVersion()
Christian Stenger [Tue, 11 Mar 2014 08:18:41 +0000 (09:18 +0100)]
Squish: Rewrite checkQtCreatorHelpVersion()

Change-Id: I994379476ab52df75a4a34a8e0db025ee2f3df70
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
3 years agoSquish: Update tst_git_clone
Robert Loehning [Thu, 13 Mar 2014 14:05:35 +0000 (15:05 +0100)]
Squish: Update tst_git_clone

Command line information appears in Version Control view,
not in the dialog anymore.

Task-number: QTCREATORBUG-10531

Change-Id: Ib3a501e32d6105a78d8e4f4f1ad019de22e3ef3b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoFix detection of language in QmlJSModelManagerInterface
Kai Koehne [Thu, 13 Mar 2014 16:00:29 +0000 (17:00 +0100)]
Fix detection of language in QmlJSModelManagerInterface

Change-Id: Icdc458b7deab5903fd997051947224f9c8d26945
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agoAndroid: Don't read from adb logcat while PID isn't known
Ulf Hermann [Thu, 13 Mar 2014 15:21:36 +0000 (16:21 +0100)]
Android: Don't read from adb logcat while PID isn't known

Otherwise we throw away important parts of the output.

Change-Id: I7ab6989c19660bcbb53d6ff61eda62878044ded2
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoResourceNode: Fix renaming prefix
Daniel Teske [Thu, 13 Mar 2014 14:04:27 +0000 (15:04 +0100)]
ResourceNode: Fix renaming prefix

Task-number: QTCREATORBUG-11719
Change-Id: Ib24dd7bf644bbebca3d9a694ec2b98709cfd6cf2
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
3 years agoC++: Fix weird logic in usage of TopLevelDeclarationProcessor::processDeclaration
Nikolai Kosjar [Thu, 13 Mar 2014 13:58:18 +0000 (10:58 -0300)]
C++: Fix weird logic in usage of TopLevelDeclarationProcessor::processDeclaration

As the name function name suggests, true should be returned if the
declaration should be processed. Otherwise false.

Change-Id: I8d266d99c579b331fee8772bde47aa1a466dae9c
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoCppTools: Replace 1-bit bit field by bool
Nikolai Kosjar [Thu, 13 Mar 2014 13:47:37 +0000 (10:47 -0300)]
CppTools: Replace 1-bit bit field by bool

...since it's aligned away anyway.

Change-Id: Id8a3c6feeb53f5d6f4f4338ea9031d7c57f312d0
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
3 years agoCppTools: Remove useless parameter in recalculateSemanticInfo()
Nikolai Kosjar [Thu, 13 Mar 2014 13:44:56 +0000 (10:44 -0300)]
CppTools: Remove useless parameter in recalculateSemanticInfo()

Change-Id: I24b6f6d698051d1ccfe3f0d83078c26d8de193fb
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoqmljs: adding Qml to companion lanaguages of Unknown
Fawzi Mohamed [Thu, 13 Mar 2014 14:10:44 +0000 (15:10 +0100)]
qmljs: adding Qml to companion lanaguages of Unknown

Correctly collect qml files when the language is not specified.

Change-Id: Ieebfc543108ddb716479ac4524ef14063dd225ea
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoWinRt: fix name and description of the deploy step
Joerg Bornemann [Thu, 13 Mar 2014 12:59:33 +0000 (13:59 +0100)]
WinRt: fix name and description of the deploy step

Change-Id: I5550395cfff2031b938a022f9ec01817e7248864
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
3 years agoWinRt: add windeployqt configuration widget
Joerg Bornemann [Thu, 13 Mar 2014 11:32:17 +0000 (12:32 +0100)]
WinRt: add windeployqt configuration widget

A simple line edit to display or change the arguments that are
passed to windeployqt.

Task-number: QTCREATORBUG-11693

Change-Id: I059f5c2af3fce17f9f8463ecfa2af91f21ffe6d8
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
3 years agoExamples: Remove loading of *.xml files from Qt demos/examples dir
Kai Koehne [Tue, 25 Feb 2014 15:52:20 +0000 (16:52 +0100)]
Examples: Remove loading of *.xml files from Qt demos/examples dir

Not sure what this code path did originally, but since at least
Qt 4.8.0 examples, demos manifest files are only in doc.

Change-Id: I6edf1f712fc06d290edf0fe978a6635966084e60
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoRemove Qt 4 fallback for examples browser
Kai Koehne [Tue, 4 Feb 2014 08:57:17 +0000 (09:57 +0100)]
Remove Qt 4 fallback for examples browser

Remove fallback file, and rather use the examples-manifest.xml,
demos-manifest.xml files that are part of Qt 4.8.0 or newer.

Change-Id: I6291bd01b75b891a5ddab7fb01cdfc29ed8bec34
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoMove management of 'selected' Qt version to ExamplesListModel
Kai Koehne [Tue, 4 Feb 2014 08:29:38 +0000 (09:29 +0100)]
Move management of 'selected' Qt version to ExamplesListModel

Change-Id: Ia4c73a0e9985e968265d7698e3a0a3cc58dc7aaa
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoUnify selection of 'valid' Qt versions for welcome page
Kai Koehne [Mon, 3 Feb 2014 16:17:08 +0000 (17:17 +0100)]
Unify selection of 'valid' Qt versions for welcome page

Change-Id: I79ba4ac9f132a535efd9d362790b8e1d2b62d900
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoWinRt: fix detection of desktop Qt builds
Joerg Bornemann [Thu, 13 Mar 2014 11:47:39 +0000 (12:47 +0100)]
WinRt: fix detection of desktop Qt builds

Task-number: QTCREATORBUG-11715

Change-Id: I57ccece77c024c0814eb51a67e6e40faa0bb5ee5
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
3 years agoFix warning about truncation from int to bool in resource editor.
Friedemann Kleint [Tue, 11 Mar 2014 19:23:22 +0000 (20:23 +0100)]
Fix warning about truncation from int to bool in resource  editor.

Change-Id: Id7ea03b27e9fd36e5f452736e81992089dfc73b5
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoProjectTree; Fix directoryFor() to handle new resource nodes
Daniel Teske [Thu, 13 Mar 2014 12:11:47 +0000 (13:11 +0100)]
ProjectTree; Fix directoryFor() to handle new resource nodes

The resource nodes do have a special path, the code assumed that
folder's path were always directories. This is no longer true.

Both pathFor() and directoryFor() suffer from path() being special for
VirtualFolderNodes and ResourceNodes. That specialness is probably not
a good idea, cleaning that up is a longer term task.

Task-number: QTCREATORBUG-11677
Change-Id: I995e82b7ed361b5e2c6681484074c65e2175c96e
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoAndroid: Don't let the user choose a stupid ANDROID_PACKAGE_SOURCE_DIR
Daniel Teske [Wed, 12 Mar 2014 14:20:39 +0000 (15:20 +0100)]
Android: Don't let the user choose a stupid ANDROID_PACKAGE_SOURCE_DIR

On creating a AndroidManifest.xml we ask the user where to put the file,
which as a sideeffect also sets ANDROID_PACKAGE_DIR.

Since we copy everthing from ANDROID_PACKAGE_SOURCE_DIR into the build
directory, using the project's source directory is not desireable.

We now show a big error if the user tries that.

Task-number: QTCREATORBUG-11708
Change-Id: I7fade3efac0b7466cad8e83a92c2115d0a70c683
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
3 years agoWinRt: add --qmldir option to windeployqt call
Joerg Bornemann [Wed, 12 Mar 2014 10:46:11 +0000 (11:46 +0100)]
WinRt: add --qmldir option to windeployqt call

Task-number: QTCREATORBUG-11696

Change-Id: Idd2eab5cc31e11320b2ba6cc75ca376d1b3acb5c
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
3 years agoFix tooltips, add lacking dots
Jarek Kobus [Thu, 13 Mar 2014 08:55:53 +0000 (09:55 +0100)]
Fix tooltips, add lacking dots

Change-Id: Id54a11b6868d5033fd1ecfd6324b7e50b94e305c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoQmlDesigner: Bump version of QmlPuppet
Thomas Hartmann [Thu, 13 Mar 2014 10:04:33 +0000 (11:04 +0100)]
QmlDesigner: Bump version of QmlPuppet

Change-Id: I1e791e8d39e48408239e1ba980ff0751fe8278dd
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
3 years agoQnx: Package user assets as well when bundling Qt libs
El Mehdi Fekari [Thu, 6 Mar 2014 16:53:08 +0000 (17:53 +0100)]
Qnx: Package user assets as well when bundling Qt libs

Task-number: QTCREATORBUG-11652

Change-Id: Ib5c26b0b25542eb8e92f5ff65a4f3ec31b82bfff
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
3 years agoWinRt: remove unused includes
Joerg Bornemann [Wed, 12 Mar 2014 10:45:16 +0000 (11:45 +0100)]
WinRt: remove unused includes

Change-Id: I7091cdf8e8bed73cdef186f826fea72c050844d5
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
3 years agoWinRt: simplify project file path retrieval
Joerg Bornemann [Wed, 12 Mar 2014 10:43:13 +0000 (11:43 +0100)]
WinRt: simplify project file path retrieval

Change-Id: If2542b0c22728ae2567e4d42de3a7f7d6830c350
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
3 years agoQnx: Fix runtime check when debugging
El Mehdi Fekari [Wed, 12 Mar 2014 11:05:30 +0000 (12:05 +0100)]
Qnx: Fix runtime check when debugging

Those changes were missing in the commit introducing the check...

Change-Id: I7c2977b255063235a8f81c488c200c9b93b36482
Reviewed-by: Fanda Vacek <fvacek@blackberry.com>
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
3 years agoDebugger: Fix message about attaching to local processes.
Friedemann Kleint [Thu, 13 Mar 2014 07:39:22 +0000 (08:39 +0100)]
Debugger: Fix message about attaching to local processes.

Change-Id: I2400e6a4121f72efc1934252e2998b3060dd4c47
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoCppTools: Save some stats by using correct include paths
Nikolai Kosjar [Mon, 10 Mar 2014 18:22:46 +0000 (15:22 -0300)]
CppTools: Save some stats by using correct include paths

..while initial parsing.

Change-Id: I202da3f4f9e445a28e9726352fc005488efe2893
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoCppTools/QmlJSEditor: Hide "Preserve Case" for Replace Symbol Under Cursor
Nikolai Kosjar [Tue, 11 Mar 2014 19:06:33 +0000 (16:06 -0300)]
CppTools/QmlJSEditor: Hide "Preserve Case" for Replace Symbol Under Cursor

...since it does not make sense for symbols.

Task-number: QTCREATORBUG-11669
Change-Id: Ic249cb15cdb3b324a9b215323acd802a33797100
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agoDebugger: Simplify LLDB Qt namespace and version extraction
hjk [Wed, 12 Mar 2014 17:04:51 +0000 (18:04 +0100)]
Debugger: Simplify LLDB Qt namespace and version extraction

Change-Id: I00b0e32da56bef613220d98f9d99758b47b3daf5
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoSDKtool: Fix get operation
Tobias Hunger [Wed, 12 Mar 2014 16:55:53 +0000 (17:55 +0100)]
SDKtool: Fix get operation

Sometimes I think nobody ever uses the sdktool:-/

Change-Id: I91d1e21db982e802394d30fbdd75ab0f6b3a0961
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoQmlDesigner.Model: Adding QTC_ASSERT to selection
Thomas Hartmann [Wed, 5 Mar 2014 15:06:13 +0000 (16:06 +0100)]
QmlDesigner.Model: Adding QTC_ASSERT to selection

ModelNodes not in the hierarchy should never be selected.
Note: This forces the node to be valid in isInHierarchy().

Change-Id: Ibda7b69d03344232a776d5307788871e4a75fbad
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
3 years agoQmlDesigner.PropertyEditor: expose ColorLogic
Thomas Hartmann [Wed, 12 Mar 2014 12:37:00 +0000 (13:37 +0100)]
QmlDesigner.PropertyEditor: expose ColorLogic

Change-Id: Ibc15d3b05c518dcf71a0b2c014b3076f42e71cdf
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoQmlDesigner.PropertyEditor: Use invalid QVariant as default value
Thomas Hartmann [Wed, 12 Mar 2014 12:28:15 +0000 (13:28 +0100)]
QmlDesigner.PropertyEditor: Use invalid QVariant as default value

Returning a proper default value did confuse the frontend for className.

Task-number: QTCREATORBUG-11682
Task-number: QTCREATORBUG-11683
Task-number: QTCREATORBUG-11682

Change-Id: I9cb0df893597ad2b372935a05a7a5878708ddcda
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoQmlDesigner: Hotfix for all Windows
Marco Bubke [Wed, 12 Mar 2014 15:08:14 +0000 (16:08 +0100)]
QmlDesigner: Hotfix for all Windows

Now all windows are exchanged with items.

Change-Id: Ieecd4410c92a1e4f63b1035843a8534e92199b98
Hotfix: 3.1
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoExample launcher: Don't configure kits automatically
Alessandro Portale [Fri, 7 Mar 2014 16:40:29 +0000 (17:40 +0100)]
Example launcher: Don't configure kits automatically

We need the target setup page for opened examples back. Reason is
that we want to show the android PotentialKit, so that people
get a bit closer to finding the Android Options dialog.

Change-Id: I38fd84717786abbe8b65f3f8f5410aeb7ca0f093
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoDebugger: Fix base type extraction with LLDB
hjk [Wed, 12 Mar 2014 14:03:20 +0000 (15:03 +0100)]
Debugger: Fix base type extraction with LLDB

Change-Id: I0370040879abf948be8594dec4bf267978329bbb
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoDebugger: Loosen version restriction on CComplex test
hjk [Fri, 7 Mar 2014 23:07:23 +0000 (00:07 +0100)]
Debugger: Loosen version restriction on CComplex test

Change-Id: Ifc2b2e5fb51b4e1bd1b55d7d7ab9e5b3083d0da1
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoDebugger: Ignore Clang debuginfo quirk in auto test
hjk [Wed, 12 Mar 2014 13:54:22 +0000 (14:54 +0100)]
Debugger: Ignore Clang debuginfo quirk in auto test

One more pass on Mac...

Change-Id: I3370040879abf948be8594dec4bf267978329bbb
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoQmlDesigner: Fix sub class question for QtQuick.Window.Window
Marco Bubke [Wed, 12 Mar 2014 13:19:19 +0000 (14:19 +0100)]
QmlDesigner: Fix sub class question for QtQuick.Window.Window

Change-Id: Ie370040879abf948be8594dec4bf267978329bbb
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoDebugger: Adjust auto test to protocol changes
hjk [Wed, 12 Mar 2014 13:33:13 +0000 (14:33 +0100)]
Debugger: Adjust auto test to protocol changes

Change-Id: I5cdf8f8c8a28b95fe29eddff9d8db8a0652847d2
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoDebugger: Consolidate metaObject recognition
hjk [Wed, 12 Mar 2014 12:20:21 +0000 (13:20 +0100)]
Debugger: Consolidate metaObject recognition

Same code can be used for LLDB and GDB...

Change-Id: I07aae10fec28f01425cc13285504f57aef3afd25
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoC++: fix support for nested anonymous classes
Przemyslaw Gorszkowski [Sun, 24 Nov 2013 20:02:26 +0000 (21:02 +0100)]
C++: fix support for nested anonymous classes

A member of nested anonymous class should be visible as a member of
enclosing class(if there is no declaration of this nested anonymous
class).

Fix:
* marking
* find usage
* follow symbol
* completion

Task-number: QTCREATORBUG-10876
Task-number: QTCREATORBUG-11170
Change-Id: If5b4d198e9075f2a8aa899ae59190f2c05f7b1ff
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoText editor: fix capitalization of a button text
Leena Miettinen [Wed, 12 Mar 2014 09:41:18 +0000 (10:41 +0100)]
Text editor: fix capitalization of a button text

Change-Id: I90ac86eb411beb7a966e4ae5deedad76f6c86b6b
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
3 years agoDoc: Nokia Qt SDK is no longer available
Leena Miettinen [Wed, 12 Mar 2014 09:40:20 +0000 (10:40 +0100)]
Doc: Nokia Qt SDK is no longer available

Leaving the note for anyone who has Madde installed,
but is thinking of moving into Qt Creator 3.x.

Change-Id: I49d3326cee6594559631ba70718a05572dc2ea7b
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
3 years agoQmlDesigner: Consolidate exception handling code
hjk [Wed, 12 Mar 2014 11:06:58 +0000 (12:06 +0100)]
QmlDesigner: Consolidate exception handling code

And translate the message box title.

Change-Id: I9d805c10940e5e3dbaa17323a913a4a55fc61a2d
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoUse ICore::dialogParent for message boxes without parent so far
hjk [Tue, 11 Mar 2014 17:09:23 +0000 (18:09 +0100)]
Use ICore::dialogParent for message boxes without parent so far

Change-Id: I2ee35796b2c041e6ea2ae6bd677e10167451d1b8
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
3 years agoReorder coloring inside diff editor
jkobus [Wed, 12 Mar 2014 10:53:51 +0000 (11:53 +0100)]
Reorder coloring inside diff editor

Display properly separators in differences

Change-Id: Ia7aa1f1ee96a07e0ed96773e8363e68f3d3a5638
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
3 years agoQmlDesigner: Bump version of qml2puppet for Qt Creator 3.1
Thomas Hartmann [Wed, 12 Mar 2014 09:50:39 +0000 (10:50 +0100)]
QmlDesigner: Bump version of qml2puppet for Qt Creator 3.1

Change-Id: I57aae18fec28f01425cc13285504f57aef3afd25
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
3 years agoQmlDesigner: Ugly hack for the Window bug
Marco Bubke [Tue, 11 Mar 2014 18:36:36 +0000 (19:36 +0100)]
QmlDesigner: Ugly hack for the Window bug

Window is not working so we exchange it with an item. We need a better
approach for it in the next release. Revert this patch in master.

Hotfix: 3.1

Task-number: QTCREATORBUG-11601
Change-Id: I047dd558f8813cc8b3b6c8bad3394c3cf30c8d8e
Signed-off-by: Marco Bubke <marco.bubke@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoAndroid options: Stronger check for valid JDK location
Alessandro Portale [Wed, 12 Mar 2014 10:11:34 +0000 (11:11 +0100)]
Android options: Stronger check for valid JDK location

The location should contain bin/javac

Change-Id: If67ed4902b817f2d07302afb195e6dfbad881250
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoCore: fix capitalization of a button text
Leena Miettinen [Wed, 12 Mar 2014 09:41:43 +0000 (10:41 +0100)]
Core: fix capitalization of a button text

Change-Id: I35d878c72f967ef6bba17c1e259c562f2d4d1593
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
3 years agoAndroidManifestEditor: Rewrite writing of xml files
Daniel Teske [Mon, 10 Mar 2014 20:37:38 +0000 (21:37 +0100)]
AndroidManifestEditor: Rewrite writing of xml files

Using QXmlStreamWriter + QXmlStreamReader gives us greater control
over the ordering of attributes. That way we can ensure that we never
change the ordering that the user used. (Whereas for QDom the best
we can do is to have a predictable but random order.)

Neither QXmlStreamWriter nor QDom allows us to control the indentation
and other whitespace, so any user indentation is lost.

In addtion QXmlStreamWriter seems to have several bugs with indentation
though, leading to rather strangely formatted files.

Task-number: QTCREATORBUG-10870

Change-Id: I4cdbdcd499227f418e7767eb1b532efbbd5083a5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
3 years agoDebugger: Force plain transport for non-ASCII char data
hjk [Tue, 11 Mar 2014 17:46:33 +0000 (18:46 +0100)]
Debugger: Force plain transport for non-ASCII char data

Task-number: QTCREATORBUG-11670
Change-Id: Iec5d3c7e73139414c51216ed6767c4524e859329
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
3 years agoDiff Editor: Fix compilation with Qt < 5.2.
Friedemann Kleint [Tue, 11 Mar 2014 19:36:01 +0000 (20:36 +0100)]
Diff Editor: Fix compilation with Qt < 5.2.

Change-Id: I95401ed010e41341eb25bba032b924765b2c1be5
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoDesigner: fix capitalization of UI text
Leena Miettinen [Tue, 11 Mar 2014 15:22:26 +0000 (16:22 +0100)]
Designer: fix capitalization of UI text

Change-Id: I082f4a7a7d6c01ae4de2a91abe318d73a931bf9e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
3 years agoDoc: Fix toolTip
Takumi Asaki [Tue, 11 Mar 2014 02:34:36 +0000 (11:34 +0900)]
Doc: Fix toolTip

Change-Id: I5b4d4843dc6bc609c36f63dbb97fdfd0daae3f9f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoqmldesigner: add explicit cast to enum conversion
Fawzi Mohamed [Tue, 11 Mar 2014 10:19:11 +0000 (11:19 +0100)]
qmldesigner: add explicit cast to enum conversion

Xcode 5 clang is picky about conversion between enums.
Adding an explicit cast.

Change-Id: I2e9b877c67f3b889a02d516704879b9b3b9d9bc0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoQmlDesigner: Only open QtQuick and no js files
Marco Bubke [Tue, 11 Mar 2014 15:18:03 +0000 (16:18 +0100)]
QmlDesigner: Only open QtQuick and no js files

Task-number: QTCREATORBUG-11650
Change-Id: I27e62bf307a8b00157444b09c8b65a93137296ce
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agoDoc: remove note about Symbian support
Leena Miettinen [Tue, 11 Mar 2014 15:25:02 +0000 (16:25 +0100)]
Doc: remove note about Symbian support

Nokia has discontinued support for Qt development for Symbian
devices. The Nokia Qt SDK 1.x.x is no longer available for
download at Nokia sites.

Change-Id: Iec7e316729c6ffe2e698070f4833330e5a2d95da
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
3 years agoDebugger: Implement "Create Full Backtrace" for LLDB
hjk [Tue, 11 Mar 2014 15:40:07 +0000 (16:40 +0100)]
Debugger: Implement "Create Full Backtrace" for LLDB

Task-number: QTCREATORBUG-11642
Change-Id: I92d7cde1e5021ab06ad72a00645184c41dae0e6b
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoCore: fix capitalization and wording of UI text
Leena Miettinen [Tue, 11 Mar 2014 15:21:43 +0000 (16:21 +0100)]
Core: fix capitalization and wording of UI text

Change-Id: Idc6deb33cefc69bce80c989d04c59a0a4d7201e4
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
3 years agoDebugger: Let creator trigger the locals update also with LLDB
hjk [Tue, 11 Mar 2014 14:49:34 +0000 (15:49 +0100)]
Debugger: Let creator trigger the locals update also with LLDB

Makes the code path more similar to the GDB side and allows
skipping register refreshs when the view is invisible.

Change-Id: Ia9210ee1709dbc5c9c7a6870bf8a54484261fee0
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoCodeAssist: Limit width of tooltips
Nikolai Kosjar [Fri, 7 Mar 2014 16:55:06 +0000 (13:55 -0300)]
CodeAssist: Limit width of tooltips

This is a workaround for black tooltips or even crahes when the nvidia
driver is used.

Task-number: QTCREATORBUG-11653
Change-Id: I4ddc09354a9956a55ac6b196a596f3eaeef13670
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoQmlProfiler: Remove pointless second check for endTime
Ulf Hermann [Tue, 11 Mar 2014 11:20:58 +0000 (12:20 +0100)]
QmlProfiler: Remove pointless second check for endTime

If the selected events aren't in the specified time range the selection
should be fixed.

Change-Id: I8cb6b57054888433b5ebf66fce3b479b3266f86e
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
3 years agoQmlProfiler: Make sure that very narrow events can be hovered over
Ulf Hermann [Tue, 11 Mar 2014 11:16:37 +0000 (12:16 +0100)]
QmlProfiler: Make sure that very narrow events can be hovered over

By giving the area the mouse "covers" a non-zero width events that last
only a very short time can be selected even if no pixel in the timeline
falls "into" them.

Task-number: QTCREATORBUG-11692
Change-Id: I53b74e2a770719872e0afc57740f7762636dc641
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
3 years agoSquish: Fix tst_rename_file
Christian Stenger [Tue, 11 Mar 2014 11:22:07 +0000 (12:22 +0100)]
Squish: Fix tst_rename_file

Change-Id: I71eece2ce9d73132edc09c5ba1465882636f5c78
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
3 years agoAndroidSettingsWidget::apply(): Fix order of applying the changes
Daniel Teske [Tue, 11 Mar 2014 12:05:36 +0000 (13:05 +0100)]
AndroidSettingsWidget::apply(): Fix order of applying the changes

Create the device first, as otherwise no kits are generated and
create toolchains next. This should fix that the AndroidPotentialKit
 doesn't vanish in some cases.

Change-Id: Ia9141f72a146da157dc713c1e2f293747fa369bd
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
3 years agoDiffEditor: refactor internal structures.
jkobus [Tue, 11 Mar 2014 14:31:19 +0000 (15:31 +0100)]
DiffEditor: refactor internal structures.

Simplify the implementation a lot.

Change-Id: I3f5daa3d2ce14c28d48c2e1e996ec4935d1dae3f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
3 years agoDebugger: Comment out unused threadname code
hjk [Tue, 11 Mar 2014 12:24:19 +0000 (13:24 +0100)]
Debugger: Comment out unused threadname code

This should be re-vived at some time for MinGW, until then making
clear that it is not used does not hurt.

Change-Id: I365c9fb1f859223da2f96b72a33419313438d83b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
3 years agoupdate qbs submodule
Joerg Bornemann [Tue, 11 Mar 2014 11:33:37 +0000 (12:33 +0100)]
update qbs submodule

Change-Id: Idbae388b3992df40dbc38fc7005186a3e0997f61
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agouse new base import style in qbs files
Joerg Bornemann [Tue, 11 Mar 2014 10:30:14 +0000 (11:30 +0100)]
use new base import style in qbs files

Change-Id: Iecf32122df41f304ec6df538bb0dd8a263238a86
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
3 years agoSquish: Fix tst_simple_analyze
Christian Stenger [Fri, 7 Mar 2014 15:01:14 +0000 (16:01 +0100)]
Squish: Fix tst_simple_analyze

Used template has changed - correcting the expected values.

Change-Id: I8d60f3c75f1f88d80c31f68276ac083e2215e8f7
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
3 years agoCMakeBuildConfiguration: Fix cloning buildconfigurations resetting ninja
Daniel Teske [Thu, 6 Mar 2014 15:22:19 +0000 (16:22 +0100)]
CMakeBuildConfiguration: Fix cloning buildconfigurations resetting ninja

Task-number: QTCREATORBUG-11632
Change-Id: Ie07e257dea4bfa1991a9fd492df3adc756cdb36d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoMsvcToolchain: Don't create a excessivly long command line for cl.exe
Daniel Teske [Thu, 6 Mar 2014 15:00:43 +0000 (16:00 +0100)]
MsvcToolchain: Don't create a excessivly long command line for cl.exe

Task-number: QTCREATORBUG-11600
Change-Id: I616f54920d207546b6b8d44aa97341bb8118074e
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoDebugger: Fix typo
Christian Stenger [Tue, 11 Mar 2014 11:08:51 +0000 (12:08 +0100)]
Debugger: Fix typo

Change-Id: Iba23331b4a6a17c690a6c630e1fbb29d530cfb30
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoQmlDesigner: Disable clipping for text drawing
Marco Bubke [Tue, 11 Mar 2014 11:40:49 +0000 (12:40 +0100)]
QmlDesigner: Disable clipping for text drawing

Task-number: QTCREATORBUG-11680
Change-Id: I5709e9c777f453c4ba4822f5f7b84332094e136a
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
3 years agoQmlDesigner: Refactor FormEditorItem::paintPlaceHolderForInvisbleItem
Marco Bubke [Tue, 11 Mar 2014 11:39:57 +0000 (12:39 +0100)]
QmlDesigner: Refactor FormEditorItem::paintPlaceHolderForInvisbleItem

The method is doing to things so splitting it up in two functions makes
this more clear.

Change-Id: Ie19c3405d671b16ae51ba37ea00f21bbbde785c8
Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
3 years agoiossim: pass all arguments to simulator
Fawzi Mohamed [Mon, 10 Mar 2014 09:24:15 +0000 (10:24 +0100)]
iossim: pass all arguments to simulator

Change-Id: I805022cd6eb1ca7a49c90a9c294bf23976146e0e
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agoios: use consistent paths in build dir creation
Fawzi Mohamed [Tue, 11 Mar 2014 10:34:39 +0000 (11:34 +0100)]
ios: use consistent paths in build dir creation

Change-Id: I23ed6569eb0b87a32d4e0920a9ea42536e9e2af4
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agoios: remove temporary devices
Fawzi Mohamed [Tue, 25 Feb 2014 21:20:16 +0000 (22:20 +0100)]
ios: remove temporary devices

Developer mode activation generates temporary devices that will never
be usable again. Remove them if they were picked up.

Change-Id: Iff35b640d2c2e8394b108fd8d224a2b6ea8e1626
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agoios: adding port information to ios devices
Fawzi Mohamed [Tue, 25 Feb 2014 15:02:02 +0000 (16:02 +0100)]
ios: adding port information to ios devices

Change-Id: I0243735159b02ac4afaf3d14ecb20381439a3997
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agouse the .qbs file extension for qbs project files
Joerg Bornemann [Tue, 11 Mar 2014 10:27:47 +0000 (11:27 +0100)]
use the .qbs file extension for qbs project files

Change-Id: I4a6a8a81ca687b29101ae66ed22a2456e8991d55
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
3 years agoDoc: using experimental WinRT plugin
Leena Miettinen [Tue, 11 Mar 2014 09:54:15 +0000 (10:54 +0100)]
Doc: using experimental WinRT plugin

Change-Id: I669048c839dc7d78984923b21f6bfba69d551a43
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>