Commit graph

14713 commits

Author SHA1 Message Date
Corey Farwell
4cb94975d9 Upgrade url: 0.5.0 -> 0.5.2
https://github.com/servo/rust-url/compare/v0.5.0...v0.5.2
2015-12-15 14:08:33 -05:00
Corey Farwell
5f8db66558 Upgrade brotli: 0.3.17 -> 0.3.20
ea4cb81aee...c243045b88
2015-12-15 14:08:33 -05:00
Corey Farwell
d1bf93b526 Upgrade aster: 0.9.0 -> 0.9.1
https://github.com/serde-rs/aster/compare/v0.9.0...v0.9.1
2015-12-15 14:08:33 -05:00
Corey Farwell
696776e4a8 Upgrade servo-glutin: 0.4.4 -> 0.4.5
https://github.com/servo/glutin/compare/1ff4aa78a82bcaebdf1ea3021557c04f5d36fd81...servo:18b3018662f54e23dd8cc9c7ffdd2e51134011cf
2015-12-15 14:08:33 -05:00
Corey Farwell
9efd6465c7 Upgrade httparse: 1.0.0 -> 1.1.0
https://github.com/seanmonstar/httparse/compare/v1.0.0...v1.1.0
2015-12-15 14:08:33 -05:00
Corey Farwell
bec75582b4 Upgrade core-graphics: 0.2.0 -> 0.2.1
https://github.com/servo/core-graphics-rs/compare/v0.2.0...v0.2.1
2015-12-15 14:08:33 -05:00
bors-servo
432087c0ea Auto merge of #8986 - GuillaumeGomez:patch-2, r=nox
Fix invalid returned value for dictionary types

part of #8882

cc @nox

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8986)
<!-- Reviewable:end -->
2015-12-15 22:57:58 +05:30
Guillaume Gomez
14a22953dd Fix invalid returned value for dictionary types 2015-12-15 18:26:35 +01:00
bors-servo
81282ba82a Auto merge of #8980 - Ms2ger:console, r=frewsxcv
Remove console.log call in iframe_hierarchy.html.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8980)
<!-- Reviewable:end -->
2015-12-15 18:51:37 +05:30
Ms2ger
ff3056339c Remove console.log call in iframe_hierarchy.html. 2015-12-15 12:07:55 +01:00
bors-servo
1d7689cb3f Auto merge of #8974 - pcwalton:simple-style-optzns, r=SimonSapin
Implement some trivial restyling optimizations.

These were discovered during profiling.

r? @SimonSapin

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8974)
<!-- Reviewable:end -->
2015-12-15 08:12:19 +05:30
bors-servo
5ebfc9103f Auto merge of #8978 - jdm:iframeparent, r=glennw
Ensure that grandchild same-origin iframes are added to the children …

…of the child iframe of the root. Resolves #8973.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8978)
<!-- Reviewable:end -->
2015-12-15 05:33:22 +05:30
Josh Matthews
397d748f9d Ensure that grandchild same-origin iframes are added to the children of the child iframe of the root. Resolves #8973. 2015-12-14 18:59:03 -05:00
Patrick Walton
74d5170dda style: Stop cloning error reporters all the time during cascading, and
outline the custom property handler into a slow path.
2015-12-14 13:57:01 -08:00
Patrick Walton
eb3e93af0b style: Mark trivial CalcLengthOrPercentage accessors as inline.
These were showing up all over profiles in layout.
2015-12-14 13:19:40 -08:00
bors-servo
d11f96e270 Auto merge of #8971 - jdm:expose-css-errors-1, r=jdm
Add pipeline information to CSS error reporting.

Rebase of #8838.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8971)
<!-- Reviewable:end -->
2015-12-14 21:51:41 +05:30
GauriGNaik
fc81276c8e Add pipeline information to CSS error reporting. 2015-12-14 11:18:30 -05:00
bors-servo
6032f8225b Auto merge of #8963 - Aesthetikx:unforgeable-istrusted, r=jdm
Make Event's isTrusted attribute unforgeable

