qt-creator:qt-creator.git
3 years agoQmlDesigner: SharedMemory key needs to be the same with all Qts v3.2.0-rc1
Tim Jenssen [Fri, 1 Aug 2014 09:13:13 +0000 (11:13 +0200)]
QmlDesigner: SharedMemory key needs to be the same with all Qts

Change-Id: I7b514e3d21f0874fec35331e7fd73c209e9b30d7
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoQmlPuppet: Fix compile with Qt older than 5.2
Tim Jenssen [Fri, 1 Aug 2014 08:38:03 +0000 (10:38 +0200)]
QmlPuppet: Fix compile with Qt older than 5.2

Change-Id: I0ef3c5e374b1b01c22b553b99dfbd8eb7783fa90
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoqmljs: do not try to dump without uri
Fawzi Mohamed [Thu, 31 Jul 2014 13:11:58 +0000 (15:11 +0200)]
qmljs: do not try to dump without uri

qmlplugindump --path always fails, so skip it

Change-Id: Ica2d25c864104aa77efbc26913b079c98ff5e283
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
3 years agoCmakeProject: Don't crash on addKit + cancel
Daniel Teske [Thu, 31 Jul 2014 14:36:46 +0000 (16:36 +0200)]
CmakeProject: Don't crash on addKit + cancel

This was introduced by adding the remote linux support for 3.0 in
328a24edee3008a8d6bbbc7f57ac064bcd806d37. If the user cancels the
run cmake dialog, no buildconfiguration is created. The adding of kit
should then not happen. A target without a buildconfiguration should
not happen.

Task-number: QTCREATORBUG-12773
Change-Id: Ic43c5cc13f9e114ea24cc97154a6c084125f6318
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoMake strings translatable
Alessandro Portale [Thu, 31 Jul 2014 11:59:09 +0000 (13:59 +0200)]
Make strings translatable

Change-Id: I1dc1d306d0c1e8070e75a73c23f622389f06fad1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoQmlDesigner: use explicit build type for puppet creation
Tim Jenssen [Thu, 31 Jul 2014 12:21:15 +0000 (14:21 +0200)]
QmlDesigner: use explicit build type for puppet creation

Change-Id: Ibeba1cc874ddfd083113249a408caa05e1e012a5
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
3 years agoAndroid: Prevent crash if running on a terget without deployconfiguration
Daniel Teske [Thu, 31 Jul 2014 14:53:32 +0000 (16:53 +0200)]
Android: Prevent crash if running on a terget without deployconfiguration

Should be impossible to do, but the stacktrace in the linked task shows
that it is possible somehow.

Task-number: QTCREATORBUG-12776
Change-Id: I1f2054bbaa132c29dfc4579fb7020f364bddd939
Reviewed-by: BogDan Vatra <bogdan@kde.org>
3 years agoQmlDesigner: Always use fall back puppet
Marco Bubke [Wed, 30 Jul 2014 12:27:13 +0000 (14:27 +0200)]
QmlDesigner: Always use fall back puppet

Task-number: QTCREATORBUG-12758
Change-Id: I7ac35ac513081ce37354c3151522463e17e59818
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner: Use a POSIX shared memory for unix
Marco Bubke [Thu, 31 Jul 2014 14:45:21 +0000 (16:45 +0200)]
QmlDesigner: Use a POSIX shared memory for unix

QSharedMemory is using SVR4 shared memory for unix which is limited to
4 MB globally which is really hurting the performance for the designer.
POSIX shared memory is lifting some of this constraints but still has
some bugs on Max OS but generally works better.

Change-Id: I74c1ffd56495f408cd9340cd159190a1175a4086
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoRevert "Debugger: Weaken abi check for attaching to local process"
hjk [Thu, 31 Jul 2014 13:05:25 +0000 (15:05 +0200)]
Revert "Debugger: Weaken abi check for attaching to local process"

This reverts commit eab8054535c4726d9390fe331bb9a6cae5f623f9.
The commit introduces regressions as GDB will be considered
as suitable for MSVC compiled binaries.

Task-number: QTCREATORBUG-12772
Change-Id: I87b17cd81621aca0142633c008c0f1114f349b1f
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
3 years agoQmlDesigner: Check directory and not anymore only directory entries
Marco Bubke [Wed, 30 Jul 2014 13:55:08 +0000 (15:55 +0200)]
QmlDesigner: Check directory and not anymore only directory entries

On some file systems the time stamp of the directory is updated as the
file stamp is updated.

Change-Id: I825377e43c26abe89c882f054d175b31dd93768c
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoSet the minimum qbs version on the project.
Christian Kandeler [Thu, 31 Jul 2014 12:13:44 +0000 (14:13 +0200)]
Set the minimum qbs version on the project.

