Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Initialize trusted-ness of DOM events properly | Gilles Leblanc | 2015-02-03 | 1 | -1/+2 |
| | | | | Fixes #3740 | ||||
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -2/+2 |
| | | | | | | | | 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. | ||||
* | Don't shadow lifetimes in script. | Ms2ger | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Fix crash due to address significance for JSAPI things. | Josh Matthews | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -14/+18 |
| | |||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -2/+3 |
| | | | | into_string has been removed from Rust. | ||||
* | Deny unsafe blocks in script. | Ms2ger | 2015-01-09 | 1 | -0/+1 |
| | | | | As a first start, this allows them indiscriminately where used. | ||||
* | Fix Equiv related deprecation warnings | Matthew Rasmus | 2015-01-08 | 1 | -2/+2 |
| | | | | ...except where we have our own implementations of Equiv. | ||||
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. | Ms2ger | 2015-01-08 | 1 | -4/+4 |
| | |||||
* | Stop using ptr.is_not_null() in script. | Ms2ger | 2015-01-01 | 1 | -1/+1 |
| | | | | | This method is deprecated in rust master; removing its users in advance will make a future rust upgrade smoother. | ||||
* | auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallister | bors-servo | 2014-12-27 | 1 | -8/+2 |
|\ | | | | | | | | | | | Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later. | ||||
| * | Ensure that Reflectors are the first field | Manish Goregaokar | 2014-12-27 | 1 | -2/+2 |
| | | |||||
| * | Remove extra spaces | Manish Goregaokar | 2014-12-27 | 1 | -1/+0 |
| | | | | | | | | Command: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/}\\n\\n\\n/}\\n\\n/"` | ||||
| * | Remove manual impls of Reflectors (autogen) | Manish Goregaokar | 2014-12-27 | 1 | -5/+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 | ||||
* | | script: to_string() -> into_string() | Manish Goregaokar | 2014-12-27 | 1 | -2/+2 |
|/ | |||||
* | Make the argument to dispatch_event_with_target non-optional. | Ms2ger | 2014-12-19 | 1 | -4/+4 |
| | | | | | The name of the method makes it clear it's supposed to be used with a target override, so we might as well enforce that. | ||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -19/+21 |
| | |||||
* | Add auxiliary method to EventTargetHelpers for events without target | thiagopnts | 2014-12-16 | 1 | -7/+12 |
| | | | | fixup! Add auxiliary method to EventTargetHelpers for events without target | ||||
* | Implement a basic WebSocket interface. | Hinali Marfatia | 2014-11-25 | 1 | -0/+1 |
| | |||||
* | Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a | Jack Moffitt | 2014-11-13 | 1 | -19/+28 |
| | |||||
* | script: Use an FNV hash to hash event listeners. | Patrick Walton | 2014-10-28 | 1 | -2/+3 |
| | | | | | | The security properties of SipHash are irrelevant for event listeners and the creation of the random number generator was showing up high in the profiles. | ||||
* | Use DOMRefCell for EventTarget. | Tetsuharu OHZEKI | 2014-10-22 | 1 | -3/+3 |
| | |||||
* | Use #[dom_struct] everywhere | Manish Goregaokar | 2014-10-16 | 1 | -3/+1 |
| | |||||
* | Privatize Event | Tim Taubert | 2014-10-13 | 1 | -1/+1 |
| | |||||
* | Privatize EventTarget and EventListenerEntry | Tim Taubert | 2014-10-13 | 1 | -3/+10 |
| | |||||
* | Remove unnecessary `deref()`s (fixes #3586) | Tim Taubert | 2014-10-09 | 1 | -1/+1 |
| | |||||
* | Remove Traceable from eventtarget.rs | Manish Goregaokar | 2014-10-05 | 1 | -10/+9 |
| | |||||
* | Remove Traceable from event.rs | Manish Goregaokar | 2014-10-05 | 1 | -1/+1 |
| | |||||
* | Use JSTraceable everywhere | Manish Goregaokar | 2014-09-24 | 1 | -5/+9 |
| | |||||
* | Eliminate warnings | Keegan McAllister | 2014-09-20 | 1 | -1/+1 |
| | |||||
* | Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000) | Keegan McAllister | 2014-09-20 | 1 | -1/+1 |
| | |||||
* | Convert various helper traits from &JSRef to JSRef | Cameron Zwarich | 2014-09-20 | 1 | -19/+19 |
| | | | | | | | | | | | | | | | I converted them all with a few exceptions: - Methods that were used by trait objects, since trait objects don't work with `self` methods. - Methods that take an &'b JSRef<'a, T> and return an &'b. In reality, many (all?) could return an &'a instead, but this isn't allowed by the Deref trait. - Methods that internally rely on the same issue with Deref. - I left out the traits involved in layout entirely, even though not all of their methods suffer from one of the above problems. There will probably be solutions to all of these problems in the future. | ||||
* | More progress in the &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-20 | 1 | -3/+3 |
| | | | | | Change all of the <Class>Methods traits to take `self` instead of `&self`. | ||||
* | First steps of &JSRef -> JSRef conversion | Cameron Zwarich | 2014-09-19 | 1 | -4/+4 |
| | | | | | | | | | 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. | ||||
* | Make Reflector #[must_root], propagate to non-HTMLElements | Manish Goregaokar | 2014-09-17 | 1 | -0/+1 |
| | |||||
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 1 | -0/+287 |