Commit Graph

177 Commits

Author SHA1 Message Date
Oliver Burn 80d82a69d6 Fix unit test failure and prepare for a beta2 release. 2005-04-29 23:10:51 +00:00
Oleg Sukhodolsky 0595eb9096 Some changes to testinputs to make them compilable (all I want/can do
for this :)
Also fixed NPE in usage checks (bug 1165855)
2005-04-22 09:40:37 +00:00
Oleg Sukhodolsky be3f6d793c Some changes to testinputs to make them compilable (not completed for
now).
Also, I've removed test for SuperFinalize check which tests finalize()
method in enums, since enums can not have this method.
2005-04-18 14:30:16 +00:00
Michael Studman d7df762a65 no message 2005-04-13 00:58:11 +00:00
Oliver Burn 42484a32cd Change checkstyle.minimum.javaversion to 1.4. 2005-04-10 07:27:31 +00:00
Lars Kühne f1edab8dd0 Added "source" and "target" tags to javac calls. This means that
- we avoid some compiler warnings on JDK 1.5
- follow the advice from the Ant team ("we highly recommend to always set this attribute")
- even if Checkstyle is compiled on JDK 1.5, it can still be used on 1.3 (untested)
2005-04-04 04:22:00 +00:00
Oliver Burn 188ba5ebd0 Put in place a beta version number 2005-03-25 01:40:55 +00:00
Oliver Burn 117d339322 Fix documentation errors 2005-03-25 01:27:29 +00:00
Oleg Sukhodolsky 4089a7885d let's explicitly specifies encoding for javac 2005-01-11 14:52:32 +00:00
Oliver Burn 8dd85f5fff Introduce a dependency on ANT 1.6.2 by using the "forkmode" attribute on
the <junit> task. By setting to "perBatch" the "run.tests" target takes
~21 seconds to execute instead of 2 minutes 12 seconds.

Since this version of ANT has been released for over six months, this is OK
for the performance gain. Still does not account for the current failure in
the tests though.
2005-01-11 11:55:30 +00:00
Lars Kühne 9f595a1795 removed checks from javadoc:
- This is not really code any user should rely on. Package names, API, etc. are not stable
- trims down distribution size by several MB (uncompressed)
- class javadoc of checks is used for autogenerating xdocs (see CheckDocsDoclet),
  those classdocs are easier to write if they only serve one purpose
