Commit Graph

21107 Commits

Author SHA1 Message Date
Thomas Hartmann
9c5c805998 QmlDesigner: lines should not be longer then 100 chars
Change-Id: Ia5a5915b922be21470bb31f142769a5b9c75cde9
Reviewed-on: http://codereview.qt.nokia.com/1662
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 14:23:12 +02:00
Leena Miettinen
e7abde37b5 Doc: preparing designs for exporting to QML files
Change-Id: I57c7ee4a246db9468e17142a94cb80464a61299e
Reviewed-on: http://codereview.qt.nokia.com/1642
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jens Bache-Wiig
2011-07-14 13:23:15 +02:00
hjk
82bbac7f90 Remove unneeded defines.
Mostly Q_DISABLE_COPY that were covered by the un-copy-ability of the
respective base classes. Includes a few "stylistic" whitespace changes.

Change-Id: I31ca0e7bada5ed0f34776976efe22ddc444a5bf2
Reviewed-on: http://codereview.qt.nokia.com/1609
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-14 12:15:38 +02:00
Thomas Hartmann
982f1552df QmlDesigner.metaInfo: fixes a regression
I cannot just take the highest available version.
We have to determine the correct version from the import.

I added fullQualifiedImportAliasType for convinience.

Change-Id: I4cc8049b6224fa168f2530b0dfb41b6f2e515c19
Reviewed-on: http://codereview.qt.nokia.com/1589
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 12:04:11 +02:00
hjk
98a4f9ae71 debugger: Make "set breakpoint of qFatal" optional
This is mainly a workaround for cases where gdb crashes when setting
this breakpoint. It's unclear so far why this happens, but when it
happens, the debugger is basically useless, so there should be a
way to disable the "bad" feature.

Change-Id: I28ede9b38eb8bf56a8c5998088be487b4ee5896d
Reviewed-by: con
Task-number: QTCREATORBUG-5275
Reviewed-on: http://codereview.qt.nokia.com/1604
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-14 11:58:51 +02:00
Christian Kandeler
9ec07bf230 RemoteLinux: Remove left-over file.
Change-Id: I3b4bf91c587b18ae868737532c66819977198f44
Reviewed-on: http://codereview.qt.nokia.com/1654
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-07-14 11:19:56 +02:00
Eike Ziller
1a63d5e625 Update Qt requirement.
Change-Id: I8d3eb57a3cb41c4bfd01defc3f5c512a46a7a428
Reviewed-on: http://codereview.qt.nokia.com/1652
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-14 11:19:17 +02:00
Eike Ziller
df15bd1075 Show tool tip with news url.
Task-number: QTCREATORBUG-5395
Change-Id: Icad5f580ac10b49e492a6bbc50408b2bfe2cc6fd
Reviewed-on: http://codereview.qt.nokia.com/1653
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-14 11:16:51 +02:00
Eike Ziller
07098221e5 Open a sensible help page when project misses setup for profiling.
Change-Id: If5ceb841ac8f49ac7dd74f0e2f6ed31a44489115
Reviewed-on: http://codereview.qt.nokia.com/1534
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-07-14 10:56:59 +02:00
Christian Kamm
f326bd067d qmldump: Fix creation of objects from QDeclarativeTypes.
Previously, the import statement was not necessarily set up correctly
for the type we wanted to instantiate. We simply use
QDeclarativeType::create now and thus can skip finding the right import.

Change-Id: I545ef690dd6181f5b7a49bcb2018aaba4b60d5a5
Reviewed-on: http://codereview.qt.nokia.com/1646
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2011-07-14 10:47:33 +02:00
Leena Miettinen
61ee0328be Doc: ListModel and delegate are added automatically to Grid and Path View
Change-Id: I7bf090330555df763b9e3a64ff14caf0ccbb85b4
Reviewed-on: http://codereview.qt.nokia.com/1641
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 10:28:12 +02:00
Marco Bubke
ca8daecdff QmlDesigner: Fix crash for property editor detach
Change-Id: I367b45c9ae0e8f18abffceb996dbf13a14d8089a
Reviewed-on: http://codereview.qt.nokia.com/1610
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-14 10:10:11 +02:00
Marco Bubke
01eece3d84 QmlDesigner: Fix state switching
Task-number: QTCREATORBUG-4062

