Commit graph

5607 commits

Author SHA1 Message Date
Matt Brubeck
2d7246996b Change Box to Fragment in fragment.rs doc comment 2014-07-29 11:23:08 -07:00
Cameron Zwarich
3c89e7a8e7 Merge pull request #2946 from glennw/update-layers
Bump submodule ptr to get texture filter fixes in rust-layers.
2014-07-29 10:19:39 -07:00
Ms2ger
4da88f0ecc Merge pull request #2947 from Ms2ger/delete-trap
Implement the delete proxy trap (fixes #2213); r=jdm
2014-07-29 17:22:06 +02:00
Sankha Narayan Guria
6b44f92c4f Implement the delete proxy trap (fixes #2213). 2014-07-29 13:26:02 +02:00
Glenn Watson
dcc1d706ec Bump submodule ptr to get texture filter fixes in rust-layers. 2014-07-29 15:22:48 +10:00
Cameron Zwarich
1f04ce807d Merge pull request #2945 from mrobinson/disentangle-scale
Untangle contents scale from rust-layers
2014-07-28 20:51:39 -07:00
Martin Robinson
2a612fd9c5 Layer bounds and buffer requests should use layer coordinates
Instead of passing a scaling factor down to rust-layers and keeping all
layers in page coordinates, work in layer coordinates. This is much more
natural, as the compositor and rust-layer should really need to care
about any potential contents zoom. It will also allow us to move more
code into rust-layers in a later commit.
2014-07-28 20:04:30 -07:00
Martin Robinson
fb51bc79ad Move BufferRequest request code from CompositorData into Compositor
Once we remove the integration with Servo's layer scaling, this will
make it easier pull requesting buffers into rust-layers.
2014-07-28 17:47:44 -07:00
Ms2ger
32740b3012 Merge pull request #2942 from Ms2ger/run-wpt-2
Run web-platform-tests on Travis; r=jgraham+larsberg
2014-07-28 23:22:42 +02:00
Ms2ger
94d85c3edd Pin wptrunner to version 1.0. 2014-07-28 22:24:16 +02:00
Ms2ger
4b85164a1a Remove assignments to args.metadata_root and args.tests_root in run.py. 2014-07-28 22:24:16 +02:00
Ms2ger
6d120d6961 Cleanup run.py and config.ini. 2014-07-28 22:24:16 +02:00
Ms2ger
925f83d4c6 Expect an unexpected timeout in responsetext-decoding.htm. 2014-07-28 22:24:16 +02:00
Ms2ger
7e1215be3c Remove the expected timeout for EventTarget-dispatchEvent.html.
The test only times out in debug builds, and our continuous integration runs
non-debug builds.
2014-07-28 22:24:16 +02:00
Ms2ger
e74c584861 Run wpt on Travis. 2014-07-28 22:24:15 +02:00
Ms2ger
130f56027e Make wpt run as part of make check. 2014-07-28 22:24:15 +02:00
Ms2ger
593b538817 Don't ignore errors in wpt/run.sh. 2014-07-28 22:24:15 +02:00
Ms2ger
5d85510d95 Make wpt use mach-style logging by default. 2014-07-28 22:24:15 +02:00
Ms2ger
326671577c Update run.sh and run.py for changes to wptrunner. 2014-07-28 22:24:15 +02:00
Ms2ger
e2ccda060b Update expectations. 2014-07-28 22:24:15 +02:00
Ms2ger
e0ea494b9c Disable Range tests. 2014-07-28 22:24:15 +02:00
Patrick Walton
50a5008b85 Merge pull request #2941 from bjwbell/change-255-to-1-for-rgba
255 -> 1.0 for color::rgba + remove dead code lint
2014-07-28 13:19:40 -07:00
Ms2ger
63b0e1568f Merge pull request #2937 from Ms2ger/2936-CGInterfaceTrait
Generate FooMethods traits automatically; r=jdm
2014-07-28 10:22:44 +02:00
Bryan Bell
32545116a7 255 -> 1.0 for color::rgba + remove dead code lint
In build_display_list_abs (block.rs) and handle_reflow (layout_task.rs)
255 is incorrectly used instead of 1.0 for color::rgba (255 is correct
with color::rgb but *not* color::rgba).

In cors.rs remove the dead code warning for fn clear.
The function shouldn't be removed since it'll be used in the future
(fn clear is an implementation of http://fetch.spec.whatwg.org/#concept-cache-clear).
2014-07-28 01:20:01 -07:00
Manish Goregaokar
c2a8baff46 Merge pull request #2939 from glennw/reftest-mode
Reftest harness explicitly knows whether to run servo in cpu or gpu mode.
2014-07-28 07:56:18 +05:30
Glenn Watson
6cc44bcc6d Reftest harness explicitly knows whether to run servo in cpu or
gpu mode. This will make it easier to support different expected
behaviours depending on the rendering mode.
2014-07-28 08:42:14 +10:00
Ms2ger
944d8b00b0 Call the generated rather than the hand-written traits (fixes #2936). 2014-07-27 23:00:17 +02:00
Ms2ger
38a658d561 Generate traits for the generated bindings code to call. 2014-07-27 22:59:46 +02:00
Ms2ger
bb1c16c9af Remove the unused lifetime variable from XMLHttpRequestMethods.
The lifetime applies to the JSRef type the trait is implemented on, not to the
trait itself.
2014-07-27 22:54:51 +02:00
Ms2ger
0f9942a2c6 Remove OverrideMimeType from XMLHttpRequestMethods.
It is not present in the IDL, and is not actually implemented.
2014-07-27 22:54:51 +02:00
Ms2ger
25fb906c6f Comment out the stringifier in URLSearchParams.webidl.
We don't currently support stringifiers.
2014-07-27 22:54:51 +02:00
Ms2ger
20d7bbffae Add methods that return floating-point types to TestBinding.webidl.
They were already implemented in testbinding.rs, but were forgotten in the IDL
file.
2014-07-27 22:54:51 +02:00
Ms2ger
f392334d2e Comment out references to floating-point arguments with default values.
Our parser does not support floating-point constants, so we can't use default
values for floating-point types.
2014-07-27 22:54:51 +02:00
Ms2ger
6219d5b24b Remove references to nullable any from testbinding.
'any' is inherently nullable, so nullable any doesn't exist.
2014-07-27 22:54:51 +02:00
Ms2ger
0ea0d1ae4b Introduce a PerformanceTimingHelpers trait for the NavigationStartPrecise method. 2014-07-27 22:54:51 +02:00
Ms2ger
3a68b9dbf2 Remove an unused argument to needCx and use it in CGCallGenerator. 2014-07-27 22:54:51 +02:00
Ms2ger
e34bcaaa5f Pass a non-nullable string to NamedGetter.
There is no actual reason to use a nullable string here; all callers have a
string they want to pass.

The issue dates back to the time that DOMString was inherently nullable
(before #1215); this API was not converted back to the non-nullable DOMString
type after that landed.
2014-07-27 22:54:01 +02:00
Josh Matthews
4b516c184d Merge pull request #2933 from Ms2ger/initialize_global
Assert that we're handed a DOM global in initialize_global.
2014-07-27 10:19:46 -04:00
Josh Matthews
7e7af3fca7 Merge pull request #2935 from Ms2ger/location-hash
Implement Location.hash.
2014-07-27 10:19:30 -04:00
Ms2ger
4225cdcac3 Implement Location.hash. 2014-07-27 13:47:54 +02:00
Cameron Zwarich
ecd816cdd6 Merge pull request #2930 from bjwbell/track-rerender-msgs
Track rerender msgs
2014-07-26 17:11:28 -07:00
Bryan Bell
8fd5739afc Track rerender msgs
If the compositor outputs to a file:
* Track rerender msgs sent from the compositor to the render tasks.
* Before outputting, wait until all rerender msgs are processed by the
  render tasks.

Fixes issue https://github.com/servo/servo/issues/2871.
2014-07-26 16:38:34 -07:00
Manish Goregaokar
9937b77dee Merge pull request #2932 from Ms2ger/fixme-347
Add pointers to the relevant issue for some bugs; r=jdm
2014-07-26 22:54:12 +05:30
Ms2ger
692d4e847d Assert that we're handed a DOM global in initialize_global. 2014-07-26 17:16:25 +02:00
Ms2ger
69c49bb764 Merge pull request #2931 from Ms2ger/dom-docs
Add documentation for the DOM; r=jdm
2014-07-26 17:15:12 +02:00
Ms2ger
2ddb32bd2f Add documentation for the DOM. 2014-07-26 17:14:34 +02:00
Ms2ger
875eda69e4 Add pointers to the relevant issue for some bugs. 2014-07-26 17:11:35 +02:00
Cameron Zwarich
5ed95e410b Merge pull request #2928 from zwarich/set-clipping-cleanup
Simplify set_clipping_rect and inline it into its only caller
2014-07-25 15:44:01 -07:00
Cameron Zwarich
32a3c14a1c Simplify set_clipping_rect and inline it into its only caller 2014-07-25 15:08:31 -07:00
Patrick Walton
bf046f753b Merge pull request #2919 from mbrubeck/layout-comments
Update comments about Node::layout_data
2014-07-25 14:36:38 -07:00