Commit graph

2018 commits

Author SHA1 Message Date
Ms2ger
394508953e Qualify compositor_msg::ReadyState. 2015-01-04 16:24:03 +01:00
Ms2ger
193c39294b Qualify script_traits enums. 2015-01-04 16:19:54 +01:00
Ms2ger
b94140f55e Qualify image_cache_task::Msg. 2015-01-04 16:10:04 +01:00
Ms2ger
fb595d8202 Re-export devtools enums. 2015-01-04 16:07:01 +01:00
Ms2ger
986d2b822c Qualify CanvasMsg. 2015-01-04 16:03:55 +01:00
Manish Goregaokar
6225bc6309 Mention MutHeap in DESIGN.md 2015-01-04 20:23:56 +05:30
Ms2ger
f689093d2b Qualify JSGCTraceKind. 2015-01-04 15:53:21 +01:00
Ms2ger
323daffbf0 Qualify resource_task enums. 2015-01-04 15:47:46 +01:00
Ms2ger
b16f9cea09 Qualify hyper enums. 2015-01-04 15:26:40 +01:00
Ms2ger
3be587606f Import ast::ComponentValue more consistently. 2015-01-04 15:23:08 +01:00
Ms2ger
3e283da8b1 Qualify stb_image::LoadResult. 2015-01-04 15:18:23 +01:00
Ms2ger
1130c1dced Qualify PixelsByColorType. 2015-01-04 15:18:19 +01:00
Ms2ger
d759b07299 Qualify libstyle enums. 2015-01-04 15:04:35 +01:00
Ms2ger
9068e62f2a Qualify Azure enums. 2015-01-04 15:04:26 +01:00
Ms2ger
be5e9b4278 Remove some obsolete formatting traits. 2015-01-04 11:59:51 +01:00
Ms2ger
76b8810a86 Disambiguate trait object reference syntax. 2015-01-04 11:59:51 +01:00
Ms2ger
121904dd89 Slice some fixed-size arrays. 2015-01-04 11:59:50 +01:00
Ms2ger
af9a8bdc73 Stop using div_rem. 2015-01-04 11:59:50 +01:00
Ms2ger
138081ba25 Rename the PaintState variants. 2015-01-04 11:59:49 +01:00
Ms2ger
4d47817bae Rename TimeProfilerCategory variants. 2015-01-04 11:59:23 +01:00
Ms2ger
d3e226239e Don't qualify Ok/Err in image_cache_task. 2015-01-04 11:59:23 +01:00
Ms2ger
de0caf8761 Rename constellation_msg::Msg variants. 2015-01-04 11:59:21 +01:00
Ms2ger
d5cc791d31 Rename paint_task::Msg variants. 2015-01-04 11:06:07 +01:00
Manish Goregaokar
077bd840a3 Ban Cell<JS<T>> and Cell<JSVal<T>> (partial #4336) 2015-01-04 15:22:11 +05:30
Bharath M R
50d53c9fa3 Issue 4497: Converts WorkerPostMessage into a Runnable.
Implements WorkerMessage handler implementing Runnable trait.
2015-01-04 12:26:27 +05:30
bors-servo
dd84ae6bfb auto merge of #4539 : jimrhoskins/servo/default-view, r=jdm
Fixes: https://github.com/servo/servo/issues/4518
2015-01-03 15:51:45 -07:00
bors-servo
e8fac3681b auto merge of #4535 : servo/servo/pre-rustup_20141221, r=jdm
This prepares for the rust upgrade currently being conducted.
2015-01-03 14:39:46 -07:00
Jim Hoskins
c10049327a Implement Document.defaultView - fixes #4518 2015-01-03 12:08:58 -05:00
Ms2ger
fbf257f878 Remove obsolete attributes. 2015-01-03 10:06:17 +01:00
Martin Robinson
c0b397322f Stall PaintTask exit until it can release all buffers
It is possible for a PaintTask to start exiting soon after sending new
buffers to the compositor. In that case, the compositor should return
the now unnecessary buffers to the PaintTask so that it can properly
free them.

To accomplish this, the compositor now keeps a hash map of paint task
channels per pipeline id. When a PaintTask exists, the constellation
informs the compositor that it can forget about it. Additionally, the
PaintTask should not wait for any buffers when the engine is doing a
complete shutdown. In that case, the compositor is already halted and
has simply let all buffers leak. We pipe through the shutdown type when
destroying the pipeline to make this decision.

Fixes #2641.
2015-01-02 15:20:32 -08:00
Ms2ger
d5c64f7f30 Remove dummy deriving attributes.
Traits cannot be derived for typedefs. The upcoming rust update will make
those attributes compilation errors.
2015-01-02 19:04:20 +01:00
Ms2ger
b51e83819d Fix obsolete format traits.
They are to be removed from the language in the next rust upgrade.
2015-01-02 19:04:18 +01:00
Megha Gupta
5031096853 Fix inheritance enums for htmlmediaelement and htmltablecellelement 2015-01-02 23:10:32 +05:30
Megha Gupta
f85b9e37cc Add HTMLElementTypeId enum (fixes #3625) 2015-01-02 23:10:31 +05:30
bors-servo
141b5d038f auto merge of #4526 : servo/servo/deref-1, r=Manishearth
This is a start towards fixing #3868. Not all callers have been fixed yet, so the `Deref` implementation remains for now.
2015-01-02 09:22:51 -07:00
Ms2ger
203d1669c8 Construct a new JSRef in Root::r(). 2015-01-02 10:28:24 +01:00
bors-servo
a61417e2a8 auto merge of #4528 : Ms2ger/servo/is_not_null, r=larsbergstrom
This method is deprecated in rust master; removing its users in advance will
make a future rust upgrade smoother.
2015-01-01 14:42:44 -07:00
Ms2ger
43eecf6e7a Stop using ptr.is_not_null() in script.
This method is deprecated in rust master; removing its users in advance will
make a future rust upgrade smoother.
2015-01-01 22:19:34 +01:00
Ms2ger
a55e1d1974 Remove spurious spaces from lints/mod.rs. 2015-01-01 21:25:31 +01:00
Ms2ger
6077ed0ce8 Rename GlobalRoot::root_ref() to GlobalRoot::r() for consistency. 2015-01-01 20:38:04 +01:00
Ms2ger
d09d245ee1 Remove unsound Root::deref() calls in HTML elements. 2015-01-01 20:36:45 +01:00
Ms2ger
6032a2f8af Remove unsound Root::deref() calls in DOMParser::ParseFromString.
Note that Root::clone() calls through to JSRef::clone() due to autoderef.
2015-01-01 20:36:45 +01:00
Ms2ger
ca9b5353d8 Remove unsound Root::deref() call in Document::set_quirks_mode. 2015-01-01 20:36:45 +01:00
Ms2ger
eb715a7bf8 Convince borrowck that Document::createNodeList is sound. 2015-01-01 20:36:44 +01:00
Ms2ger
e5ae267e80 Remove unsound Root::deref() call in Document::get_html_element. 2015-01-01 20:36:44 +01:00
Ms2ger
ff96d8ccd4 Remove unsound Root::deref() calls in CSSStyleDeclaration. 2015-01-01 20:36:44 +01:00
Ms2ger
740ee84809 Remove unsound Root::deref() call in BrowserContext::create_window_proxy. 2015-01-01 20:36:44 +01:00
Ms2ger
925058ef26 Remove unsound Root::deref() calls in XMLHttpRequest. 2015-01-01 20:36:44 +01:00
Ms2ger
a094c0a7f3 Remove unsound Root::deref() call in Attr::set_value.
This changes those calls whose unsoundness was not picked up by the type system
because of a lifetime constraint that cannot be expressed at this time.
2015-01-01 20:36:44 +01:00
Ms2ger
1dad710063 Replace Root::deref() calls by Root::r() calls where possible.
This changes those calls that were already sound.
2015-01-01 20:36:43 +01:00