Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename the browsercontext module. | Ms2ger | 2015-12-11 | 1 | -281/+0 |
| | |||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -27/+50 |
| | |||||
* | Clean up the conversion routines | Anthony Ramine | 2015-11-11 | 1 | -3/+2 |
| | | | | | | | | Functions returning `Root<T>` are prefixed by "root_" and the ones returning `*const T` by "native_". Functions taking `*mut JSObject` are now suffixed by "_from_object" and the ones taking `&T` by "_from_reflector". | ||||
* | Make BrowsingContext JS-managed. | Ms2ger | 2015-11-04 | 1 | -33/+42 |
| | |||||
* | Get rid of a bunch of explicit derefs | David Zbarsky | 2015-11-03 | 1 | -1/+1 |
| | |||||
* | rearrange imports to be in alphabetical order | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+2 |
| | |||||
* | Return a reference in BrowserContext::active_window() | Anthony Ramine | 2015-10-19 | 1 | -4/+4 |
| | |||||
* | Return a reference in Document::window() | Anthony Ramine | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | Return a reference in BrowserContext::frame_element() | Anthony Ramine | 2015-10-17 | 1 | -2/+2 |
| | |||||
* | Return a reference in BrowserContext::active_document() | Anthony Ramine | 2015-10-17 | 1 | -4/+3 |
| | |||||
* | Stop implementing Copy for JS<T>. | Eli Friedman | 2015-10-15 | 1 | -1/+1 |
| | | | | | A copy of a JS<T> doesn't have the rooting properties of the original, so it makes no sense for it to implement Copy. | ||||
* | Support the updated spidermonkey bindings | Michael Wu | 2015-10-14 | 1 | -24/+23 |
| | |||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -8/+8 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -2/+0 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | Remove needless returns | Manish Goregaokar | 2015-09-04 | 1 | -1/+1 |
| | |||||
* | Remove helper traits | Anthony Ramine | 2015-08-27 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that JSRef<T> is gone, there is no need to have helper traits. On components/script/*.rs: # Remove imports. /^ *use dom::[a-z]+::\{.*Helpers/ { s/\{(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers, /\{/ s/, (Raw[^L]|[^L][^a])[a-zA-Z]+Helpers([,}])/\2/g s/\{([a-zA-Z]+)\}/\1/ /\{\}/d s/::self;$/;/ } /^ *use dom::[a-z]+::\{?(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers\}?;$/d On components/script/dom/*.rs: # Ignore layout things. /^(pub )?(impl|trait).*Layout.* \{/,/^}$/ { P; D; } # Delete helpers traits. /^(pub )?trait ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? \{$/,/^\}$/D # Patch private helpers. /^impl.*Private.*Helpers/,/^\}$/ { s/^impl<'a> Private([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for &'a ([^ ]+) \{$/impl \3 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn /s/\(self([,)])/\(\&self\1/ } # Patch public helpers. /^impl.*Helpers/,/^\}$/ { s/^impl(<'a>)? ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for (&'a )?([^ ]+) \{$/impl \5 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn .*\(&?self[,)]/s/(unsafe )?fn/pub &/ /^ *pub (unsafe )?fn /s/\(self([,)])/\(\&self\1/ } The few error cases were then fixed by hand. | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -7/+7 |
| | |||||
* | Update js. | Ms2ger | 2015-08-18 | 1 | -1/+1 |
| | |||||
* | Start reporting memory usage for Window and all nodes in all DOM trees for ↵ | Josh Matthews | 2015-08-03 | 1 | -2/+2 |
| | | | | frame treese in script tasks. | ||||
* | Make struct part of unrooted_must_root handle type parameters | Manish Goregaokar | 2015-07-22 | 1 | -0/+1 |
| | |||||
* | Rename BrowserContext to BrowsingContext. | Ms2ger | 2015-07-20 | 1 | -5/+5 |
| | |||||
* | Refactor #[jstraceable] to #[derive(JSTraceable)] | David Winslow | 2015-07-01 | 1 | -2/+2 |
| | | | | fixes #6524 | ||||
* | Silence a warning about BrowserContext. | Ms2ger | 2015-06-23 | 1 | -0/+1 |
| | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -107/+105 |
| | |||||
* | Reduce max line length from 150 to 120 characters | Corey Farwell | 2015-05-24 | 1 | -7/+14 |
| | | | | Part of https://github.com/servo/servo/issues/6041 | ||||
* | Remove Temporary::new() | Anthony Ramine | 2015-04-28 | 1 | -2/+2 |
| | | | | Temporary::from_rooted() now takes an Assignable value. | ||||
* | Uniformise root() methods | Anthony Ramine | 2015-04-28 | 1 | -2/+2 |
| | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable. | ||||
* | Stop using int/uint in script. | Ms2ger | 2015-04-03 | 1 | -1/+1 |
| | |||||
* | Replace unsafe_blocks by unsafe_code. | Manish Goregaokar | 2015-03-21 | 1 | -3/+8 |
| | |||||
* | Fix #2108 by renaming unwrap functions to native_from_reflector | Chris Double | 2015-03-12 | 1 | -2/+2 |
| | | | | | | | | | | As noted by @bholley. "unwrap" is confusing because we are both stripping off wrappers *and* getting a native from a reflector. Changing the "unwrap" usage to "native_from_reflector" for clarity. This renames 'unwrap' to 'native_from_reflector' and 'unwrap_jsmanaged' to 'native_from_reflector_jsmanaged'. | ||||
* | Move everything unrelated to the frame tree out of Page and into Document or ↵ | Josh Matthews | 2015-03-03 | 1 | -4/+2 |
| | | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. | ||||
* | Implement window.frameElement, change window.parent to make use of it. | Glenn Watson | 2015-02-07 | 1 | -9/+8 |
| | |||||
* | Replace Root::deref by a custom get_unsound_ref_forever method. | Ms2ger | 2015-02-05 | 1 | -1/+1 |
| | | | | | This will hopefully make it clearer that this is not the correct function to call. | ||||
* | Implement window.parent for iframes. | Glenn Watson | 2015-02-05 | 1 | -1/+9 |
| | |||||
* | Rename GetArrayIndexFromId to get_array_index_from_id. | Ms2ger | 2015-01-29 | 1 | -4/+4 |
| | |||||
* | Rename FillPropertyDescriptor to fill_property_descriptor. | Ms2ger | 2015-01-29 | 1 | -2/+2 |
| | |||||
* | Rename getPropertyDescriptor to get_property_descriptor. | Ms2ger | 2015-01-29 | 1 | -2/+3 |
| | |||||
* | raw_pointer_deriving -> raw_pointer_derive | Manish Goregaokar | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -6/+9 |
| | |||||
* | Implement most of the important WindowProxy traps | Tom Schuster | 2015-01-12 | 1 | -9/+116 |
| | |||||
* | Deny unsafe blocks in script. | Ms2ger | 2015-01-09 | 1 | -0/+2 |
| | | | | As a first start, this allows them indiscriminately where used. | ||||
* | auto merge of #4526 : servo/servo/deref-1, r=Manishearth | bors-servo | 2015-01-02 | 1 | -1/+2 |
|\ | | | | | | | This is a start towards fixing #3868. Not all callers have been fixed yet, so the `Deref` implementation remains for now. | ||||
| * | Remove unsound Root::deref() call in BrowserContext::create_window_proxy. | Ms2ger | 2015-01-01 | 1 | -1/+2 |
| | | |||||
| * | Replace Root::deref() calls by Root::r() calls where possible. | Ms2ger | 2015-01-01 | 1 | -2/+2 |
| | | | | | | | | This changes those calls that were already sound. | ||||
* | | Stop using ptr.is_not_null() in script. | Ms2ger | 2015-01-01 | 1 | -3/+3 |
|/ | | | | | This method is deprecated in rust master; removing its users in advance will make a future rust upgrade smoother. | ||||
* | Fix warnings post-upgrade | Manish Goregaokar | 2014-12-27 | 1 | -0/+2 |
| | |||||
* | Add inheritance-checking lint | Manish Goregaokar | 2014-12-27 | 1 | -1/+3 |
| | |||||
* | Implement dummy getOwnPropertyNames and enumerate traps. | Ms2ger | 2014-12-24 | 1 | -3/+3 |
| | |||||
* | Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a | Jack Moffitt | 2014-11-13 | 1 | -2/+2 |
| |