Commit Graph

21107 Commits

Author SHA1 Message Date
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
Eike Ziller
281fa2c013 Works around a problem in Qt/Mac with mixed modal/non-modal dialogs.
Which leads to non-modal dialog getting incorrectly covered by the modal
one.

Task-number: QTCREATORBUG-5406
Change-Id: I1abd3051b9b849ecb5ee36316a0ab481ebcc754a
Reviewed-on: http://codereview.qt.nokia.com/1527
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-07-12 15:32:12 +02:00
Friedemann Kleint
ebcd81136b Debugger[CDB]: Fix CDB disassembly for older Debugging Tools pre 6.12
which mingle source code line and address when doing mixed
disassembly.

Task-number: QTCREATORBUG-5401
Change-Id: I7e3cd967fd4e11b8dcd4bab82fa89721d61274c0
Reviewed-on: http://codereview.qt.nokia.com/1528
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-12 15:18:56 +02:00
Thomas Hartmann
952afd5ddc fixes warnings
Change-Id: Id743bf898cb564d3b3331b39d554034015ddd232
Reviewed-on: http://codereview.qt.nokia.com/1529
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 15:13:45 +02:00
hjk
92dca7ee7e fancymainwindow: style
Change-Id: I36975e3aa5365a5294889f08cfb0ff0a95e38235
Reviewed-on: http://codereview.qt.nokia.com/1490
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-12 15:00:38 +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
Christiaan Janssen
58faedc4e5 QmlCppDebugger: skipping breakpoints before QML debugging is started
Change-Id: I461488812976284e9f3af1bcea8399f504e150e4
Reviewed-on: http://codereview.qt.nokia.com/1524
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-07-12 14:53:33 +02:00
hjk
50373f365d add some debugger, analyzer and fakevim changes to changes-2.3.0
Change-Id: I3d621a83f23b344f70251a1c0de236e7c17fc4df
Reviewed-on: http://codereview.qt.nokia.com/1521
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-12 14:37:59 +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
878b244309 QmlDesigner.rewriter: limit decimals of any float to 3
Task-number: QTCREATORBUG-4772
Change-Id: I2e3fba1fff0e0b8cef614bf7fb996c3dedfabf9e
Reviewed-on: http://codereview.qt.nokia.com/1520
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 13:21:09 +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
Thomas Hartmann
7ad334d7c0 QmlDesigner.instances: fix qml2puppet check
We now check for Qt Quick 2 instead of Qt Quick 1.
This fixes issues with webview and confusion if there arent any imports.

Change-Id: I5979996dd618a88e96cb09ef24744f1f9bd51c47
Reviewed-on: http://codereview.qt.nokia.com/1506
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 13:10:41 +02:00
Daniel Teske
69cca88dbb Add gui thread mode to BuildStep
Change-Id: I11501635bc5c17db557ea8379eb63c9d3915a05e
Reviewed-on: http://codereview.qt.nokia.com/1316
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-07-12 12:53:23 +02:00
hjk
cd6e49d3c6 debugger: work on manual tests
Change-Id: Ia118a4ead1f42ab5e3dff1aaa36e3d4bbb3d4bd6
Reviewed-on: http://codereview.qt.nokia.com/1518
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-12 12:51:38 +02:00
hjk
be8337f69f analyzer: remove unneeded AnalyzerPluginPrivate class
Change-Id: I2fac5e0e8c796d6009ba30da82a5a7a67672851d
Reviewed-on: http://codereview.qt.nokia.com/1517
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-12 12:51:07 +02:00
Marco Bubke
53b7f17f6e QmlDesigner.FormEditor: Disable feedback pane
Task-number: QTCREATORBUG-4598

Change-Id: I5b776348c75bbf0f927138d90d5414ca1344e435
Reviewed-on: http://codereview.qt.nokia.com/1460
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 12:45:48 +02:00
Eike Ziller
fc2a27d736 Version bump
Change-Id: I3307d6836ae5d876a8409bf3c19a30583475639d
2011-07-12 12:44:14 +02:00
Tobias Hunger
cdb3162c60 Git: Use native separators in error messages
Change-Id: I52cdcd2b34311796eff80cebd0b56f8996186fd0
Reviewed-on: http://codereview.qt.nokia.com/1446
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2011-07-12 12:38:49 +02:00
Thomas Hartmann
d77267b5bc QmlDesigner: fix warnings
Change-Id: I0b4d23e02810cf859726f544beb36a3f1b2746a8
Reviewed-on: http://codereview.qt.nokia.com/1513
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 12:19:03 +02:00
Thomas Hartmann
baf946f647 QmlDesigner.formEditor: disabling double click (enter component)
There is now an item in the context menu.

Change-Id: I5b7cc9ec5c374354e546a650f7c59539ca81ab29
Reviewed-on: http://codereview.qt.nokia.com/1512
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 12:16:14 +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
Leena Miettinen
94f6c17f96 Doc: Qt Quick Designer enhancements
Stacking order, mark for translation, new buttons, and list view.

Update screen shots

