Commit Graph

2056 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Marco Bubke
2ebb5137a0 QmlDesigner.NodeInstances: Wouraround invisible root items
Task-number: QTCREATORBUG-5152

Change-Id: I40be95844598a3a3728d0c7fbe88a9fe7a155c53
Reviewed-on: http://codereview.qt.nokia.com/1532
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 16:11:07 +02:00
Thomas Hartmann
7eb177ce8a QmlDesigner.propertyEditor: adding inputMask to color LineEdit
Task-number: QTCREATORBUG-4733
Change-Id: I56921361d2dfc67578a0536b0b50e0c8cfee5180
Reviewed-on: http://codereview.qt.nokia.com/1533
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 15:56:08 +02:00
hjk
652d071efb debugger: don't let gdb look up dummy types
Sometimes " " is used as type data to make the Locals and Expressions
view show an "empty" field. This should use a better mechanism in the
long term, but for now at least don't ask gdb to look up type " ".

Change-Id: I6617f68affd66116529460b7c3df68b4a0be422e
Reviewed-By: Friedemann Kleint
Reviewed-on: http://codereview.qt.nokia.com/1417
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-07-12 14:59:26 +02:00
Marco Bubke
c02f1fb78a QmlDesigner: Fix license header
Change-Id: I4a8e1abd5a5b2431f654bb64421c872655b3ce40
Reviewed-on: http://codereview.qt.nokia.com/1458
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 13:58:57 +02:00
Thomas Hartmann
93b6202d0d QmlDesigner.propertyEditor: increase number of decimals for opacity
Task-number: QTCREATORBUG-4772
Change-Id: Ia590803e66d5e2cc41e51a1306511c9bfe4f3c47
Reviewed-on: http://codereview.qt.nokia.com/1519
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 13:20:57 +02:00
Christian Kamm
1126fad923 Wizards: Use showFullScreen for Simulator builds.
Change-Id: Iad67e40f236723ddbeb7633ad950bbb2c5613c4f
Reviewed-on: http://codereview.qt.nokia.com/1507
Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
2011-07-12 12:09:10 +02:00
Daniel Molkentin
b1b82e675a WelcomeScreen: Add pointing hand cursors.
Change-Id: Ifdf0db9ec1c95b9947385d038f359d569173d913
Reviewed-on: http://codereview.qt.nokia.com/1463
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-12 11:24:51 +02:00
Daniel Molkentin
794b9fc293 WelcomePage: Swap Feedback and Open/Create Project buttons.
Change-Id: I9c47a817795da7db9b0ec456199e9f9aa06206f7
Reviewed-on: http://codereview.qt.nokia.com/1462
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-12 11:24:42 +02:00
Daniel Molkentin
22d6dfa45a Welcome Screen: Fix regressions
- last session / current session semantics is back
- Manage Sessions... button is back

This commit changes the behaviour of currentSession()
to return the session name and not the full path.
SessionNodeImpl as the other user has been adjusted
accordingly.

Change-Id: I1dcfbef2fb4dacf3e3906871d816483c2bfb76da
Reviewed-on: http://codereview.qt.nokia.com/1461
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-12 11:24:31 +02:00
Thomas Hartmann
577203d4e3 QmlDesigner.propertyEditor: layout fix
The layout was quite broken and was not working with translations.

Task-number: QTCREATORBUG-5081
Change-Id: Ibc36eacb611e46fddd26867cdf2a13cf303bde36
Reviewed-on: http://codereview.qt.nokia.com/1503
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 11:23:37 +02:00
Eike Ziller
bf4e1c42f5 Get rid of rounded corners and some color adaptions.
Change-Id: Id0bbbd7455836ba7c5b311c4489aab3cf4aa1b13
Reviewed-on: http://codereview.qt.nokia.com/1459
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-11 20:28:09 +02:00
Thomas Hartmann
8bf08f0166 QmlDesigner.nodeInstances: stricter checking for component paths
We only fix component path if it contains "/imports/".

Change-Id: I4624c460a7475c6b659baea011e2d37def4fdca2
Reviewed-on: http://codereview.qt.nokia.com/1457
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-11 18:17:42 +02:00
Marco Bubke
b7d453b0c8 QmlDesinger: Fix AnchorChanges are not exported
This reverts commit 6f161c99f7.

