Commit graph

17317 commits

Author SHA1 Message Date
fokinv
b01c52c18f Implementation of the getPrimaryService(s), the getCharacteristic(s) and the getDescriptor(s) functions. 2016-05-03 10:17:42 +02:00
fokinv
9825ea41b4 Add Bluetooth IPC support 2016-05-03 10:17:41 +02:00
zakorgyula
9d55748de2 Update assigned services, characteristics and descriptors 2016-05-03 10:17:39 +02:00
Attila Dusnoki
9e57364795 Fix value types 2016-05-03 10:17:38 +02:00
bors-servo
ddada69acb Auto merge of #10957 - heycam:number, r=bholley
Support plain number-typed properties in geckolib

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/10957)
<!-- Reviewable:end -->
2016-05-02 21:58:17 -07:00
bors-servo
3128a71ac7 Auto merge of #10971 - shssoichiro:remove-cacherequestdetails, r=KiChjang
Remove CacheRequestDetails

Fixes #10904

Note that the related web-platform-tests failed both before and after this commit

<!-- 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/10971)
<!-- Reviewable:end -->
2016-05-02 19:58:14 -07:00
Joshua Holmer
8bb740e95e Remove CacheRequestDetails
Fixes #10904
2016-05-02 22:08:16 -04:00
bors-servo
e39ed932cb Auto merge of #10976 - frewsxcv:novendor-mach, r=mbrubeck
Upgrade mach to 0.6; stop vendoring mach.

When I originally rewrote Servo's mach bootstrapping (using virtualenv
w/ requirements.txt in #7103), I didn't specify mach as a requirement
because a new version hadn't been published in a while. Now that 0.6
is out, I asked the mach maintainers to publish a new version on PyPI,
so now we can fetch it like the other Python dependencies.

Fixes https://github.com/servo/servo/issues/10728.

<!-- 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/10976)
<!-- Reviewable:end -->
2016-05-02 18:07:25 -07:00
Cameron McCormack
53649b19d0 Support flex-{grow,shrink}, stroke-miterlimit and -moz-box-flex in geckolib. 2016-05-03 10:01:31 +10:00
Cameron McCormack
3255bb809e Add a predefined Number type. 2016-05-03 10:01:30 +10:00
Cameron McCormack
d71e5c8b3d Support {fill,stroke,stop,flood}-opacity in geckolib. 2016-05-03 10:01:29 +10:00
Cameron McCormack
0f2dc53b0a Factor out opacity property to use an Opacity type. 2016-05-03 10:01:28 +10:00
Cameron McCormack
d69763b0c1 Generate geckolib setters for properties with simple predefined types. 2016-05-03 10:01:28 +10:00
bors-servo
361b2b900e Auto merge of #10975 - mbrubeck:more-deps, r=KiChjang
Update even more dependencies

Adds a temporary exception to allow multiple versions of lazy_static. PRs have already been filed on the packages that are still using the old version.

<!-- 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/10975)
<!-- Reviewable:end -->
2016-05-02 16:48:45 -07:00
Matt Brubeck
6379243485 Remove unused dependencies 2016-05-02 16:33:56 -07:00
Corey Farwell
7725e644e9 Upgrade mach to 0.6; stop vendoring mach.
When I originally rewrote Servo's mach bootstrapping (using virtualenv
w/ requirements.txt in #7103), I didn't specify mach as a requirement
because a new version hadn't been published in a while. Now that 0.6
is out, I asked the mach maintainers to publish a new version on PyPI,
so now we can fetch it like the other Python dependencies.

Fixes https://github.com/servo/servo/issues/10728.
2016-05-02 19:27:52 -04:00
Matt Brubeck
a2b0585ffd Update lazy_static, selectors, string_cache, futf, quickersort 2016-05-02 16:05:31 -07:00
Matt Brubeck
2125c3bc42 Remove some unused dependencies 2016-05-02 16:00:57 -07:00
bors-servo
a8e82440ff Auto merge of #10973 - mbrubeck:always-be-updating, r=jdm
Update x11, clipboard-win, and libz-sys

<!-- 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/10973)
<!-- Reviewable:end -->
2016-05-02 13:46:30 -07:00
bors-servo
8255e74a61 Auto merge of #10081 - jdm:interfacepref, r=nox
Support controlling interface and member visibility via preferences

This was easier to throw together than per-attribute/method support, and it gets rid of some nonstandard properties from our globals.

Fixes #7626.

r? @Ms2ger

<!-- 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/10081)
<!-- Reviewable:end -->
2016-05-02 11:35:38 -07:00
Josh Matthews
2a9bf70f03 Move FocusEvent into the right list of exposed interfaces. 2016-05-02 14:32:59 -04:00
Josh Matthews
a03fc5e2fd Hide nonstandard interface members of standard interfaces behind appropriate prefs. 2016-05-02 14:32:58 -04:00
Josh Matthews
cb5bad63dc Implement hiding of interface members via Pref annotations. 2016-05-02 14:32:56 -04:00
Josh Matthews
88059acd7e Start generating arrays of specs for easier implementation of preference checks. 2016-05-02 14:32:55 -04:00
Josh Matthews
693d31d4ed Ensure bluetooth and testbinding are disabled by default. 2016-05-02 14:32:54 -04:00
Josh Matthews
f4c1529f56 Forbid unconditionally-exposed interfaces that inherit from conditionally-exposed ones. 2016-05-02 14:32:53 -04:00
Josh Matthews
91a78ed109 Disable nonstandard interfaces via prefs. 2016-05-02 14:32:52 -04:00
Matt Brubeck
aabb37b01d Update x11, clipboard-win, and libz-sys 2016-05-02 09:20:41 -07:00
bors-servo
a54dedac1f Auto merge of #10946 - bd339:iss10940, r=nox
Disable scripting for documents created without a browsing context

