Commit Graph

33265 Commits

Author SHA1 Message Date
Robert Loehning 746c5d8863 Incremented year in copyright info
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-01-08 08:29:47 +01:00
hjk 839a383aa3 Debugger: Change default to use c++11 in manual tests
Change-Id: Id995ee20b231dc4179eed0b03b139fdcb9ffb60a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-01-07 16:51:04 +01:00
hjk 1a7b8654e5 Debugger: Fix importing plain dumpers with newer gdbs
Change-Id: Id0441ed8bb4ca1a116157e033bd711ece0e2b2ed
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-01-07 16:47:52 +01:00
Robert Loehning f5ec3f4237 Squish: Make some variables local
Change-Id: I1687ae59c6327616ee18f6120dca9d0d0ce40bcf
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-01-07 15:24:57 +01:00
Nikolai Kosjar 1362d9d262 CppTools: Fix test_modelmanager_defines_per_project
The example project parts had no project file set and thus the "right"
project part could not be determined in cppeditor.cpp:718.

Change-Id: I088571e9d3c3c8790670bbdd8e68190835a85ad5
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
2014-01-07 14:25:31 +01:00
David Schulz 6de1958af2 Debugger: Use more direct breakpoint setting in dumper auto test
Change-Id: Ibb24ded55ba02b908b63d71f1f872c73ee7b011b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-01-07 13:48:04 +01:00
Oswald Buddenhagen 7176a8ee64 make sure Xlib is in our dependencies
Task-number: QTCREATORBUG-11107
Change-Id: I5d0bc2cb34a1c02e2c310df4bd40fa9df198292d
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-01-07 13:44:46 +01:00
hjk 8cbcc3f044 Debugger: Fix std::{shared,unique}_ptr display
Regression in 3.0.

Change-Id: I8772176dc6ed75fb0f9c976632defacebe9d3589
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-01-07 11:12:53 +01:00
Orgad Shaneh ab10ac13cb EditorManager: Add a soft assertion for editor existence
Change-Id: Ieb1e13a25dd2ac4fbe2c1dba0adbbe93dcc6b4e7
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2014-01-07 11:02:29 +01:00
hjk 56691bcd60 Debugger: Fix display of std::array<some_struct>
Change-Id: Ib2aa41d6a059246e15d1f42831bdec96c235161e
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-01-07 10:37:17 +01:00
Robert Loehning 85f1a0310c Squish: Simplify runAndCloseApp()
- remove one signal handler
- make one variable local

Change-Id: Idff589c243cbd324b1b37478d77f28446d23490b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-01-06 17:15:21 +01:00
Sergey Belyashov 4e76573211 Separate shadow build directory suffixes and build configuration name
Task-number: QTCREATORBUG-11113
Change-Id: Idbf1a52d550a76128bb06ccc65029555fe001078
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2014-01-06 16:51:30 +01:00
Thomas Hartmann 1178a048fc QmlDesigner.ItemLibrary: Start drag using QTimer::singleShot()
A drag might change the imports which invalidates the model exposed
to qml. Since QObjects are deleted when the model is reseted this did lead to
a crash in the qml engine, because the object emitting the signal was deleted.
To avoid this we call startDragAndDrop() asynchronously using QTimer::singleShot().
Now the object is always deleted after the signal is emitted not during the emit.

Task-number: QTCREATORBUG-11139

Change-Id: I92e7f9dfff33697b9ff0da148dc9da629723ab7e
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2014-01-06 15:47:15 +01:00
hjk 86a91be426 Debugger: Don't check unused QXmlAttributed::vptr in auto tests
Change-Id: I333c407e293a806a63ff30153864530df6a32e47
Reviewed-by: hjk <hjk121@nokiamail.com>
2014-01-06 15:37:11 +01:00
Thomas Hartmann 590ca28037 QmlDesigner.PropertyEditor: removing old legacy files
I kept them as reference, but they are not needed anymore.
The QtQuick 2.0 port is done.

Change-Id: Ieb75d506a45636a17adc3c78d7beca6d5c1fd211
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2014-01-06 14:55:44 +01:00
Christian Stenger d787e4e2ab Squish: Enhance tst_default_settings
Change-Id: I150d4d53a6e6e93749f9cdbfe33971633805573a
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2014-01-06 14:23:35 +01:00
Marco Bubke c247227618 QmlDesigner: Fix crash for master document handling
Happens for dragging a list view in the document.

