Commit Graph

54723 Commits

Author SHA1 Message Date
Christian Stenger
4eabcda3a1 AutoTest: Allow grouping of test cases
Grouping of test cases can now get enabled for each
registered framework.
For now grouping happens only folder based.

Task-number: QTCREATORBUG-17979
Change-Id: Ic0e5c0ecc76998a1aedea8aa0845f6d9b53fb179
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-01-15 13:21:44 +00:00
Christian Stenger
d226c84cca AutoTest: Omit tests that cannot get handled
We might find some test constructs that cannot get run
without further knowledge which should be provided by the
user (e.g. plugin unit tests of QC)
Omit these tests to avoid user irritation and useless
warnings.

Change-Id: Ia8f533b931a7c58bd768697c0915cbdd44225534
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-01-15 13:01:07 +00:00
Tim Jenssen
f1d57a835f QtSupport: remove latin1 calls
Change-Id: I34fa89f3755740396bd8892bce96e515b5afefa5
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-15 11:29:26 +00:00
David Schulz
92ec21e5b5 Core: add menu bar locator filter
Adding the possibility to trigger menu actions from the locator

Change-Id: I70d595c167f5b43b02f8125eafbb83e5b45012c9
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-15 09:57:45 +00:00
Eike Ziller
b3e24fbfd4 Merge remote-tracking branch 'origin/4.6'
Change-Id: I0feaa243e4f9e5d6b0ee0c8b86b0d8b3a4949567
2018-01-15 09:54:48 +01:00
Eike Ziller
0af3a2d29a Merge remote-tracking branch 'origin/4.5' into 4.6
Change-Id: I9277a92341ede8292978f2684eadcade04689983
2018-01-15 09:49:21 +01:00
Eike Ziller
389819f133 macOS: Fix that Info.plist was overwritten in in-source builds
$$PWD and $$OUT_PWD are the same for in-source builds, so rename the
source Info.plist to avoid overwriting it with the same name (which
could easily lead to an accidental git submit of the generated file).

Change-Id: Idc593d8e00dc52f11309eae3b913799fb9b8afdf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
2018-01-15 08:02:31 +00:00
Orgad Shaneh
d09ce15f2e sdktool: Rename README.txt -> README.md
Content changes will follow

Change-Id: I9413c373afb43855eb208633ac67f5c8f45c3a0e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Christian Gagneraud <chgans@gmail.com>
2018-01-13 22:48:20 +00:00
Orgad Shaneh
d1baa80a98 Git: Do not pop the VCS pane on every [Un]Stage
Task-number: QTCREATORBUG-19051
Change-Id: I8dcf95238dcbc396b2dfe6a7d6048bbbb8551921
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2018-01-13 17:05:02 +00:00
Thomas Hartmann
6112aa762b QmlDesigner: Start optimizing action notifications
We get more and more actions and notifying those slowly
becomes a bottleneck.
I guess we have to add an enum to the context
that tells the action which notifier on the view was called,
so that the action only react to relevant notifiers.

Change-Id: Ic05999b5855e4823659ff1520484242e0c957f1e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2018-01-13 15:12:04 +00:00
Ivan Donchevskii
924921ee3b Fix build
Fails on macos after 98fa7cbb3f

Change-Id: I554c716219f6461960c526ef3ed5d5d7c29efc37
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2018-01-12 20:00:36 +00:00
Jochen Becher
ffb306ffb7 ModelEditor: Set white diagram background
This is just a minimal workaround for dark themes.

Change-Id: I11de88dd39f24bd4d09a1c955e27a140eaad3850
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-12 16:49:19 +00:00
Jochen Becher
a5cf82b4e2 ModelEditor: Support text alignment with all object types
Change-Id: I9f67527ff21883194158f82039d3dcf513186150
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-12 16:49:11 +00:00
Jochen Becher
d12e74265c ModelEditor: Fix regression with item label
Change-Id: I081d30cb3451681d049a73fe2f0fb04f537bb437
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-12 16:49:01 +00:00
Christian Kandeler
304e1c0bba QtSupport: Move warning to QmakeProjectManager
Only qmake requires the build directory to be at the same level as the
source directory, but the warning appeared also for cmake and qbs
projects.

