Commit Graph

7768 Commits

Author SHA1 Message Date
Erik Verbruggen
b1af22b3ab Fixed error recovery when failing to parse Q_PROPERTY. 2010-02-10 11:07:18 +01:00
Friedemann Kleint
28d72550d3 Removed static QIcon instances.
thus fixing the exit warning:
"~QX11PixmapData(): QPixmap objects must be destroyed..."

Acked-by: con
2010-02-10 10:47:34 +01:00
ck
a403c43645 Botan library: Make pro file work for mingw. 2010-02-10 08:52:37 +01:00
Friedemann Kleint
e37ad01b59 Console app wizard: Disable gui module. 2010-02-10 08:37:22 +01:00
Oswald Buddenhagen
0e6fe766dd optimize function scoping
previously, the entire value hash was simply pushed on a stack upon
entering a custom function. the problem with that was that setting the
function's argument already detached (i.e., copied) the entire hash.
so instead store only actually modified values in nested scopes and let
lookups cascade to parent scopes.

improvement: 2% for qt, 15% for creator ...
2010-02-09 20:48:34 +01:00
Oswald Buddenhagen
62270c1c5b do not scope the per-file variable values
it is extremely unlikely that a function would change one of the
interesting variables (all types of source file lists) but not re-export
them subsequently. thus the scoping only complicates matters and burns
cpu cycles.

we ignore the tiny possibility that this could illegitimately reset a
list while doing exact parsing - the subsequent cumulative parsing would
most likely catch these files again anyway.
2010-02-09 20:48:33 +01:00
Oswald Buddenhagen
de3d24741d simplify parameter passing to insertUnique and removeEach 2010-02-09 20:48:33 +01:00
Oswald Buddenhagen
bc4e63a310 simplify returning per-file variable values
these values do not require evaluating magic variables. the semantics
would be totally unclear anyway.
2010-02-09 20:48:33 +01:00
con
d8def18362 Give targets a tool tip property.
Use that for showing details about connected Symbian devices.
Also update the icon with an (not-)connected overlay icon.
Graphics design pending.
2010-02-09 19:07:26 +01:00
Marco Bubke
f7207646bd fix typo 2010-02-09 18:40:26 +01:00
Marco Bubke
5a28eaaca6 Show if there are anchors in feedback area of the form editor 2010-02-09 18:40:26 +01:00
Tobias Hunger
4fd60a19be Add runconfigurations when creating a target 2010-02-09 18:07:44 +01:00
Marco Bubke
d1618e1a30 Improve feedback for expressions in the form editor 2010-02-09 18:05:40 +01:00
con
9f3ac20bd2 Add a tool tip for the target selector button. 2010-02-09 17:45:56 +01:00
con
40bfe13779 Remove some duplicate connects. 2010-02-09 17:43:51 +01:00
con
f52e18878c Move active target name neatly to the middle. 2010-02-09 17:41:37 +01:00
Marco Bubke
aa094ee871 Add feedback for overwritten expressions 2010-02-09 17:29:02 +01:00
Christiaan Janssen
3ac38c9f5a QmlDesigner.Navigator: Root node is not collapsable 2010-02-09 17:28:30 +01:00
Christiaan Janssen
bcc7561d50 QmlDesigner.Navigator: Icons and error message on invalid id 2010-02-09 17:20:51 +01:00
Tobias Hunger
d1bdfcc363 Integrate target support
* Ease cross device development by introducing 'targets' which
   group build- and runsettings that are valid for this one target

 Most of the kudos for the code review go to dt. Con, thorbjorn,
 ckandler and others did also review parts of this patch.

