476 Commits

Author SHA1 Message Date
Clément Fournier
63e22779bc Enforce fx:id naming convention
Refs pmd/build-tools#7
2018-05-31 07:41:38 +02:00
Akshat Bahety
8d24a06385 Updated the UI (still some work left) , Working on the fileNames in the list view , about the UI I think this shouldn't be scalable as the components would be just too much out of place , and about showOpenMultipleDialog there need to be a cast in place which throws an exception so I have kept the showOpenDialog till now. Will be working on classPathGenerator tomorrow. 2018-05-31 02:42:56 +05:30
Akshat Bahety
eefecf692a Merge branch 'master' of https://github.com/akshatbahety/pmd 2018-05-30 22:39:36 +05:30
Akshat Bahety
b16b8f9ccb Merge remote-tracking branch 'upstream/master' 2018-05-30 22:30:50 +05:30
Clément Fournier
95ac9691d3 Fix NPE, controller not found 2018-05-30 18:29:48 +02:00
Akshat Bahety
61a5d1494b auxClassPath UI 2018-05-30 15:21:37 +05:30
Juan Martín Sotuyo Dodero
a788d4b586 [maven-release-plugin] prepare for next development iteration 2018-05-29 13:58:54 -03:00
Juan Martín Sotuyo Dodero
e9d78ede3c [maven-release-plugin] prepare release pmd_releases/6.4.0 2018-05-29 13:58:44 -03:00
Andreas Dangel
3c6a292407 Merge branch 'master' into java10-basic-support 2018-05-28 21:28:12 +02:00
Clément Fournier
a6062bd5a4 Merge branch 'pr-1148' 2018-05-27 18:05:28 +02:00
Clément Fournier
e13c9f3fff Fix designer bug with language selection
The autorefresh didn't take into account the case where the language or XPath version
changes, making the choiceboxes useless
2018-05-26 21:41:16 +02:00
Clément Fournier
db50f9fb60 Merge branch 'pr-1137' 2018-05-26 21:15:00 +02:00
Clément Fournier
14e575de33 Cleanups
Formatting, a bit of doc, add padding around labels in UI
2018-05-26 21:14:30 +02:00
Akshat Bahety
b63321ab9c Updates 2018-05-26 22:58:55 +05:30
Akshat Bahety
46951e362a Updates 2018-05-26 19:14:23 +05:30
Juan Martín Sotuyo Dodero
7572a49d35 [java] Deprecate the old typeof function
- Have new functions typeIs() and typeIsExactly() with simpler syntaxes
 - Nag about the deprecated usage of the old method
 - Replace all internal usages with the new one
 - Have the functions use the TypeHelper to avoid multiple separate
implementations of the same behavior
 - Tidy up a little the TypeHelper
