Commit graph

6571 commits

Author SHA1 Message Date
bors-servo
0549ed3c67 auto merge of #3593 : zwarich/servo/compositor-cleanup, r=mrobinson 2014-10-06 18:24:32 -06:00
Cameron Zwarich
54f9bb0eea Cleanup some code formatting in compositing/compositor.rs 2014-10-06 15:40:38 -07:00
bors-servo
1aa13bb31f auto merge of #3591 : zwarich/servo/style-properties-mut, r=jdm
I would have put the attribute on the binding itself, but that doesn't
appear to be possible yet.
2014-10-06 15:57:34 -06:00
Cameron Zwarich
0ede734018 Silence unused_mut warnings in generated style/properties/mod.rs
I would have put the attribute on the binding itself, but that doesn't
appear to be possible yet.
2014-10-06 14:37:47 -07:00
bors-servo
ffa992864d auto merge of #3587 : Ms2ger/servo/wptrunner-update, r=jdm 2014-10-06 14:45:31 -06:00
Ms2ger
ff42493d87 Update to wptrunner 1.3, which actually runs. 2014-10-06 22:42:49 +02:00
bors-servo
06489fcc42 auto merge of #3571 : Ms2ger/servo/rewrite-js-url, r=jdm
This should make it clearer that we always pass a URL to Document::new, and
avoids an unnecessary unwrap() call.
2014-10-06 12:21:30 -06:00
bors-servo
ae4c9be536 auto merge of #3573 : Manishearth/servo/warnings, r=jdm 2014-10-06 11:51:32 -06:00
bors-servo
8c858b4575 auto merge of #3572 : Ms2ger/servo/gc, r=metajack 2014-10-06 11:24:31 -06:00
bors-servo
f60e985e6b auto merge of #3570 : Ms2ger/servo/rc-scripttask, r=metajack
The ScriptTask is owned by the proc in ScriptTaskFactory::create.

We started using a managed box for what would eventually become ScriptTask in
d21d27e086.
2014-10-06 11:00:37 -06:00
bors-servo
b34df7c343 auto merge of #3518 : Manishearth/servo/trace-cleanup, r=jdm
Now that we use `JSTraceable` (defined in `script`), we can create arbitrary implementations on non-`script` types (eg `Url` or `RequestHeaderCollection`) where in the past we had to rely on `Traceable` and `Untraceable` to achieve cross-crate impls of `Encodable`.

This removes the two completely. They can be reintroduced if required, though the `untraceable!` macro should suffice.

