aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/build.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use env::var_os to read paths from the environmentMatt Brubeck2017-10-201-1/+1
| | | | | This avoids unnecessary UTF-8 validation on OsStrings that we just pass back to the OS.
* use cargo manifest path to find build.py scriptPaul Rouget2017-09-051-1/+2
|
* Remove testing feature from style crateManish Goregaokar2017-08-071-1/+0
|
* Auto merge of #16935 - servo:out-of-crate-bindings-tests, r=emiliobors-servo2017-05-191-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move bindings tests out of the style crate This cuts in almost half the time to run: ``` touch components/style/lib.rs ./mach test-stylo ``` <!-- 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/16935) <!-- Reviewable:end -->
| * Move bindings tests out of the style crate.Simon Sapin2017-05-181-0/+1
| | | | | | | | | | | | | | | | | | This cuts in almost half the time to run: ``` touch components/style/lib.rs ./mach test-stylo ```
* | Move config info from build_gecko.rs to a toml file in gecko.Xidorn Quan2017-05-191-0/+2
|/
* Move python path into a lazy static.Xidorn Quan2017-05-081-3/+5
|
* stylo: Add a build log mechanism.Emilio Cobos Álvarez2017-03-181-0/+2
| | | | | MozReview-Commit-ID: 4Zo1EveUYkK Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
* Use ascii_case_insensitive_phf_map! in PropertyId::parseSimon Sapin2017-02-261-20/+0
|
* Bindgenup.Emilio Cobos Álvarez2017-01-251-1/+1
| | | | | MozReview-Commit-ID: 7s0GsWaEjwe Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
* Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).Ms2ger2017-01-241-0/+1
|
* Do build-time bindgenXidorn Quan2016-12-101-2/+21
| | | | | | | Majority of build_gecko.rs is just the straightforward conversion from regen.py. There are two differences that: 1. Side in whitelist is changed to mozilla::Side 2. std::atomic__My_base is added to opaque types for Windows
* Use rust-phf to map strings to property IDsSimon Sapin2016-12-091-0/+20
|
* Run style with all properties enabledManish Goregaokar2016-09-231-0/+1
|
* Detect python2.7.exe on windowsXidorn Quan2016-07-081-1/+6
| | | | | Latest python2 package on msys2 installs the executable file to python2.7.exe rather than python27.exe.
* Explicitly list inputs to the style crate's build scriptMatt Brubeck2016-05-111-0/+14
| | | | This avoids unncessary build script runs caused by changes to unrelated files.
* Extract some Python code from properties.mako.rs into a separate file.Simon Sapin2016-04-201-1/+1
|
* Move Mako-related files into a new sub-directory.Simon Sapin2016-04-201-1/+5
| | | | There’s gonna be more of them.
* Merge list_properties.py into build_properties_rs.pySimon Sapin2016-04-201-21/+6
|
* Extracted Mako compilation to separate .py files.Per Lundberg2016-04-141-13/+1
| | | | This breaks out some of the parts on #10586, that should be easily mergeable. The idea would be to let you review & merge it first, and then I'll complete the other PR rebase off of this stuff.
* Work around a Mako bug on WindowsSimon Sapin2016-04-111-2/+2
| | | | | | http://logs.glob.uno/?c=mozilla%23servo#c403766 https://i.imgur.com/j5Zv4LX.png https://bitbucket.org/zzzeek/mako/issues/150/line-ending-handling-broken-on-win32
* Add some machinery to allow us to disable CSS properties (or a subset of ↵Bobby Holley2016-04-071-1/+4
| | | | values for a property) on a per-product basis.
* win32: look for python.exe and variants on win32 in style/build.rsVladimir Vukicevic2016-01-201-2/+22
|
* sort all usesJohann Tuffe2015-08-201-1/+1
|
* Fix CSSStyleDeclaration.setPropertyPrioritySimon Sapin2015-07-311-1/+1
| | | | | | Before, it was a complicated no-op. (`parse_style_attribute` expects input like `a: b; c: d;`, when given just a name it return an empty vector.)
* Show Mako template errors on the consoleSimon Sapin2015-07-311-7/+16
|
* layout: Outline the individual property cascading functions to reducePatrick Walton2015-07-061-2/+4
| | | | | | | | I-cache footprint. Reduces the size of `properties::cascade` from over 100K of code to under 5K. Due to the improved I-cache utilization, improves ARM scaling on 4 cores by 15%.
* Reduce max line length from 150 to 120 charactersCorey Farwell2015-05-241-1/+2
| | | | Part of https://github.com/servo/servo/issues/6041
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-2/+0
|
* Fix build scripts warnings.Simon Sapin2015-03-181-12/+13
|
* Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-2/+2
|
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-6/+8
|
* style::properties : move generated file out of source tree, use new-style ↵Simon Sapin2015-01-301-0/+31
Cargo build script.