Commit Graph

46254 Commits

Author SHA1 Message Date
Alessandro Portale
5a88d52706 Wizards: Add "Qt 5.7" option to QtQuick[.Controls] wizard
With updated import versions.

Change-Id: I9c69373d31c7e434eb7b9c210606a79be3d1566e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-09 10:00:32 +00:00
Takumi ASAKI
d5a46195a0 Translations: Update Japanese translation
Done-with: KATAYAMA Daiki https://www.transifex.com/user/profile/nebula121/
Done-with: Naoki MATSUMOTO <nekomatu@gmail.com>
Change-Id: I8549d8f4ac9d32eb2209dbc140483434369bf6c5
Reviewed-by: Naoki Matsumoto <nekomatu@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2016-05-09 09:35:37 +00:00
Eike Ziller
766d154f2d Do not crash when closing editor while diagnostic tool tip is shown
Make sure that the tool tip instance is reset to nullptr even if it was
closed automatically.

Change-Id: I3c718634d90dddc5822a634d082c263f51901684
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2016-05-09 09:14:10 +00:00
Alessandro Portale
d8fbc76f08 QmlDesigner: Support QtQuick 2.7
Qt 5.7 comes with QtQuick 2.7, and Qt 5.7 will most likely come
with Qt Creator 4.0.x

Change-Id: I3425ee59adde61d5e15f39c81bc10ab286d9f80a
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-05-09 09:13:14 +00:00
Alessandro Portale
165228d9be QtSupport: Update feature set for Qt 5.7
Qt.labs.controls are replaced by QtQuick.Controls.2
QtQuick is bumped to 2.7

Change-Id: I317cc504171258b503455184fa6cc96c08deda5a
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-09 09:10:26 +00:00
Alessandro Portale
2c2b172221 Debugger: Fresh icons for QtQuick "App on Top" and "Select"
Since these two features are revived for Qt 5.7, they deserve fresh
icons. And since they could also gain back their place in the
(qml)debugger toolbar, this patch provides also the toolbar icon
variants.

Change-Id: Id8c51aaa7ab81f594103fe1538fe6efe153af56a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-05-09 09:08:18 +00:00
Ulf Hermann
ca22051303 QmlJS: Avoid infinite loop on empty list of import paths
Change-Id: I1b7bade71226e4181b2643cabb53f934930afc81
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-05-09 08:44:07 +00:00
Ulf Hermann
8d15633a22 QmlProfiler: Add a QmlTypedEvent and extend QmlEvent
The QmlTypedEvent is mainly useful to read a generic QmlEvent and
QmlEventType from a QPacket. QmlEventType has a stream operator to do
exactly that. QmlEvent also gets further options to store 32-bit data
in addition to 64- and 8-bit data. Also, with the more generic storage
layout we can reduce the memory consumption of range events by 50%.
This comes at the cost of additional memory allocations for non-range
events, but as non-range events are significantly less frequent than
range events, this is a good tradeoff. Finally the new storage layout
lends itself to efficient serialization, which will help when
developing new storage and transfer formats for QML traces.

Change-Id: I420de68b0142f23c8fb2ca8b329d7ffe69c83fe0
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2016-05-09 08:20:22 +00:00
Orgad Shaneh
61d94c5ccd Git: Fetch completion refs asynchronously
For repositories with many refs the dialog takes a few seconds to open.

Change-Id: I82154ad8a77cc304db941f9d41e36e32aa7043cd
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-09 07:40:30 +00:00
Orgad Shaneh
05966ab153 Utils: Suppress progress bar when "Suppress command logging" is enabled
Change-Id: I6c94352f0c816920c4b97801da050bf14ea7be66
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-09 07:40:14 +00:00
BogDan Vatra
d342623bb7 Don't wait too much to connect.
Some AVDs down't allow to connect to their console,
there is no point to wait 30s (which is the default connection timeout).

