aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/opts.rs
Commit message (Collapse)AuthorAgeFilesLines
* Removed util.Alan Jeffrey2016-12-141-958/+0
|
* Make unnecessarily public function private.Corey Farwell2016-12-091-1/+1
|
* Update to Rust 1.15.0-nightly (1c448574b 2016-11-28)Anthony Ramine2016-11-291-1/+1
|
* Allow multiple -Z debug options.Alan Jeffrey2016-11-211-50/+45
|
* Auto merge of #14249 - vvuk:wr-record, r=kvarkbors-servo2016-11-181-0/+9
|\ | | | | | | | | | | | | | | | | | | | | Add -Z wr-record This adds `-Z wr-record`, which flips `enable_recording` to true for Webrender. <!-- 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/14249) <!-- Reviewable:end -->
| * Add -Z wr-recordVladimir Vukicevic2016-11-161-0/+9
| |
* | Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-7/+8
|/
* Store directory path as `PathBuf` instead of `String`.Corey Farwell2016-11-111-2/+2
|
* Update WR and shaders (initial subpixel AA work).Glenn Watson2016-11-081-0/+11
|
* Concurrent rule tree, v1Emilio Cobos Álvarez2016-11-051-0/+9
| | | | | | | | | | | | This patch introduces infrastructure for the rule tree, and constructs it. We don't use it yet, nor have good heuristics for GC'ing it, but this should not happen anymore once we store the rule node reference in the node. I haven't messed up with memory orders because I want to do a try run with it, then mess with them. Take down the ApplicableDeclarationsCache, use the rule tree for doing the cascade.
* Remove old rendering backend.Glenn Watson2016-10-181-28/+0
| | | | | | | | | | | | | | This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step.
* Migrate user agent string to `Cow<'static, str>`.Corey Farwell2016-10-101-8/+9
| | | | | | | | | | In most scenarios, where the user of Servo will not override the default user agent, the user agent can be a `&'static str`. But since we allow for customization, we currently use a `String` to represent the user agent. This commit migrates the user agent to be represented as a `Cow<'static, str>`, which (at the cost of ergonomics) prevents unnecessary allocations whenever cloning the user agent string in the scenario the user doesn't override the user agent.
* Auto merge of #13649 - servo:rustup, r=larsbergstrombors-servo2016-10-091-2/+2
|\ | | | | | | | | | | | | | | Update to Rust 1.14.0-nightly (19ac57926 2016-10-08) <!-- 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/13649) <!-- Reviewable:end -->
| * Remove non-ASCII chars from canvas dependencyAnthony Ramine2016-10-091-2/+2
| | | | | | | | Trying to fix an assertion on Windows in recent nightlies, blindy.
* | Simplify logic for writing to stderr.Corey Farwell2016-10-091-3/+1
|/
* profile: Integrate the time profiler with the macOS signpostPatrick Walton2016-10-011-0/+12
| | | | | | | | | | | | infrastructure. With this change, if you supply the `-Z signpost` flag, Instruments.app can display Servo events overlaid with callstack data. Even better, you can get call stack profiling for individual Servo events (one layout, one network request, one style recalculation, etc.) This adds a dependency on the `signpost` crate. On unsupported OS's, this crate is an no-op.
* Switch default renderer to webrender, and update webrender.Glenn Watson2016-09-281-4/+3
|
* Add OSMesa headless mode, run WPT against Webrender, update tests.Glenn Watson2016-09-281-2/+7
|
* Update webrender + shaders.Glenn Watson2016-09-161-0/+13
|
* Implement a WebSocket server for debugging.Eddy Bruel2016-09-121-0/+12
|
* Rewrite the style sharing candidate cache.Emilio Cobos Álvarez2016-08-171-0/+9
| | | | | | | | | | | | | | | | | | | | | The style candidate cache had regressed a few times (see #12534), and my intuition is that being able to disable all style sharing with a single rule in the page is really unfortunate. This commit redesigns the style sharing cache in order to be a optimistic cache, but then reject candidates if they match different sibling-affecting selectors in the page, for example. So far the numbers have improved, but not so much as I'd wanted (~10%/20% of non-incremental restyling time in general). The current implementation is really dumb though (we recompute and re-match a lot of stuff), so we should be able to optimise it quite a bit. I have different ideas for improving it (that may or may not work), apart of the low-hanging fruit like don't re-matching candidates all the time but I have to measure the real impact. Also, I need to verify it against try.
* Auto merge of #12839 - notriddle:11818_sequential_layout_bug, r=emiliobors-servo2016-08-141-13/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a cached style cascade bug that only manifested in sequential mode When copying cached styles, keep the `writing_mode` up to date. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11818 (github issue number if applicable). - [X] There are tests for these changes EDIT: The test is now working. I ran it with the first commit (the actual fix) reverted and it failed. <!-- 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/12839) <!-- Reviewable:end -->
| * Add test for #11818Michael Howell2016-08-131-13/+16
| |
* | Update Rust to 1.12.0-nightly (1deb02ea6 2016-08-12)Anthony Ramine2016-08-131-1/+1
| |
* | Add a flag to dump the computed style valuesMichael Howell2016-08-121-0/+10
|/ | | | I used this to trace #11818 to a style bug, rather than a layout bug.
* Update to euclid 0.8Martin Robinson2016-08-121-5/+5
|
* Add wr-debug option.Glenn Watson2016-08-031-1/+10
|
* Refactor `util::prefs` operations to be methods on static struct.Corey Farwell2016-07-021-7/+7
|
* Bump default resolution to 1024x740Manish Goregaokar2016-06-301-3/+3
|
* Auto merge of #11262 - campaul:add_version_flag, r=Manishearthbors-servo2016-06-291-0/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `--version` flag - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #11241 (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ Not 100% sure of a good way to test this, so I'm submitting as is for feedback. Manually testing it appears to work fine. <!-- 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/11262) <!-- Reviewable:end -->
| * Add `--version` flagCameron Paul2016-06-281-0/+8
| |
* | Make it possible to build the style_traits crate with a stable compiler.Simon Sapin2016-06-221-4/+7
| | | | | | | | Testing this on CI to make sure we don’t regress it is blocked on #11806
* | Remove support for gpu painting.Ms2ger2016-06-031-16/+0
| | | | | | | | | | | | Fixes #3614. Fixes #4683. Fixes #7366.
* | Remove the last remaining support for "experimental" features.Ms2ger2016-06-031-9/+0
| | | | | | | | This code has not been used for quite a while.
* | Remove the gonk portLars Bergstrom2016-05-271-12/+2
| |
* | Remove empty lines following braces.Josh Matthews2016-05-271-1/+0
|/
* adding default config dirsRahul Sharma2016-05-251-18/+14
|
* replacing commas with tabs; changing from CSV to TSV profilingRohit Zambre2016-05-191-2/+2
|
* Remove misleading nonexistant flag hintEvrim Öztamur2016-05-161-1/+0
|
* added infrastructure to handle interval and CSV time profiling alongside ↵Rohit Zambre2016-05-111-8/+25
| | | | html-timeline-profiling
* Add a method for dumping self-contained HTML timeline profilesNick Fitzgerald2016-04-271-1/+19
| | | | | | | This commit adds the `--profiler-trace-path` flag. When combined with `-p` to enable profiling, it dumps a profile as a self-contained HTML file to the given path. The profile visualizes the traced operations as a gant-chart style timeline.
* Remove the url! plugin.Simon Sapin2016-04-141-1/+1
| | | | | | | | In rust-url 1.0 the `Url` struct is going to have private fields, and there is no way to to create an aribitrary one without going through the parser. The plugin never had a clear demonstrated performance benefit, it was made mostly because it was possible and relatively easy at the time.
* Remove str_to_string lintManish Goregaokar2016-04-081-1/+0
| | | | Specialization makes all of the options equally efficient.
* Auto merge of #10420 - asajeffrey:add-soft-fail-option, r=KiChjangbors-servo2016-04-071-1/+2
|\ | | | | | | | | | | | | | | | | | | | | Added --soft-fail option. At the moment, wptrunner always runs the WPT tests with `servo --hard-fail`. To test hardening, we need to switch off `--hard-fail`. This PR introduces a `--soft-fail` option to do that. <!-- 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/10420) <!-- Reviewable:end -->
| * Added --soft-fail option.Alan Jeffrey2016-04-041-1/+2
| |
* | Auto merge of #10329 - Manishearth:skip-backtrace, r=asajeffreybors-servo2016-04-051-0/+10
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Skip printing the backtrace for RecvError/SendError We currently get tons of useless backtraces clogging up the output when we have a panic cascade. This adds a handler that outputs a single line when a thread panics due to a sender or receiver hanging up, since this is almost always due to a panic cascade. We could add a commandline arg that gets us back the old behavior, though I'm not sure if this is necessary. r? @asajeffrey <!-- 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/10329) <!-- Reviewable:end -->
| * Add option for printing full backtracesManish Goregaokar2016-04-051-0/+10
| |
* | Auto merge of #10360 - mbrubeck:die-opt, r=emiliobors-servo2016-04-031-10/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | Remove unused -Z dump-display-list-optimized flag <!-- 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/10360) <!-- Reviewable:end -->
| * | Remove unused -Z dump-display-list-optimized flagMatt Brubeck2016-04-011-10/+0
| |/
* | Auto merge of #10114 - matthewbentley:master, r=Manishearthbors-servo2016-04-021-1/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Load prefs.json from profile-dir if --profile-dir is specified at launch In response to #10098 Tries to load `prefs.json` from the profile-dir and merge them into the preferences if `--profile-dir` is specified at launch. The profile-dir preferences take precedence over the default preferences, but command line preferences still take precedence over everything. Also adds some tests for `prefs.rs`. These rely on the contents of `resources/prefs.json` (at least `test_get_set_reset_extend()` does), so they may need to be re-worked a bit. <!-- 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/10114) <!-- Reviewable:end -->