Change-Id: I472ebbf43e53d8dd20d7dc12f5c55ac298ef0e87
Reviewed-on: http://codereview.qt.nokia.com/1448
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 12:08:39 +02:00
Thomas Hartmann
c90ada79d9 QmlDesigner.itemLibrary: use utf8 for filenames (not latin1)
Task-number: QTCREATORBUG-4617
Change-Id: I6ff20816aa2800d4465a99ee69bdd871e6186a57
Reviewed-on: http://codereview.qt.nokia.com/1511
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 12:07:59 +02:00
Christian Kamm
10557d76c0 Indenters: Remove unnecessary include.
Change-Id: I97f95b14c6957079729da01a5d4226062c24116b
Reviewed-on: http://codereview.qt.nokia.com/1508
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-07-12 11:57:01 +02:00
Christian Kamm
1dfd78a9c8 Indenters: Fix dangling pointer when project settings are deleted.
Task-number: QTCREATORBUG-5390
Change-Id: I68517955a86fbb2ded53f6235a7fe27793e2b2c8
Reviewed-on: http://codereview.qt.nokia.com/1481
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-07-12 11:50:53 +02:00
Thomas Hartmann
f7b2dd95de QmlDesigner.textToModelMerger: check for no imports
No imports make no sense in the visual designer.

Change-Id: Ib426d726c6d7e11a3dce25b3c73c4bc921f64f60
Reviewed-on: http://codereview.qt.nokia.com/1505
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 11:48:09 +02:00
Friedemann Kleint
f231c2468b Debugger[CDB]: Display VTable-pointers as hex.
Task-number: QTCREATORBUG-5381

Change-Id: I840296ddfb297f2a60c8d2e83c541c75df1aa23d
Reviewed-on: http://codereview.qt.nokia.com/1504
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-07-12 11:42:50 +02:00
Christian Kamm
f3a45d7b55 QmlJS: Fix basic code model test.
Change-Id: If62153e9db56e65e10d008d49f0945d3ea77c4f4
Reviewed-on: http://codereview.qt.nokia.com/1502
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Reviewed-by: Bill King <bill.king@nokia.com>
2011-07-12 11:25:31 +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
fd9232fca2 QmlDesigner.itemLibrary: fix for TextEdit/TextInput
Task-number: QTCREATORBUG-5335
Change-Id: I56dfebdd16a7a29317f1ca9c45d67e6f63828cf9
Reviewed-on: http://codereview.qt.nokia.com/1441
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-12 11:23:58 +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
hjk
5563e99c4b debugger: add manual test
Change-Id: If54f6ba90915e9576f14f03f584ac90aab2b1fef
Reviewed-on: http://codereview.qt.nokia.com/1494
Reviewed-by: hjk <qthjk@ovi.com>
2011-07-12 09:29:54 +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
Tobias Hunger
b273c663ec ABI: Detect mips based wince binaries
Add unit test to verify detection.

Change-Id: I2d927552ebfaf8b35b9c1cae3b65603f63c7a8c5
Reviewed-on: http://codereview.qt.nokia.com/1447
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-11 17:00:46 +02:00
Christian Kandeler
90ff4c1c84 MeeGo: Fix message box for adding packaging files.
Task-number: QTCREATORBUG-5189

Change-Id: I1123a578aca1d5f0e491bbcef16d9e5672290a5c
Reviewed-on: http://codereview.qt.nokia.com/1422
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-07-11 16:59:54 +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
Friedemann Kleint
7c99c0cca3 Debugger[CDB]: Fix warning.
Change-Id: Ia844014a2e7385567e3299cc47384c60346e8cbb
Reviewed-on: http://codereview.qt.nokia.com/1445
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-07-11 16:32:41 +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
Thomas Hartmann
3794733660 QmlDesigner.formEditor: fix for delegates
Hide the items which are part of delegates.

Change-Id: I3c27210fd2bf8618c69e861d952a14c6f7e3be6a
Reviewed-on: http://codereview.qt.nokia.com/1442
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
2011-07-11 16:29:32 +02:00
Thomas Hartmann
219ef23c3d QmlDesigner.documentController: bugfix
We need to reset the componentView if a document changes.

Change-Id: I4eb14a34a41dd80d96c4350f7e596b6be47970dd
Reviewed-on: http://codereview.qt.nokia.com/1409
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-07-11 16:13:17 +02:00
Thomas Hartmann
a89390342f QmlDesigner.dragTool: improve usablity of drag and drop
If the parent is not set yet we do not need to reparent, yet.

Change-Id: I2ad743e775ebac57dde1b3600ff6af6378fc9da2
Reviewed-on: http://codereview.qt.nokia.com/1408
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
2011-07-11 16:12:57 +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
Leandro Melo
b414dbd96b C++ editor: Fix follow symbol for member functions
Fix a regression introduced by ad53fa42b0
in which follow symbol takes you to the function declaration (instead
of to the type) for situations like the one below (the | indicates the
cursor):

void Ty|pe::function() {}

Change-Id: Iffd15b23bb0cd67eca5965cb22d9b60c4d024fb7
Reviewed-on: http://codereview.qt.nokia.com/1375
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
(cherry picked from commit b260bf1e73)
2011-07-11 15:08:03 +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
hjk
5f65d79605 analyzer: don't crash on "Goto Next Leak" if there is none.
Change-Id: I7829c7c93338fd4238b9148a9fed3be4f5f69687
Reviewed-by: con
Task-number: QTCREATORBUG-5386
Reviewed-on: http://codereview.qt.nokia.com/1427
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-07-11 15:03:01 +02:00