bors-servo
eb36ab82c0
Auto merge of #14135 - frewsxcv:code-like, r=Ms2ger
...
Indicate items in doc comments as code-like.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14135 )
<!-- Reviewable:end -->
2016-11-14 06:59:35 -06:00
Emilio Cobos Álvarez
5f2e7af864
style: Centralize specified url value handling, and refcount urls.
2016-11-10 13:15:21 +01:00
Corey Farwell
531289ebb7
Indicate items in doc comments as code-like.
2016-11-08 09:33:03 -05:00
Ravi Shankar
6061985898
Prefer Servo-specific ToCss for all types
2016-11-07 09:14:22 +05:30
Ravi Shankar
5dbc8d02c9
Move Servo-specific ToCss to style_traits
2016-11-07 00:00:28 +05:30
Anthony Ramine
046a97fa13
Remove #![feature(rustc_attrs)]
2016-11-03 11:24:19 +01:00
Anthony Ramine
3bc26d1819
Remove #![feature(structural_match)]
2016-11-03 11:24:18 +01:00
Anthony Ramine
c4f27e42b7
Remove #![feature(custom_derive)]
2016-11-03 10:14:21 +01:00
Simon Sapin
5bb4c6c884
Use heapsize_derive instead of heapsize_plugin
2016-11-03 01:10:32 +01:00
Keith Yeung
668163ec5c
Emit TransitionEnd events in the layout thread and process it in the script thread
2016-10-11 19:36:06 -07:00
Anthony Ramine
1854566683
Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)
...
A cargo bump and a switch to serde_derive is needed to do this rustup.
2016-10-09 18:53:47 +02:00
UK992
93a103ba73
Reorder use
statements
2016-09-09 04:55:19 +02:00
Simon Sapin
8bfe978c78
Update cssparser
2016-09-07 14:13:56 +08:00
Emilio Cobos Álvarez
d02c5b0281
style: Don't incorrectly clamp values in calc that might not be only lengths.
...
Expressions with percentages may be negative or positive at computed value time.
So, we can only clamp lengths at computed value time, which is what the other
browsers do.
2016-09-01 23:39:40 -07:00
Emilio Cobos Álvarez
2617d15ed6
style: Properly track whether negative values of calc() are allowed
...
In order to clamp them at computed value time.
2016-08-30 19:17:16 -07:00
Simon Sapin
899192e046
Update cssparser
...
Today’s Rust Nigthly broke it
2016-08-28 23:10:56 +02:00
Anthony Ramine
51768844ed
Update euclid to 0.10.1
2016-08-21 03:03:45 +02:00
Anthony Ramine
7ad51dcd7a
Update serde to 0.8 ( fixes #12659 )
2016-08-12 18:37:27 +02:00
Martin Robinson
6259df5e2d
Update to euclid 0.8
2016-08-12 03:12:06 +02:00
Alan Jeffrey
62e95c5a61
All our Cargo.toml files should contain an MPL-2.0 license field.
2016-07-14 10:26:34 -05:00
Ms2ger
cbfe77cee1
Move some unit type definitions to style_traits.
2016-07-11 12:14:27 +02:00
Anthony Ramine
38a79e4506
Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23)
...
I also properly bump any dependency related to the serde_macros removal
from webrender_traits
2016-06-27 14:13:44 +02:00
Anthony Ramine
abfd52a721
Reorder dependencies
2016-06-26 17:11:27 +02:00
Simon Sapin
b103e8baa7
Remove some usage of unstable features in geckolib
2016-06-22 15:49:07 +02:00
Simon Sapin
3822bb269c
Change style_traits to a single "servo" Cargo feature
...
... instead of fine-grained heap_size and serde-serialization ones.
2016-06-22 15:48:52 +02:00
Simon Sapin
ea73c8efac
Make it possible to build the style_traits crate with a stable compiler.
...
Testing this on CI to make sure we don’t regress it is blocked on #11806
2016-06-22 15:40:53 +02:00
mrmiywj
46cadfdd2c
use less repetitive name
2016-06-12 12:28:07 +08:00
Per Lundberg
2f7ed1d73e
Removed unused imports
...
This fixes #11185 .
2016-05-15 22:24:26 +03:00
Matt Brubeck
2125c3bc42
Remove some unused dependencies
2016-05-02 16:00:57 -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
Simon Sapin
7932ab6ac2
Upgrade to rust-url 1.0 and hyper 0.9
2016-04-23 20:27:58 +02:00
Ms2ger
ff042fdf9c
Drop style_traits's unused dependency on num.
2016-04-20 15:05:04 +02:00
Pawel Kondzior
db2e10a70f
Report memory usage from LayoutThreadData Stylist [ #7038 ]
2016-03-19 11:53:13 -07:00
Anthony Ramine
46c505e47b
Bump serde to 0.7
2016-03-17 13:52:39 +01:00
Anthony Ramine
f7af675861
Update log to 0.3.5
2016-03-16 23:36:04 -07:00
Anthony Ramine
b66d190166
Bump url to 0.5.7
2016-03-09 20:15:16 +01:00
Anthony Ramine
f89c321141
Bump euclid to 0.6.4
2016-03-09 20:15:11 +01:00
Anthony Ramine
200e2286fd
Bump cssparser to 0.5.4
2016-03-09 20:14:38 +01:00
Corey Farwell
75353e19a7
Indicate components should not be published to crates.io.
...
http://doc.crates.io/manifest.html#the-publish--field-optional
2016-03-03 15:04:44 -05:00
Anthony Ramine
290694b27e
Move util::cursor to style_traits
2016-02-16 00:50:01 +01:00
Emilio Cobos Álvarez
dd503dfacb
Refactor style to be completely backend-independent
...
This commit refactors the style crate to be completely independent of
the actual implementation and pseudo-elements supported.
This also adds a gecko backend which introduces parsing for the
anonymous box pseudo-elements[1], although there's still no way of
querying them.
https://mxr.mozilla.org/mozilla-central/source/layout/style/nsCSSAnonBoxList.h
2016-02-13 16:05:14 +01:00
Anthony Ramine
55dcee94be
Bump heapsize to 0.3
2016-02-13 11:13:19 +01:00
Anthony Ramine
680c817d53
Bump url to 0.5.5
2016-02-13 00:08:12 +01:00
Anthony Ramine
899a5bbfa4
Bump selectors to 0.4.1
2016-02-13 00:08:11 +01:00
Anthony Ramine
874fa5595f
Bump euclid to 0.6.2
2016-02-13 00:08:08 +01:00
Anthony Ramine
d0ab28a735
Bump cssparser to 0.5.3
2016-02-13 00:08:07 +01:00
Anthony Ramine
cb5cd8d881
Say farewell to in-tree HeapSizeOf
2016-02-04 22:03:32 +01:00
Anthony Ramine
5bb3fc395a
Bump cssparser to 0.5.2
2016-02-04 14:14:23 +01:00
Anthony Ramine
32bc3d9c09
Reorder dependencies in various Cargo.toml files
2016-02-04 14:09:01 +01:00
Ms2ger
2ea9f2d028
Update Euclid.
2016-02-04 11:02:09 +01:00