Commit graph

17922 commits

Author SHA1 Message Date
Ms2ger
2bee0de9f3 Make a few more things private in constellation.rs. 2016-05-20 11:57:16 +02:00
Ms2ger
36b6f397d4 Simplify PaintThread::create(). 2016-05-20 11:03:39 +02:00
bors-servo
85a8eb0849 Auto merge of #11277 - KiChjang:stylo-more-keywords, r=bholley
Stylo: Align -moz-float-edge and -moz-appearance

Is blocked on https://bugzilla.mozilla.org/show_bug.cgi?id=1274339 for -moz-appearance.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11277)
<!-- Reviewable:end -->
2016-05-20 01:53:38 -07:00
Keith Yeung
6d7b3a4c55 Add -moz-appearance and include nsThemeConstants.h in struct.rs 2016-05-20 04:53:15 -04:00
Ms2ger
9ee8c33a8d Remove pointless phantom arguments to ScriptThreadFactory and LayoutThreadFactory. 2016-05-20 10:20:58 +02:00
Rahul Sharma
3766cd1673 adding interface for custom responses 2016-05-20 12:11:56 +05:30
bors-servo
bcea0ada27 Auto merge of #11189 - izgzhen:refactor-resource-thread, r=nox
Refactor resource thread code

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

- [x] These changes do not require tests because it is refactoring

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11189)
<!-- Reviewable:end -->
2016-05-19 19:15:08 -07:00
Zhen Zhang
a51db4cfa8 Implement trait-based ResourceThreads and clean up related naming issues
Changes include:

- Introduce an IpcSend trait to abstract over a collection of IpcSenders
- Implement ResourceThreads collection to abstract the resource-related
  sub threads across the component
- Rename original ResourceThread and ControlMsg into an unifed CoreResource__
  to accommodate above changes and avoid confusions
2016-05-20 08:00:16 +08:00
Rohit Zambre
7591e1327a replacing commas with tabs; changing from CSV to TSV profiling 2016-05-19 15:07:18 -07:00
bors-servo
051a749e0d Auto merge of #11274 - mbrubeck:always-be-updating, r=KiChjang
Update hyper, serde, regex

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11274)
<!-- Reviewable:end -->
2016-05-19 13:31:24 -07:00
bors-servo
27c25e859a Auto merge of #11270 - servo:ConstellationChan, r=asajeffrey
Remove ConstellationChan.

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 --faster` 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.

It's a pointless abstraction that propagates the obsolete chan terminology,
swaps the order in which the sender and receiver are returned, and hides a
source of panics.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11270)
<!-- Reviewable:end -->
2016-05-19 12:38:26 -07:00
bors-servo
5bf2849160 Auto merge of #11264 - KiChjang:fix-anchor-panic, r=metajack
Fix panic from update_href in HTMLAnchorElement

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` does not report any errors
- [x] These changes fix #11261 (github issue number if applicable).
- [x] These changes do not require tests because unsure how this would be tested.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11264)
<!-- Reviewable:end -->
2016-05-19 11:00:19 -07:00
Keith Yeung
5170f46455 Add -moz-float-edge 2016-05-19 13:42:55 -04:00
Matt Brubeck
e47dc8aae7 Update hyper, serde, regex 2016-05-19 10:12:17 -07:00
Matt Brubeck
477258f11b Simplify FontHandle::new_from_template 2016-05-19 09:44:56 -07:00
Matt Brubeck
1a61273e1e Make FontHandle fields private 2016-05-19 09:44:56 -07:00
Matt Brubeck
7f6b1da85c Allow creation of unboxed FontTables 2016-05-19 09:44:56 -07:00
Matt Brubeck
0010b448b8 Move hb_tag! macro and KERN into font module 2016-05-19 09:44:56 -07:00
Matt Brubeck
1eab6fbb2e Simplify FontTableMethods::with_buffer 2016-05-19 09:44:56 -07:00
bors-servo
5376bdaf48 Auto merge of #11263 - nox:forof, r=Ms2ger
Update js to 3352139c1dedbdff5fe1078152f46522cd04b2f3

