Commit Graph

34458 Commits

Author SHA1 Message Date
hjk
e110a88cee Debugger: remove platform ifdefs in terminal adapter
The code still assumes host == target in some places...

Change-Id: Ief495df6ff5fbff890fc46d42a6b29eee3a1ed2c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2014-03-04 13:18:29 +01:00
Fawzi Mohamed
384fc4096b ios: marking plugin as non experimental
Change-Id: I06982188952d23ecee876dd4a7d6e805b81a7cb5
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-04 12:39:56 +01:00
Orgad Shaneh
9edd15c2b8 ChangeLog: Add some more changes
Change-Id: I51eb77abd8f6903408336a47396d54a7eda7331f
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2014-03-04 11:34:21 +01:00
Eike Ziller
9c6be69979 Increase number of recent projects.
Task-number: QTCREATORBUG-11605

Change-Id: Idbca992cab23bca847f69765e1fe11e697b231f9
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-03-04 07:46:58 +01:00
Friedemann Kleint
249a8b2d24 tr()-Fixes in CLANG code model.
Do not use QObject::tr(), use native file paths,
use complete contexts.

Change-Id: Icc4990b4c2ca5b9ae6f6b639db9e1a45a93e0a65
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
v3.1.0-beta1
2014-03-03 18:11:22 +01:00
Tobias Hunger
4c4bb91886 Qbs: Give path to settings in Qbs build and install steps
Give the settingspath where the Qt Creator profiles are stored
in the Qbs build- and install steps.

Change-Id: I048525083fc39ca824d866e885d44325306e1030
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-03 17:40:22 +01:00
Tobias Hunger
158fa9c487 Qbs: Wait for reparsing to be done after a build
This is necessary since the build may change the the properties of
the build targets (executable name, etc.), so we can not proceed
to run anything without that update.

Change-Id: I9790c529db5e4da61f59e638a05339ada714353c
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-03 17:37:37 +01:00
Tobias Hunger
321f67ffeb Qbs: Create run configurations for everything
Qbs can no longer tell us which projects produce an installed
executable, so just create run configurations for everything.

Change-Id: Ifd2b5941d0909b63a64139d91a970fb75f0c3b78
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2014-03-03 17:34:20 +01:00
Tobias Hunger
71d23d94fb Qbs: Add placeholder text to QbsRunConfiguration widget
Change-Id: Ie4452d668ad8355b0f68f5d41e9a26a13c2c8586
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-03 17:25:36 +01:00
Eike Ziller
e4feb5e326 Fix F1 sometimes opening explorer/finder if documentation is not found
It's not sufficient to try to create a QUrl on a string to find out if
it is an url, because that automatically treats strings without any
special characters as "local file urls".

Task-number: QTCREATORBUG-11570
Change-Id: I18071aed5b3fbdd717b045c2f6e3e90385be8584
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-03 17:08:09 +01:00
El Mehdi Fekari
c4f5bdfbdb Qnx: Enabled deactivating unique active API level
Task-number: QTCREATORBUG-10540

Change-Id: Ie6f23e2a10afd0f1ef96bee10006461675ecb22f
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2014-03-03 17:06:18 +01:00
Eike Ziller
9df273ebe6 Update changes-3.1.0
Change-Id: I81a3f5751be653c15ebef8efbbeaa716c2fdb390
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2014-03-03 17:00:20 +01:00
El Mehdi Fekari
cb7c12042f Qnx: Fix device runtime check step condition
Task-number: QTCREATORBUG-11513

Change-Id: I7c2a2e0c4fa7315c961bd0354e0f7db7d71185a2
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2014-03-03 16:58:50 +01:00
Leena Miettinen
c0255471ed Welcome: updated links on Tutorials page to DDays13 videos
Also add links to more tutorials in the Qt reference documentation
and Qt Creator documentation.

To test, just copy the files to the respective folders in a Qt Creator
installation. No need to pull and rebuild.

Change-Id: Ia24f07342849ac826d29965e6d70bc24712715e9
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2014-03-03 16:14:55 +01:00
Friedemann Kleint
1bcb622e37 tr()-Fixes in QNX-plugin.
Fix spelling, do not use QObject::tr().

Change-Id: If0c55e956ea749ad6ca37cb3ad98c880beaabb49
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
2014-03-03 16:04:26 +01:00
Tobias Hunger
f53cac7df2 Qbs: Properly initialize "Run in Terminal" based on qbs properties
"Run in Terminal" is checked/unchecked according to the consoleApplication
property found in qbs.

Rename the forceGuiMode method to better describe what it is used for.

