Commit graph

3874 commits

Author SHA1 Message Date
Matt Brubeck
f1394e3ffc Set a name for WorkQueue tasks (fixes #1830) 2014-03-21 15:36:02 -07:00
bors-servo
54da52fa77 auto merge of #1950 : Ms2ger/servo/nullable-string-with-null-default, r=jdm 2014-03-21 06:49:34 -04:00
bors-servo
5dbde0c5c5 auto merge of #1951 : Ms2ger/servo/castable, r=jdm 2014-03-20 23:13:34 -04:00
Ms2ger
6ee2e29e62 Make unwrap and unwrap_object less generic. 2014-03-20 23:26:22 +01:00
Ms2ger
a4fc6961a8 Remove support for non-castable arguments. 2014-03-20 23:17:46 +01:00
Ms2ger
acffed2dcd Fix code generation for a null default value for nullable string arguments. 2014-03-20 22:51:31 +01:00
bors-servo
7bfb15ec62 auto merge of #1949 : Ms2ger/servo/cleanup-codegen, r=jdm 2014-03-20 17:07:28 -04:00
Ms2ger
077243caa7 Stop returning None from getRetvalDeclarationForType and update documentation. 2014-03-20 21:14:28 +01:00
Ms2ger
322893009d Make the result and result_fallible variables immutable. 2014-03-20 21:06:55 +01:00
Ms2ger
eec2e10d9c Remove the declareResult argument to CGCallGenerator's constructor. 2014-03-20 20:34:52 +01:00
Ms2ger
ad086ba7da Use CGIfElseWrapper in a few more places. 2014-03-20 20:32:16 +01:00
Ms2ger
904e8eaf17 Remove the codeToSetNull argument to wrapObjectTemplate. 2014-03-20 20:27:30 +01:00
Ms2ger
022dfa0a5e Remove the preSuccess and postSuccess arguments to getJSToNativeConversionTemplate.
They were used for unions until 06f9afdad5.
2014-03-20 20:16:39 +01:00
Ms2ger
4ba093939a Remove unused import of std::intrinsics::uninit. 2014-03-20 20:16:38 +01:00
bors-servo
509ff7e52f auto merge of #1913 : Ms2ger/servo/attributes, r=jdm 2014-03-20 14:46:34 -04:00
Ms2ger
038a195ead Move attributes-related functions onto JS<Element>. 2014-03-20 19:42:42 +01:00
bors-servo
0265fb9784 auto merge of #1867 : saneyuki/servo/1828, r=pcwalton
Fix #1828
2014-03-20 14:10:54 -04:00
Tetsuharu OHZEKI
e9e7441c0a Change from TNode/TElement::with_element() to as_element(). 2014-03-21 00:00:51 +09:00
bors-servo
8317122068 auto merge of #1864 : saneyuki/servo/split_cast_to, r=jdm
fix #1836
2014-03-20 10:58:36 -04:00
Tetsuharu OHZEKI
0fccf5e386 Split TCast::to into TCast::to_unchecked and TCast::to. 2014-03-20 23:41:59 +09:00
bors-servo
2fb8c84bac auto merge of #1943 : lpy/servo/issue1933, r=jdm
see #1933
2014-03-20 10:19:30 -04:00
bors-servo
9e53b4d828 auto merge of #1945 : Ms2ger/servo/1196-isDefinitelyObject, r=jdm
... and fix nearby whitespace (fixes #1196).
2014-03-20 09:40:32 -04:00
Ms2ger
bdfd89508a Pass the isDefinitelyObject argument to wrapObjectTemplate and fix nearby whitespace (fixes #1196). 2014-03-20 11:53:01 +01:00
bors-servo
19a7c429a1 auto merge of #1944 : lpy/servo/issue1938, r=Ms2ger
see #1938
2014-03-20 06:34:32 -04:00
lpy
34b73837d3 Rename squirrel_away_unboxed to squirrel_away_unique.(fixes #1938) 2014-03-20 17:14:31 +08:00
lpy
1abdd9c526 Force infallible binding methods to return void.(fixes #1933) 2014-03-20 16:24:15 +08:00
bors-servo
371bea7d3b auto merge of #1939 : khodzha/servo/unused_imports, r=jdm
Attempt to fix #1480. I have no idea what I'm doing
2014-03-20 04:10:27 -04:00
bors-servo
ad826efd6d auto merge of #1909 : Ms2ger/servo/optional-defaults, r=jdm
...(fixes #1813).
2014-03-19 23:55:40 -04: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
Ms2ger
59bcabb75e Pass Option<T> for optional primitive arguments without a default value (fixes #1813). 2014-03-19 19:05:59 +01: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
Shamir Khodzha
40bf442dbe Fix #1480, added -D unused-imports to rustc flags 2014-03-19 13:49:30 +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