Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update Blob::{new, new_inherited} to take Strings | Achal Shah | 2016-06-17 | 1 | -6/+5 | |
| | ||||||
* | Add unit testing to file manager; Replace uuid by stringified version in ↵ | Zhen Zhang | 2016-06-10 | 1 | -5/+4 | |
| | | | | FileManagerThreadMsg | |||||
* | Add file backend support for Blob and related | Zhen Zhang | 2016-06-01 | 1 | -25/+109 | |
| | | | | | | | | Changes include: - Add BlobImpl to Blob, and related caching mechanism - Expose ResourceThreads to document_loader, workerglobalscope, worker, and global - Fix encode_multipart_form_data - Other small fixes to accommodate the above changes | |||||
* | Remove empty lines following braces. | Josh Matthews | 2016-05-27 | 1 | -3/+0 | |
| | ||||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 | |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | |||||
* | Removed unused imports | Per Lundberg | 2016-05-15 | 1 | -1/+0 | |
| | | | | This fixes #11185. | |||||
* | Implement missing interfaces of File DOM object | Zhen Zhang | 2016-05-11 | 1 | -17/+18 | |
| | ||||||
* | Rewrite Blob constructor interface | Zhen Zhang | 2016-05-10 | 1 | -37/+41 | |
| | ||||||
* | Fixes related to file input and File API | Zhen Zhang | 2016-05-02 | 1 | -0/+4 | |
| | ||||||
* | updated Blob constructor to use optional, fixes ↵ | Yoav Alon | 2016-04-22 | 1 | -21/+20 | |
| | | | | https://github.com/servo/servo/issues/10779 | |||||
* | Use num-traits in script. | Ms2ger | 2016-04-20 | 1 | -1/+1 | |
| | ||||||
* | Implementation of Blob Constructor with test changes | St.Spyder | 2016-03-17 | 1 | -3/+19 | |
| | ||||||
* | Convert directly from DOMString to Vec<u8> | Saurav Sachidanand | 2016-03-11 | 1 | -3/+1 | |
| | ||||||
* | Add global default method for Reflectable trait | Chad Kimes | 2016-01-11 | 1 | -3/+3 | |
| | ||||||
* | Remove global field from Blob | Chad Kimes | 2016-01-10 | 1 | -8/+5 | |
| | ||||||
* | Changed blob to use DataSlice with Arc in order to limit wasteful copying of ↵ | David Raifaizen | 2016-01-06 | 1 | -53/+83 | |
| | | | | byte vector | |||||
* | Update FileAPI spec links | Brandon Fairchild | 2016-01-05 | 1 | -9/+9 | |
| | | | | | | | The links in components/script/dom/blob.rs were pointing to the old location. Fixes #9157. | |||||
* | Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all | Tetsuharu OHZEKI | 2015-12-10 | 1 | -1/+1 | |
| | ||||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -14/+17 | |
| | ||||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -2/+3 | |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). | |||||
* | 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 | |
| |