servo/components
bors-servo 2c259f477c auto merge of #4057 : jdm/servo/refcountdom, r=Ms2ger
This replaces the specialized TrustedXHRAddress and TrustedWorkerAddress code that was used for the same purpose. A non-zero refcount pins the given DOM object's reflector and prevents it from being GCed even when there are no other outstanding references visible to SpiderMonkey. This will enable us to implement asynchronous operations that refer to particular DOM objects (such as "queue a task to fire a simple event named load at the iframe element" from the spec) safely and conveniently, and paves the way for things like asynchronous network responses.

Some concerns about the resulting size of XHR progress messages have been expressed, but I believe optimizations to reduce that can be implemented in subsequent PRs.

r? @Ms2ger - note in particular the changes to the worker lifetime code. I couldn't figure out how to achieve an identical lifetime to the previous addref/release pairing, and I also was having trouble figuring out why the existing setup was safe. The new implementation now holds the main script task Worker object alive via the TrustedWorkerAddress field in the dedicated worker global scope, which is a significant difference.
2014-12-29 11:57:45 -07:00
..
canvas Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. 2014-12-17 15:19:45 -05:00
compositing Update layer bounds on resize 2014-12-18 07:02:14 -08:00
devtools Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. 2014-12-17 15:19:45 -05:00
devtools_traits Return real page titles and URLs for devtools tab choices. 2014-12-12 22:38:55 +01:00
gfx gfx: to_string() -> into_string() 2014-12-27 14:48:35 +01:00
layout Remove some transmute calls. 2014-12-27 17:07:32 +01:00
layout_traits Rename RenderChan -> PaintChan 2014-12-08 14:05:50 +09:00
msg compositing: Implement cursor per CSS3-UI § 8.1.1 in the CEF/Mac port. 2014-12-17 22:58:52 -08:00
net net: Remove glob imports added in #4405 2014-12-19 00:47:09 +09:00
plugins auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallister 2014-12-27 22:12:45 -07:00
script auto merge of #4057 : jdm/servo/refcountdom, r=Ms2ger 2014-12-29 11:57:45 -07:00
script_traits ports/cef: Implement accelerated compositing for the CEF port. 2014-12-10 08:35:47 -08:00
servo servo: to_string() -> into_string() 2014-12-27 14:48:36 +01:00
style style: to_string() -> into_string() 2014-12-27 14:48:35 +01:00
util gfx: Refactor the border drawing code and split out fragment display 2014-12-22 14:48:55 -08:00