Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduce BindContext with in_doc and connected flags | Fernando Jiménez Moreno | 2019-04-26 | 1 | -4/+4 |
| | | | | Fix some is_in_doc -> is_connected mistakes | ||||
* | Add is_connected flag to node and use it to replace most uses of is_in_doc | Fernando Jiménez Moreno | 2019-04-26 | 1 | -3/+3 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -3/+4 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -1/+0 |
| | | | | A `crate_name::foo` path always works in 2018 | ||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -2/+2 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -3/+5 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -12/+12 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -41/+62 |
| | |||||
* | move top_level_browsing_context_id out of embedder msg | Gregory Terzian | 2018-05-23 | 1 | -2/+1 |
| | |||||
* | move msg to embedder_traits, use in script, handle send error in embedder | Gregory Terzian | 2018-05-23 | 1 | -4/+6 |
| | |||||
* | Fix commonmark Markdown warnings in docs, part 1 | Matt Brubeck | 2017-10-17 | 1 | -1/+1 |
| | | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments. | ||||
* | 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. | ||||
* | Change AttrValue::Url to AttrValue::ResolvedUrl | Anthony Ramine | 2017-10-15 | 1 | -10/+13 |
| | | | | | There is actually only one attribute that can use that, the one for <body background>. | ||||
* | Fix URL attributes | Anthony Ramine | 2017-10-11 | 1 | -2/+8 |
| | | | | | URL attributes should always use AttrValue::Url, and the input should be resolved against the document's base URL at setting time always. | ||||
* | Add support for dynamic bgcolor change | Stuart Nelson | 2017-10-05 | 1 | -0/+8 |
| | |||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -2/+2 |
| | | | | | | | 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 LayoutJS<T> to LayoutDom<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 |
| | |||||
* | Use absolute paths in the event handlers macros | Anthony Ramine | 2017-09-01 | 1 | -1/+0 |
| | |||||
* | make use of ScriptToConstellationChan | Paul Rouget | 2017-08-15 | 1 | -3/+3 |
| | |||||
* | 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 | -3/+3 |
|/ | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Urlmageddon: Use refcounted urls more often. | Emilio Cobos Álvarez | 2016-11-17 | 1 | -3/+3 |
| | |||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -15/+18 |
| | |||||
* | Introduce GlobalScope::constellation_chan | Anthony Ramine | 2016-10-06 | 1 | -1/+2 |
| | |||||
* | 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 |
| | |||||
* | Stop re-exporting AttrValue. | Ms2ger | 2016-06-07 | 1 | -1/+2 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -3/+5 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Auto merge of #11255 - s-baldrick:11158, r=ConnorGBrewster | bors-servo | 2016-05-20 | 1 | -22/+4 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 11158 - add event handlers Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #11158 (github issue number if applicable). Either: - [x] There are tests for these changes OR - [ ] These changes do not require tests because ____ Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11255) <!-- Reviewable:end --> | ||||
| * | dom: Add missing event handlers | Piotr Stankiewicz | 2016-05-20 | 1 | -22/+4 |
| | | | | | | | | | | | | | | | | | | | | Adding: * global event handlers, * window event handlers, * document and element handlers, * and support for BeforeUnloadEvent. Signed-off-by: Piotr Stankiewicz <bionicrift@gmail.com> | ||||
* | | Remove ConstellationChan. | Ms2ger | 2016-05-19 | 1 | -3/+1 |
|/ | | | | | | It's a pointless abstraction that propagates the obsolete chan terminology, swaps the order in which the sender and receiver are returned, and hides a source of panics. | ||||
* | Removed unused imports | Per Lundberg | 2016-05-15 | 1 | -1/+0 |
| | | | | This fixes #11185. | ||||
* | Reduce channel cloning. | Ms2ger | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | Extract out 'is the html body element' CSSOM concept. | Corey Farwell | 2016-04-11 | 1 | -0/+10 |
| | |||||
* | Compile raw inline event handlers lazily. Resolves #8489. | Josh Matthews | 2016-02-11 | 1 | -4/+3 |
| | |||||
* | Remove parsed attribute 'background' field on HTMLBodyElement | Corey Farwell | 2016-01-02 | 1 | -18/+6 |
| | | | | https://github.com/servo/servo/issues/7863 | ||||
* | Implement 'background' IDL attribute on <body> | Corey Farwell | 2016-01-02 | 1 | -0/+11 |
| | |||||
* | Use Url.join instead of UrlParser.base_url(...).parse (#9002) | Mathieu Agopian | 2015-12-18 | 1 | -2/+2 |
| | |||||
* | Move ScriptMsg from msg crate into script_traits | Tomas Cernaj | 2015-12-09 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary conversion to/from DOMString for localName. | Eli Friedman | 2015-12-02 | 1 | -2/+2 |
| | |||||
* | Compute attribute name atoms at compile-time. | Eli Friedman | 2015-11-27 | 1 | -1/+1 |
| | |||||
* | Update string_cache to 0.2. | Alan Jeffrey | 2015-11-25 | 1 | -8/+8 |
| | | | | | | | | | | | Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock. Removed references to string_cache_plugin. Import atom! and ns! from string_cache. Replaced ns!("") by ns!(). Replaced ns!(XML) and co by ns!(xml) and co. Replaced atom!(foo) by atom!("foo"). Replaced Atom::from_slice by Atom::from. Replaced atom.as_slice() by &*atom. | ||||
* | Split ConstellationMsg into ScriptMsg and CompositorMsg | Keith Yeung | 2015-11-16 | 1 | -1/+1 |
| | |||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -2/+1 |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). | ||||
* | Differentiate between error and non-error event handlers per the spec. | Josh Matthews | 2015-11-12 | 1 | -10/+19 |
| |