Three failure expectations were able to be removed from `tests/wpt/web-platform-tests/dom/interfaces.html`. This is my first commit to servo and my first time with rust, hopefully I didn't overlook anything.

Fixes #8956.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8963)
<!-- Reviewable:end -->
2015-12-14 17:43:15 +05:30
bors-servo
201b5c9820 Auto merge of #8966 - GuillaumeGomez:patch-1, r=nox
Fix invalid dictionary inheritance

Needed by #8882.

cc @nox

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8966)
<!-- Reviewable:end -->
2015-12-14 17:08:23 +05:30
bors-servo
1d7f296fb8 Auto merge of #8955 - askobara:docs-htmlformelement-get_form_dataset, r=waffles
Add comments for the "Constructing the form data set" algorithm

Fixes #7852

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8955)
<!-- Reviewable:end -->
2015-12-14 14:01:25 +05:30
bors-servo
cbd2c9560b Auto merge of #8964 - nox:replacewith, r=frewsxcv
Fix Node::replace_with

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8964)
<!-- Reviewable:end -->
2015-12-14 10:44:21 +05:30
bors-servo
89d9aad1e1 Auto merge of #8761 - dzbarsky:gl_functions, r=dzbarsky
Implement some more WebGL functions

r? @ecoal95

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8761)
<!-- Reviewable:end -->
2015-12-14 08:25:20 +05:30
Arthur Skobara
8d2f9fc586 Add comments for the "Constructing the form data set" algorithm 2015-12-14 08:37:30 +06:00
David Zbarsky
0f4d6d58aa Implement various WebGL functions 2015-12-13 17:39:20 -08:00
bors-servo
e4f86829d7 Auto merge of #8962 - Ms2ger:energymon, r=jdm
Remove the pinned revision from profile_traits/Cargo.toml.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8962)
<!-- Reviewable:end -->
2015-12-14 06:21:24 +05:30
Guillaume Gomez
4c99a85c73 Fix invalid dictionary inheritance 2015-12-14 00:53:21 +01:00
Anthony Ramine
748dfdf575 Fix Node::replace_with 2015-12-14 00:13:56 +01:00
Ms2ger
bb4299d170 Remove the pinned revision from profile_traits/Cargo.toml. 2015-12-13 23:29:09 +01:00
John DeSilva
f244a7075c Make Event's isTrusted attribute unforgeable 2015-12-13 12:27:05 -05:00
bors-servo
8bab1cd7a4 Auto merge of #8854 - KiChjang:undefined-as-missing, r=frewsxcv
Treat 'undefined' passed to optional JS arguments as missing

@frewsxcv please don't hurt me for this.

I've added an AND condition to check whether the value being passed is undefined while checking whether the argument exists at all. Essentially, this is now treating undefined arguments the same as missing arguments.

Fixes #8813.
Fixes #6558.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8854)
<!-- Reviewable:end -->
2015-12-13 10:41:56 +05:30
Keith Yeung
db92a8b030 Treat undefined arguments in JS as missing 2015-12-12 21:13:29 -08:00
bors-servo
e493a0655e Auto merge of #8949 - askobara:refactoring-trusted-new, r=jdm
Remove from Trusted::new an unnecessary argument

Fixes #8779

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8949)
<!-- Reviewable:end -->
2015-12-13 03:53:40 +05:30
Arthur Skobara
8acb21a594 Remove from Trusted::new an unnecessary argument 2015-12-12 22:31:19 +06:00
bors-servo
a1fb12616a Auto merge of #8891 - mbrubeck:mach-install, r=larsbergstrom
Android build system improvements

This PR adds a `mach install` command (a convenient way to run `adb install`), and does some minor code cleanup.

It also fixes parallelism in the OpenSSL build.  For [complicated reasons][1], a sub-Make will not inherit `-j` options from its parent process unless it is invoked directly from another Makefile.  This means we should run make from openssl.makefile rather than openssl.sh.

r? @larsbergstrom