Reviewed-by: dt
2010-02-09 16:57:37 +01:00
Erik Verbruggen
8ee2521fe5 Fixed tokenizing bug. 2010-02-09 16:17:47 +01:00
Erik Verbruggen
f20841cad3 Fixes for the QML designer settings page. 2010-02-09 16:02:13 +01:00
Erik Verbruggen
5d95c35ee1 Fixing undo history mess-ups. 2010-02-09 16:02:13 +01:00
Erik Verbruggen
beb7724d4e Change rewriting to use the indentation depth of the underlying text
editor.
2010-02-09 16:02:13 +01:00
Erik Verbruggen
d76fa87f0d Added a QML designer settings page. 2010-02-09 16:02:13 +01:00
Marco Bubke
f796346a1d Make the reparent string in the feedback area shorter. 2010-02-09 15:56:01 +01:00
Marco Bubke
57de5b20e0 Select pasted node in Bauhaus 2010-02-09 15:47:37 +01:00
Marco Bubke
18b0857385 Fix but in the size compution in the Bauhaus 2010-02-09 15:35:06 +01:00
Marco Bubke
7c91160f49 Polish feedback in the form editor a little bit more 2010-02-09 14:42:39 +01:00
Kai Koehne
f4983380df Fix compilation against latest qt-dui
d914555badc in qt-dui/master removed QmlType::fromObject. This
patch replaces the method with QVariant::fromValue. The difference
here is that the QVariant type is always QObject*, instead of
the real inherited type. We have yet to verify if this breaks something.
2010-02-09 14:37:16 +01:00
Roberto Raggi
978c89f506 Get rid of obsolete README. 2010-02-09 14:03:35 +01:00
kh1
596eda7f54 Rephrase the error message.
Depending on the Qt version we might be able to gather the qemu path,
if not the former error message was a bit misleading.
2010-02-09 13:19:32 +01:00
ck
e9812e2287 Changelog: Add maemo target description.
Reviewed-by: kh1
2010-02-09 12:56:46 +01:00
Marco Bubke
94c940c5df Polish the output of the feedback for item in Bauhaus 2010-02-09 12:55:57 +01:00
Alessandro Portale
832d147078 Fix warning on MSVC
Reviewed-by: Friedemann Kleint <qtc-committer@nokia.com>

	modified:   src/plugins/debugger/registerwindow.cpp
2010-02-09 12:39:27 +01:00
Alessandro Portale
2117d6af90 Compile fix for MSVC
Reviewed-by: Roberto Raggi <qtc-committer@nokia.com>

	modified:   src/libs/qmljs/qmljsinterpreter.cpp
2010-02-09 12:29:10 +01:00
Roberto Raggi
0567adbc32 Removed useless qDebug. 2010-02-09 12:16:19 +01:00
con
4c8a7cfcf6 Add position to history when user closes an editor.
This hopefully brings the navigation history back to behaving sensibly.
2010-02-09 12:08:43 +01:00
Roberto Raggi
3d44c5621d Improved completion of JavaScript expressions. 2010-02-09 11:37:58 +01:00
Roberto Raggi
967ed09c29 Initial support of `Follow symbol under cursor' for QML/JS. 2010-02-09 11:37:58 +01:00
con
b02d2f9f00 Start a new changes file. 2010-02-09 11:28:27 +01:00
Robert Loehning
1ae9c10fb8 Changed FolderNavigationWidget::showInGraphicalShell to show expected directories. 2010-02-09 11:23:59 +01:00
Christiaan Janssen
84e2ecb054 QmlDesigner.Navigator: removed tooltips 2010-02-09 11:18:22 +01:00
Christiaan Janssen
6a67f00e06 QmlDesigner: Fixed minor issues 2010-02-09 10:44:38 +01:00
Christiaan Janssen
6da581aa29 QmlDesigner.StatesEditor: extra add states button shown 2010-02-09 09:45:46 +01:00
Wolfgang Beck
c3122ce07c Change ICHECK_BUILD ifdef in Q_OS_SYMBIAN. 2010-02-09 15:36:00 +10:00
Marco Bubke
04ad9bb1fa First version of a feedback system in the formeditor 2010-02-08 19:08:16 +01:00
Marco Bubke
2ce5d7d94b Round margins of anchors in Bauhaus to integers. 2010-02-08 19:08:16 +01:00
Christiaan Janssen
d8621408c7 QmlDesigner.StatesEditor: Bottom border was missing 2010-02-08 18:22:59 +01:00
Christiaan Janssen
fd6ffd415f QmlDesigner.StatesEditor: addstate box resized 2010-02-08 18:01:16 +01:00