Change-Id: I2a04c5a04ef40390772fe46f587bc60c02a4bab1
Reviewed-on: http://codereview.qt.nokia.com/1605
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-13 18:42:47 +02:00
Robert Loehning
086e3ad373 Improved German translation
Change-Id: I84ae24aa721c8e12eba7e5f94b833df01c52342c
Reviewed-on: http://codereview.qt.nokia.com/1608
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2011-07-13 18:26:08 +02:00
Leena Miettinen
b3b915f976 Doc: edit for style and grammar
Change-Id: Ib7a0fd4cc11e0e61d0694c72fde2b726d74b2629
Reviewed-on: http://codereview.qt.nokia.com/1607
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-13 18:25:05 +02:00
Leena Miettinen
7b2163585e Doc: running Valgrind tools remotely
Change-Id: Ic25dcddfa25b3f1d1d059f4c40bb1d6c78225fc2
Reviewed-on: http://codereview.qt.nokia.com/1576
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
2011-07-13 17:31:42 +02:00
Christiaan Janssen
a7dc18809b QmlProfiler: fixed skipping long events
Task-number: CREATOR-5220
Change-Id: I694bbd02e6ecfe69f2cbd82f1cc3136152c77a4f
Reviewed-on: http://codereview.qt.nokia.com/1606
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 17:21:36 +02:00
hjk
eb1b3fb0c3 debugger: make local 8 bit available for displaying char *
Change-Id: I4608f3f861b8f06889199e0401e3b7569587be11
Reviewed-on: http://codereview.qt.nokia.com/1232
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-13 17:13:43 +02:00
Oswald Buddenhagen
330e118424 implement qt5 $$sort_depends() and $$resolve_depends()
Task-number: QTCREATORBUG-5289

Change-Id: I15e08005c13d12afd5791796d676b30c726fadc3
Reviewed-on: http://codereview.qt.nokia.com/1464
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-07-13 16:27:26 +02:00
Christiaan Janssen
82ff204314 QmlProfiler: display warning when app killed
Change-Id: I2183e02a5ce4b266702d0771933bda61efa66e95
Reviewed-on: http://codereview.qt.nokia.com/1603
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 16:07:56 +02:00
Christiaan Janssen
b533cea366 QmlProfiler: removed old fps code
Change-Id: If9ae003d1e6204450f931b72c950525b0b476f74
Reviewed-on: http://codereview.qt.nokia.com/1602
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 16:04:38 +02:00
hjk
3cce72dcf5 analyzer: merge valgrind related settings
This mainly reduces the number of tabs in the settings dialog.

Change-Id: I62ba5c74585648c8f495602cd4d676d0628de9b5
Reviewed-on: http://codereview.qt.nokia.com/1575
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-13 15:56:48 +02:00
Christiaan Janssen
01cc659ffd QmlProfiler: displaying events only when available
Change-Id: I65414168804fb9673793409bd66deec501944c75
Reviewed-on: http://codereview.qt.nokia.com/1601
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 15:51:02 +02:00
hjk
98c116491f valgrind: code cosmetics
Change-Id: I695c7d40aeb0b0b1e6f8cc0856e5fa5d9d1ce2d1
Reviewed-on: http://codereview.qt.nokia.com/1600
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-13 15:39:04 +02:00
Christian Kandeler
392377585c RemoteLinux: Fix wizard bug.
A condition was accidentally logically inverted.

Change-Id: Ib74cc55e74a46d6fab3fcb82d00f391ce57c9f79
Reviewed-on: http://codereview.qt.nokia.com/1599
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-07-13 15:36:36 +02:00
hjk
019c5ce6ef analyzer: potential fix for not-up-to-date actions
I cannot reproduce the issue locally. This removes a test whether
something has changed before updating the actions.