[1]: http://make.mad-scientist.net/papers/jobserver-implementation/

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8891)
<!-- Reviewable:end -->
2015-12-12 18:31:53 +05:30
Matt Brubeck
53871321a3 Add mach install command (Android-only for now) 2015-12-12 04:58:33 -08:00
Matt Brubeck
2a00eb6c08 Remove unused params from mach package command 2015-12-12 04:58:32 -08:00
bors-servo
f4783a0ec3 Auto merge of #8942 - Ms2ger:rename-bc, r=nox
Rename the browsercontext module.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8942)
<!-- Reviewable:end -->
2015-12-12 14:18:25 +05:30
bors-servo
23b220644c Auto merge of #8947 - Ms2ger:core-text, r=jdm
Use core-text from crates.io.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8947)
<!-- Reviewable:end -->
2015-12-12 13:27:45 +05:30
Ms2ger
5440a90a48 Use core-text from crates.io. 2015-12-12 02:19:24 -05:00
bors-servo
16de31c13c Auto merge of #8946 - Ms2ger:warnings, r=jdm
Remove unused imports.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8946)
<!-- Reviewable:end -->
2015-12-12 12:47:39 +05:30
Ms2ger
70653bfe08 Remove unused imports. 2015-12-12 02:13:59 -05:00
bors-servo
9f0c6d75d1 Auto merge of #8939 - cnaj:msg_refactoring, r=Ms2ger
Move PaintListener to gfx_traits, Fixes #8834

Adding layers and msg dependency to gfx_traits.

Fixes #8834.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8939)
<!-- Reviewable:end -->
2015-12-12 04:27:55 +05:30
bors-servo
ebe3295424 Auto merge of #8943 - pcwalton:font-cache-addresses, r=mbrubeck
Cache font style struct addresses in a separate font group cache.

On http://en.wikipedia.org/wiki/Spotted_hyena, I was seeing a 100% miss
rate in the first fast cache lookup and 45% of total layout time in this
function. After making this change, the first cache lookup almost always
succeeds, and the time spent in this function drops to 8%.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8943)
<!-- Reviewable:end -->
2015-12-12 02:34:38 +05:30
Patrick Walton
b31a3b3883 Cache font style struct addresses in a separate font group cache.
On http://en.wikipedia.org/wiki/Spotted_hyena, I was seeing a 100% miss
rate in the first fast cache lookup and 45% of total layout time in this
function. After making this change, the first cache lookup almost always
succeeds, and the time spent in this function drops to 8%.
2015-12-11 15:43:32 -05:00
Ms2ger
b7b5c79787 Rename the browsercontext module. 2015-12-11 15:27:27 -05:00
bors-servo
2a416e77a8 Auto merge of #8935 - Ms2ger:get_or_create, r=Manishearth
Avoid some rooting in parsing.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8935)
<!-- Reviewable:end -->
2015-12-12 01:38:49 +05:30
bors-servo
d6708a2fea Auto merge of #8921 - KiChjang:update-css, r=Ms2ger
Update CSS tests to revision 1399540ef50bff32151a5058da8910483538f382

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8921)
<!-- Reviewable:end -->
2015-12-12 01:03:55 +05:30
Tomas Cernaj
701aebee48 Move PaintListener to gfx_traits, Fixes #8834
Adding layers and msg dependency to gfx_traits.
2015-12-11 18:43:10 +01:00
bors-servo
2977795e39 Auto merge of #8937 - saneyuki:warning, r=mbrubeck
Fix some warnings

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8937)
<!-- Reviewable:end -->
2015-12-11 22:52:47 +05:30
bors-servo
99fd946130 Auto merge of #8930 - frewsxcv:event-type-atom, r=nox
Pass around event types as Atoms instead of Strings

`Event` internally stores the `type` as an `Atom`, and we're `String`s
everywhere, which can cause unnecessary allocations to occur since
they'll end up as `Atom`s anyways.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8930)
<!-- Reviewable:end -->
2015-12-11 21:12:35 +05:30