gecko-dev/servo/python
Ravi Shankar c069acc623 servo: Merge #12783 - Prefer length and percentage for word spacing (from Wafflespeanut:word_spacing); r=Manishearth
<!-- Please describe your changes on the following line: -->
The goal is to make use of `LengthOrPercentage` for word spacing in `ShapingOptions`, but since it makes use of `f32` which doesn't implement `Hash`, we're going for `NotNan<f32>` from [ordered-float](https://github.com/reem/rust-ordered-float/), which supports hashing. Instead of implementing `Hash` for `LengthOrPercentage` and thereby the inner types like `CSSFloat`, `CalcLengthOrPercentage`, etc., we convert it to `(Au, NotNan<f32>)`.

---
<!-- 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
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [ ] There are tests for these changes

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 3b676bc85dc66ed0e80756204f347bf1842b01a0
2016-08-09 10:13:30 -05:00
..
servo servo: Merge #12755 - Fix flag compose in runservo.sh (from tsawada:patch-1); r=ConnorGBrewster 2016-08-06 10:57:14 -05:00
tidy servo: Merge #12783 - Prefer length and percentage for word spacing (from Wafflespeanut:word_spacing); r=Manishearth 2016-08-09 10:13:30 -05:00
mach_bootstrap.py servo: Merge #12547 - Allow running WPT in Firefox (from jryans:wpt-firefox); r=jgraham 2016-07-25 10:09:29 -05:00
README.md servo: Merge #10984 - Minor python/README fixes (from frewsxcv:python-cleanup); r=metajack 2016-05-03 03:20:19 -07:00
requirements.txt servo: Merge #12510 - Upgrade mozlog package from 3.0 to 3.3 (from chenpighead:update-mozlog); r=metajack 2016-07-20 07:21:26 -05:00
tox.ini servo: Merge #11073 - Added tox.ini (from autrilla:tox); r=Ms2ger 2016-05-09 01:37:09 -07:00

This directory contains various Python modules used to support servo development.

servo

servo-specific python code e.g. implementations of mach commands. This is the canonical repository for this code.

tidy

servo-tidy is used to check licenses, line lengths, whitespace, flake8 on Python files, lock file versions, and more.