aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/util
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-0817-4010/+0
|
* Merge pull request #3206 from glennw/layout-trace-encPatrick Walton2014-09-074-11/+34
|\ | | | | Add an initial pass at a layout debug module.
| * Add a layout debug module. This outputs a trace of the layout process to a JSONGlenn Watson2014-09-044-11/+34
| | | | | | | | | | | | file which can be viewed in an external tool. It provides a timelapse view of how the flow tree and fragments changed during the layout process, which makes it easier to debug layout bugs.
* | Correct the iterator adaptors used in parsing integers (fixes #3208).Ms2ger2014-09-071-6/+8
| | | | | | | | | | | | This avoids Azure segfaulting trying to set up a 100999px*100999px canvas. The test still fails due to its use of getComputedStyle.
* | Implement the rules for parsing integers as defined by HTML, and use them ↵Ms2ger2014-09-031-0/+61
|/ | | | for canvas.
* Merge pull request #3182 from glennw/inline-text-borderPatrick Walton2014-09-032-1/+8
|\ | | | | Add support for borders on inline elements
| * Add support for borders on inline elements.Glenn Watson2014-09-032-1/+8
| | | | | | | | | | | | | | Fix ahem reftests on mac, by disabling text AA in reftest mode. Also fix precision issues in font metrics to correct height and baseline calculations.
* | Merge pull request #3173 from mrobinson/typed-units-1Josh Matthews2014-09-023-7/+3
|\ \ | |/ |/| Start using more typed units in the compositor
| * Start using more typed units in the compositorMartin Robinson2014-08-273-7/+3
| | | | | | | | | | | | Now that rust-layers is starting to support typed units, we can use them more thoroughly in the compositor. This is a step toward removing as many untyped units as possible.
* | Implement sideways text.Simon Sapin2014-08-291-0/+5
|/
* Only write the px value in Show for AuSimon Sapin2014-08-261-2/+1
| | | | | | The integer Au value is mostly internal and does not make much sense. Printing both values is very verbose and hurts readability of debug logs.
* Have quicksort take a compare function rather than requires Ord and Eq.Simon Sapin2014-08-161-10/+11
|
* Merge commit 'refs/pull/3029/head' of https://github.com/servo/servoSimon Sapin2014-08-111-4/+3
|\ | | | | | | | | Conflicts: src/components/style/selector_matching.rs
| * Port selector matching to use atoms.Glenn Watson2014-08-061-4/+3
| | | | | | | | | | | | | | | | | | | | Removed the Lowercase new type. This does mean that this code path is slightly slower for now. This is because find_equiv() doesn't work with atoms in hash tables, due to the hash value being different than that of a string. However it also means the removal of some unsafe code, and a better long term solution will be to precache the lower case versions as atoms.
* | Upgrade Rust.Jack Moffitt2014-08-083-7/+7
| |
* | Pass an argument to spawn_named_with_send_on_failure to support spawning ↵Josh Matthews2014-08-041-6/+12
|/ | | | native tasks.
* Upgrade Rust.Jack Moffitt2014-08-0211-61/+62
|
* Add explicit cast from size_t to u64.Matt Brubeck2014-07-241-1/+1
| | | | Fixes compile error on non-64-bit targets.
* Add support for showing debug bordersMartin Robinson2014-07-231-0/+6
| | | | | This can help debug issues with the compositor and show when a page is creating layers.
* Remove the now unused servo_util::url module.Simon Sapin2014-07-212-32/+0
|
* Move is_image_data() where it’s used.Simon Sapin2014-07-211-8/+0
|
* Remove UrlMap<T>, just use HashMap<rust_url::Url, T>Simon Sapin2014-07-211-8/+0
|
* Only interpret URL as filenames in command-line arguments.Simon Sapin2014-07-211-20/+0
|
* Don’t drop whitespace in data: URLs. FromBase64 already skips newlines.Simon Sapin2014-07-211-11/+1
|
* Move about: URL handling from parsing to loading. Fix #1094Simon Sapin2014-07-211-15/+0
|
* Start dogfooding rust-url. Fix #1673.Simon Sapin2014-07-212-140/+21
|
* Convert layout code to use logical directions.Simon Sapin2014-07-181-2/+2
|
* Move CSS Writing Modes properties behind a new command-line flag.Simon Sapin2014-07-183-153/+246
|
* Fix comments and variable names for atom wrapper.Glenn Watson2014-07-171-5/+5
|
* Convert element name to be stored as atom instead of string.Glenn Watson2014-07-162-0/+46
|
* Merge pull request #2803 from nnethercote/jemalloc-statsLars Bergstrom2014-07-142-5/+45
|\ | | | | Include some jemalloc stats in the -m measurements.
| * Include some jemalloc stats in the -m measurements.Nicholas Nethercote2014-07-102-5/+45
| |
* | Test for trailing spaces in tidy.py.Ms2ger2014-07-111-1/+1
|/
* Add logical geometry primitives, for CSS Writing Modes.Simon Sapin2014-07-092-0/+945
|
* Merge pull request #2786 from nnethercote/task_infoPatrick Walton2014-07-092-13/+27
|\ | | | | Add a `task_info` crate and a `task_basic_info` module within it.
| * Add a `task_info` crate and a `task_basic_info` module within it.Nicholas Nethercote2014-07-082-13/+27
| | | | | | | | | | | | | | | | | | | | The crate provides an interface to the Mac-specific `task_info()` function in general, and the module provides an interface to the TASK_BASIC_INFO flavor. Currently only the `virtual_size` and `resident_size` values of the `task_basic_info` struct are exposed, but there's obvious room for expansion. This is used to implement the -m measurements on Mac.
* | Fix or selectively silence warnings in src/components.Simon Sapin2014-07-082-9/+7
|/
* Merge pull request #2780 from eshyong/reduce-untraceablesJosh Matthews2014-07-071-0/+3
|\ | | | | Made Page.window_size and Page.next_subpage_id Traceable, added trait En...
| * Made Page.window_size and Page.next_subpage_id Traceable, added trait ↵eshyong2014-07-061-0/+3
| | | | | | | | Encodable for WindowSizeData, ViewportPx, PagePx, and DevicePixel
* | Warning police.Glenn Watson2014-07-072-2/+2
|/
* Upgrade to latest Rust.Manish Goregaokar2014-06-2711-37/+38
|
* Rename |Profiler| as |TimeProfiler|.Nicholas Nethercote2014-06-263-39/+39
| | | | | And likewise for |ProfilerChan|, |profiler_chan|, and so on. This contrasts nicely with the newly added |MemoryProfiler|.
* Add a basic memory profiler, invoked with -m.Nicholas Nethercote2014-06-263-1/+169
|
* Revert parallel render patch due to issue #2718.Glenn Watson2014-06-261-22/+5
|
* Remove the long-hand handling about 'native-threading' option.Tetsuharu OHZEKI2014-06-251-1/+1
|
* Treat 'native-threading' option correctly.Tetsuharu OHZEKI2014-06-251-1/+1
|
* Merge pull request #2666 from mbrubeck/pinchLars Bergstrom2014-06-211-4/+22
|\ | | | | Separate "desktop" and "mobile" zoom calculations.
| * Separate "desktop" and "mobile" zoom calculations.Matt Brubeck2014-06-201-4/+22
| | | | | | | | | | | | | | | | This ensures that the layout viewport responds to each type of zoom correctly, and lays the ground for CSS Media Queries and CSS Device Adaption. Until we have proper touch support, mobile-style "pinch" zoom can be simulated by holding Ctrl while scrolling with a mousewheel or trackpad gesture.
* | Revert "Revert "Merge pull request #2609 from brson/parallel-render""Patrick Walton2014-06-201-5/+22
|/ | | | This reverts commit 3f8f065b76d034803bfb666899ef07afce0a1cd9.
* Revert "Merge pull request #2609 from brson/parallel-render"Lars Bergstrom2014-06-201-22/+5
| | | | | This reverts commit 850bd2891de589b95e32dc8f0b59d4043ed1e0a3, reversing changes made to 5b0feac32a3ef13a76670eb2f5f21e7b598fc890.