Commit graph

10644 commits

Author SHA1 Message Date
James Graham
a5f1810d42 Update CSS tests expected data to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab 2015-06-02 15:01:44 +01:00
bors-servo
64012cb10e Auto merge of #6248 - jgraham:window_supports_clipboard, r=gw
This is important for the SERVO_HEADLESS configuration, because
creating a clipboard on linux creates an X context which then causes
reftest instability.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6248)
<!-- Reviewable:end -->
2015-06-02 05:26:47 -05:00
James Graham
2b396b2485 Allow Window implementations to indicate that they don't support a clipboard.
This is important for the SERVO_HEADLESS configuration, because
creating a clipboard on linux creates an X context which then causes
reftest instability.
2015-06-02 08:57:09 +01:00
bors-servo
ec79881471 Auto merge of #6193 - j3parker:fix-5232, r=nox
fixes #5232

The correct styling shows up in the Firefox devtools (e.g. a caution symbol beside warning messages.)

I couldn't quickly find the corresponding Firefox code that handles log-levels so the values I'm sending are "guesses" (but they work seem to work.) I'll look today because I'm sending "log" for Debug-level, Error for failed asserts etc.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6193)
<!-- Reviewable:end -->
2015-06-01 20:13:30 -05:00
bors-servo
aafb09e971 Auto merge of #6249 - jgraham:css_meta_update, r=larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6249)
<!-- Reviewable:end -->
2015-06-01 18:59:11 -05:00
bors-servo
2fb8d31b06 Auto merge of #6246 - frewsxcv:git-version-check, r=nox
Versions of git before 1.8.1 do not support git submodule --recursive sync
This commit makes update_submodules() exit with an error message if the version is <1.8.1

https://github.com/servo/servo/issues/5637

--------------------

This was originally written by @ringmaster101. The commit was cherry-picked by @frewsxcv and modified to address the comments brought up in #5648

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6246)
<!-- Reviewable:end -->
2015-06-01 18:18:21 -05:00
James Graham
60205088d1 Disable some unstable tests 2015-06-02 00:13:31 +01:00
James Graham
d3c26dfe5c Update CSS tests expected data to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab 2015-06-02 00:11:04 +01:00
Jacob Parker
a00d264c8c fixes #5232, more console log levels sent to devtools 2015-06-01 18:39:43 -04:00
ringmaster101
c4b73e703a Ensure installed git version is above 1.8.1 [Bug #5637]
Versions of git before 1.8.1 do not support git submodule --recursive sync
This commit makes update_submodules() exit with an error message if the version is <1.8.1

https://github.com/servo/servo/issues/5637
2015-06-01 18:37:37 -04:00
bors-servo
d08995e1a9 Auto merge of #6009 - jgraham:webdriver_frames, r=jdm
This moves webdriver_traits into msg to avoid a circular dependency.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6009)
<!-- Reviewable:end -->
2015-06-01 17:30:37 -05:00
James Graham
49f1b13ad9 Add support for switching frames with the webdriver API.
This moves webdriver_traits into msg to avoid a circular dependency.
2015-06-01 23:18:55 +01:00
bors-servo
c724444ccb Auto merge of #6245 - mbrubeck:ndebug, r=SimonSapin
The name of this directive changed in rust-lang/rust#22980.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6245)
<!-- Reviewable:end -->
2015-06-01 15:53:02 -05:00
Matt Brubeck
b78b33b7f5 Change not(ndebug) to debug_assertions
The name of this directive changed in rust-lang/rust#22980.
2015-06-01 13:48:38 -07:00
bors-servo
83a0b78221 Auto merge of #6243 - servo:rustup_20150601, r=nox
cc @nox

