aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/servo.rs
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-281-43/+2
|
* Split layout code into a separate crate.Josh Matthews2014-06-281-35/+1
|
* Upgrade to latest Rust.Manish Goregaokar2014-06-271-4/+5
|
* Rename |Profiler| as |TimeProfiler|.Nicholas Nethercote2014-06-261-5/+5
| | | | | 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-261-1/+5
|
* Revert parallel render patch due to issue #2718.Glenn Watson2014-06-261-35/+25
|
* 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.
* 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.
* Update submodules and ~str/String, to_owned/to_string, & cast/mem to get ↵Luqman Aden2014-06-101-1/+1
| | | | android building.
* Upgrade Rust.Jack Moffitt2014-06-051-5/+7
|
* layout: Reference count flows, and forbid unsafe code in many places.Patrick Walton2014-06-031-0/+1
|
* Rename `box_.rs` to `fragment.rs`Brendan Zabarauskas2014-05-281-1/+1
|
* make servo::run() and opts::Opts.n_render_threads public for use in ↵Mike Blumenkrantz2014-05-261-1/+1
| | | | embedding crate
* Fix file mode for servo.rsBrendan Zabarauskas2014-05-121-0/+0
| | | | For some reason this was set to +x
* Use box index type for referring to inline boxesBrendan Zabarauskas2014-05-121-1/+1
|
* Suppress dead code warnings for start when building servo.rs as a dylib.Cameron Zwarich2014-05-081-0/+2
|
* fix android buildaydin.kim2014-05-081-1/+1
|
* Convert Vec::new() to vec!()Matt Murphy2014-05-041-2/+2
|
* ~[] to Vec in glfw_windowing and servoMatt Murphy2014-05-041-1/+1
|
* Replace most ~"string"s with "string".to_owned().Ms2ger2014-05-041-1/+1
|
* Replace all ~"" with "".to_owned().Ms2ger2014-05-031-1/+1
|
* layout: Rewrite display list building to be parallel and to handlePatrick Walton2014-05-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | overflow correctly, and opportunistically lay out blocks in parallel even if floats are present. This commit fixes the `inline-height-test` in Acid2 by implementing proper overflow as well as the inline "strut". (See CSS 2.1 § 10.8.1.) Acid2 was accidentally being rendered properly before because tables' descendant flows were not being laid out properly. Display list building is now parallel and is done by bubbling up display items and layers from parent to child. Speedups of around 60%-70% are observed on Wikipedia with a 4-core HyperThreaded Core i7. More optimizations are possible; this is just a start. To minimize the amount of data that needs to be bubbled up, as well as to make proper handling of `overflow: hidden` clipping easier, the `StackingContext` abstraction is now purely internal to the display list. That is, instead of placing items into a stacking context directly, display items are placed into display lists alongside a stacking level. When a stacking context is complete, it is flattened with the the `flatten` method, which shuffles the display items that make up the context into their proper order while handling clipping properly.
* This batch of changes upgrades Servo to work with the Rust upgrade as ofLars Bergstrom2014-04-271-7/+10
| | | | | | April 10, 2014. The main changes are to privacy, to work around the issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the various API changes strewn throughout the libraries.
* auto merge of #2148 : larsbergstrom/servo/android_201404c, r=metajackbors-servo2014-04-171-1/+10
|\ | | | | | | | | | | On Android, our feeble GPU graphics stack is even less reliable than it is on Linux. To make it easier to bring Android devices online, this patch defaults to CPU rendering, which is much more stable and, frankly, faster. r? @metajack
| * Default to CPU renering on Android to avoid GPU-rendering-specific driver woesLars Bergstrom2014-04-171-1/+10
| |
* | auto merge of #2085 : lpy/servo/issue2079, r=jdmbors-servo2014-04-111-1/+1
|\ \ | |/ |/| | | see #2079
| * Replace @s with Rc types.(fixes #2079)lpy2014-04-121-1/+1
| |
* | Update the configuration files to properly build rust. Revert rust-stb-image ↵Lars Bergstrom2014-04-101-2/+2
| | | | | | | | submodule misupdate.
* | fix android for rust updateaydin.kim2014-04-101-1/+2
|/
* Address review comments.Ms2ger2014-04-041-1/+2
|
* Upgrade rust.Ms2ger2014-04-041-6/+8
|
* auto merge of #1973 : june0cho/servo/table_rebase, r=larsbergstrom,metajackbors-servo2014-03-251-0/+7
|\ | | | | | | | | | | | | | | | | | | | | This is a rebase of #1548 on recent master. There have been many changes since #1548 is first uploaded, so I'm creating new PR. This PR includes: - construction of table-* flows (table-wrapper, table-caption, table, table-rowgroup, table-row, table-cell) - fixed-layout table calculation - a part of anonymous table object implementation [CSS 2.1, 17.2.1](http://www.w3.org/TR/CSS21/tables.html#anonymous-boxes) (Step 1-1, 1-2, Step 2)