Commit Graph

57 Commits

Author SHA1 Message Date
Oliver Burn e8d3bc4502 Stop distributing generated source files. 2002-07-03 02:54:30 +00:00
Oliver Burn c78b70a9cd Refactoring to have all the generated stuff done under target (inspired by
Maven).
2002-07-03 01:43:27 +00:00
Oliver Burn b3133035a4 576165: better error handling for missing properties file. 2002-07-02 11:51:56 +00:00
Oliver Burn bbe51f6884 571161: Added support for basedir attribute. 2002-07-01 01:57:36 +00:00
Oliver Burn c176f8b8eb 568553: fix Javadoc errors under JDK 1.4 2002-06-22 10:50:13 +00:00
Oliver Burn 119aa7439f Implement checking for whitespace around "{" & "}". 2002-06-17 12:17:31 +00:00
Oliver Burn 503677ccb9 A basic working implementation of checking for @throws tags that are instances
of RuntimeException. Marked with TODO: comments what still needs to be
done. This should work in most cases.
2002-06-07 06:27:51 +00:00
Oliver Burn 441ab3e13b Support for the CatchBlock option 2002-05-26 12:56:16 +00:00
Oliver Burn dfd7310b96 Fix documentation to:
- Include a version number in headings
- Use the ANT <filterset> to update the version number. No longer need to
  update the docs for each release.
2002-05-14 04:33:54 +00:00
Oliver Burn fca8c91804 Request 504275: detect to-do comments 2002-05-13 12:52:55 +00:00
Oliver Burn 65989e76a4 Request 555262: Include column number in the XML output 2002-05-13 01:48:41 +00:00
Lars Kühne 62ca98db34 added contrib dir to src/bindist, removed last reference to old Changelog file 2002-04-28 16:22:46 +00:00
Oliver Burn 3ded17ac3d Changed support for parenthesises padding to take an option, rather that being
a boolean of whether to ignore or not. This will allow the adding of more
styles in the future. Good idea Lars! :-)
2002-04-24 14:36:27 +00:00
Oliver Burn e200d9bf3d 545128: implemented "-r" recursive option and improved the argument handling 2002-04-17 11:59:52 +00:00
Lars Kühne e2ec464f27 added support for jdk 1.4 assert statements
grammar changes inspired by John Pybus on the antlr-interest mailing list,
see http://groups.yahoo.com/group/antlr-interest/message/4968

the changes to Checker.java are not very clean, but I don't see a better
solution unless the ANTLR api is improved (compilationUnit() should be an
abstract member of Parser, error reporting should be pluggable)
2002-03-14 06:19:09 +00:00
Oliver Burn 4a859be12a Added a build target for GUMP. 2002-03-12 09:45:52 +00:00
Lars Kühne 0e8b48e143 Ladies and gentlemen, this is your copilot speaking.
Welcome aboard our flight to version 2.2 - please bring your seats to
an upright position and fasten your seatbelts.

Cabin crew - get ready for takeoff!
2002-03-03 15:34:30 +00:00
Oliver Burn 1a596b6827 Renamed anttasks.properties to checkstyletask.properties. A much clearer name. 2002-02-25 12:15:07 +00:00
Oliver Burn 47383398f8 Implemented checking for right curly checking '}'. This was much easier that
for the left. Just need to do the documentation now.
2002-02-23 06:16:55 +00:00
Oliver Burn f4860ef3b4 Implemented brace checking for "if" and "while" 2002-02-22 03:11:36 +00:00
Oliver Burn fd24216f46 Now have '{' checking for methods and types. Also put in place the logic to
be able to check the others.
2002-02-21 22:43:55 +00:00
Oliver Burn 73f1a6f70f Added format for method braces 2002-02-20 23:05:17 +00:00
Oliver Burn 7fa84f981c Made Checkstyle more "ant friendly" but having a anttasks.properties file.
This allows declaritions of the taskdef in ant 1.4+ as:

        <taskdef resource="anttasks.properties">
            <classpath refid="run.classpath"/>
        </taskdef>

