Commit Graph

72811 Commits

Author SHA1 Message Date
Thomas Hartmann
9df256c922 QmlDesigner.propertyEditor: enables creating of panes beforehand
This patch allows setting up property panes before a selection is made
2010-02-16 12:49:07 +01:00
Thomas Hartmann
b55c0ed829 QMlDesigner.propertyEditor: perfomance optimization
Only update geometry based properties in  transformChanged()
2010-02-16 12:49:07 +01:00
Thomas Hartmann
0246e28ae7 QmlDesigner.propertyEditor: add sanity check 2010-02-16 12:49:06 +01:00
Thomas Hartmann
48dee2d59d QmlDesigner.propertyEditor: disable property editor for multiple selection 2010-02-16 12:49:06 +01:00
Thomas Hartmann
ec01f530a9 QmlDesigner.propertyEditor: fixes typo 2010-02-16 12:49:05 +01:00
Thomas Hartmann
bea2684ea2 QmlDesigner.propertyEditor: only allocate className/id backendObject once 2010-02-16 12:49:05 +01:00
Thomas Hartmann
01589e4841 QmlDesigner.propertyEditor: adding sanity checks to anchoringbackend 2010-02-16 12:49:01 +01:00
Thomas Hartmann
46319d71e6 QmlDesigner: cleanup of icons 2010-02-16 12:49:01 +01:00
Friedemann Kleint
8ddeaa5fa4 Console Debugger/Linux: Use LD_PRELOAD to load dumpers. 2010-02-16 12:29:26 +01:00
Friedemann Kleint
844ece10b5 NewClassWidget: Validate generate form check box correctly.
Introduce buddies & key accelerators.
Task-number:  QTCREATORBUG-712
2010-02-16 12:06:49 +01:00
Christian Kamm
e6d9d9e387 Fix incorrect 'invalid property' errors for PropertyChanges.
Reviewed-by: Roberto Raggi
2010-02-16 11:55:41 +01:00
Friedemann Kleint
866b8fa5c3 Designer: Fix menu label. 2010-02-16 11:50:33 +01:00
Christiaan Janssen
2e1a68b1ae QmlDesigner.Navigator: Long text in items' names is elided 2010-02-16 11:34:56 +01:00
Christiaan Janssen
aec39f557c QmlDesigner.StatesEditor: State name text is elided if too long 2010-02-16 11:26:32 +01:00
Tobias Hunger
1aa3ec58a9 Fix initialization of toolchain combobox in Qt4project
* Initialize it to the toolchain used, not the preferred one
2010-02-16 11:16:48 +01:00
Tobias Hunger
10ffba5968 Fix off by 1 addbuttonwidth error in targetselector
Reviewed-by: Robert Loehning
2010-02-16 11:16:32 +01:00
Christian Kamm
da3679066e Add QmlJS semantic checker.
* Add SemanticHighlighter to QmlJSTextEditor to update the semantic info
  in a background thread.
* Add QmlJS::Check to run semantic checks on qml and js documents.
* Add a check for incorrect property names.
* Fix hoverhandler to show tool tips from extra selections over help
  tooltips.