Change-Id: I485058c85563cf4d3ced0d1a5f8cb1bf89791750
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-03 16:04:16 +01:00
David Schulz
bde1f044bc Utils: Fix replace with preserve case.
Task-number: QTCREATORBUG-11610
Task-number: QTCREATORBUG-11194

Change-Id: Ia5e70dad0f66ec4d6ee610b59963321ce1fb20ad
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-03-03 14:57:31 +01:00
Daniel Teske
4d7c010aad FlatModel: Sort file nodes according to displaname first
So far the filename and displayname was the same for all filenodes. That
changes with the ResourceNodes, so adjust the flatmodel.

Task-number: QTCREATORBUG-11590

Change-Id: Id5a7ecda8963b64a6ebccc589b38f428366da3fd
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-03 14:54:35 +01:00
Friedemann Kleint
56ae18e594 tr()-Fixes in QNX wizards.
Avoid duplication, trailing blanks and concatenation of translated
pieces where possible.

Change-Id: I462ef7b66fb0e61e57db9d6112f9f4632dbb9c0b
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-03-03 14:51:36 +01:00
Tobias Hunger
40d6a2bf57 Qbs: Fix reparsing after building
Change-Id: Ic06718ddc6813fbe02078976e4bc571fb382d96a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-03 14:16:07 +01:00
Orgad Shaneh
474065c5c7 CppEditor: Do not "highlight parentheses" for multiline C++ comments
Change-Id: I6c84a2653a1e9c13e1c776b49b4e51cb4de772f3
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2014-03-03 14:09:32 +01:00
Orgad Shaneh
e5a693be96 ProjectExplorer: Expect file change on remove
Change-Id: If372db645203ab517ef313b9d51e9f81f6b0c328
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-03-03 13:57:49 +01:00
Joerg Bornemann
549ea6a3c8 qbs templates: install app by default
Change-Id: Ib639f70f2cb30842d8bce2073883979d0b67afa7
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-03 13:36:12 +01:00
Christian Stenger
0f1105d8c1 Squish: Add workaround for mixed debugging bug on Mac
Change-Id: I4634a10d06ff30998787a215886b642d8349bb8f
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2014-03-03 13:13:34 +01:00
Robert Loehning
8d238af564 Use native labels for "Browse" buttons
Change-Id: Idee0525ccd69c64856d0f4b7b3bab1252e573280
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-03 13:00:25 +01:00
Tobias Hunger
956744dff8 Vcs: Do not freeze when the user starts its commit message with <Tab>
Task-number: QTCREATORBUG-11614

Change-Id: Ide2fe81250f3c1331a7f54be827e7dd8f551fdc6
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-03 12:49:04 +01:00
David Schulz
2224472374 Core: Restore main window state before showing.
Change-Id: I665ee724d9778bf391e6c77497ee012fe5a6edaf
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-03-03 12:38:24 +01:00
Christian Stenger
888d752392 Squish: Support Debugging Tools for x86 as well
Change-Id: Ibf508de48473a48d0a88356d15a06088873a3d9c
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2014-03-03 11:43:56 +01:00
Eike Ziller
5e7b693651 Version bump
Change-Id: Ibb0d0d64f379684b1ae8f7cd55a8a5436056432b
2014-03-03 10:27:59 +01:00
Robert Loehning
4d8059f6e1 Provide parent to getOpenFileName()
Change-Id: Ie7bda58e1a2bf288fa89932cd2b07be091f312a4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2014-02-28 18:21:42 +01:00
Christian Kandeler
c8881e7ca2 Support configurable library location in qbs build.
And also in the qbs sub-project (for the qbs and qmake builds). This
becomes possible with the qbs submodule update that is part of this
patch.

Change-Id: I8347a8c04a52bcb0682f32d808fb61a90ef3ba72
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
2014-02-28 17:38:41 +01:00
hjk
d14676dc10 Debugger: Remove glitch in QObject property reporting.
There was a spurious item named [10] (or similar) at the end
of the list.

Change-Id: I9bfd41325f47206c11e26161f6b0838778f8c306
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-02-28 17:16:36 +01:00
hjk
9bb0d18872 Debugger: Fix some fallback in type lookup
Just in case. I can't trigger the codepath anymore.

Change-Id: Ia1cecca7a9628b36128fa6efbb2f6ffbc4bef4b2
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-02-28 17:15:37 +01:00
Friedemann Kleint
b653ca1f18 Revert "Git: Replace %n with %1 in string"
This does not work, it needs to be either:

