Commit graph

5393 commits

Author SHA1 Message Date
Ms2ger
c5bb7219e2 Stop exposing XMLHttpRequestEventTarget on the window object. 2014-07-12 21:41:15 +02:00
Ms2ger
6374fba0f3 Add a test for interfaces exposed on the window object. 2014-07-12 21:34:27 +02:00
Ms2ger
be00df4be6 Remove references to WindowProxy as an interface. 2014-07-12 20:32:46 +02:00
Ms2ger
8c8051800f Merge pull request #2809 from Manishearth/sendparam
Allow URLSearchParams to be passed to XHR Send(); r=jdm
2014-07-12 17:38:50 +02:00
Manish Goregaokar
678dc10c4f Allow URLSearchParams to be passed to XHR Send() 2014-07-12 20:25:28 +05:30
Ms2ger
fd167f8922 Store proxy handlers in a static array rather than a hashtable per window. 2014-07-12 15:26:36 +02:00
Josh Matthews
f47b66b0c1 Merge pull request #2807 from Ms2ger/pyflakes-2
Remove some dead code and fix some pyflakes warnings in CodegenRust.py.
2014-07-11 20:48:41 -04:00
Josh Matthews
3a22ee3237 Merge pull request #2801 from Ms2ger/wrap-temp
Return a Temporary from *Binding::Wrap.
2014-07-11 20:48:22 -04:00
schaars
671a038fda Update run.py
None and False are better values here (thanks to @jgraham).
2014-07-11 17:46:01 +02:00
Pierre Louis Aublin
7f62ec63ea adding 2 new default arguments when running make check-wpt so that it does not fail saying KeyError: 'debug_args' or KeyError: 'interactive' 2014-07-11 16:41:36 +02:00
Ms2ger
a867e4bd52 Remove some dead code and fix some pyflakes warnings in CodegenRust.py. 2014-07-11 14:51:43 +02:00
Simon Sapin
8cf004e28a Merge pull request #2806 from Ms2ger/tidy
Improve and extend tidy.py, and run it on Travis.
2014-07-11 12:57:48 +01:00
Ms2ger
44a76e542f Run tidy.py on Travis. 2014-07-11 13:21:22 +02:00
Ms2ger
f65da65426 Test for carriage returns in tidy.py. 2014-07-11 13:21:22 +02:00
Ms2ger
a283f7801b Test for tabs in tidy.py. 2014-07-11 13:21:22 +02:00
Ms2ger
4ff4b5833d Test for missing newlines at end of file in tidy.py. 2014-07-11 13:21:17 +02:00
Ms2ger
b1493519c9 Test for trailing spaces in tidy.py. 2014-07-11 13:14:12 +02:00
Ms2ger
695fe12863 Fix PEP8 violations in tidy.py. 2014-07-11 13:06:21 +02:00
Ms2ger
65c61cde8b Stop using fileinput in tidy.py.
The code is expressed much more clearly with a loop over the files instead.
2014-07-11 13:03:48 +02:00
Ms2ger
016457722f Remove unused code from tidy.py. 2014-07-11 13:02:58 +02:00
Ms2ger
eb7654719a Remove a glob import from tidy.py. 2014-07-11 13:02:35 +02:00
Ms2ger
fed50cca1e Correct the allowed MPL licenses in licenseck. 2014-07-11 12:55:53 +02:00
Jack Moffitt
11d9ae6103 Merge pull request #2804 from glennw/enable-phf
Enable rust-phf build and bump rust-phf submodule ptr.
2014-07-10 22:37:46 -06:00
Glenn Watson
28031801de Enable rust-phf build and bump rust-phf submodule ptr. 2014-07-11 13:44:37 +10:00
Nicholas Nethercote
87f293041e Include some jemalloc stats in the -m measurements. 2014-07-10 17:26:02 -07:00
Cameron Zwarich
b267eb7b8e Merge pull request #2799 from zwarich/compositor-transactions
Batch buffer rendering requests and their replies in transactions
2014-07-10 10:49:49 -07:00
Ms2ger
439bc78cab Return a Temporary from *Binding::Wrap.
Returning a JS<T> is GC-unsafe.

