Commit Graph

43121 Commits

Author SHA1 Message Date
hjk
f58ab8d723 Debugger: Fix std::set<...>::iterator dumper for GCC 5.x and C++11
Change-Id: Icaca7da1f5ae6f958ae0fdaf217bde611d049916
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-11-06 10:08:48 +00:00
hjk
34196f510d Debugger: Add dumper for GCC 5.x's std::__cxx11::list
Change-Id: Idaf6692668210838488699dcab38d1517825bda3
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-11-06 10:08:05 +00:00
Martin Kampas
573c4988fe Remotelinux: Fix deploy config widget geometry
Change-Id: Ie550c0549b976bba3d50e39bee3b349867640c6d
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-11-06 04:44:27 +00:00
Eike Ziller
06d4e9318a sdktool: Fix that settings were written to wrong location
We needed to adapt the relative settings location to the new destdir:
sdktool moved from QtC/bin to QtC/libexec/qtcreator

Change-Id: I24152ea7ba6c0992941ad1750489ddc22f1767b0
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2015-11-05 14:58:20 +00:00
Sergey Belyashov
6ec3bcf866 Fix missing translations
Fixed some lacks of Q_OBJECT macro.

Change-Id: I226078baa40977ef49357b34b1e9dc5f0491d76a
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-11-05 14:41:56 +00:00
Marco Benelli
30ef3a3afc QmlJs: added a new test case in reformatter test.
Change-Id: I4f6c78cd9d2a2e407ef26e498418617efeee5bba
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-11-05 13:30:15 +00:00
Marco Benelli
b4e42171fd QmlJs: updated .pro file in fileformat test.
Change-Id: I1c6fb32820d8a5e58900c2812f43045bd588aff2
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-11-05 13:30:04 +00:00
Leena Miettinen
12f1375f4e Doc: using Go to Implementation context menu command
Change-Id: I1fc905909e4d95934b0669a8d27801d6446548d6
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-11-05 10:14:58 +00:00
hjk
9d6c63d4d2 Debugger: Move the 'break on qFatal' implementation to gdbbridge
Easier to create invisible breakpoints there.

Task-number: QTCREATORBUG-15276
Change-Id: I76ffa45f9f0de5ffbc3b82a7ef9a4ddcdfff62eb
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-11-05 09:42:03 +00:00
Leena Miettinen
0d02544e67 Doc: text zooming in Application and Compile Output panes
Updated screen shots.

Change-Id: Id17908d3720aa4b7074f43169a09da05cd74eede
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-11-04 13:29:51 +00:00
Alessandro Portale
f4e5210cda app: Setting HighDPI environment variables
After b42bd585c4 there was
no automatic scaling of Qt Creator's UI with Qt 5.6 on non-OSX,
anymore.

This commit re-introduces it for Windows.

As a small bonus, now the environment variable is only set during
QApplication creation and unset afterwards. The run environments
are now not affected, anymore.

Change-Id: If0039df500d28a93c1ca8c2df9960992a010723f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-11-04 13:07:02 +00:00
hjk
2b16b97f19 Debugger: Make DebuggerEngine::runCommand() virtual.
Allows default implementation of e.g. stack retrieval in the base
class.

Change-Id: I96460b19aa31347b2c863736b4ce2b5046eb4de6
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-11-04 11:48:05 +00:00
Tobias Hunger
3febe4e7a2 Wizard: Stop summarypage from getting confused by similar project names
Do destinguish between /tmp/untitled1 and /tmp/untitled10.

Add some line-breaks while editing the file.

Change-Id: I49f9457bd43f188d4327fea3b84254ecb41ee7fc
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-11-04 09:10:15 +00:00
Orgad Shaneh
45d9d08599 BareMetal: Fix translation context
Change-Id: Ia3a9a17bcbb5c8b7fb3fee903ec56f5f63414be2
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-11-04 08:51:20 +00:00
Leena Miettinen
88818c1be1 Bare Metal: write "Bare Metal" as two words
...in the title of the Options page.

Change-Id: I081113e7982f730604a769f077f1de15c9185ca2
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-11-03 14:41:24 +00:00
Eike Ziller
2b074f5278 Packaging: Fix deployment for Qt5.6
Qt 5.6 builds with relative RPATH by default on Linux.
Since this additionally leads to very short RPATHs,
we cannot change the relative structure within the
Qt installation (e.g. plugins in bin/, libs somewhere
in lib/qtcreator/).
Instead we now deploy qt into a self-contained lib/Qt/
folder, keeping the original structure, on Linux.

