Commit Graph

18 Commits

Author SHA1 Message Date
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
Kai Koehne
9eea942aa6 QmlOutline: Fix reordering of array elements
Make sure that a comma is added when inserting array elements
into the array.

Task-number: QTCREATORBUG-2796
Reviewed-by: Erik Verbruggen
2010-10-20 14:48:58 +02:00
Christian Kamm
a30c016189 QmlJS: Fix several crashes when UiQualifiedId::name is 0.
Task-number: QTCREATORBUG-2737
Reviewed-by: Kai Koehne
2010-10-14 15:15:56 +02:00
Kai Koehne
6321ccee9e QmlOutline: Support reparenting into object array 2010-08-12 18:06:21 +02:00
Kai Koehne
2e949c7015 QmlJS Rewriter: Remove empty grouped properties
Also remove grouped properties if the last member is removed via removeObjectMember
(removeBindingByName already takes care of this).
2010-07-21 14:14:10 +02:00
Kai Koehne
35e787e61c QmlJS Rewriter: Unify method names
changeProperty->changeBinding
removeProperty->removeBindingByName
2010-07-21 14:14:10 +02:00
Kai Koehne
74e8027a7b QmlJS Rewriter: Return ranges for addX methods
This way one can reindent afterwards.

Reviewed-by: Erik Verbruggen
2010-07-21 14:14:10 +02:00
Kai Koehne
715aafaba5 QmlJS Rewriter: Allow disambiguation of where ObjectMember should be added to
With 700975ade3 one could specify that a UiObjectMember should be inserted
after another one. But 0 'the default parameter' was ambiguous in that
either you want to have it inserted at the beginning of the member list,
or the heuristics should be applied.

Make this explicit by providing two methods.
2010-07-21 14:14:09 +02:00
Kai Koehne
7f01593b94 Compile fix 2010-07-20 15:26:57 +02:00
Kai Koehne
700975ade3 QmlJS: ALlow users of the Rewriter to specify where to insert stuff 2010-07-20 15:23:16 +02:00
Kai Koehne
3b48da9391 QmlJs: Fix corner case in Rewriter (whitespace handling)
Done by erikv
2010-07-20 15:06:28 +02:00
Kai Koehne
f0912bfe23 QmlJS: Make rewriter methods static
Done by erikv
2010-07-20 12:48:19 +02:00
Thomas Hartmann
cb296f49b0 qmljsrewriter: fix rewriting issue
We have to keep the line ending in case the removed
property is not the only thning in that line
2010-07-09 18:08:00 +02:00
Thomas Hartmann
97eb3e1304 qmljsrewriter: fixes removing of properties 2010-07-09 16:10:12 +02:00
Thomas Hartmann
fb1ae30293 qmljsrewriter: adapt rewriter to ChangeSet api changes 2010-07-07 13:09:55 +02:00
Erik Verbruggen
21b211fed0 Created a utility rewriting class from existing visitors. 2010-06-30 13:42:35 +02:00