Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge pull request #3088 from brunoabinader/document-links-cache | Ms2ger | 2014-08-14 | 1 | -22/+15 | |
|\ \ \ | | | | | | | | | Implement Document.links cache; r=Ms2ger | |||||
| * | | | Removed comment as issue #1847 is now fixed. | Bruno de Oliveira Abinader | 2014-08-14 | 1 | -12/+0 | |
| | | | | ||||||
| * | | | Implement cached Document.Links | Bruno de Oliveira Abinader | 2014-08-14 | 1 | -10/+15 | |
| | | | | ||||||
* | | | | Structured clone the argument to DedicatedWorkerGlobalScope.postMessage. | Ms2ger | 2014-08-14 | 5 | -30/+34 | |
| | | | | ||||||
* | | | | Structured clone the argument to Worker.postMessage. | Ms2ger | 2014-08-14 | 5 | -8/+39 | |
| | | | | ||||||
* | | | | Merge pull request #3087 from Manishearth/node-textcontent-throws | Ms2ger | 2014-08-14 | 2 | -7/+6 | |
|\ \ \ \ | |/ / / |/| | | | node.textContent and node.nodeValue should not throw; r=Ms2ger | |||||
| * | | | node.textContent and node.nodeValue should not throw | Manish Goregaokar | 2014-08-14 | 2 | -7/+6 | |
| | |/ | |/| | ||||||
* | | | Merge pull request #3081 from Ms2ger/location-empty | Ms2ger | 2014-08-14 | 1 | -1/+3 | |
|\ \ \ | | | | | | | | | Return the empty string as appropriate for location.{search,hash}; r=Manishearth | |||||
| * | | | Return the empty string as appropriate for location.{search,hash}. | Ms2ger | 2014-08-13 | 1 | -1/+3 | |
| |/ / | ||||||
* / / | Improve error message for when web fonts fail to load. | Glenn Watson | 2014-08-14 | 1 | -1/+1 | |
|/ / | ||||||
* | | Implement {Worker,DedicatedWorkerGlobalScope}.onmessage. | Ms2ger | 2014-08-13 | 4 | -4/+26 | |
| | | ||||||
* | | Distinguish the sender to the own thread and to the parent thread in ↵ | Ms2ger | 2014-08-12 | 3 | -18/+25 | |
| | | | | | | | | | | | | | | | | | | DedicatedWorkerGlobalScope. The WorkerGlobalScope stores a reference to the sender for the own thread, to allow passing clones to sub-workers. The DedicatedWorkerGlobalScope additionally keeps a reference to the sender for the (unique) parent thread, to implement postMessage and memory management of the Worker object. | |||||
* | | Implement DedicatedWorkerGlobalScope.postMessage. | Ms2ger | 2014-08-12 | 4 | -1/+27 | |
| | | ||||||
* | | Store a pointer to the Worker in the DedicatedWorkerGlobalScope. | Ms2ger | 2014-08-12 | 4 | -10/+99 | |
| | | ||||||
* | | Pass the script channel to DedicatedWorkerGlobalScope::run_worker_scope ↵ | Ms2ger | 2014-08-12 | 2 | -6/+6 | |
| | | | | | | | | | | | | | | | | rather than creating it there. This allows us to create the Worker object before calling DedicatedWorkerGlobalScope::run_worker_scope, which is necessary to pass a pointer to the worker to it. | |||||
* | | Change line-height to be read from the font itself, rather than | Glenn Watson | 2014-08-12 | 6 | -30/+39 | |
| | | | | | | | | a hard-coded estimate. | |||||
* | | Merge pull request #3071 from Ms2ger/workers-threads | Ms2ger | 2014-08-11 | 3 | -36/+52 | |
|\ \ | | | | | | | Give workers their own ScriptChan and use it for postMessage; r=Manishearth | |||||
| * | | Improve the documentation for ScriptMsg. | Ms2ger | 2014-08-11 | 1 | -8/+14 | |
| | | | ||||||
| * | | Give workers their own ScriptChan and use it for postMessage. | Ms2ger | 2014-08-11 | 3 | -29/+39 | |
| |/ | | | | | | | | | This ensures that XHR callbacks for XHR objects in workers are called on the worker thread rather than the main thread. | |||||
* | | Merge commit 'refs/pull/3029/head' of https://github.com/servo/servo | Simon Sapin | 2014-08-11 | 3 | -75/+49 | |
|\ \ | |/ |/| | | | | | Conflicts: src/components/style/selector_matching.rs | |||||
| * | Port selector matching to use atoms. | Glenn Watson | 2014-08-06 | 3 | -74/+48 | |
| | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Refactor how LayoutContext structure works (reduce TLS lookups + simplify ↵ | Glenn Watson | 2014-08-11 | 16 | -355/+212 | |
| | | | | | | | | | | | | | | | | | | | | | | | | fns used by seq/parallel code paths). - LayoutContext is renamed to SharedLayoutContext. - SharedLayoutContext is immutable. - LayoutContext is a wrapper around SharedLayoutContext + access to local caches (font, style etc). - Creating a LayoutContext does a single local_data lookup to fetch the cache information. - Android shares same implementation of context.rs as other platforms. - LayoutContext can be used from both green thread (parallel layout) and native thread (sequential layout). - Removes the need for other types (such as FontContext, StyleSharingCandidateCache etc) to be passed around. | |||||
* | | Throw a catchable exception from ThrowingConstructor. | Ms2ger | 2014-08-10 | 1 | -2/+3 | |
| | | ||||||
* | | Implement Range.detach(). | Ms2ger | 2014-08-09 | 2 | -1/+5 | |
| | | | | | | | | Incidentally, this allows dom/interfaces.html to actually run. | |||||
* | | Implement Document.createRange(). | Ms2ger | 2014-08-09 | 2 | -1/+9 | |
| | | ||||||
* | | Pass a Document to Range::new. | Ms2ger | 2014-08-09 | 1 | -4/+10 | |
| | | ||||||
* | | Make Range::reflector private. | Ms2ger | 2014-08-09 | 1 | -1/+1 | |
| | | ||||||
* | | Rename ClientRect and ClientRectList to DOMRect and DOMRectList (fixes ↵ | hyunjunekim | 2014-08-09 | 7 | -47/+49 | |
| | | | | | | | | | | | | | | #2814, fixes #2840). These interfaces were renamed in the specification, in order to use them in other contexts than the getClientRects and getBoundingClientRect methods. | |||||
* | | Merge pull request #3060 from Manishearth/remove-window | Manish Goregaokar | 2014-08-09 | 3 | -14/+9 | |
|\ \ | | | | | | | Remove unused windows/globals; r=jdm | |||||
| * | | Remove unused windows/globals | Manish Goregaokar | 2014-08-09 | 3 | -14/+9 | |
| | | | ||||||
* | | | Upgrade Rust. | Jack Moffitt | 2014-08-08 | 52 | -196/+215 | |
| | | | ||||||
* | | | Merge pull request #3054 from jdm/script_traits | Josh Matthews | 2014-08-08 | 15 | -189/+396 | |
|\ \ \ | | | | | | | | | Decouple compositing and script crates. | |||||
| * | | | Decouple compositing and script crates. | Josh Matthews | 2014-08-08 | 15 | -189/+396 | |
| | | | | ||||||
* | | | | Fix getElementsByTagName[NS] support to match the spec. | James Graham | 2014-08-08 | 4 | -21/+64 | |
| |/ / |/| | | ||||||
* | | | Merge pull request #3057 from Ms2ger/3041-method-trait | Ms2ger | 2014-08-08 | 1 | -1/+1 | |
|\ \ \ | | | | | | | | | Correct the fallibility of proxy operations in the *Methods trait (fixes #3041); r=jdm | |||||
| * | | | Correct the fallibility of proxy operations in the *Methods trait (fixes #3041). | Ms2ger | 2014-08-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | A typo caused us to use the fallibility of the last normal method in the interface. | |||||
* | | | | Merge pull request #3051 from metajack/fix-nodeflags-for-layout | Patrick Walton | 2014-08-08 | 1 | -3/+7 | |
|\ \ \ \ | |/ / / |/| | | | Fix the NodeFlags methods that are called by layout. | |||||
| * | | | Fix the NodeFlags methods that are called by layout. | Jack Moffitt | 2014-08-07 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | They should never borrow. | |||||
* | | | | Unify the android + linux font code folders. Fixes #3028. | Glenn Watson | 2014-08-08 | 9 | -530/+14 | |
| | | | | ||||||
* | | | | Merge pull request #3053 from brunoabinader/use-is-element-helpers | Josh Matthews | 2014-08-07 | 2 | -10/+15 | |
|\ \ \ \ | |_|/ / |/| | | | Prefer *Derived helper functions (is_*element) than string comparison | |||||
| * | | | Prefer *Derived helper functions (is_*element) than string comparison | Bruno de Oliveira Abinader | 2014-08-07 | 2 | -10/+15 | |
| | | | | ||||||
* | | | | Add DOM NodeIterator blob (include DOM NodeFilter interface). | Tetsuharu OHZEKI | 2014-08-08 | 4 | -0/+101 | |
| | | | | ||||||
* | | | | Add DOM Range blob. | Tetsuharu OHZEKI | 2014-08-08 | 3 | -0/+126 | |
| | | | | ||||||
* | | | | Add TreeWalker blob. | Tetsuharu OHZEKI | 2014-08-08 | 3 | -0/+59 | |
| |/ / |/| | | ||||||
* | | | Merge pull request #3031 from Ms2ger/attr-cell | Ms2ger | 2014-08-07 | 1 | -5/+5 | |
|\ \ \ | | | | | | | | | Make Attr::owner immutable; r=jdm | |||||
| * | | | Make Attr::owner immutable. | Ms2ger | 2014-08-06 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | Nobody needs to change the element it's associated with, so there's no reason to use a Cell here. | |||||
* | | | | Fix rustdoc comment syntax | Matt Brubeck | 2014-08-06 | 3 | -5/+5 | |
| | | | | ||||||
* | | | | Merge pull request #3035 from brunoabinader/fix-node-ctor | Ms2ger | 2014-08-06 | 1 | -17/+11 | |
|\ \ \ \ | |_|/ / |/| | | | Using NodeFlags ctor to set InEnabledState when needed; r=Ms2ger | |||||
| * | | | Using NodeFlags ctor to set InEnabledState when needed | Bruno de Oliveira Abinader | 2014-08-06 | 1 | -17/+11 | |
| | | | | ||||||
* | | | | Merge pull request #3034 from saneyuki/canvas | Josh Matthews | 2014-08-06 | 3 | -6/+13 | |
|\ \ \ \ | | | | | | | | | | | Implement CanvasRenderingContext2D.canvas. |