So people will understand why they can't open the projects with older
Creator versions.

Change-Id: Ie9291096ba001b0d31a58d834ba23c95a569d20f
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
3 years agoUpdate qbs submodule.
Christian Kandeler [Wed, 30 Jul 2014 15:53:49 +0000 (17:53 +0200)]
Update qbs submodule.

To HEAD of 1.3 branch.

Change-Id: I30344ddbf055f5ba8c29e672a019909d1c0babe8
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
3 years agoRunControlFactories: No need to check for isConfigured
Daniel Teske [Tue, 29 Jul 2014 16:03:18 +0000 (18:03 +0200)]
RunControlFactories: No need to check for isConfigured

Checking if a runconfiguration is configured happens before searching
for the right factory, thus the factory can assume that it always gets
a configured runconfiguration.

Change-Id: I171318dda22c4e89f3619418336865cb28a3dc5f
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoDoc: make the running instructions be about kit selector
Leena Miettinen [Wed, 30 Jul 2014 10:03:01 +0000 (12:03 +0200)]
Doc: make the running instructions be about kit selector

Remove the section about running on desktop and add
instructions for opening the kit selector.
Update the screen shot.

Change-Id: I164381287bd2167eb45dd6b4c2c3da555027af12
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoDebuggerRunControlFactory::createAndScheduleRun: Remove unused parameter
Daniel Teske [Tue, 29 Jul 2014 15:57:04 +0000 (17:57 +0200)]
DebuggerRunControlFactory::createAndScheduleRun: Remove unused parameter

No caller actually passed in a runconfiguration.

Change-Id: I68a0cea8cd5d9bbdd4fb0b979ef4c5698f5b769d
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoDebugger: Fix comparison of wrong value
Orgad Shaneh [Wed, 30 Jul 2014 18:55:18 +0000 (21:55 +0300)]
Debugger: Fix comparison of wrong value

debuggeritem.cpp:259: warning: comparison between 'enum ProjectExplorer::Abi::OS'
and 'enum ProjectExplorer::Abi::OSFlavor' [-Wenum-compare]

Change-Id: I3b4f484abec56429bb7d7796749e7f1fa4e0317a
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
3 years agoDoc: explain all build commands in one place
Leena Miettinen [Wed, 30 Jul 2014 14:49:21 +0000 (16:49 +0200)]
Doc: explain all build commands in one place

Change-Id: I6c1844fd5c0519f24eb61793ff8f049ce4e7b469
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoDoc: some writing style fixes
Leena Miettinen [Wed, 30 Jul 2014 14:47:45 +0000 (16:47 +0200)]
Doc: some writing style fixes

Change-Id: Ibfd4d1ed174e5d656589cfaaf1303cf4d75fa05d
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoDoc: update FakeVim options screenshot
Leena Miettinen [Wed, 30 Jul 2014 14:46:25 +0000 (16:46 +0200)]
Doc: update FakeVim options screenshot

An option was added.

Change-Id: Ia66e085e14a73815c91fec22157fc1e48a614db2
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoQmlDesigner.ItemLibrary: Remove Flipable
Thomas Hartmann [Wed, 30 Jul 2014 12:05:56 +0000 (14:05 +0200)]
QmlDesigner.ItemLibrary: Remove Flipable

Flipable is basically unsuported by the designer and it does not make
sense to show something unsupported in the library.

Change-Id: Ib75be87f8303e0da7fe0a069bc257600296c3cbe
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner.ItemLibrary: Remove StatusBar and ToolBar
Thomas Hartmann [Wed, 30 Jul 2014 12:07:10 +0000 (14:07 +0200)]
QmlDesigner.ItemLibrary: Remove StatusBar and ToolBar

These items are poorly supported at the moment.
we should not encourage the usage in the designer.

Change-Id: I2218bfd48c5d45d1cdd7abe083010e48fa72f962
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner: Fix quick1 tests
Marco Bubke [Wed, 30 Jul 2014 11:41:03 +0000 (13:41 +0200)]
QmlDesigner: Fix quick1 tests

The test still used the unsupported Qt 4.7 import.

Task-number: QTCREATORBUG-12567
Change-Id: I47eee256d9e3160aea8e41537fcea92d20b42fd7
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner: read window mock from file
Tim Jenssen [Thu, 24 Jul 2014 17:38:51 +0000 (19:38 +0200)]
QmlDesigner: read window mock from file

Change-Id: Ic525b1d3ac18c42c6abb6a93195e220465dd017f
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoDoc: remove unnecessary nested lists
Leena Miettinen [Wed, 30 Jul 2014 11:14:52 +0000 (13:14 +0200)]
Doc: remove unnecessary nested lists

