Lars Kühne
9a8acc01fd
added example for failureProperty, contribution from Gray Herter [gray _AT_ fgm _DOT_ com]
2002-03-24 09:05:28 +00:00
Lars Kühne
50d5a434f1
removed Eclipse from 'plugins wanted' list
2002-03-24 08:04:32 +00:00
Lars Kühne
0e0ca2bddf
added failureProperty to ant task (RFE 534038)
2002-03-23 17:03:15 +00:00
Oliver Burn
84dbeb17aa
Contribution from Ingmar Stein [IngmarStein _AT_ gmx _DO_ net]
2002-03-22 12:48:52 +00:00
Oliver Burn
f883ca1789
Contribution from Gray Herter [gray _AT_ fgm _DOT_ com]. Usage is:
...
<style in="checkstyle/checkstyle.xml"
out="checkstyle/checkstyle.html"
style="checkstyle/checkstyle-simple.xsl">
</style>
2002-03-22 12:35:50 +00:00
Oliver Burn
2666ced62f
Added reference to Eclipse plug-in
2002-03-21 11:32:34 +00:00
Lars Kühne
190c0e5ca6
Fixed bug introduced during cleanup of duplicate code:
...
Reader cannot be reused by fallback lexer, it would
never see the characters that have been consumed before
the RecognitionException in the first parsing attempt.
Also added comment why the JDK 1.4 grammar is tried first.
2002-03-19 20:26:02 +00:00
Lars Kühne
08c03a7a57
added test for grammar fallback in Checker (assert as identifier)
2002-03-19 20:19:51 +00:00
Lars Kühne
dd476d3368
fix for bug 528358, was introduced in revision 1.17
2002-03-19 19:35:09 +00:00
Lars Kühne
2a7c9dd831
added whitespace checks to assert statement
2002-03-19 06:16:22 +00:00
Oliver Burn
ba441b3fd6
Added doc for allowing tabs.
2002-03-15 14:14:02 +00:00
Oliver Burn
b671e6bb1c
Removed some duplicate code, as I also feel the pain. I like the patch, but
...
I question using the Java14 lexer/recognizer first. Is this because most of
the time it will succeed (especially with 1.4 source:-). Be great if a
comment could be added to the code.
2002-03-14 10:20:46 +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
6b51ac1580
added tests for Configuration serialization
2002-03-06 06:08:00 +00:00
Lars Kühne
ec1e3e8349
fix for bug #522282 , "Cache not invalidated upon param. change"
...
- all classes that contribute to Configuration are now Serializable
- use in-memory serialization to compute a hashcode of the Configuration
- store the hashcode in the cache file
- compare cached hashcode with current hashcode and invalidate cache accordingly
2002-03-05 20:53:04 +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
Lars Kühne
59a8339758
updated tested JREs, fixed bug 517398
2002-02-26 06:03:31 +00:00
Oliver Burn
1a596b6827
Renamed anttasks.properties to checkstyletask.properties. A much clearer name.
2002-02-25 12:15:07 +00:00
Lars Kühne
10691121f4
fixed typo (making vs. maximum)
2002-02-24 16:00:00 +00:00
Lars Kühne
2a1cd247d2
upated feature list to reflect current status
2002-02-24 15:58:47 +00:00
Lars Kühne
15640a8a1a
added documentation for anttasks.properties
2002-02-24 15:56:22 +00:00
Oliver Burn
171e8d02b5
Documented the rcurly option
2002-02-23 11:14:59 +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
Lars Kühne
d3af93d07b
explicitly set tab width to 1 column
...
fixes RFE #520410 (support latest ANTLR versions)
2002-02-23 00:37:53 +00:00
Oliver Burn
05e366ecf3
Fixed errors found by Tidy ( http://www.w3.org/People/Raggett/tidy/ ).
2002-02-22 04:49:30 +00:00
Oliver Burn
2afaad3fa2
Added documentation for the lcurly options.
2002-02-22 04:43:09 +00:00
Oliver Burn
07a9baacf9
Remove a global variable hack.
2002-02-22 04:21:14 +00:00
Oliver Burn
59ce3f31d7
Added support for brace checking on the keywords try, catch, finally, static.
...
What are not covered deliberately are labels and instance initializers.
2002-02-22 04:12:04 +00:00
Oliver Burn
41e2089574
Added support for - for, do, else, synchronized
2002-02-22 03:37:41 +00:00
Oliver Burn
f4860ef3b4
Implemented brace checking for "if" and "while"
2002-02-22 03:11:36 +00:00
Oliver Burn
9943aefac7
Added support for setting the brace option for others + new tests. Now
...
check location of '{' on switch statements.
2002-02-21 23:37:59 +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
c85ec6f26a
Merged the Streamable interface into the AuditListener interface. Having them
...
separate served no real purpose at the moment, except to complicate the
implementation.
2002-02-20 23:19:08 +00:00
Oliver Burn
339a7f5475
Fixed a checkstyle error
2002-02-20 23:09:01 +00:00
Oliver Burn
e10faf3315
First cut at doing left curly checking for methods. This is definitely a work
...
in progress that will change a lot as I add checking for other constructs. I
always tend to evolve to the general solution. :-)
2002-02-20 23:08:21 +00:00
Oliver Burn
73f1a6f70f
Added format for method braces
2002-02-20 23:05:17 +00:00
Oliver Burn
1fd18cde7b
Now support setting the left curly placement option for methods. I am
...
implementing this example first, before doing it for types, statics, arrays,
anon inners, etc.
2002-02-20 02:52:27 +00:00
Oliver Burn
14d5ead27a
First cut at an options class for placement of left curly braces
2002-02-19 22:54:47 +00:00
Oliver Burn
048d0cdaf4
Changed the error reporting format for the modifier order check. In using the
...
feature, I found that it was very helpful to know which modifier to correct.
2002-02-19 22:52:49 +00:00
Oliver Burn
22885be800
Fixed checkstyle error
2002-02-19 22:39:35 +00:00
Oliver Burn
e61ba618f2
Scaring myself, but writing the documentation first for the brace checking.
2002-02-19 02:50:35 +00:00
Oliver Burn
5e4b582734
Fixed the Javadoc comment. Not sure if the old style will create valid
...
output.
2002-02-18 00:37:04 +00:00
Lars Kühne
b7c466d38c
replaced Netbeans from the list of IDE's missing Checkstyle integration
...
instead added VisualCafe
2002-02-17 10:52:11 +00:00
Oliver Burn
b174220a66
Made Defn public so it can be reference outside the package
2002-02-16 22:13:59 +00:00
Oliver Burn
d097038b81
added reference to nbCheckstyle
2002-02-16 22:07:30 +00:00
Oliver Burn
946f15a105
Contribution of a stylesheet from Stephane Bailliez (who wrote it) and
...
Scott McCrory (who organised it).
2002-02-16 21:49:05 +00:00
Lars Kühne
faf76530d8
RFE #514033 , check order of modifiers (implementation, test, and documentation)
2002-02-15 06:47:51 +00:00
Oliver Burn
c9db9f82e2
Just some small refactoring
2002-02-11 05:38:09 +00:00
Lars Kühne
913028d7f2
Implementation, docs and test for RFE 438478, ignore multiple lines in header.
...
This change is compatible for command line, Ant, and API.
The API compatibility resulted in some deprecated methods in Configuration,
you can remove them if you think that API compatibility is not as
important as clean code.
2002-02-10 18:29:10 +00:00