Commit graph

1398 commits

Author SHA1 Message Date
Ms2ger
be00df4be6 Remove references to WindowProxy as an interface. 2014-07-12 20:32:46 +02:00
Ms2ger
8c8051800f Merge pull request #2809 from Manishearth/sendparam
Allow URLSearchParams to be passed to XHR Send(); r=jdm
2014-07-12 17:38:50 +02:00
Manish Goregaokar
678dc10c4f Allow URLSearchParams to be passed to XHR Send() 2014-07-12 20:25:28 +05:30
Josh Matthews
f47b66b0c1 Merge pull request #2807 from Ms2ger/pyflakes-2
Remove some dead code and fix some pyflakes warnings in CodegenRust.py.
2014-07-11 20:48:41 -04:00
Josh Matthews
3a22ee3237 Merge pull request #2801 from Ms2ger/wrap-temp
Return a Temporary from *Binding::Wrap.
2014-07-11 20:48:22 -04:00
Ms2ger
a867e4bd52 Remove some dead code and fix some pyflakes warnings in CodegenRust.py. 2014-07-11 14:51:43 +02:00
Ms2ger
4ff4b5833d Test for missing newlines at end of file in tidy.py. 2014-07-11 13:21:17 +02:00
Ms2ger
b1493519c9 Test for trailing spaces in tidy.py. 2014-07-11 13:14:12 +02:00
Ms2ger
439bc78cab Return a Temporary from *Binding::Wrap.
Returning a JS<T> is GC-unsafe.

