Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More progress in the &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-20 | 66 | -815/+812 |
| | | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`. | ||||
* | Move is_void() Element method together with the other struct methods, | Adenilson Cavalcanti | 2014-09-20 | 3 | -19/+18 |
| | | | | it becomes part of ElementHelpers. | ||||
* | Share code between Navigator and WorkerNavigator | Gilles Leblanc | 2014-09-20 | 6 | -32/+79 |
| | | | | | | | Also shares code between Location and WorkerLocation. This has been done by introducing NavigatorInfo and UrlHelper. Fixes #3159 | ||||
* | Use Untraceable<T> to hold LayoutDataRef instead of manual Encodable ↵ | Tetsuharu OHZEKI | 2014-09-20 | 1 | -4/+4 |
| | | | | implementation. | ||||
* | Reintroduce Untraceable<T>.deref_mut() to make mem::replace() possible to ↵ | Tetsuharu OHZEKI | 2014-09-20 | 5 | -8/+14 |
| | | | | | | | Untracebale<T> field. Some compile errors caused by the compiler's misreading comes back again :( We re-use `deref()`explicitly to hide these errors. | ||||
* | First steps of &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-19 | 123 | -951/+954 |
| | | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally. | ||||
* | Merge pull request #3253 from ChrisParis/TreeWalker | Josh Matthews | 2014-09-19 | 5 | -18/+592 |
|\ | | | | | Implement TreeWalker | ||||
| * | Implement TreeWalker | Chris Paris | 2014-09-18 | 5 | -18/+592 |
| | | |||||
* | | Merge pull request #3172 from jdm/devtools | Josh Matthews | 2014-09-19 | 3 | -1/+80 |
|\ \ | | | | | | | Dump initial prototype of devtools server into the build. Expect lies if... | ||||
| * | | Retrieve some basic layout properties for nodes to make the box model ↵ | Josh Matthews | 2014-09-18 | 3 | -14/+22 |
| | | | | | | | | | | | | somewhat useful. | ||||
| * | | Enable real DOM inspector support. | Josh Matthews | 2014-09-18 | 2 | -1/+72 |
| |/ | |||||
* / | Remove uses of &mut JSRef | Cameron Zwarich | 2014-09-18 | 2 | -14/+1 |
|/ | | | | | Since everything with JSRef happens with interior mutability, it doesn't make any sense to use an &mut JSRef. | ||||
* | Revert "script: Use atom comparison in more places, especially for ↵ | Josh Matthews | 2014-09-18 | 13 | -150/+86 |
| | | | | | | attributes." for persistent test failures. This reverts commit 874db261046d6155b1942efa106d2e0014295d6d. | ||||
* | Merge pull request #3358 from jdm/thespicemustnotreflow | Josh Matthews | 2014-09-17 | 2 | -9/+11 |
|\ | | | | | Delay initiating layout operations for as long as possible. | ||||
| * | Delay initiating layout operations for as long as possible. | Josh Matthews | 2014-09-15 | 2 | -9/+11 |
| | | |||||
* | | script: Use atom comparison in more places, especially for attributes. | Patrick Walton | 2014-09-17 | 13 | -86/+150 |
| | | | | | | | | 75% improvement in style recalc for Guardians of the Galaxy. | ||||
* | | Merge pull request #3387 from prasoon2211/base64_methods_for_worker | Josh Matthews | 2014-09-17 | 3 | -70/+88 |
|\ \ | | | | | | | Implement atob and btoa methods for worker | ||||
| * | | Fix for issue #3238 | Prasoon Shukla | 2014-09-17 | 3 | -70/+88 |
| | | | | | | | | | | | | | | | | | | Moved the Atob and Btoa methods ouside the impl for WorkerMethod trait and made them publicly accessible from WorkerGlobalScopeMethods via proxy methods. | ||||
* | | | Merge pull request #3374 from Manishearth/lint_unrooted_jsmanaged | Manish Goregaokar | 2014-09-17 | 127 | -25/+234 |
|\ \ \ | |/ / |/| | | Add lint for ensuring proper rooting of JS<T>; r=jdm | ||||
| * | | Use #[must_root] for HTMLElements | Manish Goregaokar | 2014-09-17 | 70 | -5/+138 |
| | | | |||||
| * | | Make Reflector #[must_root], propagate to non-HTMLElements | Manish Goregaokar | 2014-09-17 | 40 | -12/+53 |
| | | | |||||
| * | | Unwrap pointers and miscellany for unrooted_must_root check | Manish Goregaokar | 2014-09-16 | 2 | -0/+3 |
| | | | |||||
| * | | Add unrooted_must_root lint for usages of JS<T> in let/for bindings | Manish Goregaokar | 2014-09-16 | 8 | -10/+14 |
| | | | |||||
| * | | Add unrooted_must_root lint for enums and structs containing JS<T>, as well ↵ | Manish Goregaokar | 2014-09-16 | 20 | -1/+29 |
| | | | | | | | | | | | | | | | | | | | | | as functions with JS<T> in their parameter list For safe wrappers over JS<T> (eg Temporary<T>) use #[allow(unrooted_must_root)]. For all other types containing a #[must_root] value, annotate the type with #[must_root] to ensure that it is never used unrooted | ||||
* | | | Merge pull request #3373 from ProgramFOX/issue3366 | Jack Moffitt | 2014-09-16 | 2 | -6/+0 |
|\ \ \ | | | | | | | | | Removed unused BlobMethods and CommentMethods traits, fixes #3366 | ||||
| * | | | Removed unused BlobMethods and CommentMethods traits, fixes #3366 | ProgramFOX | 2014-09-16 | 2 | -6/+0 |
| | | | | |||||
* | | | | Merge pull request #3352 from mbrubeck/link-style | Matt Brubeck | 2014-09-16 | 2 | -8/+62 |
|\ \ \ \ | | | | | | | | | | | Move link rel=stylesheet fetching to layout task. r=jdm | ||||
| * | | | | Move link rel=stylesheet fetching to layout task | Matt Brubeck | 2014-09-16 | 2 | -8/+62 |
| | | | | | | | | | | | | | | | | | | | | Fixes #3346. | ||||
* | | | | | Merge pull request #3357 from glennw/empty-iframe-src | Josh Matthews | 2014-09-16 | 1 | -3/+8 |
|\ \ \ \ \ | |/ / / / |/| | | | | Handle src='' in an iframe element. Without this, infinitely creates iframes with the same url. | ||||
| * | | | | Handle src='' in an iframe element. Without this, infinitely creates iframes ↵ | Glenn Watson | 2014-09-16 | 1 | -3/+8 |
| | |_|/ | |/| | | | | | | | | | | with the same url. | ||||
* | | | | Merge pull request #3212 from cgaebel/style-resolution-bloom-filter | Jack Moffitt | 2014-09-15 | 2 | -3/+9 |
|\ \ \ \ | |/ / / |/| | | | Added a bloom filter to CSS selector matching. | ||||
| * | | | Added a bloom filter to CSS selector matching. | Clark Gaebel | 2014-09-15 | 2 | -3/+9 |
| | | | | |||||
* | | | | Merge pull request #3347 from jdm/blankiframe | Jack Moffitt | 2014-09-15 | 1 | -23/+23 |
|\ \ \ \ | |/ / / |/| | | | Make all iframes attached to a document default to about:blank. | ||||
| * | | | Make all iframes attached to a document default to about:blank. | Josh Matthews | 2014-09-15 | 1 | -23/+23 |
| | |/ | |/| | |||||
* / | | Handle iframe.src with a javascript protocol URL. | Jack Moffitt | 2014-09-15 | 1 | -2/+23 |
|/ / | | | | | | | | | This change prevents us from crashing on Amazon and other pages with iframe.src="javascript:foo". | ||||
* | | Remove obsolete FIXME comment. | Ms2ger | 2014-09-14 | 1 | -1/+0 |
| | | |||||
* | | Stop messing with the case of the attribute name in ↵ | Ms2ger | 2014-09-13 | 1 | -8/+9 |
|/ | | | | | | | AttributeHandlers::get_attribute. This fixes a bug where GetAttributeNS would incorrectly match lower-case attributes when called with an upper-case argument. | ||||
* | Make use of the list of Atoms in ClassSelector | Gilles Leblanc | 2014-09-11 | 2 | -0/+26 |
| | | | | | | | Make use of the list of Atoms in the class attribute selector (ClassSelector) in selector_matching. Fixes #3111 | ||||
* | Move Attr::local_name() to AttrHelpers/AttrHelpersForLayout. | Tetsuharu OHZEKI | 2014-09-11 | 2 | -6/+12 |
| | |||||
* | Move Attr helper methods to AttrHelpers trait to avoid to touch them from ↵ | Tetsuharu OHZEKI | 2014-09-11 | 7 | -34/+43 |
| | | | | layout task. | ||||
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 363 | -0/+51485 |