This pulls in https://github.com/servo/rust-mozjs/pull/264.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11263)
<!-- Reviewable:end -->
2016-05-19 08:15:37 -07:00
Ms2ger
cc2b2b50a7 Remove ConstellationChan.
It's a pointless abstraction that propagates the obsolete chan terminology,
swaps the order in which the sender and receiver are returned, and hides a
source of panics.
2016-05-19 17:13:44 +02:00
bors-servo
2d5dc8fa6d Auto merge of #11251 - asajeffrey:check-no-unwrap-check-for-files, r=aneeshusa
Added test that files exist to etc/ci/check_no_unwrap.sh.

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 --faster` does not report any errors
- [X] No github issue.

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this PR updates test code.

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11251)
<!-- Reviewable:end -->
2016-05-19 07:25:12 -07:00
bors-servo
be9dfb2786 Auto merge of #11209 - evrimoztamur:patch-1, r=Ms2ger
Remove misleading nonexistant flag hint

`./mach build -d` does not report any errors.
`./mach test-tidy --faster` does not report any errors.
The change fixes #11197.

The change does not require tests because it is a small change that doesn't change any core functionality.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11209)
<!-- Reviewable:end -->
2016-05-19 06:34:10 -07:00
Alan Jeffrey
a6990b26ac Added test that files exist to etc/ci/check_no_unwrap.sh. 2016-05-19 08:02:26 -05:00
bors-servo
2572a7d2c5 Auto merge of #11265 - Ms2ger:cleanup, r=nox
Some assorted cleanup.

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 --faster` 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11265)
<!-- Reviewable:end -->
2016-05-19 05:48:24 -07:00
Ms2ger
e01f9f3e7b Make Constellation's fields private. 2016-05-19 12:16:00 +02:00
Ms2ger
efd953f768 Update documentation for {CanvasPaintThread, WebGLPaintThread}::new(). 2016-05-19 12:15:02 +02:00
Anthony Ramine
7a07421563 Update js to 3352139c1dedbdff5fe1078152f46522cd04b2f3
This pulls in https://github.com/servo/rust-mozjs/pull/264.
2016-05-19 11:27:10 +02:00
Keith Yeung
deadfa65cc Fix panic from update_href in HTMLAnchorElement 2016-05-19 04:46:51 -04:00
bors-servo
dea610986d Auto merge of #11249 - asajeffrey:check-no-unwrap-new-constellation-crate, r=KiChjang
Updated etc/ci/check_no_unwrap.sh for new constellation crate.

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 --faster` does not report any errors
- [X] No github issue.

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is updating our CI test code.

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11249)
<!-- Reviewable:end -->
2016-05-18 20:12:04 -07:00
bors-servo
7da5524061 Auto merge of #11257 - josephpd3:11247, r=KiChjang
Make HTMLMEtaElement `name` attribute an Atom.

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 --faster` does not report any errors
- [X ] These changes fix #11247 (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [X ] These changes do not require tests because it is already covered by existing tests ~@jdm

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11257)
<!-- Reviewable:end -->
2016-05-18 18:01:09 -07:00
Joseph P DeBartola III
dd93ffec6b Overrode parse_plain_attribute of VirtualMethods for HTMLMetaElement to pass as an Atom
Imported AttrValue into HTMLMetaElement

Updated make_setter! to make_atomic_setter! for  in HTMLMetaElement
2016-05-18 19:40:04 -05:00
bors-servo
c0c1a44cf2 Auto merge of #11258 - bholley:enumerated_unit, r=mbrubeck
Geckolib: Specify eStyleUnit_Enumerated instead of eStyleUnit_Integer for enumerated types

This is a regression from #11207.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11258)
<!-- Reviewable:end -->
2016-05-18 16:12:33 -07:00
Bobby Holley
9b8ead8964 Specify eStyleUnit_Enumerated instead of eStyleUnit_Integer for enumerated types. 2016-05-18 16:11:13 -07:00
bors-servo
fe116b4bd7 Auto merge of #10776 - dzbarsky:getVertexAttrib, r=emilio
Implement GetVertexAttrib

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10776)
<!-- Reviewable:end -->
2016-05-18 14:40:32 -07:00
bors-servo
f02c4c6403 Auto merge of #11240 - mbrubeck:font-style, r=bholley
Support font-style in geckolib

