bors-servo
a61fc5285f
Auto merge of #10534 - asajeffrey:reenable-check-no-unwrap, r=Manishearth
...
Re-enabled etc/ci/check_no_unwrap
Got `etc/ci/check_no_unwrap.sh` to pass, and re-enabled it.
<!-- 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/10534 )
<!-- Reviewable:end -->
2016-04-12 09:57:34 +05:30
bors-servo
ac062931e2
Auto merge of #10528 - larsbergstrom:invalidate_cache, r=edunham
...
Invalidate appveyor cache when rust or cargo rev
r? @edunham
AppVeyor builds are currently failing due to exceeding the cache size limits (https://ci.appveyor.com/project/servo/servo/history ). This happened after the rustup. This patch should ensure we blow away the cache if the rust or cargo versions change.
See:
http://help.appveyor.com/discussions/questions/1788-multiple-build-cache-dependencies
<!-- 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/10528 )
<!-- Reviewable:end -->
2016-04-12 08:36:49 +05:30
bors-servo
934ae41fc9
Auto merge of #10522 - KiChjang:input-cleanup, r=frewsxcv
...
Various cleanups in HTMLInputElement
<!-- 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/10522 )
<!-- Reviewable:end -->
2016-04-12 07:56:38 +05:30
bors-servo
11927da165
Auto merge of #10527 - servo:cr, r=larsbergstrom
...
Work around a Mako bug on Windows
http://logs.glob.uno/?c=mozilla%23servo#c403766
https://i.imgur.com/j5Zv4LX.png
https://bitbucket.org/zzzeek/mako/issues/150/line-ending-handling-broken-on-win32
r? @larsbergstrom
<!-- 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/10527 )
<!-- Reviewable:end -->
2016-04-12 07:13:22 +05:30
bors-servo
61865f66b5
Auto merge of #10505 - amarant:10491-HTMLInputElement-attr, r=KiChjang
...
Issue #10491 add HTMLInputElement attributes that reflect content ide…
…ntically
it uses a new version of string-cache https://github.com/servo/string-cache/pull/148
<!-- 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/10505 )
<!-- Reviewable:end -->
2016-04-12 05:58:16 +05:30
bors-servo
f0014bd9cd
Auto merge of #10224 - emilio:shader-type-validations, r=jdm
...
webgl: Add attribute validations and other nits
Fixes https://github.com/servo/servo/issues/9958
Depends on a bunch of prs, and needs a test.
r? @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/10224 )
<!-- Reviewable:end -->
2016-04-12 05:18:49 +05:30
bors-servo
65120756c0
Auto merge of #10493 - pcwalton:inline-font-size-zero, r=mbrubeck
...
gfx: Clamp the font size we supply to Core Text to 0.01pt.
Core Text treats a font size of 0.0 as 12.0, which is obviously not what
we want.
Improves Twitter.
Improves Reddit /r/rust.
Closes #10492 .
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/10493 )
<!-- Reviewable:end -->
2016-04-12 04:39:37 +05:30
Alan Jeffrey
d01c312278
Re-enabled /etc/ci/check_no_unwrap.
2016-04-11 17:28:19 -05:00
Arnaud Marant
9b8f183cba
Issue #10491 add HTMLInputElement attributes that reflect content identically
...
it uses a new version of string-cache https://github.com/servo/string-cache/pull/148
2016-04-12 00:15:57 +02:00
bors-servo
df21bb47d4
Auto merge of #10178 - danlrobertson:flex-order, r=SimonSapin
...
Implement flexbox reordering
Add style property for `order` and implement reordering by this property
in flex flow. Based on previous work by @zentner-kyle.
Fixes : #9957
<!-- 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/10178 )
<!-- Reviewable:end -->
2016-04-12 03:17:50 +05:30
bors-servo
bc2237ea2b
Auto merge of #10445 - metajack:enable-asmjs, r=jdm
...
Use better JS engine defaults
This adds in preferences for all the SM 39 available options (as
retrieved from Gecko), and uses the same defaults as Gecko. A few
properties are not supported yet, and incremental GC is still always
disabled regardless of the preference setting.
<!-- 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/10445 )
<!-- Reviewable:end -->
2016-04-12 02:37:05 +05:30
Daniel Robertson
3580f91291
Implement flexbox reordering
...
Add style property for order and implement reordering by this property
in flex flow. Based on previous work by @zentner-kyle.
2016-04-11 16:55:16 -04:00
Patrick Walton
18fbf8cf30
gfx: Clamp the font size we supply to Core Text to 0.01pt.
...
Core Text treats a font size of 0.0 as 12.0, which is obviously not what
we want.
Improves Twitter.
Improves Reddit /r/rust.
Closes #10492 .
2016-04-11 13:52:41 -07:00
Lars Bergstrom
195c97caf1
Invalidate appveyor cache when rust or cargo rev
2016-04-11 14:19:56 -05:00
Simon Sapin
d1c09bc84c
Work around a Mako bug on Windows
...
http://logs.glob.uno/?c=mozilla%23servo#c403766
https://i.imgur.com/j5Zv4LX.png
https://bitbucket.org/zzzeek/mako/issues/150/line-ending-handling-broken-on-win32
2016-04-11 21:11:55 +02:00
bors-servo
b214205ba9
Auto merge of #10518 - Ms2ger:smallvec, r=KiChjang
...
Update smallvec.
<!-- 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/10518 )
<!-- Reviewable:end -->
2016-04-12 00:33:53 +05:30
bors-servo
a162cfe45c
Auto merge of #10496 - kaksmet:fix-sandbox, r=pcwalton
...
Fix sandboxing on OS X
The main issue was resources_dir_path. Every time it was called it would start from the executable's path and walk up the hierarchy to find a directory named "resources". The sandbox was granted permission to read from the found resources dir, but after the sandbox had been activated resources_dir_path would again start from the executable's path and try to find the resources dir. It would then fail with "Operation not permitted" when trying to canonicalize the path because it didn't have permissions to read metadata under ./target.
To fix this the resources dir path is now cached between resources_dir_path calls.
<!-- 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/10496 )
<!-- Reviewable:end -->
2016-04-11 23:54:27 +05:30
bors-servo
608533cb4a
Auto merge of #10490 - danlrobertson:correct-size, r=SimonSapin
...
Add tests and clean up `FlexFlow::(block|inline)_mode_assign_inline_sizes`
Clean up `block_mode_assign_inline_sizes` and `inline_mode_assign_inline_sizes` and add extra css tests.
r? @SimonSapin
<!-- 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/10490 )
<!-- Reviewable:end -->
2016-04-11 22:11:07 +05:30
bors-servo
3b7e426d33
Auto merge of #10485 - ConnorGBrewster:navigator_plugins, r=Ms2ger
...
Implement stub for NavigatorPlugins
This PR implements stub for NavigatorPlugins as outlined in #9991 .
r? @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/10485 )
<!-- Reviewable:end -->
2016-04-11 21:17:16 +05:30
Connor Brewster
e83d29a7eb
Implemented stub for NavigatorPlugins
2016-04-11 09:14:46 -06:00
bors-servo
f9f3b7529b
Auto merge of #10513 - frewsxcv:is_the_html_body_element, r=Ms2ger
...
Extract out 'is the html body element' CSSOM concept.
<!-- 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/10513 )
<!-- Reviewable:end -->
2016-04-11 20:36:31 +05:30
Corey Farwell
2c9b00ef6b
Extract out 'is the html body element' CSSOM concept.
2016-04-11 10:51:00 -04:00
bors-servo
6939ff53c4
Auto merge of #10519 - frewsxcv:links, r=KiChjang
...
Update 'Extensions to the HTMLElement Interface' CSSOM spec links.
<!-- 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/10519 )
<!-- Reviewable:end -->
2016-04-11 19:57:08 +05:30
Keith Yeung
c9193eaeca
Remove get_ prefix for functions in LayoutHTMLInputElementHelpers
2016-04-11 09:17:04 -04:00
Corey Farwell
714236e7b2
Update 'Extensions to the HTMLElement Interface' CSSOM spec links.
2016-04-11 09:05:02 -04:00
Keith Yeung
2d503c8281
Rename fn get_form_datum to form_datum
2016-04-11 08:56:47 -04:00
Keith Yeung
814afd6537
Move check for mutability up as a guard clause
2016-04-11 08:55:26 -04:00
Keith Yeung
916c035b57
Rename fn mutable to is_mutable
2016-04-11 08:54:50 -04:00
Keith Yeung
f54a8fc845
Use fn in_same_group where appropriate
2016-04-11 08:41:46 -04:00
bors-servo
07304235cc
Auto merge of #10502 - KiChjang:fix-open-url-base, r=Ms2ger
...
Add API base url method to global objects
This adds an `api_base_url` function to global objects, which fixes `open-url-base.htm` under XMLHttpRequest.
<!-- 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/10502 )
<!-- Reviewable:end -->
2016-04-11 17:57:02 +05:30
Keith Yeung
0541a01924
Rename get_radio_group_name to radio_group_name
2016-04-11 08:20:30 -04:00
Keith Yeung
e4cd8044a5
Remove unused fn get_indeterminate_state
2016-04-11 08:18:53 -04:00
Keith Yeung
311d2c65b6
Rename get_value_mode to value_mode
2016-04-11 08:07:32 -04:00
Keith Yeung
c75079eff3
Add API base url method to global objects
2016-04-11 07:49:31 -04:00
Ms2ger
5127d2e2a6
Update smallvec.
2016-04-11 13:38:25 +02:00
bors-servo
5adf36231e
Auto merge of #10516 - Ms2ger:cleanup, r=nox
...
Various cleanup.
<!-- 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/10516 )
<!-- Reviewable:end -->
2016-04-11 14:13:48 +05:30
Ms2ger
3f95e4c8e1
Use upcast() in XMLDocument methods.
2016-04-11 10:30:08 +02:00
Ms2ger
0633ca4144
Remove unused import from xmldocument.
2016-04-11 10:29:51 +02:00
Ms2ger
71f56d6744
Simplify PrecedingNodeIterator::next().
2016-04-11 10:29:32 +02:00
Ms2ger
0d732ebb5f
Implement Clone for Root.
2016-04-11 10:29:13 +02:00
bors-servo
5aa62b3621
Auto merge of #10514 - frewsxcv:element-cleanup, r=KiChjang
...
Various 'element.rs' cleanup.
<!-- 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/10514 )
<!-- Reviewable:end -->
2016-04-11 09:27:11 +05:30
Corey Farwell
11a3ce1257
Remove get_*
on getters as per RFC 0344.
...
https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis
https://github.com/servo/servo/issues/6224
2016-04-10 22:49:35 -04:00
Corey Farwell
3b376bb319
Remove superfluous end-of-file whitespace.
2016-04-10 22:03:27 -04:00
Corey Farwell
e397b30278
Remove dead link.
2016-04-10 22:03:03 -04:00
bors-servo
e10ab5ae53
Auto merge of #10503 - canaltinova:master, r=KiChjang
...
Replaced SendParam with BodyInit
Replaced SendParam with BodyInit. Fixes #9433 .
<!-- 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/10503 )
<!-- Reviewable:end -->
2016-04-10 03:38:08 +05:30
Nazım Can Altınova
d49a84c762
Replaced SendParam with BodyInit
2016-04-10 01:02:04 +03:00
bors-servo
5a3d6850c6
Auto merge of #10501 - canaltinova:master, r=KiChjang
...
Removed unused imports from methods.rs
Fixes #10500
<!-- 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/10501 )
<!-- Reviewable:end -->
2016-04-10 01:21:04 +05:30
bors-servo
c33bf4987a
Auto merge of #10257 - slayerjain:first_bug, r=KiChjang
...
Fixes #10141 .
<!-- 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/10257 )
<!-- Reviewable:end -->
2016-04-10 00:39:51 +05:30
Nazım Can Altınova
d22d1c4fc1
Removed unused imports from methods.rs
2016-04-09 22:09:11 +03:00
shubham_jain
6626c5cfd4
issue #10141 : Document::location set null for documents without a browsing context. r=Ms2ger
2016-04-09 22:54:07 +05:30