aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/js.rs
Commit message (Collapse)AuthorAgeFilesLines
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-683/+0
|
* Initialize rooted dictionaries to a stable value before setting fields.Josh Matthews2017-09-251-1/+28
|
* moving to oncecellsendilkumarn2017-09-091-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | adding oncecell for JS references removing option<JS<T>> to <JS<T>> changing return types removing get method and refactoring the function changing getElements method lint fixes moving to default simplifying return ordering Removing elements linting
* Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10)Simon Sapin2017-08-151-2/+2
|
* Upgrade to rustc 1.21.0-nightly (599be0d18 2017-07-26)Simon Sapin2017-07-271-5/+5
|
* Upgrade to rustc 1.19.0-nightly (ced823e26 2017-05-07)Simon Sapin2017-05-081-10/+10
|
* removing mutHeapJs referencesSendilKumar N2017-03-071-45/+1
| | | | changes as per comments
* Implement JSTraceable for more types.Ms2ger2017-02-161-0/+6
|
* Remove HeapGCValueAnthony Ramine2016-12-121-38/+24
| | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS.
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-24/+24
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Mark JSTraceable and its method as unsafeAnthony Ramine2016-12-061-4/+4
|
* Make ServoParser::pending_input hold onto a BufferQueueAnthony Ramine2016-11-181-0/+6
|
* Use heapsize_derive instead of heapsize_pluginSimon Sapin2016-11-031-0/+6
|
* Auto merge of #13056 - KiChjang:transition-event, r=mbrubeckbors-servo2016-10-121-0/+8
|\ | | | | | | | | | | | | | | | | | | | | Implement transition event and infrastructure Fixes #10245. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13056) <!-- Reviewable:end -->
| * Emit TransitionEnd events in the layout thread and process it in the script ↵Keith Yeung2016-10-111-0/+8
| | | | | | | | thread
* | Generalise RootedVec::<JS<T>>::r as [JS<T>]::rAnthony Ramine2016-10-111-0/+7
| |
* | Generalise RootedReferenceAnthony Ramine2016-10-111-43/+28
| | | | | | | | | | | | | | It now becomes RootedReference<'root> and includes an associated type for the return type of its 'r' method. This removes the need for OptionalRootedReference.
* | Remove intrinsic Root::r()Anthony Ramine2016-10-111-7/+1
|/
* Ensure Promise "reflector" is not GCed before the Rust object.Josh Matthews2016-09-221-0/+6
|
* Implement binding support for returning and accepting Promises in WebIDL.Josh Matthews2016-09-221-0/+19
|
* Stop using mem::transmute_copy.Ms2ger2016-09-051-2/+8
|
* Move thread_state to style.Ms2ger2016-08-221-1/+1
|
* Move TrustedNodeAddress to script_layout_interface.Ms2ger2016-06-201-1/+1
|
* Avoid a literal "&Root<T>" in its PartialEq implAnthony Ramine2016-05-311-1/+1
|
* Cleanup RootCollection methodsAnthony Ramine2016-05-311-18/+15
| | | | | The methods `root` and `unroot` should both be unsafe and take a `*const Reflector`.
* Remove JS::from_rootedAnthony Ramine2016-05-311-9/+0
|
* Fix unused import warning in script::dom::bindings::jsMatt Brubeck2016-05-161-0/+1
|
* Make debug logging for tracing JS objects more informative.Josh Matthews2016-05-111-2/+13
|
* Auto merge of #10546 - stjepang:fix-typo-in-jsrs, r=Ms2gerbors-servo2016-04-131-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix typo: `cannot not outlive` -> `cannot outlive` A `Root` cannot outlive the `RootCollection` it is recorded in. The docs were saying otherwise. r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10546) <!-- Reviewable:end -->
| * Fix typo: `cannot not outlive` -> `cannot outlive`Stjepan Glavina2016-04-121-1/+1
| |
* | Implement Clone for Root.Ms2ger2016-04-111-0/+6
|/
* Implement RootedReference<T> for Option<JS<T>>Daniel Robertson2016-02-161-0/+7
| | | | | An implementation of RootedReference for Option<JS<T>> based off of other implementations of RootedReference for Option wrapped types.
* Say farewell to in-tree HeapSizeOfAnthony Ramine2016-02-041-1/+1
|
* Remove remaining reference to the long-disappeared JSRef type.Ms2ger2016-01-181-1/+1
|
* task -> threadrohan.prinja2016-01-101-30/+30
|
* Fix a bunch of clippy lintsJohannes Linke2016-01-021-2/+2
|
* Rustfmt some of script.Ms2ger2015-11-181-25/+41
|
* Auto merge of #8286 - eefriedman:no-move, r=noxbors-servo2015-11-081-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary uses of #[no_move] The patch makes RootCollection a bit safer by making the StackRootTLS hold it in place. RootedVec was doing an extremely delicate dance and just hoping nobody messed it up; switch to a Box to be safe. CodeGenRust seemed to be using no_move for no particularly good reason. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8286) <!-- Reviewable:end -->
| * Clean up some code related to #[no_move].Eli Friedman2015-11-071-1/+0
| | | | | | | | | | | | | | | | The patch makes RootCollection a bit safer by making the StackRootTLS hold it in place. The use of no_move in CodeGenRust was leftover from when roots couldn't be moved.
* | Get rid of a bunch of explicit derefsDavid Zbarsky2015-11-031-1/+1
| |
* | merge from masterrohan.prinja2015-11-031-6/+2
|\|
| * Removed JS::root Fixes #8251nxnfufunezn2015-10-311-6/+2
| |
* | rearrange imports to be in alphabetical orderrohan.prinja2015-10-301-2/+1
| |
* | more refactoringrohan.prinja2015-10-301-1/+2
| |
* | move Castable into dom::bindings::inheritancerohan.prinja2015-10-301-1/+2
|/
* remove get_rooted() and replace all references to it with references to get()rohan.prinja2015-10-291-6/+0
|
* Add thread assertions to js.rs.Ms2ger2015-10-291-0/+30
|
* Implement Hash and Eq for JS<T> and LayoutJS<T>.Bobby Holley2015-10-271-0/+13
|
* Auto merge of #8097 - wenderen:8090-partialeq-for-mutheap, r=noxbors-servo2015-10-261-0/+33
|\ | | | | | | | | | | | | | | | | | | implement PartialEq for MutHeap<JS<T>> and MutNullableHeap<JS<T>> for #8090 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8097) <!-- Reviewable:end -->
| * clean code as per code reviewRohan Prinja2015-10-261-3/+3
| |