("%1").arg(n) or ("%n, 0, n)

The %n syntax is preferred here since although there probably
are always > 1 elements, some languages use different grammatical
cases for various numerical ranges (Russian, Polish).

This reverts commit c09e80b853.

Change-Id: Id3f480f0ec0de2dd8893b8de256c5e6c9628a6f9
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-02-28 15:35:32 +01:00
Robert Loehning
23e9338e97 Squish: Enable QML debugging in doSimpleDebugging()
Change-Id: I46a902a8038beac49e70a8a1f422c079bd2b3f44
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-02-28 15:34:48 +01:00
Thomas Hartmann
549d0de026 QmlDesigner: Adding missing dependency
Change-Id: I9907a57d7d837d102b94e544dea3fce3b30e2489
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-02-28 15:32:13 +01:00
Friedemann Kleint
e5d9f6870e Fix capitalization of API in QNX.
Change-Id: Ie9ae626b4b22871911f39ad3249ef2b154761b18
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-02-28 15:21:29 +01:00
Friedemann Kleint
028fe7f627 Remove leading newline characters from translated messages.
Change-Id: I237ad558e27a619f9162ebec2ef4ede9ed2cdeea
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-02-28 14:58:45 +01:00
Robert Loehning
6343e101f2 Normalize connect()
Change-Id: I1e4098f6aaff5a75dea2e786f3f4404ed7e6ba76
Reviewed-by: David Schulz <david.schulz@digia.com>
2014-02-28 14:09:10 +01:00
Eike Ziller
8e51a93d37 Make find options in tool bar more accessible.
Open a popup that doesn't close on every change of an option.
Make the options button accessible through tab.

Task-number: QTCREATORBUG-11340

Change-Id: I61b83243ead4b0b3d7075c1e8f8327cd31d9c2c4
Reviewed-by: Bojan Petrovic <bojan85@gmail.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2014-02-28 13:43:20 +01:00
hjk
880a834b11 Debugger: Add start with step-into for LLDB
Task-number: QTCREATORBUG-11596

Change-Id: I4561d74524b70bc81345ab9beb60ec7242045509
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-02-28 13:33:49 +01:00
Friedemann Kleint
e0272aefd8 Fix array format message in Debugger.
Change-Id: Ibd0a1dd6b4a48342eed5b889eff786fbebae7063
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-02-28 13:11:11 +01:00
Tobias Hunger
da7b02df2f winutils: Fix warning about unused functions on non windows
Change-Id: Ied8a26009de64ce8b6f285d41609e801f82e61e3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-02-28 12:49:14 +01:00
hjk
d190263e9a Debugger: Re-work qt namespace detection with gdb
We can always use python now. Avoids one roundtrip on startup,
a temporary file, and only does it when needed.

Change-Id: Id32a812bec477307da1d93950f7758f3a5699464
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-02-28 12:16:30 +01:00
hjk
762f3e32fd Debugger: Fix metaobject lookuop for older versions of GDB
Symbol.value is not available in 7.4

Change-Id: I86e00cbeef61669ca5950e35a7b0aed86dcb2f87
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-02-28 12:16:14 +01:00
Friedemann Kleint
41f2556543 Fix lupdate warnings in WinRT-plugin.
Fix duplicated messages and missing Q_OBJECT.

src/plugins/winrt/winrtdeployconfiguration.cpp:57: Class 'WinRt::Internal::WinRtDeployConfigurationFactory' lacks Q_OBJECT macro
src/plugins/winrt/winrtdeployconfiguration.cpp:148: Class 'WinRt::Internal::WinRtDeployStepFactory' lacks Q_OBJECT macro
src/plugins/winrt/winrtdeployconfiguration.cpp:197: Class 'WinRt::Internal::WinRtDeployConfiguration' lacks Q_OBJECT macro

Change-Id: I49756e05411330fb1cc6281da8cfc677e5e6d1af
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
2014-02-28 12:03:01 +01:00
Robert Loehning
c8027974ca Squish: Update expected project tree
Including revert of d67b7229da

Change-Id: I5712739385b4e08b494f6915cd4fc43928653e04
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-02-28 11:39:11 +01:00
Eike Ziller
689742c6e3 Use dialog parent for cpaster dialogs
Change-Id: I2561d74522b70bc81345ab9beb60ec7242045509
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-02-28 11:18:06 +01:00
jkobus
a746f6fb27 Move internal structures and some functions into diffutils.h
Change-Id: Ia55e556fdb8de3a2aeebf768ad9db66d840766f2
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2014-02-28 10:42:50 +01:00
Orgad Shaneh
c09e80b853 Git: Replace %n with %1 in string
There is no plural form in this message

Change-Id: I85b584d4e53e68128279d50cb6b63e259f7a35b5
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-02-28 10:37:56 +01:00