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-idioms` | Simon Sapin | 2018-11-08 | 1 | -2/+2 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -13/+13 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -11/+18 |
| | |||||
* | 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 | -6/+6 |
| | | | | | | | 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 MutNullableJS<T> to MutNullableDom<T> | Anthony Ramine | 2017-09-26 | 1 | -2/+2 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Solving merge conficts related to the html5ever_atoms -> html5ever change | Christian Poveda | 2017-05-03 | 1 | -1/+1 |
|\ | |||||
| * | Upgrade to html5ever 0.16 | Simon Sapin | 2017-05-02 | 1 | -1/+1 |
| | | |||||
* | | Changed all prefixes from DOMString to the atomic Prefix from html5ever | Christian Poveda | 2017-05-03 | 1 | -4/+3 |
|/ | |||||
* | Implement the form owner concept | Mukilan Thiyagarajan | 2017-03-15 | 1 | -4/+37 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -3/+3 |
| | |||||
* | Remove intrinsic Root::r() | Anthony Ramine | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | Most of the code refactoring needed to be done is done with this commit. | Arthur Marble | 2016-09-18 | 1 | -4/+4 |
| | |||||
* | Inline DOM element creation into box expressions in components/script/dom/ | Kuba Birecki | 2016-07-14 | 1 | -2/+3 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Implement initial pieces of form validation. | Sagar Muchhal | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary conversion to/from DOMString for localName. | Eli Friedman | 2015-12-02 | 1 | -2/+3 |
| | |||||
* | make test-tidy happy + fix some merge errors | rohan.prinja | 2015-11-03 | 1 | -1/+1 |
| | |||||
* | Implement 'labels' attribute on 'labelable elements' | Corey Farwell | 2015-11-01 | 1 | -0/+7 |
| | |||||
* | 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 | -11/+1 |
| | |||||
* | Generate the TypeId enums in codegen | Anthony Ramine | 2015-10-14 | 1 | -5/+5 |
| | |||||
* | Explicitly place '/' before fragment for multipage spec links | Corey Farwell | 2015-10-10 | 1 | -1/+1 |
| | | | | | This prevents us from 301 redirecting, which could cause the fragment to get lost | ||||
* | Refactor FormControl trait | Philipp Hartwig | 2015-09-30 | 1 | -7/+2 |
| | | | | | The trait is now implemented for HTMLFooElement instead of &HTMLFooElement and does no longer require an impl body. | ||||
* | Add form getters for additional elements; update test expectations | Philipp Hartwig | 2015-09-27 | 1 | -1/+14 |
| | | | | | This adds form getters for fieldset, label, object, output, select and textarea elements. | ||||
* | Make the traits for the IDL interfaces take &self | Anthony Ramine | 2015-08-27 | 1 | -2/+2 |
| | |||||
* | make dom_struct derive HeapSizeOf, | João Oliveira | 2015-08-27 | 1 | -2/+0 |
| | | | | closes #7357 | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -0/+1 |
| | |||||
* | Add spec links | Bogdan Cuza | 2015-07-28 | 1 | -0/+1 |
| | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -6/+6 |
| | |||||
* | Reduce max line length from 150 to 120 characters | Corey Farwell | 2015-05-24 | 1 | -4/+11 |
| | | | | Part of https://github.com/servo/servo/issues/6041 | ||||
* | Uniformise root() methods | Anthony Ramine | 2015-04-28 | 1 | -1/+1 |
| | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable. | ||||
* | 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. | ||||
* | auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2ger | bors-servo | 2015-01-04 | 1 | -4/+4 |
|\ | |||||
| * | Add HTMLElementTypeId enum (fixes #3625) | Megha Gupta | 2015-01-02 | 1 | -4/+4 |
| | | |||||
* | | 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 | -5/+5 |
| | |||||
* | 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 InheritTypes | Tim Taubert | 2014-10-13 | 1 | -1/+2 |
| | |||||
* | Take the prefix from createElementNS into account for HTML elements | Gilles Leblanc | 2014-10-06 | 1 | -4/+4 |
| | | | | Fixes #3139 | ||||
* | 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 |
| | |||||
* | More progress in the &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-20 | 1 | -2/+2 |
| | | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`. |