Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
264 commits
Select commit Hold shift + click to select a range
2a24bf4
Merge branch 'master' of github.com:PCGen/pcgen
karianna Jul 4, 2023
b2eb444
Fixed: Updated expected templates (csheet files) (#6885)
Vest Jul 7, 2023
037ede2
Merge branch 'master' of github.com:PCGen/pcgen
karianna Jul 7, 2023
78ec523
Fix Goldielocks
LegacyKing Jul 7, 2023
461ba57
Movement wasn't connected. Fix Movement. (Precursor to moving to new …
LegacyKing Jul 7, 2023
e281873
Fixed: Updated expected templates (csheet files) (#6887)
Vest Jul 7, 2023
5bba2d0
Merge branch 'master' of github.com:PCGen/pcgen
karianna Jul 7, 2023
765bb11
Update the SF Mechanic Character to incorporate updates
LegacyKing Jul 7, 2023
909f876
Update the SF Soldier
LegacyKing Jul 7, 2023
ee31753
Fix the Master Crafter feat
LegacyKing Jul 8, 2023
d552266
Fix Unreferenced Campaign sources
LegacyKing Jul 8, 2023
b9c29a9
Fix Choose for Wind Dance Martial Arts Style
LegacyKing Jul 8, 2023
43ecd1b
Minor fix for Variant Tiefling Ability
LegacyKing Jul 8, 2023
3667ac0
Allow 1-hander slashing weapons to qualify for Slashing Grace (Falcat…
LegacyKing Jul 8, 2023
ce7da98
Remove illegal ’ and convert to proper ' from PRECAMPAIGN tag.
LegacyKing Jul 8, 2023
4c2c660
Fixed integration tests related to Startfinder (#6890)
Vest Jul 9, 2023
d9a1014
Merge branch 'master' of github.com:PCGen/pcgen
karianna Jul 9, 2023
af9e9e1
Fix Data Size issues
LegacyKing Jul 9, 2023
e461268
Fix Orphaned File error
LegacyKing Jul 9, 2023
db4aab9
Create stub for Blood of the Ancient - removes an orphan issue and ca…
LegacyKing Jul 9, 2023
25992c4
DATA-4325 Typo in Inner Sea Races
pokemonpasta Jul 9, 2023
a038d96
Merge branch 'master' of github.com:PCGen/pcgen
karianna Jul 9, 2023
0e1b789
Fixed a bug, when the OutputPanel couldn't show the file chooser dial…
Vest Jul 10, 2023
618ca10
Merge branch 'master' of github.com:PCGen/pcgen
karianna Jul 10, 2023
b9ac98f
Bump org.springframework:spring-beans from 6.0.10 to 6.0.11 (#6899)
dependabot[bot] Jul 15, 2023
9705fae
Bump org.springframework:spring-web from 6.0.10 to 6.0.11 (#6898)
dependabot[bot] Jul 15, 2023
bb63a44
Bump org.springframework:spring-core from 6.0.10 to 6.0.11 (#6897)
dependabot[bot] Jul 15, 2023
6fd0194
gradle investigation
karianna Jul 15, 2023
cefd280
Merge branch 'master' of github.com:PCGen/pcgen
karianna Jul 15, 2023
90b59ea
Newsource 424 (#6901)
LegacyKing Jul 24, 2023
cec0548
Newsource 435 (#6900)
LegacyKing Jul 24, 2023
1a0b389
Bump org.junit.jupiter:junit-jupiter-params from 5.9.3 to 5.10.0 (#6902)
dependabot[bot] Jul 24, 2023
d1cb8a4
Bump org.junit.platform:junit-platform-runner from 1.9.3 to 1.10.0 (#…
dependabot[bot] Jul 24, 2023
5d2ae5b
Bump org.junit.jupiter:junit-jupiter-api from 5.9.3 to 5.10.0 (#6905)
dependabot[bot] Jul 24, 2023
0137e00
Bump org.junit.jupiter:junit-jupiter-engine from 5.9.3 to 5.10.0 (#6903)
dependabot[bot] Jul 24, 2023
d88ed17
Bump org.junit.platform:junit-platform-launcher from 1.9.3 to 1.10.0 …
dependabot[bot] Jul 25, 2023
30b101f
Fixed #6901: fixed the Piazo - Near Space cover. (#6907)
Vest Jul 27, 2023
d061a26
Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0 (#6908)
dependabot[bot] Jul 28, 2023
f5a176f
Bump edu.sc.seis.launch4j from 3.0.3 to 3.0.4 (#6909)
dependabot[bot] Aug 1, 2023
139289f
Bump com.github.spotbugs from 5.0.14 to 5.1.0 (#6910)
dependabot[bot] Aug 1, 2023
b47da57
Merge branch 'master' of github.com:PCGen/pcgen
karianna Aug 3, 2023
8b241fc
Bump com.github.spotbugs from 5.1.0 to 5.1.1
dependabot[bot] Aug 4, 2023
e159948
Merge branch 'master' of github.com:PCGen/pcgen
karianna Aug 6, 2023
bc6948c
Bump com.github.spotbugs from 5.1.1 to 5.1.2 (#6912)
dependabot[bot] Aug 9, 2023
742bcb5
Spaces before tags; symbols we avoid; and outputsheet improvements
LegacyKing Aug 17, 2023
741f768
Merge branch 'master' of github.com:PCGen/pcgen
karianna Aug 20, 2023
db59784
Bump com.github.spotbugs from 5.1.2 to 5.1.3 (#6913)
dependabot[bot] Aug 20, 2023
f7943c8
Bump org.apache.xmlgraphics:fop from 2.8 to 2.9 (#6915)
dependabot[bot] Aug 22, 2023
93ddca2
Merge branch 'master' of github.com:PCGen/pcgen
karianna Aug 22, 2023
1ab46cb
merge conflicts
karianna Oct 2, 2023
69e59ef
Merge branch 'master' of github.com:PCGen/pcgen
karianna Oct 3, 2023
73ba1f3
fix checkstyle warning
karianna Nov 5, 2023
571bd4c
Merge branch 'master' of github.com:PCGen/pcgen
karianna Nov 5, 2023
e0b961b
merge conflicts
karianna Sep 30, 2024
8a114a1
merge conflicts
karianna Nov 22, 2024
4213a98
Added initial GH action support
Vest Nov 22, 2024
4d6772e
Upgraded gradle wrapper to 8.11.1.
Vest Nov 22, 2024
89188be
Added testing to gh-action.
Vest Nov 22, 2024
3d1400a
First attempt to log data in test. It failed in GH actions.
Vest Nov 22, 2024
2cf3d44
Added the logging to all tests.
Vest Nov 22, 2024
0f6b522
Added gradle cache to a github action setup-java.
Vest Nov 22, 2024
3e474f9
Disabled logging, but added the test results upload.
Vest Nov 22, 2024
44a4cd7
Enabled "write" permissions for test results
Vest Nov 22, 2024
ccf45fd
Refactored TestHelper.java
Vest Nov 22, 2024
78968a1
Updated cache-dependency-path.
Vest Nov 25, 2024
797b24f
First attempt to cache build/classes and build/jre
Vest Nov 25, 2024
4b2d667
Corrected a typo in gradle.yml
Vest Nov 25, 2024
38eab4b
Try to clear the cache and fill it with values.
Vest Nov 25, 2024
2af5e06
Merge branch 'master' into gh_build
Vest Dec 20, 2024
5b85e17
First step to remove NSIS from the distro;
Vest Dec 22, 2024
ea32a3a
Performance optimization: the debugPrint (when called frequently) use…
Vest Dec 22, 2024
4effb4f
Refactored Logging.java.
Vest Dec 22, 2024
13b9398
Merge branch 'master' of github.com:PCGen/pcgen
karianna Dec 24, 2024
c8495ca
Upgraded gradle-wrapper from 8.11.1 to 8.12
Vest Dec 24, 2024
505d668
Remove .run/ from git repository, because it tracked by mistake in #7056
Vest Dec 24, 2024
5dfc7e0
Refactored several classes. The main goal was adding the Optional to …
Vest Dec 24, 2024
efd9bd9
Merge pull request #2 from PCGen/master
Vest Dec 24, 2024
e049370
Corrected pf_Cleric test;
Vest Dec 27, 2024
e29ad64
Remove "public" and "abstract" for several interfaces (redundant)
Vest Dec 27, 2024
f6466bf
Merge branch 'master' into gh_build
Vest Jan 5, 2025
01b97b5
Added more logging to PcgenFtlTestCase.java (it will help to determin…
Vest Jan 11, 2025
373f2b1
Trimmed different *.xml inputs.
Vest Jan 11, 2025
acd1482
Updated build.gradle - disable security manager for all Test Gradle "…
Vest Jan 11, 2025
ec70b26
Added JavaDoc to Exit* and GracefulExit classes.
Vest Jan 11, 2025
623933e
Resolved warnings for Gradle 8.12: "Space-assignment syntax in Groovy…
Vest Jan 12, 2025
66cebf9
Moved GracefulExit from test to main (util).
Vest Jan 12, 2025
0717621
Refactored CommandLineArguments.java to avoid hidden System.exit calls.
Vest Jan 12, 2025
4b1146e
Corrected failed int (slow) tests
Vest Jan 12, 2025
113a305
Corrected a wrong assertion message
Vest Jan 12, 2025
59833c5
Removed SystemExitInterceptor.java, because it was deprecated;
Vest Jan 13, 2025
857ba4b
Merge branch 'master' into gh_build
Vest Jan 13, 2025
beb34d2
Added a checkstyle rule that prevents the project from System.exit us…
Vest Jan 13, 2025
98e865c
Use the latest version of Freemarker template engine.
Vest Jan 13, 2025
d299d04
Resolved warnings from Gradle.
Vest Jan 13, 2025
8b14c4d
Resolved comments from Github PR.
Vest Jan 14, 2025
198ca33
Merge pull request #3 from Vest/master
Vest Jan 15, 2025
e06d5b4
JaCoCo was added to github actions - now it shows the high-level code…
Vest Jan 31, 2025
05bc739
Merge branch 'master' into gh_build
Vest Jan 31, 2025
a03e8da
Create a jpackage build.
Vest Feb 1, 2025
cbe681d
First attempt to build releases for all OSes.
Vest Feb 1, 2025
095b1ed
Changed the event to build a release conditionally.
Vest Feb 1, 2025
1f6a122
Update gradle-release.yml
Vest Feb 1, 2025
21c2248
Corrected the artifact name
Vest Feb 1, 2025
24b463c
Attempt to create releases
Vest Feb 1, 2025
aebc6a4
Attempt to create releases (v2)
Vest Feb 1, 2025
995136a
Corrected the artifact creation.
Vest Feb 1, 2025
00f09c1
Attempt to create one more release
Vest Feb 1, 2025
592f9e6
Updated JDK from 21.0.5 to 21.0.6
Vest Feb 2, 2025
9febf0c
Corrected a build for Windows (at least).
Vest Feb 5, 2025
40e5157
Added ubuntu-24-arm
Vest Feb 10, 2025
09f54e6
Merge branch 'master' into gh_build
Vest Feb 10, 2025
3175c23
Added a hotfix to repair linux-arm build.
Vest Feb 10, 2025
717adc9
Merge branch 'master' of github.com:PCGen/pcgen
karianna Feb 13, 2025
3244d91
Merge branch 'refs/heads/master' into gh_build
Vest Mar 1, 2025
e77a2d1
Merge branch 'refs/heads/master' into gh_build
Vest Apr 2, 2025
2bb2f77
Update Gradle wrapper to version 8.13 and fix output formatting in gr…
Vest Apr 2, 2025
f47ed9d
Merge branch 'refs/heads/master' into gh_build
Vest May 4, 2025
10599f5
Update Gradle wrapper to version 8.14
Vest May 4, 2025
2bd9d44
Removed jar-export-plugins from pluginbuild.xml
Vest May 6, 2025
dbb8d2d
Update Appveyor config to adjust Gradle commands and formatting
Vest May 6, 2025
489afac
Remove Ant-based build files for Gradle-only build system
Vest May 6, 2025
3228591
Update properties and refine Gradle plugin Jar tasks
Vest May 6, 2025
4bf5e6d
Refactor code style by removing unnecessary whitespace and updating m…
Vest May 9, 2025
bf30f79
Refactored and changed files that didn't pass ```gradle checkstyleMai…
Vest May 9, 2025
7a8cd9e
Refactored and changed files that didn't pass ```gradle checkstyleMai…
Vest May 9, 2025
beb35db
Refactor PluginClassLoader
Vest May 10, 2025
b35be04
Add plugins.gradle to Gradle configuration for release and test workf…
Vest May 10, 2025
f7ee009
Merge branch 'master' into gh_build
Vest Aug 4, 2025
3d482c1
Update Gradle wrapper to version 9.0.0 and fix classpath configuratio…
Vest Aug 4, 2025
ce371bc
Update JavaFX version to 21.0.8 and improve URIFactory error handling…
Vest Aug 4, 2025
db579b8
Improve README formatting and grammar for clarity and consistency
Vest Aug 4, 2025
8d4df31
Refactor test task configurations to use correct directory paths for …
Vest Aug 4, 2025
a345d28
Set name and description for code review agent
karianna Oct 5, 2025
20d9da8
Create Security Review Agent documentation
karianna Oct 5, 2025
86ead86
Rename my-agent.md to my-code-review-agent.md
karianna Oct 5, 2025
c1d1e30
Merge branch 'master' of github.com:PCGen/pcgen
karianna Oct 12, 2025
2c84e66
Changed PluginBuildTest, because the new plugins are built from corre…
Vest Oct 16, 2025
5b64be3
Merge branch 'master' into gh_build
Vest Oct 16, 2025
f18e0e6
Updated Java to 21.0.8 (mac aarch64)
Vest Oct 16, 2025
7a7c095
Merge branch 'master' of github.com:karianna/pcgen
karianna Oct 23, 2025
68cfb1d
Merge branch 'master' into gh_build
Vest Nov 5, 2025
61ed417
Update Gradle wrapper to version 9.2.0 and refactor dependency declar…
Vest Nov 5, 2025
246ab50
Update Java&JavaFX to 25.0.1 and JaCoCo to 0.8.14 versions in build.g…
Vest Nov 5, 2025
7d9d599
Add native access flags for JavaFX modules in distribution.gradle
Vest Nov 9, 2025
b8384d4
Refactor JavaFX resource loading by introducing PanelFromResource uti…
Vest Nov 10, 2025
810228d
Reverted a part of #7462, that broke DescriptionTest.
Vest Nov 15, 2025
1910d4b
Update FXML files to use JavaFX 25.0.1 namespace
Vest Nov 15, 2025
8181e05
Merge branch 'master' into gh_build
Vest Nov 25, 2025
3f5c96f
Corrected checkstyle findings
Vest Nov 25, 2025
1088549
Added initial GH action support
Vest Nov 22, 2024
96534ac
Upgraded gradle wrapper to 8.11.1.
Vest Nov 22, 2024
be7afc9
Added testing to gh-action.
Vest Nov 22, 2024
00b5746
First attempt to log data in test. It failed in GH actions.
Vest Nov 22, 2024
4a23cca
Added the logging to all tests.
Vest Nov 22, 2024
c66e964
Added gradle cache to a github action setup-java.
Vest Nov 22, 2024
7265225
Disabled logging, but added the test results upload.
Vest Nov 22, 2024
b0f8897
Enabled "write" permissions for test results
Vest Nov 22, 2024
19d32c5
Refactored TestHelper.java
Vest Nov 22, 2024
f30dcef
Updated cache-dependency-path.
Vest Nov 25, 2024
ab2ee9f
First attempt to cache build/classes and build/jre
Vest Nov 25, 2024
a3844c1
Corrected a typo in gradle.yml
Vest Nov 25, 2024
2f87383
Try to clear the cache and fill it with values.
Vest Nov 25, 2024
306cee4
First step to remove NSIS from the distro;
Vest Dec 22, 2024
2d3d67c
Performance optimization: the debugPrint (when called frequently) use…
Vest Dec 22, 2024
5966729
Refactored Logging.java.
Vest Dec 22, 2024
d507a4d
Upgraded gradle-wrapper from 8.11.1 to 8.12
Vest Dec 24, 2024
6650a42
Remove .run/ from git repository, because it tracked by mistake in #7056
Vest Dec 24, 2024
6926296
Refactored several classes. The main goal was adding the Optional to …
Vest Dec 24, 2024
31954ae
Updated PMD to 7.17
Vest Dec 1, 2025
2555af3
Merge branch 'master' into gh_build
Vest Dec 1, 2025
d14f1d7
Corrected pf_Cleric test;
Vest Dec 27, 2024
8ef8a98
Remove "public" and "abstract" for several interfaces (redundant)
Vest Dec 27, 2024
8a2d6f3
Added more logging to PcgenFtlTestCase.java (it will help to determin…
Vest Jan 11, 2025
4023e59
Trimmed different *.xml inputs.
Vest Jan 11, 2025
d046643
Updated build.gradle - disable security manager for all Test Gradle "…
Vest Jan 11, 2025
19d4310
Added JavaDoc to Exit* and GracefulExit classes.
Vest Jan 11, 2025
e03f054
Resolved warnings for Gradle 8.12: "Space-assignment syntax in Groovy…
Vest Jan 12, 2025
bd78ddf
Moved GracefulExit from test to main (util).
Vest Jan 12, 2025
0118a22
Refactored CommandLineArguments.java to avoid hidden System.exit calls.
Vest Jan 12, 2025
6cf7525
Corrected failed int (slow) tests
Vest Jan 12, 2025
27c080a
Corrected a wrong assertion message
Vest Jan 12, 2025
a37dcd1
Removed SystemExitInterceptor.java, because it was deprecated;
Vest Jan 13, 2025
2ffe3b8
Added a checkstyle rule that prevents the project from System.exit us…
Vest Jan 13, 2025
c84c9e9
Use the latest version of Freemarker template engine.
Vest Jan 13, 2025
8734520
Resolved warnings from Gradle.
Vest Jan 13, 2025
c7dfb15
Resolved comments from Github PR.
Vest Jan 14, 2025
d441fdd
JaCoCo was added to github actions - now it shows the high-level code…
Vest Jan 31, 2025
4e27717
Create a jpackage build.
Vest Feb 1, 2025
1e65ed8
First attempt to build releases for all OSes.
Vest Feb 1, 2025
323ce7a
Changed the event to build a release conditionally.
Vest Feb 1, 2025
a9756e0
Update gradle-release.yml
Vest Feb 1, 2025
2854f9f
Corrected the artifact name
Vest Feb 1, 2025
80c433b
Attempt to create releases
Vest Feb 1, 2025
2a9c48c
Attempt to create releases (v2)
Vest Feb 1, 2025
b437f86
Corrected the artifact creation.
Vest Feb 1, 2025
f929f8f
Attempt to create one more release
Vest Feb 1, 2025
cef8846
Updated JDK from 21.0.5 to 21.0.6
Vest Feb 2, 2025
7b3ee46
Corrected a build for Windows (at least).
Vest Feb 5, 2025
4c0331e
Added ubuntu-24-arm
Vest Feb 10, 2025
daca6c2
Added a hotfix to repair linux-arm build.
Vest Feb 10, 2025
d15c808
Update Gradle wrapper to version 8.13 and fix output formatting in gr…
Vest Apr 2, 2025
eabb1cb
Update Gradle wrapper to version 8.14
Vest May 4, 2025
7a9674f
Removed jar-export-plugins from pluginbuild.xml
Vest May 6, 2025
570cb9a
Update Appveyor config to adjust Gradle commands and formatting
Vest May 6, 2025
ecc3f02
Remove Ant-based build files for Gradle-only build system
Vest May 6, 2025
9a6c2f2
Update properties and refine Gradle plugin Jar tasks
Vest May 6, 2025
5733815
Refactor code style by removing unnecessary whitespace and updating m…
Vest May 9, 2025
aa0688a
Refactored and changed files that didn't pass ```gradle checkstyleMai…
Vest May 9, 2025
d365c9a
Refactored and changed files that didn't pass ```gradle checkstyleMai…
Vest May 9, 2025
a33dba0
Refactor PluginClassLoader
Vest May 10, 2025
8526033
Add plugins.gradle to Gradle configuration for release and test workf…
Vest May 10, 2025
fe62e42
Update Gradle wrapper to version 9.0.0 and fix classpath configuratio…
Vest Aug 4, 2025
769bfbb
Update JavaFX version to 21.0.8 and improve URIFactory error handling…
Vest Aug 4, 2025
ebe1131
Improve README formatting and grammar for clarity and consistency
Vest Aug 4, 2025
d608e81
Refactor test task configurations to use correct directory paths for …
Vest Aug 4, 2025
7447654
Changed PluginBuildTest, because the new plugins are built from corre…
Vest Oct 16, 2025
ac14b3a
Updated Java to 21.0.8 (mac aarch64)
Vest Oct 16, 2025
ef99bb9
DATA-4380 - 3.5e - Enable Jack Of All Trades to display 'Untrained' c…
LegacyKing Oct 18, 2025
2c98b44
DATA-4379 - d20 modern, taking magical heritage, the 3 cantrips aren'…
LegacyKing Oct 18, 2025
c7b6948
DATA-4381 - PF1e - Racial Heritage in Mythic not implemented
LegacyKing Oct 18, 2025
3674e16
DATA-4381 - PF1e - Racial Heritage in Mythic not implemented
LegacyKing Oct 20, 2025
e4e2e2f
DATA-4383
LegacyKing Oct 21, 2025
60a15ad
DATA-4384
LegacyKing Oct 22, 2025
c073277
DATA-4384
LegacyKing Oct 22, 2025
e94eeb1
Bump com.github.spotbugs from 6.4.2 to 6.4.4 (#7453)
dependabot[bot] Oct 23, 2025
c832673
Bump org.springframework:spring-beans from 6.2.11 to 6.2.12 (#7446)
dependabot[bot] Oct 23, 2025
5f8d833
Bump com.github.spotbugs:spotbugs-annotations from 4.9.6 to 4.9.8 (#7…
dependabot[bot] Oct 23, 2025
09ea905
DATA-4385
LegacyKing Oct 23, 2025
437cf9f
6.09.info (#7459)
mertonmonk Oct 26, 2025
5b0ef73
6.09.info (#7462)
mertonmonk Oct 27, 2025
685d72f
6.09.info (#7463)
mertonmonk Oct 27, 2025
3740eb9
6.09.info (#7464)
mertonmonk Oct 27, 2025
f4daf7f
6.09.info (#7465)
mertonmonk Oct 27, 2025
1c9fdc8
Update Gradle wrapper to version 9.2.0 and refactor dependency declar…
Vest Nov 5, 2025
aa43787
Update Java&JavaFX to 25.0.1 and JaCoCo to 0.8.14 versions in build.g…
Vest Nov 5, 2025
33e617c
Add native access flags for JavaFX modules in distribution.gradle
Vest Nov 9, 2025
11c1afd
Refactor JavaFX resource loading by introducing PanelFromResource uti…
Vest Nov 10, 2025
e7f171e
Reverted a part of #7462, that broke DescriptionTest.
Vest Nov 15, 2025
453a94b
Update FXML files to use JavaFX 25.0.1 namespace
Vest Nov 15, 2025
5489f1c
Fix remnant issues from PREFACT conversion with multiples lingering f…
LegacyKing Nov 8, 2025
9e0566f
Clean up
LegacyKing Nov 17, 2025
f0f6c81
Fix Non-Monk getting Wisdom bonus.
LegacyKing Nov 18, 2025
884d260
Fix a bunch of minor formatting errors in pcc files
ckwalsh Oct 20, 2025
7df4fc3
Some textual improvements and typo fixes.
AtlasHackert Jul 10, 2025
2f25dad
Corrected checkstyle findings
Vest Nov 25, 2025
8e4c3db
Upgrade to Java 25 and fix lots of typos
karianna Dec 1, 2025
c6c4865
Fix merge conflicts
karianna Dec 1, 2025
9e09093
Revert failing MULT:YES and fix var name in build script
karianna Dec 2, 2025
8fdaaa2
Fix merge conflicts in GH actions
karianna Dec 2, 2025
ed8c3d3
Disable configuration cache for now
karianna Dec 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/agents/my-code-review-agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Code Review Agent
description: Agent that specilises in code reviews, digging into the why of the change.
---

# My Agent

Agent that specilises in code reviews, digging into the why of the change.
8 changes: 8 additions & 0 deletions .github/agents/my-security-agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Security Review Agent
description: Security Review Agent
---

# My Agent

Reviews the code for security vulnerabilities and bad coding practices.
106 changes: 106 additions & 0 deletions .github/workflows/gradle-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: Create Release

on:
push:
tags:
- "v*.*.*"

permissions:
contents: write

jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
with:
name: ${{ github.ref_name }}
draft: false
prerelease: false
generate_release_notes: false

build_release:
name: Build Release
needs: create_release
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
include:
- os: ubuntu-latest
release_suffix: ubuntu
- os: ubuntu-24.04-arm
release_suffix: ubuntu-arm
- os: macos-latest
release_suffix: mac
- os: windows-latest
release_suffix: windows
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '25'
distribution: 'temurin'
cache: gradle
cache-dependency-path: |
build.gradle
code/gradle/autobuild.gradle
code/gradle/distribution.gradle
code/gradle/release.gradle
code/gradle/reporting.gradle
code/gradle/plugins.gradle

# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-disabled: false
cache-read-only: false
cache-overwrite-existing: true

- uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/build/jre
${{ github.workspace }}/build/libs
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ matrix.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
${{ matrix.os }}-gradle

- name: Build the image
if: success()
run: ./gradlew jpackage

- name: Upload release assets for macos
uses: actions/upload-artifact@v4
if: matrix.os == 'macos-latest'
with:
name: ${{ matrix.os }}
path: ${{ github.workspace }}/build/jpackage/*.dmg

- name: Upload release assets for ubuntu
uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest'
with:
name: ${{ matrix.os }}
path: ${{ github.workspace }}/build/jpackage/*.deb

- name: Upload release assets for windows
uses: actions/upload-artifact@v4
if: matrix.os == 'windows-latest'
with:
name: ${{ matrix.os }}
path: ${{ github.workspace }}/build/jpackage/*.msi

- name: Release - ${{ matrix.os }}
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ needs.create_release.outputs.tag-name }}
files: ${{ github.workspace }}/build/jpackage/pcgen-*.*
91 changes: 91 additions & 0 deletions .github/workflows/gradle-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle

name: Build PCGen with Gradle

on:
pull_request:

jobs:
build:

runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write

steps:
- uses: actions/checkout@v4

- name: Set up JDK 25
uses: actions/setup-java@v4
with:
java-version: '25'
distribution: 'temurin'
cache: gradle
cache-dependency-path: |
build.gradle
code/gradle/autobuild.gradle
code/gradle/distribution.gradle
code/gradle/release.gradle
code/gradle/reporting.gradle
code/gradle/plugins.gradle

# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-disabled: false
cache-read-only: false
cache-overwrite-existing: true

- uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/build/jre
${{ github.workspace }}/build/libs
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
${{ runner.os }}-gradle

- name: Build with Gradle Wrapper
run: ./gradlew build

- name: Run tests
run: ./gradlew test itest datatest slowtest

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: |
build/test-results/**/*.xml
build/test-results/**/*.trx
build/test-results/**/*.json

- name: Run Coverage
run: ./gradlew testCoverage

- name: Upload Report to artifacts
uses: actions/upload-artifact@v4
with:
name: testCoverage
path: ${{ github.workspace }}/build/reports/jacoco/testCoverage/html

- name: Jacoco Report to PR
id: jacoco
uses: madrapps/jacoco-report@v1.7.2
with:
paths: |
${{ github.workspace }}/build/reports/jacoco/testCoverage/testCoverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
title: '## :construction: PCGen Code Coverage'
update-comment: true
debug-mode: false

- name: Get the Coverage info
run: |
echo "Total coverage ${{ steps.jacoco.outputs.coverage-overall }}"
echo "Changed Files coverage ${{ steps.jacoco.outputs.coverage-changed-files }}"
19 changes: 0 additions & 19 deletions .github/workflows/gradle.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
.settings/
/settings/

testsuite/

# Batch converter
batch-convert.jar

Expand Down Expand Up @@ -94,6 +96,7 @@ code/build.eclipse/

# IntelliJ IDE
.idea/
.run/
out/
pcgendev.iml
pcgen.iml
Expand Down
11 changes: 0 additions & 11 deletions .run/Main.run.xml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?xml version="1.0"?>

<!DOCTYPE suppressions PUBLIC
"-//Puppy Crawl//DTD Suppressions 1.1//EN"
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">

<suppressions>
<suppress checks=".*" files=".*pcgen.base.formula.parse.*"/>
</suppressions>

11 changes: 4 additions & 7 deletions PCGen-Formula/code/standards/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<!--
This configuration file was written by the eclipse-cs plugin configuration editor
-->
Expand Down Expand Up @@ -83,12 +84,8 @@
</module>
<module name="NewlineAtEndOfFile"/>
<module name="Translation"/>


<module name="SuppressWarningsFilter"/>

<module name="SuppressionFilter">
<property name="file" value="${suppressionFile}" default="suppressions.xml"/>
<property name="file" value="${suppressionFile}" default="checkstyle-suppressions.xml"/>
</module>

</module>
4 changes: 2 additions & 2 deletions PCGen-Formula/code/standards/spotbugs_ignore.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<Bug pattern="SE_NO_SERIALVERSIONID,SE_COMPARATOR_SHOULD_BE_SERIALIZABLE,SE_BAD_FIELD" />
</Match>
<Match>
<!-- not relevent to pcgen -->
<Bug pattern="IJU_SETUP_NO_SUPER,DP_DO_INSIDE_DO_PRIVILEGED,DM_EXIT" />
<!-- not relevant to pcgen -->
<Bug pattern="IJU_SETUP_NO_SUPER,DP_DO_INSIDE_DO_PRIVILEGED" />
</Match>
<Match>
<!-- we have other tools for code style -->
Expand Down
6 changes: 4 additions & 2 deletions PCGen-Formula/gradle/reporting.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

checkstyle {
configFile = new File('code/standards/checkstyle.xml')
configProperties = [ "suppressionFile" : project(':').file('code/standards/suppressions.xml')]
configProperties = [ "suppressionFile" : project(':').file('code/standards/checkstyle-suppressions.xml')]
ignoreFailures = true
showViolations = false
sourceSets = []
Expand All @@ -31,4 +31,6 @@ spotbugs {
toolVersion = "3.1.8"
}

task allReports { dependsOn = ['checkstyleMain', 'pmdMain', 'spotbugsMain'] }
tasks.register('allReports') {
dependsOn = ['checkstyleMain', 'pmdMain', 'spotbugsMain']
}
5 changes: 3 additions & 2 deletions PCGen-base/code/standards/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">

<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<!--
This configuration file was written by the eclipse-cs plugin configuration editor
-->
Expand Down
4 changes: 2 additions & 2 deletions PCGen-base/code/standards/spotbugs_ignore.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<Bug pattern="SE_NO_SERIALVERSIONID,SE_COMPARATOR_SHOULD_BE_SERIALIZABLE" />
</Match>
<Match>
<!-- not relevent to pcgen -->
<Bug pattern="IJU_SETUP_NO_SUPER,DP_DO_INSIDE_DO_PRIVILEGED,DM_EXIT" />
<!-- not relevant to pcgen -->
<Bug pattern="IJU_SETUP_NO_SUPER,DP_DO_INSIDE_DO_PRIVILEGED" />
</Match>
<Match>
<!-- we have other tools for code style -->
Expand Down
Loading
Loading