Change-Id: I36136590379c3e7b02ba7de3345369e2384dcc95
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-11-03 14:16:15 +00:00
Leena Miettinen
aabd0202ca Doc: use include file for project creation instructions
Change-Id: I58f4a581de6273b16d2fc7ba07567527e46bc4d1
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-11-03 14:10:05 +00:00
David Schulz
867fa1ff01 Editor: Fix potential crash in FunctionHintProposalWidget.
Task-number: QTCREATORBUG-15275
Change-Id: I8112312d3d27798665d7d28b41b9f2ad845cca14
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-11-03 12:17:45 +00:00
hjk
62393af0ab Debugger: Remove comment regarding GDB/MI grammar
We have been way more generous in accepting input than what is specified
by the grammar since the beginning, and even GDB did (does?) not completely
stick to that format. So the comment is misleading at best.

Change-Id: Ieaf4fc2b9a6f01be649936f72e03866677d6cc5b
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
2015-11-03 11:36:26 +00:00
Ulf Hermann
ccc4fe54e5 QmlProfiler: Delete debug connection on error or if params change
Now that we don't recreate the debug connection anymore when (re)trying
to connect, we have to do it explicitly when changing the connection
parameters or when a connection attempt fails and we need to cancel the
"Connecting" state.

Change-Id: Ib2b6b4fb1e39e64fe3c9f2bf90b6e43043d05a9e
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-11-03 10:44:56 +00:00
hjk
b85d8290a7 Debugger: Restrict QJson{Array,Object} display to 1000 items.
... and don't offer expansion of isEmpty() object.

Task-number: QTCREATORBUG-15270
Change-Id: Ifb76c20c6308484d38e21273a2f33c575bb72430
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-11-03 09:55:52 +00:00
Leena Miettinen
95c7d6fed5 Doc: update the Transitions example to use UI forms
Move the instructions for creating the project into an
include file that can be used for all Qt Quick Application
tutorials.

Change-Id: I02385f68f23ef2d3ee98b754344781ae1819203c
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2015-11-03 09:26:49 +00:00
Christian Kandeler
e2b8a1cb11 Update qbs submodule.
To HEAD of 1.4 branch.

Change-Id: I1fe4823c46b0b28e1b9d7415e9d8fc3c4a7cea59
Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
2015-11-02 16:46:39 +00:00
Marco Benelli
a8d1df2c0c QmlJs: fixed a regression in reformatter.
The commit b26920c3a3 introduced a bug
in reformatting properties lacking an object initializer.

Change-Id: I30f9c9c8a005660e7af4a6c97d0b1ff1be461548
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-11-02 14:26:40 +00:00
J-P Nurmi
7c1f8f8342 Add QML import completion for Qt.labs.controls, calendar & templates
Change-Id: I2aed529c3bedb27ae5c4c670d51d9d182815c8b2
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2015-11-02 13:16:36 +00:00
hjk
3699f6cac3 Debugger: Remove spurious #include
Change-Id: I41a16aa5aa30369474b962213b39840f07080cc7
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-11-02 11:27:04 +00:00
Eike Ziller
fe7fc8f816 Deployqt script: Stylistic changes
Pylint recommendations
- filter -> list comprehension
- whitespace fixes
- unused import
- unused variable
- variable overriding builtin
- missing exception types

Also simplify copy-ignore-helper

Change-Id: Ibf7c573af35d60937f23a85d7a52e20031f38c4b
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
2015-11-02 11:06:19 +00:00
hjk
601f6fd819 Debugger: Rename GdbEngine::{stackListFrames->fetchStack}
Same as LLDB now.

Change-Id: I8a59a977fe45e7f523eae59cbb4cd24b78ad8e7b
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-11-02 10:19:05 +00:00
hjk
d5101b5d91 Debugger: Standardize on all-lowercase for protocol options
CamelCase might be more Qt-ish, but the backends tend to use
lowercase only.

Change-Id: I04b9b7305b54226f27b70151115050c4816f911f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-11-02 10:18:50 +00:00
hjk
1490bab5bd CPlusPlus: Remove used Lexer::translationUnit() function
Change-Id: I81ec60c1d2b670b85bfeda25e6388a12c2cd0305
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2015-11-02 10:01:09 +00:00
hjk
7a618c38cf Debugger: Remove unused dumper.py function polishWatcher()
Change-Id: Ib85ac34b56971b1882d91bddf9abf1af5b0506f4
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-11-02 10:00:49 +00:00
hjk
b1ad8b764d Debugger: Use some Qt5 connects
Change-Id: I03c301ae71c3747afc5d17a6f7689620e46fde62
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-11-02 08:54:07 +00:00
hjk
777b08f06d Debugger: Show "Automatically Hide View Title Bars" option only once
Task-number: QTCREATORBUG-15159
Change-Id: I0bd029c97a152887ad84181e551eb6a6b9bd764a
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-11-02 08:52:28 +00:00
Jochen Becher
9fc4396e11 ModelEditor: catch all exceptions on loading/saving model files
As reported in QTCREATORBUG-15256 an invalid model file crashes QtC on
loading the file. Not all exceptions were caught.