There was only one item in the top level list, so turned
it into a leading sentence for the sublist.

Change-Id: I8190cea29a04664a39822a59192093dba717dc66
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoDoc: add info about Qt Quick Dialogs and Layouts
Leena Miettinen [Mon, 28 Jul 2014 14:14:32 +0000 (16:14 +0200)]
Doc: add info about Qt Quick Dialogs and Layouts

Task-number: QTCREATORBUG-12721
Change-Id: Ib6ff3e53806be26f714378d4ffcd3b54a36a6e8f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoQmlDesigner: Fix reset width and height
Marco Bubke [Tue, 29 Jul 2014 17:11:31 +0000 (19:11 +0200)]
QmlDesigner: Fix reset width and height

Task-number: QTBUG-38426
Change-Id: I28e9ed70042c118ff65801c4d07e5a67dc7c3db1
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner: Remove superfluous function call
Marco Bubke [Tue, 22 Jul 2014 13:43:45 +0000 (15:43 +0200)]
QmlDesigner: Remove superfluous function call

Change-Id: I8cc953040269b6230f91f40cf85fe405684bc58d
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner: Fix quotes for mac quick1 puppet
Marco Bubke [Wed, 30 Jul 2014 10:16:47 +0000 (12:16 +0200)]
QmlDesigner: Fix quotes for mac quick1 puppet

Task-number: QTCREATORBUG-12746
Change-Id: If749457cd5f9336f7b1708cd05ca073925177a3b
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
3 years agoDebugger: Prefer GDB on Linux and LLDB on Mac in default kit setup
hjk [Tue, 29 Jul 2014 12:19:40 +0000 (14:19 +0200)]
Debugger: Prefer GDB on Linux and LLDB on Mac in default kit setup

Change-Id: I2c9f1391060a5c4af51e084ba7d86743700d0ce7
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoQmlDesigner.PropertyEditor: Set a proper maximum value for radius
Thomas Hartmann [Wed, 30 Jul 2014 08:51:53 +0000 (10:51 +0200)]
QmlDesigner.PropertyEditor: Set a proper maximum value for radius

Task-number: QTCREATORBUG-12574
Change-Id: I5be4fb1e0004a9f1ab32d9b83e2048031cfb3eb6
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner.Rewriter: We officially support Qt Quick 2.3
Thomas Hartmann [Mon, 28 Jul 2014 12:26:17 +0000 (14:26 +0200)]
QmlDesigner.Rewriter: We officially support Qt Quick 2.3

Change-Id: Ib157a55910f2416fc43cc1ee40684508ed498ea0
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner.PropertyEditor: This is not a property of PathView
Thomas Hartmann [Wed, 30 Jul 2014 08:34:37 +0000 (10:34 +0200)]
QmlDesigner.PropertyEditor: This is not a property of PathView

This is a property of ListView and GridView.

Task-number: QTCREATORBUG-12507
Change-Id: Ie3f6db2f90bc8b67bcc208c709b87717f653525d
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner.PropertyEditor: Do not show ExtendedFunctionButton for id
Thomas Hartmann [Wed, 30 Jul 2014 08:19:02 +0000 (10:19 +0200)]
QmlDesigner.PropertyEditor: Do not show ExtendedFunctionButton for id

Change-Id: I3ccc2e341591913d1645b3e748ee07acf7cecee7
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoAndroid: Fix wrong return values
Daniel Teske [Wed, 30 Jul 2014 09:24:22 +0000 (11:24 +0200)]
Android: Fix wrong return values

Change-Id: Ia5917387c429278cac34a8d1f7a67631d491bff2
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoQmlDesigner.PropertyEditor: Fixing usability issue for color editing
Thomas Hartmann [Mon, 28 Jul 2014 16:33:48 +0000 (18:33 +0200)]
QmlDesigner.PropertyEditor: Fixing usability issue for color editing

Task-number: QTCREATORBUG-12621
Task-number: QTCREATORBUG-12563

Change-Id: I6834633be92f2fcdf85995604490ceea14af9ef6
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoCore: remove deleted files from qbs file
Christian Stenger [Wed, 30 Jul 2014 08:01:48 +0000 (10:01 +0200)]
Core: remove deleted files from qbs file

These files have been removed with c3093cfff7f958087681f34afa147cbce39d5941.

Change-Id: I96b1c188bda8ff55a1cd4fba69c19f076be2efdb
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
3 years agoAndroid: Fix compilation with Qt 4.
Friedemann Kleint [Wed, 30 Jul 2014 07:22:20 +0000 (09:22 +0200)]
Android: Fix compilation with Qt 4.

