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

Rebaseing my fork #1

Merged
merged 292 commits into from
Nov 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
edf297d
Spotless applied
JamzTheMan Sep 7, 2019
d280107
Merge pull request #664 from JamzTheMan/develop
JamzTheMan Sep 7, 2019
8d50aaa
Add new Server Option for GM to Reveal FoW for Unowned Tokens
JamzTheMan Sep 7, 2019
1dd7778
Merge branch 'develop' into develop
JamzTheMan Sep 7, 2019
5d2d93c
Merge pull request #666 from JamzTheMan/develop
Phergus Sep 7, 2019
4c614eb
Add playStream, stopStream, and editStream functions to stream audio
Merudo Sep 8, 2019
48b1481
Fix disabling streams, and make stream functions thread-safe
Merudo Sep 8, 2019
185e2db
Merge pull request #668 from Merudo/playStream
Phergus Sep 8, 2019
2016476
Add features to playStream functions
Merudo Sep 9, 2019
c52d853
Merge pull request #669 from Merudo/playStream
Phergus Sep 9, 2019
efc64ac
Fix getStreamProperties wrongly returning "PLAYING" , change ms to secs
Merudo Sep 10, 2019
6502a8e
Merge pull request #671 from Merudo/playStream
Phergus Sep 10, 2019
6520666
Add Volume Slider and Mute Button to Toolbar
Merudo Sep 10, 2019
63034be
Merge pull request #673 from Merudo/volumeSlider
Phergus Sep 10, 2019
5024fa9
Add "fadeout" parameter to stopStream
Merudo Sep 10, 2019
142205f
Merge pull request #674 from Merudo/fadeOut
Phergus Sep 10, 2019
6604900
Add DebounceExecutor, update ZoneRenderer.java to use debounced repai…
pnichols04 Sep 10, 2019
e4a1e8f
Add sound icons to the github directory
Merudo Sep 11, 2019
74ae270
Merge pull request #675 from Merudo/soundIcons
Phergus Sep 11, 2019
bb428ac
Add support for space in uri for stream functions
Merudo Sep 12, 2019
df153f6
Fix PRs automatically failed
Merudo Sep 12, 2019
c45f55b
Merge pull request #680 from Merudo/clientserverGradle
Phergus Sep 13, 2019
bf3f2d1
Merge branch 'develop' into convertUri
Phergus Sep 13, 2019
034aa70
Merge pull request #678 from Merudo/convertUri
Phergus Sep 13, 2019
63073e8
Fix bug: "*" stop working as path in stopStream, getStreamProperties …
Merudo Sep 13, 2019
358367c
Add propertyType option for getTokens(), improve getTokens() (#677)
Merudo Sep 13, 2019
4bfd146
Json, store "null" "false" and "true" as their revelant java type int…
bobifle Sep 15, 2019
ca19e89
Change getTokens to be much faster with area option (#686)
Merudo Sep 15, 2019
c03c8d5
ImagePanel QOL improvements (#691)
pnichols04 Sep 15, 2019
f72af71
Fix Manhattan distance, metric distance parameter with iso maps (#690)
Merudo Sep 15, 2019
4dd3334
Fix json.path functions adding extra / and \ to json objects (#693)
Merudo Sep 15, 2019
675d592
Resolve #694 -- Fix asset panel scaling (#695)
pnichols04 Sep 15, 2019
4e34b8e
#696 Implement dragTheshold in DefaultTool
pnichols04 Sep 15, 2019
d68910f
Fix NullPointer exception when closing maptool
Merudo Sep 16, 2019
bfc2840
Change getDistance to use explicit closed-form
Merudo Sep 16, 2019
04343f8
Merge pull request #697 from pnichols04/token-context-menu
Phergus Sep 16, 2019
e4ee84b
Merge branch 'develop' into closingMaptool
Phergus Sep 16, 2019
9b3f42d
Merge pull request #701 from Merudo/closingMaptool
Phergus Sep 16, 2019
b845840
Merge branch 'develop' into getTokensDistance
Phergus Sep 16, 2019
3042a13
Merge pull request #703 from Merudo/getTokensDistance
Phergus Sep 16, 2019
1129940
Fix two issues from moving token when "Snap Token While Dragging" is off
Merudo Sep 16, 2019
c9e1dca
Fix to getDistanceToXY and getDistance with NO_GRID metric
Merudo Sep 16, 2019
2ddd0a3
Merge pull request #707 from Merudo/fixDistanceToXY
Phergus Sep 16, 2019
92bed1f
Merge branch 'develop' into fixSnapWhileDragging
Phergus Sep 16, 2019
af87ffa
Merge pull request #704 from Merudo/fixSnapWhileDragging
Phergus Sep 16, 2019
31ce650
Fix bug in #699 (#711)
Merudo Sep 17, 2019
b3149ae
Change volume slider to affect system sounds
Merudo Sep 17, 2019
e215ad2
Merge branch 'develop' into systemSounds
JamzTheMan Sep 17, 2019
6fa1b48
Merge pull request #712 from Merudo/systemSounds
Phergus Sep 17, 2019
4d68d97
Fix campaign macro changes not received when connecting to server
Merudo Sep 17, 2019
17e9f13
Merge pull request #714 from Merudo/campaignMacroBug
Phergus Sep 17, 2019
913b279
Fix bug introduced by #707 with default metrics
Merudo Sep 18, 2019
1f9c4e0
Add option "gm-self", "self", & "all" to broadcast
Merudo Sep 18, 2019
d1dcf78
Merge pull request #717 from Merudo/defaultMetric
Phergus Sep 18, 2019
611415a
Merge branch 'develop' into broadcast
Phergus Sep 18, 2019
306b74f
Merge pull request #719 from Merudo/broadcast
Phergus Sep 18, 2019
f1ae249
Fix getViewArea and getViewCenter returning incorrect pixels
Merudo Sep 19, 2019
3221366
Add parameter "players" and "delim" to execLink (#721)
Merudo Sep 20, 2019
6f0eee5
Add scrolling to Select Map menu (#723)
Merudo Sep 20, 2019
f102ef6
Merge branch 'develop' into ZoomPixels
JamzTheMan Sep 20, 2019
7e4c9d2
Merge pull request #725 from Merudo/ZoomPixels
Phergus Sep 20, 2019
c977cf2
Add function json.toVars to turn jsonObject into variables
Merudo Sep 19, 2019
93350c3
Improvement to json.toVars
Merudo Sep 20, 2019
97cd6d8
Merge pull request #726 from Merudo/jsonToVars
Phergus Sep 21, 2019
7fc8caa
Fix javadocs errors
Merudo Sep 22, 2019
b6714c1
Merge pull request #732 from Merudo/javadocsFix
Phergus Sep 22, 2019
dc42563
Update ChangeLog for 1.5.5 release (#736)
Phergus Sep 22, 2019
a9ae928
More updates to ChangeLog plus updated credits. (#737)
Phergus Sep 22, 2019
68706c6
Changed getInfo("server") macro to use ServerPolicy.toJSON directly (…
Phergus Sep 23, 2019
dc9d1bb
Junit tests for Json function (#741)
bobifle Sep 26, 2019
9cd560a
Merge pull request #744 from RPTools/develop-test
Phergus Sep 26, 2019
19f38b2
Updated with Issue #670 (#743)
Phergus Sep 28, 2019
1998135
Update parser to 1.5.5
JamzTheMan Sep 28, 2019
3276698
Merge pull request #747 from JamzTheMan/develop
Phergus Sep 28, 2019
aadac1f
Update build.gradle to pull dicelib v1.5.5 (#749)
Phergus Sep 30, 2019
e26e70b
Closes #751
JamzTheMan Sep 30, 2019
12693b5
Merge pull request #752 from JamzTheMan/develop
Phergus Sep 30, 2019
2c42d3c
Updates to Change Log and Credits (#754)
Phergus Oct 2, 2019
6a642b5
Fix prompt to "update" to old version when on pre-release (#757)
Merudo Oct 3, 2019
ca2ba2f
Merge branch 'develop' into release-1.5.5
JamzTheMan Oct 4, 2019
be9a289
blah
cwisniew Oct 4, 2019
cd15439
Merge pull request #759 from RPTools/release-1.5.5
Phergus Oct 4, 2019
3bfb36c
Add Panel for GM macros
Merudo Oct 4, 2019
914dfff
Merge pull request #758 from Merudo/gmMacros
Phergus Oct 4, 2019
dd1599e
Remove putTokens in macro functions
Merudo Oct 5, 2019
c1350b5
Fix copyToken so copy can be modified in the same macro
Merudo Oct 7, 2019
8af4d37
Add "light" option to getTokens and getTokenNames
Merudo Oct 7, 2019
39244e1
Merge pull request #764 from Merudo/putTokenRemoval
Phergus Oct 7, 2019
ac3aca2
Merge branch 'develop' into copyToken
Phergus Oct 7, 2019
161b5ed
Merge pull request #771 from Merudo/copyToken
Phergus Oct 7, 2019
afce6ce
Merge branch 'develop' into lightGetTokens
Phergus Oct 7, 2019
21ebd2c
Merge pull request #772 from Merudo/lightGetTokens
Phergus Oct 7, 2019
980626f
Fix json.path.read returning bad JSON object from array
Merudo Oct 7, 2019
ad44566
Merge pull request #776 from Merudo/jsonPathReadBug
Phergus Oct 7, 2019
c676cea
Add options not-gm, not-self, and not-gm-self to broadcast
Merudo Oct 9, 2019
4115528
Add json.toVars support for JSONArrays
Merudo Oct 9, 2019
d6bcf26
Fix bar functions returning wrong values if bar not defined
Merudo Oct 9, 2019
84d5227
Merge pull request #787 from Merudo/barFix
Phergus Oct 10, 2019
c24643f
Merge branch 'develop' into broadcastNotSelfGM
Phergus Oct 10, 2019
7258107
Merge pull request #783 from Merudo/broadcastNotSelfGM
Phergus Oct 10, 2019
02c5b17
Merge branch 'develop' into jsonToVarsArray
Phergus Oct 10, 2019
fdbe582
Merge pull request #785 from Merudo/jsonToVarsArray
Phergus Oct 10, 2019
46cb72a
Release 1.5.6 (#777)
JamzTheMan Oct 8, 2019
2899474
Merge emergency fix Release 1.5.6 to develop (#789)
cwisniew Oct 12, 2019
2275f6f
Added noise rendering to background textures
cwisniew Oct 12, 2019
d715444
Merge branch 'develop' of github.com:RPTools/maptool into develop
cwisniew Oct 12, 2019
b71c1a5
Merge branch 'develop' into bg-texture-noise
cwisniew Oct 12, 2019
355acdd
Ability to add noise to background tiled textures
cwisniew Oct 12, 2019
040dd0a
Spoltess apply
cwisniew Oct 12, 2019
e8d5e1b
ignore .gradletasknamecache
cwisniew Oct 12, 2019
a00c874
removed .gradletasknamecache
cwisniew Oct 12, 2019
efa052f
removed unwated files
cwisniew Oct 12, 2019
607f616
Background texture noise (#791)
cwisniew Oct 12, 2019
f480173
Added ability to turn off noise and comments
cwisniew Oct 14, 2019
779337b
Redraw background when noise toggled
cwisniew Oct 14, 2019
8a4f6f5
Renamed DrableNoise to make it clearer it doesnt subclass Pant
cwisniew Oct 14, 2019
3fdcf91
Merge branch 'develop' of github.com:RPTools/maptool into bg-texture-…
cwisniew Oct 14, 2019
455ec6e
Merge pull request #794 from cwisniew/bg-texture-noise
Phergus Oct 14, 2019
7d8fca6
Add preferences setting for frame rate cap used in debouncer
Phergus Oct 15, 2019
d1df745
Add preferences setting for frame rate cap used in debouncer (#795)
cwisniew Oct 15, 2019
eb18407
Fix broken smileys
Merudo Oct 15, 2019
d41593b
Merge pull request #798 from Merudo/smileys
Phergus Oct 15, 2019
a28aa3e
Update CHANGE_LOG.md
Phergus Oct 17, 2019
c27a377
Update TaskBarFlasher.java
Phergus Oct 17, 2019
ffff948
Fix getStreamProps() returning malformed JSON
Merudo Oct 17, 2019
d1af88b
Update TaskBarFlasher.java
Phergus Oct 17, 2019
f83804e
Merge pull request #807 from Merudo/getStreamProperties
Phergus Oct 17, 2019
b0d3388
Merge branch 'develop' into flash
Phergus Oct 17, 2019
64eb662
Update CHANGE_LOG.md
Phergus Oct 17, 2019
9332f22
Add token & mapname parameters to getTokenStates
Merudo Oct 17, 2019
a184352
Fix Incorrect tooltip for Show Chat Notification Background
Merudo Oct 17, 2019
49b05dc
Merge branch 'develop' into getTokenStates
Phergus Oct 17, 2019
372d6bd
Merge pull request #809 from Merudo/getTokenStates
Phergus Oct 17, 2019
42c390b
Merge branch 'develop' into ChatNotificationTooltip
Phergus Oct 17, 2019
e0c2508
Merge pull request #808 from Merudo/ChatNotificationTooltip
Phergus Oct 17, 2019
6aadb01
Update CHANGE_LOG.md
Phergus Oct 17, 2019
e4e0142
Fix getTokenStates returning wrong list of states
Merudo Oct 17, 2019
9d9e8f7
Merge pull request #812 from Merudo/getTokenStatesFix
Phergus Oct 18, 2019
235c399
Add execFunction : functions can now be ran on clients
Merudo Oct 18, 2019
f027ef5
Fix exception when copyToken is used
Merudo Oct 18, 2019
991f2b7
Merge branch 'develop' into execFunction
Phergus Oct 18, 2019
fc083bc
Update CHANGE_LOG.md
Phergus Oct 18, 2019
304508f
Merge pull request #802 from Merudo/execFunction
Phergus Oct 18, 2019
dca34e3
Merge branch 'develop' into changelog157
Phergus Oct 18, 2019
331f195
Merge branch 'develop' into copyTokenBug
Phergus Oct 18, 2019
a300e5b
Merge pull request #815 from Merudo/copyTokenBug
Phergus Oct 18, 2019
a07d4b9
Update CHANGE_LOG.md
Phergus Oct 18, 2019
09dbd92
Merge branch 'changelog157' of https://github.com/Phergus/maptool int…
Phergus Oct 18, 2019
f06bc4b
Merge branch 'develop' into changelog157
Phergus Oct 18, 2019
968d7c8
Change copyToken options to tokenHandout, tokenPortrait
Merudo Oct 18, 2019
ed62ead
Updating code style and guidelines
Phergus Oct 18, 2019
7ce8c73
Merge pull request #816 from Merudo/copyTokenFix
Phergus Oct 18, 2019
827b973
Merge branch 'develop' into changelog157
Phergus Oct 19, 2019
c0dc474
Merge branch 'develop' into flash
Phergus Oct 19, 2019
f26591c
More updates
Phergus Oct 20, 2019
026fe44
Update CHANGE_LOG.md
Phergus Oct 20, 2019
3856a68
Fix NPE thrown in MapToolFrame
Phergus Oct 20, 2019
6c55adc
Fix for issue #687
Phergus Oct 20, 2019
11b90f3
Update LookupTableFunction.java
Phergus Oct 20, 2019
8932aaa
Fix execLink / execFunction not running locally immediately
Merudo Oct 21, 2019
74bc4f2
Add playClip, stopClip and getClipProperties functions
Merudo Oct 17, 2019
8563d2f
Change stopStream/getStreamProperties to work with clips
Merudo Oct 21, 2019
d0f8532
Update CHANGE_LOG.md (#805)
cwisniew Oct 21, 2019
adfb8ce
Merge branch 'develop' into flash
cwisniew Oct 21, 2019
f8c7a20
Update TaskBarFlasher.java (#806)
cwisniew Oct 21, 2019
6f13755
Merge branch 'develop' into Phergus-patch-1
cwisniew Oct 21, 2019
7a543bd
Updating code style and guidelines (#817)
cwisniew Oct 21, 2019
305a05f
Merge branch 'develop' into issue740newMapNpe
cwisniew Oct 21, 2019
4776849
Fix NPE thrown in MapToolFrame (#818)
cwisniew Oct 21, 2019
cf46d4c
Merge branch 'develop' into issue687tableEmptyAssetID
cwisniew Oct 21, 2019
1382d5f
Merge pull request #819 from Phergus/issue687tableEmptyAssetID
Phergus Oct 21, 2019
b407448
Merge branch 'develop' into playClip
Phergus Oct 21, 2019
cc3e413
Merge branch 'develop' into execLinkFunctionFix
Phergus Oct 21, 2019
a1d665b
Merge pull request #811 from Merudo/playClip
Phergus Oct 21, 2019
255fd76
Merge branch 'develop' into execLinkFunctionFix
Phergus Oct 21, 2019
92cbf36
Merge pull request #821 from Merudo/execLinkFunctionFix
Phergus Oct 21, 2019
4053608
Update CHANGE_LOG.md
Phergus Oct 21, 2019
893297c
Update CHANGE_LOG.md (#823)
cwisniew Oct 23, 2019
6ee082c
Fix stream / clip issues
Merudo Oct 23, 2019
ca79c53
Merge pull request #826 from Merudo/audioChanges
Phergus Oct 23, 2019
47f40ab
Fix incorrect Campaign Name in Title Bar for clients
Merudo Oct 23, 2019
87b068a
Merge pull request #827 from Merudo/campaignNameFix
Phergus Oct 23, 2019
b19fe47
Update CHANGE_LOG.md
Phergus Oct 24, 2019
9480ea6
Update CHANGE_LOG.md (#828)
cwisniew Oct 24, 2019
782e879
Added titleCase() macro function
cwisniew Oct 25, 2019
ae2b761
spotless apply
cwisniew Oct 25, 2019
53dab66
Added titleCase() macro function (#830)
cwisniew Oct 25, 2019
c7b1e4d
Bump sentry from 1.7.5 to 1.7.28
dependabot-preview[bot] Oct 25, 2019
8d1d9f0
Bump commons-net from 3.2 to 3.6
dependabot-preview[bot] Oct 25, 2019
533c954
Bump autocomplete from 3.0.0 to 3.0.2
dependabot-preview[bot] Oct 25, 2019
8bebe6f
Bump gson from 2.8.5 to 2.8.6
dependabot-preview[bot] Oct 25, 2019
b64766e
Bump xstream from 1.4.9 to 1.4.11.1
dependabot-preview[bot] Oct 25, 2019
4eea8f4
renamed titleCase to capitalize
cwisniew Oct 25, 2019
aca5cd2
Merge branch 'develop' into you-can-please-some-of-the-people-some-of…
cwisniew Oct 25, 2019
404f98f
Merge pull request #842 from cwisniew/you-can-please-some-of-the-peop…
Phergus Oct 25, 2019
f7ee430
Merge branch 'develop' into dependabot/gradle/develop/io.sentry-sentr…
Phergus Oct 25, 2019
0572222
Merge pull request #837 from RPTools/dependabot/gradle/develop/io.sen…
Phergus Oct 25, 2019
5c5f819
Merge branch 'develop' into dependabot/gradle/develop/commons-net-com…
Phergus Oct 25, 2019
262583a
Merge pull request #838 from RPTools/dependabot/gradle/develop/common…
Phergus Oct 26, 2019
b9bca5b
Merge branch 'develop' into dependabot/gradle/develop/com.fifesoft-au…
Phergus Oct 26, 2019
a4e0a8d
Merge pull request #839 from RPTools/dependabot/gradle/develop/com.fi…
Phergus Oct 26, 2019
492dfd2
Merge branch 'develop' into dependabot/gradle/develop/com.google.code…
Phergus Oct 26, 2019
ca5498c
Merge pull request #840 from RPTools/dependabot/gradle/develop/com.go…
Phergus Oct 26, 2019
b179c52
Merge branch 'develop' into dependabot/gradle/develop/com.thoughtwork…
Phergus Oct 26, 2019
65eb364
Merge pull request #841 from RPTools/dependabot/gradle/develop/com.th…
Phergus Oct 26, 2019
ee82fdb
Revert "Bump xstream from 1.4.9 to 1.4.11.1"
cwisniew Oct 27, 2019
4a54b69
Revert "Bump xstream from 1.4.9 to 1.4.11.1" (#844)
cwisniew Oct 27, 2019
4fbde95
Revert "Bump commons-net from 3.2 to 3.6"
cwisniew Oct 27, 2019
6c50936
Revert "Bump commons-net from 3.2 to 3.6" (#845)
cwisniew Oct 27, 2019
d04169a
Update ServerPolicy.java (#847)
Phergus Oct 27, 2019
8046a6a
Closes #848
JamzTheMan Oct 27, 2019
b8196fe
Merge pull request #849 from JamzTheMan/develop
Phergus Oct 27, 2019
bd910ba
Closes #850 - Add log.trace to log macro group
JamzTheMan Oct 27, 2019
2c1a719
Merge branch 'develop' into develop
JamzTheMan Oct 27, 2019
b0665be
Merge pull request #851 from JamzTheMan/develop
Phergus Oct 27, 2019
f4995e3
Revert "Bump gson from 2.8.5 to 2.8.6" (#853)
Phergus Oct 27, 2019
0224584
Revert "Bump sentry from 1.7.5 to 1.7.28" (#854)
Phergus Oct 27, 2019
43e1c57
Added lastest commits. (#852)
Phergus Oct 27, 2019
ea31a5a
Workaround for #640 Error which would (previously) cause a bunch of s…
kayila Oct 30, 2019
c57ae6a
Updated changelog
kayila Oct 30, 2019
3f5102f
Updated comments
kayila Oct 30, 2019
2466403
Merge pull request #866 from RPTools/triple-monitor-jdk-error
Phergus Oct 30, 2019
57a7b53
Add mapname parameter to getTokens and getTokenNames
Merudo Oct 30, 2019
e8b5161
Merge pull request #868 from Merudo/getTokensMapname
Phergus Oct 31, 2019
42631ff
Change getTokens "mapName" parameter to condition
Merudo Oct 31, 2019
519f4c5
Merge pull request #869 from Merudo/getTokensMapname
Phergus Oct 31, 2019
e2edc2e
Add metadata to getMacroProps function, fixes #872
JamzTheMan Nov 8, 2019
f65d718
Changed REST.delete to follow post, patch, put format, fixes #874
JamzTheMan Nov 8, 2019
b29b498
Add metadata to getMacroProps function, fixes #872
JamzTheMan Nov 8, 2019
7097fec
Spotless applied...
JamzTheMan Nov 8, 2019
741ee47
Add metadata to getMacroProps function (#873)
cwisniew Nov 8, 2019
7345441
Merge branch 'develop' into rest-delete
Phergus Nov 8, 2019
d8d8c44
Applied Google Code Formatting
JamzTheMan Nov 8, 2019
6f7de6f
Merge pull request #875 from JamzTheMan/rest-delete
Phergus Nov 8, 2019
2596bfe
Update CHANGE_LOG.md (#876)
Phergus Nov 9, 2019
6c204e4
Adds ISO Formatted time with UTC offset
JamzTheMan Nov 9, 2019
ac4b64a
Merge pull request #877 from JamzTheMan/getinfo-utc-fix
Phergus Nov 10, 2019
04c3768
Fix for strings being returned with quotes (#881)
Phergus Nov 10, 2019
ae4b28c
Merge pull request #882 from RPTools/release-1.5.7
Phergus Nov 10, 2019
072e047
Work around JDK bug https://bugs.openjdk.java.net/browse/JDK-8208712
cwisniew Nov 11, 2019
649c4ee
Add fix for introduced NPE on quit using accel key
cwisniew Nov 11, 2019
09aacf4
Work around JDK bug https://bugs.openjdk.java.net/browse/JDK-820… (#886)
cwisniew Nov 11, 2019
ce3da3f
Phergus change log patch 3 (#889)
Phergus Nov 12, 2019
bac2021
Fix for #831 - numbers being returned as strings. (#888)
Phergus Nov 12, 2019
79413b7
Merge pull request #893 from RPTools/mac-accel-fix
Phergus Nov 12, 2019
8e47dd2
Update Crowdin configuration file
rptools-automation Nov 13, 2019
b3b320a
Added badge for localization.
cwisniew Nov 14, 2019
ec61eb0
Merge branch 'develop' into release-1.5.7
Phergus Nov 14, 2019
ee46e10
Merge branch 'master' into release-1.5.7
JamzTheMan Nov 15, 2019
1115146
Merge pull request #903 from RPTools/release-1.5.7
JamzTheMan Nov 15, 2019
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Thumbs.db
# Others
################################################################################
.gradle
.gradletasknamecache
build/
/bin/
target/
Expand Down
97 changes: 92 additions & 5 deletions CHANGE_LOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,90 @@
Maptool 1.5.7
=====

**Highlights**
- New accessibility features allows the user to apply [Perlin noise](https://en.wikipedia.org/wiki/Perlin_noise) to tiled textures to reduce obvious patterning.
- New user preference (Edit -> Preferences -> Application -> Performance) for Max Frame Rate allows users to set a desired Max Frame Rate.
- More updated macro functions for improved performance and reliability.
- New GM macro panel for GM only macros. These macros are saved as part of the campaign.
- Bug fixes!

Enhancements
-----
- [#878][i878] ISO 8601 time date field added to result of `getInfo("client")`.
- [#872][i872] Metadata added to JSON returned from `getMacroProps` function to add in external managment of macros.
- [#850][i850] New macro function `log.trace` added for log messages at `TRACE` level.
- [#848][i848] File Sync Directory preference setting adding to `getInfo("client")` result.
- [#829][i829] New macro function `capitalize` will change the first character at each word break to upper case. e.g. "jolly green giant" -> "Jolly Green Giant".
- [#810][i810] New macro function `playClip` more suited for short sound FX clips. New convenience function `defineAudioSource` to allow you to assign a nickname to audio sources and refer to the nickname in the audio functions. Two existing audio functions were renamed as part of the other changes: `stopStream` -> `stopSound`, `getStreamProperties` -> `getSoundProperties`.
- [#804][i804] Chat notification flash now picks flash color based on task bar color.
- [#801][i801] Macro function `getTokenStates` now accepts Token ID and Map Name parameters.
- [#790][i790] New `execFunction` macro that works like `execLink` but is used for built-in macro functions and UDFs.
- [#784][i784] Macro function `json.toVars` now accepts JSON arrays as well as objects.
- [#782][i782] Macro function `broadcast` no accepts "not-gm", "not-self" and "not-gm-self" as targets.
- [#766][i766] New perlin noise overlay on tiled textures to reduce visible repetition.
- [#761][i761] Bulk macro function changes.
- These functions no longer force whole token updates when used: addToInitiative, setInitiative, setInitiativeHold, setBar, setBarVisible, setName, setGMName, setHalo, setTokenOpacity, setTokenImage, setTokenPortrait, getTokenHandout, setLabel, resetProperty, setTerrainModifier, setVisible, setOwnerOnlyVisible, setAlwaysVisible, setTokenVBL
- These functions now accept additional Token ID and Map Name parameters: setBar, getBar, isBarVisible, setBarVisible, addToInitiative, setInitiative, setInitiativeHold
- [#745][i745] Macro functions `getTokens` and `getTokenNames` now take optional Light condition for getting tokens with lights.
- [#642][i642] New GM macro panel can be opened from the Window menu. Macros on the GM panel are not visible to players.

Bug Fixes
-----
- [#883][i883] Command key shortcuts on MacOS not working. Fixed.
- [#874][i874] `REST.delete` did not support a header and payload. Fixed.
- [#846][i846] `getInfo("server")` was returning true/false instead of 1/0 for "hosting server". Fixed.
- [#831][i831] Macro function `json.path.read` was returning numbers as strings. Fixed.
- [#822][i822] `playStream` was ignoring stream parameters set with `editStream`. Fixed.
- [#820][i820] Functions `execLink` and `execFunction` were not running immediately on local client. Fixed.
- [#814][i814] Some `update` keywords for `copyToken` were producing exceptions. Fixed. Alternate keywords *tokenPortrait* and *tokenHandout* added
- [#803][i803] `getStreamProps` was returning malformed JSON. Fixed.
- [#800][i800] Incorrect tooltip on Chat Notification Background preference. Fixed.
- [#788][i788] Player clients were showing the last campaign file they had loaded in the title bar when connected to servers. Fixed.
- [#786][i786] Bugs with the various bar functions returning incorrect error messages or no error when passed a bad bar name. Fixed.
- [#775][i775] `json.path.read` was returning invalid JSON for JSON arrays of objects. Fixed.
- [#769][i769] Tokens created with `copyToken` could not be modified in same macro without jumping through hoops. Fixed.
- [#767][i767] A recent change to improve program responsiveness had capped frame rate at 30 fps making for jerky map panning. Default is now 60 fps and can be adjusted in preferences under Application -> Performance -> Max Frame Rate. Note either reloading the current campaign or restarting MapTool is required after making a change.
- [#740][i740] Selecting New Map in the Library image pane with no image underneath would thrown an exception. Fixed.
- [#687][i687] The table functions `addTableEntry`, `createTable`, `setTableImage` and `setTableEntry` if passed an empty `AssetID` string would incorrectly put an empty "Asset://" into the entries asset id field. Fixed. `getTableImage` would thrown an exeption if no table image was set. Fixed.
- [#640][i640] Workaround for errors which occured when three monitors are in use. Related exceptions caught and information is logged.
- [#627][i627] Version check on MapTool startup should no longer prompt for updates when using release candidates.
- [#529][i529] Smileys are now working again.

[i883]: https://github.com/RPTools/maptool/issues/883
[i878]: https://github.com/RPTools/maptool/issues/878
[i874]: https://github.com/RPTools/maptool/issues/874
[i872]: https://github.com/RPTools/maptool/issues/872
[i850]: https://github.com/RPTools/maptool/issues/850
[i848]: https://github.com/RPTools/maptool/issues/848
[i846]: https://github.com/RPTools/maptool/issues/846
[i831]: https://github.com/RPTools/maptool/issues/831
[i829]: https://github.com/RPTools/maptool/issues/829
[i822]: https://github.com/RPTools/maptool/issues/822
[i820]: https://github.com/RPTools/maptool/issues/820
[i814]: https://github.com/RPTools/maptool/issues/814
[i810]: https://github.com/RPTools/maptool/issues/810
[i804]: https://github.com/RPTools/maptool/issues/804
[i803]: https://github.com/RPTools/maptool/issues/803
[i801]: https://github.com/RPTools/maptool/issues/801
[i800]: https://github.com/RPTools/maptool/issues/800
[i790]: https://github.com/RPTools/maptool/issues/790
[i788]: https://github.com/RPTools/maptool/issues/788
[i786]: https://github.com/RPTools/maptool/issues/786
[i784]: https://github.com/RPTools/maptool/issues/784
[i782]: https://github.com/RPTools/maptool/issues/782
[i775]: https://github.com/RPTools/maptool/issues/775
[i769]: https://github.com/RPTools/maptool/issues/769
[i767]: https://github.com/RPTools/maptool/issues/767
[i766]: https://github.com/RPTools/maptool/issues/766
[i761]: https://github.com/RPTools/maptool/issues/761
[i745]: https://github.com/RPTools/maptool/issues/745
[i740]: https://github.com/RPTools/maptool/issues/740
[i687]: https://github.com/RPTools/maptool/issues/687
[i642]: https://github.com/RPTools/maptool/issues/642
[i640]: https://github.com/RPTools/maptool/issues/640
[i627]: https://github.com/RPTools/maptool/issues/627
[i529]: https://github.com/RPTools/maptool/issues/529

Maptool 1.5.6
=====
Emergency fix for MacOS. Otherwise the same as 1.5.5.
Expand Down Expand Up @@ -318,7 +405,7 @@ Enhancements
* [getRolled][igrd]()
* [getNewRolls][ignr]()
* [clearRolls][icrl]()
* [#406][i406] - New [dice expression](http://www.lmwcs.com/rptools/wiki/Dice_Expressions) **XdYdhZ** (drop highest) and 7 others.
* [#406][i406] - New [dice expression](http://www.lmwcs.com/rptools/wiki/Dice_Expressions) **XdYdhZ** (drop highest) and 7 others.
* [#355][i355] - Macro Editor details tab reorganized to give some fields more room. Macro button tooltip entry field made into a larger text area with HTML highlighting. Checkbox to enable/disable hotkey display on button. UDFs now show in auto-complete of macro editor with their tooltip as help text.
* [#426][i426] - New Line & Radius templates that start at cells. New icons for all template types.
* [#424][i424] - Auto-completion in macro editor now works even if complete function name has already been entered.
Expand All @@ -330,7 +417,7 @@ Enhancements
* [#106][i106] - Reset Size added to right-click menu for tokens/stamps.
* [#299][i299] - Mouse pointer now visible when dragging tokens.
* [#389][i389] - File -> Export -> Campaign File As... now supports converting back to non-decimal map units-per-cell values.
* [#332][i332] - Added support for multiple personal lights and setting color for personal lights.
* [#332][i332] - Added support for multiple personal lights and setting color for personal lights.

[igrd]: http://www.lmwcs.com/rptools/wiki/getRolled
[ignr]: http://www.lmwcs.com/rptools/wiki/getNewRolls
Expand Down Expand Up @@ -389,8 +476,8 @@ Enhancements



[i50]: https://github.com/RPTools/maptool/issues/50
[i107]: https://github.com/RPTools/maptool/issues/107
[i50]: https://github.com/RPTools/maptool/issues/50
[i107]: https://github.com/RPTools/maptool/issues/107
[i189]: https://github.com/RPTools/maptool/issues/189
[i255]: https://github.com/RPTools/maptool/issues/255
[i278]: https://github.com/RPTools/maptool/issues/278
Expand Down Expand Up @@ -461,7 +548,7 @@ A new shift+ctrl+spacebar command along with a new pointer image is now availabl
* New RESTful functions getRequest & postRequest to send GET & POST requests to a URI. *Note: You must first turn access on in Preferences for these macro functions to work.
* New function exportData exportData(FilePath file, String data, boolean appendToFile) which saves string data to external file.
* New function getEnvironmentVariable(String name), Returns the value stored in the Environment Variable.
* New menu option added to the "Connections" window. Right clicking a player will offer a "Whisper" command that prepopulates the chat window with a whisper macro.
* New menu option added to the "Connections" window. Right clicking a player will offer a "Whisper" command that prepopulates the chat window with a whisper macro.
* [#237][i237] - Added support to use shift-enter to insert newlines into the command entry box (also known as the chat entry box)
* [#239][i239] - MapToolScriptTokenMaker now handles function names with . notation and dynamically pulls in all functions names. TokenMakerMaker no longer needs to be ran upon changes to MTScript.
* [#240][i240] - Macro Editor now has Auto-Completion for macro functions! A brief description and summary can be displayed (these will be added as time permits)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
| Branch | Travis | AppVeyor |
| :--- | :--: | :--: |
| Branch | Travis | AppVeyor | Localization |
| :--- | :--: | :--: | :--: |
| master | [![Build Status](https://travis-ci.org/RPTools/maptool.svg?branch=master)](https://travis-ci.org/RPTools/maptool) | [![Build status](https://ci.appveyor.com/api/projects/status/1fccyq1tqp8py6c5/branch/master?svg=true)](https://ci.appveyor.com/project/rptools-automation/maptool/branch/master)
| develop | [![Build Status](https://travis-ci.org/RPTools/maptool.svg?branch=develop)](https://travis-ci.org/RPTools/maptool) | [![Build status](https://ci.appveyor.com/api/projects/status/1fccyq1tqp8py6c5/branch/develop?svg=true)](https://ci.appveyor.com/project/rptools-automation/maptool/branch/develop)
| develop | [![Build Status](https://travis-ci.org/RPTools/maptool.svg?branch=develop)](https://travis-ci.org/RPTools/maptool) | [![Build status](https://ci.appveyor.com/api/projects/status/1fccyq1tqp8py6c5/branch/develop?svg=true)](https://ci.appveyor.com/project/rptools-automation/maptool/branch/develop) | [![Crowdin](https://badges.crowdin.net/maptool/localized.svg)](https://crowdin.com/project/maptool)|



Expand Down
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ dependencies {
// For syntax highlighting in macro editor
implementation group: 'com.fifesoft', name: 'rsyntaxtextarea', version: '3.0.2' // https://mvnrepository.com/artifact/com.fifesoft/rsyntaxtextarea
implementation group: 'com.fifesoft', name: 'rstaui', version: '3.0.0' // https://mvnrepository.com/artifact/com.fifesoft/rstaui
implementation group: 'com.fifesoft', name: 'autocomplete', version: '3.0.0' // https://mvnrepository.com/artifact/com.fifesoft/autocomplete
implementation group: 'com.fifesoft', name: 'autocomplete', version: '3.0.2' // https://mvnrepository.com/artifact/com.fifesoft/autocomplete

// For simple xml work in Hero Lab integration
implementation group: 'com.jcabi', name: 'jcabi-xml', version: '0.18.1' // https://mvnrepository.com/artifact/com.jcabi/jcabi-xml
Expand Down Expand Up @@ -265,6 +265,11 @@ dependencies {
// using jitpack.io for now
// compile ('net.rptools.dicelib:dicelib:1.5.2')
implementation 'com.github.RPTools:dicelib:1.5.5'


// Noise Generator
implementation 'com.github.cwisniew:NoiseLib:1.0.0-rc3'

}


Expand Down
3 changes: 3 additions & 0 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
files:
- source: /src/main/resources/net/rptools/maptool/language/i18n.properties
translation: /%original_path%/%file_name%_%two_letters_code%.%file_extension%
34 changes: 20 additions & 14 deletions doc/Code_Style_and_Guidelines.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
# Code Style and Guidelines

Please follow the following rules when working on MapTool. Failure to follow these will typically result in your patch being rejected.
Please observe the following rules when working on MapTool. Failure to do so will typically result in your pull request being rejected.

For now patches should be posted to the Testers forum. Access to that forum is by request only; send a PM to [jfrazierjr](http://forums.rptools.net/memberlist.php?mode=viewprofile&u=773) here on the [forums](http://forums.rptools.net/) and he'll add you to the group. You may then visit that hidden forum and review information on how to post patches for submission.

1. Thou shalt always highlight the content of any Java source code thee hath modified and select **Source -> Format**. Note: this requires that the user reset the line length in the Eclipse properties: Trevor wants the line length set to 200 characters. *(But see the attached preferences import file as the formatting settings are implemented there.)*
2. Thou shalt always select **Source -> Reorganize Imports.**
3. Thou shalt always submit code that includes Javadoc comments for public classes and methods. (T'would be nice to require full Javadoc for everything, but alas, that is unlikely.)
4. Thou shalt always use the `/* */` style of comments in front of classes and methods and may use single-line comments in front of member variables and small snippets of code, but **See Rule #3**!
5. Thou shalt always use parameter names different from member field names so that disambiguation using **this** is not necessary. *(Exception: code generated by Eclipse's Source menu items is exempt from this requirement as a productivity enhancement.)*
6. Thou shalt always clearly delineate private constructors with comments so that those who come after thee may retain thy sanity.
7. Thou shalt never use hard-coded strings in code when a property from an external file can be used. (In MapTool's case, this means calling `I18N.getText(propertyKey)` and adding a definition for the `propertyKey` to `i18n.properties`. Also, all of the `show*()` methods in MapTool, such as `showError()` and `showWarning()`, take `propertyKeys` as well as strings -- only use `propertyKeys`!)
8. Thou shalt always use `static final String` when hard-coded strings _are_ appropriate. Examples include resources that are embedded inside the MapTool JAR, such as **unknown.png** -- the question mark image. Other image names that may be considered part of the "theme", such as toolbar images, button images, and so forth, should be retrieved from an images property file; I propose `images.properties` since we already have `sounds.properties`. A string in the code should reference a pathname in the property file.
9. Thou shalt report all exceptions that are true errors. `InterruptedException` while waiting for a timer can be ignored, for example. But all other errors should be handled by calling `MapTool.showError(propertyKey)` or similar and passing both a `propertyKey` and the `Throwable` object representing the exception. Note that the various "show" methods already provide logging to the `.maptool/log.txt` file, but separate logging should be performed in the class if possible, since the XML configuration is an all-or-nothing for `net.rptools.maptool.client.MapTool`.
10. Thou shalt always use defined properties instead of hard-coded strings when possible. Such as `File.separator` instead of **"/"** and now `AppActions.menuShortcut` instead of **"ctrl"**.
1. The [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html) is incorporated by reference. Submitted code shall follow those guidelines unless modified by one or more of the following rules.
2. Use parameter names different from member field names so that disambiguation using **this** is not necessary. This rule is relaxed for simple short methods (e.g. setters).
3. Avoid hard-coded strings in code when a property from an external file can be used. In MapTool's case, this means calling `I18N.getText(propertyKey)` and adding a definition for the `propertyKey` to `i18n.properties`. Also, all of the `show*()` methods in MapTool, such as `showError()` and `showWarning()`, take `propertyKeys` as well as strings -- only use `propertyKeys`!)
4. Use `static final String` when hard-coded strings _are_ appropriate. Examples include resources that are embedded inside the MapTool JAR, such as **unknown.png** -- the question mark image.
5. Report to the user all exceptions that are true errors. `InterruptedException` while waiting for a timer can be ignored, for example. But all other errors should be handled by calling `MapTool.showError(propertyKey)` or similar and passing both a `propertyKey` and the `Throwable` object representing the exception. Note that the various "show" methods already provide logging to the `.maptool/log.txt` file.
6. Use the language-defined static variables instead of hard-coded strings when possible. Examples include `File.separator` instead of **"/"** and `AppActions.menuShortcut` instead of **"ctrl"**.

There are surely others that you (the contributors) may want added and that we (the dev team) determine to be acceptable. Please speak up. :)

An exported set of Eclipse Preferences as a ZIP file is available [here](http://forums.rptools.net/download/file.php?id=4151). Unpack the ZIP and use **File > Import...** to read them. These preferences only include Java appearance and style-related settings, plus Task tag definitions. (Keyboard shortcuts and other settings are left untouched.)
## Formatting Source Files

### Formatting with your IDE
Most IDEs include some Source Formatting functionality and using that functionality can make following the guidelines easier. You will need to ensure that using any such functionality does follow the guidelines.

Example for Eclipse:
* Source -> Format
* Source -> Reorganize Imports

An exported set of Eclipse Preferences can be found in the GitHub repo under `build-resources/eclipse`. Other IDEs/editors may be able to import those preference files. If you create one for your preferred environment, you can always create a Pull Request to submit it to the MapTool repo.

### Formatting with Spotless
The gradle build file for MapTool includes the Spotless targets: spotlessCheck and spotlessApply. Make use of them by doing a `gradlew spotlessCheck` and/or `spotlessApply` prior to committing or pushing your changes. Spotless will enforce the majority of the rules but not all.
Loading