aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/opts.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add testing for prefsMatthew Bentley2016-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Also, spelling fix in opts.rs Fix order of imports to satisfy the lint Fix split line in test Fix multi-line string
| * | Add functionality to load prefs.json from profile-dir (as set withMatthew Bentley2016-04-011-1/+5
| |/ | | | | | | | | | | --profile-dir on launch) Use T: Read rather than File, so that read_prefs_from_file can be tested
* / Make it possible to use preferences to configure webrender and titlebarPaul Rouget2016-04-011-2/+8
|/
* Avoid testing impossible file paths on Windows.Josh Matthews2016-03-281-1/+1
|
* Fail cleanly instead of panicking for incorrect option argumentsMovingtoMars2016-03-271-11/+19
|
* Auto merge of #10204 - awalGarg:fix10161, r=Manishearthbors-servo2016-03-271-1/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | Allow setting preferences to false in WPT tests First patch to servo - apologies if I did something stupid :) This is a fix for #10161. I have squashed the commits into one. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10204) <!-- Reviewable:end -->
| * Allow setting preferences to false in WPT tests. closes #10161Awal Garg2016-03-261-1/+9
| |
* | Added ability to randomly kill pipelines to the constellation.Alan Jeffrey2016-03-261-0/+26
|/
* add a new command line flag --profile-dir [path]Daniel2016-03-191-0/+14
|
* Allow user to choose between GL and ES2Prashant Gupta2016-03-091-0/+21
|
* layout: Remove the `validate_display_list_geometry` debugging tool.Patrick Walton2016-03-031-11/+0
| | | | | I don't think anyone was using it, and it's incompatible with taking display lists out of flows.
* Remove parallel display list constructionMartin Robinson2016-02-191-9/+0
| | | | | | | Parallel display list construction hasn't been shown to give any performance gains. It is also incompatible with the current flat display list implementation. Once flat display lists have landed, we can explore possible benefits of parallel construction once again.
* Add WebRender integration to Servo.Glenn Watson2016-02-181-0/+28
| | | | | | | | WebRender is an experimental GPU accelerated rendering backend for Servo. The WebRender backend can be specified by running Servo with the -w option (otherwise the default rendering backend will be used). WebRender has many bugs, and missing features - but it is usable to browse most websites - please report any WebRender specific rendering bugs you encounter!
* Add error messages when parsing opts returns errorDaniel Robertson2016-02-101-9/+12
| | | | | Provide additional error messages when parsing command line option returns an error.
* task -> threadrohan.prinja2016-01-101-4/+4
|
* Remove unimplemented -Z profile-tasks optionMatt Brubeck2016-01-081-12/+0
|
* Fix a bunch of clippy lintsJohannes Linke2016-01-021-3/+2
|
* Enable MIME sniffing via a pref instead of a global option.Josh Matthews2015-12-311-6/+0
|
* Add debug option to disable vsync for profiling.Glenn Watson2015-12-011-0/+11
|
* Implement 'url!(..)' macroCorey Farwell2015-11-211-1/+1
| | | | | | https://github.com/servo/rust-url/issues/136 https://github.com/servo/rust-url/pull/137
* compositing: Split Servo up into multiple sandboxed processes.Patrick Walton2015-11-191-3/+46
| | | | | Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch.
* Auto merge of #8341 - bholley:state_hint_selector_ordering, r=pcwaltonbors-servo2015-11-071-0/+11
|\ | | | | | | | | | | | | | | Fix restyle hints to handle non-last psuedo-selectors, and track pristine state values rather than changesets <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8341) <!-- Reviewable:end -->
| * Load web fonts synchronously during wpt.Bobby Holley2015-11-041-0/+11
| |
* | Make desktop UA string depend on build target.Benjamin Herr2015-11-051-1/+21
|/ | | | | | | | | | | | | | | This implements #7158 by conditionally choosing a UA string by `#[cfg()]`-checking for `target_os = linux` and whether `target_arch` is `x86_64` or not. Matching the behavior of Firefox, either "X11; Linux x86_64" or "X11; Linux i686" is included. `target_os = windows` is also checked; again as in Firefox "Windows NT 6.1; Win64; x64" or just "Windows NT 6.1" is included. The UA string pretends to be non-WoW64 Windows 7, since there's only so much we can detect at build time. The existing desktop UA string that lists OS X is chosen if `target_os` is neither `linux` nor `windows`.
* Auto merge of #8314 - jdm:timeoutinvestigations, r=metajackbors-servo2015-11-051-0/+13
|\ | | | | | | | | | | | | | | | | | | Investigations for #7787 I'm just going to keep throwing stuff at try, because running directly on the builders isn't yielding results. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8314) <!-- Reviewable:end -->
| * Add debugging information when running tests that timeout on build machines.Josh Matthews2015-11-041-0/+13
| |
* | Handle multi-touch events from glutinMatt Brubeck2015-11-031-6/+0
|/
* Heartbeats support for Android.Connor Imes2015-10-291-1/+12
| | | | Add debug option to enable heartbeats for all profiler categories.
* Add a "-Z convert-mouse-to-touch" debug argument.Matt Brubeck2015-10-221-0/+16
| | | | | | This is enabled by default on Android, because Glutin currently sends mouse events instead of touch events on Android. It's also useful for testing on non-touch platforms.
* Fix issues found by rust-clippyCorey Farwell2015-10-121-1/+1
|
* Add the dump-layer-tree option to the -Z help textMartin Robinson2015-10-081-0/+1
| | | | | | | I accidentally omitted this when I added the dump-layer-tree option initially. Fixes #7926.
* Improve layer tree debugging outputMartin Robinson2015-10-061-0/+9
| | | | | | Add an option to dump the layer tree, which activates the previously unused layer tree debugging code. Also improve the output using the PrintTree struct.
* Add a command line option to disable native titlebarPaul Rouget2015-09-291-0/+6
|
* Add a pref for a default homepage.James Graham2015-09-251-10/+17
|
* Enable resetable and String prefs.James Graham2015-09-251-2/+2
| | | | | | | | | This allows both boolean and string-type preferences. It also implements a system where prefs that are read from a configuration file can be reset back to their initial value, which is useful in a number of cases e.g. when running tests to ensure that each test starts with the same values for the prefs.
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-2/+1
| | | | This merges import blocks that were reported by tidy as unmerged.
* Replace reftest with a problematic file name with a unit test.Simon Sapin2015-09-121-13/+13
| | | | | | | | | Fix #7609, "error: unable to create file tests/ref/hello_a?foo#bar.html (Invalid argument)" during git checkout on Windows. Behavior change: passing an nonexistent file name on the command line now shows a blank page (like network errors) rather than exit with an error message.
* Fix reported test-tidy errorsBrandon Fairchild2015-09-011-1/+1
| | | | | This fixes lines that were reported to have missing space after a comma.
* Auto merge of #7468 - JoshTheGoldfish:Issue7460, r=jdmbors-servo2015-09-011-5/+5
|\ | | | | | | | | | | | | | | | | | | Making test-tidy check that = have space after them For issue #7460. Need to ensure compatibility with #7390. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7468) <!-- Reviewable:end -->
| * make test-tidy check that = have space after themerneyja2015-09-011-5/+5
| |
* | Removes nosslSam Gibson2015-08-301-5/+0
|/
* Allow setting preferences from the reftest manifest. Add a command-line arg ↵Josh Matthews2015-08-281-0/+9
| | | | to enable a given preference.
* Replace catch-all experimental flag with fine-grained boolean preferences ↵Josh Matthews2015-08-281-24/+2
| | | | initialized from a JSON document.
* Time distribution across script event categories.benshu2015-08-281-0/+9
|
* sort all usesJohann Tuffe2015-08-201-1/+1
|
* Add a simple method to emulate a platform UA (e.g. pretend a desktop build ↵Glenn Watson2015-08-181-8/+36
| | | | is an android UA).
* Fail on unrecognized debug optionGreg Guthe2015-08-131-28/+137
| | | | Refs: https://github.com/servo/servo/issues/7142
* Add the Servo User Agent stringsLars Bergstrom2015-08-101-1/+15
|
* Add support for user stylesheets specified on the command-line.Simon Sapin2015-08-071-3/+20
|
* Use getopts from crates.ioSimon Sapin2015-08-071-34/+33
|