Change-Id: I2a25cbb19246526702c91b41e3e62f05f7833e87
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoDebugger: fix typo in UI text
Leena Miettinen [Wed, 30 Jul 2014 07:26:42 +0000 (09:26 +0200)]
Debugger: fix typo in UI text

Change-Id: If5eb80f2d92632d61797f2b1f3bb7b7a604f3cac
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoDoc: fix typos in the WinRT topic
Leena Miettinen [Wed, 30 Jul 2014 07:21:10 +0000 (09:21 +0200)]
Doc: fix typos in the WinRT topic

Change-Id: I7d6340a48a4ce910fdbc6d5adc4605ff5ea13637
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoGit: Parse for-each-ref output as UTF-8
Orgad Shaneh [Wed, 30 Jul 2014 06:52:16 +0000 (09:52 +0300)]
Git: Parse for-each-ref output as UTF-8

Adding a branch with non-ascii chars then refreshing the branch list on
Windows invalidates the branch name.

Change-Id: I59d3e092c66fdcc7cea38a8451de6b5e42cd5de0
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
3 years agoQmlDesigner: Fix d&d in navigator
Marco Bubke [Tue, 29 Jul 2014 12:03:33 +0000 (14:03 +0200)]
QmlDesigner: Fix d&d in navigator

Check if you want to remove the same node you like to reparent.

Task-number: QTCREATORBUG-12744
Change-Id: Ib098a5723faf1679217f508a73e56359850aa4bc
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner: Fix enumerations properties
Marco Bubke [Mon, 28 Jul 2014 14:58:44 +0000 (16:58 +0200)]
QmlDesigner: Fix enumerations properties

Task-number: QTCREATORBUG-12741
Change-Id: I1ef1909d585732a39bbf80b90512851a10f60600
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoSquish: Replace Qt 5.0 by Qt 5.3
Robert Loehning [Mon, 28 Jul 2014 14:01:11 +0000 (16:01 +0200)]
Squish: Replace Qt 5.0 by Qt 5.3

Change-Id: I2fb5ea259c523fce4e71f02ca087ed93fd9a0ae1
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
3 years agoQmlDesigner: Get whole values for value types too.
Marco Bubke [Mon, 28 Jul 2014 16:07:31 +0000 (18:07 +0200)]
QmlDesigner: Get whole values for value types too.

Task-number: QTCREATORBUG-12130
Change-Id: Ic43826060d9ce38aded7fc3a68dff2ea6860bfc1
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoios: fix deploy script for iossim_1_8_2
Fawzi Mohamed [Tue, 29 Jul 2014 15:16:57 +0000 (17:16 +0200)]
ios: fix deploy script for iossim_1_8_2

iossim_1_8_2 (the tool used to deploy to the simulator with Xcode
<=5.0.x) wasen't being "qtdeployed", and had incorrect library paths.
This made deploy to simulator fail on older Xcode installations.

Task-number: QTCREATORBUG-12753
Change-Id: Iecae2938daa0f7180c1fa576c62dd519ac7846d5
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
3 years agoAndroid: Warn about broken gdbs on every platform
Daniel Teske [Tue, 29 Jul 2014 11:32:24 +0000 (13:32 +0200)]
Android: Warn about broken gdbs on every platform

Add more indicators for a broken gdb. This also fixes a bug where the
message was errounously shown on non-OS X platforms

Task-number: QTCREATORBUG-12747
Change-Id: I7936e5eea58896aec382616d6e7236b8276f998d
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoQmlDesigner.PropertyEditor: Fix tooltip property
Thomas Hartmann [Tue, 29 Jul 2014 13:34:18 +0000 (15:34 +0200)]
QmlDesigner.PropertyEditor: Fix tooltip property

For Button the property is called tooltip and not toolTip
ComboBox has no tooltip property.

Task-number: QTCREATORBUG-12334
Change-Id: I19b01e171deccaa5a65ddf640c46820072048d88
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner.PropertyEditor: Select new created gradient stop
Thomas Hartmann [Mon, 28 Jul 2014 15:34:05 +0000 (17:34 +0200)]
QmlDesigner.PropertyEditor: Select new created gradient stop

Task-number: QTCREATORBUG-12507
Change-Id: I2d2bc4d478e53b5b5a0faeeda68cd95d7c85377e
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoDoc: including Android permissions needed by Qt
Leena Miettinen [Tue, 29 Jul 2014 12:58:39 +0000 (14:58 +0200)]
Doc: including Android permissions needed by Qt

New check box in Android Manifest Editor.
Fix the description for adding permissions from
the list.
Update screenshot.

Change-Id: Ifc74a84be7a9df32a5cc0513e56f8fa4d504c9c5
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoDoc: fix change field name
Leena Miettinen [Tue, 29 Jul 2014 12:20:39 +0000 (14:20 +0200)]
Doc: fix change field name

