Simon Sapin
0215d09ccb
Generate apis.html and css-properties.json for docs as part of crates’ build scripts
...
… rather than as an extra step after `cargo doc`.
This helps always using the correct set of CSS properties
(for layout 2013 v.s. 2020).
2019-07-30 08:37:33 +02:00
Simon Sapin
ddb4e369dd
Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}
...
Renaming the variable helped make sure I looked at every use.
2019-07-29 17:37:03 +02:00
Emilio Cobos Álvarez
3d57c22e9c
Update euclid.
...
There are a few canvas2d-related dependencies that haven't updated, but they
only use euclid internally so that's not blocking landing the rest of the
changes.
Given the size of this patch, I think it's useful to get this landed as-is.
2019-07-23 23:09:55 +02:00
Emilio Cobos Álvarez
58d51b1e8c
style: Remove unit tests that test non-compliant stuff.
...
<position> no longer parses three values.
2019-07-23 22:54:11 +02:00
Bastien Orivel
28fa0f8009
Update rayon to dedupe crossbeam-epoch
...
As a bonus this also removes one version of crossbeam-utils
2019-07-12 21:01:33 +02:00
Emilio Cobos Álvarez
dd65470dd9
style: Rustfmt again.
2019-06-25 13:11:32 +02:00
Emilio Cobos Álvarez
36c39d53f7
style: Give up on test_parse_stylesheet.
...
It's not particularly useful.
2019-06-25 13:11:32 +02:00
Emilio Cobos Álvarez
aad49357c3
style: Allow printing the rule tree on unit tests.
2019-06-04 01:04:04 -04:00
Emilio Cobos Álvarez
ac01c76e5e
style: Remove useless unit tests, and fix not-so-useless ones.
2019-05-29 16:14:34 +02:00
Josh Matthews
2875e5ccb3
Upgrade parking_lot to 0.8.
2019-05-25 07:18:06 -04:00
Paul Rouget
1758207393
Glutin update: dependencies update
2019-05-25 07:15:30 -04:00
Josh Matthews
60688da71a
Revert "Glutin update: dependencies update"
...
This reverts commit 30fb18e711
.
2019-05-22 14:18:38 -04:00
Paul Rouget
30fb18e711
Glutin update: dependencies update
2019-05-22 09:55:38 +02:00
Bastien Orivel
00ac887862
Update xml5ever and html5ever
2019-05-19 22:14:28 +02:00
Emilio Cobos Álvarez
a1d224b823
Remove style system serialization tests that are tested via wpt.
2019-04-12 12:20:17 +02:00
Peter Hall
8bfd4dc1e2
#8539 Config preferences backend restructure
2019-03-20 15:01:26 +00:00
Emilio Cobos Álvarez
8020faed9b
style: Fix unit tests.
2019-03-13 15:08:40 +01:00
Emilio Cobos Álvarez
6daebcc5df
Fix servo build.
2019-02-10 07:23:51 +01:00
Emilio Cobos Álvarez
2a6cdaa30a
Rustfmt recent changes.
2019-01-08 12:01:28 +01:00
Emilio Cobos Álvarez
c7f30ad0df
style: Fix servo build.
2019-01-08 12:01:11 +01:00
Emilio Cobos Álvarez
4a31509215
style: Fix servo build.
...
This also fixes a bunch of calc handling issues and such.
Also remove tests that no longer compile and are covered by WPT.
2019-01-08 12:00:42 +01:00
Emilio Cobos Álvarez
ecd9794a81
style: Remove a bunch of unit tests that are not very useful.
...
And no longer compile. This is fairly well tested in WPT and Gecko tests.
2019-01-07 01:26:23 +01:00
Simon Sapin
be69f9c3e6
Rustfmt has changed its default style :/
2018-12-28 13:17:47 +01:00
Jan Andre Ikenmeyer
f1f409ffb6
Update MPL license to https (part 5)
2018-11-27 19:09:17 +01:00
Simon Sapin
a15d33a10e
cargo fix --edition
2018-11-10 17:47:28 +01:00
Pyfisch
9e92eb205a
Reorder imports
2018-11-06 22:35:07 +01:00
Pyfisch
cb07debcb6
Format remaining files
2018-11-06 22:30:31 +01:00
Emilio Cobos Álvarez
ac6f921588
style: Fix servo build.
2018-11-05 12:44:54 +01:00
Emilio Cobos Álvarez
b7da1bac88
style: Implement the env() function with hardcoded zeros for safe-area-inset.
...
Intent to Implement and Ship: https://groups.google.com/d/msg/mozilla.dev.platform/EVKyR1B87T0/_l-_qK8SAAAJ
Differential Revision: https://phabricator.services.mozilla.com/D9609
2018-11-05 12:33:16 +01:00
Emilio Cobos Álvarez
05f9f10a1c
style: Fix servo build and tidy lints.
2018-10-28 23:52:13 +01:00
Emilio Cobos Álvarez
1505eaaade
style: Fix Servo build.
2018-10-19 01:15:26 +02:00
Simon Sapin
1f7ebfc8a2
Make mach test-unit
not recompile components after mach build
...
Previously, the `tests` feature flag of the `embedder_traits` crate
caused it and every crate recursively depending on it to be built twice.
This feature flag was used to provide a specific set of "resources"
when running tests. Instead, this commits overrides the `main()` function
of the test harness to change resources at runtime before running any test.
This is done by adding a dependency that has `name = "test"` in its
`[lib]` section of `Cargo.toml`. This overrides the crate found by
`extern crate test;` in code generated by `rustc --test`.
2018-10-07 13:27:23 +02:00
Emilio Cobos Álvarez
c7fc80c5a3
Fix unit test build.
2018-09-18 12:01:31 +02:00
Emilio Cobos Álvarez
46b360cb75
style: Fix unit tests build.
2018-09-03 14:08:14 +02:00
Emilio Cobos Álvarez
689293e4fb
Fix Servo build.
2018-08-08 01:34:35 +02:00
Paul Rouget
0d9161dd7b
WR update
2018-08-06 07:22:24 +02:00
Emilio Cobos Álvarez
e1855b3b3b
style: Fix unit tests.
2018-07-24 12:59:55 +02:00
Bastien Orivel
ba9cbd87fb
Update parking_lot to 0.6
2018-07-20 00:44:08 +02:00
Bastien Orivel
9e446971a8
Update euclid to 0.18
2018-07-18 09:27:24 +02:00
Emilio Cobos Álvarez
fde93a60fe
style: Fix build and unit tests.
2018-07-16 19:44:19 +02:00
Emilio Cobos Álvarez
e149059608
style: Fix build / unit tests.
2018-07-01 00:54:30 +02:00
Emilio Cobos Álvarez
fc4998367b
style: Fix / remove unit tests.
...
Unit tests removed have WPT equivalents.
2018-06-23 20:34:10 +02:00
bors-servo
b0cb92176a
Auto merge of #20819 - servo:fourchette, r=jdm
...
Remove unused build targets
<!-- 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/20819 )
<!-- Reviewable:end -->
2018-05-19 06:22:21 -04:00
bors-servo
67370b37d3
Auto merge of #20718 - paulrouget:res2, r=emilio
...
Automatically provide a resource reader for tests
Fix #20710
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [ ] `./mach build-geckolib` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20710 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- 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/20718 )
<!-- Reviewable:end -->
2018-05-18 15:25:54 -04:00
Emilio Cobos Álvarez
66ff70dd3e
Remove ports/geckolib.
2018-05-17 11:24:59 -05:00
Emilio Cobos Álvarez
953ba58b68
style: Remove a useless unit test that no longer compiles.
2018-05-05 18:53:53 +02:00
Paul Rouget
e02a23b2f6
Automatically provide a resource reader for tests
2018-04-30 22:19:33 +08:00
Emilio Cobos Álvarez
292f899631
style: Fix tidy issues and Servo build.
2018-04-29 05:09:43 +02:00
Emilio Cobos Álvarez
48de556f8c
style: Fixups for css-fonts-4 font-weight.
2018-04-28 10:26:03 +02:00
Paul Rouget
9fb5795f37
delegate resource reading to embedder
2018-04-27 15:34:52 +08:00