aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy.py
Commit message (Collapse)AuthorAgeFilesLines
* start Tidy moveedunham2016-04-131-651/+0
|
* Auto merge of #10563 - mskrzypkows:tidy_tests, r=mbrubeckbors-servo2016-04-131-3/+4
|\ | | | | | | | | | | | | | | | | | | | | Test for check_spec function, for tidy.py #9152 Additional test for tidy.py <!-- 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/10563) <!-- Reviewable:end -->
| * Test for check_spec function, for tidy.py #9152Maciej Skrzypkowski2016-04-131-3/+4
| |
* | Update to byteorder 0.5Saurav Sachidanand2016-04-131-1/+1
|/
* tests for tidy.py #9152Maciej Skrzypkowski2016-04-071-0/+1
|
* Update uuid.Ms2ger2016-04-071-1/+1
|
* Remove gl_generator version exception.Josh Matthews2016-04-061-1/+1
|
* Update ipc-channel for two important bug fixesOlaf Buddenhagen2016-04-071-1/+1
| | | | | | | | | | | | | | | This fixes https://github.com/servo/servo/issues/10260 by pulling in https://github.com/servo/ipc-channel/pull/61 (fix receive for messages close to packet size) and https://github.com/servo/ipc-channel/pull/62 (properly handle ENOBUFS); where the latter is not critical per se, as there was a workaround already -- but that workaround aggrevated the first bug, resulting in the urgent issue... This bump requires a tidy override for `uuid`: `ipc-channel` was updated to `uuid 0.2` in https://github.com/servo/ipc-channel/pull/63 (don't know why...), while other crates are still with `0.1`. That was blocking this urgent bug fix; and according to a discussion with @mbrubeck on IRC, the override should be OK in this case.
* Auto merge of #10433 - saurvs:pr3, r=emiliobors-servo2016-04-071-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Implement WebGLRenderingContext.getActiveUniform() Fixes https://github.com/servo/servo/issues/10397 <!-- 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/10433) <!-- Reviewable:end -->
| * Implement WebGLRenderingContext.getActiveUniform()Saurav Sachidanand2016-04-061-1/+1
| |
* | Auto merge of #9811 - paulrouget:forceTouch, r=mbrubeckbors-servo2016-04-051-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | forcetouch events https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html Not sure how we want to land that yet. Maybe reproduce the webkit events (as in this PR), or as touch/mousemouse events. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9811) <!-- Reviewable:end -->
| * | Ignore ForceTouchEvent.webidlPaul Rouget2016-04-051-0/+1
| |/
* / Fix ./mach test-tidy --faster issuezakorgyula2016-04-051-4/+20
|/ | | | issue number: 9778
* Auto merge of #10292 - jdm:cssom, r=jdmbors-servo2016-04-011-0/+1
|\ | | | | | | | | | | | | | | | | | | | | Initial steps for CSSOM Squashed and rebased #10133. <!-- 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/10292) <!-- Reviewable:end -->
| * Initial steps for CSSOM APIMohamed Albashir2016-03-311-0/+1
| |
* | Update webrender to masterEmilio Cobos Álvarez2016-03-311-1/+1
| | | | | | | | I'll rebase #10224 against it.
* | Ignore a few things in in tidy check.Bobby Holley2016-03-231-0/+4
| | | | | | | | | | | | | | | | | | We need to ignore geckolib/tools, otherwise we need to clobber stuff to avoid a bunch of tidy errors in rust-bindgen etc. We also preemtively ignore the soon-to-be-added build.rs for the same reason it's ignored in style/, and gecko_style_structs.rs for the same reason that bindings.rs is ignored.
* | Update to Rust 2016-03-18.Ms2ger2016-03-201-1/+1
|/
* Auto merge of #9838 - szeged:webbluetooth, r=jdmbors-servo2016-03-161-0/+1
|\ | | | | | | | | | | | | | | | | | | | | WebBluetooth API classes Basic implementation of WebBluetooth API API spec.: https://webbluetoothcg.github.io/web-bluetooth/ <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9838) <!-- Reviewable:end -->
| * WebBluetooth API classesAttila Dusnoki2016-03-161-0/+1
| |
* | Auto merge of #9966 - mrobinson:tidy-pyc, r=jdmbors-servo2016-03-111-12/+30
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not run WPT tidy on pyc files Generalize the mechanism for skipping file patterns and use it for generating the list of WPT files to lint. Add *.pyc to the list of file patterns to skip. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9966) <!-- Reviewable:end -->
| * | Do not run WPT tidy on pyc filesMartin Robinson2016-03-101-12/+30
| | | | | | | | | | | | | | | | | | Generalize the mechanism for skipping file patterns and use it for generating the list of WPT files to lint. Add *.pyc to the list of file patterns to skip.
* | | Auto merge of #9889 - ↵bors-servo2016-03-111-1/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MichaelRFairhurst:github-bug-9806-tidy-linting-string-contents, r=ecoal95 Handle escaped strings in rust linting, tidy.py A little annoying to read since we have to escape for python (\\) and then escape for re (\\\\) and then even at times escape for single quotes immediately after, (\\\\\), but tidy.py now strips strings even if they have escapes before linting. Fixes #9806 -- basically the problem is that the PR which first revealed this had an escape in one of its strings which included an = sign. The escape meant the string wasn't escaped before it looked for spaces around spaces. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9889) <!-- Reviewable:end -->
| * | Handle escaped strings in rust linting, tidy.pyMike Fairhurst2016-03-101-1/+2
| |/ | | | | | | | | | | | | | | tidy.py now strips strings even if they have escapes before linting. Use raw strings for regex with lots of backslashes Handle ALL escape sequences in strings for tidy, not just escaped string terminators
* | Update the list of files tidy ignores.Ms2ger2016-03-091-2/+2
| | | | | | | | | | | | | | The deque file was removed in favour of an external crate. The sync and sync_css directories are automatically created when updating the in-tree copies of the wpt and css tests.
* | Auto merge of #9908 - UK992:tidy-fix, r=ecoal95bors-servo2016-03-081-1/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check tidy for "support/android/build-apk/" Fixes #9893 r? @ecoal95 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9908) <!-- Reviewable:end -->
| * | check tidy for support/android/build-apk/UK9922016-03-081-1/+2
| |/
* / tidy fix for longer single line importsRahul Sharma2016-03-071-1/+1
|/
* Lint json filesPaul Padier2016-02-261-4/+20
|
* Refactored tidy for efficiency and optionally provide feedback on progressRavi Shankar2016-02-251-46/+71
|
* Deduplicate the cocoa crate.Simon Sapin2016-02-041-1/+1
|
* Bump clipboard to remove libc 0.1.z dependencyAnthony Ramine2016-01-311-1/+1
|
* Include the wpt lint in test-tidy --faster.Ms2ger2016-01-211-7/+8
|
* Auto merge of #9284 - bholley:bootstrap_stylo, r=SimonSapinbors-servo2016-01-191-0/+1
|\ | | | | | | | | | | | | | | | | | | Add Partial Implementation of style DOM traits for Gecko, and some basic glue to let Gecko call into Servo The wrapper stuff is partially-complete, modulo some unimplemented methods. The glue code is just a toy for now. Regardless, I think it's worth getting some of this stuff in-tree to minimize breakage. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9284) <!-- Reviewable:end -->
| * Basic wrappers and glue for GeckoLib.Bobby Holley2016-01-131-0/+1
| |
* | Remove legacy reftest lints.Ms2ger2016-01-141-50/+1
| |
* | Call WPT lint directly in tidy, fixes #9189PythonNut2016-01-121-5/+6
|/
* Fix literal braces in string formatting in tidy.py, fixes #9151PythonNut2016-01-111-4/+4
|
* add a --faster option to ./mach test-tidyDaan Sprenkels2016-01-071-7/+28
| | | | | | which will - only check files changed since the last merge by bors - and skip the wpt-lint
* tidy.py: made `check_rust(file_name, lines)` more readableDaan Sprenkels2015-12-311-89/+67
| | | | | also added a rule that requires a space before '-' (except in cases of scientific notation) fixes #8733
* tidy.py: split checking functions into {normal,line}-checking categoriesDaan Sprenkels2015-12-261-27/+29
| | | | | | | | This is done, because the majority of the functions splits the lines, and it would be better to do this just once. This commit also optimised the licence checking function slightly by only checking the fist lines of the file (where the amount of lines is the line span of the longest license)
* Issue #9042: Report incorrect number of spaces around => in the style checker.Simon Martin2015-12-231-3/+13
|
* Print tidy errors as they happen instead of all-at-onceCorey Farwell2015-12-141-6/+8
|
* Update bincode.Ms2ger2015-12-081-1/+1
|
* Auto merge of #8824 - Ms2ger:tidy-lock, r=Wafflespeanutbors-servo2015-12-081-35/+42
|\ | | | | | | | | | | | | | | | | | | Rewrite the Cargo.lock tidy check. Fixes #8691. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8824) <!-- Reviewable:end -->
| * Rewrite the Cargo.lock tidy check.Ms2ger2015-12-041-35/+42
| |
* | Improve checking algorithmsGuillaume Gomez2015-12-061-46/+50
|/
* Auto merge of #8757 - servo:skia, r=mbrubeckbors-servo2015-12-031-3/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Use skia and deps from crates.io. This makes the initial download for skia go from a 300 MB git repository to a 5 MB tarball. This should help with issues like #6132 and #7687. Fix https://github.com/servo/skia/issues/70 This builds, but the at the moment causes a number of tidy errors for duplicated crates. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8757) <!-- Reviewable:end -->
| * Tidy ports/cef/Cargo.lockSimon Sapin2015-12-021-0/+2
| | | | | | | | Despite the rest of ports/cef/ being ignored.
| * Use skia and deps from crates.io.Simon Sapin2015-12-021-3/+10
| | | | | | | | Fix https://github.com/servo/skia/issues/70