Change-Id: Ie2e75ba23d92482e1365664f64728422e2003b32
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-10-30 15:02:42 +00:00
Tobias Hunger
88bbf4d126 ToolChains: Check typeId first before doing expensive checks
This should speed up toolchain auto-detection a lot.

Change-Id: Id732ed359a4c9de1d49cb658cc91c2e7c9d1b7a6
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-10-30 14:35:37 +00:00
Jochen Becher
30cdff7129 ModelEditor: fix position of checkbox labels
In Properties view the checkbox labels were placed on the left side
(aligned with labels of other ui elements). With this change they are
placed in the usual way on the right side of the checkbox.

Change-Id: I2500249b18a7652d5d5a5c84b4d823ac97ecc070
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-10-30 14:19:52 +00:00
Orgad Shaneh
78ba92516d Gerrit: Index by number instead of Change-Id
Change-Id is not unique. It can be reused on several branches of the same
project, or across projects.

Change number is unique.

Change-Id: Id68ae63b4d745817a2cac764fdc8ceebdcb3faa4
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-10-30 14:16:35 +00:00
Christian Kandeler
155f033f92 QbsProjectManager: Add Qt resource files as nodes.
Like the QmakeProjectManager does.

Change-Id: I99c42dd93b87f7fce45e6af8a5f6802a2035ad93
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-10-30 13:23:30 +00:00
Ulf Hermann
ccb6d6131e QmlProfiler: Don't needlessly delete debug connections
If we're already trying to connect when the "Waiting for ..." message
arrives we don't want to start from scratch, but rather reuse the
existing connection.

Otherwise the handshake may be interrupted in an arbitrary state,
either leaving the remote QML engine waiting for the local QML profiler
to send the recording status, or prompting the local profiler client to
stop recording as the connection "broke".

The local QML profiler will only send the recording status if new QML
engines show up, which doesn't happen on the second successful
connection. That may be a different bug.

Change-Id: Ia17fcf9d0a28edf700274bcd88c2b7030220c290
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
2015-10-30 12:47:58 +00:00
Robert Loehning
9ca4648081 Squish: Replace white box code with GUI interaction
Change-Id: I513142498768dfb3f8373d00f0b04edba0dfd06f
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-10-30 10:46:53 +00:00
Robert Loehning
e94de191b0 Squish: Update objects of Qt version settings
Change-Id: I2fce4d860a70230519d7f56e58d88a03dbb379ba
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-10-30 10:46:24 +00:00
Marco Benelli
b26920c3a3 Fixed bug in reformatting QML code (duplicated property name).
Change-Id: I1af68aa979fbbc38edd0255c346b9df371c8fd26
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
2015-10-30 10:03:36 +00:00
Eike Ziller
411c79a599 Version bump and use binary artifacts 3.6
Change-Id: I57f643b0400c945f2bfe3513ef23a9eccc083100
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-10-30 08:44:36 +00:00
Orgad Shaneh
15a9ad92ec VCS: Support searching in VCS output pane
Change-Id: I88312b2585636aa89b2657800fc2254e83dc9c00
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-10-30 08:43:00 +00:00
Orgad Shaneh
9a27b73d44 Git: Show success message on rebase --continue
Change-Id: Id9f3bc7fc04831d47e17948891e34bdba768a170
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2015-10-30 06:57:25 +00:00
Marco Bubke
ec944fede7 TextEditor: Fix underline options settings
Task-number: QTCREATORBUG-15259
Change-Id: Ifd988117b9728149acc5a9aa9e63e327eeff6d37
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
2015-10-29 18:10:08 +00:00
Tobias Hunger
13675310df ProjectExplorer: Use native separators when reporting files
... that failed to get added to a project.

Change-Id: I148edc7d0c7fa327233fa8aff7122ee3412a47ba
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
2015-10-29 14:31:12 +00:00
Robert Loehning
1a9e097c80 Squish: Update tab's name in tst_installed_languages
Change-Id: I22f69a589d8bb32c3fa7d984ada67043340e5e27
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
2015-10-29 13:13:40 +00:00
Tobias Hunger
1d86373133 ProjectExplorer: Clean up includes a bit
Change-Id: I44dd1ac92194c4330223c5160e4985afd2eebacc
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
2015-10-29 13:06:43 +00:00
Tobias Hunger
1323956f59 QmakeNodes: Fix renaming of files
We need to re-parse the file after removing the old filename. Otherwise
we only hit the right spot by accident when adding the new filename.

Task-number: QTCREATORBUG-15241
Change-Id: I2e72da9f14033cc757a8b51d2ce1f5c2a5e5b557
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
2015-10-29 12:00:46 +00:00