Change-Id: Id8d00fc880789a0e5e85d455850bb1ec3eaac434
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2014-01-06 14:19:51 +01:00
Robert Loehning 3082d5c0fd Squish: Remove pointless code
Change-Id: I8fb227301cf1375f159a8dbe3f6197cd0451d0ae
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-01-06 13:51:16 +01:00
hjk 0ede1a7318 DocumentManager: Use suitable parent for file reload dialog
Change-Id: I77c223b505bc97b64fcc27d5fab3514722ebaa02
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-01-06 13:48:32 +01:00
hjk 2f2e150923 BlackBerry: Give setup wizard a proper parent
Change-Id: Ic1e4b85d4edcd1c6f1ea1e38c9219a1a192b6d21
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
2014-01-06 13:41:43 +01:00
hjk 6d19f33f79 DocumentManager: Use ICore::dialogParent for all dialogs
Change-Id: Id2eda57bc816c8601a3460aaf224852c267d336e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-01-06 13:41:20 +01:00
hjk f5544d4c2d Debugger: Fix off-by-one when displaying "plottable" data
Change-Id: I93b3ba02e0d2ebde829ec8120a847429ca712450
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-01-06 13:40:37 +01:00
hjk 178bf93d15 Core: Add ICore::dialogParent() specific for use as dialog parent
Change-Id: I72dca0f95b418a32ac3859f086053f91b9e9ec67
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-01-06 12:39:21 +01:00
Ulf Hermann 54340fd13b QmlProfiler: Make sure the different models agree on their state
Previously, the QmlProfilerSimpleModel would report a count of 1/1 when
empty while all others report 0/1. This leads to the UI waiting
forever for the "missing" data.

Task-number: QTCREATORBUG-11095
Change-Id: I165278caa5a2bece362bf869608d501d7f553c91
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-01-02 16:08:44 +01:00
Ulf Hermann 84e7504317 QmlProfiler: Make sure the painter state is restored at some point.
By returning early from the method painting the binding loop markers
painter states could be left on the stack, triggering error messages
later.

Change-Id: I0b9c336e44a28feec96c506d0e3d0da291054bbd
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-01-02 16:08:34 +01:00
Thomas Hartmann 50ed6fbb2b QmlDesigner.DragTool: refactor committing of transaction
I created commitTransaction() which is called whenever we change
to the selection tool.

Task-number: QTCREATORBUG-11134

Change-Id: I1b98c8ff45864decd36f24b219f7d952e44de8fc
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2014-01-02 16:02:26 +01:00
Thomas Hartmann 2f5bae02b3 QmlProjectManager: Fix support for Files
Change-Id: I7b6931eb193aca446bc7936f003c5a2f5e41c7f6
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2014-01-02 13:49:28 +01:00
Thomas Hartmann 0b14660427 QmlDesigner.PropertyEditor: remove remaining transactions from controls
Since there are issues with transaction we play safe.

Task-number: QTCREATORBUG-11134

Change-Id: I2144f81f14046317d967d6644befeb74e8d27eb8
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2014-01-02 13:47:44 +01:00
Orgad Shaneh 7073f7daed Git: Fix draft ref for gerrit
Change-Id: I884bcab46a7e11cbc3ea6c453bddd8b9d599e4cc
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
2013-12-31 15:10:08 +01:00
Orgad Shaneh fe9bb880ae CppEditor: Fix override lookup for double call and casting
Possibly fixes other use-cases

Task-number: QTCREATORBUG-11159
Task-number: QTCREATORBUG-11165

Change-Id: I375143c9658c581267c7c8d61ce03c27858f2de5
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
2013-12-28 19:16:52 +01:00
David Schulz 3d481b2b2c Debugger: Refactor the debugger engine restriction of dumper test data.
Change-Id: I8fe4fabcc5e101188f2a2dc51bbd43c827f286e7
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-20 14:26:45 +01:00
Orgad Shaneh 6dd3be2fee GDB: Support tempPath with whitespace
Change-Id: I6e3848e11b2550a508c3480e1a75494760376cad
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-20 12:47:36 +01:00
hluk c68c245fd1 FakeVim: Reset FakeVim properly after user command
If FakeVim mode is disabled, enable it just for the single requested
user command.

Keep useful messages shown for few seconds.

Task-number: QTCREATORBUG-10460
Change-Id: I89c1722542f47befbf2c24a663bf3d1c455b77d9
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-20 00:42:07 +01:00
David Schulz 790b976382 Cdbext: remove the depth limitation of symbol dump.
This allows us to print expanded locals and expressions hierarchys
while stepping through the source.

Change-Id: I0971cadfd0eed807ae2d3f9fd21bff48daad5175
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-20 00:39:40 +01:00
Fawzi Mohamed fd43080c29 lldbengine: fix attachPid check
An invalid pid to attach can be 0 (to simplify handling of windows Pid
is pointer) or -1 (usual unix value)