"Android target SDK" was changed to "Android build SDK"
in the deploy settings.

Updated the screenshot.

Change-Id: Ic8c1ce4ad8610d76c0d23bc65762e5bb0aaddfdb
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoUpdate qbs submodule.
Christian Kandeler [Tue, 29 Jul 2014 10:24:22 +0000 (12:24 +0200)]
Update qbs submodule.

To HEAD of the 1.3 branch.

Change-Id: Ie95d869808128e83cc25851f2baf80a8788bbe87
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
3 years agoQmlDesigner.PropertyEditor: Use DesignerScrollViewStyle
Thomas Hartmann [Tue, 29 Jul 2014 07:41:45 +0000 (09:41 +0200)]
QmlDesigner.PropertyEditor: Use DesignerScrollViewStyle

I set corner to an empty item, because otherwise it looks weird if both
scrollbars are visible.

Change-Id: I149e2ff58f9e9f71b2bb9f435fd64388cbf5529c
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoGenericProject: Don't show externally modified dialog for addFiles
Daniel Teske [Mon, 28 Jul 2014 12:43:43 +0000 (14:43 +0200)]
GenericProject: Don't show externally modified dialog for addFiles

Change-Id: I3321e5c51f18388b8a691193159ef7e434971835
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoGenericProject: Also change .include on adding files
Daniel Teske [Mon, 28 Jul 2014 12:41:55 +0000 (14:41 +0200)]
GenericProject: Also change .include on adding files

Task-number: QTCREATORBUG-12727
Change-Id: I3653f505739ace39cabbb63e227302fc0e71d055
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoGenericProject: Fix logic for refresh(Everything)
Daniel Teske [Mon, 28 Jul 2014 12:55:44 +0000 (14:55 +0200)]
GenericProject: Fix logic for refresh(Everything)

Change-Id: I0c80797ad1af8b01ffe8b12a211aed3b06fb1892
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoDebugger: Weaken abi check for attaching to local process
hjk [Mon, 28 Jul 2014 14:10:03 +0000 (16:10 +0200)]
Debugger: Weaken abi check for attaching to local process

Given that we don't detect all aspects of the tool chain under all
circumstances, an '==' is too strong.

Change-Id: I1c07d58d824e765f9d89fb7dd3007ca716997ee0
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoQmlDesigner.PropertyEditor: Fix selection in gradient editing
Thomas Hartmann [Mon, 28 Jul 2014 13:35:40 +0000 (15:35 +0200)]
QmlDesigner.PropertyEditor: Fix selection in gradient editing

Since property change signals can be emitted in any order we have to rely
on selection changed signals to guarantee a valid state.

I use the isInValidState which is only true after all properties have been
setup correctly after a selection change for this.

I added the signal selectionChanged for this.

Task-number: QTCREATORBUG-12642
Task-number: QTCREATORBUG-12506
Change-Id: Idf3bbe8236ece541ca267efb1bd68e0737c99716
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoQmlDesigner.PropertyEditor: Fix bug in line edit
Thomas Hartmann [Mon, 28 Jul 2014 10:18:32 +0000 (12:18 +0200)]
QmlDesigner.PropertyEditor: Fix bug in line edit

I gave writeValueManually a proper name and added a missing check.

Task-number: QTCREATORBUG-12642
Change-Id: I67b0d7754647c29ef378d6f12f023c8a4e728cd2
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
3 years agoFix debug to running application
Marco Bubke [Mon, 28 Jul 2014 15:16:32 +0000 (17:16 +0200)]
Fix debug to running application

If there was only one kit and no selection for the last kit saved you
got no process list.

Change-Id: Ie4b770cdb9b92860fb8154eed9a80e6d0d64335d
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoQmlDesigner: remove unnecessary qrc file
Tim Jenssen [Thu, 24 Jul 2014 14:03:48 +0000 (16:03 +0200)]
QmlDesigner: remove unnecessary qrc file

Change-Id: I9bf7beacaa05e8f903c3b4315d25dd4c644b5598
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoQmlDesigner: avoid comment in comment warning on MSVC2010
Tim Jenssen [Thu, 24 Jul 2014 13:40:54 +0000 (15:40 +0200)]
QmlDesigner: avoid comment in comment warning on MSVC2010

Change-Id: I10c65028b730d3cbc05dac3114c64b8ba785e5c0
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
3 years agoSquish: Revive WELP01 for Squish 5.1.1+
Christian Stenger [Tue, 22 Jul 2014 14:33:43 +0000 (16:33 +0200)]
Squish: Revive WELP01 for Squish 5.1.1+

