Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-09 | Util: Do not style check symlinks | Joel Hestness | |
The style checker used to traverse symlinks if they pointed to files, which can result in style checker failure if the pointed-to file doesn't exist. This style check is actually unnecessary, since symlinks either point to other files that are already style checked, or files outside gem5, which shouldn't be checked. Skip symlinks. | |||
2012-07-27 | util: Fix issues with style checker. | Nathanael Premillieu | |
2012-06-29 | Style: Make style.py's invalid warning print which file caused the infraction. | Matt Evans | |
2011-09-24 | style.py: don't die on empty files | Steve Reinhardt | |
2011-05-24 | style: Make the style hook work in directories other than the root. | Nathan Binkert | |
2011-04-17 | style: fix all_regions code and remove bogus region type | Nathan Binkert | |
2011-04-17 | style: remove extra debugging print | Nathan Binkert | |
2011-04-15 | style: add sort_includes to the style hook | Nathan Binkert | |
2011-04-15 | style: move style verifiers into classes | Nathan Binkert | |
2011-04-15 | style: add a user interface wrapper class | Nathan Binkert | |
makes things work both with mercurial and stand alone with stdio | |||
2011-01-13 | Style checker: Fix a couple bugs in style.py. | Gabe Black | |
2011-01-10 | style: prevent the style hook from aborting uncleanly because of an exception | Nathan Binkert | |
2011-01-10 | style: clean up style hook code a bit | Nathan Binkert | |
I've renamed the check_whitespace operation to check_style. You're going to need to change your .hg/hgrc file. While you're at it, add a pre-qrefresh hook please. | |||
2010-12-30 | style: make style hook work with pre-qrefresh and update to use new code | Nathan Binkert | |
clean up the code a little bit while we're at it. I recommend that everyone adds the pre-qrefresh hook below since it will make qref run the style hook and not just commit/qpush [extensions] style = <m5 path>/util/style.py [hooks] pretxncommit.style = python:style.check_whitespace pre-qrefresh.style = python:style.check_whitespace | |||
2010-01-23 | style_hook: Fix the style hook | Nathan Binkert | |
Re-enable it and update it for more modern versions of mercurial. | |||
2009-09-17 | Functionality migrated to sequencer. | Polina Dudnik | |
2009-08-21 | [mq]: first_patch | Polina Dudnik | |
2009-04-08 | style: fix style hook for some newer versions of mercurial. | Nathan Binkert | |
2009-01-13 | Fix style hook for Mercurial >= 1.1 | Ali Saidi | |
2008-11-15 | Remove the pointless, repository destroying assertion and just have the ↵ | Clint Smullen | |
script check every line in the file if it cannot get context information. | |||
2008-06-14 | Add hg commands for style check so you can check at times other than commit | Nathan Binkert | |
2007-12-11 | Fix minor bug in util/style.py | Steve Reinhardt | |
--HG-- extra : convert_revision : d37accc884c2967d87dd267debab5afeb8b6ed85 | |||
2007-08-21 | style: fix style hook when run from a repo subdir. | Nathan Binkert | |
Before this fix, the style hook would blow up when you did a qrefresh to add a new file, but executed the qrefresh from a repository sub directory. --HG-- extra : convert_revision : 851b0421dfa5c5b23d0f49441c4ba2e0ac579c5d | |||
2007-08-14 | style: Don't try to fix files that should be ignored. | Nathan Binkert | |
The style hook was ignoring new files, but processing all modified files. --HG-- extra : convert_revision : 97400c24a12103d7ac3d4f69b026853816c39d72 | |||
2007-07-29 | Merge with head. style.py was also missing an argument in one call to ↵ | Gabe Black | |
modified_lines. --HG-- extra : convert_revision : 0f4e23007399f9d0e2be5310062bd61f5415550d | |||
2007-07-28 | Work around a mercurial bug in bdiff.blocks | Nathan Binkert | |
--HG-- extra : convert_revision : 597503431883a24f68744bf0dce77356a32d7ff7 | |||
2007-07-28 | style: fix stupid bugs | Nathan Binkert | |
--HG-- extra : convert_revision : ef3dcc3a160eb19a6c4fcdcd411d392aa42e4efe | |||
2007-07-28 | style: Check/Fix whitespace on SCons files | Nathan Binkert | |
--HG-- extra : convert_revision : 46e6b2dd8e1984cbab0ea24c94760794734c0f95 | |||
2007-07-23 | Allow the fixwhite stuff to work when committing from a subdir | Nathan Binkert | |
--HG-- extra : convert_revision : 10e6ecc60bb8ee4e4a6f06f8c56550299c262c91 | |||
2007-07-22 | do proper style checks for merged files | Nathan Binkert | |
--HG-- extra : convert_revision : f9d4c61ded4b13655dbe86f0bb6a0b3beaf45151 | |||
2007-07-22 | fix the style fixing thing | Nathan Binkert | |
--HG-- extra : convert_revision : 65ffc14e7b78b49df9a67ef0d3521551dd44d1cd | |||
2007-07-21 | Add code to turn the style stuff into a mercurial hook. | Nathan Binkert | |
Nag the user during compile if they have an hg cloned copy of M5, have mercurial installed, but don't have the style hook enabled. --HG-- extra : convert_revision : 6bcbb67f1a3fcd36db7d3ef16a9ff19680f126f2 |