Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace NonZero<*mut JSObject> with a wrapper to enable local trait impls. | Simon Sapin | 2017-10-16 | 1 | -4/+4 |
| | |||||
* | 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. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | | | | | | | 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 dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Upgrade to rustc 1.21.0-nightly (599be0d18 2017-07-26) | Simon Sapin | 2017-07-27 | 1 | -1/+1 |
| | |||||
* | Remove some usage of rust-encoding | Simon Sapin | 2017-05-27 | 1 | -5/+2 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Update js. | Ms2ger | 2017-02-15 | 1 | -2/+2 |
| | | | | Fixes #15553. | ||||
* | Rewrite TextEncoder::Encode to use typed array API. Fixes #15504 | Michael Nelson | 2017-02-13 | 1 | -9/+5 |
| | |||||
* | script creates methods taking '*mut JSContext' unsafe | Abelardo E. Mendoza | 2016-11-14 | 1 | -12/+10 |
| | | | | rebase + marked the necessary new code as unsafe | ||||
* | Pass a &GlobalScope to WebIDL static methods and constructors | Anthony Ramine | 2016-10-06 | 1 | -3/+2 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -2/+3 |
| | |||||
* | removed support for UTF-16 in TextEncoder | Ashwin R | 2016-09-27 | 1 | -31/+10 |
| | |||||
* | Compile WebIDL return type "object" to NonZero<*mut JSObject> | Anthony Ramine | 2016-08-30 | 1 | -2/+3 |
| | |||||
* | Root js_object in TextEncoder::Encode | Anthony Ramine | 2016-08-30 | 1 | -3/+4 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -2/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Removed unused imports | Per Lundberg | 2016-05-15 | 1 | -1/+1 |
| | | | | This fixes #11185. | ||||
* | Update SpiderMonkey | Anthony Ramine | 2016-05-03 | 1 | -2/+3 |
| | |||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -1/+1 |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). | ||||
* | Make DOMString a newtype around String, rather than a typedef. | Ms2ger | 2015-11-04 | 1 | -1/+1 |
| | | | | | | | | | | 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. | ||||
* | merge from master | rohan.prinja | 2015-11-03 | 1 | -7/+5 |
|\ | |||||
| * | Remove the pointless TextEncoder::encoding field. | Ms2ger | 2015-10-30 | 1 | -7/+5 |
| | | |||||
* | | rearrange imports to be in alphabetical order | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
| | | |||||
* | | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
|/ | |||||
* | Refactor Error enum usage to consistently be qualified | Anthony Urena | 2015-10-06 | 1 | -4/+3 |
| | |||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -2/+2 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -7/+3 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | Make the traits for the IDL interfaces take &self | Anthony Ramine | 2015-08-27 | 1 | -3/+3 |
| | |||||
* | 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 | -4/+4 |
| | |||||
* | Cleanup NodeIterator, Range, ServoHTMLParser, TextEncoder, URLHelper, URL, ↵ | Manish Goregaokar | 2015-08-18 | 1 | -2/+2 |
| | | | | VirtualMethods | ||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -0/+2 |
| | |||||
* | Add spec links | Bogdan Cuza | 2015-07-28 | 1 | -1/+1 |
| | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -6/+6 |
| | |||||
* | Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. | Simon Sapin | 2015-05-05 | 1 | -1/+1 |
| | |||||
* | Auto merge of #5903 - psdh:textencoder5900, r=Ms2ger | bors-servo | 2015-05-01 | 1 | -2/+1 |
|\ | | | | | | | | | | | | | | | | | | | ... #5900 Fixes #5900 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5903) <!-- Reviewable:end --> | ||||
| * | TextEncoder::Constructor should not trim whitespaces or lowercase labels #5900 | Prabhjyot Singh Sodhi | 2015-04-30 | 1 | -2/+1 |
| | | | | | | | | Fixes #5900 | ||||
* | | Use a better name in TextEncoder::Encode. | Ms2ger | 2015-05-01 | 1 | -3/+3 |
|/ | |||||
* | Remove as_slice() calls from script. | Ms2ger | 2015-04-26 | 1 | -2/+2 |
| | |||||
* | Throw RangeErrors in TextEncoder/TextDecoder constructors. | Aneesh Agrawal | 2015-04-14 | 1 | -5/+3 |
| | | | | | | | | Fixes #5620. Fix the TODOs and FIXMEs to comply with the spec. Add test case for passing invalid invalid labels. Update test metadata; three test cases have been resolved upstream and will be fixed whenever the rust-encoding dependency is sufficiently upgraded. | ||||
* | Implement TextEncoder | yodalee | 2015-03-31 | 1 | -0/+94 |
Fixes #4768. |