Task-number: QTCREATORBUG-5026
Change-Id: I51cb29887a35f8a9d0aee7d9b974aa037dc446bd
Reviewed-on: http://codereview.qt.nokia.com/1443
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-11 16:41:40 +02:00
Eike Ziller
28bdff7350 Change welcome page tab highlighting
Change-Id: I5005f451eeed5b3d1280312f28878caa6985199b
Reviewed-on: http://codereview.qt.nokia.com/1444
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-11 16:31:45 +02:00
Marco Bubke
668bfe69de QmlDesigner.NodeInstances: Fix workaround
componentComplete after reparent was null.

Change-Id: Ic4705531a38f67e706bc58a27d423d4062f83304
Reviewed-on: http://codereview.qt.nokia.com/1425
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-11 16:30:53 +02:00
Eike Ziller
ba9b9330f5 More space for recent projects.
Change-Id: I271ba2484b767ebcf41f5f61f16b72aab2cf772a
Reviewed-on: http://codereview.qt.nokia.com/1429
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-11 15:28:36 +02:00
Daniel Molkentin
2776145d70 Fix margins, introduce separator in ExampleView.
Also fix up margin logic in develop tab.

Change-Id: I56d3641f068931237d4cb0638a822ace6fc864ab
Reviewed-on: http://codereview.qt.nokia.com/1418
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-11 15:06:42 +02:00
Eike Ziller
250784b6f7 License update.
Change-Id: I5e9f39a013b4eebcc7cd3ace4aaf44ec6fe8aaa9
Reviewed-on: http://codereview.qt.nokia.com/1412
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-11 12:59:04 +02:00
hjk
3fd95f8165 debugger: remove attempt to discover private QObject data
This worked only for real QObjectData derived data classes but failed for
pimpls with the same naming conventions that are not QObjectData derived.

Change-Id: I52765b554addcec550c346b4fc93c836772d0463
Reviewed-on: http://codereview.qt.nokia.com/1401
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-11 12:34:52 +02:00
Christian Kamm
4285b48455 QmlJS: Dump builtins per Qt version.
Change-Id: I7b5179c4b33c24e83baf0536d158dd48d277637f
Reviewed-on: http://codereview.qt.nokia.com/1305
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
2011-07-11 11:28:38 +02:00
Friedemann Kleint
0b70a63a8e L10n: Fix translation error in locator bar.
Change-Id: I0c8c6b5046dd7aa5ce8238bd3e2ac6742ad32877
Reviewed-on: http://codereview.qt.nokia.com/1394
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-07-11 09:36:28 +02:00
Robert Loehning
6f161c99f7 Revert "QmlDesigner.NodeInstance: Add instance wrapper for anchor changes"
This reverts commit 94bc93d101.

Patch caused build error on Windows.
Task-number: QTCREATORBUG-5372

Change-Id: If3d63eca0c9dbc0f621c32cf21ffa983ce0987f4
Reviewed-on: http://codereview.qt.nokia.com/1387
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2011-07-08 16:16:44 +02:00
Daniel Molkentin
0461150b85 WelcomeScreen: Reintroduce custom widgets.
Change-Id: Ib9ec14702e4cbebf57493ac6cc0092d74a29d63c
Reviewed-on: http://codereview.qt.nokia.com/1382
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-08 16:03:32 +02:00
Christian Kandeler
75a86a7951 MeeGo: Make use of new qmake flags.
Change-Id: I0cbb934e2c49c7c99b6fff0b8f92e5802471ef8c
Reviewed-on: http://codereview.qt.nokia.com/1326
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2011-07-08 14:30:40 +02:00
Eike Ziller
98833b8d24 Too small margins for news.
Change-Id: Ie56132e6232fbf8bfb4ed9c0892aba1d143c7471
Reviewed-on: http://codereview.qt.nokia.com/1366
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-08 12:52:18 +02:00
Friedemann Kleint
83837baeb4 L10n: German translations for 2.3 beta.
Change-Id: I5c96a6a34779b12b3a79fa41ec8d420ed4c370e4
Reviewed-on: http://codereview.qt.nokia.com/1356
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-07-08 11:06:06 +02:00
Jarek Kobus
9499c18ab5 Update Polish translations
Change-Id: Icedd8de07fda93e24766e1fa1e4aa820bae6031e
Reviewed-on: http://codereview.qt.nokia.com/1173
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
2011-07-08 09:59:42 +02:00
hjk
9342dc1b80 debugger: fix array element offsets
Addresses were produced in steps of sizeof(array), not sizeof(element)