This commit also includes some cleanup around Node and Document reflection.
2014-07-10 16:45:41 +02:00
Patrick Walton
78eeb8e2e7 Revert "Implement Element.matches()."
This reverts commit b6edd5318f.
2014-07-09 14:58:38 -07:00
Tetsuharu OHZEKI
b6edd5318f Implement Element.matches(). 2014-07-05 23:27:40 +09:00
Simon Sapin
0974d21bcd Merge pull request #2765 from Manishearth/xhr-wpt-encoding
Fix encoding issues for getResponseHeader()
2014-07-04 23:36:22 +01:00
Manish Goregaokar
3f15dc6c47 Fix encoding issues for getResponseHeader() 2014-07-05 02:20:04 +05:30
Ms2ger
11aa36619d Mark some unused fields. 2014-07-04 11:57:35 +02:00
Josh Matthews
568e7ed0c6 Merge pull request #2731 from Manishearth/xhr-wpt-header-filter
Filter response headers, fix responseType's error in XHR
2014-07-02 16:51:55 -04:00
Josh Matthews
d09815a10a Merge pull request #2735 from Manishearth/urlsearchparams
Add URLSearchParams interface with serialization support
2014-07-02 16:51:38 -04:00
Josh Matthews
a313bdb346 Merge pull request #2737 from Manishearth/derefmut-2736
Remove deref_mut from Untraceable/Traceable (fixes #2736)
2014-07-02 16:51:17 -04:00
Josh Matthews
27ed2ea8cf Merge pull request #2727 from Ms2ger/dom-pub
Make some DOM members private.
2014-07-02 14:42:47 -04:00
Josh Matthews
0e394a65d3 Merge pull request #2728 from Ms2ger/location-search
Implement Location.search.
2014-07-02 14:36:24 -04:00
Manish Goregaokar
51f2dbd64d Fix wpt failure on responseType setter 2014-07-02 23:45:49 +05:30
Manish Goregaokar
17631ffcb8 Filter response headers 2014-07-02 23:45:48 +05:30
Manish Goregaokar
8790a0f6f6 Add URLSearchParams interface with serialization support 2014-07-02 23:45:12 +05:30
Manish Goregaokar
7cc8e2eb57 Remove deref_mut from Untraceable/Traceable (fixes #2736) 2014-07-01 00:59:52 +05:30
Ms2ger
2b06bbdb2f Remove the pointer to the Rust object in Root.
It is already stored inside the jsref field.
2014-06-28 17:09:33 +02:00
Ms2ger
362feaa4a9 Mark some unused fields. 2014-06-28 17:08:57 +02:00
Ms2ger
924031135e Remove some into_owned calls. 2014-06-28 17:07:47 +02:00
Ms2ger
bba9e58df1 Make some DOM members private.
I have not reviewed if this is the complete set of members that can be made
private.
2014-06-28 16:27:36 +02:00
Ms2ger
c58837599d Implement Location.search. 2014-06-28 14:51:54 +02:00
Tetsuharu OHZEKI
3a293b3f1c Remove generate_cacheable_wrapper_htmlelement! 2014-06-28 10:43:34 +09:00
Tetsuharu OHZEKI
a9eaaa833f Remove generate_cacheable_wrapper_htmltablecellelement! 2014-06-28 10:43:34 +09:00
Tetsuharu OHZEKI
717706ce5d Remove generate_cacheable_wrapper_htmlmediaelement! 2014-06-28 10:43:34 +09:00
Tetsuharu OHZEKI
6b153834c9 Remove generate_cacheable_wrapper_node! 2014-06-28 10:43:34 +09:00
Tetsuharu OHZEKI
777e6a0756 Remove generate_cacheable_wrapper! 2014-06-28 10:43:33 +09:00
Tetsuharu OHZEKI
fe1644f316 Remove generate_cacheable_wrapper_characterdata! 2014-06-28 10:43:33 +09:00
Manish Goregaokar
f5b5b337d3 Upgrade to latest Rust. 2014-06-27 18:50:32 -06:00
Manish Goregaokar
06eb08ab70 Partial implementation of FormData and File 2014-06-25 16:28:33 +05:30
Ms2ger
ab94fea87a Merge pull request #2711 from Ms2ger/defineprop
Handle setting a readonly attribute on proxy reflectors correctly; r=jdm
2014-06-24 19:33:00 +02:00
Ms2ger
f37fdbc778 Handle setting a readonly attribute on proxy reflectors correctly. 2014-06-24 16:22:15 +02:00
Lars Bergstrom
bd657528e3 Merge pull request #2651 from saneyuki/design_doc
Add the design document about JS-managed DOM.

r=ms2ger
2014-06-24 08:47:47 -05:00
Tetsuharu OHZEKI
b4bde5ea83 fixup! Add the design document about JS-managed DOM. 2014-06-24 04:24:06 +09:00
Tetsuharu OHZEKI
a14079635f Add the design document about JS-managed DOM. 2014-06-24 04:24:05 +09:00
Ms2ger
696c57006b Store this-values and arguments in immutable locals in codegen. 2014-06-22 17:17:27 +02:00
Ms2ger
4f0d6979e7 Implement static attributes (fixes #1989). 2014-06-22 15:15:18 +02:00
Ms2ger
6d2784aece Implement static methods (fixes #1989). 2014-06-22 15:15:12 +02:00
Ms2ger
92f9fe59e5 Introduce static makeNativeName methods to share code with the upcoming static members. 2014-06-22 15:10:56 +02:00
Tetsuharu OHZEKI
975fee82da Remove needless mutabilities from script crate. 2014-06-22 21:22:58 +09:00
Tetsuharu OHZEKI
7fcade294c Remove "DerefMut" implementation from Root/JSRef. 2014-06-22 21:22:58 +09:00
Ms2ger
8ec2017126 Merge pull request #2681 from saneyuki/attr
Use internal mutability for Attr::value; r=jdm
2014-06-22 14:22:00 +02:00
Ms2ger
c90a8529c5 Use internal mutability for Attr::value. 2014-06-22 20:39:21 +09:00
Ms2ger
4964d2792e Pass the NativeProperties struct to CreateInterfaceObjects2.
This will simplify adding more kinds of properties, such as static attributes.
2014-06-22 13:25:18 +02:00