aboutsummaryrefslogtreecommitdiffstats
path: root/components/plugins/lints
Commit message (Collapse)AuthorAgeFilesLines
* Move script lints to script_pluginsAnthony Ramine2017-02-163-290/+0
| | | | The plugins crate now just allows to hook into clippy from a single crate.
* Auto merge of #15567 - nox:plugin, r=SimonSapinbors-servo2017-02-152-97/+0
|\ | | | | | | | | | | | | | | 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-152-97/+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)`
* | Ban DOMRefCell<Heap<T>> by lint pluginTetsuharu OHZEKI2017-02-151-0/+6
|/
* Change #[privatize] into #[derive(DenyPublicFields)]Anthony Ramine2017-02-152-42/+0
|
* Kill transmute-type-lintAnthony Ramine2017-02-152-46/+0
|
* Upgrade to rustc 1.17.0-nightly (ea7a6486a 2017-02-04)Simon Sapin2017-02-053-13/+15
|
* 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-021-4/+4
|
* 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.
* Update to Rust 1.15.0-nightly (1c448574b 2016-11-28)Anthony Ramine2016-11-293-30/+30
|
* Revert "Make DOMRefCell use style’s copy of RefCell"Simon Sapin2016-10-041-2/+0
| | | | This reverts commit ec723057b2360446790d436fe5e234d798fb4175.
* Update Rust to 1.13.0-nightly (6ffdda1ba 2016-09-14)Anthony Ramine2016-09-151-2/+1
|
* Update Rust to 1.13.0-nightly (91f057de3 2016-09-04)Anthony Ramine2016-09-061-1/+0
|
* 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
|
* Update Rust to 1.12.0-nightly (545a3a94f 2016-08-04)Anthony Ramine2016-08-051-2/+2
|
* 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
|
* 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
|
* 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.
* Rust upgrade to 2016-04-12Manish Goregaokar2016-04-154-8/+7
|
* Remove str_to_string lintManish Goregaokar2016-04-082-49/+0
| | | | Specialization makes all of the options equally efficient.
* Bump Rust to 2016-04-06Ms2ger2016-04-062-6/+6
|
* Update to Rust 2016-03-18.Ms2ger2016-03-201-0/+1
|
* Added compiler lint ban on DOMRefCellYoav Alon2016-03-091-0/+6
|
* Update to Rust 2016-03-05Anthony Ramine2016-03-063-13/+10
|
* Bump to Rust 2016-02-22Anthony Ramine2016-02-231-1/+1
|
* Bump Rust to 2016-01-31 nightlyAnthony Ramine2016-02-011-10/+16
|
* task -> threadrohan.prinja2016-01-101-1/+1
|
* Fix false positive in unrooted_must_root lint.Eli Friedman2015-11-301-5/+8
| | | | Encountered in #8725.
* Upgrade to rustc 1.6.0-nightly (1805bba39 2015-11-26)Simon Sapin2015-11-271-1/+2
|
* Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)Manish Goregaokar2015-11-273-12/+12
| | | | … and libc 0.2 and many other dependencies
* Don't allow unrooted values in function arguments.Eli Friedman2015-10-231-10/+11
|
* Make unrooted_must_root a bit more aggressive.Eli Friedman2015-10-231-90/+85
| | | | | | | | | Basically, instead of trying to check for specific kinds of statements, just check the types of all local variables. Also included are some commented-out proposals for some slightly more aggressive lints which might be useful (but trigger a little too frequently at the moment).
* Fix unrooted_must_root lint to handle arguments/return types properly (fixes ↵Manish Goregaokar2015-10-161-5/+17
| | | | #8022)
* Explicitly customise flags of new nodes where neededAnthony Ramine2015-10-151-2/+1
| | | | | | | Given codegen now generates the various TypeId enums, it seems pointless to still have to write their respective values in every DOM struct inheriting from Node just to set the initial IS_IN_DOC flag in Document and IN_ENABLED_STATE in form controls.
* Rust upgrade to nightly 20151002Lars Bergstrom2015-10-024-14/+12
|
* Upgrade rust to f93ab64d4a1a7ee91759a1594ab2a426b6cc657e/rustc-1.5.0-dev.Manish Goregaokar2015-09-236-53/+63
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-1/+0
| | | | This merges import blocks that were reported by tidy as unmerged.
* Auto merge of #7499 - nerith:style, r=metajackbors-servo2015-09-021-2/+2
|\ | | | | | | | | | | | | | | | | | | Improve style nit check for space after a comma Fixes #7345. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7499) <!-- Reviewable:end -->
| * Fix reported test-tidy errorsBrandon Fairchild2015-09-011-2/+2
| | | | | | | | | | This fixes lines that were reported to have missing space after a comma.
* | Upgrade to rustc 1.4.0-dev (cb9323ec0 2015-09-01)Simon Sapin2015-09-023-9/+11
|/
* sort all usesJohann Tuffe2015-08-206-9/+9
|
* Replace uses of `for foo in bar.iter()` and `for foo in bar.iter_mut()`João Oliveira2015-08-153-6/+6
| | | | closes #7197
* Auto merge of #7195 - servo:rustup_20150814, r=Ms2gerbors-servo2015-08-141-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade Rust to nightly 2015-08-10 Still needs snapshot. Snapshot probably could also work as today's nightly (I wasn't able to download the latest one due to choppy internet), there isn't any plugins churn I know of r? @larsbergstrom <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7195) <!-- Reviewable:end -->