Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Auto merge of #8218 - nikkisquared:master, r=eefriedman | bors-servo | 2015-11-05 | 1 | -0/+5 | |
|\ | | | | | | | | | | | | | | | I'm working on resolving https://github.com/servo/servo/issues/8213 as per the spec online and feedback in the servo channel. Note that currently I cannot build (and thus test) my code, so this is a bit of a rough first draft. I'd still like feedback on my progress, and I hope that there is another way for my code to be tested. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8218) <!-- Reviewable:end --> | |||||
| * | Fixes #8213: Implement Blob variant of WebSocket.send() | Nikki | 2015-11-04 | 1 | -0/+5 | |
| | | ||||||
* | | Make DOMString a newtype around String, rather than a typedef. | Ms2ger | 2015-11-04 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type. | |||||
* | | Use DOMString::new() somewhat consistently. | Ms2ger | 2015-11-04 | 1 | -2/+2 | |
| | | ||||||
* | | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+1 | |
|/ | ||||||
* | Generate all Derived implementations in codegen | Anthony Ramine | 2015-10-14 | 1 | -7/+0 | |
| | ||||||
* | Generate the TypeId enums in codegen | Anthony Ramine | 2015-10-14 | 1 | -15/+4 | |
| | ||||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -2/+2 | |
| | ||||||
* | Remove needless returns | Manish Goregaokar | 2015-09-04 | 1 | -1/+1 | |
| | ||||||
* | Replace many uses of to_ascii_lowercase() by make_ascii_lowercase() | Anthony Ramine | 2015-08-30 | 1 | -2/+3 | |
| | ||||||
* | Merge adjacent identical `impl` sections | Corey Farwell | 2015-08-28 | 1 | -3/+0 | |
| | | | | | Prior to #7416 and #7401, many of these `impl` sections were not identical | |||||
* | Make the traits for the IDL interfaces take &self | Anthony Ramine | 2015-08-27 | 1 | -6/+6 | |
| | ||||||
* | Remove helper traits | Anthony Ramine | 2015-08-27 | 1 | -5/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that JSRef<T> is gone, there is no need to have helper traits. On components/script/*.rs: # Remove imports. /^ *use dom::[a-z]+::\{.*Helpers/ { s/\{(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers, /\{/ s/, (Raw[^L]|[^L][^a])[a-zA-Z]+Helpers([,}])/\2/g s/\{([a-zA-Z]+)\}/\1/ /\{\}/d s/::self;$/;/ } /^ *use dom::[a-z]+::\{?(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers\}?;$/d On components/script/dom/*.rs: # Ignore layout things. /^(pub )?(impl|trait).*Layout.* \{/,/^}$/ { P; D; } # Delete helpers traits. /^(pub )?trait ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? \{$/,/^\}$/D # Patch private helpers. /^impl.*Private.*Helpers/,/^\}$/ { s/^impl<'a> Private([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for &'a ([^ ]+) \{$/impl \3 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn /s/\(self([,)])/\(\&self\1/ } # Patch public helpers. /^impl.*Helpers/,/^\}$/ { s/^impl(<'a>)? ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for (&'a )?([^ ]+) \{$/impl \5 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn .*\(&?self[,)]/s/(unsafe )?fn/pub &/ /^ *pub (unsafe )?fn /s/\(self([,)])/\(\&self\1/ } The few error cases were then fixed by hand. | |||||
* | make dom_struct derive HeapSizeOf, | João Oliveira | 2015-08-27 | 1 | -1/+0 | |
| | | | | closes #7357 | |||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -6/+6 | |
| | ||||||
* | Fix existing syntactics nits. | Josh Matthews | 2015-08-16 | 1 | -2/+2 | |
| | ||||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -1/+2 | |
| | ||||||
* | Refactor FileReader #6762 #6763 #6750 #6751 | farodin91 | 2015-07-29 | 1 | -8/+3 | |
| | ||||||
* | Adding for support Blob.{close,isClose} #6723 | farodin91 | 2015-07-29 | 1 | -16/+22 | |
| | ||||||
* | Add spec links | Bogdan Cuza | 2015-07-28 | 1 | -3/+3 | |
| | ||||||
* | Use empty Vec instead of None. | Michael Howell | 2015-07-26 | 1 | -3/+3 | |
| | ||||||
* | Implement FileReader.{readAsText,readAsDataUrl}. Fixes #6172 | farodin91 | 2015-07-23 | 1 | -0/+18 | |
| | ||||||
* | Refactor #[jstraceable] to #[derive(JSTraceable)] | David Winslow | 2015-07-01 | 1 | -1/+1 | |
| | | | | fixes #6524 | |||||
* | 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 | -1/+2 | |
| | | | | Part of https://github.com/servo/servo/issues/6041 | |||||
* | Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. | Simon Sapin | 2015-05-05 | 1 | -1/+1 | |
| | ||||||
* | Remove as_slice() calls from script. | Ms2ger | 2015-04-26 | 1 | -6/+5 | |
| | ||||||
* | Add/update comments with links to spec | Corey Farwell | 2015-04-14 | 1 | -0/+8 | |
| | | | | | | | | | | Extracted out of #5649 * add more hyperlinks to associated specification for structs/methods * follow redirects and update links * replace broken links * removal of WHATWG multipage page name since the page name is not guaranteed to be stable | |||||
* | Fix various build warnings. | Ms2ger | 2015-03-20 | 1 | -2/+2 | |
| | ||||||
* | Fix some warnings in script. | Ms2ger | 2015-02-12 | 1 | -1/+1 | |
| | ||||||
* | 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. | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -3/+5 | |
| | ||||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -4/+5 | |
| | | | | into_string has been removed from Rust. | |||||
* | Fixes #4164 Make Constructor and new functions take GlobalRef by value | Matt McCoy | 2015-01-07 | 1 | -8/+8 | |
| | ||||||
* | Rename GlobalRoot::root_ref() to GlobalRoot::r() for consistency. | Ms2ger | 2015-01-01 | 1 | -2/+2 | |
| | ||||||
* | Bug #1820, add the optional "type" parameter to Blob | Shing Lyu | 2015-01-01 | 1 | -15/+31 | |
| | ||||||
* | auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallister | bors-servo | 2014-12-27 | 1 | -6/+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. | |||||
| * | Remove manual impls of Reflectors (autogen) | Manish Goregaokar | 2014-12-27 | 1 | -6/+1 | |
| | | | | | | | | | | | | | | | | | | 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 | |
|/ | ||||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -7/+7 | |
| | ||||||
* | Correctly set the BlobType for File objects. | Ms2ger | 2014-12-15 | 1 | -3/+4 | |
| | ||||||
* | Issue #1820 - Improve the Blob implementation | Shing Lyu | 2014-12-09 | 1 | -9/+92 | |
| | ||||||
* | Updated reflect_dom_object to be passed by value | Michael Booth | 2014-11-30 | 1 | -2/+2 | |
| | ||||||
* | Use #[dom_struct] everywhere | Manish Goregaokar | 2014-10-16 | 1 | -3/+1 | |
| | ||||||
* | Simple privatizations | Tim Taubert | 2014-10-13 | 1 | -0/+1 | |
| | ||||||
* | Use JSTraceable everywhere | Manish Goregaokar | 2014-09-24 | 1 | -2/+2 | |
| | ||||||
* | Merge pull request #3374 from Manishearth/lint_unrooted_jsmanaged | Manish Goregaokar | 2014-09-17 | 1 | -0/+1 | |
|\ | | | | | 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 | -0/+1 | |
| | | ||||||
* | | Removed unused BlobMethods and CommentMethods traits, fixes #3366 | ProgramFOX | 2014-09-16 | 1 | -3/+0 | |
|/ | ||||||
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 1 | -0/+59 | |