Emilio Cobos Álvarez
122f8ed1bb
Update references to malloc_size_of_derive, which is in crates.io now.
2019-01-13 21:59:31 +01:00
Simon Sapin
9f9bf8f6bc
Switch most crates to the 2018 edition
2018-11-06 16:12:04 +01:00
Pyfisch
0ccaa7e1a9
Use keyboard-types crate
...
Have embedders send DOM keys to servo and use a strongly typed KeyboardEvent
from the W3C UI Events spec. All keyboard handling now uses the new types.
Introduce a ShortcutMatcher to recognize key bindings. Shortcuts are now
recognized in a uniform way.
Updated the winit port.
Updated webdriver integration.
part of #20331
2018-10-07 22:39:00 +02:00
Simon Sapin
e39f741321
Remove components/nonzero, use std::num::NonZero instead
2018-06-16 00:14:41 +02:00
Anthony Ramine
a17a1fd06e
Merge msg and msg_tests
2018-01-20 15:33:02 +01:00
Bastien Orivel
29b4eec141
Bump bitflags to 1.0 in every servo crate
2017-10-30 23:36:06 +01:00
Gecko Backout
11c64178d8
Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE
...
Backs out https://github.com/servo/servo/pull/18809
2017-10-19 21:26:51 +00:00
Bastien Orivel
e8e2d0a4b2
Update bitflags to 1.0 in every servo crate
...
It still needs dependencies update to remove all the other bitflags
versions.
2017-10-19 15:01:17 +02:00
Nicholas Nethercote
4506f0d30c
Replace all uses of the heapsize
crate with malloc_size_of
.
...
Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`.
`malloc_size_of` is better -- it handles various cases that `heapsize` does not
-- so this patch changes Servo to use `malloc_size_of`.
This patch makes the following changes to the `malloc_size_of` crate.
- Adds `MallocSizeOf` trait implementations for numerous types, some built-in
(e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`).
- Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't
support that operation.
- For `HashSet`/`HashMap`, falls back to a computed estimate when
`enclosing_size_of_op` isn't available.
- Adds an extern "C" `malloc_size_of` function that does the actual heap
measurement; this is based on the same functions from the `heapsize` crate.
This patch makes the following changes elsewhere.
- Converts all the uses of `heapsize` to instead use `malloc_size_of`.
- Disables the "heapsize"/"heap_size" feature for the external crates that
provide it.
- Removes the `HeapSizeOf` implementation from `hashglobe`.
- Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of`
doesn't derive those types, unlike `heapsize`.
2017-10-18 22:20:37 +11:00
Simon Sapin
57709dc0bf
Use the new nonzero crate in the msg crate
2017-10-13 11:10:16 +02:00
Alan Jeffrey
6754b2834f
Made PipelineId non-zero, so optional ids take no more space.
2017-09-18 15:49:38 -05:00
Martin Robinson
e58e8ab42e
Upgrade to the latest version of WebRender
2017-07-13 07:44:08 +10:00
Simon Sapin
605ef8b7ec
Remove explicit dependencies on serde_derive
2017-06-16 13:58:21 +02:00
Bastien Orivel
76d8573393
Bump serde to 1.0
2017-06-16 13:31:18 +02:00
Josh Matthews
cf8cda1b23
Remove cssparser dependency from msg.
2017-06-09 10:46:47 -04:00
Bastien Orivel
0a254b0306
Bump euclid to 0.13 and heapsize to 0.4
2017-06-05 19:28:39 +02:00
Josh Matthews
d4d486197d
Remove cssparser dependency from msg.
2017-05-31 11:35:18 -04:00
Manish Goregaokar
1b9bac7e66
Bump cssparser to 0.13.3
2017-05-11 12:50:40 -07:00
Simon Sapin
11cef135e7
Update to cssparser 0.13
2017-04-25 01:45:33 +02:00
Xidorn Quan
da901bd2dc
Update cssparser in Cargo.toml.
2017-04-07 16:07:37 +10:00
Anthony Ramine
f8467a26c4
Kill serde_codegen 💣
2017-02-28 19:31:25 +01:00
Simon Sapin
288ef97055
Update cssparser for https://github.com/servo/rust-cssparser/pull/123
2017-02-28 17:16:36 +01:00
Simon Sapin
33ef6f78e5
Update to cssparser 0.11
2017-02-26 11:09:53 +01:00
Anthony Ramine
63c4490e73
Kill the plugins crate and its clippy support
...
Sometimes clippy gets outdated by months, and its current support setup
means that each Servo component need to opt into it by depending on
the plugins crate manually, and not all components do that.
2017-02-21 11:50:36 +01:00
Anthony Ramine
fe3f4ff0c2
Update serde to 0.9 ( fixes #15325 )
2017-02-18 21:09:46 +01:00
Simon Sapin
c3cad2d6c7
Update cssparser to 0.9
2017-02-15 12:42:14 +01:00
Emilio Cobos Álvarez
0c102e2350
style: Unbox a bunch of color properties.
...
This builds on https://github.com/servo/rust-cssparser/pull/118 .
2017-02-14 20:18:31 +01:00
Frederick F. Kautz IV
5f3339d22a
Renaming default_features to default-features as per Cargo's Manifest Format
2017-01-08 19:24:19 -08:00
Glenn Watson
3d67c1cf4c
Remove old shaders, updates for WR feature and API changes.
2016-11-25 06:28:21 +10:00
Simon Sapin
5bb4c6c884
Use heapsize_derive instead of heapsize_plugin
2016-11-03 01:10:32 +01:00
Ms2ger
dce2872f45
Move Image and PixelFormat to net_traits.
2016-10-21 16:12:39 +02:00
Ms2ger
e97f06800e
Move LoadData to script_traits.
2016-10-21 12:49:16 +02: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
Simon Sapin
8bfe978c78
Update cssparser
2016-09-07 14:13:56 +08:00
Simon Sapin
899192e046
Update cssparser
...
Today’s Rust Nigthly broke it
2016-08-28 23:10:56 +02:00
Anthony Ramine
03a0170c91
Update to webrender 0.4.0
2016-08-18 19:33:12 +02:00
Anthony Ramine
7ad51dcd7a
Update serde to 0.8 ( fixes #12659 )
2016-08-12 18:37:27 +02:00
Glenn Watson
db8c3ef727
Update cargo.lock for wr2, pin ipc-channel.
2016-08-03 10:44:10 +02:00
Eduard Burtescu
3d8eab424c
Update Rust to 1.12.0-nightly (9316ae515 2016-07-24)
2016-07-26 19:35:51 +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
77caf83098
Move webdriver_msg to script_traits.
2016-07-05 09:02:46 +02:00
Ms2ger
b8fe9e9637
Move WindowSizeData to script_traits.
2016-07-05 09:02:43 +02:00
Darin Minamoto
fc6e20f652
Use get_mut instead of get-remove-set in XHR send()
2016-06-27 21:31:28 -07: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
Dan Robertson
246723114f
Use common cookie struct add cookie webdriver cmds
...
One cookie struct to rule them all. One struct to represent them.
One cookie struct to bind them all, and through the IPC carry them.
2016-06-25 22:24:35 +00: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
Anthony Ramine
b9cda99ca5
Update internal crates to bitflags 0.7
2016-05-17 23:34:04 +02:00
Anthony Ramine
d580226a9c
Reorder dependencies in many Cargo.toml files
2016-05-17 23:34:02 +02:00
Matt Brubeck
1e23d90631
Upgrade to bitflags 0.6.0 and selectors 0.5.6
...
Types generated by `bitflags!` are now private by default. This PR marks them
`pub` where necessary.
2016-04-30 10:14:03 -07:00