Change-Id: I2c2c39b0a6004bb4efe80bf6ff56c3f9e22ec51d
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-12 16:01:23 +00:00
Robert Loehning
c0aaba0868 Update German translations
Change-Id: Ia6c9a0b06aff7a83d5d01290b66c2dbbdbcb47d6
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-12 14:49:53 +00:00
hjk
adcc3f0b76 ProjectExplorer: Remove unused convenience function displayNameFromMap()
Change-Id: I0165b5aa9155065e458d0b53c446dba349fbe6ff
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-12 14:01:02 +00:00
Christian Stenger
b759960980 AutoTest: Remove pointless member
Change-Id: I1b5bd421e93bb6425e29941a21cfccc6cac5d6ce
Reviewed-by: David Schulz <david.schulz@qt.io>
2018-01-12 13:55:40 +00:00
David Schulz
c2a195810f Bookmark: add locator filter for bookmarks
Change-Id: I9107356d52bbf6d1e77b30d7057b56efd670c724
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-12 11:56:30 +00:00
hjk
3f7f5b9a95 Use the .pro file path as buildSystemTarget in qmake based RunConfigs
That's what it is documented to be: It is set up from a
BuildTargetInfo::targetName containing the .pro file name.

Change-Id: Iabd1061960897125e1b09902d55661d42f481e26
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-12 11:04:01 +00:00
Christian Kandeler
3c75d3aec1 qbs build: Install debug info alongside binaries
... if separate debug info is enabled.

Change-Id: I15a02b11e7df18719074b9bc503fe2c207f8bf00
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2018-01-12 10:08:22 +00:00
Ivan Donchevskii
7a2e1e29cb Clang: update clang patches
These patches should be applied on top of llvm/clang 5.0
List is taken from https://wiki.qt.io/Qt_Creator_Clang_Code_Model

Change-Id: Icd927ae12fc1ef8181a45e2d800efe3007c616ae
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2018-01-12 09:27:43 +00:00
David Schulz
8cecd73d2b Editor: show text mark icon while dragging
Change-Id: Ib8c3cbb6e298c3af5e159b18cb474f9b2baa1a83
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2018-01-12 09:20:06 +00:00
Tobias Hunger
e35acb3511 ProjectExplorer: Remove unused signal
Change-Id: I5b3d6a1e456389d852bebd27a83cf653bab12719
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-12 08:30:42 +00:00
Alessandro Portale
4239aab1c5 QmlDesigner: Clean-up scrollbar.css
...and make the scrollbar look the same as the scrollbars in the
QtQuickViews.

Change-Id: I15cd5a7f34efc744b74d6db2322b1aa084d09511
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2018-01-12 08:29:49 +00:00
Eike Ziller
326db43020 Merge remote-tracking branch 'origin/4.6'
Change-Id: Ie79cb18ea9db1cc8ec0d63fa1af90e07bd6e0917
2018-01-12 09:13:47 +01:00
Orgad Shaneh
01de1e1fbe Fix reading of user Qt versions, toolchains and kits
Broke by f42ea09b74.

Change-Id: I90be029caf80fc6efe89c3329a183b396e0dc564
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-12 08:11:08 +00:00
Christian Kandeler
c84ca9bd02 QbsProjectManager: Fix missing reparse on session loading
Task-number: QTCREATORBUG-19572
Change-Id: I71ccdf3abf370fb46dfbfd48a986674b50a04421
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2018-01-11 14:10:50 +00:00
Ulf Hermann
e1ad7a1784 QmlProfiler: Drop static accessors from QmlProfilerTool
It wasn't really a singleton even before. For testing purposes make the
client/state/model managers accessible.

Change-Id: Ie5efbc47a6b9119495f999e4e05877d4789da407
Reviewed-by: hjk <hjk@qt.io>
2018-01-11 14:04:13 +00:00
Eike Ziller
94125b2caa Merge remote-tracking branch 'origin/master' into 4.6
Change-Id: I5bf190fb2070da2438264a7b88f5a1cf3b7f929d
2018-01-11 14:55:06 +01:00
hjk
7d039de7a8 PythonEditor: Fix run configuration
This amends commit 53a151074a.

Change-Id: Icf171667b6d03802e0be615c8c7b9491b8d6fd54
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-01-11 13:51:50 +00:00
Orgad Shaneh
e75dd28d0c ProjectExplorer: Fix build with Qt 5.6
Change-Id: Icb9cae9c5baaa5cdc2dd6dca2bb493cdf0d73012
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2018-01-11 13:48:43 +00:00
Eike Ziller
4ab6ae3506 Merge remote-tracking branch 'origin/4.6'
Change-Id: I0813763b7618c682b5fbb197273a1c8911cd3d7d
2018-01-11 14:38:40 +01:00
Eike Ziller
9d03865ce3 Merge remote-tracking branch 'origin/4.5' into 4.6
Change-Id: I88e4d82b9453274fa2575332aa465cb965e20808
2018-01-11 14:34:52 +01:00
Alexandru Croitor
b65c13c6a5 Improve failure message when usable libclang is not found
Change-Id: Id541206c6b284be7a1068533825c88c9352f9d7f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2018-01-11 13:32:37 +00:00
hjk
a0753d7c34 ProjectExplorer: Simplify BuildManager::buildList() calls
The build list names are always the ones determined from the
build list id. No need to do that on the caller side.

