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
Oliver Burn
8531b2b318
Fixed so that the translation check will be run, except under GUMP conditions.
2003-05-23 01:18:29 +00:00
Oleg Sukhodolsky
f0edd3eaf1
Indentation:
...
fix for indentation problems found be Indentation check.
Indentation check added to checkstyle_checkstyle.xml with "warning" severity.
2003-05-19 17:34:26 +00:00
Oliver Burn
685e20e395
Cleanup after Clover changes
2003-05-17 09:23:25 +00:00
Oliver Burn
7013d47d5f
Update for the latest release of Clover
2003-05-16 13:10:09 +00:00
Oleg Sukhodolsky
eaad55fdba
Refactoring of original IndentationCheck made by Jeff Weston (Sir Toby) applied.
...
Fixed two know problems:
- with static init block (catched by testValidBlockWithChecker())
- with throws in method definition.
unit-test (testInvalidMethodWithChecker()) fixed too.
2003-05-11 07:53:03 +00:00
Rick Giles
e4a14e401a
Changed behaviour of target "checkstyle.style".
...
Previously the target failed if there were style errors.
It now produces output when there are style errors.
2003-05-10 11:48:41 +00:00
Lars Kühne
9aab61241e
added IndentationCheck, contributed by John Richardson
...
This check currently fails to pass checkstyle.checkstyle
because most methods are missing javadoc, I hope somebody
can help me adding it
2003-04-25 05:21:27 +00:00
Lars Kühne
ba1663fc94
rfe #528196 , task should output version info
2003-03-29 13:39:22 +00:00
Oliver Burn
f09c190dff
Added support for metadata in the configuration file. This required increasing
...
the version number to 1.1. I thought this made sense, even though the change
was backwardly compatible.
2003-03-29 00:29:25 +00:00
Oliver Burn
77945f2962
Upgrade to ANTLR 2.7.2. There is now no concept of a runtime JAR. Pity, but
...
such is life.
2003-03-28 13:30:15 +00:00
Oliver Burn
5c273c9f39
Patch from Peter Dobratz to remove warnings from <tar> tasks.
2003-03-16 22:00:06 +00:00
Oliver Burn
20325ac897
Another great patch from Peter Dobratz - this time to fix validate.xml
2003-03-16 06:17:41 +00:00
Lars Kühne
491c948d9f
added link to home page (patch by Peter Dobratz)
2003-03-02 07:58:06 +00:00
Lars Kühne
875c87ee57
added use flag to javadoc (patch by Peter Dobratz)
2003-03-01 07:35:40 +00:00
Lars Kühne
476a7dd02f
starting 3.1
2003-02-18 20:39:00 +00:00
Oliver Burn
46e38cf084
going through the motions to silence Lars' computer at night. :-)
2003-02-17 10:17:03 +00:00
Lars Kühne
00fb7f0c18
FileSetChecks are now responsible for filtering
...
out the files they are not interested in, as discussed
on the checkstyle-devel list
2003-02-15 12:13:32 +00:00
Lars Kühne
410111f1dc
reuse checkstyle.checkstyle in checkstyle.style to avoid duplicate code
2003-02-08 17:55:47 +00:00
Lars Kühne
6136db071d
removed support for japanese until we find a new maintainer
2003-02-04 20:27:14 +00:00
Lars Kühne
4c0ef4ed4c
avoid instrumenting the test classes with Clover
...
(finally convinced my boss to license it :-)
2003-01-28 20:00:18 +00:00
Oliver Burn
66ddfb7a2d
make a beta release number
2003-01-10 06:33:17 +00:00
Oliver Burn
cda46fa14a
Changed so that it is possible to build the releases using
...
ANT 1.4.1. Still need to use ANT 1.5+ to run the tests.
Added a helper check to ensure right version of ANT.
2002-12-20 00:34:29 +00:00
Oliver Burn
07593d05c5
Cleaned up all targets - not to ANT-1.4.1
2002-12-19 23:12:33 +00:00
Lars Kühne
e024f6fd18
removed old gui call.
...
take advantage of the new if attribute of the fail task in Ant 1.5
2002-12-15 11:54:31 +00:00
Oliver Burn
8dd310c982
Changes to get the header check going again. I like the
...
change that was made for the properties, it leverages
off the work we did in the 2.4 release to allow properties
to be overriden in the ANT file.
It is now possible to run the checkstyle task from any
directory - nothing is now location specific. This includes
the location of the header file or the DTDs. Good to
finally reach this milestone.
2002-12-07 12:18:57 +00:00
Oliver Burn
52fa475168
Changed to make the XML be validated using the DTD. The
...
DTD is located using a technique that gets it from the JAR
file. Idea "borrowed" from Struts.
2002-12-07 03:28:36 +00:00
Oliver Burn
230d434a19
Copy across the XML files to be in the classpath. This will
...
get the 'run.checkstyle' target to run.
2002-12-06 04:10:49 +00:00
Oliver Burn
2e94e8b498
Can now override the config file
2002-11-25 00:56:24 +00:00
Oliver Burn
fe98987973
Minor cleanup
2002-11-21 10:53:14 +00:00
Oliver Burn
59ef3ec378
fix minor bug
2002-11-14 12:06:45 +00:00
Oliver Burn
c6fcfc3e22
Updated to include the checks package. I am thinking that standard Javadoc is
...
a good way to document our checks. Suggest others generate the Javadoc and
have a look at it.
2002-11-14 12:02:06 +00:00
Rick Giles
4a638fc0e6
Added global-property to DTD.
...
Removed DTD from XML file until fix of ConfigurationLoader
2002-11-14 10:10:27 +00:00
Rick Giles
a5adce4215
added a JUnit TestSuite for all the tests
2002-11-14 00:39:49 +00:00
Oliver Burn
4cbd709c01
This is a really enjoyable commit to make. I have finally got to remove the
...
ugly Verifier class. The only remaining check are based on the new fileset
check that Lars putting together. Magic. :-)
2002-11-13 04:21:21 +00:00
Rick Giles
113081ffce
added task to validate XML files
2002-11-13 00:08:34 +00:00
Oliver Burn
1cea376589
Refactoring the command line processing to use the new Jakarta Commons package
...
http://jakarta.apache.org/commons/cli/ . It is quite a nice package.
2002-11-11 21:52:55 +00:00
Oliver Burn
36af550d96
Changes for clover
2002-11-09 10:32:31 +00:00
Oliver Burn
215db57b5f
changed I added to support Clover - still need to re-factor slightly.
2002-11-07 20:49:40 +00:00
Oliver Burn
e7556f4af6
Fixed more Checkstyle errors.
2002-11-06 02:52:12 +00:00
Lars Kühne
fde1418532
include the new commons jars in checkstyle-all.jar
2002-11-02 18:20:12 +00:00
Oliver Burn
3288a81e30
Just converted over the Checkstyle ANT task to use the new framework. In
...
process I had to fix numerous errors now being reported.
There are some bugs with the method checks, which I will now investigate.
2002-11-02 12:22:14 +00:00
Oliver Burn
2effcfd0bc
Start of conversion to only supporting the new framework. Also refactored
...
error handling.
2002-10-31 12:28:47 +00:00