Change-Id: I3cb82b99f958787215f44b471abfc203d7633089
Reviewed-by: Vikas Pachdha <vikas.pachdha@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-05-09 07:36:32 +00:00
Orgad Shaneh
94f0839f3f VcsBaseClient: Make some functions const
Change-Id: Ia82f4ca25b59adfbc96c03c1aaed873a572e4785
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2016-05-08 19:03:11 +00:00
Alessandro Portale
7078a1ada7 ProjectExplorerPluginPrivate: Initialize bool m_shuttingDown
Change-Id: I5cc8e9d4afd079acda6520d51eee89a58898b42e
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-06 14:45:57 +00:00
Jochen Becher
d0369fe4d2 ModelEditor: Improve documentation.
Change-Id: I3c91ad77b6142bcca858dbeae3b36dc640f0f537
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2016-05-06 13:55:27 +00:00
Ulf Hermann
215c0533d2 QmlProfiler: Rename QmlEvent::startTime to "timestamp"
As many events are instantaneous and we're going to drop the duration
property soon, this is more fitting.

Change-Id: I6e13dd076a5b9df16aed44bf9f631ea5760e9cbf
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2016-05-06 10:36:40 +00:00
Ulf Hermann
a53780924d QmlProfiler: Apply some code cosmetics
Change-Id: I772713aec3a6c25136174b39b853a9ef3ee42a0b
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2016-05-06 10:27:09 +00:00
Ulf Hermann
54b1106f4b QmlProfiler: Move notes into the notes model
There is not reason to keep them in the general data model and cross
reference between the models all the time.

Change-Id: Ic77c518928dcd6234555cb3f6a830bcc3dc4a1a4
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2016-05-06 10:26:13 +00:00
Christian Kandeler
84bc54f885 Update qbs submodule.
To HEAD of 1.5 branch.

Change-Id: Ica2767ca526e42a0c039fde593437291a903f8f0
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2016-05-06 09:42:13 +00:00
Leena Miettinen
86a9f7fe47 Doc: Update Android Manifest Editor screenshot
Change-Id: I64961b0e069b8eee9403191e49d667c2b258be5f
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-05-06 07:33:47 +00:00
Alexander Drozdov
d6f351b689 BareMetal: Fix broken remote setup
After 62c6a07445 BareMetalDebugSupport()
object creates on stack and destroys on expression end. So, remote
setup does not work. Simple create it on heap. It will be cleaned up
when RunControl object destroys.

Change-Id: I7565d22e27e158d57a4764111befe74892b64356
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-05-05 23:06:19 +00:00
Christian Stenger
500286cab7 AutoTest: Fix parsing of Qt tests when using developerbuild
Change-Id: I226884c10e8fea48d08892b4dab3793b9babc0e5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-05-04 15:42:29 +00:00
Leena Miettinen
aac0086d1d Doc: Update Image Viewer screenshot
Change-Id: I1f6b43537a73ac5dbdac4088ffe4cff4307cee42
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-05-04 15:02:18 +00:00
hjk
c813b5f31c Make local custom executables run independent of device selection
Task-number: QTCREATORBUG-16199
Change-Id: I1e9e2103e626c6480fa1c5ac9b2b3f8ac93e3038
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-04 14:26:36 +00:00
Christian Stenger
3d96108bbd AutoTest: Fix reparsing of header files...
...when having split source and headers and defining test data functions
inside the source file.
If we just reparse a header file (e.g. when opening the respective file
inside the editor) we have no explicit information where the definition
of the functions is. This lead to not finding the information necessary
for displaying data tags and throwing away old information as they have
been marked for removal.

Change-Id: Ieb8ed9f7c758fe2c793e60ca2c30b4025106363b
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-05-04 13:40:37 +00:00
hjk
8390f9e80a TreeView: Announce sorting tree items
This is likely to be overkill but seems to fix a regression introduced
by e73a9c1b0d: Persistent model indices owned by the selection
model of the watch view lose their model pointer and consequently
cause error messages to be emitted and potentially cause crashes.

