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

Release 1.5.5 #760

Merged
merged 120 commits into from
Oct 4, 2019
Merged

Release 1.5.5 #760

merged 120 commits into from
Oct 4, 2019

Conversation

JamzTheMan
Copy link
Member

@JamzTheMan JamzTheMan commented Oct 4, 2019

This change is Reviewable

Merudo and others added 30 commits August 26, 2019 08:43
- Fix so that token ids stay the same after server start
- Add javadocs info for Zone & Campaign constructors
- Close #619
Fix token ids being reset on server start
- Fix so that Cut & paste doesn't change token id
- Subsequent pastes will result in different token ids
- Close #624
Fix cut & paste changes token id
- Fix "Paste" menu not getting updated after performing the Copy/Cut action from popup menu
- Close #621
- Change how the measurer tool cursor updates, now based on attach/detach instead on paintOverlay
- Fix cursor not updating right away when switching from measurer to pointer
- Fix cursor not updating right away when switching to measurer from label, fog or VBL tool
- Close #601
Fix "paste" option remaining grayed out after Copy/Cut token
Fix switching from/to the measure tool not updating cursor right away
- Fix token having duplicated ids if a cut was followed by dragging token to map then a paste (induced by #625)
- Fix dragging token from library to map not ungraying the "Paste" option (fully completes #630)
Fix bug created by dragging token from library to map
- New message: Second argument to "assert": "{second parameter}" must be of type String
- Close #637
- New class FunctionUtil to handle checks and type conversions for macro functions
- New internal methods checkNumberParam, getTokenFromParam, paramAsBigDecimal, paramAsBoolean, paramAsInteger, paramAsDouble, paramAsFloat, paramAsJson, paramAsJsonObject and paramAsJsonArray
- Change TokenLightFunctions hasLightSource, clearLights, setLight, and getLights to use these new methods
- Methods tested: checkNumberParam, getTokenFromParam, and paramAsBigDecimal
- First step to solve #613
Translate a few UI elements to french
Fix incorrect message for assert() when the second parameter is number
Consolidate utility methods for macro functions in FunctionUtil
- Add parameter allowString: if set to false, raises exception when parameter is a string that could be converted to number( ex: "0", "5", etc).
- Functions getZoom, setZoom, getViewArea, setViewArea, and getViewCenter now use FunctionUtil
- Fix functions getZoom and setViewArea not displaying errors when given too many parameters
- Fix javadocs errors
- Remove extra delimiter at the end of getViewCenter
Change ZoomFunction macro functions to use FunctionUtil parameter methods.
- Select Map button (top right of screen) is now properly translated
- Tested for English and French
Add French translation support for "Select Map" button
- Change wrong number of parameters error messages to always display name of function
- Builds on RPTools/parser#3 to work
- Close #629
Change wrong number of parameters error messages to display the name of the macro function that was used.
Change parser implementation to 1.5.4
- Function takes a "json" and a "path" argument
- Path should be defined according to https://github.com/json-path/JsonPath
- Support inline predicates
- Errors are printed to chat but not according to our standards
- Progress on #612
Merudo and others added 29 commits September 17, 2019 14:01
- Fix so macro changes are now properly updated to the server
- Close #713
Fix campaign macro changes not received when connecting to server
- Fix bug where the default metric is the user's preferred one instead of the server's.
- Function affected: getDistance, getDistanceToXY, getTokens
- Fix issue mentioned in #684
Fix bug introduced by #707 with default metrics
Add options "gm-self", "self", & "all" to broadcast
- Change so getViewArea and getViewCenter return the actual pixels as used in setViewArea, for example.
- Close #724

Co-Authored-By: Phergus <[email protected]>
- Add new parameter "players" to execLink. All players specified will have the macro run for them. Default: self.
- The parameter "players" can be a string, a list, or json array. Use new delim parameter for list or array (defaults to ",").
- execLink also accepts "gm", "gm-self", "self", "all", and "none".
- Close #716
- Add new class "JScrollPopupMenu" to handle scrolling
- Class is fully functional but not complete.  Other methods relying on indexes of the components should be reimplemented before they are used
- Maximum of maps displayed at a time: 20 (scrolling will reveal them all)
- Close #356
Functions getViewArea and getViewCenter will now return results in unzoomed map pixels.
- keys become variable names
- values become the content of the variables
- Close #591
- Change: parameter "suffixed" is now replaced by "prefix" and "suffix", which can add a prefix and/or suffix to the names.
- Change: spaces in keys are now turned into underscore
- Change: characters not alpha-numerical other than "." and "_" are deleted from var names
- Change: function now return a JSONArray with the variable names
Add function json.toVars to turn jsonObject into variables
- Fix javadocs errors; it's now possible to generate the full javaDocs
- No actual code changed
- Warnings still present, but the errors should be fixed
- Close #731
* Update ChangeLog for 1.5.5 release

First pass.

* Fix ChangeLog and update credits.html

Fixed typos and missing linkage in ChangeLog.
Updated credits.html file.

Issue #735
…738)

Updated getInfo("server") macro function to pull JSON object from ServerPolicy instead of having duplicated code.
Updated ServerPolicy.toJSON() to include isAutoRevealMovement and isUseIndividualFOW.
* jsonify "null", "true" and "false" into null true and false

* fix null handling, using the library Null object

* jsonify should be static and public

* json unitary tests

* use a resource fiel for json rather that constructed within the test code

* spotless on json tests
Junit tests for Json function (#741)
* Update ChangeLog for 1.5.5 release

First pass.

* Fix ChangeLog and update credits.html

Fixed typos and missing linkage in ChangeLog.
Updated credits.html file.

Issue #735

* Add missing issue 670

Updated with issue 670.
Removed self dependency in Parser project.
build.gradle updated to pull in dicelib v1.5.5
Completes issue #746.
Due to how the uberJar is packaged, we need to register JAI imageIO for jpeg2000
The same fix was applied to TokenTool for the same issue.

Signed-off-by: JamzTheMan <[email protected]>
Fix for jpeg2000 image extraction for PDF's
* Update ChangeLog for 1.5.5 release

First pass.

* Fix ChangeLog and update credits.html

Fixed typos and missing linkage in ChangeLog.
Updated credits.html file.

Issue #735

* Add missing issue 670

Updated with issue 670.

* Update ChangeLog and Credits

Updated Change Log for issues 731, 746 & 751.  Updated MapTool credits  with recent contributor and missing `</td>` tags.
@JamzTheMan JamzTheMan merged commit be34143 into master Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants