aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/worker.rs
Commit message (Collapse)AuthorAgeFilesLines
* Force all messages to worker tasks to send a TrustedWorkerAddress along with ↵Josh Matthews2014-12-291-9/+8
| | | | the ScriptMsg. This ensures that the main-thread Worker object is rooted for as long as there are events in flight or being processed.
* Allow refcounting arbitrary DOM objects in concert with the GC to enable ↵Josh Matthews2014-12-291-41/+9
| | | | safe, asynchronous/cross-task references to pinned objects.
* Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-6/+1
| | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports
* script: Remove glob imports added in #4405Tetsuharu OHZEKI2014-12-191-3/+2
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-4/+6
|
* Updated reflect_dom_object to be passed by valueMichael Booth2014-11-301-2/+2
|
* Rename untraceable!() to no_jsmanaged_fields!(). References issue #3671Ray Clanan2014-10-231-1/+1
|
* Macroize event handler getters and setters.Tetsuharu OHZEKI2014-10-231-9/+1
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Throw DataCloneError from worker postMessage if structured clone failsEhsan Akhgari2014-10-151-6/+11
| | | | This fixes #3248.
* Simple privatizationsTim Taubert2014-10-131-0/+1
|
* Remove Untraceable from dedicatedglobalworkerscope.rsManish Goregaokar2014-10-051-1/+3
|
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000)Keegan McAllister2014-09-201-3/+3
|
* More progress in the &JSRef -> JSRef conversionCameron Zwarich2014-09-201-5/+5
| | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`.
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-4/+4
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Add unrooted_must_root lint for enums and structs containing JS<T>, as well ↵Manish Goregaokar2014-09-161-0/+1
| | | | | | | as functions with JS<T> in their parameter list For safe wrappers over JS<T> (eg Temporary<T>) use #[allow(unrooted_must_root)]. For all other types containing a #[must_root] value, annotate the type with #[must_root] to ensure that it is never used unrooted
* Cargoify servoJack Moffitt2014-09-081-0/+160