Commit Graph

73 Commits

Author SHA1 Message Date
Lars Kühne 5fa9891d4b we now use jakarta-regexp 1.3 2003-11-05 05:16:08 +00:00
Rick Giles 1952077d3e Changed configuration documentation example from checkstyle_checks.xml
to sun_checks.xml  (see bug 750169)
2003-08-29 19:12:47 +00:00
Rick Giles dd477210ae Custom listeners can be incorported as config modules,
not command line arguments and ant task elements.
2003-07-18 11:31:45 +00:00
Rick Giles 45ce38623f finish custom listeners documentation 2003-05-28 11:56:41 +00:00
Rick Giles f2b01a44a2 Added custom listener feature 2003-05-27 17:33:24 +00:00
Oliver Burn d1eb126cae Patch from Peter Dobratz to make the file xhtml compliant. 2003-03-27 12:12:02 +00:00
Oliver Burn 093b30843e added how to not use a global classpath 2003-03-07 07:51:28 +00:00
Lars Kühne b99f72832a applied patches by Peter Dobratz to make lintlink happy 2003-03-02 09:35:01 +00:00
Lars Kühne 644e610f90 fixed misspelled word, thanks to Paul Roebuck for finding this one 2003-02-11 05:20:58 +00:00
Lars Kühne 0251e062ab added docs for configURL attribute 2003-02-08 18:02:17 +00:00
Lars Kühne ee2e1a5cb3 moved property expansion from api package to private method of ConfigurationLoader (bug #670594)
also added property expansion of ANT properties
2003-01-28 19:56:24 +00:00
Lars Kühne 36c2e45d44 added XML parser as a requirement - easy to forget when you're running JDK 1.4 2003-01-07 19:35:46 +00:00
Lars Kühne e3c72076fd added required jars.
We should add some version info, but I don't know what exactly is required.
2002-12-22 12:08:45 +00:00
Rick Giles ae448434e9 XHTML validated 2002-12-21 11:16:59 +00:00
Rick Giles 3f3e33ccfa version 3.0 documentation.
please double-check examples.
unvalidated - validator site is currently unavailable.
2002-12-20 13:30:15 +00:00
Oliver Burn 98c8a0db55 The absolutely last refactoring change with the properties config stuff. I am
sick it. Absolutely sick of it! Completely and utterly sick of it!! Still, the
change is better for the future.
2002-09-07 02:02:24 +00:00
Oliver Burn 49eb0e934e Yet another refactor to have the ANT task support a nested <property>
element. This let me remove the ugly have I put in to support relative
paths. Got the idea from Vincet Massol. Bug 605141.
2002-09-07 01:36:40 +00:00
Oliver Burn a5bd0522b8 Cleaned up to use the new config files. 2002-09-04 12:28:11 +00:00
Oliver Burn 19815691c6 Added copyright statements (I have lawyers!). Also removed invalid docs from
main documents.
2002-09-04 11:37:28 +00:00
Oliver Burn f8a53831f0 Incorporate patch 555878 from Rick Giles to allow pattern for local final
variables to be specified.
2002-08-21 08:08:43 +00:00
Oliver Burn d92ceb81a6 Implemented enforcing having @version tag. (Request 543964). 2002-08-20 13:08:37 +00:00
Oliver Burn ecc852d48b Added support to specify a country so that the call to the Locale()
constructor is not dependent on JDK 1.4.
2002-08-12 12:10:57 +00:00
Oliver Burn 5890d22a6d Added documentation for localisation and the ability to set the language. 2002-08-12 09:02:41 +00:00
Oliver Burn 7781985a34 Request 582144: added documentation. 2002-08-12 07:40:29 +00:00
Oliver Burn ea371c4f3a Changed the wrap on operator implementation to take an option rather than a
boolean. This allows it to be extended easily in the future.
2002-07-08 03:47:56 +00:00
Oliver Burn bbe51f6884 571161: Added support for basedir attribute. 2002-07-01 01:57:36 +00:00
Oliver Burn d8d9269bbc Added documentation for checkUnusedThrows. 2002-06-16 12:23:37 +00:00
Oliver Burn 3da466b9bf Added check to ensure that long integer literals use L, not l. Also fixed bug
by my over zealous removal of toString() methods.
2002-06-06 11:45:40 +00:00
Oliver Burn 4018efa9fe Refactored the catch block checking code to include try/catch/finally blocks. 2002-06-05 13:17:20 +00:00
Oliver Burn ccd30545e2 Added documentation for checking for wrapping on operators 2002-05-29 13:00:28 +00:00
Lars Kühne da940af362 Implementation, tests and docs for generalization of instantiation check. Users can now specify a list of classes that are not allowed to be instantiated.
This also fixes Bug 556317, Boolean instantiation, as now a config option is provided and the check for java.lang.Boolean is turned off by default
2002-05-28 20:23:00 +00:00
Oliver Burn 1c5c068b3a Updated for catchBlock option 2002-05-26 13:27:36 +00:00
Lars Kühne 4425afa0c2 - #516255, find empty exception handlers. Maybe we should add some
"OK if commented" option, but I don't see how to do that in the grammar.
- initial support for #550205, find instantiations of Boolean. This is not
  configurable yet, and we should generalize it to find instantiation of
  arbitrary types. Docs are also still missing, will write them after
  generalization.
2002-05-15 04:34:59 +00:00
Oliver Burn dfd7310b96 Fix documentation to:
- Include a version number in headings
- Use the ANT <filterset> to update the version number. No longer need to
  update the docs for each release.
2002-05-14 04:33:54 +00:00
Oliver Burn fca8c91804 Request 504275: detect to-do comments 2002-05-13 12:52:55 +00:00
Oliver Burn 9556af52eb Updated the version number. 2002-05-10 11:50:03 +00:00
Lars Kühne a84406be77 doc for tab expansion 2002-05-05 11:45:53 +00:00
Lars Kühne a736b629f8 added documentation for patch 531230, 'add properties file functionality' 2002-04-28 12:53:33 +00:00
Oliver Burn 3ded17ac3d Changed support for parenthesises padding to take an option, rather that being
a boolean of whether to ignore or not. This will allow the adding of more
styles in the future. Good idea Lars! :-)
2002-04-24 14:36:27 +00:00
Oliver Burn 083a7d432a Added option to disable checking for padding of parenthesis. As asked for by
Lars. Eventually should have an option to allow different styles - rather the
current "Sun way" or the "highway.
2002-04-22 10:41:10 +00:00
Lars Kühne caf539ded2 Implementation + docs for rfe 537107, "public" in interface methods 2002-04-21 21:02:57 +00:00
Lars Kühne 00447a8fe3 added check for illegal imports 2002-04-17 04:43:55 +00:00
Lars Kühne 8eb824037e added documentation for regexp-disabling of line-length checks 2002-04-13 08:31:46 +00:00
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 0e0ca2bddf added failureProperty to ant task (RFE 534038) 2002-03-23 17:03:15 +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 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 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