OSDN Git Service

qt-creator-jp/qt-creator-jp.git
13 years agoTurn off notifier when reading and setting up port
Pawel Polanski [Tue, 24 May 2011 10:48:43 +0000 (12:48 +0200)]
Turn off notifier when reading and setting up port

Change-Id: I6f2de72d7a85626d7436f225bbbac43d9dd9816d
Reviewed-on: http://codereview.qt.nokia.com/81
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Paweł Polański <jaggernod@gmail.com>
13 years agodebugger: don't auto-continue on "stopper threads" on windows
hjk [Tue, 24 May 2011 10:38:54 +0000 (12:38 +0200)]
debugger: don't auto-continue on "stopper threads" on windows

Change-Id: Iff412524c8c7f90ff4199229ddf39e6eab8a2e4d
Reviewed-on: http://codereview.qt.nokia.com/85
Reviewed-by: hjk
13 years agoutils/environment: style
hjk [Tue, 24 May 2011 10:04:24 +0000 (12:04 +0200)]
utils/environment: style

Change-Id: Ifbb9196d293205ab779294a22d0e5bd40faa887c
Reviewed-on: http://codereview.qt.nokia.com/84
Reviewed-by: hjk
13 years agoutils/environment: performance
hjk [Tue, 24 May 2011 09:57:26 +0000 (11:57 +0200)]
utils/environment: performance

Yes, showed up in callgrind.

Change-Id: Icb4fb9d8ed047eedf66e2e1a4bb2f24b9e217146
Reviewed-on: http://codereview.qt.nokia.com/83
Reviewed-by: hjk
13 years agodebugger: cosmetics
hjk [Tue, 24 May 2011 09:55:09 +0000 (11:55 +0200)]
debugger: cosmetics

Change-Id: I78c9ccfa310833140fda0d6294586cc6beaf9964
Reviewed-on: http://codereview.qt.nokia.com/82
Reviewed-by: hjk
13 years agoC++ style settings: Compile fix for namespaced Qt.
Christian Kamm [Tue, 24 May 2011 11:56:19 +0000 (13:56 +0200)]
C++ style settings: Compile fix for namespaced Qt.

Change-Id: I89db5239576385823315443474669f5fd9ef69b4
Reviewed-on: http://codereview.qt.nokia.com/87
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
13 years agoQmlLivePreview: removing and inserting animations and transitions
Christiaan Janssen [Tue, 24 May 2011 09:40:17 +0000 (11:40 +0200)]
QmlLivePreview: removing and inserting animations and transitions

Change-Id: Ic776f63f5d7925ac7dfd99be53c10b9af4cb9545
Reviewed-on: http://codereview.qt.nokia.com/75
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoMake C++ code style configurable.
Christian Kamm [Thu, 3 Feb 2011 14:48:14 +0000 (15:48 +0100)]
Make C++ code style configurable.

Change-Id: Iaf08edb2361146e6b5e1cbafdb716a23c938875b
Done-with: Jarek Kobus
Task-number: QTCREATORBUG-2670
Task-number: QTCREATORBUG-4310
Task-number: QTCREATORBUG-2763
Task-number: QTCREATORBUG-3623
Task-number: QTCREATORBUG-567
Reviewed-on: http://codereview.qt.nokia.com/74
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoRemove qt 4.3 compability support
dt [Fri, 20 May 2011 17:56:13 +0000 (19:56 +0200)]
Remove qt 4.3 compability support

Missing proparser

Change-Id: I02c89f3b8d89231f87a010d106d6fc5a58821846
Reviewed-on: http://codereview.qt.nokia.com/62
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
13 years agoBazaar: fix incomplete list of files in the diff editor
cerf [Tue, 24 May 2011 10:02:46 +0000 (10:02 +0000)]
Bazaar: fix incomplete list of files in the diff editor

BazaarEditor::fileNameFromDiffSpecification() was not seeing all lines
starting with "+++ file".
Searching for "=== modified file 'file'" instead solves the problem

Change-Id: Ib1d4c839543f0f8cc00ecbfaa177b369a4c20ee1
Merge-request: 330
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/78

13 years agoQmlJS: Refactor ObjectValue members.
Christian Kamm [Tue, 24 May 2011 09:50:10 +0000 (11:50 +0200)]
QmlJS: Refactor ObjectValue members.

* property -> lookupMember
* setProperty -> setMember
* removeProperty -> removeMember

Change-Id: I638479ee2b90b684283e714630bdcab237f6b3f2
Done-with: Fawzi Mohamed
Reviewed-on: http://codereview.qt.nokia.com/77
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
13 years agodebugger: improve robustness of watchers
hjk [Mon, 23 May 2011 16:54:12 +0000 (18:54 +0200)]
debugger: improve robustness of watchers

