aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/opts.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Change glutin headless mode to be a build config, as it breaks some Linux ↵Glenn Watson2015-01-231-20/+0
| | | | | | | | distros linking to both. The majority of this change is simply re-arranging the code in the glutin port so that the windowed/headless code is configured at build time rather than runtime. There shouldn't be any functional difference as a result of this change.
* Move to to_owned rather than into_string.Ms2ger2015-01-201-1/+2
| | | | into_string has been removed from Rust.
* Add ability to explicitly set static resources path, used by cef-linux.Glenn Watson2015-01-091-0/+6
|
* Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.Ms2ger2015-01-081-1/+1
|
* Replace the remaining to_string calls by into_string calls.Ms2ger2014-12-311-1/+1
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-3/+3
|
* Replace render to paint in util/opts.rs. Some general words are not replaced.Tetsuharu OHZEKI2014-12-081-11/+11
|
* util::opts::default_opts() is now pubMike Blumenkrantz2014-11-211-1/+1
|
* Remove unused exit after load option.Glenn Watson2014-11-211-5/+0
| | | | This simplifies some upcoming changes to how event handling works.
* Add glutin port (supported on Linux only currently).Glenn Watson2014-11-191-1/+21
| | | | | | Default build uses glfw, but glutin can be enabled via: ./mach cargo build --no-default-features --features=glutin
* Corral debug command-line options into a --debug/-Z flagMartin Robinson2014-11-041-17/+43
| | | | | This should make help output a lot cleaner and simplify the way that uncommon debug options are passed.
* Add task profiler, which works by instrumenting each task runtime when enabled.Glenn Watson2014-10-291-0/+8
|
* If opts is retrieved, but not set by platform layer, return a default set.Glenn Watson2014-10-281-1/+36
| | | | | This is required for unit tests like the image cache task, which can pass through code paths that query the command line options.
* auto merge of #3742 : saneyuki/servo/opt, r=jdmbors-servo2014-10-221-1/+0
|\ | | | | | | This follows up #3711.
| * Remove the help text for render backend option. follow up #3711.Tetsuharu OHZEKI2014-10-221-1/+0
| |
* | auto merge of #3752 : pcwalton/servo/default-cpu, r=larsbergstrombors-servo2014-10-211-5/+6
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | We've discussed this some and I think there's consensus to do it as a pragmatic decision for now. CPU painting is more stable, especially with buggy drivers, and faster (because we aren't caching the necessary OpenGL objects yet and possibly for other reasons), so it provides a better "out of the box" experience for newcomers to Servo who don't know to pass the `-c` option. This patch continues to reftest both Skia and Skia-GL out of a desire to keep options open. Skia-GL remains a first-class citizen. r? @metajack
| * gfx: Switch the default to CPU painting.Patrick Walton2014-10-211-5/+6
| | | | | | | | | | | | | | | | | | | | | | We've discussed this some and I think there's consensus to do it as a pragmatic decision for now. CPU painting is more stable, especially with buggy drivers, and faster (because we aren't caching the necessary OpenGL objects yet and possibly for other reasons), so it provides a better "out of the box" experience for newcomers to Servo who don't know to pass the `-c` option. This patch continues to reftest both Skia and Skia-GL out of a desire to keep options open. Skia-GL remains a first-class citizen.
* | auto merge of #3747 : mrobinson/servo/validate-display-list, r=pcwaltonbors-servo2014-10-211-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | When this option is enabled, the layout task will print an error when display list items draw outside their owning Flow's position rect. This will make it easier to detect layout errors before they break rendering. This is a command-line option for the moment, because we violate this rule quite a bit still. Once all bugs causing this are fixed, we can be more aggressive about enabling the option.
| * | Add an option to validate display list itemsMartin Robinson2014-10-211-0/+5
| |/ | | | | | | | | | | | | | | | | | | When this option is enabled, the layout task will print an error when display list items draw outside their owning Flow's position rect. This will make it easier to detect layout errors before they break rendering. This is a command-line option for the moment, because we violate this rule quite a bit still. Once all bugs causing this are fixed, we can be more aggressive about enabling the option.
* / Add an option to show debug fragment bordersMartin Robinson2014-10-211-0/+5
|/ | | | | | | | This is quite a bit cleaner than abusing the rust debug functionality. If we start collecting too many debugging options in the servo executable we could opt to organize them into a single option. Fixes #2263.
* Fixes the table_percentage_width_a.html reftest with incremental reflow ↵Clark Gaebel2014-10-201-4/+4
| | | | turned on.
* Use opts as a global, to avoid cloning and passing the struct all over the code.Glenn Watson2014-10-201-15/+29
|
* Remove render backend option as it doesn't work and confuses people.Glenn Watson2014-10-201-25/+0
|
* try to reset flows which need reflow, since reflow isn't yet idempotentClark Gaebel2014-10-141-0/+6
|
* Expose user agent option to DOM navigator interface.Glenn Watson2014-10-131-2/+21
|
* layout: Implement `z-index`.Patrick Walton2014-10-081-0/+5
|
* Allow to specify port with --devtools option (fixes #3597)Robin Stocker2014-10-091-4/+9
| | | | | | | Note that using `servo --devtools http://example.org` doesn't work. In that case either the port must be specified or the option moved to the end. This is done by getopts and is the same for other such options, e.g. `--profile`.
* Add cmd line option to set user agent. Improves github when used.Glenn Watson2014-10-031-0/+5
|
* Revert "Set default resolution to 1280x1024 now that reftests render to FBO."Glenn Watson2014-09-291-2/+2
| | | | This reverts commit c74798bb6bcb98d2d6af998e2ab0f08e79097147.
* Set default resolution to 1280x1024 now that reftests render to FBO.Glenn Watson2014-09-291-2/+2
|
* Change opts to work in screen pixels that are scaled to device pixels.Glenn Watson2014-09-241-1/+1
|
* Change default back to 800x600 as mac travis builders don't work with 1280x1024Glenn Watson2014-09-241-2/+2
|
* Allow resolution to be configured on command line. Default to 1280x1024.Glenn Watson2014-09-241-0/+16
|
* Dump initial prototype of devtools server into the build. Expect lies if you ↵Josh Matthews2014-09-181-0/+5
| | | | try to use it for anything real.
* Cargoify servoJack Moffitt2014-09-081-0/+235