Radim Kubacki
1e819951c2
commited a patch provided by Andrei Badea <andrei.badea@movzx.net>:
...
1. Fixes the bug where if you slide the results window and invoke Run PMD the results window is docked in the output mode again.
2. Adds a Window - PMD Output action which opens the results window.
3. Allows jumping to a problem by pressing Enter in the results window.
4. Fixes the threading of OutputWindow.
5. Some minor cleanup in RunPMDAction.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4827 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-22 19:54:55 +00:00
Radim Kubacki
e492530a91
reworked impl of f12/Shift-f12 a bit
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4826 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-22 19:21:43 +00:00
Tomasz Slota
79c7222547
actions for jumping to next/previous problem found
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4789 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-13 15:18:48 +00:00
Tomasz Slota
5b1b058a60
bugfix: if PMD scan finds no problems the old scan results are not cleared
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4787 51baf565-9d33-0410-a72c-fc3788e3496d
2006-11-10 09:12:14 +00:00
Radim Kubacki
be5faa39b6
generics
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4768 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-31 06:56:35 +00:00
Radim Kubacki
0bd8ce3bc2
need to cast with NB5.5
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4767 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-31 06:55:49 +00:00
Radim Kubacki
607ad3080d
Switching source level to 1.5
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4762 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-30 21:44:57 +00:00
Radim Kubacki
76d6c7a1ac
builds against trunk (no org.openide.src)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4761 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-30 19:42:27 +00:00
Radim Kubacki
d899a52fb9
few tweaks in logging
...
#77130 : start rescan if it is turn on in options dialog
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4581 51baf565-9d33-0410-a72c-fc3788e3496d
2006-10-06 17:03:27 +00:00
Tomasz Slota
6bdafe06b4
fixed a threading problem
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4522 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-22 12:39:39 +00:00
Tomasz Slota
975616a0a9
- showing search results in a sortable table
...
- showing a number of violations found
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4509 51baf565-9d33-0410-a72c-fc3788e3496d
2006-09-18 18:53:45 +00:00
Radim Kubacki
c502aab3bb
http://www.netbeans.org/issues/show_bug.cgi?id=72197 - ignore R/O files in periodic scan
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4342 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-14 15:25:41 +00:00
Radim Kubacki
a486a00be5
updated to PMD3.6, fixed some deprecations, ready to build new release
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4320 51baf565-9d33-0410-a72c-fc3788e3496d
2006-04-05 13:49:44 +00:00
Radim Kubacki
d46d3b2f07
few problems reported by Martin
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4304 51baf565-9d33-0410-a72c-fc3788e3496d
2006-03-20 20:37:35 +00:00
Radim Kubacki
46f5f0004f
use interface rather than impl class to avoid CCE
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4302 51baf565-9d33-0410-a72c-fc3788e3496d
2006-03-17 18:47:23 +00:00
Radim Kubacki
195704c33d
yet another round of scanning rewrite, dep on editor lib added
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4301 51baf565-9d33-0410-a72c-fc3788e3496d
2006-03-16 14:35:14 +00:00
Radim Kubacki
a7a9fc55c9
removing module install class and larger rewrite of automatic scanning (mostly to address http://www.netbeans.org/issues/show_bug.cgi?id=72766 )
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4300 51baf565-9d33-0410-a72c-fc3788e3496d
2006-03-16 09:13:28 +00:00
Radim Kubacki
2a3b617b1a
license header
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4299 51baf565-9d33-0410-a72c-fc3788e3496d
2006-03-16 08:45:16 +00:00
Radim Kubacki
ab8cfe94e4
#72637 - a lot of garbage printed to log when parsing fails
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4239 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-14 13:41:11 +00:00
Radim Kubacki
57c74ddfe8
#1429406 - can't use Integer.valueOf from 1.5 yet
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4228 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-12 13:36:23 +00:00
Radim Kubacki
9376ba1fb4
Attempt to fix AssertionError when getting input reader - getDocument should not cause init of editor if the file is not opened
...
http://www.netbeans.org/issues/show_bug.cgi?id=71141
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4214 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-09 14:02:42 +00:00
Radim Kubacki
991779b3be
http://www.netbeans.org/issues/show_bug.cgi?id=72298 - mnemonics in options dialog
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4201 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-06 15:04:47 +00:00
Radim Kubacki
cea45ee1e7
http://www.netbeans.org/issues/show_bug.cgi?id=72199 - underline color changed to yellow like warning rather than red (error)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4200 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-06 13:36:12 +00:00
Radim Kubacki
aa5af02970
http://www.netbeans.org/issues/show_bug.cgi?id=72215 - NPE when a rule has no example
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4192 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-03 16:21:40 +00:00
Radim Kubacki
74b6df5d7a
http://www.netbeans.org/issues/show_bug.cgi?id=72017 - NPE when running on some non Java files
...
more reliably closing progress handle
and finally I've writen a test for this
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4188 51baf565-9d33-0410-a72c-fc3788e3496d
2006-02-01 15:29:59 +00:00
Radim Kubacki
4cc6862d8c
updated to PMD-3.5, fixed deprecated RuleViolation.getLine(), dist files built with prefix, depends on NB5.0
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4166 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-27 15:04:08 +00:00
Radim Kubacki
8787c18eb4
Removing old customization node
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4119 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-06 09:25:32 +00:00
Radim Kubacki
68d6a53196
Updated options UI to plug into new NetBeans options dialog.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4118 51baf565-9d33-0410-a72c-fc3788e3496d
2006-01-06 09:23:06 +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
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
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
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
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
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
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
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
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
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