This solves one common case of adding the 'class' *(class X*)0xdeadbeef
"needed" by gdb in case a local variable at the same location is known.

Change-Id: I5b25530b00e512c6e9155fb111ff4dc916832074
Reviewed-on: http://codereview.qt.nokia.com/76
Reviewed-by: hjk
13 years agoDoc: Add notes about QML modules with plugins.
Christian Kamm [Mon, 23 May 2011 07:15:05 +0000 (09:15 +0200)]
Doc: Add notes about QML modules with plugins.

Change-Id: Iabeddf9ddf60c383d2ecdda7ecbb5e930d988684
Reviewed-on: http://codereview.qt.nokia.com/52
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
13 years agodebugger: Fix address output for watchers
hjk [Mon, 23 May 2011 15:40:58 +0000 (17:40 +0200)]
debugger: Fix address output for watchers

There is no address for on-the-fly expressions

Change-Id: Id8c1c2e4d727732196386928a9eddc7c81073415
Reviewed-on: http://codereview.qt.nokia.com/73
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
13 years agoEditor: Removing comments
Leandro Melo [Mon, 23 May 2011 14:13:50 +0000 (16:13 +0200)]
Editor: Removing comments

They are not really necessary. This workaround is used in quite a few
places. Also, the commit message which introduces them
(230445996816eafaa43e40341f382bf63d9d73a8) is already explanatory.

Change-Id: Idb94ab77b47008e7867b9fba21843778aeaaebb7
Reviewed-on: http://codereview.qt.nokia.com/72
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
13 years agoWorkaround to fix cursor movements with invisible cursor
Christian Hoenig [Sun, 22 May 2011 06:51:30 +0000 (08:51 +0200)]
Workaround to fix cursor movements with invisible cursor

Task-number: QTCREATORBUG-4957
Change-Id: I730550b4d558a2d7fbe34a4052b6cfc5e27fe6e5
Reviewed-on: http://codereview.qt.nokia.com/71
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
13 years agoqmlprofiler: remove frame from summary view
hjk [Mon, 23 May 2011 13:49:49 +0000 (15:49 +0200)]
qmlprofiler: remove frame from summary view

Change-Id: I2b56efd0880ee94b1cc4abfb13be83da07e65d19
Reviewed-on: http://codereview.qt.nokia.com/69
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
13 years agoQmlProfiler: capitalization of elapsed time display
Christiaan Janssen [Mon, 23 May 2011 13:00:59 +0000 (15:00 +0200)]
QmlProfiler: capitalization of elapsed time display

Change-Id: I327f3527568283876f7b1c2cae2d7cf71940c00d
Reviewed-on: http://codereview.qt.nokia.com/68
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
13 years agoanalyzer: simplify dockwidget setup
hjk [Mon, 23 May 2011 08:58:10 +0000 (10:58 +0200)]
analyzer: simplify dockwidget setup

Change-Id: Id450ee1d6ad24707536f9b35e7868e5f8ce9dab2
Reviewed-on: http://codereview.qt.nokia.com/59
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
13 years agoanalyze: rework 'addDock'
hjk [Fri, 20 May 2011 16:47:28 +0000 (18:47 +0200)]
analyze: rework 'addDock'

Change-Id: I3ce22c3f75d5cc631ab22e02f8a52af00452c0c3
Reviewed-on: http://codereview.qt.nokia.com/57
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
13 years agoanalyzer: more code shuffling
hjk [Fri, 20 May 2011 14:32:05 +0000 (16:32 +0200)]
analyzer: more code shuffling

Change-Id: Ie8bfebf0d47d516ec350dd2d798ee66adad98cd9
Reviewed-on: http://codereview.qt.nokia.com/56
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
13 years agocallgrind: use CallgrindWidgetHandler as CallgrindToolPrivate
hjk [Fri, 20 May 2011 14:16:42 +0000 (16:16 +0200)]
callgrind: use CallgrindWidgetHandler as CallgrindToolPrivate

Change-Id: I3f425be8df4f9659d4b778b89eed9e031d88bbe8
Reviewed-on: http://codereview.qt.nokia.com/55
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
13 years agoqmlprofiler: ui and style
hjk [Fri, 20 May 2011 11:36:16 +0000 (13:36 +0200)]
qmlprofiler: ui and style

Change-Id: I2153ef00f8d3c6d1cc4d39648916cad865b5a9be
Reviewed-on: http://codereview.qt.nokia.com/54
Reviewed-by: hjk
13 years agoqmlprofiler: use dockwidgets instead of tabs in the output pane
hjk [Fri, 20 May 2011 10:43:29 +0000 (12:43 +0200)]
qmlprofiler: use dockwidgets instead of tabs in the output pane

Change-Id: I2c33c4309e6568a34517fae2bb37f5e70320cfbe
Reviewed-on: http://codereview.qt.nokia.com/35
Reviewed-by: hjk
13 years agodebugger: add a manual test for QTCREATORBUG-4019
hjk [Mon, 23 May 2011 08:56:40 +0000 (10:56 +0200)]
debugger: add a manual test for QTCREATORBUG-4019

Change-Id: I813b678a39a11157be522fccf7a05c5b4f879860
Reviewed-on: http://codereview.qt.nokia.com/58
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
13 years agoMobile wizard: Bump version.
Christian Kandeler [Mon, 23 May 2011 12:28:08 +0000 (14:28 +0200)]
Mobile wizard: Bump version.

Change-Id: I3a757328ba3600ba303ba784efbed42687175db0
Reviewed-on: http://codereview.qt.nokia.com/67
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
13 years agoanalyzer: merge valgrind based tool plugins
hjk [Mon, 23 May 2011 11:50:28 +0000 (13:50 +0200)]
analyzer: merge valgrind based tool plugins

It is hard to imagine there is a real use case that someone wants one but
absolutely not the other.

Change-Id: I58bb57912f2edeacf2d5a24e3b2eb5a81262eabd
Reviewed-on: http://codereview.qt.nokia.com/66
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoMaemo: Use different desktop files for Fremantle and Harmattan.
Christian Kandeler [Fri, 20 May 2011 09:17:57 +0000 (11:17 +0200)]
Maemo: Use different desktop files for Fremantle and Harmattan.

So far, we desperately tried not to duplicate the desktop file,
resorting to all kinds of "clever" heuristics in the process.
This is, however, somewhat limiting and confusing to users,
because we do magic stuff behind their backs.
So it seems better to "give up" and use two desktop files.

Change-Id: Idf969eb3ad365f080e5a9c1608149ea6de629d5c
Reviewed-on: http://codereview.qt.nokia.com/31
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
13 years agoOn unix: install the application icons according to the freedesktop spec.
Felix Geyer [Mon, 23 May 2011 10:29:43 +0000 (12:29 +0200)]
On unix: install the application icons according to the freedesktop spec.

This allows desktop environments to pick the right icon size when displaying
the Qt Creator menu entry.

Change-Id: I10f6b46fb99202571d081a5e6e4d680be7ca069f
Merge-request: 328
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/64

13 years agoAdd comment for clarification
Leandro Melo [Mon, 23 May 2011 10:14:54 +0000 (12:14 +0200)]
Add comment for clarification

Change-Id: I18f35a6682a3fc26bbff51f4371d7e777541792d
Reviewed-on: http://codereview.qt.nokia.com/63
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoRemove unecessary include
dt [Fri, 20 May 2011 17:50:28 +0000 (19:50 +0200)]
Remove unecessary include

Change-Id: I25171ca3f2d1e69be289ea6c40f5a063b3244868
Reviewed-on: http://codereview.qt.nokia.com/61
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoMove window.png from qt4projectmanager to projectexplorer
dt [Fri, 20 May 2011 17:48:44 +0000 (19:48 +0200)]
Move window.png from qt4projectmanager to projectexplorer

Change-Id: Iceb54733dc92c2d674561b803757e1836544aa43
Reviewed-on: http://codereview.qt.nokia.com/60
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoDoc: scanning has been removed from Qt Creator.
Leena Miettinen [Fri, 20 May 2011 13:29:26 +0000 (15:29 +0200)]
Doc: scanning has been removed from Qt Creator.

Change-Id: I439da09a5b0761a95345e54f83f983cb0ddbc01a
Reviewed-on: http://codereview.qt.nokia.com/53
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
13 years agoCompile fix
Friedemann Kleint [Mon, 23 May 2011 06:47:16 +0000 (08:47 +0200)]
Compile fix

Change-Id: I8f3eb7d21074fec00de870d33e493842286222ee
Reviewed-on: http://codereview.qt.nokia.com/51
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
13 years agoQmlJS: Make the Scanner recognize regular expression literals.
Christian Kamm [Fri, 20 May 2011 12:48:05 +0000 (14:48 +0200)]
QmlJS: Make the Scanner recognize regular expression literals.

Task-number: QTCREATORBUG-4566
Change-Id: I48b08f8eee79b25d0ebe186b996cdcb8f1979e3d
Reviewed-on: http://codereview.qt.nokia.com/38
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoCompletion: Don't propose when there's a "good" candidate
Leandro Melo [Fri, 20 May 2011 13:01:45 +0000 (15:01 +0200)]
Completion: Don't propose when there's a "good" candidate

This also generalizes some code previously specific to C++.

Change-Id: I5774d04a45f28a4e276a0ef282ce0aa5a2f2e552
Reviewed-on: http://codereview.qt.nokia.com/48
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoCompletion: Make sure activation sequence has correct length
Leandro Melo [Fri, 20 May 2011 12:08:34 +0000 (14:08 +0200)]
Completion: Make sure activation sequence has correct length

