Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Further changes required by Servo | Oriol Brufau | 2023-05-19 | 1 | -0/+2 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -3/+4 |
| | |||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -1/+1 |
| | |||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -4/+3 |
| | |||||
* | Rustfmt net crate | Pyfisch | 2018-11-03 | 1 | -175/+211 |
| | |||||
* | Update hyper to 0.12 | Bastien Orivel | 2018-11-01 | 1 | -132/+112 |
| | |||||
* | Fix commonmark Markdown warnings in docs, part 1 | Matt Brubeck | 2017-10-17 | 1 | -1/+1 |
| | | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments. | ||||
* | Remove usage of unstable box syntax, except in the script crate | Simon Sapin | 2017-10-12 | 1 | -48/+48 |
| | | | | | … because there’s a lot of it, and script still uses any other unstable features anyway. | ||||
* | Untry | Simon Sapin | 2017-06-18 | 1 | -9/+9 |
| | |||||
* | Fix indentation errors in servo rust code that tidy now finds. | coalman | 2017-04-18 | 1 | -1/+1 |
| | |||||
* | Auto merge of #13411 - frewsxcv:mime, r=jdm | bors-servo | 2016-10-08 | 1 | -82/+86 |
|\ | | | | | | | | | | | | | | | | | | | | | Migrate mime_classifier top-level string to enum. I made this branch months ago and forgot about it. Instead of just throwing the changes away, I rebased off origin/master and opened this pull request. If these changes aren't desired, no feelings hurt, just close this. If they are desired, let me know if there are any changes you want me to make and I'll also need to rewrite/squash the commits. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13411) <!-- Reviewable:end --> | ||||
| * | Migrate mime_classifier top-level string to enum. | Corey Farwell | 2016-10-08 | 1 | -82/+86 |
| | | |||||
* | | Fix capitalization for enum variants. | Corey Farwell | 2016-10-08 | 1 | -11/+11 |
|/ | |||||
* | Rename `MIMEClassifier` to match Rust acronym naming conventions. | Corey Farwell | 2016-07-02 | 1 | -14/+14 |
| | | | | e.g. `std::net::TcpStream` | ||||
* | Create type alias for MIME type. | Corey Farwell | 2016-07-02 | 1 | -13/+15 |
| | |||||
* | Remove empty lines following braces. | Josh Matthews | 2016-05-27 | 1 | -3/+0 |
| | |||||
* | Use constructor pattern for `ApacheFlag` enum. | Corey Farwell | 2016-04-15 | 1 | -0/+14 |
| | |||||
* | Fix PDF signature to match spec | Jonathan Giddy | 2016-02-23 | 1 | -2/+2 |
| | |||||
* | Add check that ByteMatcher pattern has the mask applied | Jonathan Giddy | 2016-02-23 | 1 | -1/+9 |
| | |||||
* | Fix off-by-one error in MIME pattern matching | Jonathan Giddy | 2016-02-23 | 1 | -6/+10 |
| | | | | | | This adds a size to the test webp file, since the error fixed occurs when the test object is the same length as the matched pattern, and is not equal to the pattern. | ||||
* | Use content-type for error message | Jonathan Giddy | 2016-02-23 | 1 | -1/+4 |
| | |||||
* | Ogg has a 5-byte signature, but pattern did not include NUL | Jonathan Giddy | 2016-02-19 | 1 | -2/+2 |
| | |||||
* | Fix invalid MIME checkers | Jonathan Giddy | 2016-02-19 | 1 | -3/+3 |
| | |||||
* | Add validation code for MIME checkers | Jonathan Giddy | 2016-02-19 | 1 | -0/+48 |
| | |||||
* | Remove extra mask byte in MIME type detection | Jonathan Giddy | 2016-02-14 | 1 | -1/+1 |
| | |||||
* | Calculate mp4 header length correctly. | Jonathan Giddy | 2016-02-12 | 1 | -2/+2 |
| | |||||
* | Remove unneeded dead_code annotations. | Josh Matthews | 2015-12-31 | 1 | -10/+0 |
| | |||||
* | Use valid MIME types in the font classifier. | Josh Matthews | 2015-12-31 | 1 | -3/+3 |
| | |||||
* | Resolves #4183 - Implemementing context-based MIME type sniffing | David Rajchenbach-Teller | 2015-12-31 | 1 | -25/+102 |
| | | | | | The version of the standard is not finalized at the time of this writing. Specifications may be found here: https://mimesniff.spec.whatwg.org/#context-specific-sniffing . | ||||
* | adding tidy rule to warn against use of &String and refactoring instances of ↵ | jmr0 | 2015-11-25 | 1 | -2/+2 |
| | | | | &String in codebase | ||||
* | MIMEClassifier::classify always succeeds; fix the type to reflect this. | Eli Friedman | 2015-10-13 | 1 | -11/+10 |
| | |||||
* | Fix BinaryOrPLaintextClassifier bug with utf16-be & utf16-le and correct tests | Mathieu Rheaume | 2015-09-12 | 1 | -3/+2 |
| | |||||
* | fixup! Issue #7382 Use descriptive enums instead of booleans for ↵ | Mathieu Rheaume | 2015-09-12 | 1 | -8/+13 |
| | | | | MIMEClassifier::classifer | ||||
* | Issue #7382 Use descriptive enums instead of booleans for ↵ | Mathieu Rheaume | 2015-09-12 | 1 | -35/+82 |
| | | | | MIMEClassifier::classifer | ||||
* | Issue #7393: Properly sniff mislabeled feeds. | Simon Martin | 2015-08-30 | 1 | -6/+15 |
| | |||||
* | Refactor mime_classifier | Johann Tuffe | 2015-08-28 | 1 | -171/+139 |
| | | | | Use more iterators in particular. | ||||
* | Fixed mismatched type error | Sara Tang | 2015-08-24 | 1 | -1/+1 |
| | |||||
* | Fixes for issue #7347 | Sara Tang | 2015-08-24 | 1 | -4/+4 |
| | |||||
* | Fix existing syntactics nits. | Josh Matthews | 2015-08-16 | 1 | -110/+110 |
| | |||||
* | Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()` | João Oliveira | 2015-08-15 | 1 | -1/+1 |
| | | | | closes #7197 | ||||
* | MIME classifier should use &[T] instead of &Vec<T> | Adrián Arroyo Calle | 2015-08-10 | 1 | -14/+14 |
| | |||||
* | Remove is_some() from mime_classifier.rs and fix typo "uknown" -> "unknown" | Pyfisch | 2015-06-23 | 1 | -33/+22 |
| | |||||
* | Remove some as_slice calls. | Ms2ger | 2015-04-24 | 1 | -3/+3 |
| | |||||
* | Fix some irregular indentation. | Mátyás Mustoha | 2015-04-22 | 1 | -12/+12 |
| | |||||
* | move mime classifier unit tests into unit test crate | Edward Cho | 2015-04-13 | 1 | -437/+3 |
| | |||||
* | Fix int-related warnings in net/mime_classifier. | Mátyás Mustoha | 2015-04-08 | 1 | -11/+11 |
| | |||||
* | Cleanup tabs. | Josh Matthews | 2015-04-07 | 1 | -6/+6 |
| | |||||
* | Fix unit tests. | Josh Matthews | 2015-04-07 | 1 | -16/+13 |
| | |||||
* | Enable MIME sniffing for HTTP loads. | Josh Matthews | 2015-04-07 | 1 | -2/+0 |
| |