Commit Graph

35 Commits

Author SHA1 Message Date
Roberto Raggi
85ff8c2259 Compile. 2010-02-03 16:34:56 +01:00
Roberto Raggi
976d74ca73 Add support for lazy prototypes.
Done-with: ckamm
2010-02-03 15:42:32 +01:00
Roberto Raggi
1f0b717ad2 Completion for global variables in JS.
* Support for lookup JS vs Qml
* Bind global variables.

Done-with: ckamm
2010-02-03 14:34:06 +01:00
Christian Kamm
49c43aaab1 Get rid of Environment, introduce external ScopeChain in Link.
Done-with: Roberto
2010-02-03 10:59:52 +01:00
Roberto Raggi
ba18e70034 Introduced QML/JS references.
Done with ckamm
2010-02-03 10:24:25 +01:00
Roberto Raggi
e7a330f92a Fixed the member lookup.
We should never look at the scope chain of the base object when performing a dependant lookup.
2010-02-02 15:54:38 +01:00
Roberto Raggi
0f6551c43f Introduced ASTObjectValue. 2010-02-01 13:54:59 +01:00
Roberto Raggi
0cf48cb45d Introduced ASTFunctionValue. 2010-02-01 13:54:59 +01:00
Roberto Raggi
da81d59e24 Look at the enumerators when populating the completion box. 2010-01-28 15:51:16 +01:00
Roberto Raggi
b4ccdab483 Removed obsolete code. 2010-01-28 15:51:16 +01:00
Roberto Raggi
98474002ad Store all the object-based values in the QML/JS interpreter. 2010-01-28 14:20:57 +01:00
Erik Verbruggen
8ecc80ec4c Generalized ExpressionUnderCursor and got rid of duplicate code.
Done-with: Roberto Raggi
2010-01-27 12:41:01 +01:00
Erik Verbruggen
cf35a0249b Implemented the binding phase for QML.
Done-with: Christian Kamm
2010-01-26 15:20:18 +01:00
Roberto Raggi
aa92c84e08 Group the members of ConvertToString and ConvertToNumber. 2010-01-26 15:12:47 +01:00
Roberto Raggi
3bb70c1c49 Fixed String.prototype.split. The property `length' should be 1 and not 2. 2010-01-26 12:38:52 +01:00
Roberto Raggi
34751f4af8 Added family to the QML font object. 2010-01-26 12:31:01 +01:00
Simon Hausmann
521c69a744 Fix compilation without declarative backend 2010-01-26 12:06:58 +01:00
Roberto Raggi
478907e5c3 Added method defaultValueForBuiltinType(typeName) to the QML/JS interpreter. 2010-01-26 11:15:21 +01:00
Roberto Raggi
84d721078e Added some basic support for the attached Keys property. 2010-01-26 11:06:28 +01:00
Roberto Raggi
2512a684d5 Show the argument names from the method's signature. 2010-01-26 10:50:55 +01:00
Roberto Raggi
bf8c0b8a22 Complete signals, slots and generate slots of QML items. 2010-01-26 10:19:42 +01:00
Roberto Raggi
2a5506b1d0 Show auto generated slots (e.g. onClicked) only when performing a global completion. 2010-01-26 10:10:11 +01:00
Roberto Raggi
6c9dd09587 Added support for QFont based properties. 2010-01-25 16:43:23 +01:00
Roberto Raggi
327893d7fd Call the base implementation of ObjectValue::process() 2010-01-25 15:50:21 +01:00
Roberto Raggi
cca9910287 Added support for properties of type point, rect, and borders. 2010-01-25 15:06:23 +01:00
Roberto Raggi
a8f0971a0b Show the auto-created slots in the completion box (e.g. MouseRegion's onClicked). 2010-01-25 14:48:44 +01:00
Roberto Raggi
971e4b596c Return a normal plain Object value when Qt/Declaritive is not available. 2010-01-25 09:40:37 +01:00
Roberto Raggi
6db71d185b Try to get the item under cursor. 2010-01-25 09:31:36 +01:00
Roberto Raggi
24f5a9c0e4 Set up the scope chain. 2010-01-25 09:31:36 +01:00
Roberto Raggi
feab07de81 Refactored the QML/JS completer 2010-01-25 09:31:35 +01:00
Roberto Raggi
659b2a7ee3 Complete QML properties. 2010-01-25 09:31:35 +01:00
Roberto Raggi
3c37eaa577 Simulate the call stack. 2010-01-25 09:31:34 +01:00
Roberto Raggi
2d2ec2b785 Cleanup 2010-01-25 09:31:34 +01:00
Roberto Raggi
099f2072a2 Added a simple scanner to get the expression under cursor. 2010-01-22 14:42:59 +01:00
Roberto Raggi
60af1681c2 Initial work on the QML/JS expression evaluator. 2010-01-21 15:54:36 +01:00