1760 Commits

Author SHA1 Message Date
Tom Copeland
c68e94d872 Added support for C++ to CPD
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1735 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-11 14:40:54 +00:00
Gunnlaugur Thor Briem
8acbeb28e6 Applied patch 716247 (adapt to 3.5 API changes).
This makes the code on trunk incompatible with the latest stable version
of Netbeans (3.4.1). Compatibility with that version is maintained on
branch NB_3_5_COMPATIBLE (which in turn is not compatible with NB 3.5)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1734 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-11 01:16:12 +00:00
Tom Copeland
f65bbe7604 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1731 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-10 20:12:47 +00:00
Tom Copeland
b62856d797 Removed some old files
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1730 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-10 20:11:18 +00:00
Tom Copeland
cdb29605c3 More tests; more validation on the Ant task
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1729 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-10 19:53:21 +00:00
Ole-Martin Mork
e7154d43b7 More work on the scanner
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1728 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-10 19:48:06 +00:00
Tom Copeland
e26452059a Added some more verbose printing stuff to the Ant task
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1727 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-10 17:48:00 +00:00
Tom Copeland
bab2b51508 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1726 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-10 02:42:23 +00:00
Tom Copeland
2ce04daee8 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1725 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-10 02:42:22 +00:00
Tom Copeland
4ab930ad59 Added jar files
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1724 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-10 02:40:07 +00:00
Tom Copeland
97ed3507c5 Initial revision
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1721 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-10 02:38:03 +00:00
Tom Copeland
df0fdb082c Added a utility target
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1720 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-09 21:16:20 +00:00
Tom Copeland
4891104482 Added ConditionalAndExpression back to the grammar as requested by Nanne Baars
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1719 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-09 20:48:01 +00:00
Tom Copeland
27f4a56e49 Made relative file paths work right in CPDTask; thx to Sameer Nanda for the bug report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1718 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-09 18:15:15 +00:00
Tom Copeland
2166615265 tweaked to look nicer on the web site
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1717 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-09 17:07:21 +00:00
Tom Copeland
bc7cc7d69c Added Jiger to the project
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1716 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-09 16:34:34 +00:00
Tom Copeland
60db38be53 Removed some old experimental junk - it'll be rewritten when its time comes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1715 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 20:22:06 +00:00
Tom Copeland
8cfbc7659e Minor refactoring, some more tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1714 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 20:13:19 +00:00
Tom Copeland
24400ff482 Minor refactoring
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1713 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 19:49:16 +00:00
Gunnlaugur Thor Briem
13c8e43fd4 Applied patch 46921 for tracker item 716243
(fix NPE in pmd-netbeans) by initializing all
options with (seemingly sensible) defaults.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1712 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 19:00:13 +00:00
Gunnlaugur Thor Briem
77bcf4f674 Changed jaxen and saxpath references to make build work.
Presumably Tom (and whoever else was making pmd builds)
have these previous references fulfilled in their local
repositories, and they were since changed on ibiblio?
In any case, those dependencies are no longer fulfilled
by the ibiblio repository, hence this change.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1711 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 18:50:15 +00:00
Tom Copeland
2d47008550 Tweaked CPD Ant task to print a summary if no problems are found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1710 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 18:46:25 +00:00
Tom Copeland
b8cafe4f48 *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1709 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 16:42:18 +00:00
Tom Copeland
34773a70bd Added Gunnlaugur Thor Briem to the committer list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1708 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 16:38:56 +00:00
Tom Copeland
e486ef0dfe Made error message clearer; thanks to Colin Simmonds for the bug report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1707 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 16:04:14 +00:00
Tom Copeland
7492529cad Made error message clearer; thanks to Colin Simmonds for the bug report
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1706 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-08 16:02:12 +00:00
Tom Copeland
e249deb087 Fixed bug in the 'source code slice' logic
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1705 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 19:23:55 +00:00
Tom Copeland
a6dc42a493 Some minor refactoring - method renaming, removed an unnecessary check
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1704 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 19:14:22 +00:00
Tom Copeland
03c82b17a3 Fixed bug in MatchAlgorithm - a Mark should not include TokenEntry.EOF
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1703 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 18:15:33 +00:00
Tom Copeland
9c9884209d More tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1702 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 17:57:21 +00:00
Tom Copeland
53f0b3fc8d More tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1701 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 17:36:27 +00:00
Tom Copeland
da53c0e1dd More tests
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1700 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-07 16:52:43 +00:00
Tom Copeland
b8e16fd71d Refactoring report so that an IDE can get to the stuff it needs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1699 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 21:15:19 +00:00
Tom Copeland
e48a201e94 Refactoring report so that an IDE can get to the stuff it needs
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1698 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 21:05:32 +00:00
Tom Copeland
caf4fbbe7b *** empty log message ***
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1697 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 15:43:58 +00:00
Tom Copeland
9caf68e785 Fixed another bug thx to Adam Nemeth
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1696 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 15:30:17 +00:00
Tom Copeland
b082a5a82d Fixed bug thx to Adam Nemeth
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1695 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-04 15:17:50 +00:00
Tom Copeland
6da91892c6 tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1694 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 22:17:10 +00:00
Tom Copeland
a553f28419 Changed an attribute name on the CPD Ant task to make its purpose clearer
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1693 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 22:16:56 +00:00
Tom Copeland
e82483e5a8 a little more automation on the web site upload
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1692 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 21:15:17 +00:00
Tom Copeland
7886c6c79e Modified CPD Ant task to use FileSets; added a verbose attribute as well
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1691 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 21:11:42 +00:00
Tom Copeland
94f35ef853 hey, ncftpput takes n filenames as a parameter! sweet
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1690 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 20:39:41 +00:00
Tom Copeland
e0f8f0d2db imports cleanup
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1688 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 19:41:38 +00:00
Tom Copeland
d8a4cb00b7 Optimized saving properties - now that's done in one file access vs N (where N == number of rules)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1687 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 19:41:01 +00:00
Tom Copeland
10113cd426 rls preps
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1686 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 16:57:24 +00:00
Tom Copeland
d649d4348d initial impl of saving rule settings to a central file
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1685 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 16:43:17 +00:00
Tom Copeland
7e5f6dc0ae halfway to getting settings to save in other location
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1684 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 16:19:28 +00:00
Tom Copeland
6e99fb264c Added a getMatches() to CPD
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1683 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-03 14:32:09 +00:00
Tom Copeland
d4e1330807 Various refactorings aimed towards getting rid of the redundant list of tokens. Not quite there yet, but getting closer
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1682 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-02 21:52:33 +00:00
Tom Copeland
c09291cf21 Refactored Match to allow for more than two marks
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1681 51baf565-9d33-0410-a72c-fc3788e3496d
2003-04-02 19:33:26 +00:00