2010-02-16 10:38:56 +01:00
Kai Koehne
98a0757916 Compile fix on Mac OS X (gcc 4.0.1) 2010-02-16 10:02:02 +01:00
Friedemann Kleint
dbc7cdeee8 Fixed further static icons. 2010-02-16 09:18:24 +01:00
Friedemann Kleint
d185889351 VCS[git]: Make version fail warning less obtrusive.
Display correct warning if git is not installed.
Do not display it as error (popping up the log pane) from
IVersionControl.  Introduce separate caching flag to avoid
repeated execution if git is not installed.
2010-02-16 09:12:37 +01:00
hjk
08a1171e28 fakevim: fix two backspace-with-autoindent issues
Backspacing across start of line was broken, and it always removed all
automatically indented whitespace.
2010-02-15 17:56:38 +01:00
Oswald Buddenhagen
8bb90d47bd fix include() parseInto implementation
the "namespace" created by the prefix is supposed to be cleared before
new values are added.
2010-02-15 17:14:25 +01:00
Erik Verbruggen
618173e067 Fixed Q_ENUMS/Q_FLAGS parsing to handle namespaces. 2010-02-15 17:13:30 +01:00
Erik Verbruggen
070d06c163 Changed BLOCKS undef on MacOS to work with system header files. 2010-02-15 17:13:30 +01:00
hjk
c6e88eec0e debugger: implement basic support for gdb's 'return' command
Returning a value is not yet supported.
2010-02-15 17:02:07 +01:00
Christiaan Janssen
feb181ce5e QmlDesigner.Navigator: TreeView updated when switching between components in the visual editor 2010-02-15 16:24:49 +01:00
Christiaan Janssen
749f57f356 QmlDesigner.StatesEditor: Checking valid index for current state 2010-02-15 16:00:53 +01:00
Erik Verbruggen
dc859db169 Fixed a bug where a property could be inserted after an object. 2010-02-15 15:06:00 +01:00
Roberto Raggi
83e40337d9 Simplified the algorithm used to compute the expression under cursor. 2010-02-15 14:54:03 +01:00
mae
a943350bd7 Fixed cursor position in file when switching editors
When closing editor splits while the same document was visible in
two editors, it could happen that the state of the closed editor
survived (as opposed to sate of the editor which was still visible).
This had the negative effect, that when visiting the file again,
the cursor would jump to the obsolete position within the file.
2010-02-15 14:13:12 +01:00
Roberto Raggi
33b4b15a60 Check the file's mimetype before creating QML/JS documents. 2010-02-15 14:07:35 +01:00
Friedemann Kleint
4b76d828f7 CommandLocator: Sort filter by priority and id, fix hg filter enabling. 2010-02-15 13:55:11 +01:00
Roberto Raggi
2a63387085 Renamed qmlmodelmanager. 2010-02-15 13:49:00 +01:00
Roberto Raggi
52b04f5d99 Renamed qmlhoverhandler. 2010-02-15 13:42:58 +01:00
Roberto Raggi
d22610c724 Renamed qmlcodecompletion. 2010-02-15 13:39:41 +01:00
Roberto Raggi
d55e270761 Fixed: Using ! (not) stops autocomplete working
Task-number: QTCREATORBUG-188
2010-02-15 12:58:46 +01:00
Roberto Raggi
fd26a8c8ec Get rid of the QmlJS prefix. 2010-02-15 12:56:03 +01:00
Roberto Raggi
8fb82ef792 Merge qmljshighlighter.* with qmlhighlighter.*. 2010-02-15 12:39:30 +01:00
Roberto Raggi
3d34ce42f7 Removed obsolete code. 2010-02-15 12:28:54 +01:00
Erik Verbruggen
8de6ccc775 Revert "Split Objective-C keyword parsing to handle the '@' separately."
This reverts commit 2a59d2ae0c.
2010-02-15 12:24:31 +01:00
Erik Verbruggen
a0071f1ce9 Revert "Added Objective-C @try block parsing."
This reverts commit f4163b8ba0.
2010-02-15 12:24:31 +01:00
Christian Kamm
cb3001b621 Remove unused forward declaration. 2010-02-15 11:56:05 +01:00
Christian Kamm
b23fc0c572 Rename QmlJS::Check -> QmlJS::Evaluate.
It is used to evaluate expressions to values.
Done to make room for a real 'check' pass.
2010-02-15 11:52:39 +01:00
Friedemann Kleint
5448a9f0b7 Fix project wizard / German.
...to not suggest invalid file paths.
2010-02-15 11:08:23 +01:00
Friedemann Kleint
cac7f826b5 Remove static icons, cleanup.
Use constructor initialization, const.
2010-02-15 11:07:45 +01:00
Erik Verbruggen
f4163b8ba0 Added Objective-C @try block parsing. 2010-02-15 09:27:01 +01:00
Erik Verbruggen
2a59d2ae0c Split Objective-C keyword parsing to handle the '@' separately.
Because apparently, while designing the Objective-C language, somebody
thought it was a world-class idea to allow any white-space between the
'@' character and the subsequent keyword. With this fix, we now
correctly parse:
    @  dynamic
and:
    @
      selector
and:
    @"foo"
     "bar"
    @"mooze"
(This last one is 1 single string split over multiple lines.)
Wonderful, isn't it?

What we (and Clang) do not support, but what GCC supports is something
like:
   @"foo"@@  "bar"  @"mooze"  @@
which is equivalent to @"foobarmooze".
2010-02-15 09:27:00 +01:00
Thorbjørn Lindeijer
70c47334bf Updated the Qt src/build path to be Qt version independent 2010-02-15 08:48:21 +01:00
con
5f151d69e3 Add "make active" buttons, as replacement for the link. 2010-02-12 16:23:51 +01:00
Friedemann Kleint
b03ab1d704 Add command locator.
Make it possible to trigger actions from the locator bar by
registering an instance of Locator::CommandLocator by prefix.
Currently used for VCS systems.

Acked-by: con
Initial-patch-by: Roberto Raggi <roberto.raggi@nokia.com>
2010-02-12 16:03:08 +01:00