Change-Id: I1d1bc9334fe6c0fc1187b9bcde27d0b4ed3081b4
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
3 years agoBareMetal: Unviolate string freeze
Orgad Shaneh [Mon, 28 Jul 2014 10:56:35 +0000 (13:56 +0300)]
BareMetal: Unviolate string freeze

Use a similar message from Core

Change-Id: Iccdcad0308cb7ac1b674522bce57124e3f0e9086
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Tim Sander <tim@krieglstein.org>
3 years agoC++: Tests: Remove plain-cplusplus
Nikolai Kosjar [Mon, 28 Jul 2014 08:07:19 +0000 (10:07 +0200)]
C++: Tests: Remove plain-cplusplus

Change-Id: Ifdf4cd5ea478c87d585c9404caf8f4be6873f692
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
3 years agoQbsProjectManager: Re-retrieve project data after build.
Christian Kandeler [Mon, 28 Jul 2014 07:53:06 +0000 (09:53 +0200)]
QbsProjectManager: Re-retrieve project data after build.

This fixes the bug that the "run" action fails if the project has not
been built before (because the path to the executable is still unknown
after the build due to the missing project data update).

Change-Id: I953cbb85051a1de78fcb0490abf58ebc9fcec6e7
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
3 years agoDiffEditor: Fix newline handling for not the last chunk
Jarek Kobus [Mon, 28 Jul 2014 09:17:31 +0000 (12:17 +0300)]
DiffEditor: Fix newline handling for not the last chunk

Task-number: QTCREATORBUG-12665
Change-Id: I7a54fa5502d3e06c6e1ccd99dec800f80e217333
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
3 years agoDiffEditor: Add a failing test for regression
Orgad Shaneh [Mon, 28 Jul 2014 09:15:01 +0000 (12:15 +0300)]
DiffEditor: Add a failing test for regression

Task-number: QTCREATORBUG-12665
Change-Id: I02f4a9d3444e775049e1712a1dd985b95dc874f3
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
3 years agoDiffEditor: Tests cleanup
Orgad Shaneh [Sat, 26 Jul 2014 19:57:42 +0000 (22:57 +0300)]
DiffEditor: Tests cleanup

Change-Id: Iddabf11692a192874096bb5f030d8575fc5cefd6
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
3 years agoBareMetal: Do not execute if executable not found
Orgad Shaneh [Sun, 27 Jul 2014 07:48:23 +0000 (10:48 +0300)]
BareMetal: Do not execute if executable not found

Change-Id: Iea9bd22117133ab55ee6743d0f359808bfaef2aa
Reviewed-by: Tim Sander <tim@krieglstein.org>
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoFix Qt4 compilation
Orgad Shaneh [Sun, 27 Jul 2014 07:24:27 +0000 (10:24 +0300)]
Fix Qt4 compilation

Change-Id: I1789ec51aba4a832a67bba1c549473d413c77543
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoLoadCoreDialog: only try reading from existing corefile
Thomas Otto [Wed, 23 Jul 2014 09:59:49 +0000 (11:59 +0200)]
LoadCoreDialog: only try reading from existing corefile

- currently gdb is called on every change of the core file, i.e. on
  every keypress when typing a path. Changed to only do that when the
  file exists

Change-Id: I27f1c21b2561420d72f273244dc6a1bb5fb8bfe7
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoDoc: change doc to reflect the UI
Leena Miettinen [Fri, 25 Jul 2014 14:16:53 +0000 (16:16 +0200)]
Doc: change doc to reflect the UI

The doc was changed in bc3865b7, but the corresponding UI
change has been lost (maybe during merges), so changing this
back for 3.2.

*DO NOT MERGE THIS CHANGE TO MASTER*

Change-Id: I7512971b0b5e2e5d5ef909c601d72aa504fd71bf
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoProjectExplorer: Fix the download Url for jom
Alessandro Portale [Fri, 25 Jul 2014 07:23:19 +0000 (09:23 +0200)]
ProjectExplorer: Fix the download Url for jom

Change-Id: Id0405609f319472fc0eac9064ed9d14781217906
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
3 years agoDoc: fix typo in "Window" menu name
Leena Miettinen [Fri, 25 Jul 2014 13:25:32 +0000 (15:25 +0200)]
Doc: fix typo in "Window" menu name

Change-Id: Ic2175f72e9dee9a63c8eda86cf431c7479b4c08e
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoKitChooser: added focus proxy
Thomas Otto [Wed, 16 Jul 2014 12:28:00 +0000 (14:28 +0200)]
KitChooser: added focus proxy

- focus proxy set to the combo box if it is populated with > 1
  element, otherwise to the manage button

Change-Id: I4e27b7bb3300d43bc146660221ab9f48386210b1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoDoc: fix changed Valgrind function names
Leena Miettinen [Fri, 25 Jul 2014 12:31:25 +0000 (14:31 +0200)]
Doc: fix changed Valgrind function names