Also, in a moment of madness, I re-indented the build.xml file to 4 spaces.
2002-02-09 11:03:56 +00:00
Oliver Burn d5efededc6 Fixed for version 2.1 2002-02-06 05:34:42 +00:00
Oliver Burn 9acdd1b97e opps - forgot to include lib. 2002-02-05 02:50:19 +00:00
Oliver Burn b779f3c1da Updated to the LGPL and version 2.0. 2002-02-04 12:44:04 +00:00
Lars Kühne 2aa584f3ad renamed tests.failed to check.tests.failed to avoid "tests.failed" during build
when actually the tests have been succesful

adapted have.xalan so that it works with the xalan version
included in jdk 1.4 (no Version class there)
2002-02-02 13:24:30 +00:00
Oliver Burn b66b7a0662 Added check for Xalan in the classpath. The Xalan.jar file is rather large,
so decided against putting it into the lib/ directory.
2002-02-01 04:15:43 +00:00
Oliver Burn 37aa8fad69 Added a check to ensure JUnit is in the classpath before running the tests. 2002-02-01 03:58:00 +00:00
Oliver Burn 12e8532fb9 Made reference to lib/junit.jar 2002-02-01 03:33:42 +00:00
Oliver Burn 448680ed26 Now uses the JARs in the lib directory. 2002-02-01 03:09:25 +00:00
Oliver Burn 8f5eb02840 Changed so you no longer need to have ANTLR in your classpath when running ANT.
This cleans up the really ugly hack of using the reverseloader + makes it easier
to make build "out-of-the-box".
2002-02-01 02:48:29 +00:00
Oliver Burn 6158ee25ca Improved copying the files in distributions. 2002-01-24 01:59:14 +00:00
Oliver Burn c3c6175fc5 Refactored the technique to avoid classes being included in Javadoc. Now
renames files not be included in Javadoc.
2002-01-23 12:45:37 +00:00
Lars Kühne 5a527aba40 be smart about CVS files when cleaning up docs/api 2002-01-22 06:08:03 +00:00
Lars Kühne 0e7bf93131 include javadoc in bindist, no javadoc for Generated classes 2002-01-22 05:27:50 +00:00
Oliver Burn 7d5276b6a2 added support for generating Javadoc 2002-01-22 01:05:56 +00:00
Oliver Burn f0d7921279 Added a default constructor to XMLLogger so it can be used by the ANT task.
Also updated build.xml to use the plain logger.
2002-01-15 23:51:49 +00:00
Oliver Burn 2727473656 Changed the defaults for member/static/parameter regexps to match the Sun coding
standard. The intent of this change is to make it easier for people to use
checkstyle out-of-the-box to check the Sun coding standard.
2002-01-15 12:54:03 +00:00
Oliver Burn f8ea4c69a2 Removed all evidence of the java.tree.g file. 2002-01-14 01:33:42 +00:00
Oliver Burn 047f8cef4b Started migrating the whitespace tests from java.tree.g to java.g 2002-01-09 15:06:03 +00:00
Oliver Burn 75ed66a66d patch to clean up running unit tests 2001-12-20 01:40:55 +00:00
Oliver Burn 11be0e3198 fork the ANTLR task 2001-12-03 00:29:21 +00:00
Oliver Burn 1d83e8ea2e fixed building 2001-11-03 11:00:48 +00:00
Oliver Burn fc3bd86681 cosmetic fixed 2001-11-02 12:38:09 +00:00
Oliver Burn a40de3bf77 improve docs 2001-11-01 23:05:30 +00:00
Oliver Burn d63b302615 updated junit path 2001-09-04 04:07:11 +00:00
Oliver Burn f34eba11cb improved technique to locate files 2001-08-30 13:09:57 +00:00
Oliver Burn a6df885ae1 included patch to be able to run unit tests from any directory. 2001-08-17 06:40:33 +00:00
Oliver Burn 6c304950f6 added support for caching 2001-08-05 14:12:57 +00:00