Change-Id: Iaf8049d2b68e89e97bfaeb31972d83a8c5cffd80
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-19 18:59:58 +01:00
Robert Loehning 1734e368b6 Squish: Improve waiting in tst_simple_analyze
Change-Id: I430e9190beab25f51b187c007c0d7624810c2509
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-12-19 13:44:26 +01:00
Robert Loehning 5bcc7240f1 Squish: Replace failing wait statements in tst_cli_output_console
Change-Id: I862812802722f66b6c100458b5aaea7c7165b248
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-12-19 13:08:34 +01:00
Guillaume Belz 2a4a41da4e French translation fixes
Change-Id: Iedc2c70e5744b196c62ea20e2769179a9a2e33f4
Reviewed-by: Guillaume Belz <guillaume.belz@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-12-19 11:47:19 +01:00
Oswald Buddenhagen 3955d893f6 remove over-escaped non-breaking spaces
linguist is not able to work with correct non-breaking spaces (cf.
QTBUG-6300 and QTBUG-35652), so we'll have to do entirely without them
for the time being.

Change-Id: Icd36556e141125335899e458102ade5728c6fbaf
Reviewed-by: Guillaume Belz <guillaume.belz@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-12-19 11:47:02 +01:00
Robert Loehning a8a1407224 Squish: Replaced signal handler in tst_CSUP04
Change-Id: Ia24fc657b7033fd383ede2df243bbd29b44c460a
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-12-19 11:39:21 +01:00
Robert Loehning 5e42856947 Squish: Fix bug in selectBuildConfig()
Function did not wait when configName did not
change, even when the active kit did change.

Change-Id: Ia0954ee7da45864aefe88ad1919124c065af2ac1
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-12-19 11:39:03 +01:00
Orgad Shaneh 9c2923b05f Fix simple_test_app compilation with Qt < 5.2
Change-Id: I3b903eb790e27e21d7759b989adf1e5077410677
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-19 07:30:51 +01:00
Eike Ziller 83a3705912 Fix build with Qt4
Change-Id: I1ef1f20d776f955c2f08d551dbac1621b98c0961
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-12-18 12:51:43 +01:00
Robert Loehning a0fdad9921 Squish: Added further git log tests
Change-Id: I28a1922fa1cf256baf3775d6eab47aeeb35432df
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-12-18 12:32:24 +01:00
Jens Bache-Wiig 1193cfa092 Cache loaded items
This is a somewhat different solution for improving the
performance of the welcome screen. It has the added benefit
of caching loaded items while still retaining a decent
performance.

Change-Id: I9927a90f1b7de5bb06c43b16dc80cb2afec3f8ad
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2013-12-17 16:23:35 +01:00
Eskil Abrahamsen Blomfeldt 4b40cda342 Android: Fix build path with non-latin characters
androiddeployqt uses toLocal8Bit() to get the correct
encoding for executing shell commands, which is broken when
Creator sets the process locale to something different from
the shell. This caused build failures for all users on systems
where the default build path is translated to something which
contains non-latin characters.

Task-number: QTBUG-34316
Change-Id: I4e7dd0d3351d164b720f042bb21f668589df5527
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
2013-12-17 15:09:49 +01:00
Eike Ziller 74cc163a06 LLDB: Fix display of bases with multiple inheritance.
It was only showing the "last" one because the inames were the same
(currentIName.None).
Do not overwrite iname of sub item in 'enterSubItem' if it already was
set.

Task-number: QTCREATORBUG-11109
Change-Id: I74581f62d47ff0c33650769c3ed66e24124d1092
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-17 13:56:12 +01:00
Kai Koehne 27563451cb Allow plugins to depend on plugins outside of creator source tree
Do try to resolve plugin_dependencies.pri files in all directories
set by QTC_PLUGIN_DIRS. Also fail if a dependencies_pri file cannot
be resolved.

Change-Id: I2c14db832cef0fcc97a2f0351847c4969f5bd420
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-12-17 08:54:03 +01:00
Thiago Macieira 9dd60b34f8 Fix use of variable before initialization
That's what you get for shadowing a variable... The "childItem" variable
on the second part of the foreach refers to one declared on the first
part, which is uninitialized.

Found by ICC 14.0:
graphicalnodeinstance.cpp(300): warning #592: variable "childItem" is used before its value is set

Change-Id: I9079a428eda90f4bb06f9ccd1adf836fee119133
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2013-12-16 21:47:21 +01:00
Fawzi Mohamed 293d4d9a6d ios: correcly update executable path in the ui
changing the build directory did not update the path shown in the
run configuration ui (but the correct one would be used)

Task-number: QTCREATORBUG-11080
Change-Id: I4105cb6ffd21bffe59e9bbbccdf427caf88646d6
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-12-16 16:31:05 +01:00