Change-Id: I15c96c976c2e921588ddf420180b3318866dff9a
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoDoc: add Qbs build options
Leena Miettinen [Thu, 24 Jul 2014 14:57:45 +0000 (16:57 +0200)]
Doc: add Qbs build options

With screenshots.

Change-Id: Iec3b44c668fb99761664abcb9a0f9d22afb64ed9
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
3 years agoQbsProjectManager: Fix compile
Christian Stenger [Fri, 25 Jul 2014 06:15:35 +0000 (08:15 +0200)]
QbsProjectManager: Fix compile

Change-Id: I532412928e0c58da63783d79038939564342cea7
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
3 years agoQbs: Set cpp.xcodeSdkName and cpp.xcodeSdkVersion.
Jake Petroules [Mon, 21 Jul 2014 06:55:43 +0000 (02:55 -0400)]
Qbs: Set cpp.xcodeSdkName and cpp.xcodeSdkVersion.

Change-Id: I17ef8c60589208810e9427187249b7a56c46b623
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
3 years agoDumper: Fix typo and exception handling
Christian Stenger [Thu, 24 Jul 2014 11:22:19 +0000 (13:22 +0200)]
Dumper: Fix typo and exception handling

Change-Id: I4008d5427da7cedc0f57183a25519a1aef1fcb7a
Reviewed-by: hjk <hjk121@nokiamail.com>
3 years agoVersion bump
Eike Ziller [Thu, 24 Jul 2014 14:35:13 +0000 (16:35 +0200)]
Version bump

Change-Id: I9be7fde5b69b65e759100efb0595e7ca2ac5bfb9
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
3 years agoAndroid: Fix modified flag for changes to the application name
Daniel Teske [Thu, 24 Jul 2014 11:22:39 +0000 (13:22 +0200)]
Android: Fix modified flag for changes to the application name

Task-number: QTCREATORBUG-12065
Change-Id: I2e86274b5b1155a952438e7ea9223f6260e7ea53
Reviewed-by: BogDan Vatra <bogdan@kde.org>
3 years agoHelp: Fix crash when closing external help window
Eike Ziller [Thu, 24 Jul 2014 12:48:36 +0000 (14:48 +0200)]
Help: Fix crash when closing external help window

We need to explicitly remove the context that we registered for the
viewer in it. Otherwise it might happen that the deleted context object
is temporarily made "active" when the context for the whole window is
removed.

Change-Id: I903ae0a774751651cc2ec1661c0af8b8f7b3df2d
Task-number: QTCREATORBUG-12722
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
3 years agoQbsProjectManager: Do not offer to add and remove files during a build.
Christian Kandeler [Thu, 24 Jul 2014 10:18:29 +0000 (12:18 +0200)]
QbsProjectManager: Do not offer to add and remove files during a build.

The build graph is locked then. Disabling the action in the first place
is nicer than letting the respective qbs API call fail.

Change-Id: Icfb89b454a240253c9ddc7681b452d06ff0393dd
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
3 years agoAdd more change log
Eike Ziller [Thu, 24 Jul 2014 11:19:26 +0000 (13:19 +0200)]
Add more change log

Change-Id: I639ca89aece386d1609966d0309c717baaf16f17
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
3 years agoProjectExplorer: Do not offer "Remove Project" unconditionally.
Christian Kandeler [Thu, 24 Jul 2014 10:14:30 +0000 (12:14 +0200)]
ProjectExplorer: Do not offer "Remove Project" unconditionally.

Instead, check whether Node::supportedActions() contains
RemoveSubProject, like it is done for the other actions.

Change-Id: I84f9936cfda7300963e1dadb8425100f0ffd31a4
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
3 years agoCppTools: Auto-include pre-compiled headers
Nikolai Kosjar [Wed, 16 Jul 2014 09:25:15 +0000 (11:25 +0200)]
CppTools: Auto-include pre-compiled headers

So far the pre-compiled headers were processed (thus defines from those
headers were visible), but the actual includes for the documents were
not added, which is necessary for lookup/completion.

Note that this will be only done if pre-compiled headers are not ignored
(Options > C++ > Code Model > [] Ignore pre-compiled headers).

Change-Id: I54a8e6b00597af164d958e3e9f2a1075ea187788
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoCppTools: Fix Switch Header/Source going to wrong file
Nikolai Kosjar [Tue, 15 Jul 2014 08:48:36 +0000 (10:48 +0200)]
CppTools: Fix Switch Header/Source going to wrong file

Check only other projects if the current file is not part of any
project.