Change-Id: If32a7911a6b7ebde65d6dcd45d1eaae6a09933fa
Reviewed-by: con
Task-number: QTCREATORBUG-5405
Task-number: QTCREATORBUG-5357
Reviewed-on: http://codereview.qt.nokia.com/1526
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-13 15:36:26 +02:00
Christiaan Janssen
54d9374a2e QmlProfiler: Visual feedback
Change-Id: Ib0d50b0699a6553079c84bbc8d67ecc3c3397bc2
Reviewed-on: http://codereview.qt.nokia.com/1594
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2011-07-13 15:23:11 +02:00
Christian Kamm
5f370dfbfc QmlJS: Update Qt 5 builtin type information.
Change-Id: I1864f7e657d448957d8ecb4f72765b5caf60f178
Reviewed-on: http://codereview.qt.nokia.com/1593
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-07-13 14:59:56 +02:00
Fawzi Mohamed
0c0ffab1bb avoid allocating QmlEnumValues each time
Change-Id: I61f39f5bafcb2c84e91f5bca4b52010a08ed9f37
Reviewed-on: http://codereview.qt.nokia.com/1592
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
2011-07-13 14:59:52 +02:00
Thomas Hartmann
bb5ceca0e7 QmlDesigner.rewriter: only check 3 digits for reals
Since we cut digits in the rewriter, we get (rare) asserts otherwise.

Task-number: QTCREATORBUG-5419
Change-Id: If8ab174ba7bf06cf87ae8142ba0c2561bc7287bb
Reviewed-on: http://codereview.qt.nokia.com/1553
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-13 14:01:32 +02:00
Thomas Hartmann
4def422d1f QmlDesigner.modelView: optimize node creation from qml
Detaching the rewriter view significantly increases the perfomance.
(No rewriting for setting x and y)

Change-Id: I00fc5037e033d17d01d94ef33872b4014c5e0290
Reviewed-on: http://codereview.qt.nokia.com/1588
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-13 13:46:00 +02:00
Leandro Melo
4becd473f8 C++ editor: Make semantic info aware of file rename
This also changes the mutex so that the check for reusing
the last semantic info is consistent.

Task-number: QTCREATORBUG-5276

Change-Id: Ia5a2dae25ba3aa40949ac751bcda209d0bcf1f3c
Reviewed-on: http://codereview.qt.nokia.com/1581
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2011-07-13 13:11:45 +02:00
Friedemann Kleint
26add38c53 MSVC Toolchain: Add an informative label displaying the .bat.
and the argument.

Change-Id: I3ff5e2a7719e19e43952c481b6dbdb31428c979a
Reviewed-on: http://codereview.qt.nokia.com/1580
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-07-13 13:01:08 +02:00
Christian Kandeler
9198aa23f2 RemoteLinux: Improve handling of symbolic links when deploying.
We used to follow the links, resulting in unnecessary traffic.
Now we just recreate the links.
Note: This requires the user to not have dependencies that resolve to
something outside the set of files to deploy.

Change-Id: I3f439739115b4d07b36a71fe2041d8725a25abfd
Reviewed-on: http://codereview.qt.nokia.com/1582
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-07-13 12:59:19 +02:00
Friedemann Kleint
ec7525beaf Remove last traces of the WelcomeModeTreewidget.
Change-Id: I22ab22c5ed053a3f24ac3f08ca83fa600be98370
Reviewed-on: http://codereview.qt.nokia.com/1579
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-13 12:04:05 +02:00
Leena Miettinen
0074b502ec Doc: update QML profiler
Change-Id: I62ba5c74585648c8f495602cd4d676d0628de9b4
Reviewed-on: http://codereview.qt.nokia.com/1560
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-07-13 11:38:33 +02:00
Christian Kandeler
d35d6afee4 RemoteLinux: Remove empty lines from project file.
Change-Id: I54f3dad1fa982bcda542e2fdb1a49fe1be9755e5
Reviewed-on: http://codereview.qt.nokia.com/1563
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-07-13 11:20:15 +02:00
Christian Kandeler
72e436de44 SSH: Add ability to create symbolic links on remote host.
Change-Id: I6fda991c342acb2b64fe1e0078e9df43590119c6
Reviewed-on: http://codereview.qt.nokia.com/1531
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-07-13 11:19:50 +02:00
Christian Kandeler
c986374f32 RemoteLinux: Separate generic deploy steps from Maemo-specific ones.
Change-Id: I804e3778114ba09b9d47fd113eb2a56f4233f3e2
Reviewed-on: http://codereview.qt.nokia.com/1048
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-07-13 11:19:38 +02:00
Eike Ziller
1f6dc5e5c9 Debug and Analyze mode context menus were reshuffling.
Sort the items alphabetically to counter measure reordering of
QMainWindow child dockwidgets.