This is necessary for the very first characters typed on the editor
in the case the activation sequence length is greater than one.

Change-Id: I9ec611f816278795b7ac3f75913fccf5a52165bf
Reviewed-on: http://codereview.qt.nokia.com/47
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoCompletion: Ignore non identifiers when matching proposals
Leandro Melo [Fri, 20 May 2011 10:29:40 +0000 (12:29 +0200)]
Completion: Ignore non identifiers when matching proposals

Since now we reduced the idle editor time for showing completions,
some things started to be a bit annoying. This fix changes the
prefix from the proposal to include only letters, digits, and the
underscore. Yes, technically they are not allways identifiers
in a generic sense, but it should be enough for our purpose.

Now, you should not receive a proposal 'foo:' when you have already
typed 'foo' in QML, for example.

Change-Id: Ica92182a34636598faedb067d0527e37ca6fee89
Reviewed-on: http://codereview.qt.nokia.com/46
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoCompletion: Complete prematuraly only if invoked explicitly
Leandro Melo [Fri, 20 May 2011 09:14:48 +0000 (11:14 +0200)]
Completion: Complete prematuraly only if invoked explicitly

Change-Id: I941a94df2f8fb86f340ee04338641fe50c55e1b2
Reviewed-on: http://codereview.qt.nokia.com/45
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoCompletion: Complete automatically only when in sync
Leandro Melo [Fri, 20 May 2011 08:27:56 +0000 (10:27 +0200)]
Completion: Complete automatically only when in sync

Whith the out-of-GUI completion one can have undesired
effects when invoking the completion, continue typing,
getting automatic content added to the editor
asynchronously, and then noticing that the lastly
input characters were "shifted" to a different
position.