Task-number: QTCREATORBUG-12328
Change-Id: I7db65b26313a26773bbbf17e966abd668ea9a1a5
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoCppEditor: Fix "Complete Switch Statement"
Nikolai Kosjar [Wed, 23 Jul 2014 12:21:44 +0000 (14:21 +0200)]
CppEditor: Fix "Complete Switch Statement"

...if enum type is defined inside a class or namespace.

Task-number: QTCREATORBUG-12311
Change-Id: I71b64bbe9d419707b66caacd10550041efc1520c
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoC++: Fix expensive parsing of expressions
Nikolai Kosjar [Thu, 17 Jul 2014 10:56:28 +0000 (12:56 +0200)]
C++: Fix expensive parsing of expressions

For expression statements like "(g(g(g(...(g(0))...))))" we reparsed
quite much again and again for nothing. The high-level trace for this
expression looks like this:

    parseCastExpression
      parseTypeId
        parseAbstractDeclarator
          parseAbstractCoreDeclarator
          parseParameterDeclarationClause (--> DEEP)
            ...

      parseUnaryExpression
        ...
        parseCorePostfixExpression
          parseTypeId (--> DEEP)
          parsePrimaryExpression (--> DEEP)

Especially parseTypeId is expensive in this case and it's called two
times, both from the same token (index).

With this patch, we remember for certain ASTs the parse results and
re-use them when needed.

Change-Id: I013d1c064c655636bc94db408097863b5e183fc2
Task-number: QTCREATORBUG-12252
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoC++: Tests: Run ASTVisitor on parsed document
Nikolai Kosjar [Thu, 24 Jul 2014 10:02:02 +0000 (12:02 +0200)]
C++: Tests: Run ASTVisitor on parsed document

...as a sanity check.

Change-Id: I391276e41c5180d0df72fa6267f58801bf2d5da3
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoC++: Remove superfluous declarations in Parser
Nikolai Kosjar [Thu, 17 Jul 2014 16:25:26 +0000 (18:25 +0200)]
C++: Remove superfluous declarations in Parser

Change-Id: I6bf729a999494a84eb235a891ea14bbccd44aeb8
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
3 years agoObjC++: also index ObjC symbols.
Erik Verbruggen [Wed, 16 Jul 2014 14:35:03 +0000 (16:35 +0200)]
ObjC++: also index ObjC symbols.

@classes, @protocols, @properties and -methods (and +methods) will now
show up in the locator.

Change-Id: I33f904c456c321fc80b8aba7ff52d5f1207c58be
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
3 years agoAnalyzer: Use a more common default value for the initial dock area
hjk [Wed, 23 Jul 2014 14:57:16 +0000 (16:57 +0200)]
Analyzer: Use a more common default value for the initial dock area

Change-Id: I8449d7e540d715ffc1fbcc46b21a1a4ea7d740ab
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
3 years agoAnalyzer: Set dockwidget title on inner widget first
hjk [Wed, 23 Jul 2014 14:07:39 +0000 (16:07 +0200)]
Analyzer: Set dockwidget title on inner widget first

Will be promoted to dockwidget title by the fancy mainwindow.

Change-Id: Idbb4d2869c254140a241cd5a8f5b75b3ef739692
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
3 years agoAbi: Remove endianness from ABI
Tobias Hunger [Tue, 22 Jul 2014 14:32:57 +0000 (16:32 +0200)]
Abi: Remove endianness from ABI

The functionality is not implemented properly, remove it before
someone thinks it was.

Change-Id: I6e9c423a6b84a4a5fcf4d817e14df97fbdc901c5
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Reviewed-by: Tim Sander <tim@krieglstein.org>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
3 years agoQbs: Read systemIncludePath and make them available to the code model
Tobias Hunger [Wed, 23 Jul 2014 08:48:29 +0000 (10:48 +0200)]
Qbs: Read systemIncludePath and make them available to the code model

Change-Id: Ie16501a78e95f9c50631e5af8e9e8857dfd65b2f
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
3 years agoRemoteLinux: Fix arguments for remote debugging.
Tim Sander [Wed, 23 Jul 2014 15:25:41 +0000 (17:25 +0200)]
RemoteLinux: Fix arguments for remote debugging.

Was broken by 162d0e3d.

Task-number: QTCREATORBUG-12718
Change-Id: I30cc8a8df89e4e0b0ffbd4c045a0b9d87abb8823
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
3 years agoAndroid: Check for broken gdb on mac
Daniel Teske [Wed, 23 Jul 2014 09:54:36 +0000 (11:54 +0200)]
Android: Check for broken gdb on mac

Task-number: QTCREATORBUG-12636

Change-Id: Ib41db2607fef6291c1464e5ce2ea626fd86b3025
Reviewed-by: hjk <hjk121@nokiamail.com>