Change-Id: I3334ca25bb5e2facf51d03c50647f95f55786498
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2016-05-04 12:20:22 +00:00
Thomas Hartmann
cbc5f22b3b QmlJS: Allow version in parent module
Task-number: QTCREATORBUG-16145
Change-Id: I5ddbbab1c808f422ebcec1502f9b50a9bf0babb6
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-05-04 11:33:23 +00:00
Tim Jenssen
16063554da QmlDesigner: fix showing a new component in item library view with vcs
- not completely sure why this fixed the issue

Change-Id: I3e514c64246831899511774cada4497ce86f5b7d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-05-04 10:56:37 +00:00
Alessandro Portale
e7e5c1bbae ProjectExplorer: Use a better "Run" icon for the menu
Change-Id: I9a975b7c99d7a5535609e966c0ebf49a51484cfc
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-05-04 10:44:38 +00:00
Alessandro Portale
97cd094009 Debugger: Display separate icons for toolbar and menu
Overriding the ProxyAction icons accordingly.

Change-Id: I52b6414fe6a0b1128394452f599b2b6c67d37e53
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-05-04 10:37:26 +00:00
hjk
482bbec175 Debugger: Fix QUuid dumper with large numbers and LLDB
Change-Id: I357063022435d461d0b52c14541a4dfae69a1cdb
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-05-04 10:32:20 +00:00
Ulf Hermann
a955537132 QmlProfiler: Fix the naming scheme for events and event types
Move them out of the QmlProfilerDataModel class, drop the "Data"
suffix, and rename symbols that refer to them in order to call them by
their names.

Change-Id: I41151359921b325edb79111371083c4185bd148b
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2016-05-04 09:49:32 +00:00
Orgad Shaneh
08f807a134 Core: Use a consistent initial directory in open/save/locator
Use fileDialogInitialDirectory() for all of them.

Conditionally initialize lastVisitedDirectory to projects directory to
preserve existing behavior on Open, when no project is open yet.

Change-Id: I318a7c7741e70a68758f0cc068ce956135103f3f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-05-04 09:42:14 +00:00
Eike Ziller
fad08a1e9b OS X: Fix regression for opening projects from Finder
The kits are restored in delayedInitialize now, but the file open event
from Finder was delivered before that. That lead to the projects mode
being opened with the kit configuration screen, but mostly no kits in
it, when double-clicking a .pro file while Qt Creator is not running.

Delay the remote open file command until plugin initialization is really
done.

Change-Id: I1a75f6b1f7bcefb4c53d594de11df0d3a0d2e5d3
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-04 09:39:13 +00:00
Christian Kandeler
c8d0ba8651 QbsProjectManager: Use IDE_LIBRARY_BASENAME to locate qbs' plugins.
This is a better try than hardcoding "lib" and likely to be correct in
real-world scenarios.

Change-Id: I380989b2d2c8389718bde941e081755f41be7f0c
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
2016-05-04 08:28:08 +00:00
Marco Benelli
cc80ba2a7e QmlJS: update importFile and importModule signature.
Update the signatures of importFile and importModule overridden methods
to match the new ones in parent class.

Change-Id: I8c5e7458935f848bc3952d4c388b5385dd9a5da5
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-04 08:22:01 +00:00
Kai Pastor
35b12964ee Changelog: Mention CMake version requirement
Task-number: QTCREATORBUG-16125
Change-Id: I5d25a9171ae6adb28bbef4984f8e1acb935fc62b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-04 08:20:00 +00:00
Marco Benelli
1556a707c3 QmlJs: search for version in parent modules.
Modules used to be searched by name with optionally an attached
version.  Now, if a module with version is not found, the version is
attached to the parent module.

Task-number: QTCREATORBUG-16145
Change-Id: Ie0f30d4df64d13b3ec4c5ee38e9ad9215ae56420
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
2016-05-04 08:08:15 +00:00
Leena Miettinen
f6cbf65035 Doc: Add QT option to .pro file
...to be able to build the example.

