Commit Graph

204 Commits

Author SHA1 Message Date
Oliver Burn 11d5a1357f apply patch for Maven POM files 2006-12-22 05:07:00 +00:00
Lars Kühne 28a4f2fe02 version 4.3 2006-09-05 20:09:24 +00:00
Lars Kühne 52e2087c40 - consistently use ${target.dir}
- build checkstyle-all.jar directly from jars, without unpacking them in a tmp folder
- avoid adding overview.html from beanutils.jar to checkstyle-all.jar
2006-01-18 21:15:12 +00:00
Oliver Burn a0b466761e Upgrade to ANTLR 2.7.6 2006-01-18 12:37:21 +00:00
Oliver Burn cbb36592d4 Added the style sheet checkstyle-frames.xsl, thanks to Paul King. (Bug
1385095).
2006-01-16 10:41:56 +00:00
Oleg Sukhodolsky 96c668724b Added WriteTag check which outputs a JavaDoc tag as information (patch 902110). Thanks to Daniel Grenner (dgrenner) for contribution. 2005-12-26 07:27:59 +00:00
Oliver Burn 2398407a08 Made the manifest dynamic 2005-12-15 11:45:52 +00:00
Oliver Burn f89b509f93 Bump the version number. 2005-12-13 20:17:44 +00:00
Oleg Sukhodolsky a81008fd6f Fix for 1371588 and applying patch 1352862. 2005-12-03 19:02:27 +00:00
Oliver Burn ccb6fb6104 Preparing the a full release. 2005-11-23 09:08:05 +00:00
Oleg Sukhodolsky 4c1700ebe1 Applied patches 1339523(partially) and 1340300 2005-10-28 19:04:01 +00:00
Oliver Burn 85413204e1 Added Spanish messages (patch 1250329). 2005-09-21 11:31:53 +00:00
Oleg Sukhodolsky 77235d01aa making "target" absolute path. 2005-09-12 07:43:28 +00:00
Oleg Sukhodolsky 865ba5284a Changes for grammer to keep as much text in AST tree as we can.
For now I do nothing with this/super in (SUPER_)CTOR_CALL.
Should think more about this.

Also I've changed grammer to not generate extends/implement cleases
if there is no such in the code.

Made some refactoring for build.xml to make possible to redirect build
output to custom directory (and we used too much hardcoded paths there
:)

It looks like this is my last commit before vacation, so I hope
I will break nothing :)
2005-08-17 06:55:20 +00:00
Oleg Sukhodolsky e9704e1342 we do not need to exclude MyAnnotation.java from compilation anymore 2005-08-11 07:48:26 +00:00
Oliver Burn 528dca02c7 update version number 2005-08-09 12:18:12 +00:00
Oliver Burn 89f8ecc0fe Suppression compilation error in Unit Tests. 2005-08-09 11:37:40 +00:00
Oliver Burn 1951594e90 Added the ImportControl check. This is a check that can be used to
enforce which packages can import which packages. I was required to
develop this for a large project to enforce application layering rules.

The check is fairly basic at the moment, but is still sufficiently
powerful to be useful. I am sure there will be feature requests in the
future.
2005-07-27 20:29:28 +00:00
Oleg Sukhodolsky fa9bf2e0ef I tired from these horrable long stack traces, so I've added iterative
implementation of tree processing, now we can activate it by setting
checkstyle.use.recursive.algorithm to false (by default checkstyle
still uses recursive algorithm).

Also I've chenged build.xml so it will be possible to use it from any
location and user will be able to specify filter for tests.
2005-07-23 21:18:27 +00:00
Oliver Burn 28193fd5f0 Moving the usage checks to the contrib directory. I have cloned the
directory structure that was used.
2005-06-28 12:59:34 +00:00
Oliver Burn 0843c51a8c Included the open source tool EMMA into the build process to generate a
code coverage report when ever the unit tests are run. The report can be
found in target/emma/report.

I have been using EMMA for a while at work and am very happy with the
results. It is not quite as polished as Clover, but you get what you pay
for. I think it is good to be able to get a code coverage report
whenever the tests are run.
2005-06-18 13:16:40 +00:00
Oleg Sukhodolsky 8c4184bfc9 add compiled testinputs to classpath for our tests 2005-06-13 19:18:25 +00:00
Oleg Sukhodolsky 9f39a76cd5 Fix for 1084512 (Parameters of abstract methods hide fields)
Added ignoreAbstractMethods property to allow configure HiddenField
  check to ignore params of abstract methods.

Now test inputs (almost all) will be compiled as part of
run.test.suite and run.tests targets (this compilation requires
jdk1.5 or higher)
2005-06-12 19:43:06 +00:00
Oliver Burn 6853a34e61 Prepare a beta 4 2005-06-08 21:36:12 +00:00
Oliver Burn 3b28712790 Updated version number 2005-06-07 10:13:01 +00:00
Oleg Sukhodolsky 7300857236 Removing dependancy on Jakarta Regexp:
All references to Jakarta Regexp removed from the docs/javadocs.
Removed regexp.jar.

Patch 835901:
Added package lists for antlr and jdk to make rosslink our docs with
antlr and jdk1.4.2 (if you see some problems here feel free to correct).
2005-05-15 05:18:42 +00:00
Oleg Sukhodolsky e27489c772 initial replacing RE by Pattern (need to update docs) 2005-05-11 16:48:11 +00:00
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