r? @Ms2ger @kmcallister @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6243)
<!-- Reviewable:end -->
2015-06-01 11:45:42 -05:00
Manish Goregaokar
f94eced1f5 Upgrade to rustc 1.2.0-dev (474c6e0ae 2015-05-30) 2015-06-01 22:03:27 +05:30
bors-servo
e6c4ca4960 Auto merge of #6220 - metajack:task-info-build-cleanup, r=nox
This is the first bit of build cleanup on my quest to make Cargo faster.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6220)
<!-- Reviewable:end -->
2015-06-01 11:04:23 -05:00
bors-servo
042737793b Auto merge of #6240 - ecoal95:webgl-context-enhancements, r=nox
This implements the `canvas`, `drawingBufferHeight` and `drawingBufferWidth` getters to `WebGLRenderingContext`, and an initial version of `getParameter`.

r? @jdm or @nox?

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6240)
<!-- Reviewable:end -->
2015-06-01 10:20:14 -05:00
ecoal95
eff2bb4310 WebGLRenderingContext getters and getParameter
This implements the `canvas`, `drawingBufferHeight` and
`drawingBufferWidth` getters to `WebGLRenderingContext`, and an initial
version of `getParameter`.
2015-06-01 16:34:51 +02:00
bors-servo
0de09b936e Auto merge of #6183 - ecoal95:webglcontextattributes, r=nox
r? @jdm

I couldn't add the `getContextAttributes` method since `CodegenRust`
doesn't know how to return a dictionary value, I'll take a look at it ASAP.

I think the helper functions can return directly the renderer, since they're used just for that, but I wanted to hear your opinions about this.

By the way I'm interested in adding more serious tests for WebGL, and I think the [khronos conformance suit](https://github.com/KhronosGroup/WebGL/tree/master/conformance-suites/1.0.3) should be the best option.

Should I try to integrate it in wpt, or making a `tests/webgl` directory (or similar) inside the servo tree? (Maybe this question should be for @Ms2ger)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6183)
<!-- Reviewable:end -->
2015-06-01 08:37:48 -05:00
ecoal95
b3ac346749 Add WebGLContextAttributes support
This commit also:
* Allows to return non-rootable dictionaries from
Codegen.
* Merges the two context types in an enum type.
2015-06-01 15:29:38 +02:00
bors-servo
2a8d595289 Auto merge of #6239 - hyowon:drawimage_rects, r=jdm
https://html.spec.whatwg.org/multipage/#dom-context-2d-drawimage
The source and destination rectangles have four points (x, y), (x+w, y), (x+w, y+h), (x, y+h), which doesn't mean rect(x, y, w, h).
cc @yichoi

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6239)
<!-- Reviewable:end -->
2015-06-01 07:36:42 -05:00
Hyowon Kim
a512e9e507 Correct the calculation of rects for drawimage. 2015-06-01 15:58:38 +09:00
bors-servo
713f18a58d Auto merge of #6201 - glennw:jquery-runner, r=metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6201)
<!-- Reviewable:end -->
2015-05-31 21:20:57 -05:00
bors-servo
1d19338a93 Auto merge of #6232 - frewsxcv:update-submodules-dry, r=jdm
This might allow us to merge #5648

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6232)
<!-- Reviewable:end -->
2015-05-31 20:40:21 -05:00
bors-servo
ce3debbc82 Auto merge of #6234 - frewsxcv:patch-2, r=metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6234)
<!-- Reviewable:end -->
2015-05-31 19:08:45 -05:00
Glenn Watson
be7ae0c732 Add jQuery test runner and mach integration. 2015-06-01 09:36:24 +10:00
bors-servo
cdc0b88f69 Auto merge of #6235 - frewsxcv:rm-python-unused-imports, r=metajack
Found using flake8

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6235)
<!-- Reviewable:end -->
2015-05-31 18:28:29 -05:00
Corey Farwell
7bddb1185f Remove unused imports in the Python files
Found using flake8
2015-05-31 19:15:32 -04:00
Corey Farwell
372ef7cd5b Clarify Python version checking conditional 2015-05-31 18:34:52 -04:00
Corey Farwell
9708a386fc DRY submodule updating by utilizing existing update-submodules command
This might allow us to merge #5648
2015-05-31 17:25:26 -04:00
bors-servo
591614347f Auto merge of #6218 - asbaker:update-dependencies-for-6088, r=SimonSapin
Fixes servo/servo#6088

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6218)
<!-- Reviewable:end -->
2015-05-31 16:04:22 -05:00
Tony Baker
262e0efbe1 Update libfontconfig 2015-05-31 17:02:07 -04:00
bors-servo
c63fc4dc13 Auto merge of #6225 - larsbergstrom:linuxcon_test, r=metajack
r? @metajack @mbrubeck @glennw 
(or anybody, really)