2005-01-09 12:30:07 +00:00
Lars Kühne 28b37309f2 Documentation contains an alphabetically sorted list of all available checks 2005-01-08 15:58:56 +00:00
Oliver Burn a015df25f2 Fix version number 2004-12-07 11:46:28 +00:00
Oliver Burn aa78210274 Brought across changes from v3-branch. 2004-12-05 06:38:31 +00:00
Lars Kühne 72377cb042 added description for xdoc target, so it appears in IDEA 2004-10-24 10:13:49 +00:00
Oleg Sukhodolsky a1ae361325 Let's compile sources with iso-8859-1 encoding 2004-10-14 12:46:48 +00:00
Lars Kühne 2c02a737d9 Updated to V 1.7 of commons-beanutils (Apache license 2.0).
This allows us to change the type converters locally in AutomaticBean,
not globally per classloader. This change is beneficial mainly
in some embedded scenarios like IDE plugins.
2004-10-09 05:43:46 +00:00
Michael Studman 083ab98e4a Folded all three Java grammars into one with optional assert/enum keyword treatment. 2004-10-08 12:39:13 +00:00
Michael Studman 6125beffc4 Initial Java 1.5 support 2004-09-27 18:55:50 +00:00
Oleg Sukhodolsky fbf91151ca clean should also remove velocity.log 2004-09-23 10:33:46 +00:00
Lars Kühne 37bc6ba737 modified have.xalan to make the build work on JDK 1.5/Ant 1.6.2 2004-08-02 08:06:14 +00:00
Lars Kühne 37cdcf101c added useExternalFile flag to javadoc task (patch 1001577, contributed by Brant Langer Gurganus) 2004-08-02 07:00:08 +00:00
Oliver Burn 71bc6b9733 removed crimson jar 2004-06-22 22:07:08 +00:00
Rick Giles 18dd5574c7 Exclude transmogrify files from checking in target checkstyle.style 2004-05-29 18:00:03 +00:00
Rick Giles 83bc4ecbc4 Place Xerces in tests classpath to prevent ant 1.6.1 load of Crimson parser.
Crimson parser error messages cause failures in ConfigurationLoaderTest.
2004-05-24 14:45:44 +00:00
Lars Kühne a3c55ed820 added build targets for docs autogeneration
NOTE: The generated distribution currently does not contain JavaDoc for our API
2004-05-08 10:42:28 +00:00
Lars Kühne e578713af0 next release: 3.5 2004-04-15 04:43:56 +00:00
Oleg Sukhodolsky 417a132e0e Removing stuff with renaming files in javadoc target 2004-03-01 05:58:04 +00:00
Oleg Sukhodolsky 804e50ee31 Implementation for 724871 (provide programmatic access to tokentype documentation) 2004-02-24 19:41:51 +00:00
Lars Kühne 0b2ea87e30 gump target now uses the test suite to speed up the build (3:29 -> 0:39 on my machine) 2004-02-15 11:25:06 +00:00
Oleg Sukhodolsky 4701ec1304 Splitting test suite. 2004-01-02 23:47:47 +00:00
Oleg Sukhodolsky 1da0f94aa7 Added checkstyle-csv.xsl (request 764153) 2004-01-02 02:34:34 +00:00
Lars Kühne 89668d2a61 upped version to 3.4 2003-12-25 08:53:13 +00:00
Oleg Sukhodolsky 204c472399 Fixed 852397 (checkstyle frames lacks summary link)
Fixed problem in IllegalType check reported by Venkatesh Prasad Ranganath.
Fixed checkstyle.style target in build.xml.
2003-12-05 04:41:21 +00:00
Oleg Sukhodolsky c4c966c971 Fix grammar build process (RFE 827781) 2003-11-13 16:32:53 +00:00
Oleg Sukhodolsky c5f658fe4a Make ant.jar location configurable (patch 835892, from scop) 2003-11-11 07:35:51 +00:00
Lars Kühne 392e556d70 made optional.jar maven friendly (requested by V.Massol, maintainer of Maven plugin) 2003-11-11 05:53:07 +00:00
Oliver Burn e63e42c7d6 Ensure do not pick up the ANT runtime in compilations. This was the cause of a
very subtle bug at work recently. Personally I think the ANT default behaviour
is wrong.
2003-11-03 11:48:14 +00:00
Oliver Burn 1bb0fb09a3 Upgraded to jakarta-regexp-1.3. 2003-10-08 13:02:30 +00:00
Oleg Sukhodolsky a18c824008 Now we pack usage and j2ee checks in checkstyle-XXX-optional.jar 2003-09-16 06:25:19 +00:00
Oleg Sukhodolsky 77ca904cf5 Fixed 806242 (NoWhitespaceBeforeCheck error with an interface).
Fixed 806243 (NoWhitespaceBeforeCheck error for anonymous inner
class).
Now build will fail if antlr fails to process the grammar.
2003-09-15 06:01:31 +00:00
Oleg Sukhodolsky b0bed93511 Do not create javadoc for transmogrify (too many warnings). 2003-09-02 02:59:48 +00:00
Oliver Burn 51dae59b8d New Javadoc style check from Chris Stillwell. 2003-07-14 12:31:52 +00:00
Oliver Burn 8dc1a8ab99 Fix checkstyle errors 2003-07-13 10:30:23 +00:00
Lars Kühne e6860c68f6 renamed ant project name, makes ant tree look better in IDEA 2003-07-05 10:44:21 +00:00
Oleg Sukhodolsky 50c242141a indent.severity removed, translation.severity added to checkstyle.style target 2003-06-29 12:56:51 +00:00
Oliver Burn e03dab4d1f Patch from Matt Quail to stop the ugly hack of having hard
coded constants in TokenTypes. The big risk was that when
the grammar changed, the generated constants could
change. (patch 757846)
2003-06-21 12:34:01 +00:00
Oleg Sukhodolsky 52dea9dcdc build.xml:
now clean target also removes expandedjava14.g generated by antlr.

GenericIllegalRegexpCheck:
removed to item about explicit setting of match flags.

Indentation:
Todo item about static init blocks fixed in
IndentationCheckTest.testInvalidBlockWithChecker().
2003-06-06 20:38:06 +00:00
Rick Giles bd503e1576 new version value 2003-05-27 16:12:17 +00:00
Oliver Burn e76a039c39 Re-added Japanese translation. Thanks to Kazutaka Takahashi [kaz-taka AT xb3
DOT so-net DOT ne DOT jp]
2003-05-25 12:02:04 +00:00