aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #3088 from brunoabinader/document-links-cacheMs2ger2014-08-141-22/+15
|\ \ \ | | | | | | | | Implement Document.links cache; r=Ms2ger
| * | | Removed comment as issue #1847 is now fixed.Bruno de Oliveira Abinader2014-08-141-12/+0
| | | |
| * | | Implement cached Document.LinksBruno de Oliveira Abinader2014-08-141-10/+15
| | | |
* | | | Structured clone the argument to DedicatedWorkerGlobalScope.postMessage.Ms2ger2014-08-145-30/+34
| | | |
* | | | Structured clone the argument to Worker.postMessage.Ms2ger2014-08-145-8/+39
| | | |
* | | | Merge pull request #3087 from Manishearth/node-textcontent-throwsMs2ger2014-08-142-7/+6
|\ \ \ \ | |/ / / |/| | | node.textContent and node.nodeValue should not throw; r=Ms2ger
| * | | node.textContent and node.nodeValue should not throwManish Goregaokar2014-08-142-7/+6
| | |/ | |/|
* | | Merge pull request #3081 from Ms2ger/location-emptyMs2ger2014-08-141-1/+3
|\ \ \ | | | | | | | | Return the empty string as appropriate for location.{search,hash}; r=Manishearth
| * | | Return the empty string as appropriate for location.{search,hash}.Ms2ger2014-08-131-1/+3
| |/ /
* / / Improve error message for when web fonts fail to load.Glenn Watson2014-08-141-1/+1
|/ /
* | Implement {Worker,DedicatedWorkerGlobalScope}.onmessage.Ms2ger2014-08-134-4/+26
| |
* | Distinguish the sender to the own thread and to the parent thread in ↵Ms2ger2014-08-123-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.Ms2ger2014-08-124-1/+27
| |
* | Store a pointer to the Worker in the DedicatedWorkerGlobalScope.Ms2ger2014-08-124-10/+99
| |
* | Pass the script channel to DedicatedWorkerGlobalScope::run_worker_scope ↵Ms2ger2014-08-122-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 thanGlenn Watson2014-08-126-30/+39
| | | | | | | | a hard-coded estimate.
* | Merge pull request #3071 from Ms2ger/workers-threadsMs2ger2014-08-113-36/+52
|\ \ | | | | | | Give workers their own ScriptChan and use it for postMessage; r=Manishearth
| * | Improve the documentation for ScriptMsg.Ms2ger2014-08-111-8/+14
| | |
| * | Give workers their own ScriptChan and use it for postMessage.Ms2ger2014-08-113-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/servoSimon Sapin2014-08-113-75/+49
|\ \ | |/ |/| | | | | Conflicts: src/components/style/selector_matching.rs
| * Port selector matching to use atoms.Glenn Watson2014-08-063-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 Watson2014-08-1116-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.Ms2ger2014-08-101-2/+3
| |
* | Implement Range.detach().Ms2ger2014-08-092-1/+5
| | | | | | | | Incidentally, this allows dom/interfaces.html to actually run.
* | Implement Document.createRange().Ms2ger2014-08-092-1/+9
| |
* | Pass a Document to Range::new.Ms2ger2014-08-091-4/+10
| |
* | Make Range::reflector private.Ms2ger2014-08-091-1/+1
| |
* | Rename ClientRect and ClientRectList to DOMRect and DOMRectList (fixes ↵hyunjunekim2014-08-097-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-windowManish Goregaokar2014-08-093-14/+9
|\ \ | | | | | | Remove unused windows/globals; r=jdm
| * | Remove unused windows/globalsManish Goregaokar2014-08-093-14/+9
| | |
* | | Upgrade Rust.Jack Moffitt2014-08-0852-196/+215
| | |
* | | Merge pull request #3054 from jdm/script_traitsJosh Matthews2014-08-0815-189/+396
|\ \ \ | | | | | | | | Decouple compositing and script crates.
| * | | Decouple compositing and script crates.Josh Matthews2014-08-0815-189/+396
| | | |
* | | | Fix getElementsByTagName[NS] support to match the spec.James Graham2014-08-084-21/+64
| |/ / |/| |
* | | Merge pull request #3057 from Ms2ger/3041-method-traitMs2ger2014-08-081-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).Ms2ger2014-08-081-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-layoutPatrick Walton2014-08-081-3/+7
|\ \ \ \ | |/ / / |/| | | Fix the NodeFlags methods that are called by layout.
| * | | Fix the NodeFlags methods that are called by layout.Jack Moffitt2014-08-071-3/+7
| | | | | | | | | | | | | | | | They should never borrow.
* | | | Unify the android + linux font code folders. Fixes #3028.Glenn Watson2014-08-089-530/+14
| | | |
* | | | Merge pull request #3053 from brunoabinader/use-is-element-helpersJosh Matthews2014-08-072-10/+15
|\ \ \ \ | |_|/ / |/| | | Prefer *Derived helper functions (is_*element) than string comparison
| * | | Prefer *Derived helper functions (is_*element) than string comparisonBruno de Oliveira Abinader2014-08-072-10/+15
| | | |
* | | | Add DOM NodeIterator blob (include DOM NodeFilter interface).Tetsuharu OHZEKI2014-08-084-0/+101
| | | |
* | | | Add DOM Range blob.Tetsuharu OHZEKI2014-08-083-0/+126
| | | |
* | | | Add TreeWalker blob.Tetsuharu OHZEKI2014-08-083-0/+59
| |/ / |/| |
* | | Merge pull request #3031 from Ms2ger/attr-cellMs2ger2014-08-071-5/+5
|\ \ \ | | | | | | | | Make Attr::owner immutable; r=jdm
| * | | Make Attr::owner immutable.Ms2ger2014-08-061-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 syntaxMatt Brubeck2014-08-063-5/+5
| | | |
* | | | Merge pull request #3035 from brunoabinader/fix-node-ctorMs2ger2014-08-061-17/+11
|\ \ \ \ | |_|/ / |/| | | Using NodeFlags ctor to set InEnabledState when needed; r=Ms2ger
| * | | Using NodeFlags ctor to set InEnabledState when neededBruno de Oliveira Abinader2014-08-061-17/+11
| | | |
* | | | Merge pull request #3034 from saneyuki/canvasJosh Matthews2014-08-063-6/+13
|\ \ \ \ | | | | | | | | | | Implement CanvasRenderingContext2D.canvas.