Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide functionality for add-on development #4903

Merged
merged 38 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
9ffd8be
external add on dialog
cwisniew Aug 10, 2023
58f657a
formatting
cwisniew Aug 14, 2023
00e405b
Merge pull request #87 from cwisniew/nightly-builds
cwisniew Nov 18, 2023
a15888c
Merge pull request #88 from cwisniew/nightly-builds
cwisniew Nov 18, 2023
94da20e
Merge pull request #89 from cwisniew/dependencies-calc
cwisniew Nov 23, 2023
0f56f98
Merge pull request #90 from cwisniew/dependencies-calc
cwisniew Nov 23, 2023
df16029
Merge branch 'develop' of https://github.com/RPTools/maptool into dev…
cwisniew Feb 6, 2024
3cb6f48
Merge branch 'develop' of https://github.com/RPTools/maptool into dev…
cwisniew May 23, 2024
6989ad2
merge from develop
cwisniew May 23, 2024
97e97ec
Merge branch 'develop' of https://github.com/RPTools/maptool into mer…
cwisniew May 23, 2024
57c9ff7
Spotless Apply
cwisniew May 24, 2024
87aced0
Merge pull request #1 from cwisniew/merge-addon-dev
Sparky200 May 24, 2024
df324c3
Loader created for external addons
Sparky200 May 26, 2024
213a9d2
Clean imports
Sparky200 May 26, 2024
b5b6951
Merge branch 'develop' of https://github.com/RPTools/maptool into dev…
cwisniew Aug 20, 2024
a2a30c8
Merge pull request #93 from Sparky200/merge-addon-dev
cwisniew Aug 28, 2024
8c690f2
Merge branch 'develop' of https://github.com/RPTools/maptool into dev…
cwisniew Aug 28, 2024
281bcf2
Merge with latest develop
cwisniew Aug 28, 2024
15a642e
merge changes
cwisniew Aug 28, 2024
68dcb5c
add updates to the add-on dialog
cwisniew Aug 28, 2024
2dcfccc
Make some adjustments for file events
cwisniew Aug 29, 2024
dbe05a5
fix up external lib detection
cwisniew Aug 29, 2024
4594801
fix for ui issues
cwisniew Aug 31, 2024
c736ee9
more work on the file change logic
cwisniew Aug 31, 2024
ea44cd8
Start Add On Skeleton creation
cwisniew Sep 2, 2024
9502665
More work on addon creation
cwisniew Sep 4, 2024
e8a0d0d
Create addon skeleton
cwisniew Sep 8, 2024
74ae1b2
Merge branch 'develop' into merge-addon-dev
cwisniew Sep 8, 2024
0ba585c
Add JavaDoc
cwisniew Sep 9, 2024
24ccb0b
create .mtlib file
cwisniew Sep 12, 2024
bdb4d17
Merge branch 'develop' into merge-addon-dev
cwisniew Sep 12, 2024
d7f0f83
Merge branch 'develop' into add-on-dev-tools
cwisniew Sep 12, 2024
5cbc34a
Merge branch 'develop' into add-on-dev-tools
cwisniew Sep 24, 2024
d5b806f
Merge branch 'develop' into add-on-dev-tools
cwisniew Oct 9, 2024
f2be465
Merge Develop
cwisniew Oct 10, 2024
b6422e6
Merge remote-tracking branch 'refs/remotes/origin/add-on-dev-tools' i…
cwisniew Oct 10, 2024
fa7118f
Formatting fix
cwisniew Oct 10, 2024
1db7c53
Merge branch 'develop' into add-on-dev-tools
bubblobill Oct 12, 2024
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
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,9 @@ dependencies {
// Built In Add-on Libraries
implementation 'com.github.RPTools:maptool-builtin-addons:1.3'

// File watcher library to work around some inconsistencies with java.nio.file.WatchService
implementation 'io.methvin:directory-watcher:0.18.0'

// For advanced dice roller
implementation 'com.github.RPTools:advanced-dice-roller:1.0.3'
}
Expand Down
9 changes: 9 additions & 0 deletions src/main/java/net/rptools/maptool/client/AppPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,15 @@ public class AppPreferences {

public static final Preference<String> iconTheme = StringType.create("iconTheme", "Rod Takehara");

public static final Preference<String> externalAddOnLibrariesPath =
StringType.create("externalAddOnLibrariesPath", null);

public static final Preference<Boolean> externalAddOnLibrariesEnabled =
BooleanType.create("externalAddOnLibrariesEnabled", false);

public static final Preference<String> createAddOnParentDir =
StringType.create("createAddOnParentDir", System.getProperty("user.home"));

static {
// Used to be stored as separate components but now is one color. Add if not already there.
if (prefs.get("trustedPrefixFG", null) == null) {
Expand Down

Large diffs are not rendered by default.

Loading
Loading