Change-Id: Ia79ffcb2dcd0c313184bc7bcafb7a4482db72a21
Reviewed-on: http://codereview.qt.nokia.com/1557
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-13 10:45:00 +02:00
Eike Ziller
d7c2c23da8 Fix initial layout in analyze mode.
Task-number: QTCREATORBUG-5414

Change-Id: I4ac8d150f20e35a769e6f7f13db420d81e93e7e2
Reviewed-on: http://codereview.qt.nokia.com/1552
Reviewed-by: hjk <qthjk@ovi.com>
v2.3.0-beta
2011-07-13 09:29:34 +02:00
hjk
85bdf3ece3 debugger: gracefully handle pointers to types named 'class Foo'
The code was previously taking the fallback route through
gdb.parse_and_evaluate which is slow and not available on
some targets.

Change-Id: I066d4c87c9eda168fe8019e4aaae35e58715d5c8
Reviewed-by: Friedemann Kleint
Reviewed-on: http://codereview.qt.nokia.com/1426
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-07-13 08:56:20 +02:00
hjk
492652e8ee basetextfind: style
Change-Id: If3f3cf07b615a48c98a3193328746c22b3cd818b
Reviewed-on: http://codereview.qt.nokia.com/1300
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-13 08:56:11 +02:00
hjk
c96668fe06 analyzer: add 'Locked' and 'Reset to default' actions to Views menu
Change-Id: Ia5677b250fefe8fcfe731a06aabb6d2f2988a03d
Reviewed-on: http://codereview.qt.nokia.com/1491
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-13 08:48:10 +02:00
Marco Bubke
acd5ba995e QmlDesigner.FormEditor: Fix centering of the scene
Task-number: QTCREATORBUG-5336

Change-Id: Idc4b7a924725575b71450a82ec3e588c3c1cd797
Reviewed-on: http://codereview.qt.nokia.com/1546
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 18:13:23 +02:00
Thomas Hartmann
6b1f4267f5 fix warning
Change-Id: I9af4cc00b6976368368f0a2e659f3ca2b60c991a
Reviewed-on: http://codereview.qt.nokia.com/1545
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 18:06:00 +02:00
Marco Bubke
b8a79174c1 QmlDesigner: Fix for code style
Change-Id: Ib44d54414d38409ec0647c922fb81a10b5c30046
Reviewed-on: http://codereview.qt.nokia.com/1523
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
2011-07-12 17:54:15 +02:00
Friedemann Kleint
d00484385a Debugger: Center location marker in assembly mode.
Task-number: QTCREATORBUG-5409

Change-Id: Ib2056005bdc7f7dbaf75c55da73ba0c11ade7c42
Reviewed-on: http://codereview.qt.nokia.com/1540
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-07-12 17:00:58 +02:00
Thomas Hartmann
9b9f1a8267 QmlDesigner: do not show icons on Mac
This fixes a regression. $$PWD was missing.

Change-Id: I579b1e22fd790280c5d87b6e59e11320fdb1a2af
Reviewed-on: http://codereview.qt.nokia.com/1538
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 16:59:26 +02:00
Friedemann Kleint
a4a1c67ab7 MSVC toolchains: Make it possible to clone and save it.
In order to switch debuggers.

Change-Id: I1e8ceaf5b145715ab1ea803e7bb188a3cff5f1c6
Reviewed-on: http://codereview.qt.nokia.com/1536
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-07-12 16:39:42 +02:00