Change-Id: Iaf883735a07e9f87d6c0c540e2cde15ebf9013bc
Reviewed-on: http://codereview.qt.nokia.com/1328
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-08 09:08:38 +02:00
hjk
a33d12f47c debugger: don't use python's "hex()" as it adds "L" suffixes
Change-Id: I4c42f07785606f9adfb7f8129027b5f2d094f310
Reviewed-on: http://codereview.qt.nokia.com/1309
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-08 09:08:11 +02:00
Marco Bubke
94bc93d101 QmlDesigner.NodeInstance: Add instance wrapper for anchor changes
Task-number: QTCREATORBUG-5026

Change-Id: I56116fc3f1823e41bfd8e50781d2b4e8fccbfe04
Reviewed-on: http://codereview.qt.nokia.com/1329
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
2011-07-07 20:07:52 +02:00
Marco Bubke
39e55c91e7 QmlDesigner.NodeInstances: Remove dead code
Change-Id: I181f365d40b9fcd6b09989ed54decd9720e1c27d
Reviewed-on: http://codereview.qt.nokia.com/1330
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2011-07-07 19:22:35 +02:00
Daniel Molkentin
da7b74ace3 remove obsolete rss/ directory
Change-Id: Icb33e39276134f0d0e4ae6ebd9f8edb66c4e47ef
2011-07-07 17:43:50 +02:00
Daniel Molkentin
dfb5d34364 examples_fallback.xml: add two example entires for filesToOpen
Change-Id: Iac2565305655f42b2ad6c120c1f7459e3f2137a2
2011-07-07 17:43:50 +02:00
con
8dd37bd5b3 Welcome page adaptions.
Remove title and let the tabs span only the part that it switches.

Change-Id: I20c7f05fe11dbc71eea5487b918770236cfd748d
Reviewed-on: http://codereview.qt.nokia.com/1313
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2011-07-07 17:24:08 +02:00
Marco Bubke
4cdfacff11 QmlDesigner.NodeInstances: Fix component complete
Task-number: QTCREATORBUG-5338

Change-Id: Iaaaf2cd5440fa8d2f7baae8c42b9234d231a45aa
Reviewed-on: http://codereview.qt.nokia.com/1322
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
2011-07-07 16:32:39 +02:00
Marco Bubke
25daed2f03 QmlDesigner: Fix wrong position for reparenting
Task-number: QTCREATORBUG-3962

Change-Id: Id583e257aa1c1645cb53a8ae32f83717df9b0617
Reviewed-on: http://codereview.qt.nokia.com/926
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
2011-07-07 15:00:23 +02:00
Marco Bubke
862bc044df QmlDesigner.NodeInstances: Workaround qml design bug
Task-number: QTCREATORBUG-5005

Change-Id: Ia0f1f30a04818bc6ee55a0822eaf0d2b0183e50d
Reviewed-on: http://codereview.qt.nokia.com/1252
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
2011-07-07 13:39:12 +02:00
Oswald Buddenhagen
1f3896e8af Merge remote-tracking branch 'origin/2.3'
Conflicts:
	share/qtcreator/dumper/bridge.py
	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/remotelinux/remotelinuxapplicationrunner.cpp

Change-Id: I444f797723d5879ea08c5c0e1f31158d271d4f41
2011-07-07 12:26:59 +02:00
hjk
402db14943 qmlpuppet: remove unneeded declarations
Change-Id: I488548fa84e743e0ed80dd68739d3d80a1cea92b
Reviewed-on: http://codereview.qt.nokia.com/1297
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-07 11:57:55 +02:00
Marco Bubke
765ba3b4b9 QmlDesigner: Prevent item hoping for reparenting
Because of the asynchronous nature of the formeditor the item can be between
to states. This looks like the item is hoping around. To prevent this a token
is sent to the instances and back. For the time frame the painting is disabled.

Change-Id: If7e937cba8171248464ad350bb14438c020b25f9
Reviewed-on: http://codereview.qt.nokia.com/1189
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2011-07-06 18:19:28 +02:00
Thomas Murach
a4c4d67772 corrected license headers
Change-Id: I56fa50745a80abf52488bebe6a5a72cf26932a8b
Merge-request: 352
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/1251
2011-07-06 17:56:15 +02:00
hjk
718d40aeca debugger: add note which patch to apply for FSF gdb on Mac
Change-Id: If52ed2255bf10b3880ecb6a370d8268809612fd9
Reviewed-on: http://codereview.qt.nokia.com/1246
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-06 16:22:32 +02:00