Change-Id: If79b5e5cf95e6e67c3c6c22583a047e427fb741a
Reviewed-by: Niels Weber <niels.weber@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2016-05-04 07:04:20 +00:00
Leena Miettinen
b3b5749c4a Doc: Update Qt Quick Designer wizard screenshot
Missed this one for some reason.

Change-Id: Ib648a23c9deca5bffa0e36af98e1ac5a5c87091f
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-04 07:04:07 +00:00
Nikolai Kosjar
b8580992b2 Clang Static Analyzer: Re-enable for all project managers and tool chains
This reverts commit 6b77dea65a and also
removes checks for the specific tool chains and thus makes it possible
to start the clang static analyzer independent of the specific
project/toolchain.

Though we only support and test qbs/qmake projects with certain
toolchains, users reported that they also had useful results for cmake
projects.

Task-number: QTCREATORBUG-15980
Change-Id: I27834c148c1a0d7855bebad0bb203bd807e7ad46
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2016-05-04 06:48:36 +00:00
Orgad Shaneh
754b8ededb Git: Suppress failure message on grep
It fails when no results are found.

Change-Id: I3390f1119457bb47fb09a95a395cb68a0dd58e82
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2016-05-04 02:58:03 +00:00
Alessandro Portale
b92ff237a9 QmlProfiler: Fix windows build
Change-Id: I7029208688e0281a08873cf5db368ff5a066540e
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-05-03 16:20:39 +00:00
Robert Loehning
5afd2d550e Add missing German translations
Change-Id: I9982cb7c627f6b9cfccabe6f8e152ba0a014ad42
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-05-03 15:49:40 +00:00
Alessandro Portale
846b617ccc Add favicons for codereview and bugreports
Change-Id: I0ff10a5ad8c3721b237b3a08b2d2ed4006925ad5
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-05-03 15:49:13 +00:00
Leena Miettinen
ff9b45f9c3 Doc: Update QML Profiler screenshot
Change-Id: I3d43ddd53b3ae8bedbf4eba700476355e1a34e38
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-05-03 15:03:16 +00:00
Ulf Hermann
5253dfeacf QmlProfiler: remove unused members from statistics relatives model
We never use the q pointer and we only show notes in the main model.

Change-Id: I635a97f8d878ba12b9ae55e2b758d1651d5e3aae
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-05-03 15:01:38 +00:00
Ulf Hermann
e5a38bacc4 Move QmlProfiler specific files from qmldebug to qmlprofiler
These file were not used anywhere else and had no business to be in
qmldebug to begin with. Moving them allows us to drop a number of
namespace qualifications and forces us to rename a few local symbols
in other classes in order to avoid name clashes.

Change-Id: I658ed455eec027cbaddacf2980d2ea6827ae6205
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-05-03 15:00:50 +00:00
hjk
7ee52d4764 Debugger: Disable QModelIndex dumper
The inferior calls to rowCount() and columnCount() used to create
data() display are troublesome when debugging an actual
issue with item models and not too helpful otherwise. People needing
that information can still evaluate idx.data() etc manually.

Change-Id: If736afbf8fc44cf28e7f07e5f2c3b039a2f4984c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-05-03 14:40:57 +00:00
Leena Miettinen
4021a2a902 Doc: Use icons from source in the manual
This removes the need to take screenshots of icons.

- Add icon source directories for the .qdocconf file
- Remove screenshots of icons from doc\images (except completion
  icons)
- Copy images that do not have unique names from src or libs
  to \docs\images
- Create images that use overlays and update them in docs\images
- Fix paths and filenames in \inlineimage commands
- Fix text where one screenshot was replaced by two icons

Change-Id: Ib98206890bd15a843566de8d709e45487c70dfbd
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-05-03 14:26:35 +00:00
Nikolai Kosjar
006d40c514 Doc: State supported projects/toolchains for the Clang Static Analyzer
Change-Id: I4f511ff15fcf298b5d9351c7e61c11d6e5491493
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-05-03 13:55:33 +00:00