aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/bindings/js.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-496/+0
|
* Store a pointer to the Worker in the DedicatedWorkerGlobalScope.Ms2ger2014-08-121-0/+10
|
* Upgrade Rust.Jack Moffitt2014-08-021-5/+5
|
* Add documentation for the DOM.Ms2ger2014-07-261-0/+3
|
* Remove the pointer to the Rust object in Root.Ms2ger2014-06-281-3/+0
| | | | It is already stored inside the jsref field.
* Mark some unused fields.Ms2ger2014-06-281-2/+2
|
* Upgrade to latest Rust.Manish Goregaokar2014-06-271-3/+3
|
* Remove "DerefMut" implementation from Root/JSRef.Tetsuharu OHZEKI2014-06-221-14/+0
|
* auto merge of #2653 : Ms2ger/servo/docs, r=Ms2ger,metajackbors-servo2014-06-131-54/+57
|\
| * Correct formatting in documentation in js.rs.Ms2ger2014-06-131-36/+36
| |
| * Add some blank lines to ensure rustdoc picks up the lists.Ms2ger2014-06-131-0/+3
| |
| * Use '//!' rather than '///' for the overview comment in js.rs.Ms2ger2014-06-131-36/+36
| |
* | auto merge of #2649 : ebalint/servo/2580_JS_T_unrooted_replace, r=jdmbors-servo2014-06-131-3/+3
|\ \ | | | | | | | | | | | | removed .clone() calls modified from_rooted method parameter: T to &T
| * | Replace uses of JS<T>.unrooted() with JS::from_rooted #2580Edit Balint2014-06-131-3/+3
| | |
* | | Remove Reflectable::mut_reflector.Ms2ger2014-06-131-10/+0
| |/ |/|
* | Make the conservertive stack scanner calculates `Temporary<T>` as root ↵Tetsuharu OHZEKI2014-06-141-17/+6
|/ | | | | | instead of calling root methods. See: https://github.com/mozilla/servo/issues/2650
* Upgrade Rust.Jack Moffitt2014-06-051-7/+7
|
* Add a static from_rooted method to JS<T> #2309Edit Balint2014-06-021-0/+8
|
* Remove the implementation OptionalSettable for Option<JS<T>> to remove ↵Tetsuharu OHZEKI2014-06-021-11/+3
| | | | needless '&mut self'.
* "JS<T>::from_raw" should accept "*T" instead of "*mut T"Tetsuharu OHZEKI2014-05-311-2/+2
|
* Implement OptionalSettable for 'Cell<Option<JS<U>>>'.Tetsuharu OHZEKI2014-05-301-1/+10
|
* JS<T> contains '*T' instead of RefCell.Tetsuharu OHZEKI2014-05-301-8/+7
|
* JSRef<T> & Root<T> contains '*T' instead of RefCell.Tetsuharu OHZEKI2014-05-301-9/+8
|
* Use *mut T for the T* pointers in SpiderMonkey.Ms2ger2014-05-261-5/+5
|
* Update Rust.Ms2ger2014-05-221-13/+8
|
* Async XHR GET with basic response header supportManish Goregaokar2014-05-201-0/+10
|
* Switch to using ContravariantLifetime in JSRef<'a, T>.Cameron Zwarich2014-05-141-3/+4
| | | | | Since ContravariantLifetime doesn't take up any storage space, this means that JSRef will be a single word. This fixes #2333.
* Address review comments.Josh Matthews2014-05-031-64/+76
|
* Make dictionaries contain Root<T> values instead of JS<T>, ensuring that ↵Josh Matthews2014-05-031-0/+6
| | | | they will not be collected while the dictionary is alive.
* Address review comments.Josh Matthews2014-05-031-33/+64
|
* Remove all root collections.Josh Matthews2014-05-031-12/+17
|
* Store per-ScriptTask RootCollection in TLS and use that in favour of ↵Josh Matthews2014-05-031-2/+9
| | | | per-frame collections.
* Root Temporary values for the duration of their lifetime.Josh Matthews2014-05-031-9/+21
|
* s/Unrooted/Temporary/gJosh Matthews2014-05-031-22/+22
|
* Move stack roots into Root types instead of RootCollection, removing the ↵Josh Matthews2014-05-031-60/+23
| | | | aribtrary 10 roots per stack frame restriction.
* Remove JS::get/get_mut to enforce sound rooting practices.Josh Matthews2014-05-031-15/+17
|
* Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.Josh Matthews2014-05-031-26/+181
|
* Turn on GC all the time. Fix rooting errors during parsing and storing ↵Josh Matthews2014-05-031-4/+220
| | | | timers. Fix borrow errors during tracing.
* This batch of changes upgrades Servo to work with the Rust upgrade as ofLars Bergstrom2014-04-271-1/+1
| | | | | | April 10, 2014. The main changes are to privacy, to work around the issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the various API changes strewn throughout the libraries.
* Add transparent Traceable and Untraceable types to aid proper rooting ↵Josh Matthews2014-04-171-1/+2
| | | | practices, and replace ad-hoc Untraceable structs with empty Encodable implementations.
* Upgrade rust.Ms2ger2014-04-041-2/+2
|
* Make JS<T>::clone inline.(fixes #1955)lpy2014-03-221-0/+1
|
* auto merge of #1915 : Ms2ger/servo/wrap-return-js, r=jdmbors-servo2014-03-191-11/+4
|\ | | | | | | | | | | 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.
| * Return a JS<T> from *Binding::Wrap rather than a JSObject.Ms2ger2014-03-141-11/+4
| | | | | | | | | | | | 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.
* | Remove all traces of Box representation from bindings. Work around file read ↵Josh Matthews2014-03-181-8/+0
| | | | | | | | runtime problem.
* | Rust upgradesLars Bergstrom2014-03-181-1/+1
|/
* Pass &JS<Window> to the Wrap functions in codegen.Ms2ger2014-03-041-3/+2
|
* Pass &JS<Window> to reflect_dom_object.Ms2ger2014-03-041-4/+4
|
* layout: Stop racing on the JSManaged borrow flagsPatrick Walton2014-02-271-0/+11
|
* Implement JSManaged for DOM objects.Josh Matthews2014-02-241-0/+99