107 Commits

Author SHA1 Message Date
Radim Kubacki
dd5514a1f7 release 1.3 preparation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3881 51baf565-9d33-0410-a72c-fc3788e3496d
2005-10-02 19:56:50 +00:00
Radim Kubacki
c4e2af98f1 removing custom progress component, now it uses NetBeans Progress API
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3726 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-22 07:46:45 +00:00
Radim Kubacki
7d09ccd0f1 fixing dependencies after openide split
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3725 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 18:35:40 +00:00
Radim Kubacki
7ac9af9528 #61150: modified shortcut so it does not clash with find in project
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3724 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 18:33:34 +00:00
Radim Kubacki
aeef1a59db avoid warning in log about backward compatibility
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3723 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 18:31:48 +00:00
Radim Kubacki
77224e2191 enhanced to show markers in error stripe when continous scan is turned on (applies to dev builds of NB only
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3722 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 18:30:04 +00:00
Radim Kubacki
bceac8e5f4 fixing licenses
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3721 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-21 18:26:40 +00:00
Radim Kubacki
84064bbdcb adding few rules that are specific to NetBeans as a library that can be loaded by plugin
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3704 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-15 15:35:03 +00:00
Radim Kubacki
071b4468cf attempt to close output stream
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3703 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-15 15:30:58 +00:00
Radim Kubacki
285434045a updated to pmd-3.2
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3689 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 18:25:48 +00:00
Radim Kubacki
7c109614ae changes described
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3688 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 18:22:34 +00:00
Radim Kubacki
47e77f0eee year updated
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3687 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 18:21:53 +00:00
Radim Kubacki
93439fbffa only a comment
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3686 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 18:18:37 +00:00
Radim Kubacki
c87dabdedd avoiding NPE from explorer when real time scaning is on
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3685 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:24:20 +00:00
Radim Kubacki
fa66cfc2f5 updated
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3684 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:22:32 +00:00
Radim Kubacki
feca50ab29 small change in logging
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3683 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:21:24 +00:00
Radim Kubacki
30550dd643 32x32 icon is not neceseary
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3682 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:19:55 +00:00
Radim Kubacki
b4d57f8556 better category for this module
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3681 51baf565-9d33-0410-a72c-fc3788e3496d
2005-07-10 16:18:56 +00:00
Radim Kubacki
dc79bca223 getting ready for next update release - again some changes in building
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3597 51baf565-9d33-0410-a72c-fc3788e3496d
2005-06-18 21:49:04 +00:00
Radim Kubacki
0a3d71aa9c no action in menu and more details logged when processing fails
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3596 51baf565-9d33-0410-a72c-fc3788e3496d
2005-06-18 21:46:03 +00:00
Colin Wilson-Salt
2383390cbf Additional dependencies on the editor for detecting tab size settings.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3544 51baf565-9d33-0410-a72c-fc3788e3496d
2005-06-08 13:59:03 +00:00
Colin Wilson-Salt
75f26acd1e Cosmetic changes to the annotation underlining - don't underline leading and trailing whitespace.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3543 51baf565-9d33-0410-a72c-fc3788e3496d
2005-06-08 13:57:31 +00:00
Colin Wilson-Salt
6400937d8c Removed some extra imports added while testing PMD.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3539 51baf565-9d33-0410-a72c-fc3788e3496d
2005-06-07 14:18:19 +00:00
Colin Wilson-Salt
2e12325f56 Query the source level of the file being checked, and use a PMD constructed with the correct TargetJDKVersion.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3538 51baf565-9d33-0410-a72c-fc3788e3496d
2005-06-07 14:13:49 +00:00
Radim Kubacki
5517e977a8 few more updates to build correctly
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3506 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-26 20:45:51 +00:00
Radim Kubacki
43c6bee9d2 updating to build against new harness and to use newer PMD version 3.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3505 51baf565-9d33-0410-a72c-fc3788e3496d
2005-05-26 20:26:59 +00:00
Radim Kubacki
d1415e178b Updated to build against and run with NetBeans 4.0 and with PMD 2.1. Added project config files so it can be used as a project in NetBeans
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3101 51baf565-9d33-0410-a72c-fc3788e3496d
2004-12-21 21:43:51 +00:00
Radim Kubacki
5469fdc0cd output lines are ended with newline in 4.x
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3100 51baf565-9d33-0410-a72c-fc3788e3496d
2004-12-21 21:40:42 +00:00
Radim Kubacki
33465aa74b need to use SOURCE classpath (was working in 3.x but not in 4.x)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3099 51baf565-9d33-0410-a72c-fc3788e3496d
2004-12-21 21:39:49 +00:00
Radim Kubacki
807db01009 fixing one deprecation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3098 51baf565-9d33-0410-a72c-fc3788e3496d
2004-12-21 21:38:34 +00:00
Gunnlaugur Thor Briem
541802b466 Require restart, to work around the "Unrecognized settings" bug.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2722 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-28 09:13:23 +00:00
Gunnlaugur Thor Briem
0b5a2f8f3a Miscellaneous snurfussing (cleanup) incl. imports and some minor removal
of extraneous whitespace (mostly wherever I was changing something anyway)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2721 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-28 02:06:26 +00:00
Gunnlaugur Thor Briem
9e9eaa9e3f Tidier build configuration and support for deploying directly into a
NetBeans installation, a la Radim Kubacki's NB trunk build patch. This
simplifies the build-and-test cycle.

Haven't yet applied the full patch; I intend to branch apart NB 3.6 and
NB trunk, since changes in code will be necessary to support NB trunk.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2720 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-27 01:06:50 +00:00
Gunnlaugur Thor Briem
4179a4b874 Forgot to add this one for previous commit; extracted common base class
for AvailableListModel and SelectedListModel (just a cleanliness thing)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2718 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-26 10:12:42 +00:00
Gunnlaugur Thor Briem
d5a3127e58 Hefty commit, see CHANGES.txt; should have split into smaller commits
but won't go to that effort now (sorry!)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2717 51baf565-9d33-0410-a72c-fc3788e3496d
2004-05-26 10:04:37 +00:00
Gunnlaugur Thor Briem
48687d7a1f Add synchronization to avoid concurrent-modification exceptions.
Still need to rethink that use of a static field. Seems suspect.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2646 51baf565-9d33-0410-a72c-fc3788e3496d
2004-04-21 02:33:04 +00:00
Gunnlaugur Thor Briem
3e009f0d0a Fetch the main window (to be parent of ProgressDialog) with proper
synchronization (i.e. in AWT event thread), fixing bug 787144.
Clean up imports and get rid of multiple fetches of the resource
bundle (flagged by a PMD rule violation for duplicate strings :).


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2645 51baf565-9d33-0410-a72c-fc3788e3496d
2004-04-21 01:33:08 +00:00
Gunnlaugur Thor Briem
4969dcfb1b - upgrade to PMD 1.3 (required code update because of tiny PMD API change)
- bump module version to 0.91


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2445 51baf565-9d33-0410-a72c-fc3788e3496d
2003-12-02 17:09:43 +00:00
Gunnlaugur Thor Briem
3fba5448d8 added cvsignore file as suggested by Jesse Glick (along with patch 797000)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2226 51baf565-9d33-0410-a72c-fc3788e3496d
2003-08-29 02:51:35 +00:00
Gunnlaugur Thor Briem
20ef9284a8 Applying the neatly-numbered patch 797000 from Jesse Glick (thanks!)
- UI improvements in the rules customizer


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2224 51baf565-9d33-0410-a72c-fc3788e3496d
2003-08-29 02:37:53 +00:00
Gunnlaugur Thor Briem
1ca5a294bb Applying the neatly-numbered patch 797000 from Jesse Glick (thanks!)
- fix capitalization and spurious whitespace


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2223 51baf565-9d33-0410-a72c-fc3788e3496d
2003-08-29 02:17:35 +00:00
Gunnlaugur Thor Briem
6179e35d29 Adding version separator and PMD update line, for consistency
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2182 51baf565-9d33-0410-a72c-fc3788e3496d
2003-08-13 05:17:25 +00:00
Gunnlaugur Thor Briem
06fcff5af8 Updated version info, and gave myself some credit :-p
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2176 51baf565-9d33-0410-a72c-fc3788e3496d
2003-08-12 23:24:35 +00:00
Gunnlaugur Thor Briem
7ae876cc5a Bumped PMD version
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2175 51baf565-9d33-0410-a72c-fc3788e3496d
2003-08-12 23:24:06 +00:00
Gunnlaugur Thor Briem
5a6e01a3c6 Updated PMD version, and changed default keystore
(makenbm assumes that keystore password is enough,
i.e. that the key itself does not have a separate
password, and this means people will typically not
want to store the pmdkey in their own keystore,
since the password is shared).


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2174 51baf565-9d33-0410-a72c-fc3788e3496d
2003-08-12 23:23:42 +00:00
Gunnlaugur Thor Briem
fb840ce7c7 Updating PMD lib to today's release, version 1.1
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2004 51baf565-9d33-0410-a72c-fc3788e3496d
2003-06-19 21:52:37 +00:00
Gunnlaugur Thor Briem
0979dafd8b Updating to the version from NB 3.5,
for correct support of NBM signing.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2003 51baf565-9d33-0410-a72c-fc3788e3496d
2003-06-19 21:47:25 +00:00
Gunnlaugur Thor Briem
a79ad02a44 Updating copyright statements, as
agreed in email with Ole-Martin.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1971 51baf565-9d33-0410-a72c-fc3788e3496d
2003-06-15 13:37:40 +00:00
Gunnlaugur Thor Briem
8870b42046 Make NBM signable (task 76460).
Sign it by creating your own key in the default keystore location
with Java's keytool, and then passing -Dstorepass=whatever to ant.
Then publish your certificate signature on the website -- or, even
better, sign your certificate with a chain of trust ending in an
official CA, so that people won't have to furrow their eyebrows
about anything ... but then, that costs money :). Ideally we should
have a CA-signed certificate for PMD with which we would sign the
personal key of whoever makes the build -- but of course the key
of that certificate would have to be "closed-source" :)


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1969 51baf565-9d33-0410-a72c-fc3788e3496d
2003-06-15 11:39:36 +00:00
Gunnlaugur Thor Briem
16e8d7bb17 Fixed bug [ 751932 ] Poor behavior with VCS-removed files:
(1) more graceful handling of IOException if it occurs in execution
    (spoils only scanning of that file, not the whole run)

(2) close progress dialog even if execution terminates with IOException

Other (unchecked) exceptions might still bork it though.


git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1965 51baf565-9d33-0410-a72c-fc3788e3496d
2003-06-11 01:14:04 +00:00