aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/callback.rs
Commit message (Collapse)AuthorAgeFilesLines
* Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393Marcin Mielniczuk2018-03-281-5/+5
|
* Fix commonmark Markdown warnings in docs, part 1Matt Brubeck2017-10-171-2/+2
| | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-2/+2
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename JS<T> to Dom<T>Anthony Ramine2017-09-261-4/+4
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* order derivable traits listsClément DAVID2017-08-231-1/+1
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Add way to get c_void ptr or c_char from callermckaymatt2017-04-041-1/+2
|
* removing mutHeapJs referencesSendilKumar N2017-03-071-3/+3
| | | | changes as per comments
* Don't try to get the global of an object while it's being destroyed.Ms2ger2017-01-191-1/+2
| | | | | Fixes #15070. Fixes #15097.
* Implement the incumbent global.Ms2ger2017-01-171-3/+30
| | | | Fixes #10963.
* Add a permanent root to WebIDL callbacks, ensuring they are always safe to ↵Josh Matthews2017-01-131-10/+45
| | | | store.
* Expose CallbackObject more.Ms2ger2017-01-091-13/+21
| | | | This will make it easier to use new fields added to it.
* Introduce CallbackObject::new().Ms2ger2017-01-091-7/+11
|
* Change the order of code in callback.rs to make more sense.Ms2ger2017-01-091-33/+35
|
* Implement the entry global.Ms2ger2017-01-061-0/+8
| | | | Partial fix for #10963.
* Simplify CallSetup.Ms2ger2017-01-051-16/+13
|
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-4/+4
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Remove GlobalRoot and GlobalRefAnthony Ramine2016-10-061-2/+2
|
* Remove global_root_from_reflectorAnthony Ramine2016-10-061-3/+3
|
* Reorder `use` statementsUK9922016-09-091-3/+3
|
* Dispatch error events at the window object.Ms2ger2016-09-021-1/+1
|
* Remove the JSAutoCompartment from report_pending_exception.Ms2ger2016-08-261-1/+3
| | | | It doesn't really belong there.
* Reuse report_pending_exception in CallSetup.Ms2ger2016-07-051-10/+4
|
* Switch to using the new rooted!/RootedGuard API for rooting.Eduard Burtescu2016-07-041-18/+17
|
* Clean up the functions to retrieve a global root from JS objectsAnthony Ramine2016-05-271-1/+1
|
* Stop re-rooting CallSetup::exception_compartment.Ms2ger2016-05-171-2/+1
|
* Remove JS_SaveFrameChain and JS_RestoreFrameChain calls.Ms2ger2016-05-171-9/+2
| | | | | They were cargo-culted from Gecko, where they haven't been necessary for a while either.
* Remove Request handling from CallSetup.Ms2ger2016-05-171-7/+0
|
* Remove `#[allow(raw_pointer_derive)]` attributesBrandon Fairchild2015-11-271-1/+0
| | | | | | The attributes are unused. Fixes #8699.
* Rustfmt some of script.Ms2ger2015-11-181-25/+27
|
* Clean up the conversion routinesAnthony Ramine2015-11-111-2/+2
| | | | | | | | Functions returning `Root<T>` are prefixed by "root_" and the ones returning `*const T` by "native_". Functions taking `*mut JSObject` are now suffixed by "_from_object" and the ones taking `&T` by "_from_reflector".
* more refactoringrohan.prinja2015-10-301-1/+1
|
* Support the updated spidermonkey bindingsMichael Wu2015-10-141-6/+6
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-5/+5
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-1/+0
| | | | This merges import blocks that were reported by tidy as unmerged.
* sort all usesJohann Tuffe2015-08-201-6/+6
|
* Refactor #[jstraceable] to #[derive(JSTraceable)]David Winslow2015-07-011-5/+3
| | | | fixes #6524
* Fix some warnings caused by the SM upgradeMichael Wu2015-06-191-1/+1
|
* Upgrade to SM 39Michael Wu2015-06-191-35/+82
|
* Throw a TypeError when get_callable_property encounters a value that isn't ↵Ms2ger2015-06-141-5/+4
| | | | callable.
* Return Fallible from get_callable_property.Ms2ger2015-06-141-5/+5
|
* Implement Clone for Copy types.Ms2ger2015-04-281-1/+1
|
* Fix various build warnings.Ms2ger2015-03-201-1/+1
|
* Rename GetContext to get_context.Ms2ger2015-01-291-1/+1
|
* Rename WrapCallThisObject to wrap_call_this_object.Ms2ger2015-01-291-2/+2
|
* Rename GetCallableProperty to get_callable_property.Ms2ger2015-01-291-1/+2
|
* auto merge of #4739 : Manishearth/servo/warning-patrol, r=Ms2gerbors-servo2015-01-281-1/+1
|\
| * raw_pointer_deriving -> raw_pointer_deriveManish Goregaokar2015-01-281-1/+1
| |
* | auto merge of #4717 : Ms2ger/servo/doc-proxy, r=saneyukibors-servo2015-01-281-2/+0
|\ \ | |/ |/|
| * Require documentation for all code in dom::bindings (excluding ↵Ms2ger2015-01-251-2/+0
| | | | | | | | dom::bindings::codegen).