Commit graph

22 commits

Author SHA1 Message Date
Ms2ger
b73a87e955 Use handleOptional for the union conversion.
Note that unions didn't handle optional arguments correctly before.
2014-04-26 17:22:07 +02:00
Ms2ger
adcc7e694f Increase codegen test coverage. 2014-04-26 16:41:09 +02:00
Josh Matthews
94dffca1e1 Remove all traces of WindowProxy. Implement basic browser context concept and outerizing of inner windows. 2014-04-22 10:57:25 -04:00
Ms2ger
4d20d1716d Implement support for default values for enumeration arguments. 2014-04-18 11:08:21 +02:00
Ms2ger
fa653a5984 Introduce some (commented-out) tests for enumeration codegen. 2014-04-18 10:18:11 +02:00
Ms2ger
a52cffebeb Use ToJSValConvertible to convert nullable enums to JSVal. 2014-04-06 19:51:12 +02:00
Ms2ger
ccaa46e4a3 Use ToJSValConvertible to convert enums to JSVal. 2014-04-06 19:42:39 +02:00
Ms2ger
acffed2dcd Fix code generation for a null default value for nullable string arguments. 2014-03-20 22:51:31 +01:00
Ms2ger
59bcabb75e Pass Option<T> for optional primitive arguments without a default value (fixes #1813). 2014-03-19 19:05:59 +01:00
Ms2ger
84b0f45ed5 Use FooValue() functions. 2014-03-09 18:51:38 +01:00
Ms2ger
9fbfb1909c Move JSVal into the jsval module. 2014-03-08 18:49:55 +01:00
Ms2ger
971a4c58bb Pass Option<JSVal> for optional JSVals. 2014-03-07 12:40:25 +01:00
Ms2ger
54a59b9d38 Avoid a type error with a non-null default value for an optional nullable string argument. 2014-03-06 22:42:26 +01:00
Ms2ger
716e1ce144 Avoid a type error with a non-null default value for an optional nullable primitive argument. 2014-03-06 22:26:12 +01:00
Ms2ger
eab9fd765c Add disabled tests for optional nullable arguments with non-null default values. 2014-03-06 22:18:49 +01:00
Ms2ger
9fe72eb379 Add interface codegen tests. 2014-03-06 19:05:14 +01:00
Ms2ger
48ebd2a5e3 Add tests for optional nullable arguments without default values. 2014-03-06 18:45:58 +01:00
Ms2ger
77f1224b24 Add some tests for string codegen. 2014-03-06 16:40:10 +01:00
Ms2ger
aa9a61a78c Add tests for optional primitive arguments. 2014-03-04 18:34:24 +01:00
Ms2ger
d063601ba0 Implement support for returning nullable primitive types. 2014-03-04 17:30:19 +01:00
Ms2ger
595cd96f24 Extend and update primitive conversions. 2014-03-04 17:01:30 +01:00
Ms2ger
4166ff4794 Introduce a test IDL file. 2014-03-04 16:28:34 +01:00