2018-05-26 06:01:56 -03:00
Clément Fournier
3c3883ef8b Fix designer XPath panel popup showing up on double click
It was very easy to trigger accidentally and was annoying
2018-05-26 08:36:21 +02:00
Akshat Bahety
1efe2ad87d Code Format 2018-05-26 10:17:47 +05:30
Akshat Bahety
830809e91b Auto XPath Expression Update 2018-05-26 09:52:12 +05:30
Akshat Bahety
f07f0b8fff Merge branch 'master' of https://github.com/pmd/pmd 2018-05-25 22:51:06 +05:30
Clément Fournier
dcd05a7e5b Fix bug with XPath exceptions in the designer
They would be logged to stderr and not forwarded to the event log
2018-05-25 04:12:05 +02:00
Akshat Bahety
6f2cbfc613 Removed RefreshAST from Designer 2018-05-25 00:43:31 +05:30
Akshat Bahety
beabf09339 Checkstyle Updates 2018-05-24 02:20:46 +05:30
Akshat Bahety
b4b22e96b8 Checkstyle Updates 2018-05-24 01:03:44 +05:30
Akshat Bahety
7d5b44cd8a Merge Conflicts 2018-05-23 02:18:04 +05:30
Akshat Bahety
c272f5251d Removes the need to use RefreshAST every time 2018-05-23 02:03:40 +05:30
Andreas Dangel
ae3900451e [ui] add "var" as keyword for syntax highlighter 2018-05-21 11:26:26 +02:00
Juan Martín Sotuyo Dodero
75ea178df4 Merge branch 'pr-1053' 2018-05-20 02:55:25 -03:00
Clément Fournier
08a37c75cb Avoid some unnecessary computations
They're possibly expensive, eg tree traversal
2018-05-01 18:16:08 +02:00
Andreas Dangel
85874e7e9c [maven-release-plugin] prepare for next development iteration 2018-04-29 09:54:45 +02:00
Andreas Dangel
10c66fbf38 [maven-release-plugin] prepare release pmd_releases/6.3.0 2018-04-29 09:54:36 +02:00
Clément Fournier
7d7c2dc94a Add known issue disclaimer 2018-04-26 15:02:55 +02:00
Clément Fournier
dcf1a94cf8 Fix bug with empty scopes appearing with no parents
Not sure hiding empty scopes adds much, but it certainly does mess with the
current algorithm
2018-04-26 14:42:19 +02:00
Clément Fournier
930bdd235c Checkstyle + pmd 2018-04-26 14:42:19 +02:00
Clément Fournier
8c2cc4f792 Fix clicking on already selected tree item
The editor now scrolls back to the clicked node
2018-04-26 14:42:19 +02:00
Clément Fournier
5e819c5826 Make the ast treeview autoscroll when selecting a node that's not
visible
2018-04-26 14:42:12 +02:00
Clément Fournier
a24d2cdb22 Add Generate XPath from stack trace in context menu
The dialog parses a stack trace into an XPath query.
2018-03-29 16:47:30 +02:00
Juan Martín Sotuyo Dodero
5bc18b8298 Fix checkstyle warnings 2018-03-29 02:12:02 -03:00
Clément Fournier
4253e8717e Improvements to designer syntax highlighting 2018-03-26 18:23:48 +02:00
Andreas Dangel
f3ab54d6da [maven-release-plugin] prepare for next development iteration 2018-03-26 09:23:23 +02:00
Andreas Dangel
59b360a60a [maven-release-plugin] prepare release pmd_releases/6.2.0 2018-03-26 09:23:14 +02:00
Clément Fournier
ea700d84ec Fix designer 2018-03-24 23:48:46 +01:00
Clément Fournier
ee85254bd0 Merge branch 'master' 2018-03-24 19:05:13 +01:00
Andreas Dangel
f335e83043 Cleanup pom.xml files 2018-03-23 10:21:16 +01:00
Andreas Dangel
f2c8b5e2e8 Make the project be importable by IntelliJ IDEA
See https://youtrack.jetbrains.com/issue/IDEA-188690
2018-03-21 21:54:31 +01:00
Clément Fournier
4154a5931e Add qname resolution step to the designer 2018-03-19 14:25:00 +01:00
Andreas Dangel
8bd1e3b486 Fix PMD dogfood: UncommentedEmptyMethodBody, SimplifyBooleanReturns,
UnnecessaryLocalBeforeReturn, OptimizableToArrayCall,
ClassWithOnlyPrivateConstructorsShouldBeFinal,
UseLocaleWithCaseConversions, NonStaticInitializer, UseCollectionIsEmpty
2018-03-10 12:04:50 +01:00
Andreas Dangel
cf88117820 Fix PMD dogfood: UnusedFormalParameter, UselessParentheses and UselessOverridingMethod 2018-03-09 12:52:20 +01:00
Andreas Dangel
f3a358c419 Fix PMD dogfood: EmptyCatchBlock 2018-03-09 09:58:04 +01:00
Andreas Dangel
4ace14899c Fix PMD dogfood: UnusedPrivateField
Refs #361
2018-03-09 09:57:15 +01:00