Commit graph

3845 commits

Author SHA1 Message Date
lpy
34b73837d3 Rename squirrel_away_unboxed to squirrel_away_unique.(fixes #1938) 2014-03-20 17:14:31 +08:00
bors-servo
6040271db3 auto merge of #1941 : larsbergstrom/servo/clean_rlib, r=metajack
Three things changed with the `make clean` process:
- Remove the *.rlib files associated with the Servo crates
- Remove the libservo-*.a file, which we will (Very Soon Now) generate now on Android instead of a .so
- Update all the submodules, which have corresponding *.rlib file cleanup changes
2014-03-19 20:07:45 -04:00
bors-servo
7f188500a1 auto merge of #1915 : Ms2ger/servo/wrap-return-js, r=jdm
This lets us avoid the sketchy tricks in JS::new and Window::new, where we
kept an unsafe pointer to the native object across the Wrap call that
consumed the owned pointer.
2014-03-19 19:01:48 -04:00
bors-servo
26f9543e60 auto merge of #1910 : Ms2ger/servo/dead-arg-CGAbstractMethod, r=jdm 2014-03-19 18:37:51 -04:00
bors-servo
6270178628 auto merge of #1855 : lpy/servo/issue1842, r=jdm
see #1842
When I tried to use like `datalist.options[0].value`, it returned nothing. So is it implemented?
2014-03-19 18:04:57 -04:00
bors-servo
b345e9458a auto merge of #1865 : lpy/servo/issue1843, r=jdm
see #1843
2014-03-19 17:02:05 -04:00
Lars Bergstrom
020db4118c Clean files associated with static linking 2014-03-19 14:19:28 -05:00
bors-servo
cc77b28761 auto merge of #1925 : saneyuki/servo/1874, r=jdm
Fix #1874
2014-03-19 14:47:13 -04:00
bors-servo
f7aa6e3d9b auto merge of #1934 : larsbergstrom/servo/rust_20140224_squashed, r=jdm
For review only - don't approve yet (need to squash and land submodule updates first). 

critic? @metajack
2014-03-19 12:35:17 -04:00
Lars Bergstrom
a6100563a6 Rust upgrade for new master rebase 2014-03-18 22:00:48 -05:00
Lars Bergstrom
fe22598c56 Check properly for None in the headless compositor case 2014-03-18 09:31:23 -05:00
Josh Matthews
cbc8006c60 Make tests pass once more. 2014-03-18 09:31:22 -05:00
Lars Bergstrom
720458c233 Rust upgrades 2014-03-18 09:31:22 -05:00
Lars Bergstrom
6365b76597 Rust upgrade for android 2014-03-18 09:31:22 -05:00
Josh Matthews
412b0ef3f8 Update submodules for warning police. 2014-03-18 09:31:22 -05:00
Josh Matthews
64c0de9fe7 Warning police. 2014-03-18 09:31:22 -05:00
Josh Matthews
f279abbf9f Remove all traces of Box representation from bindings. Work around file read runtime problem. 2014-03-18 09:30:35 -05:00
Lars Bergstrom
bbac8aa5c3 Rust upgrades 2014-03-18 09:30:35 -05:00
lpy
5915b061c5 Implement HTMLFieldSetElement.elements.(fixes #1843) 2014-03-17 10:12:08 +08:00
bors-servo
caf1ed9446 auto merge of #1929 : saneyuki/servo/const, r=Ms2ger
We can use `TConstants` instead of by #1914 fixed.
2014-03-16 04:35:14 -04:00
Tetsuharu OHZEKI
7216eee31c Use 'TConstants' instead of magic numbers. 2014-03-16 14:41:25 +09:00
Tetsuharu OHZEKI
d200a2e444 Use 'NodeConstants' instead of magic numbers. 2014-03-16 14:03:28 +09:00
Tetsuharu OHZEKI
620755b95f Expose named constants in bindings. 2014-03-16 13:50:33 +09:00
bors-servo
082de0e252 auto merge of #1914 : evilpie/servo/constants, r=Ms2ger
Generated code looks like this:

```rust
pub mod UIEventConstants {
  static SCROLL_PAGE_UP: i32 = -32768;
  static SCROLL_PAGE_DOWN: i32 = 32768;
} // mod UIEventConstants
```
2014-03-15 17:56:23 -04:00
Tetsuharu OHZEKI
6ecb9ba4b6 Don't call bind_to_tree when appending a node to another node that isn't in the tree (fixes #1874). 2014-03-15 23:21:33 +09:00
Ms2ger
bfb849bb04 Update mozjs. 2014-03-15 23:21:06 +09:00
Bruno de Oliveira Abinader
bfbbffd4e2 Moved compareDocumentPosition content test to proper directory 2014-03-15 23:21:06 +09:00
bors-servo
2d2fae5fc5 auto merge of #1894 : khodzha/servo/node_normalize, r=Ms2ger
To resolve issue #1823 (without DOM Range updates)
2014-03-15 06:14:14 -04:00
bors-servo
508fe57f8d auto merge of #1907 : brunoabinader/servo/element-classname, r=Ms2ger
Removes stub implementation from HTMLElement & implements logic in Element WebIDL.
2014-03-15 05:47:18 -04:00
bors-servo
06e22f13ae auto merge of #1921 : Ms2ger/servo/inhibit, r=jdm 2014-03-14 18:26:24 -04:00
Ms2ger
ea550884f6 Update mozjs. 2014-03-14 23:20:29 +01:00
bors-servo
6abc62749d auto merge of #1918 : brunoabinader/servo/comparedocumentposition, r=Ms2ger
TSIA.
2014-03-14 13:56:02 -04:00
Tom Schuster
a8362e103a Implement named constants in bindings 2014-03-14 18:15:49 +01:00
Bruno de Oliveira Abinader
d2ffe4245a Moved compareDocumentPosition content test to proper directory 2014-03-14 13:00:01 -04:00
bors-servo
58f3946e4b auto merge of #1905 : pcwalton/servo/acid2-fixes, r=SimonSapin
There were two problems here: (1) we did not process style sheets with an
unexpected `rel` attribute but a correct MIME type; (2) we did not
consider `none` a valid value for the `background` property.

r? @SimonSapin
2014-03-14 10:16:57 -04:00
Shamir Khodzha
574fba310f implemented Node.normalize() 2014-03-14 17:46:35 +04:00
Ms2ger
4ad3b6ccd1 Return a JS<T> from *Binding::Wrap rather than a JSObject.
This lets us avoid the sketchy tricks in JS::new and Window::new, where we
kept an unsafe pointer to the native object across the Wrap call that
consumed the owned pointer.
2014-03-14 13:06:51 +01:00
Patrick Walton
3f8882450c script: Fix background color of Acid2.
There were two problems here: (1) we did not process style sheets with an
unexpected `rel` attribute but a correct MIME type; (2) we did not
consider `none` a valid value for the `background` property.
2014-03-13 18:08:50 -07:00
Ms2ger
b610ce0cd2 Remove a dead argument from CGAbstractMethod methods. 2014-03-13 23:07:39 +01:00
bors-servo
71f4fd0478 auto merge of #1852 : brunoabinader/servo/node-clonenode, r=Ms2ger
Spec:
http://dom.spec.whatwg.org/#dom-node-clonenode

This is a sub-task for #1655. Closes #1240.
2014-03-13 13:58:56 -04:00
Bruno de Oliveira Abinader
6274ecba07 Implement Element.className 2014-03-13 13:48:24 -04:00
Bruno de Oliveira Abinader
1703c427bc Implement Node.cloneNode
Spec:
http://dom.spec.whatwg.org/#dom-node-clonenode

Closes #1240.
2014-03-13 12:34:31 -04:00
Bruno de Oliveira Abinader
5eee401403 Added Document's quirks mode getter 2014-03-13 12:34:31 -04:00
Bruno de Oliveira Abinader
c9716df7ed s/isnot/is_not/ in harness.js
For sake of harness.js interface harmony.
2014-03-13 12:33:56 -04:00
bors-servo
3933d17262 auto merge of #1895 : Ms2ger/servo/outparams, r=jdm 2014-03-13 07:13:35 -04:00
bors-servo
a0f527b84f auto merge of #1890 : Ms2ger/servo/Window-idl, r=jdm 2014-03-13 06:43:39 -04:00
bors-servo
047cc05f5a auto merge of #1889 : pcwalton/servo/fix-borrow-flags-race, r=jdm
r? @jdm
2014-03-12 20:52:46 -04:00
bors-servo
f2e46bd857 auto merge of #1893 : Ms2ger/servo/extra-private, r=larsbergstrom
This pattern will become illegal with the next Rust upgrade.
2014-03-12 19:16:50 -04:00
Ms2ger
c7e09c0570 Remove support for returning values through outparams. 2014-03-12 18:26:25 +01:00
Ms2ger
a15cac53bc Don't use the Untraceable fields outside the module they're defined in.
This pattern will become illegal with the next Rust upgrade.
2014-03-12 14:30:19 +01:00