Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move util::str to style | Anthony Ramine | 2016-07-05 | 1 | -127/+0 |
| | |||||
* | Move LowercaseString near its only consumer. | Ms2ger | 2016-06-06 | 1 | -23/+0 |
| | |||||
* | Move LengthOrPercentageOrAuto to style::attr. | Ms2ger | 2016-06-06 | 1 | -8/+0 |
| | |||||
* | Move c_str_to_string to its only consumer. | Ms2ger | 2016-06-05 | 1 | -10/+1 |
| | |||||
* | Parse HTMLInputElement attributes | Keith Yeung | 2016-05-24 | 1 | -0/+4 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -112/+2 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Use num_traits in util | Matt Brubeck | 2016-05-17 | 1 | -1/+1 |
| | |||||
* | Use byte indices instead of char indices for text runs | Matt Brubeck | 2016-04-28 | 1 | -38/+1 |
| | | | | | | | Replace character indices with UTF-8 byte offsets throughout the code dealing with text shaping and breaking. This eliminates a lot of complexity when converting from one to the other, and interoperates better with the rest of the Rust ecosystem. | ||||
* | Add parsing of double values in style attributes | Keith Yeung | 2016-04-25 | 1 | -5/+56 |
| | |||||
* | Remove extra definition of WHITESPACE under components/util/str.rs | zakorgyula | 2016-04-20 | 1 | -13/+9 |
| | |||||
* | Move `util::str::parse_length` into 'style' component. | Corey Farwell | 2016-03-24 | 1 | -70/+1 |
| | | | | | The function is only used in the 'style' component, so we'll move it there alongside other relevant parse functions. | ||||
* | Implement From<DOMString> for Atom | Anthony Ramine | 2016-02-24 | 1 | -0/+7 |
| | |||||
* | Move parse_integer and parse_unsigned_integer from util::str to style::attr | zakorgyula | 2016-02-17 | 1 | -44/+0 |
| | |||||
* | refactor, moving functions into attr and htmlfontelemend fixes #9639 #9638 | Jayflux | 2016-02-15 | 1 | -200/+2 |
| | |||||
* | #9640 Refactor: Move util::str::is_token to script::dom::bindings::str | Peter | 2016-02-14 | 1 | -34/+0 |
| | |||||
* | Say farewell to in-tree HeapSizeOf | Anthony Ramine | 2016-02-04 | 1 | -2/+2 |
| | |||||
* | fix websocket header validation, ensure it meets token requirements, add | jmr0 | 2016-01-24 | 1 | -0/+34 |
| | | | | testing | ||||
* | Update XHR BodyInit, update extract method impl | St.Spyder | 2016-01-18 | 1 | -1/+5 |
| | |||||
* | Use features to prevent the util component from entraining the world in ↵ | Bobby Holley | 2016-01-11 | 1 | -84/+3 |
| | | | | GeckoLib builds. | ||||
* | Fix a bunch of clippy lints | Johannes Linke | 2016-01-02 | 1 | -13/+11 |
| | |||||
* | Implement non-zero dimension attribute parsing | Corey Farwell | 2015-12-24 | 1 | -0/+12 |
| | | | | | | | | | | | | | Fixes #8445 The only attributes I found that we have implemented that uses non-zero dimenion attributes: * `width` for `<td>` and `<th>` (table cells) * `width` for `<table>` I updated these implementations to use the new non-zero dimension attribute parsing and added associated regression tests. | ||||
* | compositing: Split Servo up into multiple sandboxed processes. | Patrick Walton | 2015-11-19 | 1 | -1/+1 |
| | | | | | Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch. | ||||
* | Make util::str::parse_length work with floats | Corey Farwell | 2015-11-14 | 1 | -1/+1 |
| | |||||
* | fix impl of parse_length() | rohan.prinja | 2015-11-14 | 1 | -4/+23 |
| | |||||
* | Made DOMString opaque. | Alan Jeffrey | 2015-11-12 | 1 | -1/+1 |
| | | | | | Removed the "pub" attribute from the String field of DOMString. This enables experimenting with other string representations. | ||||
* | Added in-place mutation to DOMString. | Alan Jeffrey | 2015-11-12 | 1 | -0/+13 |
| | | | | | The methods which are currently implemented are the ones on String that are currently being used: string.push_str(...), string.clear() and string.extend(...). We may want to revisit this API. | ||||
* | Made DOMString implement !Send. | Alan Jeffrey | 2015-11-12 | 1 | -0/+2 |
| | | | | This change makes DOMStrings only accessible from the main JS thread. | ||||
* | Added conversion functions between DOMString and String. | Alan Jeffrey | 2015-11-12 | 1 | -0/+18 |
| | | | | | Implemented From<String> and From<&str> for DOMString, and From<DOMString> for String. | ||||
* | Auto merge of #8479 - frewsxcv:domstring-default, r=Ms2ger | bors-servo | 2015-11-13 | 1 | -0/+6 |
|\ | | | | | | | | | | | | | | | Implement Default trait for DOMString <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8479) <!-- Reviewable:end --> | ||||
| * | Implement Default trait for DOMString | Corey Farwell | 2015-11-11 | 1 | -0/+6 |
| | | |||||
* | | Use the conversion traits from js. | Ms2ger | 2015-11-12 | 1 | -0/+84 |
|/ | |||||
* | Add Dimension member to AttrValue | Corey Farwell | 2015-11-09 | 1 | -1/+1 |
| | | | | Fixes #8417 | ||||
* | Make DOMString a newtype around String, rather than a typedef. | Ms2ger | 2015-11-04 | 1 | -2/+59 |
| | | | | | | | | | | 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. | ||||
* | display input caret for textarea. fixes #7758 | Florian Merz | 2015-10-21 | 1 | -1/+14 |
| | |||||
* | Link to the HTML multipage spec, not the single-page one. | Eli Friedman | 2015-10-13 | 1 | -4/+4 |
| | |||||
* | Fix issues found by rust-clippy | Corey Farwell | 2015-10-12 | 1 | -4/+3 |
| | |||||
* | Implement `size` attribute for <font> element | Corey Farwell | 2015-09-30 | 1 | -22/+84 |
| | |||||
* | Make util::str::str_join consistent with SliceConcatExt::join | Corey Farwell | 2015-09-30 | 1 | -2/+2 |
| | | | | | | | | | | Prior to this commit, `str_join` would skip empty items at the start of the `Iterator` until it found a non-empty item. This contradicts `SliceConcatExt::join` which doesn't skip anything. Brought up in: https://github.com/servo/servo/pull/7776#issuecomment-144317281 | ||||
* | Split Au type into separate crate, with minimal dependencies. | Glenn Watson | 2015-10-01 | 1 | -1/+1 |
| | |||||
* | Make util::str::str_join operate on Iterators | Corey Farwell | 2015-09-28 | 1 | -2/+4 |
| | |||||
* | 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 | -3/+1 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | Fix reported test-tidy errors | Brandon Fairchild | 2015-09-01 | 1 | -3/+3 |
| | | | | | This fixes lines that were reported to have missing space after a comma. | ||||
* | replace .len() == 0 with is_empty() | João Oliveira | 2015-08-14 | 1 | -4/+4 |
| | | | | closes #7198 | ||||
* | Use local slice_chars | Jack Moffitt | 2015-07-31 | 1 | -0/+24 |
| | | | | | | | StrExt::slice_chars is deprecated and will be removed in Rust. This lifts the implementation from Rust libstd and puts it in util::str. This fixes a bunch of deprecation warnings in Servo. | ||||
* | Create and utilize utility for joining strs | Corey Farwell | 2015-07-08 | 1 | -0/+8 |
| | |||||
* | Remove null_str_as_empty and null_str_as_empty_ref functions. | Ms2ger | 2015-06-10 | 1 | -16/+0 |
| | | | | | With just one caller between the two functions, there doesn't seem to be much point in having the abstraction. | ||||
* | script: Implement the `width` and `height` attributes for iframes per | Patrick Walton | 2015-05-20 | 1 | -1/+1 |
| | | | | | | HTML5 § 4.8.6. Improves Amazon and Ars Technica. | ||||
* | Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. | Simon Sapin | 2015-05-05 | 1 | -6/+6 |
| | |||||
* | Implement Clone for Copy types. | Ms2ger | 2015-04-28 | 1 | -1/+1 |
| |