Commit Graph

215 Commits

Author SHA1 Message Date
Oliver Burn d4e32973ad Implementation of a new JavadocPackageCheck - still need the test and the documentation. 2007-12-19 04:21:43 +00:00
Lars Kühne 03a527c4d5 removed Xalan checks for JDK 1.3 and 1.4 2007-12-17 21:22:04 +00:00
Oliver Burn 4ebf621616 Setting up to compile as Java 5 source. 2007-12-15 00:23:20 +00:00
Oliver Burn 3fb7ae8ee6 Making a 4.4 release. 2007-12-15 00:05:53 +00:00
Oliver Burn 115a1bab39 change to work with Java 1.6 2007-12-03 10:38:27 +00:00
Oliver Burn 2da46d26c1 Patch 1724028 - XSLs not counting errors correctly in filelist 2007-06-04 04:19:11 +00:00
Oliver Burn 02da493e64 Set the "failureProperty" with a meaningful message (feature request 1725475). 2007-06-04 03:04:02 +00:00
Lars Kühne 31d351a1e3 consistently use iso-8859-1 encoding for all invocations of <javadoc> to avoid warnings on modern linux distros (which use UTF-8 as the default encoding) 2007-02-12 19:18:34 +00:00
Lars Kühne 03b0bc8f47 fix for bug 1630361. Make sure that commons-collections classes that are shipped with beanutils are not included in checkstyle-all.jar 2007-02-01 21:24:40 +00:00
Lars Kühne 3e72ff4dea Removed usage of xerces and xml-apis, with Java 5 as the minimum build environment it's no longer necessary to mess around with them explicitly. 2007-01-27 14:55:33 +00:00
Lars Kühne 7e67d70fb8 version 4.4-SNAPSHOT 2007-01-27 13:16:21 +00:00
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