aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Kill the plugins crate and its clippy supportAnthony Ramine2017-02-212-40/+0
| | | | | | Sometimes clippy gets outdated by months, and its current support setup means that each Servo component need to opt into it by depending on the plugins crate manually, and not all components do that.
* Move script lints to script_pluginsAnthony Ramine2017-02-167-430/+5
| | | | The plugins crate now just allows to hook into clippy from a single crate.
* Auto merge of #15567 - nox:plugin, r=SimonSapinbors-servo2017-02-155-133/+1
|\ | | | | | | | | | | | | | | Replace inheritance_integrity by trait shenanigans <!-- 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/15567) <!-- Reviewable:end -->
| * Replace inheritance_integrity by trait shenanigansAnthony Ramine2017-02-155-133/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For each derived DomObject impl, we also generate a dummy trait ShouldNotImplDomObject that is implemented for all T: DomObject. We then try to implement it for each field type except the first one. If compilation succeed, this means that field type doesn't implement DomObject itself otherwise it would break coherence rules. error[E0119]: conflicting implementations of trait `dom::xmlhttprequest::_IMPL_DOMOBJECT_FOR_XMLHttpRequest::ShouldNotImplDomObject` for type `((), SomeFieldTypeThatShouldNotImplementDomObject)`: --> /Users/nox/src/servo/components/script/dom/xmlhttprequest.rs:120:1 | 120 | #[dom_struct] | ^^^^^^^^^^^^^ | | | first implementation here | conflicting implementation for `((), SomeFieldTypeThatShouldNotImplementDomObject)`
| * Add #[derive(DenyPublicFields)] back to #[dom_struct]Anthony Ramine2017-02-151-0/+1
| | | | | | | | Oops.
* | Ban DOMRefCell<Heap<T>> by lint pluginTetsuharu OHZEKI2017-02-151-0/+6
|/
* Change #[privatize] into #[derive(DenyPublicFields)]Anthony Ramine2017-02-154-47/+2
|
* Kill transmute-type-lintAnthony Ramine2017-02-153-47/+0
|
* Derive DomObject with a proc macroAnthony Ramine2017-02-143-91/+1
|
* Auto merge of #15351 - servo:rustup, r=noxbors-servo2017-02-053-13/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to rustc 1.17.0-nightly (ea7a6486a 2017-02-04) <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/15351) <!-- Reviewable:end -->
| * Upgrade to rustc 1.17.0-nightly (ea7a6486a 2017-02-04)Simon Sapin2017-02-053-13/+15
| |
* | Update clap, clippy, deflate, flate2, open, unicode-segmentation, ↵Matt Brubeck2017-02-021-1/+1
|/ | | | owning_ref, parking_lot, phf, quote, walkdir
* Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23).Ms2ger2017-01-241-1/+0
|
* Update regex.Ms2ger2017-01-161-1/+1
|
* Upgrade to rustc 1.16.0-nightly (2782e8f8f 2017-01-12)Simon Sapin2017-01-122-5/+4
|
* Update to rustc 1.16.0-nightly (4ecc85beb 2016-12-28)Simon Sapin2017-01-022-7/+13
|
* Mark DOM interfaces as repr(C)Anthony Ramine2016-12-231-0/+1
|
* Update Rust to 1.15.0-nightly (71c06a56a 2016-12-18)Ms2ger2016-12-224-13/+21
|
* Revert "Update Rust to 1.15.0-nightly (8f02c429a 2016-12-15)."Lars Bergstrom2016-12-194-21/+13
| | | | This reverts commit 5618e797683e7bfc400e8b1879d89f64bfb577fa.
* Update Rust to 1.15.0-nightly (8f02c429a 2016-12-15).Ms2ger2016-12-194-13/+21
|
* Remove HeapGCValueAnthony Ramine2016-12-121-3/+3
| | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS.
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-082-6/+6
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Update to Rust 1.15.0-nightly (1c448574b 2016-11-28)Anthony Ramine2016-11-295-55/+51
|
* Fix `./mach clippy`.Corey Farwell2016-11-081-1/+1
| | | | Fixes https://github.com/servo/servo/issues/13117.
* Make #[derive(JSTraceable)] a procedural macroAnthony Ramine2016-11-032-67/+1
|
* Fix tidy issuesRohit Burra2016-11-011-1/+2
|
* Revert "Make DOMRefCell use style’s copy of RefCell"Simon Sapin2016-10-041-2/+0
| | | | This reverts commit ec723057b2360446790d436fe5e234d798fb4175.
* Don't crash when #[dom_struct] is applied on an empty structManish Goregaokar2016-09-261-0/+5
|
* Update Rust to 1.13.0-nightly (6ffdda1ba 2016-09-14)Anthony Ramine2016-09-151-2/+1
|
* Reorder `use` statementsUK9922016-09-091-1/+1
|
* Extract mutability out of Reflectable trait.Josh Matthews2016-09-071-2/+12
|
* Update Rust to 1.13.0-nightly (91f057de3 2016-09-04)Anthony Ramine2016-09-062-1/+1
|
* Make DOMRefCell use style’s copy of RefCellSimon Sapin2016-08-311-0/+2
|
* Update Rust to 1.13.0-nightly (499484f56 2016-08-18)Anthony Ramine2016-08-201-4/+2
|
* Remove rust_tenaciousAnthony Ramine2016-08-132-5/+0
| | | | We don't use it anymore since #11872.
* Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04)Anthony Ramine2016-08-051-2/+2
|
* Update Rust to 1.12.0-nightly (9316ae515 2016-07-24)Eduard Burtescu2016-07-261-1/+1
|
* All our Cargo.toml files should contain an MPL-2.0 license field.Alan Jeffrey2016-07-141-0/+1
|
* Improve mach clippy, add plugins to style/utilManish Goregaokar2016-07-121-3/+5
|
* Update clippyManish Goregaokar2016-07-122-5/+5
|
* Update Rust to 1.11.0-nightly (ec872dc8a 2016-06-07)Anthony Ramine2016-06-081-9/+6
|
* Update Rust to 1.10.0-nightly (267cde259 2016-05-25)Anthony Ramine2016-05-261-1/+1
|
* Update Rust to 1.10.0-nightly (cd6a40017 2016-05-16)Anthony Ramine2016-05-171-1/+2
|
* Removed unused importsPer Lundberg2016-05-152-2/+0
| | | | This fixes #11185.
* Update to Rust 1.10.0-nightly (2b79e05a0 2016-05-13)Anthony Ramine2016-05-141-27/+19
|
* Simplify TOML syntaxSimon Sapin2016-04-261-3/+3
| | | | | | | | * Sections like `[dependencies.foo]` can be entries in a `[dependencies]` section with the `{key = value}` syntax. * Per-target dependencies can be expressed with more general `cfg(…)` conditions instead of exact target triples: https://github.com/rust-lang/cargo/pull/2328
* Remove unused import.Josh Matthews2016-04-231-1/+0
|
* Auto merge of #10804 - tylersouthwick:remove-plugins-utils-unsafe_context, r=noxbors-servo2016-04-222-25/+1
|\ | | | | | | | | | | | | | | | | | | | | Remove unused code and make utils private fixes #10771 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10804) <!-- Reviewable:end -->
| * Remove unused code and make utils privateTyler Southwick2016-04-222-25/+1
| |
* | Move '&&' to the end of the previous line.Zbynek Winkler2016-04-221-2/+2
|/ | | | | | Following https://github.com/servo/servo/issues/10692 this is just a formating change to satisfy a new tidy requirement of not having '&&' at the beginning of a line.