Fixes #3469
2014-10-06 10:15:33 -06:00
bors-servo
8de734f00a auto merge of #3581 : Ms2ger/servo/pin-cargo, r=metajack
Relevant to #3580.
2014-10-06 09:33:32 -06:00
Ms2ger
3659fe142b Fetch the Cargo nightly over HTTP. 2014-10-06 17:29:14 +02:00
Ms2ger
e4eaf88179 Pin Cargo to the 2014-10-02 nightly.
Relevant to #3580.
2014-10-06 17:05:06 +02:00
Manish Goregaokar
1aa98f866a Remove unused mutable variable 2014-10-05 23:28:27 +05:30
Manish Goregaokar
427b3b7733 Remove Traceable/Untraceable entirely 2014-10-05 22:58:00 +05:30
Manish Goregaokar
b7c3a1cd5d Remove Untraceable from utils.rs 2014-10-05 22:53:52 +05:30
Manish Goregaokar
dcbb941300 Remove Traceable from callback.rs 2014-10-05 22:53:52 +05:30
Manish Goregaokar
707a2870fa Remove Traceable/Untraceable from page.rs 2014-10-05 22:53:50 +05:30
Manish Goregaokar
22567762a0 Remove Traceable/Untraceable from window.rs 2014-10-05 22:39:24 +05:30
Manish Goregaokar
a8f96ddfb2 Remove Traceable/Untraceable from node.rs 2014-10-05 22:36:08 +05:30
Manish Goregaokar
5c8a45d74e Remove Traceable/Untraceable from xmlhttprequest.rs 2014-10-05 22:32:10 +05:30
Manish Goregaokar
87df84fcf8 Remove Untraceable from workerlocation.rs 2014-10-05 22:27:54 +05:30
Manish Goregaokar
0fdee70cbf Remove Untraceable from workerglobalscope.rs 2014-10-05 22:27:52 +05:30
Manish Goregaokar
16d12d0a82 Remove Traceable from urlsearchparams.rs 2014-10-05 22:26:52 +05:30
Manish Goregaokar
1d2c15e657 Remove Traceable from uievent.rs 2014-10-05 22:26:50 +05:30
Manish Goregaokar
a8997e9638 Remove Untraceable from treewalker.rs 2014-10-05 22:23:02 +05:30
Manish Goregaokar
df8b8ab24f Remove Traceable from mouseevent.rs 2014-10-05 22:22:59 +05:30
Manish Goregaokar
d084523a84 Remove Traceable from messageevent.rs 2014-10-05 22:16:41 +05:30
Manish Goregaokar
b322db8866 Remove Untraceable from htmlimageelement.rs 2014-10-05 22:16:41 +05:30
Manish Goregaokar
dcda2cb94b Remove Traceable from htmliframelement.rs 2014-10-05 22:16:41 +05:30
Manish Goregaokar
c7bf94680f Remove Traceable from htmlcanvaselement.rs 2014-10-05 22:16:38 +05:30
Manish Goregaokar
d9d3ddc865 Remove Traceable from formdata.rs 2014-10-05 22:13:16 +05:30
Manish Goregaokar
25af998842 Remove Traceable from eventtarget.rs 2014-10-05 22:13:16 +05:30
Manish Goregaokar
7e1e76f8b0 Remove Traceable from event.rs 2014-10-05 22:13:14 +05:30
Manish Goregaokar
96f6c2fd67 Remove Traceable from element.rs 2014-10-05 22:09:12 +05:30
Manish Goregaokar
4f362ab5e6 Remove Untraceable/Traceable from document.rs 2014-10-05 21:58:59 +05:30
Manish Goregaokar
ad84dd7e47 Remove Untraceable from canvasrenderingcontext2d.rs 2014-10-05 21:36:19 +05:30
Manish Goregaokar
7defa5e941 Remove Untraceable from dedicatedglobalworkerscope.rs 2014-10-05 21:36:17 +05:30
Manish Goregaokar
63dd3070d1 Remove Traceable from customevent.rs 2014-10-05 21:33:45 +05:30
Manish Goregaokar
4f574b4732 Remove Traceable from characterdata.rs 2014-10-05 21:33:43 +05:30
Manish Goregaokar
8de00ab999 Remove Traceable from browsercontext.rs 2014-10-05 21:12:26 +05:30
Manish Goregaokar
b908d5accb Remove Traceable from attr.rs 2014-10-05 21:12:26 +05:30
Ms2ger
e8de0d2b5e Remove the managed_boxes feature. 2014-10-04 15:30:42 +02:00
Ms2ger
31f8100b9d Cleanup URL handling in ScriptTask::load a bit.
This should make it clearer that we always pass a URL to Document::new, and
avoids an unnecessary unwrap() call.
2014-10-04 15:19:08 +02:00
Ms2ger
208afda890 Stop reference-counting the ScriptTask.
The ScriptTask is owned by the proc in ScriptTaskFactory::create.

We started using a managed box for what would eventually become ScriptTask in
d21d27e086.
2014-10-04 13:14:23 +02:00
bors-servo
d23e45fe5d auto merge of #3569 : andrewguertin/servo/mutnullablejs, r=Manishearth
https://github.com/servo/servo/issues/3564
2014-10-03 18:45:27 -06:00
Andrew Guertin
815a701455 Replace Cell<Option<JS<T>>> with MutNullableJS<T>
https://github.com/servo/servo/issues/3564
2014-10-03 20:08:05 -04:00
bors-servo
a6cd13c890 auto merge of #3567 : mrobinson/servo/optimizer, r=zwarich
The page_rect passed to DisplayListOptimizer is relative to the
RenderLayer origin, but the display list components are relative to the
page origin. Before passing the page rect to the display list, we
translate it by the RenderLayer position.
2014-10-03 16:27:25 -06:00
Martin Robinson
ec29723f2b Account for RenderLayer position when optimizing display list
The page_rect passed to DisplayListOptimizer is relative to the
RenderLayer origin, but the display list components are relative to the
page origin. Before passing the page rect to the display list, we
translate it by the RenderLayer position.
2014-10-03 14:55:03 -07:00