r? @bholley

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11240)
<!-- Reviewable:end -->
2016-05-18 13:12:55 -07:00
bors-servo
2f39e10ccc Auto merge of #11245 - emilio:geckolib-consts, r=bholley
geckolib: Support constants in classes

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 --faster` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

Either:
- [ ] These changes do not require tests because geckolib isn't tested here.

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

---

Newest bindgen adds support for in-class statics.

This patch updates this to take them into account.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11245)
<!-- Reviewable:end -->
2016-05-18 12:26:18 -07:00
bors-servo
e3be7184fb Auto merge of #11242 - bholley:gecko_atoms, r=emilio
Add basic support for Gecko atoms

This is a rough initial implementation of gecko atoms. This allows us to get rid of the custom rust-selectors branch we use to build stylo.

The gecko changes are at https://bugzilla.mozilla.org/show_bug.cgi?id=1273771

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11242)
<!-- Reviewable:end -->
2016-05-18 11:35:28 -07:00
Bobby Holley
b521c293dc Add string_cache override for geckolib based on gecko atoms.
The work in these patches is based on Ms2ger's gecko-atom crate.
2016-05-18 11:33:38 -07:00
bors-servo
e36e41191f Auto merge of #11252 - pcwalton:app-name, r=nox
glutin: On the Mac, capitalize the first letter of "Servo" in the menu bar.

r? @metajack (or whoever)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11252)
<!-- Reviewable:end -->
2016-05-18 09:39:16 -07:00
Patrick Walton
c04b53dab8 glutin: On the Mac, capitalize the first letter of "Servo" in the menu
bar.
2016-05-18 09:39:03 -07:00
bors-servo
4590fe230f Auto merge of #11250 - mbrubeck:always-be-updating, r=KiChjang
Update immeta, threadpool, offscreen_gl_context

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11250)
<!-- Reviewable:end -->
2016-05-18 08:46:09 -07:00
Matt Brubeck
366819b578 Update immeta, threadpool, offscreen_gl_context 2016-05-18 08:41:30 -07:00
Alan Jeffrey
d16d2a076a Updated etc/ci/check_no_unwrap.sh for new constellation crate. 2016-05-18 09:53:22 -05:00
bors-servo
693478bc91 Auto merge of #10898 - asajeffrey:chaotic-even-better, r=Manishearth
In chaos-monkey mode, only keep the mozbrowser pipeline alive.

Fixes #10897

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10898)
<!-- Reviewable:end -->
2016-05-18 07:14:38 -07:00
Alan Jeffrey
243fa4f1c1 In chaos-monkey mode, only keep the mozbrowser pipeline alive. 2016-05-18 09:12:42 -05:00
bors-servo
96a86bd952 Auto merge of #11239 - jdm:time-profile, r=nox
Add timeline markers for HTTP requests, JS evaluation, and HTML parsing.

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 (didn't try to compile past a rustc upgrade on airplane wifi)
- [X] `./mach test-tidy --faster` does not report any errors
- [X] These changes fix #11218 (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because we don't have testing infrastructure for profiling.

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11239)
<!-- Reviewable:end -->
2016-05-18 06:07:10 -07:00
Josh Matthews
9e8cf19e51 Add timeline markers for HTTP requests, JS evaluation, and HTML parsing. 2016-05-18 08:02:42 -05:00
bors-servo
bed6d45b35 Auto merge of #11244 - Ms2ger:catch-panics-workers, r=nox
Report panics in web worker threads.

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 --faster` does not report any errors
- [ ] These changes fix #11234 (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.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11244)
<!-- Reviewable:end -->
2016-05-18 04:24:41 -07:00
bors-servo
51c279ec3d Auto merge of #11232 - nox:webidl, r=Ms2ger
Update the WebIDL parser

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11232)
<!-- Reviewable:end -->
2016-05-18 03:31:02 -07:00