Now we only do partial completions or implicit completions
(when there's a single match) if the proposal widget is
still in synch with the editor. In other words, if the
editor has not received input from the moment the completion
was triggered until it was actually displayed.

Change-Id: I31683bd596c9f75b9a48bb79dafb48eec8f12a3e
Reviewed-on: http://codereview.qt.nokia.com/44
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoQt version: Add base name of Qt folder to generated display name.
Friedemann Kleint [Fri, 20 May 2011 13:52:58 +0000 (15:52 +0200)]
Qt version: Add base name of Qt folder to generated display name.

With some smartness to skip over bin, qtbase and display
usr as 'System'. Introduce BaseQtVersion::defaultDisplayName().

Change-Id: I5249bbd7102f40441e7a873d861c525e4194d74f
Reviewed-on: http://codereview.qt.nokia.com/43
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoOvi Publisher: Freeze libraries when creating package
Pawel Polanski [Fri, 20 May 2011 14:24:07 +0000 (16:24 +0200)]
Ovi Publisher: Freeze libraries when creating package

Task-number: QTCREATORBUG-772
Change-Id: I925b7f27c1dc3aae14465472c6c32d48dd33d520
Reviewed-on: http://codereview.qt.nokia.com/49
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoProject page: Add a tooltip for the Qt version.
Friedemann Kleint [Fri, 20 May 2011 13:46:03 +0000 (15:46 +0200)]
Project page: Add a tooltip for the Qt version.

Change-Id: I092220ade4cb61645e6c17012d294e93759678db
Reviewed-on: http://codereview.qt.nokia.com/42
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoQt4 Projects: Fix crash when clicking on category items.
Friedemann Kleint [Fri, 20 May 2011 13:40:06 +0000 (15:40 +0200)]
Qt4 Projects: Fix crash when clicking on category items.

Change-Id: Ib50b38a98e2185839c794be51c770e95f7876ee2
Reviewed-on: http://codereview.qt.nokia.com/41
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoCrash when no Qt version is defined
Pawel Polanski [Fri, 20 May 2011 13:04:19 +0000 (15:04 +0200)]
Crash when no Qt version is defined

Change-Id: Iffef69e328d9b7294c6aeb753219033456efe2c2
Reviewed-on: http://codereview.qt.nokia.com/40
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoNow it's looking better
Pawel Polanski [Fri, 20 May 2011 11:43:36 +0000 (13:43 +0200)]
Now it's looking better

Change-Id: Ic6cbc95feb121f09eb2e14c08a9ab680018dc760
Reviewed-on: http://codereview.qt.nokia.com/39
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoQmlDesigner.propertyEditor: remove AllPropertiesBox
Thomas Hartmann [Fri, 20 May 2011 12:32:43 +0000 (14:32 +0200)]
QmlDesigner.propertyEditor: remove AllPropertiesBox

This class is not needed anymore and is just confusing.

Change-Id: I6ee3d4090b13d2682ff2f7b3d82ebfe1410a1344
Reviewed-on: http://codereview.qt.nokia.com/37
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agodon't stack up "no highlighting information" info bars
Oswald Buddenhagen [Fri, 20 May 2011 09:27:07 +0000 (11:27 +0200)]
don't stack up "no highlighting information" info bars

don't try to add another bar one if there is one already

Task-number: QTCREATORBUG-4951
Change-Id: Ia7282a5ee96d3b6b08b3f66c3bc162b1c4a5a015
Reviewed-on: http://codereview.qt.nokia.com/32
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
13 years agoQmlJS: Find prototype resolution errors.
Christian Kamm [Fri, 20 May 2011 11:19:16 +0000 (13:19 +0200)]
QmlJS: Find prototype resolution errors.

To avoid lots of follow-up errors where the root cause is a failed
prototype resolution or a prototype cycle.

Task-number: QTCREATORBUG-4952
Change-Id: Id474c8c6c152c993aca8c6c421b6d88eb1481676
Reviewed-on: http://codereview.qt.nokia.com/36
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoClang: Improve parser
Tobias Hunger [Fri, 20 May 2011 09:57:30 +0000 (11:57 +0200)]
Clang: Improve parser

Change-Id: Ic28973ddc81968075aa6e0ac31c02612589f8024
Reviewed-on: http://codereview.qt.nokia.com/33
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoanalyzer: make output pane not pop up automatically in all cases
hjk [Fri, 20 May 2011 07:12:34 +0000 (09:12 +0200)]
analyzer: make output pane not pop up automatically in all cases

Change-Id: Ief96ab7093d78915087a273f3eff0b4489c3b370
Reviewed-on: http://codereview.qt.nokia.com/30
Reviewed-by: hjk
13 years agoanalyzer: fix quotes in messages
hjk [Thu, 19 May 2011 12:42:56 +0000 (14:42 +0200)]
analyzer: fix quotes in messages

Change-Id: I611898d9c253cffaa09fa181a99feaf093ccdbe0
Reviewed-on: http://codereview.qt.nokia.com/29
Reviewed-by: hjk
13 years agoDon't apply base color when color dialog is cancelled
Thorbjørn Lindeijer [Thu, 19 May 2011 21:14:28 +0000 (23:14 +0200)]
Don't apply base color when color dialog is cancelled

Previously setBaseColor used to refuse setting an invalid color. It
doesn't do this anymore, so let's just check for this case here.

Change-Id: Ie8a292ca809ac3838c8a52b91a9186dc5dbb992c
Reviewed-on: http://codereview.qt.nokia.com/28
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
13 years agoC++ editor: Fix potential crash in completion
Leandro Melo [Thu, 19 May 2011 16:02:09 +0000 (18:02 +0200)]
C++ editor: Fix potential crash in completion

There was still a problem in the previous change (that's
why it was reverted) which should be fixed now.

Task-number: QTCREATORBUG-4940
Change-Id: I8a0d993b9f313fc98494cf93fed1f87939a358b1
Reviewed-on: http://codereview.qt.nokia.com/27
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
13 years agoFix context help for examples
Daniel Molkentin [Thu, 19 May 2011 15:14:53 +0000 (17:14 +0200)]
Fix context help for examples

- createRightPaneContextViewer() needs to be called up-front. In the old
order, it would fail the first time.

- Queue opening of help, because we need the editor window to be drawn
  before it can be assessed wether to show the help in split mode

Change-Id: Ib2054285efb07ccbfaf3faf089085c16ba432be8
Reviewed-on: http://codereview.qt.nokia.com/22
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoMaemo: Fix device configuration dialog for all OS types.
Christian Kandeler [Thu, 19 May 2011 15:38:30 +0000 (17:38 +0200)]
Maemo: Fix device configuration dialog for all OS types.

There could potentially be types other than GenericLinux that
don't use dpkg or rpm.

Change-Id: I62a03aa1f532a4f589be8e43e07410beb1370cb2
Reviewed-on: http://codereview.qt.nokia.com/26
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoRevert "C++ editor: Fix potential crash in completion"
Leandro Melo [Thu, 19 May 2011 14:48:08 +0000 (16:48 +0200)]
Revert "C++ editor: Fix potential crash in completion"

This reverts commit a395022a84149884771eefee9577ba2441ba45a4.

There are some undesired side effects...

Change-Id: I001ed375911a4ffda5bd25c804ce06f99be40e3c
Reviewed-on: http://codereview.qt.nokia.com/25
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
13 years agoMaemo: Fix package file watching.
Christian Kandeler [Thu, 19 May 2011 14:18:39 +0000 (16:18 +0200)]
Maemo: Fix package file watching.

Had been broken by 45c9cf7a1298feed925d18596c30ac9c6cd1dac5 ff.
This change uses the FileManager and thereby also improves interaction
with external editors that change the inode (e.g. emacs).

Change-Id: I6d889d435931eb0199de93610bea643e50e9f025
Reviewed-on: http://codereview.qt.nokia.com/24
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoC++ editor: Fix potential crash in completion
Leandro Melo [Thu, 19 May 2011 13:14:53 +0000 (15:14 +0200)]
C++ editor: Fix potential crash in completion

Task-number: QTCREATORBUG-4940
Change-Id: If55c2ddc7949cbd31029eef8317b4d0a015f272e
Reviewed-on: http://codereview.qt.nokia.com/17
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoMSVC: Fix parser
Tobias Hunger [Thu, 19 May 2011 14:11:59 +0000 (16:11 +0200)]
MSVC: Fix parser

 * Fix parser to handle error message send in by a user
 * Add unit test

Change-Id: I3b37ada49ef3737261211ac41ae80504b2a767fa
Reviewed-on: http://codereview.qt.nokia.com/23
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoDon't open files and help if someone chooses to cancel loading an example.
Daniel Molkentin [Wed, 18 May 2011 09:38:35 +0000 (11:38 +0200)]
Don't open files and help if someone chooses to cancel loading an example.

Task-Number: QTCREATORBUG-4414
Change-Id: I0272091d185fe6a9ac23022eb4efb723eb541494
Reviewed-on: http://codereview.qt.nokia.com/21
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
13 years agoEditor: fix to always call forceReadOnly before activation
Fawzi Mohamed [Thu, 19 May 2011 13:39:22 +0000 (15:39 +0200)]
Editor: fix to always call forceReadOnly before activation

Move the call to force readOnly to before the activation for the editors
that had it after their activation call.
Not having signals, currently dynamic changes of the editor read only
state are not really supported, and on windows some actions remained
activated.

Task-number: QTCREATORBUG-4774
Change-Id: I09a84c6e558ddf61aeedb928f8688f6ed65e89c0
Reviewed-on: http://codereview.qt.nokia.com/20
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoFix importing builds
dt_ [Thu, 19 May 2011 13:21:02 +0000 (15:21 +0200)]
Fix importing builds

Change-Id: Idbd01ad4cd44e4e1ac168ae112bbe9f9d69eb583
Task-Nr: QTCREATORBUG-4935
Reviewed-on: http://codereview.qt.nokia.com/18
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoMake SettingsDialog robust against multiple accept()/rejects()
dt_ [Thu, 19 May 2011 12:08:41 +0000 (14:08 +0200)]
Make SettingsDialog robust against multiple accept()/rejects()

That can happen if the user clicks very fast due to the multiple
levels of event loops.

Task-Nr: QTCREATORBUG-4818

Change-Id: I9c00dbf957a587c6e5839afebdd71e84b8c4a3c8
Reviewed-on: http://codereview.qt.nokia.com/16
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoMaemo: Make more forward-compatible.
Christian Kandeler [Thu, 19 May 2011 10:17:37 +0000 (12:17 +0200)]
Maemo: Make more forward-compatible.

Change-Id: I864cf2a82af538a7b8e41b8117546cb7710481c7
Reviewed-on: http://codereview.qt.nokia.com/10
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoMaemo: Don't unify packaging metadata between targets as rigorously.
Christian Kandeler [Thu, 19 May 2011 10:42:37 +0000 (12:42 +0200)]
Maemo: Don't unify packaging metadata between targets as rigorously.

This allows people to do external changes to their files without
Creator overwriting them.

Change-Id: I71fc7cf6dabb9a61762992b8c01f971f563e17ab
Reviewed-on: http://codereview.qt.nokia.com/12
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoEditor: fix disabling modifying actions for read-only editors
Fawzi Mohamed [Thu, 19 May 2011 10:25:27 +0000 (12:25 +0200)]
Editor: fix disabling modifying actions for read-only editors

Now correctly disables all modifying actions and shortcuts of
texteditoractionhandler if the editor is readonly.

Task-number: QTCREATORBUG-4774
Change-Id: Ic212a2fe3b6dcc18e2fbc461d24bed031c67f6a2
Reviewed-on: http://codereview.qt.nokia.com/7
Reviewed-by: Bill King <bill.king@nokia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoanalyzer: style
hjk [Thu, 19 May 2011 11:43:19 +0000 (13:43 +0200)]
analyzer: style

And test for *rr*.

Change-Id: I7905e5df8f981b683d9552fb7cc15f9b8f16624e
Reviewed-on: http://codereview.qt.nokia.com/15
Reviewed-by: hjk
13 years agoC++ indenter: Treat extern "C" like namespace.
Christian Kamm [Thu, 19 May 2011 11:19:08 +0000 (13:19 +0200)]
C++ indenter: Treat extern "C" like namespace.

Change-Id: Ib0553d35fbd83aada2b8809aa008b1f75ca77c32
Done-with: Erik Verbruggen
Reviewed-on: http://codereview.qt.nokia.com/14
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
13 years agoC++ indenter: Fix extra specifier in return type of func decl.
Christian Kamm [Thu, 19 May 2011 11:06:49 +0000 (13:06 +0200)]
C++ indenter: Fix extra specifier in return type of func decl.

Like
struct Foo bar() { }

Change-Id: I946937c23d1660909757952a5a3bd400c4781826
Reviewed-on: http://codereview.qt.nokia.com/13
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
13 years agoDesigner: Compilation with Qt 5.
Friedemann Kleint [Thu, 19 May 2011 09:30:38 +0000 (11:30 +0200)]
Designer: Compilation with Qt 5.

Test the new Qt Designer integration interfaces.

Change-Id: I8364167d5be3e7c361b192318b0bba7fb70d0f2f
Reviewed-on: http://codereview.qt.nokia.com/9
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoCLang: Fix id
Tobias Hunger [Thu, 19 May 2011 09:15:43 +0000 (11:15 +0200)]
CLang: Fix id

Change-Id: Icdac7eadd2f4323b884f6dd963a4716a93d00034
Reviewed-on: http://codereview.qt.nokia.com/8
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
13 years agodebugger: fix std::deque dumper
hjk [Thu, 19 May 2011 08:37:53 +0000 (10:37 +0200)]
debugger: fix std::deque dumper

Task-number: QTCREATORBUG-4936

13 years agoClang: Really use monospaced font for position indicators
Tobias Hunger [Thu, 19 May 2011 08:05:45 +0000 (10:05 +0200)]
Clang: Really use monospaced font for position indicators

Change-Id: Ieabbe313ea5c508611355e23c41b174a2d253a4e

13 years agoDesigner: Use core settings instead of keeping QSettings instance.
Friedemann Kleint [Thu, 19 May 2011 08:01:50 +0000 (10:01 +0200)]
Designer: Use core settings instead of keeping QSettings instance.

13 years agoFix exit crash in callgrind.
Friedemann Kleint [Thu, 19 May 2011 07:59:13 +0000 (09:59 +0200)]
Fix exit crash in callgrind.

13 years agoFixed crashes in Observer mode related to infinite bounding rects
Thorbjørn Lindeijer [Tue, 17 May 2011 10:12:52 +0000 (12:12 +0200)]
Fixed crashes in Observer mode related to infinite bounding rects

Bug fixed by avoiding uniting or subtracting QPolygonF with potentially
infinite coordinates.

The LiveSelectionIndicator now uses a QGraphicsRectItem rather than a
QGraphicsPolygonItem and displays only the boundaries of selected
objects, not including their children.

The SubcomponentMaskLayerItem now works with rectangles and uses a
QRegion to determine the area around the current context, converting
this to a polygon only as a last step.

Reviewed-by: Kai Koehne
Task-number: QTCREATORBUG-4559
Change-Id: I266f5387fa67017fc50215282a95b4ee6498be6d
(cherry-picked from d03065da2999b8539d8c5160b58d56dd94373d6f in Qt 4.8)

13 years agoanalyzer: simplify AnalyzerSubConfigFactory setup
hjk [Wed, 18 May 2011 17:35:42 +0000 (19:35 +0200)]
analyzer: simplify AnalyzerSubConfigFactory setup

13 years agoanalyzer: style and simplification
hjk [Wed, 18 May 2011 15:05:49 +0000 (17:05 +0200)]
analyzer: style and simplification

13 years agoutils/detailwidget: style & make stuff private
hjk [Wed, 18 May 2011 14:48:36 +0000 (16:48 +0200)]
utils/detailwidget: style & make stuff private

13 years agoParser: Make parser test engine more strict
Tobias Hunger [Wed, 18 May 2011 16:39:14 +0000 (18:39 +0200)]
Parser: Make parser test engine more strict

 * Fix unit tests to work with this stricter version

Change-Id: Iaf6d333e4b4df54ddc340d261ce28538bfa1f3cf

13 years agoClang: Add parser for clang output
Tobias Hunger [Wed, 18 May 2011 16:38:58 +0000 (18:38 +0200)]
Clang: Add parser for clang output

Change-Id: Ic5bb4742e07009172d64acb53c07659c3f4d640a

13 years agoanalyzer: cleanup
hjk [Wed, 18 May 2011 13:56:01 +0000 (15:56 +0200)]
analyzer: cleanup

13 years agoanalyzer: make the callgrind "functions" view a dockwidget again
hjk [Wed, 18 May 2011 13:47:23 +0000 (15:47 +0200)]
analyzer: make the callgrind "functions" view a dockwidget again

13 years agoc++ editor: Fix automatic completion for includes
Leandro Melo [Wed, 18 May 2011 12:08:19 +0000 (14:08 +0200)]
c++ editor: Fix automatic completion for includes

Reviewed-by: Roberto Raggi
13 years agocdbext: Fix msvc warnings
Kai Koehne [Wed, 18 May 2011 13:10:43 +0000 (15:10 +0200)]
cdbext: Fix msvc warnings

Change-Id: Ib1604c2e36d2a4dbfb7edccb5be0e4c401b026c5
Reviewed-by: Friedemann Kleint
13 years agoMSVC: Fix compile warnings from botan header files
Kai Koehne [Wed, 18 May 2011 12:30:26 +0000 (14:30 +0200)]
MSVC: Fix compile warnings from botan header files

Change-Id: I802579ab51fb0e65578444df9603cd7721231a66
Reviewed-by: Friedemann Kleint
13 years agoC++ editor: Remove scanning/caching of includes
Leandro Melo [Wed, 18 May 2011 10:28:53 +0000 (12:28 +0200)]
C++ editor: Remove scanning/caching of includes

With the completion now in a separate thread this should
no longer be necessary.

Reviewed-by: Roberto Raggi
13 years agoQmlLivePreview: avoid compiler warnings on gcc on mac
Christiaan Janssen [Wed, 18 May 2011 10:15:18 +0000 (12:15 +0200)]
QmlLivePreview: avoid compiler warnings on gcc on mac

Reviewed-by: Roberto Raggi
13 years agoMaemo: Fix possible assert
Tobias Hunger [Wed, 18 May 2011 09:52:21 +0000 (11:52 +0200)]
Maemo: Fix possible assert

Treat invalid Qt versions as not registered at all. This stops
creator from looking for a toolchain which is not there as the qmake
path is wrong.

Change-Id: I49a2a74a466d20c4cd1c8f4f72d8dbbbcefc9559

13 years agoQmlDebugging: Enable linking the library automatically for debug builds
Kai Koehne [Fri, 13 May 2011 15:41:02 +0000 (17:41 +0200)]
QmlDebugging: Enable linking the library automatically for debug builds

Change-Id: I31c6ce649ec5a106ac8d5a556659a26f584b1d09
Reviewed-by: dt
13 years agoQmlDebugging: Enable QML Debugger language for Qt Quick Applications
Kai Koehne [Tue, 17 May 2011 10:40:57 +0000 (12:40 +0200)]
QmlDebugging: Enable QML Debugger language for Qt Quick Applications

Enable the QML debugger by default for run configurations generated for
a Qt Quick Application based project.  This is done by checking the file
list for a 'qmlapplicationviewer/qmlapplicationviewer.pri'.

Change-Id: Ia19d2022808b068c2e525aa28e938b7f7125c35d
Reviewed-by: dt
13 years agoNew code assist API
Leandro Melo [Fri, 15 Apr 2011 14:19:23 +0000 (16:19 +0200)]
New code assist API

This is a re-work of our completion engine. Primary goals are:

- Allow the computation to run in a separate thread so the GUI is not locked.
- Support a model-based approach. QStrings are still needed (filtering, etc), but
internal structures are free to use more efficient representations.
- Unifiy all kinds of *assist* into a more reusable and extensible framework.
- Remove unnecessary dependencies on the text editor so we have more generic
and easily "plugable" components (still things to be resolved).

13 years agoQmlProfiler: removed fixed height
Christiaan Janssen [Tue, 17 May 2011 16:03:59 +0000 (18:03 +0200)]
QmlProfiler: removed fixed height

13 years agoFixed invalid parsing of boolean expression "x < y && z > this".
Erik Verbruggen [Tue, 17 May 2011 15:03:24 +0000 (17:03 +0200)]
Fixed invalid parsing of boolean expression "x < y && z > this".

Task-number: QTCREATORBUG-4362
Reviewed-by: Roberto Raggi
13 years agoDoc: fix link
Leena Miettinen [Tue, 17 May 2011 15:01:04 +0000 (17:01 +0200)]
Doc: fix link

13 years agoQmlDesigner: fix warnings
Thomas Hartmann [Tue, 17 May 2011 10:04:51 +0000 (12:04 +0200)]
QmlDesigner: fix warnings

13 years agofakevim: parse <Esc> from script files
hjk [Tue, 17 May 2011 14:50:27 +0000 (16:50 +0200)]
fakevim: parse <Esc> from script files

13 years agodebugger: show something when editing
hjk [Tue, 17 May 2011 14:47:10 +0000 (16:47 +0200)]
debugger: show something when editing

13 years agoQtVersion: Add support code for the sdk
dt [Thu, 12 May 2011 09:53:58 +0000 (11:53 +0200)]
QtVersion: Add support code for the sdk