This commit also includes some cleanup around Node and Document reflection.
2014-07-10 16:45:41 +02:00
Simon Sapin
eb9689e09b Enable email notifications from Travis CI
http://docs.travis-ci.com/user/notifications/
> By default, email notifications will be sent to the committer and the commit author, if they are members of the repository (that is, they have push or admin permissions for public repositories, or if they have pull, push or admin permissions for private repositories).
>
> And it will by default send emails when, on the given branch:
>
> * a build was just broken or still is broken
> * a previously broken build was just fixed
2014-07-10 10:19:49 +01:00
Simon Sapin
360d5d01d8 Revert "Enable email notifications from Travis CI"
This reverts commit ffb502abcd.
2014-07-10 10:18:55 +01:00
Simon Sapin
ffb502abcd Enable email notifications from Travis CI
http://docs.travis-ci.com/user/notifications/
> By default, email notifications will be sent to the committer and the commit author, if they are members of the repository (that is, they have push or admin permissions for public repositories, or if they have pull, push or admin permissions for private repositories).
>
> And it will by default send emails when, on the given branch:
>
> * a build was just broken or still is broken
> * a previously broken build was just fixed
2014-07-10 10:17:51 +01:00
Cameron Zwarich
fbd2b588ed Remove FIXMEs related to batching buffer requests 2014-07-10 01:31:48 -07:00
Cameron Zwarich
acc0daa519 Make the CompositorTask Paint message take multiple replies 2014-07-10 01:31:48 -07:00
Cameron Zwarich
340d9caba5 Make RenderListener::paint take multiple replies 2014-07-10 01:31:48 -07:00
Cameron Zwarich
a832acc4c8 Batch replies in RenderTask::render 2014-07-10 01:31:48 -07:00
Cameron Zwarich
ec8f71d4b5 Check whether the render task has permission to paint before painting
This matches the behavior of RenderMsg. It doesn't make sense to go to
the trouble of rendering if the render task doesn't have permission to
paint in the first place.
2014-07-10 01:31:48 -07:00
Cameron Zwarich
8d56fa37be Make ReRenderMsg take multiple ReRenderRequests 2014-07-10 01:31:48 -07:00
Cameron Zwarich
0f21d6be12 Only clone the RenderChan once per Pipeline 2014-07-10 01:31:48 -07:00
Cameron Zwarich
a378f3e680 Group ReRenderRequests by PipelineId 2014-07-10 01:31:48 -07:00
Cameron Zwarich
25e8077681 Batch ReRenderRequests rather than render_task::Msg
Make get_buffer_requests_recursively create a ReRenderRequest rather
than a ReRenderMsg, and have its caller create the ReRenderMsg from
the ReRenderRequest.
2014-07-10 01:31:47 -07:00
Cameron Zwarich
5611e34379 Separate the contents of ReRenderMsg into its own type
Make a ReRenderRequest type to represent the contents of a ReRenderMsg.
Currently, ReRenderMsg just takes a single one, but it in the future it
will take multiple requests.
2014-07-10 01:31:47 -07:00
Cameron Zwarich
adfd6492ad Make send_buffer_requests_recursively batch messages
Also, rename it to get_buffer_requests_recursively to reflect that the
caller has to send all of the batched messages itself.
2014-07-10 01:31:47 -07:00
Cameron Zwarich
d4e15697c2 Merge pull request #2798 from mrobinson/more-rust-layers-cleanup
More rust layers cleanup
2014-07-10 01:20:39 -07:00
Martin Robinson
ecb5cc8091 Update to latest rust-layers 2014-07-09 15:51:44 -07:00
Martin Robinson
b743448b52 Remove page_size member from CompositorData
The page size is always the same as the layer boundaries since,
SetLayerClipRect was always called after layer creation.
2014-07-09 15:51:44 -07:00
Martin Robinson
601b8ec970 Remove support for hiding compositor layers
This is currently unused, because we always know the size of the layer.
2014-07-09 15:51:44 -07:00
Martin Robinson
1f21d3bd2f Remove occlusion code from compositor
This code tried to prevent buffer requests from parts of layers that
were occluded by other layers. This doesn't really make sense when
layers can potentially be semi-opaque, and also seems to have not been
totally functional.
2014-07-09 15:51:44 -07:00
Martin Robinson
71225e87ca Update to latest rust-layers
Layers now store their complete boundaries, so we can eliminate the
various ways these were stored in Servo.
2014-07-09 15:51:42 -07:00
Patrick Walton
78eeb8e2e7 Revert "Implement Element.matches()."
This reverts commit b6edd5318f.
2014-07-09 14:58:38 -07:00
Patrick Walton
10a0f984c3 Merge pull request #2772 from saneyuki/match
Implement Element.matches().
2014-07-09 14:30:30 -07:00
Patrick Walton
cb7828c76e Merge pull request #2789 from zwarich/compositor-events
Move compositor event handling code to a new `events` module
2014-07-09 14:29:27 -07:00