Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -9/+9 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -3/+5 |
| | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned. | ||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Make WebIDL constructors take a more specific global if possible (fixes #14071) | Rohan Prinja | 2016-11-30 | 1 | -3/+3 |
| | |||||
* | Remove intrinsic Root::r() | Anthony Ramine | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | Pass a &GlobalScope to WebIDL static methods and constructors | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Introduce GlobalScope::as_window | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -2/+3 |
| | |||||
* | Explicitly customise flags of new nodes where needed | Anthony Ramine | 2015-10-15 | 1 | -2/+1 |
| | | | | | | | Given codegen now generates the various TypeId enums, it seems pointless to still have to write their respective values in every DOM struct inheriting from Node just to set the initial IS_IN_DOC flag in Document and IN_ENABLED_STATE in form controls. | ||||
* | Generate all Derived implementations in codegen | Anthony Ramine | 2015-10-14 | 1 | -9/+1 |
| | |||||
* | Generate the TypeId enums in codegen | Anthony Ramine | 2015-10-14 | 1 | -4/+5 |
| | |||||
* | make dom_struct derive HeapSizeOf, | João Oliveira | 2015-08-27 | 1 | -2/+0 |
| | | | | closes #7357 | ||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -0/+1 |
| | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -5/+5 |
| | |||||
* | Make NodeTypeId include CharacterData variant | Jinwoo Song | 2015-04-29 | 1 | -3/+3 |
| | | | | | | | NodeTypeId is supposed to reflect the WebIDL inheritance hierarchy. All of Text/ProcessingInstruction/Comment inherit from CharacterData, which inherits from Node. There should be a CharacterDataTypeId value that differentiates between those, instead. | ||||
* | Uniformise root() methods | Anthony Ramine | 2015-04-28 | 1 | -1/+1 |
| | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable. | ||||
* | Cleanup access to CharacterData nodes | Anthony Ramine | 2015-04-09 | 1 | -5/+0 |
| | |||||
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -1/+1 |
| | | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there. | ||||
* | Fixes #4164 Make Constructor and new functions take GlobalRef by value | Matt McCoy | 2015-01-07 | 1 | -1/+1 |
| | |||||
* | Replace Root::deref() calls by Root::r() calls where possible. | Ms2ger | 2015-01-01 | 1 | -1/+1 |
| | | | | This changes those calls that were already sound. | ||||
* | Remove manual impls of Reflectors (autogen) | Manish Goregaokar | 2014-12-27 | 1 | -6/+0 |
| | | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports | ||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -4/+4 |
| | |||||
* | Use #[dom_struct] everywhere | Manish Goregaokar | 2014-10-16 | 1 | -3/+1 |
| | |||||
* | Privatize EventTarget and EventListenerEntry | Tim Taubert | 2014-10-13 | 1 | -1/+1 |
| | |||||
* | Privatize Comment | Tim Taubert | 2014-10-13 | 1 | -1/+7 |
| | |||||
* | Made some DOM fields private. | ProgramFOX | 2014-09-26 | 1 | -1/+1 |
| | | | | Relevant to #2242. | ||||
* | Use JSTraceable everywhere | Manish Goregaokar | 2014-09-24 | 1 | -1/+1 |
| | |||||
* | Remove some extraneous &* pairs | Cameron Zwarich | 2014-09-20 | 1 | -1/+1 |
| | |||||
* | First steps of &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-19 | 1 | -3/+3 |
| | | | | | | | | | 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 #3374 from Manishearth/lint_unrooted_jsmanaged | Manish Goregaokar | 2014-09-17 | 1 | -2/+3 |
|\ | | | | | Add lint for ensuring proper rooting of JS<T>; r=jdm | ||||
| * | Make Reflector #[must_root], propagate to non-HTMLElements | Manish Goregaokar | 2014-09-17 | 1 | -2/+3 |
| | | |||||
* | | Removed unused BlobMethods and CommentMethods traits, fixes #3366 | ProgramFOX | 2014-09-16 | 1 | -3/+0 |
|/ | |||||
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 1 | -0/+55 |