bors-servo
|
141b5d038f
|
auto merge of #4526 : servo/servo/deref-1, r=Manishearth
This is a start towards fixing #3868. Not all callers have been fixed yet, so the `Deref` implementation remains for now.
|
2015-01-02 09:22:51 -07:00 |
|
Ms2ger
|
43eecf6e7a
|
Stop using ptr.is_not_null() in script.
This method is deprecated in rust master; removing its users in advance will
make a future rust upgrade smoother.
|
2015-01-01 22:19:34 +01:00 |
|
Ms2ger
|
1dad710063
|
Replace Root::deref() calls by Root::r() calls where possible.
This changes those calls that were already sound.
|
2015-01-01 20:36:43 +01:00 |
|
Ms2ger
|
1290c18794
|
Remove the 'b lifetime from Root.
It does not add any safety, as the reference is constructed from a raw pointer
without limiting the lifetime in any way.
|
2015-01-01 20:36:43 +01:00 |
|
Ms2ger
|
95ec20bd97
|
Remove the 'a lifetime from Root.
It does not add any safety, as the reference is constructed from a raw pointer
without limiting the lifetime in any way.
|
2015-01-01 20:36:43 +01:00 |
|
yodalee
|
bb087c238b
|
use str to_jsval() now
xmlhttprequest.rs, CodegenRust.py
replace into_string().to_jsval() to to_jsval()
conversions.rs
DOMString to_jsval() use as_slice().tojsval() now
|
2015-01-01 02:17:33 +08:00 |
|
yodalee
|
6f569dee92
|
add str ToJSValConvertible for str type
|
2014-12-31 20:20:44 +08:00 |
|
Manish Goregaokar
|
e9d1740e19
|
script: to_string() -> into_string()
|
2014-12-27 14:48:36 +01:00 |
|
Ms2ger
|
96180ec3ad
|
Move unwrap_jsmanaged and related machinery to conversions.rs.
|
2014-12-20 14:51:14 +01:00 |
|
Ms2ger
|
b8c2573f4d
|
Remove the proto_{id,depth} arguments from unwrap_jsmanaged.
Instead, we infer them from the type we're unwrapping into. This will prevent
any mismatches between the type we return and the type we check for.
|
2014-12-20 13:48:21 +01:00 |
|
Ms2ger
|
e2b75670bd
|
Rename the PrototypeList enums to fix case build warnings.
|
2014-12-18 10:33:57 +01:00 |
|
Ms2ger
|
466faac2a5
|
Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.
|
2014-12-17 15:19:45 -05:00 |
|
Jack Moffitt
|
d1b433a3b3
|
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
|
2014-11-13 11:17:43 +10:00 |
|
Ms2ger
|
3ed3c9a978
|
Document bindings/conversions.rs.
|
2014-11-07 18:33:38 +01:00 |
|
Ms2ger
|
b60a601f56
|
Move jsstring_to_str and jsid_to_str to conversions.rs.
This appears to be a more sensible location for them.
Relevant to #433.
|
2014-10-16 10:42:09 +02:00 |
|
Simon Sapin
|
b3245fa407
|
Upgrade to rustc d2b30f7d3 2014-09-23
|
2014-09-29 17:41:45 +01:00 |
|
Jack Moffitt
|
c6ab60dbfc
|
Cargoify servo
|
2014-09-08 20:21:42 -06:00 |
|