CorcovadoMing
08a20e3be9
pass --no-patch by default to update_css
2016-04-28 19:58:30 +08:00
bors-servo
b8e2fa58d6
Auto merge of #10694 - fitzgen:profile-traces-to-file, r=SimonSapin
...
Add a method for dumping profiles as self-contained HTML w/ timeline visualization
This commit adds the `--profiler-trace-path` flag. When combined with `-p` to
enable profiling, it dumps a profile as a self-contained HTML file to the given
path. The profile visualizes the traced operations as a Gantt-chart style
timeline.
Example output HTML file: http://media.fitzgeraldnick.com/dumping-grounds/trace-reddit.html
Mostly I made this because I wanted to see what kind of data the profiler has, and thought that this might be useful for others as well. I'm happy to add tests if we can figure out how to integrate them into CI, but I'm not sure how that would work.
Thoughts?
<!-- 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/10694 )
<!-- Reviewable:end -->
2016-04-28 02:47:35 -07:00
bors-servo
78e23f4c9b
Auto merge of #10890 - servo:trusted, r=nox
...
Remove extraneous script_chan parameter from Trusted::new
<!-- 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/10890 )
<!-- Reviewable:end -->
2016-04-28 01:57:52 -07:00
Keith Yeung
33acb1937c
Remove extraneous script_chan parameter from Trusted::new
2016-04-28 10:52:44 +02:00
bors-servo
fbc575407d
Auto merge of #10849 - shinglyu:yaml, r=aneeshusa
...
Move buildbot step to yaml
This is a step of https://github.com/servo/saltfs/issues/316
After this patch lands, we'll PR the saltfs code to read from this yaml file, and dynamically generate test steps at runtime.
cc @aneeshusa @edunham
<!-- 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/10849 )
<!-- Reviewable:end -->
2016-04-27 21:23:04 -07:00
Shing Lyu
c01aa9cce8
Move buildbot step to yaml
2016-04-28 10:46:15 +08:00
Nick Fitzgerald
9fbb5c720e
Add a method for dumping self-contained HTML timeline profiles
...
This commit adds the `--profiler-trace-path` flag. When combined with `-p` to
enable profiling, it dumps a profile as a self-contained HTML file to the given
path. The profile visualizes the traced operations as a gant-chart style
timeline.
2016-04-27 18:35:17 -07:00
bors-servo
14de06aef0
Auto merge of #10871 - daoshengmu:canvasWithoutContexts, r=jdm
...
Fix issue #10755 Canvas without contexts
While canvas without contexts, we just need to return the function without drawing any pixel.
Fixes #10755 .
<!-- 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/10871 )
<!-- Reviewable:end -->
2016-04-27 16:40:43 -07:00
Daosheng Mu
f97e6ab9ca
Add test for canvases without contexts.
2016-04-28 07:04:34 +08:00
Daosheng Mu
b7e05b4a9d
Avoid drawing while canvases without contexts.
2016-04-28 07:03:45 +08:00
bors-servo
311dd0f930
Auto merge of #10816 - SunyDays:errorevent_argument, r=frewsxcv
...
Implement the errorevent argument to Document::createEvent
new_uninitialized function on ErrorEvent has already been in components/script/dom/errorevent.rs
close #10738
<!-- 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/10816 )
<!-- Reviewable:end -->
2016-04-27 10:52:41 -07:00
SunyDays
7d24426172
Implement the errorevent argument to Document::createEvent
2016-04-27 20:49:25 +03:00
bors-servo
daa1a2a0a8
Auto merge of #10647 - ConnorGBrewster:parse_xml, r=jdm
...
Finish hooking up XML parser
This is a work in progress PR for #10581 . I just want to make sure I am headed in the right direction.
cc @jdm
<!-- 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/10647 )
<!-- Reviewable:end -->
2016-04-27 07:50:54 -07:00
Connor Brewster
3389c497c0
Finish hooking up XML parser
...
added script integration with xml5ever
Updated test expectations
Removed timeout test expectation
Refactors
application/xhtml+xml is treated as HTML
Updated xml5ever
Updated Text Expectations
2016-04-27 08:44:13 -06:00
bors-servo
ce54234262
Auto merge of #10872 - servo:unused-ini, r=nox
...
Remove an unused .ini file.
The subtest listed here was renamed, so the section no longer applies.
<!-- 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/10872 )
<!-- Reviewable:end -->
2016-04-27 05:18:30 -07:00
bors-servo
88020e9151
Auto merge of #10869 - frewsxcv:dry, r=jdm
...
DRY out `StreamedResponse::from_http_response`.
<!-- 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/10869 )
<!-- Reviewable:end -->
2016-04-27 04:23:34 -07:00
bors-servo
5fd93de7be
Auto merge of #10866 - broesamle:issue10856-a, r=Ms2ger
...
Move abstract parser infrastructure from servohtmlparser.rs to parse
Fixes #10856
<!-- 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/10866 )
<!-- Reviewable:end -->
2016-04-27 03:29:50 -07:00
bors-servo
e079e01320
Auto merge of #10848 - heycam:struct-accessor, r=bholley
...
Add Servo_GetStyleFoo functions to get style structs from GeckoComputedValues
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/10848 )
<!-- Reviewable:end -->
2016-04-27 02:20:17 -07:00
Martin Broesamle
7c4489b193
Move abstract parser infrastructure from servohtmlparser.rs to parse
2016-04-27 10:32:59 +02:00
bors-servo
ad77d40360
Auto merge of #10868 - frewsxcv:loadcancelled, r=Ms2ger
...
Add `NetworkError::LoadCancelled` variant.
<!-- 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/10868 )
<!-- Reviewable:end -->
2016-04-27 01:26:05 -07:00
Ms2ger
026cf3e8e3
Remove an unused .ini file.
...
The subtest listed here was renamed, so the section no longer applies.
2016-04-27 09:32:10 +02:00
bors-servo
21c1773115
Auto merge of #10838 - bd339:iss9551, r=KiChjang
...
Implement step 3 according to spec
Goes towards fixing #9551
<!-- 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/10838 )
<!-- Reviewable:end -->
2016-04-27 00:16:08 -07:00
Cameron McCormack
88f51af3f8
Add Servo_GetStyleFoo functions to get style structs from GeckoComputedValues.
...
While we're here we also:
* remove any code conditional on style_struct.gecko_ffi_name, since all
style structs now do have a corresponding Geckos struct
* add new UIReset and XUL style structs, so that all Gecko structs are
now present (apart from Variables, which is special)
2016-04-27 17:13:26 +10:00
bors-servo
55ea0d1133
Auto merge of #10870 - axitkhurana:do-parse-integer-return-value, r=KiChjang
...
Return a Result<i64, ()> from do_parse_integer
Fixes #10860
<!-- 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/10870 )
<!-- Reviewable:end -->
2016-04-26 23:26:29 -07:00
Akshit Khurana
4a3addb72f
Return a Result<i64, ()> from do_parse_integer
...
Fixes #10860
2016-04-26 23:03:16 -07:00
bd339
ac88c5e16b
Implement step 3 according to spec
2016-04-27 07:45:38 +02:00
Corey Farwell
87b54ef685
DRY out StreamedResponse::from_http_response
.
2016-04-27 01:00:50 -04:00
Corey Farwell
2099b190bb
Remove superfluous end-of-file whitespace.
2016-04-27 00:26:37 -04:00
Corey Farwell
55c2f93740
Add NetworkError::LoadCancelled
variant.
2016-04-27 00:25:27 -04:00
bors-servo
77553ab42c
Auto merge of #10865 - bholley:simplify_bindgen, r=emilio
...
Remove the need for custom clang to generate stylo bindings, plus misc other fixes
<!-- 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/10865 )
<!-- Reviewable:end -->
2016-04-26 19:51:13 -07:00
bors-servo
959dbac0e7
Auto merge of #10862 - asajeffrey:only-the-chrome-survives, r=SimonSapin
...
Don't kill the root pipeline when randomly killing pipelines.
Useful for stress-testing the browser chrome, e.g. testing #10334 .
<!-- 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/10862 )
<!-- Reviewable:end -->
2016-04-26 18:40:21 -07:00
bors-servo
aa078a0780
Auto merge of #10820 - SunyDays:focusevent_argument, r=Ms2ger
...
Implement the "focusevent" argument to Document::createEvent
close #10739
<!-- 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/10820 )
<!-- Reviewable:end -->
2016-04-26 17:50:51 -07:00
SunyDays
e4f3a31caf
Implement the focusevent argument to Document::createEvent
2016-04-27 01:51:48 +03:00
bors-servo
2729864af7
Auto merge of #10857 - servo:toml, r=nox
...
Simplify TOML syntax
* Sections like `[dependencies.foo]` can be entries in a `[dependencies]` section with the `{key = value}` syntax.
* Per-target dependencies can be expressed with more general `cfg(…)` conditions instead of exact target triples: https://github.com/rust-lang/cargo/pull/2328
<!-- 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/10857 )
<!-- Reviewable:end -->
2016-04-26 15:46:37 -07:00
Simon Sapin
83b3ebf6ac
Simplify TOML syntax
...
* Sections like `[dependencies.foo]` can be entries in a `[dependencies]`
section with the `{key = value}` syntax.
* Per-target dependencies can be expressed with more general `cfg(…)`
conditions instead of exact target triples:
https://github.com/rust-lang/cargo/pull/2328
2016-04-26 23:51:36 +02:00
bors-servo
caba731da1
Auto merge of #10847 - servo:rustup-20160424, r=nox
...
Update rustc.
<!-- 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/10847 )
<!-- Reviewable:end -->
2016-04-26 14:41:54 -07:00
Bobby Holley
2c63de2492
Pass a RawServoStyleSet to Servo_GetComputedValuesForAnonymousBox.
2016-04-26 14:36:06 -07:00
Bobby Holley
fb0237d85c
Simplify binding generation and remove the need for a custom clang.
2016-04-26 14:36:05 -07:00
Bobby Holley
402f79559b
Regenerate style structs and unstub unicode-bidi.
2016-04-26 14:28:09 -07:00
Bobby Holley
8fd394f983
Remove unnecessary else.
2016-04-26 14:28:08 -07:00
Bobby Holley
28d487d31c
Add a no-op compute_font_hash.
2016-04-26 14:28:07 -07:00
bors-servo
f773dc182b
Auto merge of #10824 - asajeffrey:communicate-backtrace-on-panic, r=Manishearth
...
Communicate a backtrace to the constellation when panicking.
Send a representation of the backtrace from a pipeline thread to the constellation in the case of panic. This is the next step in communicating the backtrace to the browser chrome (#10334 ).
<!-- 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/10824 )
<!-- Reviewable:end -->
2016-04-26 13:17:33 -07:00
Alan Jeffrey
2a52351de0
Don't kill the root pipeline when randomly killing pipelines.
2016-04-26 14:32:11 -05:00
bors-servo
ccba2d6841
Auto merge of #10608 - KiChjang:parse-double, r=nox
...
Add parsing of double values in style attributes
<!-- 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/10608 )
<!-- Reviewable:end -->
2016-04-26 11:59:25 -07:00
bors-servo
31a440867d
Auto merge of #10722 - notriddle:table_cell_valign, r=SimonSapin
...
layout: Add support for vertical alignment within table cells.
Fixes #10621
<!-- 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/10722 )
<!-- Reviewable:end -->
2016-04-26 11:04:41 -07:00
bors-servo
1fee7185a7
Auto merge of #10810 - mrobinson:displayitem, r=pcwalton
...
Merge DisplayListEntry into DisplayItem
We don't really need two levels of abstraction for every element in the
DisplayList. This simplifies the complexity of the data structure in
preparation for providing documentation and properly handling scrolling
roots.
<!-- 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/10810 )
<!-- Reviewable:end -->
2016-04-26 10:13:00 -07:00
Alan Jeffrey
9153333f62
Communicate a backtrace to the constellation when panicking.
2016-04-26 11:31:36 -05:00
bors-servo
41b054711a
Auto merge of #10852 - servo:wpt-20160426, r=Ms2ger
...
Update web-platform-tests to revision b94b41945d3c7c9b4f3346cf8654cc5ca7ae567c
<!-- 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/10852 )
<!-- Reviewable:end -->
2016-04-26 08:30:06 -07:00
Ms2ger
950cd1ba87
Update web-platform-tests to revision b94b41945d3c7c9b4f3346cf8654cc5ca7ae567c
2016-04-26 17:09:39 +02:00
bors-servo
47efbea666
Auto merge of #10767 - akhan7:command, r=jdm
...
Added Store Command to ImageCache Task
Implemented last bullet of [Image conformance student project: Initial Steps](https://github.com/servo/servo/wiki/Image-load-conformance-student-project )
<!-- 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/10767 )
<!-- Reviewable:end -->
2016-04-26 07:40:18 -07:00