Goes towards closing #10940.

<!-- 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/10946)
<!-- Reviewable:end -->
2016-05-02 08:48:02 -07:00
bors-servo
e7caaa77b4 Auto merge of #10970 - servo:loaddata, r=KiChjang
Simplify load_data handling in handle_script_loaded_url_in_iframe_msg.

<!-- 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/10970)
<!-- Reviewable:end -->
2016-05-02 07:38:15 -07:00
Ms2ger
db6543e502 Simplify load_data handling in handle_script_loaded_url_in_iframe_msg. 2016-05-02 16:36:57 +02:00
bors-servo
d32648172c Auto merge of #10969 - servo:iframe, r=KiChjang
Iframe improvements.

<!-- 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/10969)
<!-- Reviewable:end -->
2016-05-02 05:32:25 -07:00
Ms2ger
eba74554f3 Add and update some FIXME comments about origin handling with iframes. 2016-05-02 12:34:08 +02:00
Ms2ger
68076fbd7b Return a Url from HTMLIFrameElement::get_url.
Since Url::origin() always returns an opaque origin for about: urls, I don't
believe this changes behaviour.
2016-05-02 12:32:44 +02:00
bors-servo
5358df5a16 Auto merge of #10958 - izgzhen:fixes, r=nox
Minor fixes to documentation

1. Looks like getters and setters are specified here already. 0385f60310/components/script/dom/bindings/mod.rs (L62)
2. The `MutNullableJS` and `Unrooted` looks obsolete

<!-- 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/10958)
<!-- Reviewable:end -->
2016-05-02 00:59:37 -07:00
bors-servo
14926529c9 Auto merge of #10873 - izgzhen:blob, r=Manishearth
Fixes related to File API

Fixing problems I met when trying to resolve https://github.com/servo/servo/issues/10851, but most of changes here are simple 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/10873)
<!-- Reviewable:end -->
2016-05-01 22:13:20 -07:00
Zhen Zhang
e0f3cdafe1 Fixes related to file input and File API 2016-05-02 12:52:28 +08:00
Zhen Zhang
0385f60310 fix docs 2016-05-02 11:17:35 +08:00
bors-servo
ca05f03ea3 Auto merge of #10938 - bholley:margin_padding_fontsize_hasclass, r=emilio
Geckolib: Implement Margin, Padding, font-size, and has_class

<!-- 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/10938)
<!-- Reviewable:end -->
2016-05-01 19:48:53 -07:00
Bobby Holley
0982e6f237 Implement Margin and Padding.
Note: We still need to handle the cached value stuff. I'll do that shortly.
2016-05-01 19:47:59 -07:00
Bobby Holley
9aab775e7c Implement font-size more correctly.
This still doesn't take zooming into account.
2016-05-01 19:47:58 -07:00
Bobby Holley
eb0cd93d7d Implement has_class. 2016-05-01 19:47:57 -07:00
Bobby Holley
f468166dc3 Regenerate bindings to derive more traits for enums. 2016-05-01 19:47:55 -07:00
bors-servo
e65009f317 Auto merge of #10809 - perlun:sendoushi-master, r=jdm
Fixed line-height for input and textarea + use correct font

Fixes #10532.

Replaces #10553 since @Sendoushi had problems getting a proper rebase locally, so helping him out to get this merged.

(Credits to Sendoushi who did the actual changes; I'm just helping out to getting things into a mergeable state.)

<!-- 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/10809)
<!-- Reviewable:end -->
2016-05-01 16:22:17 -07:00
Per Lundberg
220722e321 Fixed test failures. 2016-05-01 22:37:40 +03:00
bors-servo
288db30cbe Auto merge of #10948 - aneeshusa:clean-up-ci-bash-scripts, r=emilio
Clean up CI bash scripts

Also reverts #9572.

<!-- 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/10948)
<!-- Reviewable:end -->
2016-05-01 08:46:16 -07:00
bd339
2ecd57cfa3 test that JS on a document without a browsing context isn't executed. 2016-05-01 14:08:00 +02:00
bd339
0c92e19e84 make scripting_enabled depend on a browsing context 2016-05-01 14:06:02 +02:00
bors-servo
fc1e4c8085 Auto merge of #10913 - mbrubeck:xi-unicode, r=pcwalton
Use xi-unicode for line breaking

This uses the xi-unicode crate by @raphlinus to detect line-break opportunities, replacing Servo's custom code that only detects ASCII whitespace.  xi-unicode is licensed under the Apache-2.0 license.

See mbrubeck/servo#2 for some discussion on an earlier draft of this code.  This PR implements the "search backward to find trailing whitespace" solution discussed there.

r? @pcwalton

<!-- 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/10913)
<!-- Reviewable:end -->
2016-04-30 21:20:38 -07:00
Aneesh Agrawal
cca3f7a105 Remove etc/ci/retry.sh
It was added with the intention of being used on the CI,
but it was never added to the CI. We have better ways of finding
test failures and intermittents these days.
2016-04-30 23:51:39 -04:00