about summary refs log tree commit diff
path: root/src/etc/tidy.py
AgeCommit message (Collapse)AuthorLines
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+0
2013-03-12Increase tidy column limit to 100Brian Anderson-1/+1
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-1/+1
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-28Change "// WARN" in tidy to "// NOTE" as requested by @catamorphismNiko Matsakis-2/+2
2013-01-28Make tidy actually workNiko Matsakis-3/+3
r=catamorphism
2013-01-28Detect "// WARN" in tidy and print out, well, a warning! UsefulNiko Matsakis-0/+8
for notating FIXME-style-situations that you want to be reminded of before you commit. r=catamorphism
2013-01-17Add a license check to tidy. #4018Brian Anderson-2/+28
2012-08-15In tidy, screen out emacs backup files properlyTim Chevalier-1/+1
2012-07-29Make tidy skip emacs backup filesTim Chevalier-1/+2
2012-07-12Forbid TODO in tidyTim Chevalier-0/+2
Forbid TODO as either a sneaky or an accidental way of evading the requirement to annotate FIXMEs with issue numbers. Of course, there are many other ways to evade this requirement, but one should draw the line somewhere...
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-1/+6
2012-04-30build: No tidy for test files. Closes #2271Brian Anderson-3/+1
2012-04-17along long lines if they contain error msgsNiko Matsakis-1/+4
2012-02-24Encode/decode AST into metadata, re-instantiate inlined itemsNiko Matsakis-1/+4
2012-01-06report unicode decode failures nicelyNiko Matsakis-13/+14
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-0/+3
2011-03-19Fix indentation in tidy.Graydon Hoare-1/+1
2010-08-19Use "/usr/bin/env python" per the prevailing stylePatrick Walton-1/+1
2010-08-18Don't complain about \r when core.autocrlf is on in Git... and work in ↵Patrick Walton-4/+13
Python 2.4, 2.6, and 3.x.
2010-08-18Revert "Don't complain about \r when core.autocrlf is on in Git"Patrick Walton-9/+3
This reverts commit 828afaa2fa4cc9e3e53bda0ae3073abfcfa151ca.
2010-08-18Don't complain about \r when core.autocrlf is on in Git (now working with ↵Patrick Walton-3/+9
Python 2.6).
2010-08-18Revert "Don't complain about \r when core.autocrlf is on in Git"Patrick Walton-10/+3
This reverts commit 828afaa2fa4cc9e3e53bda0ae3073abfcfa151ca.
2010-08-18Don't complain about \r when core.autocrlf is on in GitPatrick Walton-3/+10
2010-06-23Populate tree.Graydon Hoare-0/+25