Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace unsafe_blocks by unsafe_code. | Manish Goregaokar | 2015-03-21 | 1 | -3/+40 |
| | |||||
* | Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. | Ms2ger | 2015-03-18 | 1 | -9/+30 |
| | |||||
* | Refactored optional argument "last_modified" for Document | Martin Schröder | 2015-03-16 | 1 | -1/+1 |
| | | | | Fixes #4981 | ||||
* | Fix #2108 by renaming unwrap functions to native_from_reflector | Chris Double | 2015-03-12 | 1 | -1/+1 |
| | | | | | | | | | | 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'. | ||||
* | Use new `if let` syntax wherever possible. Fixes #4153. | Zack Slayton | 2015-03-10 | 1 | -21/+15 |
| | |||||
* | auto merge of #5127 : KiChjang/servo/partial-eq-jsref, r=Ms2ger | bors-servo | 2015-03-05 | 1 | -5/+5 |
|\ | | | | | | | Fixes #5112, #3960 | ||||
| * | Added type parameter to PartialEq on JSRef (fixes #5112, #3960) | Keith Yeung | 2015-03-03 | 1 | -5/+5 |
| | | |||||
* | | Separate disposing of layout data from the GCing of the DOM object ↵ | Josh Matthews | 2015-03-03 | 1 | -0/+9 |
| | | | | | | | | reflectors. Change the order of operations when shutting down the script task to ensure that Window globals aren't used after they've been GCed. | ||||
* | | Move everything unrelated to the frame tree out of Page and into Document or ↵ | Josh Matthews | 2015-03-03 | 1 | -3/+3 |
|/ | | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. | ||||
* | Reap layout data whenever a node is removed from the tree. | Glenn Watson | 2015-03-03 | 1 | -32/+15 |
| | | | | | | Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts. Clear the layout data when a node becomes display:none. | ||||
* | Move selector matching to an external library, for use outside Servo. | Simon Sapin | 2015-02-23 | 1 | -3/+3 |
| | |||||
* | Fix some warnings in script. | Ms2ger | 2015-02-12 | 1 | -1/+1 |
| | |||||
* | Upgrade to rustc ba2f13ef0 2015-02-04 | Simon Sapin | 2015-02-11 | 1 | -5/+2 |
| | |||||
* | Implement an Unrooted smart pointer to replace JS when it is not traced. | Ms2ger | 2015-02-06 | 1 | -2/+2 |
| | |||||
* | Replace Root::deref by a custom get_unsound_ref_forever method. | Ms2ger | 2015-02-05 | 1 | -27/+28 |
| | | | | | This will hopefully make it clearer that this is not the correct function to call. | ||||
* | Make Document::url return the page's URL to avoid stale URLs after redirects. | Josh Matthews | 2015-02-04 | 1 | -1/+1 |
| | |||||
* | LayoutJS<T> implements Layout*Helpers instead of JS<T>. | Tetsuharu OHZEKI | 2015-02-01 | 1 | -20/+20 |
| | |||||
* | auto merge of #4757 : servo/servo/newnewnewcss, r=mbrubeck | bors-servo | 2015-01-30 | 1 | -10/+13 |
|\ | | | | | | | | | | | (Still off by default. Enable with `RUST_LOG=style`.) r? @mbrubeck | ||||
| * | End the libstyle 'pub use' madness. | Simon Sapin | 2015-01-30 | 1 | -10/+13 |
| | | |||||
* | | Use snake case in Node. | Ms2ger | 2015-01-30 | 1 | -8/+8 |
|/ | |||||
* | 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 |
| | |||||
* | raw_pointer_deriving -> raw_pointer_derive | Manish Goregaokar | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | self import | Manish Goregaokar | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -30/+56 |
| | |||||
* | Make UntrustedNodeAddress a newtype. | Josh Matthews | 2015-01-24 | 1 | -1/+1 |
| | | | | This will allow us to make it Send after the Rust upgrade. | ||||
* | Stop calling deref() and deref_mut() explicitly. | Ms2ger | 2015-01-22 | 1 | -4/+4 |
| | |||||
* | Port to the new cssparser. | Simon Sapin | 2015-01-21 | 1 | -9/+3 |
| | | | | https://github.com/servo/rust-cssparser/pull/68 | ||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -12/+13 |
| | | | | into_string has been removed from Rust. | ||||
* | Remove OptionalSettable. | Ms2ger | 2015-01-19 | 1 | -1/+1 |
| | | | | It was obsoleted by MutNullableJS. | ||||
* | Implement Element#closest | Jim Hoskins | 2015-01-17 | 1 | -0/+7 |
| | | | | | | | | fixes #4603 - Add definition to the Element.webidl and implementation to element.rs. - Create inclusive_ancestors helper in NodeHelpers - Update test expectations | ||||
* | Rewrite ReverseChildrenIterator to return Temporary. | Ms2ger | 2015-01-10 | 1 | -10/+12 |
| | |||||
* | auto merge of #4584 : Ms2ger/servo/unsafe, r=jdm | bors-servo | 2015-01-09 | 1 | -0/+3 |
|\ | | | | | | | As a first start, this allows them indiscriminately where used. | ||||
| * | Deny unsafe blocks in script. | Ms2ger | 2015-01-09 | 1 | -0/+3 |
| | | | | | | | | As a first start, this allows them indiscriminately where used. | ||||
* | | Fix assertion trying to remove a Node that has no parent | Arpad Borsos | 2015-01-09 | 1 | -0/+1 |
|/ | | | | fixes #4562 | ||||
* | Fix `variable does not need to be mutable` warning | Matthew Rasmus | 2015-01-08 | 1 | -1/+1 |
| | |||||
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. | Ms2ger | 2015-01-08 | 1 | -6/+8 |
| | |||||
* | auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2ger | bors-servo | 2015-01-04 | 1 | -9/+10 |
|\ | |||||
| * | Add HTMLElementTypeId enum (fixes #3625) | Megha Gupta | 2015-01-02 | 1 | -9/+10 |
| | | |||||
* | | Fix obsolete format traits. | Ms2ger | 2015-01-02 | 1 | -1/+1 |
| | | | | | | | | They are to be removed from the language in the next rust upgrade. | ||||
* | | Replace Root::deref() calls by Root::r() calls where possible. | Ms2ger | 2015-01-01 | 1 | -54/+55 |
| | | | | | | | | This changes those calls that were already sound. | ||||
* | | Rename Root::root_ref() to Root::r(). | Ms2ger | 2015-01-01 | 1 | -4/+4 |
|/ | | | | | As it will be used much more widely after the upcoming changes, this limits the effort reading and writing the method calls. | ||||
* | auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallister | bors-servo | 2014-12-27 | 1 | -7/+1 |
|\ | | | | | | | | | | | 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. | ||||
| * | Fix warnings post-upgrade | Manish Goregaokar | 2014-12-27 | 1 | -1/+0 |
| | | |||||
| * | 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 | -6/+2 |
| | | | | | | | | | | | | | | | | | | 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 | -12/+12 |
|/ | |||||
* | GlobalRef passed by value in reflect_dom_object, reflect_node #4165 | Amanda Watson | 2014-12-20 | 1 | -1/+1 |
| | |||||
* | Move unwrap_jsmanaged and related machinery to conversions.rs. | Ms2ger | 2014-12-20 | 1 | -2/+2 |
| | |||||
* | script: Remove glob imports added in #4405 | Tetsuharu OHZEKI | 2014-12-19 | 1 | -4/+3 |
| |