Manish Goregaokar
199dc55450
Add link to testing
2014-03-05 03:25:57 +05:30
bors-servo
bc2a79599a
auto merge of #1816 : Ms2ger/servo/str_to_jsval-fail, r=jdm
2014-03-04 16:55:46 -05:00
Ms2ger
23d9a5af4b
Fail if JS_NewUCStringCopyN returns null in str_to_jsval.
2014-03-04 22:49:25 +01:00
Ms2ger
81a9b54bf8
Return Result from JSValConvertible::from_jsval.
2014-03-04 22:44:55 +01:00
bors-servo
d9cf8cc4cc
auto merge of #1812 : Ms2ger/servo/ResolveProperty, r=metajack
2014-03-04 14:49:40 -05:00
Ms2ger
1608f842e9
Rewrite the codegen for nullable primitives to use JSValConvertible.
2014-03-04 18:55:58 +01:00
bors-servo
60e438e03d
auto merge of #1804 : kmcallister/servo/cpu-ref-test, r=metajack
...
Alternative to PR #1610 .
2014-03-04 12:34:47 -05:00
Ms2ger
aa9a61a78c
Add tests for optional primitive arguments.
2014-03-04 18:34:24 +01:00
bors-servo
a6410e86b3
auto merge of #1810 : Ms2ger/servo/test-binding, r=jdm
2014-03-04 12:05:57 -05:00
Ms2ger
d063601ba0
Implement support for returning nullable primitive types.
2014-03-04 17:30:19 +01:00
Ms2ger
3d28f31ea9
Use JSValConvertible::to_jsval from codegen.
2014-03-04 17:08:56 +01:00
Ms2ger
595cd96f24
Extend and update primitive conversions.
2014-03-04 17:01:30 +01:00
Ms2ger
6d3c0bf763
Reorder implementations in conversions.rs.
2014-03-04 16:38:05 +01:00
Ms2ger
4166ff4794
Introduce a test IDL file.
2014-03-04 16:28:34 +01:00
bors-servo
f7821e40c2
auto merge of #1809 : Ms2ger/servo/constructor-global-from-object, r=jdm
...
...rather than the JSContext.
Requires <https://github.com/mozilla-servo/rust-mozjs/pull/51 >.
2014-03-04 09:28:51 -05:00
Ms2ger
8acf36c6d4
Get the Page from the global object for ResolveProperty.
2014-03-04 15:28:12 +01:00
Ms2ger
d3ca4afaf5
Get the Page directly off the Window in CreateBindingJSObject.
2014-03-04 15:17:12 +01:00
Ms2ger
787108deaf
Pass &JS<Window> to the Wrap functions in codegen.
2014-03-04 15:08:44 +01:00
Ms2ger
23b7277b54
Pass &JS<Window> to reflect_dom_object.
2014-03-04 14:13:58 +01:00
Ms2ger
6291aac170
Pass &JS<Window> to some constructors.
2014-03-04 14:10:33 +01:00
Ms2ger
b6138580d3
Stop passing the scope argument to global object bindings' Wrap functions.
2014-03-04 13:24:16 +01:00
Ms2ger
12380edc63
Merge the Wrap and Wrap_ functions in codegen.
2014-03-04 13:17:36 +01:00
Ms2ger
99574f14d9
Return a JS<Window> from global_object_for_{dom,js}_object.
2014-03-04 11:41:46 +01:00
Ms2ger
c8bd9615f4
When calling constructors, retrieve the global object from the callee rather than the JSContext.
2014-03-04 10:46:49 +01:00
S Pradeep Kumar
20a4ac6de3
Send in the right container block size for relative positioning.
...
This fixes #1757 .
2014-03-04 16:25:03 +09:00
Keegan McAllister
32cdc2107b
Reftest both CPU and GPU rendering
...
Fixes #1179 .
2014-03-03 18:09:18 -08:00
S Pradeep Kumar
070be51910
Implement position: absolute
for replaced elements.
...
Add reftests for replaced and nested absolute flows.
2014-03-04 11:08:46 +09:00
Keegan McAllister
9a4ac45061
reftest: Allow passing Servo args after --
2014-03-03 18:03:30 -08:00
Keegan McAllister
cfc264d981
De-duplicate reftest code
2014-03-03 17:23:52 -08:00
bors-servo
4a6077ca4c
auto merge of #1802 : lpy/servo/issue1801, r=kmcallister
...
see #1801
2014-03-03 19:58:28 -05:00
lpy
b13a7c73c5
Remove next_subpage_id argument from parse_html.( fixes #1801 )
2014-03-04 08:40:48 +08:00
bors-servo
a30041e960
auto merge of #1800 : kmcallister/servo/subpage-id, r=jdm
2014-03-03 18:16:27 -05:00
Keegan McAllister
6ad5597edd
Fix a dynamic borrow failure with iframes
2014-03-03 15:02:33 -08:00
bors-servo
4646975080
auto merge of #1798 : kmcallister/servo/android-args, r=jdm
...
Copy-paste fail from my c277d25506
r? @jdm
2014-03-03 16:49:28 -05:00
Keegan McAllister
d97d20a1df
Fix Android argument handling
...
Copy-paste fail from my c277d25506
2014-03-03 13:44:26 -08:00
Manish Goregaokar
8b425fb8cf
Make document.getElementsByTagname return a NodeList; consolidate element collection to collectElement; fix #1744
2014-03-04 02:19:32 +05:30
bors-servo
411892484b
auto merge of #1797 : Ms2ger/servo/IDL-debris, r=jdm
2014-03-03 14:25:29 -05:00
bors-servo
9743482dd1
auto merge of #1796 : kmcallister/servo/linux-fontconfig, r=jdm
...
Fixes #1790
r? @jdm
2014-03-03 14:01:35 -05:00
Ms2ger
3530f1e107
Remove support for external (i.e. XPIDL) interfaces.
2014-03-03 19:49:08 +01:00
Keegan McAllister
56b2eccb6b
Don't build Fontconfig docs
...
Fixes #1790
2014-03-03 10:37:40 -08:00
bors-servo
ada9224d0e
auto merge of #1681 : pradeep90/servo/absolute-position, r=pcwalton
...
+ Re-implement fixed positioning using the absolute positioning code.
+ Add reftests for absolute positioning and fixed positioning.
+ Refactor assign_widths in BlockFlow to isolate the calculation of
widths and margins.
+ Pass down details of the Containing Block for absolute and fixed flows
during layout. Use it to calculate the static position of absolute flows.
+ Defer calculation of absolute flow dimensions till we build the
display list.
This implements https://github.com/mozilla/servo/issues/1537 and https://github.com/mozilla/servo/issues/787
2014-03-03 13:37:33 -05:00
bors-servo
b8de1b3ca7
auto merge of #1791 : Ms2ger/servo/conversions, r=jdm
2014-03-03 13:13:35 -05:00
Ms2ger
bb7db4c948
Fix test.
2014-03-03 19:04:18 +01:00
bors-servo
38be1dbbba
auto merge of #1795 : Ms2ger/servo/CreateInterfaceObject, r=jdm
2014-03-03 12:40:41 -05:00
Ms2ger
ec935eca0f
Remove unused argument to CreateInterfaceObject and now unused code.
2014-03-03 16:10:43 +01:00
Ms2ger
bec0dcd023
Remove unused argument to CreateInterfaceObjects2.
2014-03-03 16:00:49 +01:00
S Pradeep Kumar
75f1142107
Implement mini-traversal for absolute flow assign-height.
...
This only traverses absolute flows, nothing else.
+ Also, a separate mini-traversal for store overflow.
+ Store descendants with position 'absolute' and 'fixed' in BaseFlow.
+ Bubble up links to absolute and fixed descendants during Flow Construction.
+ Set Rawlink to the CB in absolute descendants.
+ store_overflow() now uses absolute descendants' overflows too.
+ Add reftests for 'absolute' and 'fixed' static y position.
+ Add reftests for overflow (they all fail now).
+ Put absolute flow display items under their CB's ClipDisplayItem.
+ Paint borders in Box_ before the actual box stuff (minor fix in lieu of paint-order).
2014-03-03 16:12:45 +09:00
S Pradeep Kumar
c4d177a354
Implement position: absolute
for non-replaced elements.
...
+ Re-implement fixed positioning using the absolute positioning code.
+ Add reftests for absolute positioning and fixed positioning.
+ Refactor assign_widths in BlockFlow to isolate the calculation of
widths and margins.
+ Pass down details of the Containing Block for absolute and fixed flows
during layout. Use it to calculate the static position of absolute flows.
+ Defer calculation of absolute flow dimensions till we build the
display list.
2014-03-03 11:27:49 +09:00
Ms2ger
87715c14e1
Reimplement conversion to primitive types for correctness in the face of non-primitive arguments.
2014-03-02 22:56:07 +01:00
Ms2ger
6bc2c79f92
Pass a JSContext to JSValConvertible::from_jsval.
2014-03-02 22:30:54 +01:00