aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-164/+0
|
* Upgrade Rust.Jack Moffitt2014-08-081-3/+3
|
* Decouple compositing and script crates.Josh Matthews2014-08-081-1/+2
|
* Merge pull request #2791 from glennw/web-fontsglennw2014-08-061-1/+1
|\ | | | | Add basic support for web fonts. Synchronous loading only
| * Add basic support for web fonts. Synchronous loading onlyGlenn Watson2014-07-241-1/+1
| | | | | | | | | | | | for now, and only deals with TTF format fonts. For an example, try loading http://icons.marekventur.de
* | Use TaskBuilder for the main Servo task.Ms2ger2014-08-041-5/+7
| |
* | Upgrade Rust.Jack Moffitt2014-08-021-5/+4
| |
* | Fix compile error and warning on AndroidMatt Brubeck2014-07-241-2/+2
|/
* Only interpret URL as filenames in command-line arguments.Simon Sapin2014-07-211-3/+7
|
* Start dogfooding rust-url. Fix #1673.Simon Sapin2014-07-211-11/+2
|
* Make compositing generic over layout_taskAriel Ben-Yehuda2014-07-211-1/+3
| | | | This will allow breaking the layout -> compositing dependency
* Move CSS Writing Modes properties behind a new command-line flag.Simon Sapin2014-07-181-0/+1
|
* Store proxy handlers in a static array rather than a hashtable per window.Ms2ger2014-07-121-0/+5
|
* Merge pull request #2775 from glennw/font-cacheglennw2014-07-091-0/+5
|\ | | | | Font refactoring work - add font cache task, cleanup various code paths.
| * Next stage of refactoring font system. This commit introducesGlenn Watson2014-07-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the font cache task, and adapts client code to use it. It also cleans up some existing code paths. - Fonts are only read once from disk while in use (they are discarded if the reference count reaches zero, however). This saves memory and prevents unnecessary reading from disk. - It will be easier to add web font support, as all fonts are created and managed in a single place and the entire pipeline ensures that only one in-memory copy of font data is required. An overview of how the pieces fit together: FontTemplate - A structure containing everything that is required to create (and select) font handles. This structure is shared among all matching font handles (via Arc). FontTemplateData - A platform specific structure that contains the actual font data inside a template (this is a byte array on Linux/Android, CTFont on Mac). FontHandle - An opaque, platform specific handle to a font instance. Each FontHandle contains an Arc<> reference to the FontTemplate it was created from. FontCache - This is a separate task, that is responsible for loading and caching FontTemplate structures. There is one FontCache per constellation. It is only ever accessed via the FontContext described below. FontContext - This is the public interface to the FontCache and is used by the layout and render code to create font handles. These must *not* be shared between threads. There is typically one FontContext per thread/task.
* | Fix or selectively silence warnings in src/components.Simon Sapin2014-07-081-2/+2
| |
* | Warning police.Glenn Watson2014-07-071-3/+3
|/
* Split compositing/pipeline/constellation code into separate crate.Josh Matthews2014-06-2813-4808/+2
|
* Split layout code into a separate crate.Josh Matthews2014-06-2830-13895/+1
|
* Upgrade to latest Rust.Manish Goregaokar2014-06-2713-28/+32
|
* Rename |Profiler| as |TimeProfiler|.Nicholas Nethercote2014-06-268-59/+59
| | | | | 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-264-12/+35
|
* Revert parallel render patch due to issue #2718.Glenn Watson2014-06-261-35/+25
|
* Suppress the compiler warning about raw_pointer_deriving in layout/context.rs.Tetsuharu OHZEKI2014-06-251-0/+1
| | | | | | | | | | This suppress the following compile warning: ``` compile: servo src/components/main/layout/context.rs:75:18: 75:26 warning: use of `#[deriving]` with a raw pointer, #[warn(raw_pointer_deriving)] on by default src/components/main/layout/context.rs:75 pub stylist: *Stylist, ^~~~~~~~ ```
* Remove box from image cache task.Glenn Watson2014-06-233-4/+4
|
* Remove LocalImageCacheHandle hack and associated unsafe code.Glenn Watson2014-06-233-14/+10
|
* Remove a dead assignment from set_width_constraint_solutions.Ms2ger2014-06-221-1/+1
|
* Merge pull request #2688 from schaars/noscriptSimon Sapin2014-06-211-1/+1
|\ | | | | Do not display noscript element
| * do not display noscript elementPierre Louis Aublin2014-06-211-1/+1
| |
* | Merge pull request #2682 from bjz/assorted-cleanupsLars Bergstrom2014-06-212-84/+74
|\ \ | | | | | | Assorted cleanups in gfx and layout
| * | Clean up skip_while iterationBrendan Zabarauskas2014-06-201-3/+5
| | |
| * | Use Option::expect instead of pattern matching in try_append_to_line_by_new_lineBrendan Zabarauskas2014-06-201-26/+23
| | |
| * | Remove some unnecessary mutable referencesBrendan Zabarauskas2014-06-201-3/+3
| | |
| * | Make move mutation out of compute_minimum_ascent_and_descentBrendan Zabarauskas2014-06-202-5/+6
| | |
| * | Use iterators to make some logic clearerBrendan Zabarauskas2014-06-201-49/+39
| | |
* | | Merge pull request #2666 from mbrubeck/pinchLars Bergstrom2014-06-217-41/+96
|\ \ \ | | | | | | | | Separate "desktop" and "mobile" zoom calculations.
| * | | Separate "desktop" and "mobile" zoom calculations.Matt Brubeck2014-06-207-41/+96
| | |/ | |/| | | | | | | | | | | | | | | | | | | 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-25/+35
|/ / | | | | | | This reverts commit 3f8f065b76d034803bfb666899ef07afce0a1cd9.
* | Revert "Merge pull request #2609 from brson/parallel-render"Lars Bergstrom2014-06-201-35/+25
| | | | | | | | | | This reverts commit 850bd2891de589b95e32dc8f0b59d4043ed1e0a3, reversing changes made to 5b0feac32a3ef13a76670eb2f5f21e7b598fc890.
* | Merge pull request #2609 from brson/parallel-renderPatrick Walton2014-06-201-25/+35
|\ \ | | | | | | Render in parallel
| * | Add a command line option (-n) to use native threading, for testing.Brian Anderson2014-06-181-25/+35
| |/ | | | | | | I added this to test the impact of green threading.
* | Merge pull request #2667 from mrobinson/overflowPatrick Walton2014-06-201-12/+23
|\ \ | |/ |/| Add overflow to child layer size
| * Add overflow to child layer sizeMartin Robinson2014-06-171-12/+23
| | | | | | | | | | | | | | | | | | When creating child layers it is important to consider overflow when determining the size of the layer. This also means that overflow should not be too large, so also shrink block width down to the size of their contained fragment. This means that a block that has been explicitly sized to width:100px should be 100 pixels wide instead of the width of its containing block.
* | auto merge of #2628 : luqmana/servo/up, r=mbrubeckbors-servo2014-06-122-3/+3
|\ \ | |/ |/|
| * Update submodules and ~str/String, to_owned/to_string, & cast/mem to get ↵Luqman Aden2014-06-102-3/+3
| | | | | | | | android building.
* | Use internal mutability for CharacterData::data.Ms2ger2014-06-111-3/+3
| |
* | Use internal mutability for HTMLIFrameElement.Ms2ger2014-06-111-1/+1
|/
* auto merge of #2624 : mbrubeck/servo/units, r=pcwaltonbors-servo2014-06-098-62/+71
|\ | | | | | | | | | | | | | | | | | | This fixes an issue where the CSS viewport was too large on high-DPI displays because it was set to the window size in device pixels, instead of px. This patch ensures that the window size is converted from device pixels to px before being passed to script/layout code. The Window trait now exposes the window size in both device pixels and density-independent screen coordinates, with clearer method names.
| * Outside of compositor, store window size in CSS pxMatt Brubeck2014-06-098-62/+71
| | | | | | | | | | | | | | | | | | | | This fixes an issue where the CSS viewport was too large on high-DPI displays because it was set to the window size in device pixels, instead of px. This patch ensures that the window size is converted from device pixels to px before being passed to script/layout code. The Window trait now exposes the window size in both device pixels and density-independent screen coordinates, with clearer method names.
* | Remove 'LayoutNode.pad' field.Tetsuharu OHZEKI2014-06-092-14/+12
| |