Change-Id: Icc21ef355de535af21215819fe04daa76fed0d9c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-11 10:49:56 +00:00
hjk
4b7c82b131 QmakeProject: Centralize some code for subproject runconfig handling
Change-Id: Iecd8c326fc7fd1b1e7e5406fd899befc9fdd3c5b
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-11 10:49:27 +00:00
hjk
048a05584c ProjectExplorer: Fix handling on restrictions of usable kits
Fixup after 45d6a34f: An empty list of target device restrictions
means 'no restriction'.

Change-Id: I15773e75e58c3ba543d62e13d728cf08dccc3650
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-11 10:48:14 +00:00
Eike Ziller
f42ea09b74 Do not construct settings/resource paths from QSettings object
These paths are controlled by ICore.

Add ICore::installerResourcePath() to replace constructions with
settings(SystemScope)
Replace constructions with settings()->fileName() by usage of
ICore::userResourcePath().

Change-Id: I5a9fa9d09f2563c39dc5d11a4586da825c62f9ac
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-11 10:42:09 +00:00
Eike Ziller
f3d7208aa9 Use IDE_ID in sdktool
Change-Id: I83d5e13b57cf6c358506c1f07459632bfa4bff52
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-11 10:32:30 +00:00
Tobias Hunger
4f49b46eaa Project: Add some basic tests
Change-Id: I2b60c9df93700a8aa659adceee4e00cf46584a5b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-11 10:32:02 +00:00
Jarek Kobus
57e27915f4 Fix includes
The missing headers were included indirectly
through the QHeaderView, QButtonGroup or QAction
inside the generated ui files.
Now, the generated ui files won't include QHeaderView,
QButtonGroup nor QAction, so we need to include the
missing headers explicitly.

Change-Id: Ife6c4e2c39b2b2b7d8365cc5ae2dbb6de4b3ac66
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-11 10:24:25 +00:00
hjk
c39eb08ac4 QmakeProject: Make availableBuildTargets return a BuildTargetInfo list
It's what the "consumer side" expects.

Change-Id: I1a4e75eda09f8626fcf65290e6c58a08eed9fdca
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2018-01-11 09:42:35 +00:00
Nikolai Kosjar
54160400e9 Clang: Add logging category for ClangCodeModelServer
This one helps to understand when and why some jobs run.

Change-Id: Ibbafe517cb38bb9b68b73c78aaba0805f11b3964
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-01-11 08:09:55 +00:00
David Schulz
ec9c2f78d8 Bookmark: const correct BookmarkManager::gotoBookmark
Change-Id: Id6118c741d0f21b9c6b968939769ca2ab3d683fd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-11 07:56:11 +00:00
Orgad Shaneh
6285a6e50f CppTools: Fix build
Broke by e51683412b.

Change-Id: I68d1457931f2237a63da4ac2e34f1650b9ff6ea6
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
2018-01-11 06:46:15 +00:00
David Schulz
319990d7c5 Core: return QMainWindow * from Core::mainWindow
... instead of QWidget *

Change-Id: Ibe38814ae26524a9ffa4c14d170d5aa487a40931
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2018-01-11 06:35:27 +00:00
Ulf Hermann
ff182d1c97 QmlProfiler: Guard state widget against unexpected deletion order
If the model manager or the state manager disappear before the parent
widget, we might still get a timer update in between.

Change-Id: I6a67868615ef9d570e2ce438d9d9bd88b1035cc2
Reviewed-by: hjk <hjk@qt.io>
2018-01-10 17:04:23 +00:00
Alexandru Croitor
ee70917f29 Add qtwebengine backend to qbs help plugin build rules
Change-Id: I924637581741dc68d94270cc680df20499778b03
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2018-01-10 15:47:27 +00:00
Jochen Becher
4d99f47974 ModelEditor: Implement shared clipboard between all open model-editors
Change-Id: Id2eb6f78f8aa1a698a49d35db6cfceab14a38e0b
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2018-01-10 15:39:45 +00:00