Commit graph

3667 commits

Author SHA1 Message Date
Manish Goregaokar
c6787458d9 Move gecko_bindings and gecko_string_cache into the style crate 2016-09-24 19:25:55 +05:30
bors-servo
0dd005eacc Auto merge of #13404 - bholley:manage_node_data, r=Manishearth
stylo: Manage servo node data directly from Servo

Servo-side changes for: https://bugzilla.mozilla.org/show_bug.cgi?id=1304913

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13404)
<!-- Reviewable:end -->
2016-09-24 05:17:29 -05:00
bors-servo
1632320722 Auto merge of #13389 - servo:js, r=emilio
Update js.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13389)
<!-- Reviewable:end -->
2016-09-24 02:46:25 -05:00
Bobby Holley
ba743f59d9 Bug 1304913 - Have Servo manage node data directly without FFI calls. r=Manishearth
MozReview-Commit-ID: H8f8VP18TbM
2016-09-23 19:16:25 -07:00
Bobby Holley
336ad0cefb Regenerate bindings. 2016-09-23 19:03:02 -07:00
Anthony Ramine
1e176a2a9f Update dependencies to use libc++ on OS X 2016-09-23 16:31:53 +02:00
Ms2ger
47ebc748d8 Update js. 2016-09-23 09:53:12 +02:00
bors-servo
ee3f916b65 Auto merge of #13370 - heycam:gecko-arc, r=Manishearth
Rename GeckoArc macro so it sounds like it's useful for already-threadsafely-refcounted objects.

<!-- Please describe your changes on the following line: -->

This is just some renaming.  I will want to use this macro with some objects that support thread-safe refcounting, and which thus don't use `nsMainThreadPtrHolder`.  For fun I pushed a stylo try run with this change: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4b6d906b423e

r? @Manishearth

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13370)
<!-- Reviewable:end -->
2016-09-22 19:15:54 -05:00
bors-servo
ca30ad776b Auto merge of #13367 - heycam:rm-restyle-document, r=Manishearth
Remove unused Servo_RestyleDocument function.

This is no longer used from Gecko.

r? @Manishearth

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's just geckolib unused code removal

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13367)
<!-- Reviewable:end -->
2016-09-22 16:38:20 -05:00
bors-servo
c48666a01a Auto merge of #13374 - servo:improper-atoms, r=jdm
Allow improper_ctypes in atom_macro.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13374)
<!-- Reviewable:end -->
2016-09-22 14:18:55 -05:00
bors-servo
b86420d693 Auto merge of #13351 - servo:rustup, r=Ms2ger
Update Cargo and Rust

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13351)
<!-- Reviewable:end -->
2016-09-22 12:10:05 -05:00
Ms2ger
bf0325cb27 Allow improper_ctypes in atom_macro.
We're ignoring these thousands of warnings anyway.
2016-09-22 15:02:50 +02:00
bors-servo
efdd94a2b6 Auto merge of #13331 - mrobinson:background-repeat, r=emilio
Add support for background-repeat: space and round

<!-- Please describe your changes on the following line: -->

Add support for new background-repeat modes and upgrade Euclid, which now has support for basic arithmetic with Size2D.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

This adds support for more background-repeat modes using the legacy
rasterization backend.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13331)
<!-- Reviewable:end -->
2016-09-22 06:37:10 -05:00
Martin Robinson
68ae97fd0e Add support for background-repeat: space and round
This adds support for more background-repeat modes using the legacy
rendering backend.
2016-09-22 13:20:08 +02:00
Cameron McCormack
bd23790c09 Rename GeckoArc macro so it sounds like it's useful for already-threadsafely-refcounted objects. 2016-09-22 15:29:15 +08:00
Cameron McCormack
d563b498e8 Remove unused Servo_RestyleDocument function. 2016-09-22 14:30:12 +08:00
bors-servo
614e9ca840 Auto merge of #13172 - bholley:display_enum, r=emilio
stylo: avoid traversing non element/text nodes in style and layout

r? @emilio

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13172)
<!-- Reviewable:end -->
2016-09-21 19:59:52 -05:00
bors-servo
ecb44e748b Auto merge of #13269 - emilio:new-bindgen, r=Manishearth
stylo: Use the bindgen rewrite to generate the bindings.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [x] These changes do not require tests because stylo ci is not there yet.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