This is just a simple version of summit3.html that has only the spinning rust logo and matrix multiplication calculator. Longcat currently has regressed and has both some rendering issues (margins have reappeared between the segments) and it only works as a standalone page and no longer within an iframe. I'll look into those enough to fix or at least log bugs when I get back.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6225)
<!-- Reviewable:end -->
2015-05-30 20:21:42 -05:00
Lars Bergstrom
d569b3c197 Add a simpler concurrency demo for linuxcon 2015-05-30 20:12:33 -05:00
bors-servo
99b79fc248 Auto merge of #6222 - Ms2ger:characterdata, r=nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6222)
<!-- Reviewable:end -->
2015-05-30 06:20:57 -05:00
Jack Moffitt
29fcdce5e0 Switch task_info to use modern Cargo tools. 2015-05-29 17:40:15 -06:00
Tony Baker
2ab1051bd9 Update dependencies for js, fontconfig-sys and mozjs_sys 2015-05-29 17:44:00 -04:00
Ms2ger
18ebdf059c Add a test for non-ASCII strings in CharacterData#substringData. 2015-05-29 19:36:23 +02:00
bors-servo
bf4fc6f388 Auto merge of #5972 - pgonda:remove-children-from-doc, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5972)
<!-- Reviewable:end -->
2015-05-29 12:03:28 -05:00
bors-servo
ab1ba0239d Auto merge of #6216 - Ms2ger:wpt_20150529, r=Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6216)
<!-- Reviewable:end -->
2015-05-29 11:06:04 -05:00
Ms2ger
881fe95cd1 Update web-platform-tests to revision 075802c1d3387d07e31cd5887459d539b1297c8d. 2015-05-29 17:53:09 +02:00
bors-servo
10127d6b5a Auto merge of #6199 - nnethercote:instrument-paint-task-buffer-map, r=pcwalton
Example output from the memory profiler:

```
|       1.04 MiB -- url(http://en.wikipedia.org/wiki/Main_Page)
|          0.26 MiB -- display-list
|          0.78 MiB -- paint-task       # new output line
|             0.78 MiB -- buffer-map    # new output line
```

The buffer maps aren't huge, but they're worth measuring, and it's good
to get the memory profiler plumbing into PaintTask.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6199)
<!-- Reviewable:end -->
2015-05-28 22:45:34 -05:00
bors-servo
15c40d788c Auto merge of #6212 - jgraham:css_meta_buildbot, r=larsbergstrom
Using data from run on buildbot

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6212)
<!-- Reviewable:end -->
2015-05-28 18:54:46 -05:00
James Graham
93da3cc179 Update CSS tests expected data to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
Using data from run on buildbot
2015-05-28 22:52:44 +01:00
bors-servo
09f2977cc9 Auto merge of #6209 - zmike:rendersizing, r=mbrubeck
ensure that the output render size matches the desired size

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6209)
<!-- Reviewable:end -->
2015-05-28 15:41:44 -05:00
Mike Blumenkrantz
2a55a91b9a force cef browser resize check on initial load
ensure that the output render size matches the desired size
2015-05-28 16:04:06 -04:00
bors-servo
c97c0a9f94 Auto merge of #6065 - mmatyas:canvas_antialias, r=jdm
This patch turns on antialiasing for the canvas, and updates the painting code to use the updated Azure DrawOptions defined in servo/rust-azure#158.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6065)
<!-- Reviewable:end -->
2015-05-28 14:59:36 -05:00
bors-servo
952e953237 Auto merge of #6208 - Ms2ger:warning, r=larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6208)
<!-- Reviewable:end -->
2015-05-28 12:45:13 -05:00
Ms2ger
ee65647ee1 Avoid a build warning in the glutin port without the window feature enabled. 2015-05-28 19:35:42 +02:00