aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/opts.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* GC profiling.Michael Howell2015-08-061-0/+6
| | | | | | * Closes #6968. * Test case for GC profiling thanks to @jdm!
* util: Add a multiprocess command-line option and implementPatrick Walton2015-07-311-0/+6
| | | | | | | | | | | | `OptionalIpcSender<T>`. `OptionalIpcSender<T>`dynamically switches between in-process and out-of-process communication depending on whether multiprocess mode is enabled. The multiprocess command-line switch doesn't actually turn on multiprocess mode yet, but it does control the behavior of `OptionalIpcSender<T>`.
* Fix deprecation warningsSimon Sapin2015-07-241-5/+4
|
* Make the global options more resilient to unit tests running in parallel.Josh Matthews2015-07-211-19/+26
|
* Restore exit after load command line flag.Glenn Watson2015-07-201-0/+5
| | | | Also updates glutin with a crash fix that was exposed by this patch.
* gfx: Make display lists serializable using `serde`.Patrick Walton2015-07-151-0/+6
| | | | | | | | | This commit introduces the `serde` dependency, which we will use to serialize messages going between processes in multiprocess Servo. This also adds a new debugging flag, `-Z print-display-list-json`, allowing the output of display list serialization to be visualized. This will be useful for our experiments with alternate rasterizers.
* Add a `-Z replace-surrogates` command-line option.Simon Sapin2015-07-131-0/+9
| | | | See #6564.
* Auto merge of #6365 - pcwalton:sequential-display-list-construction, ↵bors-servo2015-07-061-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=larsbergstrom layout: Disable parallel display list building by default. I've never see it result in a speedup. Actually, I don't think I've seen it result in anything better than a 50% slowdown. The arithmetic intensity is just too low, at least with the current algorithm. Parallel DL building can still be enabled with a debug flag if the algorithm is improved. r? @metajack <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6365) <!-- Reviewable:end -->
| * layout: Disable parallel display list building by default.Patrick Walton2015-06-121-0/+6
| | | | | | | | | | | | | | | | | | I've never see it result in a speedup. Actually, I don't think I've seen it result in anything better than a 50% slowdown. The arithmetic intensity is just too low, at least with the current algorithm. Parallel DL building can still be enabled with a debug flag if the algorithm is improved.
* | Remove layers dependency from utilMatt Brubeck2015-07-011-4/+2
| |
* | Use an atomic bool for EXPERIMENTAL_ENABLED.Ms2ger2015-06-271-7/+4
| | | | | | | | | | static mut smells, especially as it can be set and read from multiple threads (for example in unit tests).
* | Stop using env::set_exit_code.Ms2ger2015-06-261-16/+12
| |
* | Use euclid from crates.ioecoal952015-06-191-2/+2
| |
* | rust-geom API changesCorey Farwell2015-06-131-4/+4
|/ | | | https://github.com/servo/rust-geom/pull/81
* Give a useful error when passed a non-existant fileMatt Brubeck2015-06-041-2/+10
|
* Add disable-canvas-aa option to test runner.Mátyás Mustoha2015-05-281-0/+6
|
* make Opts.url an Option<> type, only emit initial url load if url existsMike Blumenkrantz2015-05-271-3/+3
| | | | | this is a necessary change for embedded apps to prevent an initial about:blank page load from overwriting whatever the app was actually trying to load
* Reduce max line length from 150 to 120 charactersCorey Farwell2015-05-241-2/+4
| | | | Part of https://github.com/servo/servo/issues/6041
* gfx: Implement paint flashing, which will be useful for debuggingPatrick Walton2015-05-141-0/+7
| | | | invalidation.
* Removing unused start up parameter.Adenilson Cavalcanti2015-05-121-1/+0
| | | | Seems to be a left over from quite some time ago.
* util: Set the experimental_enabled flag when options are setBrian Anderson2015-05-091-0/+4
|
* util: Rename `ops::set_opts` to `ops::set`, to match `get`Brian Anderson2015-05-091-3/+3
|
* Add an assert to opts::set_opts.Brian Anderson2015-05-091-0/+1
| | | | This function leaks if called more than once.
* Remove call to env::current_dir from BrowserBrian Anderson2015-05-091-3/+11
| | | | Put it in util::opts instead.
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-3/+3
|
* Remove some as_slice calls.Ms2ger2015-04-241-7/+7
|
* Allow dumping the optimized display list (DL).Adenilson Cavalcanti2015-04-161-1/+7
| | | | | This DL is created at paint time, per tile. To dump, pass -Z dump-display-list-optimized at startup.
* Adding cmdling argument for disabling style share cache, fix #5581Peter2015-04-091-0/+7
|
* Auto merge of #5527 - jagtalon:jag/multiple-urls, r=mbrubeckbors-servo2015-04-071-7/+7
|\ | | | | | | Switched from opts.urls from being of type Vec to type String and changing the name to `url` as well. Changed the other files that are using opts.urls accordingly.
| * opts.rs: don't accept multiple URLs. Fixes #5520.Jag Talon2015-04-071-7/+7
| | | | | | | | | | | | | | | | | | | | | | Switched from opts.urls from being of type Vec to type String and changing the name to `url` as well. Changed the other files that are using opts.urls accordingly. servo/lib.rs + gonk/src/lib.rs: no need for a block scope. cef: fix compiler errors. - remove the use of `mut` since it's not needed. - use `to_owned` instead of `to_string` because it's more efficient.
* | Auto merge of #5005 - jdm:mime-sniffing, r=jdmbors-servo2015-04-071-0/+6
|\ \ | | | | | | | | | This rebases and integrates #4209, removing the sniffer task (turns out it wasn't a great idea), and adds a `--sniff-mime-types` command line flag to enable sniffing for file:// and http:// resources. Tested against a random picture file on my harddrive. The actual MIME sniffing implementation can be extracted into a separate library separately.
| * | Enable optional mime sniffing, and integrate it with the file loader.Josh Matthews2015-04-061-0/+6
| |/
* / Get the barest bones of webdriver integration ready for keeners.Josh Matthews2015-04-061-0/+11
|/
* auto merge of #5430 : Manishearth/servo/userscript_path, r=kmcallisterbors-servo2015-04-011-5/+8
|\ | | | | | | r? @kmcallister
| * Allow passing a path to --userscriptsManish Goregaokar2015-03-281-5/+8
| |
* | Move to new io in util.Ms2ger2015-03-281-2/+4
|/
* Rename lots of profiling-related things.Nicholas Nethercote2015-03-251-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ BEFORE AFTER ------------------------------------------------------------------------ util::memory util::mem - heap_size_of - heap_size_of (unchanged) - SizeOf - HeapSizeOf - size_of_excluding_self - heap_size_of_children prof::mem prof::mem - MemoryProfilerChan - ProfilerChan - MemoryReport - Report - MemoryReportsChan - ReportsChan - MemoryReporter - Reporter - MemoryProfilerMsg - ProfilerMsg - {R,UnR}egisterMemoryReporter - {R,UnR}egisterReporter - MemoryProfiler - Prof - ReportsForest - ReportsForest (unchanged) - ReportsTree - ReportsTree (unchanged) - SystemMemoryReporter - SystemReporter prof::time prof::time - TimeProfilerChan - ProfilerChan - TimerMetadata - TimerMetadata (unchanged) - Formatable - Formattable [spelling!] - TimeProfilerMsg - ProfilerMsg - TimeProfilerCategory - ProfilerCategory - TimeProfilerBuckets - ProfilerBuckets - TimeProfiler - Profiler - TimerMetadataFrameType - TimerMetadataFrameType (unchanged) - TimerMetadataReflowType - TimerMetadataReflowType (unchanged) - ProfilerMetadata - ProfilerMetadata (unchanged) In a few places both prof::time and prof::mem are used, and so module-qualification is needed to avoid overlap, e.g. time::Profiler and mem::Profiler. Likewise with std::mem and prof::mem. This is not a big deal.
* Stop abusing format! macro when construct a StringCorey Farwell2015-03-221-1/+1
| | | | | In these cases for `format!`, we're just constructing a String of the single argument with no special format.
* Basic userscript supportManish Goregaokar2015-03-221-0/+5
|
* Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.Ms2ger2015-03-181-1/+1
|
* Add --no-ssl flag for bypassing SSL checkingManish Goregaokar2015-03-141-0/+6
|
* Implements reflow events debugging.Adenilson Cavalcanti2015-03-061-0/+6
| | | | | Start servo with -Z relayout-event and you should have reflow events printed to the terminal.
* Remove uint/int inside `components/util` (partial #4745).Alexandru Cojocaru2015-02-281-8/+8
| | | | This leaves range.rs alone.
* Implements a DisplayList dumper.Adenilson Cavalcanti2015-02-251-0/+6
| | | | | | | | | | | | This patch will iterate through the DisplayList after the reflow is done and print its elements (as also any sub-lists associated to a child node stacking context). It adds a new CLI parameter to trigger the function to dump the display list to console (i.e. servo --debug dump-display-list url). Using both display list and flow tree information is helpful to debug rendering issues.
* layout: Add an option to visualize parallel layoutPatrick Walton2015-02-201-1/+8
|
* Correct usage of number of painting threads.Jack Moffitt2015-02-191-8/+8
| | | | | | Previously this used the number of layout threads to allocate the threadpool. This also makes the member name consistent with the rest of the structure.
* Added overlay for demoing parallel painting.Jack Moffitt2015-02-191-0/+6
|
* Fix warnings in util.Ms2ger2015-02-131-2/+2
|
* Upgrade to rustc ba2f13ef0 2015-02-04Simon Sapin2015-02-111-2/+2
|
* Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.Josh Matthews2015-01-281-9/+9
|