Dongie Agnir
12afd837a0
Ask for reset when option is removed.
2015-12-27 21:47:13 -10:00
bors-servo
941653da65
Auto merge of #8958 - jkachmar:separate-layout-msg, r=KiChjang
...
Separate script and layout messages, issue #8843
Separated layout-specific messages to the constellation out from the `ScriptMsg` enum into a `LayoutMsg` enum within `script_traits/script_msg.rs`, addresses [#8843 ](https://github.com/servo/servo/issues/8843 ).
I initially tried to move `LayoutMsg` into `layout_traits/lib.rs`, but this introduced a cyclic dependency: `layout_traits` depends on `script_traits` for the `LayoutTaskFactory` implementation, and `script_traits/script_task.rs` now depends on `LayoutMsg` for new layout channels in `InitialScriptState` and `ScriptTask`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8958 )
<!-- Reviewable:end -->
2015-12-27 03:24:38 +05:30
Joe Kachmar
655268d111
Separate script and layout messages, issue #8843
2015-12-26 12:24:51 -05:00
bors-servo
d2e7fd8221
Auto merge of #9066 - dsprenkels:issue-9060, r=Wafflespeanut
...
tidy.py: pass list of lines to each testing function
instead of whole content buffer
See #9060 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9066 )
<!-- Reviewable:end -->
2015-12-26 18:44:12 +05:30
Daan Sprenkels
a01400734d
tidy.py: split checking functions into {normal,line}-checking categories
...
This is done, because the majority of the functions splits the lines, and
it would be better to do this just once.
This commit also optimised the licence checking function slightly by only
checking the fist lines of the file (where the amount of lines is the
line span of the longest license)
2015-12-26 13:47:54 +01:00
bors-servo
c6d613f75b
Auto merge of #9069 - antrik:cargo_config-location, r=SimonSapin
...
HACKING_QUICKSTART.md: Don't recommend creating .cargo/config in pare…
…nt directory
Recommend putting crate overrides directly in the servo/.cargo/config,
rather than in Servo's parent directory.
Overrides in the parent directory are unnecessary and confusing for
typical use cases.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9069 )
<!-- Reviewable:end -->
2015-12-26 04:40:42 +05:30
bors-servo
89ab368258
Auto merge of #8506 - nox:finish-ranges, r=dzbarsky
...
Properly propagate changes when range or trees are mutated
Does the same thing as #6817 , but storing Range instances directly in their start and end containers.
Cc @dzbarsky
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8506 )
<!-- Reviewable:end -->
2015-12-26 04:08:15 +05:30
Anthony Ramine
3c76835615
Properly propagate changes when range or trees are mutated
2015-12-25 23:35:57 +01:00
Olaf Buddenhagen
dac4056d60
HACKING_QUICKSTART.md: Don't recommend creating .cargo/config in parent directory
...
Recommend putting crate overrides directly in the servo/.cargo/config,
rather than in Servo's parent directory.
Overrides in the parent directory are unnecessary and confusing for
typical use cases.
2015-12-25 21:08:31 +01:00
bors-servo
7db6ce41d2
Auto merge of #8725 - dzbarsky:no_context, r=eefriedman
...
Handle toDataURL with no context
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8725 )
<!-- Reviewable:end -->
2015-12-25 02:04:40 +05:30
David Zbarsky
84ec9c4266
Handle toDataURL with no context
2015-12-24 11:48:04 -08:00
bors-servo
1073cdb408
Auto merge of #9065 - simartin:issue_6601_testcase, r=eefriedman
...
Issue #6601 : Added testcase to ensure we don't regress
Test case for https://github.com/servo/servo/issues/6601
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9065 )
<!-- Reviewable:end -->
2015-12-25 00:37:43 +05:30
Simon Martin
8d08f1156f
Issue #6601 : Added testcase to ensure we don't regress.
2015-12-24 15:21:00 +01:00
bors-servo
f77c792886
Auto merge of #9055 - simartin:issue_9042, r=Wafflespeanut
...
Issue #9042 : Report incorrect number of spaces around => in the style checker
Fixes https://github.com/servo/servo/issues/9042
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9055 )
<!-- Reviewable:end -->
2015-12-24 10:55:48 +05:30
bors-servo
9412e71460
Auto merge of #9004 - bholley:stylo_uplifts_1, r=pcwalton
...
Stylo uplifts Part 1
@pcwalton indicated his approval for landing stuff for the servo/gecko layout integration into the tree, which will improve maintainability for that effort. Here's an initial batch.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9004 )
<!-- Reviewable:end -->
2015-12-24 01:31:57 +05:30
Simon Martin
cec661fa86
Issue #9042 : Report incorrect number of spaces around => in the style checker.
2015-12-23 20:54:26 +01:00
Bobby Holley
874545d8ca
Hoist more stuff from the concrete wrapper implementations into the trait definitions to allow sharing.
2015-12-23 12:05:25 -07:00
Bobby Holley
e55a56d757
Add an is_text_node to LayoutNode, so that we don't need to implement type_id for the style system.
2015-12-23 12:05:25 -07:00
Bobby Holley
6637626e02
Make DangerousThreadSafeLayoutNode public. :-(
...
I'm open to suggestions on how to do this better.
2015-12-23 12:05:25 -07:00
bors-servo
da8952b702
Auto merge of #9044 - ecoal95:offscreen-gl-up, r=jdm
...
Update offscreen_gl_context
cc: https://github.com/ecoal95/rust-offscreen-rendering-context/pull/46
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9044 )
<!-- Reviewable:end -->
2015-12-23 20:35:37 +05:30
bors-servo
68c4f290c7
Auto merge of #8938 - nerith:gfx, r=Ms2ger
...
Move LayerKind and ScrollPolicy enums to gfx_traits
Fixes #8836 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8938 )
<!-- Reviewable:end -->
2015-12-23 18:38:51 +05:30
Emilio Cobos Álvarez
d2a57394a8
Add libgles2-mesa-dev to the apt-get dependencies on Linux
2015-12-22 20:30:50 +01:00
bors-servo
dafdc856ac
Auto merge of #9030 - askobara:refactoring-add-htmlformelement-fire_event, r=Manishearth
...
Add helper method HTMLFormElement::fire_event
Fixes #8777
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9030 )
<!-- Reviewable:end -->
2015-12-22 22:38:19 +05:30
bors-servo
9306be60c2
Auto merge of #9048 - frewsxcv:precompute-iframe, r=Ms2ger
...
Precompute width & height attribute values on <iframe>
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9048 )
<!-- Reviewable:end -->
2015-12-22 21:58:38 +05:30
Corey Farwell
7a2b3535f9
Precompute width & height attribute values on <iframe>
2015-12-22 08:13:40 -08:00
bors-servo
48388ad036
Auto merge of #9040 - mrobinson:fix-comment, r=nox
...
Remove a fixed TODO
Issue #2009 has already been fixed and closed so we can remove this TODO
entirely.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9040 )
<!-- Reviewable:end -->
2015-12-22 20:40:13 +05:30
bors-servo
1ddcf9463a
Auto merge of #9041 - mrobinson:remove-euclid-workaround, r=jdm
...
Remove workaround for Rect::is_empty
Now that euclid is up-to-date this workaround is no longer necessary.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9041 )
<!-- Reviewable:end -->
2015-12-22 18:18:23 +05:30
Martin Robinson
ecc58786b7
Remove workaround for Rect::is_empty
...
Now that euclid is up-to-date this workaround is no longer necessary.
2015-12-22 10:30:52 +01:00
Arthur Skobara
d38771e270
Implement EventTarget::fire_simple_event and EventTarget::fire_simple_event_params
2015-12-22 13:47:57 +06:00
Emilio Cobos Álvarez
b57fc731c2
ci: Make travis link libgles2-mesa-dev on linux
2015-12-22 04:33:04 +01:00
Emilio Cobos Álvarez
992a36234c
Update offscreen_gl_context
2015-12-22 04:33:03 +01:00
Martin Robinson
74a23c9af2
Remove a fixed TODO
...
Issue #2009 has already been fixed and closed so we can remove this TODO
entirely.
2015-12-21 18:37:54 +01:00
bors-servo
df087cc6cf
Auto merge of #9036 - KiChjang:document-charset, r=Ms2ger
...
Implement Document charset
Rebase of #7966 .
Fixes #7718 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9036 )
<!-- Reviewable:end -->
2015-12-21 22:05:02 +05:30
bors-servo
a8783ad184
Auto merge of #8845 - akumar21NCSU:master, r=jdm
...
M1502: Expand HTTP request response monitoring-2
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8845 )
<!-- Reviewable:end -->
2015-12-21 21:17:25 +05:30
Abhishek Kumar
f889b1ccd7
Support responseCookies, responseContent, responseHeaders, requestCookies, getResponseHeaders,
...
getResponseContent, getRequestPostData, getRequestCookies, getResponseCookies, getEventTimings and
getSecurityInfo message for network devtools
Fixing Indentation
2015-12-21 10:28:40 -05:00
bors-servo
552df7e79e
Auto merge of #9038 - servo:update-wpt, r=nox
...
Update web-platform-tests to revision 887399d3d0a85d0e27a6688ae384459376adf7ca
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9038 )
<!-- Reviewable:end -->
2015-12-21 19:00:24 +05:30
Ms2ger
8ea56eabaa
Update web-platform-tests to 887399d3d0a85d0e27a6688ae384459376adf7ca
2015-12-21 14:30:03 +01:00
vectorijk
c559270b83
implement document charset
...
- pre-compute the adjusted encoding name
Fix build errors and update test expectations
2015-12-21 03:17:52 -08:00
Brandon Fairchild
637afecec9
Move LayerKind and ScrollPolicy enums to gfx_traits
...
This also moves LayerId and LayerProperties to gfx_traits.
Fixes #8836 .
2015-12-20 20:43:31 -05:00
bors-servo
a900196b3f
Auto merge of #9035 - Ms2ger:warnings, r=nox
...
Remove some unused imports.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9035 )
<!-- Reviewable:end -->
2015-12-21 05:58:59 +05:30
Ms2ger
0cc75b731c
Remove some unused imports.
2015-12-20 22:26:07 +01:00
bors-servo
9a4d82c314
Auto merge of #8863 - simartin:issue_8352, r=jdm
...
Issue #8352 : Dispatch mozbrowsershowmodalprompt event for alert().
Fixes https://github.com/servo/servo/issues/8352
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8863 )
<!-- Reviewable:end -->
2015-12-21 02:28:32 +05:30
bors-servo
5b91daa923
Auto merge of #9025 - k-cross:master, r=nox
...
touchlist dom api #8225
Sorry for the wait, I just finished my finals.
Fixes #8225
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9025 )
<!-- Reviewable:end -->
2015-12-21 01:19:41 +05:30
bors-servo
62b11a28fa
Auto merge of #9027 - vwvww:cmrf2, r=jdm
...
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
resolving issue #8835 .
(Need to be checked)
Variants in ScriptToCompositorMsg enum and EventResult enum had no doc
comment. I found some with grep command and copied it, and others I
wrote some doc comments manually to pass the build system. It needs to
be checked whether the doc comment is proper or not.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9027 )
<!-- Reviewable:end -->
2015-12-21 00:30:03 +05:30
Beomjin Kim
82f39d5a1c
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
...
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
(rebased)
2015-12-20 11:53:41 +09:00
k-cross
ae8d3f67c8
touchlist dom api #8225
2015-12-19 12:10:18 -08:00
bors-servo
95eabdb4db
Auto merge of #9022 - mskrzypkows:PaintMsg_refactoring, r=jdm
...
Move PaintMsg enum to gfx_traits #8844
re-PR of https://github.com/servo/servo/pull/9007 , because homu seems stuck
Fixes #8844 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9022 )
<!-- Reviewable:end -->
2015-12-20 01:34:26 +05:30
bors-servo
8c87477138
Auto merge of #9026 - Manishearth:attack-of-the-clones, r=Ms2ger
...
Remove clone in collect_text_contents
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9026 )
<!-- Reviewable:end -->
2015-12-20 00:14:02 +05:30
Beomjin Kim
2637d30c2a
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
...
Moved ScriptToCompositorMsg enum and EventResult enum to script_traits
resolving issue #8835 .
2015-12-20 00:31:33 +09:00
Simon Martin
0d910bb934
Issue #8352 : Dispatch mozbrowsershowmodalprompt event for alert().
2015-12-19 12:51:33 +01:00