Ms2ger
f1f53468a0
Use a Cell for HTMLScriptElement::block_character_encoding.
2016-03-18 16:51:29 +01:00
askalski
89b8499df8
Implement encoding determination for external scripts.
2016-03-18 16:51:25 +01:00
Ms2ger
b1cd28e9c6
Store the encoding in the Document rather than its name.
2016-03-18 16:22:52 +01:00
Corey Farwell
182b9b1e4f
Use external 'threadpool' crate, remove in-tree utility.
2016-03-18 11:05:49 -04:00
Ms2ger
08083f1c9d
Deny unsafe code in more crates.
2016-03-18 14:43:03 +01:00
Ms2ger
c90a1b9b1c
Remove unnecessary path attributes from gfx/lib.rs.
2016-03-18 14:42:16 +01:00
bors-servo
e551ea7322
Auto merge of #10070 - Ms2ger:unsafe-net, r=KiChjang
...
Disallow unsafe code in net and net_traits.
<!-- 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/10070 )
<!-- Reviewable:end -->
2016-03-18 17:09:24 +05:30
bors-servo
14c6497dbd
Auto merge of #9971 - danlrobertson:i9357, r=KiChjang
...
Add wpt tests for send
Add wpt tests for send that do not set the responseType and compare the result against a string.
Fixes #9357
r? @KiChjang
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9971 )
<!-- Reviewable:end -->
2016-03-18 16:27:40 +05:30
bors-servo
20eb81c00a
Auto merge of #10009 - creativcoder:impl-navigator-language, r=Ms2ger
...
implements NavigatorLanguage
Fixes #9992
<!-- 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/10009 )
<!-- Reviewable:end -->
2016-03-18 15:29:46 +05:30
Ms2ger
e8db43ce50
Disallow unsafe code in net and net_traits.
2016-03-18 10:30:07 +01:00
Cengiz Can
135429fa63
Add a script to CI to check dynamic symbols in Android binary #8351
2016-03-18 01:22:14 +02:00
Alexander Popiak
0a5ac3b207
implement and use From<bool> for enum and back
...
implement and use From<bool> for EventBubbles (and back direction)
implement and use From<bool> for EventCancelable (and back direction)
2016-03-17 22:50:22 +01:00
bors-servo
ce2da28a00
Auto merge of #10061 - DavidBM:clean_code_removing_overflow_in_assign_bsizes, r=Manishearth
...
Remove overflow references on AssignBSizesAndStoreOverflow code
<!-- 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/10061 )
<!-- Reviewable:end -->
2016-03-18 02:14:22 +05:30
David Bonet
57df260f9d
Removed overflow references on AssignBSizesAndStoreOverflow code
2016-03-17 21:14:50 +01:00
bors-servo
0008c07dc3
Auto merge of #10014 - saurvs:pr1, r=KiChjang
...
Update WebSocket blocked ports to match the Fetch spec
Adresses #9949 .
This adds a function that tests whether a request should be blocked or not based on it's url's scheme and port. It also adds testing for port restriction to the `main_fetch` method. More info in eb07418c83
.
@Ms2ger In https://github.com/whatwg/html/issues/841 , @annevk proposes to remove port restrictions from websockets. Should we go ahead do that, given that the spec hasn't been changed yet?
<!-- 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/10014 )
<!-- Reviewable:end -->
2016-03-18 00:31:24 +05:30
St.Spyder
34726d8b9e
Implementation of Blob Constructor with test changes
2016-03-17 23:47:12 +05:30
Daniel Robertson
8ca7ff11ca
Add wpt tests for send
...
Add wpt tests for send that do not set the responseType and
compare the result against a string.
2016-03-17 10:26:27 -04:00
bors-servo
7a9dc57761
Auto merge of #10055 - servo:serde, r=Ms2ger
...
Bump serde to 0.7
<!-- 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/10055 )
<!-- Reviewable:end -->
2016-03-17 18:27:36 +05:30
Anthony Ramine
46c505e47b
Bump serde to 0.7
2016-03-17 13:52:39 +01:00
Saurav Sachidanand
4ddf4e7bdc
Update WebSocket blocked ports to match the Fetch spec
2016-03-17 18:21:20 +05:30
Rahul Sharma
facf59177c
implements NavigatorLanguage
2016-03-17 16:13:37 +05:30
Anthony Ramine
7214fba45b
Bump openssl to 0.7.6
2016-03-16 23:42:21 -07:00
Anthony Ramine
a4d6d41665
Reorder dependencies in net/Cargo.toml
2016-03-16 23:36:04 -07:00
Anthony Ramine
f7af675861
Update log to 0.3.5
2016-03-16 23:36:04 -07:00
bors-servo
e273517fe0
Auto merge of #10039 - pcwalton:update-webrender-again, r=glennw
...
servo: Update WebRender to pick up the blend mode fix.
Closes #9877 .
r? @glennw
<!-- 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/10039 )
<!-- Reviewable:end -->
2016-03-17 05:13:58 +05:30
bors-servo
b7304f1152
Auto merge of #10037 - pcwalton:update-glutin, r=mbrubeck
...
servo: Update Glutin.
Closes #9855 .
Closes #9878 .
r? @mbrubeck
<!-- 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/10037 )
<!-- Reviewable:end -->
2016-03-17 02:55:41 +05:30
Patrick Walton
74e5d901eb
servo: Update WebRender to pick up the blend mode fix.
...
Closes #9877 .
2016-03-16 13:26:20 -07:00
bors-servo
909ff4446a
Auto merge of #10035 - saurvs:master, r=jdm
...
Resets selection in textinput when its content is changed.
Fixes https://github.com/servo/servo/issues/10005 .
<!-- 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/10035 )
<!-- Reviewable:end -->
2016-03-17 01:32:58 +05:30
bors-servo
42c7472f33
Auto merge of #10003 - qaxi:master, r=metajack
...
Patch handles exception with errormessage on topdir with Unicode characters.
https://github.com/servo/servo/issues/10002
./mach does not support paths with Unicode characters for now
it fail on original line 154 with exception UnicodeDecodeError
This patch handles the exception
<!-- 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/10003 )
<!-- Reviewable:end -->
2016-03-17 00:45:22 +05:30
Patrick Walton
7df52a0144
servo: Update Glutin.
...
Closes #9855 .
Closes #9878 .
2016-03-16 11:21:19 -07:00
bors-servo
84d3ba0759
Auto merge of #10026 - pcwalton:no-browserhtml-flash, r=metajack
...
compositing: In borderless mode, don't show the window until the page has loaded.
This avoids a flash of unstyled content, which looks especially bad in
browser.html since unstyled content is white and browser.html has a
transparent background.
Closes #9996 .
r? @metajack
cc @jdm since you had some concerns
<!-- 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/10026 )
<!-- Reviewable:end -->
2016-03-16 23:46:59 +05:30
Saurav Sachidanand
0b593759df
Resets selection in textinput when its content is changed.
...
Adds a wpt test as well.
2016-03-16 22:20:22 +05:30
bors-servo
37574065e0
Auto merge of #9838 - szeged:webbluetooth, r=jdm
...
WebBluetooth API classes
Basic implementation of WebBluetooth API
API spec.: https://webbluetoothcg.github.io/web-bluetooth/
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9838 )
<!-- Reviewable:end -->
2016-03-16 21:01:18 +05:30
bors-servo
6c5bfca53e
Auto merge of #10033 - Ms2ger:jquery, r=jdm
...
Make the jquery test runner work again.
CC #10032 .
<!-- 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/10033 )
<!-- Reviewable:end -->
2016-03-16 19:21:31 +05:30
Ms2ger
773d4a7ee5
Update expected results for the jquery tests.
...
Apparently four of the attributes tests were fixed at some point.
2016-03-16 14:48:10 +01:00
Ms2ger
c15fa8bf25
Use call rather than check_call in jquery_test_runner.
...
The contract for mach commands is to return zero / non-zero to indicate
success / failure, rather than throwing an exception. Since run_jquery.py
uses a 1 exit code when there are unexpected results, this would cause an
exception from check_call, which would then be printed with a stack trace.
2016-03-16 14:47:26 +01:00
Attila Dusnoki
e7d70cfabf
WebBluetooth API classes
2016-03-16 10:34:48 +01:00
bors-servo
ad47c093ad
Auto merge of #10025 - pcwalton:upgrade-webrender, r=glennw
...
servo: Upgrade WebRender.
Closes #9867 .
r? @glennw
<!-- 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/10025 )
<!-- Reviewable:end -->
2016-03-16 10:55:41 +05:30
Patrick Walton
c2581d5cef
compositing: In borderless mode, don't show the window until the page
...
has loaded.
This avoids a flash of unstyled content, which looks especially bad in
browser.html since unstyled content is white and browser.html has a
transparent background.
Closes #9996 .
2016-03-15 22:07:21 -07:00
Patrick Walton
10e948e1b6
servo: Upgrade WebRender.
...
Closes #9867 .
2016-03-15 21:42:45 -07:00
bors-servo
437e875c2e
Auto merge of #9997 - pcwalton:text-node-damage, r=mbrubeck
...
style: Compute damage for text nodes.
They have styles just like elements do.
Allows a dynamic change of `display: none` to `display: inline` to work.
Closes #9868 .
r? @mbrubeck
<!-- 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/9997 )
<!-- Reviewable:end -->
2016-03-16 10:01:49 +05:30
Patrick Walton
d59dee0c65
style: Compute damage for text nodes.
...
They have styles just like elements do.
Allows a dynamic change of `display: none` to `display: inline` to work.
Closes #9868 .
2016-03-15 21:32:16 -07:00
bors-servo
1a60e07ee8
Auto merge of #10013 - malayaleecoder:master, r=Wafflespeanut
...
Remove submodule update from mach bootstrap. Fixes #10010
Tries to fix #10010 . Please have a look.
<!-- 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/10013 )
<!-- Reviewable:end -->
2016-03-16 00:19:04 +05:30
malayaleecoder
4ee331059d
Remove submodule update from mach bootstrap. Fixes #10010
2016-03-16 00:02:15 +05:30
Simon Sapin
bab28e5070
Fix up overflow_x and _y after the fact rather than have their values in computed::Context.
2016-03-15 18:10:17 +01:00
Simon Sapin
54790d0ae5
Fix the rem unit.
...
(I think it’s never worked in over a year since it was implemented…)
2016-03-15 18:10:16 +01:00
bors-servo
4607ed2f95
Auto merge of #10008 - servo:wpt-20160315, r=Ms2ger
...
Update web-platform-tests to revision 66c4613f823c4384c78ada77346eda17bb128947
<!-- 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/10008 )
<!-- Reviewable:end -->
2016-03-15 22:14:58 +05:30
Ms2ger
a91433f0c8
Update web-platform-tests to revision 66c4613f823c4384c78ada77346eda17bb128947
2016-03-15 16:34:24 +01:00
bors-servo
78b16bcc1d
Auto merge of #9987 - larsbergstrom:codegen_units, r=metajack
...
Test using 4 parallel codegen units on release builds
Do not merge yet! Doing a test run first.
Note that `codegen-units` had very little effect on our dev builds (saved ~12 seconds http://logs.glob.uno/?c=mozilla%23servo&s=6+Aug+2015&e=6+Aug+2015#c252485 ).
@bors-servo try
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9987 )
<!-- Reviewable:end -->
2016-03-15 20:50:44 +05:30
bors-servo
183772583f
Auto merge of #9988 - Ms2ger:lazy-static-host-table, r=Manishearth
...
Use lazy_static for HOST_TABLE.
This might change behaviour if the file is changed between Servo startup and
the moment HOST_TABLE is first accessed. I don't think we care.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9988 )
<!-- Reviewable:end -->
2016-03-15 16:33:03 +05:30