r? @Manishearth

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13269)
<!-- Reviewable:end -->
2016-09-21 17:46:01 -05:00
Emilio Cobos Álvarez
cce67c995d
Add an OSX stdlib implementation detail to the opaque types list. 2016-09-21 23:40:01 +02:00
Emilio Cobos Álvarez
52aa87bc33
Regen bindings and build fixes. 2016-09-21 21:52:43 +02:00
Anthony Ramine
948d2792c6 Update Rust to 1.13.0-nightly (c772948b6 2016-09-20) 2016-09-21 15:40:06 +02:00
Tetsuharu OHZEKI
93866d42ed Update mozjs_sys to fix the build failure on macOS Sierra 2016-09-21 19:16:25 +09:00
Bobby Holley
4aa3e589c0 Introduce the LayoutIterator newtype and return it for all children() methods in style and layout. 2016-09-20 17:48:31 -07:00
Bobby Holley
e6bbff110a Split out is_element and is_text_node into a helper trait. 2016-09-20 17:16:27 -07:00
Glenn Watson
6b1104e7f6 Update webrender to master, including shaders.
This updates webrender to include the webgl related changes
needed for this patch. There was an additional commit in
webrender before these landed, so also copy the shaders
for that change across. There is an interface change to
webrender push_image. For now, just pass zero, which is a
no-op to this function. A follow up commit will introduce
the servo specific changes to use this new interface.
2016-09-21 08:24:59 +10:00
Manish Goregaokar
1d497828a7
Move sanity checks to stylo tests 2016-09-21 00:05:54 +05:30
Manish Goregaokar
c615a0dabc
Add unit test crate for stylo 2016-09-20 20:26:51 +05:30
Glenn Watson
7c8664e6ec Update webrender (prim cache changes, blend/composite shaders). 2016-09-20 10:57:48 +10:00
bors-servo
dc3e11f96e Auto merge of #13324 - anholt:webgl-default-texture, r=jdm
Update offscreen_gl_context dependency to get webgl fix.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11618

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13324)
<!-- Reviewable:end -->
2016-09-19 16:41:49 -05:00
Eric Anholt
0303767da8 Update offscreen_gl_context dependency to get webgl fix.
Fixes #11618 (intermittent failure in default_texture.html) by not
polluting our context's binding with the texture it created.
2016-09-19 18:48:31 +01:00
Ms2ger
630da77744 Update js. 2016-09-19 17:39:33 +02:00
Taryn Hill
7d0ad1a705 Update string_cache to 0.2.29 2016-09-18 22:43:35 -05:00
Rahul Sharma
8b10cca91f implement ExtendableEvent as base type for ServiceWorker events 2016-09-17 20:58:46 +05:30
Glenn Watson
15f4d7c587 Update webrender + shaders. 2016-09-16 11:01:24 +10:00
Ms2ger
18de275307 Update js. 2016-09-15 17:57:45 +02:00
Glenn Watson
9535c5ba5e Update webrender, gleam and associated shaders. 2016-09-15 09:07:27 +10:00
Emilio Cobos Álvarez
ba89188e8b
Update the regen script to use the new bindgen. 2016-09-14 14:46:05 -07:00
bors-servo
f834c893c7 Auto merge of #13204 - ejpbruel:debugger, r=jdm
Implement a WebSocket server for debugging.

<!-- Please describe your changes on the following line: -->

This pull request adds a very simple WebSocket server to Servo, that we intend to use for debugging. It currently only echoes back messages, but eventually we want this server to implement the Chrome Debugging Protocol.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is a prototype.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13204)
<!-- Reviewable:end -->
2016-09-12 10:19:17 -05:00
Eddy Bruel
8856671f2e Implement a WebSocket server for debugging. 2016-09-12 11:02:09 +02:00
Ms2ger
ba6036b091 Update dependencies. 2016-09-12 10:33:47 +02:00
Manish Goregaokar
7e8c583494
Resync bindings 2016-09-10 23:11:44 +08:00
bors-servo
5e7d918297 Auto merge of #13212 - Manishearth:resync, r=emilio
Handle None_ => None enum changes

Pulls in changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1300337

r? @SimonSapin

don't mark for landing, I'll manually r= this when I do the next sync

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13212)
<!-- Reviewable:end -->
2016-09-10 04:46:37 -05:00
bors-servo
0dd0e08de4 Auto merge of #13213 - Manishearth:mask, r=heycam
stylo: Implement mask longhands

Corresponding gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1300731

r=heycam carries over from https://reviewboard.mozilla.org/r/76908/

Don't merge till that bug lands

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13213)
<!-- Reviewable:end -->
2016-09-10 03:34:17 -05:00
Manish Goregaokar
7138ad7d7e Bug 1300731 - stylo: Implement mask-image; r?heycam 2016-09-10 15:27:45 +08:00
bors-servo
142578f2e9 Auto merge of #13094 - GuillaumeGomez:the_comeback, r=KiChjang
Put back video metadata

I updated the `video-metadata-rs` crate: now, no more ffmpeg, just pure rust. The webm format isn't checked yet.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13094)
<!-- Reviewable:end -->
2016-09-09 16:28:34 -05:00
Guillaume Gomez
94379bf715 Put back video metadata 2016-09-09 14:03:03 +02:00
Manish Goregaokar
3fe13a29f4
Handle None_ => None enum changes 2016-09-09 16:34:15 +08:00
Manish Goregaokar
603c9439bb
Fix some warnings 2016-09-09 13:27:33 +08:00
Manish Goregaokar
0cf927801e Resync bindings 2016-09-09 12:25:54 +08:00
UK992
93a103ba73 Reorder use statements 2016-09-09 04:55:19 +02:00