MapTool ChangeLog (by build version)
MapTool ChangeLog (for the source code)
This page will attempt to document the on-going changes to the MapTool source code by those individuals who have Commit authority to the Subversion repository on Sourceforge.net.
Ideally I'd like to see an actual ChangeLog for each build of MapTool as well as a "in my queue right now" list, but the latter is unlikely to be kept up to date (even by me!) so I'll settle for just a ChangeLog. :)
Since the RPTools team has not been using the SourceForge bug tracker for 1.3 there hasn't been a comprehensive list of bugs/features being worked on (long story, but we will be using the Mantis bug tracker for 1.4). I have provided a list of Things I'd Like to See Fixed for 1.3 but there is no guarantee expressed or implied that any of them will come to fruition!
Where to find more information
For information about how to download (a.k.a. checkout) the source code, please see the thread on our forum that discusses that topic: How to get RPTools source via Eclipse and subversion. Another topic worth reviewing is a stream of consciousness thread by Azhrei regarding notes on how to build the application using Eclipse: MapTool build notes for Eclipse.
ChangeLog entries
1.3b78 (not yet released)
- Add additional criteria to getTokens() so that layer can be selected http://forums.rptools.net/viewtopic.php?f=20&t=15335&view=unread#p163033
- Start cleanup of copyToken() code for hex grids by reverting meaning of
useDistance
so that old macros work again (sigh) - Fix token's (x,y) coords when snapToGrid is turned on (x,y coords were not being constrained to grid cell when snapToGrid was enabled)
- Fix token.readResolve() so that pre-1.3b66 tokens (those without a CaseInsensitiveHashMap) can be read properly (warning: ugly backward compatibility code!)
- Updated getInitiativeList() (and wiki) so that it checks for trusted context; includes small performance optimization
- Fixed NPE in InitiativeListCellRenderer.java (line 174) so that the init panel doesn't try to render a token that doesn't exist
1.3b77 (released 2010-12-07)
- Fixed error in check for number of parameters in getLayer()
- Added crosshairs to token editor dialog's Properties tab for the Layout image to allow easier alignment http://forums.rptools.net/viewtopic.php?f=26&t=14777
- Fixed NPE caused when init panel was accessed after importing a map http://forums.rptools.net/viewtopic.php?f=3&t=15258&p=178021#p177947
- Clients connecting to a server got the Campaign object from before the server was started?! Not sure this is actually fixed though. http://forums.rptools.net/viewtopic.php?f=21&t=16274&p=173423#p173423
- Add support for variant fields to the autosave of the chatlog; for details see http://download.oracle.com/javase/1.5.0/docs/api/java/util/Formatter.html The default format is chatlog-%1$tF-%1$tR.html which produces a filename of the form chatlog-YYYY-MM-DD-HH-MM.html using a 24-hour clock. Note that the filename is only evaluated once at startup or when the filename field is changed. We need some way of cleaning up old chatlogs as well.
- Trim leading and trailing spaces from server names, passwords, player names, etc to prevent copy/paste errors for these fields
- added
delta
field to the updates parameter of copyToken() so that distances can be relative to the starting point - added
layer
field to getTokens() and getTokenNames() http://forums.rptools.net/viewtopic.php?f=20&t=16825&p=179535#p179535 - Fixed Light tab of campaign properties dialog so that it displays the help screen properly http://forums.rptools.net/viewtopic.php?f=60&t=16604&p=180097#p180065
- Fixed relative font sizes in macro editing by changing them to absolute sizes http://forums.rptools.net/viewtopic.php?f=21&t=16875
- Changed button color and font color fields of the macro editor dialog to allow typed-in colors (still need ColorPicker and FontChooser for each)
- Added default of
black
to the font color in the macro editor dialog (value ofdefault
for button color means a null background color) - Changed macro editor dialog to position the caret at the top of the command text area upon open
- jfrazierjr - turn off Meta-Shift-O (fill in hard fog) for players
- jfrazierjr - lots of Individual View work in combination with hard/soft fog of war lots of testing needed!
- jfrazierjr/dorpond - added purple "blacklight" glow as a possible border; use yellow to indicate selected tokens when modifying group fog-of-war
- CoveredInFish - Add support to copyToken() for images to be set http://forums.rptools.net/viewtopic.php?f=26&t=15063
- CoveredInFish - Add broadcast(), setTokenHandout(), setTokenPortrait()
- Gringoire - updated Italian translation
- patoace - updated Spanish translation
- Lukasz - created new Polish translation (work-in-progress)
1.3b76 (released 2010-10-21)
- Added cleanup after saving resources (should help with "too many open files" error and with .maptool/tmp not being cleaned up properly)
- The "Test Connection" button has been replaced with the "Network Help" button
- The long-standing bug where the border around a selected token is drawn outside the map window is fixed!
- Fixed Un*x start scripts to use JAVA_HOME if set; also fixed a typo in those scripts
- jay - init panel no longer loses tokens that are dropped "outside" the area of the list
- jfrazierjr/Rumble - fix for the "jumping template" bug; lots of testing needed
- jfrazierjr - MTscript functions for FoW manipulation (exposeFOW() and exportPCAreaOnly()) http://forums.rptools.net/viewtopic.php?f=3&t=15950#p173912
- jfrazierjr - Ignore client Preferences for FoW revealing
- jfrazierjr - patch for ownerVisibleOnly setting on tokens
- jfrazierjr - add movement metric to Start Server dialog to force it onto clients
- jfrazierjr - added Lock Token Movement to the server policy(internal to the code) so that newly connected clients will get the value of the server's menu item checkbox.
- jfrazierjr - added new move function: getMoveCount(). This gets the last movement count in units using the movement metric defined by the server(see above for new server setting)
- jfrazierjr - fixed path not showing to players when Use Individual Views is selected for tokens they do not own. http://forums.rptools.net/viewtopic.php?f=3&t=16451
- CoveredInFish - patch to add timeInMs and timeDate to the getInfo() MTscript function
- CoveredInFish - patch for disabling macroLink tooltips in chat
- Rumble - Selection Panel no longer repaints itself if it is not visible (performance improvement)
- Rumble - building on the previous one, a new internal event was added that only fires on macro change which also speeds things up
- patoace - new Spanish translation file
1.3b75 (released 2010-09-27)
- Fix bug in return value of empty string for some MTscript functions that return JSON objects http://forums.rptools.net/viewtopic.php?f=21&t=16047&p=170771#p170765
- Fix bug in which I/O streams were not being explicitly closed which caused "too many open files" error http://forums.rptools.net/viewtopic.php?f=21&t=16042&p=170772#p170685
- Fix file handles being held after exporting data (this may be an on-going process but I think the majority of them have been caught)
- Change the list of restricted characters in AppHome -- the only one specifically prohibited by Java is the ! due to
jar://
URLs using it - Fix setNPC() to correctly check number of parameters http://forums.rptools.net/viewtopic.php?f=3&t=14823
- Change Test Connection button on the Start Server dialog so that it gives the user a link to the NFAQ http://forums.rptools.net/viewtopic.php?f=1&t=16020&p=173003#p173003
- Build rplib-1.0.b124 for distribution with MapTool (required by MetaGamer's work and other fixes)
- whited - Fix how rotated images are resized -- not done yet? http://forums.rptools.net/viewtopic.php?f=21&t=13221
- MetaGamer - add ability to export arbitrary size map screenshots; menu terminology still being discussed http://forums.rptools.net/viewtopic.php?f=7&t=15325
- MetaGamer - added the Map->Edit Map... menu option for changing map parameters (lots of testing needed here)
- jfrazierjr - Fixed CNTL+SHIFT+O to propagate to client's.
- jfrazierjr - Fixed CNTL+SHIFT+O to enforce Server policy use individual views and not reveal FOW for non owned tokens
- jfrazierjr - Finished up onTokenMove() and onMultipleTokenMove() functions
- jfrazierjr - Added movedOverPoints() function.
- jfrazierjr - various other small fixes
1.3b74 (released 2010-09-07)
- Change MapTool startup to check for bogus directory names (ones that contain punctuation for example) http://forums.rptools.net/viewtopic.php?f=4&t=15866#p169037
- Fix tokens dropped from the Library panel: as GM they come in as their original type, as player they come in as PC http://forums.rptools.net/viewtopic.php?f=1&t=15817#p168884
- Fix file I/O to properly use UTF-8 for all text-based resources
- Modify UI property (for OSX) for Ctrl-Shift-O to ignore 'toggle component orientation' (testing; if this works well it'll be added to Windows) http://forums.rptools.net/viewtopic.php?f=3&t=15326&p=163015#p163015
- Modify UI properties (for OSX) so that Cmd-Left and Cmd-Right jump to beginning and end of line in text fields
- jfrazierjr - Visible to Owners Only patch. Still needs MTscript support re: setOwnerVisibleOnly() but also evaluation of how other script functions should change: isVisible(), getVisibleTokens(), etc. http://forums.rptools.net/viewtopic.php?f=26&t=15044&p=164509#p164163
- jfrazierjr - onTokenMove functions patch. Still needs additional MTscript support. This feature should be considered beta and should only be used in a live game after very thorough testing. http://forums.rptools.net/viewtopic.php?f=3&t=15550
- Fixed NPE in handling of Update/Delete/Move(Up|Down) when a health bar image isn't selected on the 'Bars' tab of the campaign properties dialog
- whited - Cleanup of warnings in rplib and maptool projects
- whited - added JUnit tests for FileUtil and ModelVersionManager
1.3b73
- Fixed NullPointerException in new vision arc code http://forums.rptools.net/viewtopic.php?f=1&t=15817
1.3b72
- Fix sight types to be limited by the map settings by default http://forums.rptools.net/viewtopic.php?f=26&t=15549&p=165436#p165436
- Vision arcs should only be visible to owners (if StrictOwner==true) or all PCs (if StrictOwner==false) http://forums.rptools.net/viewtopic.php?f=3&t=15790
- The property 'macro.function.general.macro.function.number.invalid' wasn't defined in i18n*.properties
- Updated macro script messages to include more information about errors
- Add solution text to error message when out-of-memory error occurs while saving a campaign http://forums.rptools.net/viewtopic.php?f=3&t=15082#p160393
- getImpersonated() now fails gracefully
- setPropertyType() had bad parameter checking http://forums.rptools.net/viewtopic.php?f=1&t=14896#p160423
- getStrProp()'s wiki page was wrong (code was correct)
- Fixed NullPointerExceptions with json.type() and similar (may not have gotten all of them) http://forums.rptools.net/viewtopic.php?f=20&t=15061#p160011
- URLs should include the colon as valid in the path component (already fixed? MessagePanel.java)
- Fix b71 bug by finishing rewrite of zip file I/O to handle localizations correctly (last set of fixes I hope!)
- Fixed potential race condition with an autosave occurring while loading a campaign
- When a campaign is loaded, set the map to the one that was current when the campaign was saved (bug was in AppActions.loadCampaign(); does this work on clients now also?)
- Add check for campaign file version number and alerts user when the version number is greater than the version of MT (ModelVersionManager.java for version number checks)
- Found a few spots where Java I/O streams were not being closed immediately; could lead to inaccessible files on (broken) operating systems :)
- Using the experimental "map import" feature could cause the initiative panel for the map to fail repeatedly; importing a map now correctly clears the initiative panel entirely
1.3b71
- Java 5 does not have String.isEmpty() started a poll because MANY of the libraries use this method :-/ In the mean time references to Java 6 methods have been culled from the main MT source as much as possible
- Wrong parameter count check for sendToBack() and bringToFront() http://forums.rptools.net/viewtopic.php?f=12&t=12516&p=158796
- Updated Italian translation by Gringoire
- createMacro() now properly takes 5 parameters (was only 4) http://forums.rptools.net/viewtopic.php?f=21&t=15108&start=0
- hasMacro() wasn't accepting a second parameter correctly http://forums.rptools.net/viewtopic.php?f=21&t=15098&p=160584#p160502
- Comments in campaign property types ("-----") still cause warnings when doing the case-insensitive comparison of property names but the message is hopefully better http://forums.rptools.net/viewtopic.php?f=53&t=15041&p=160469#p160469
- (incomplete) Multilanguage support http://forums.rptools.net/viewtopic.php?f=26&t=14608#p156184
- (incomplete) Need UTF-8 specification when reading/writing XML http://forums.rptools.net/viewtopic.php?f=26&t=15022
- Jfrazierjr - patch to provide owner-only auras (overridden by "gm" when both flags are provided) campaign file save format has changed
- Jfrazierjr - patch for queuing of chat notifications on-screen http://forums.rptools.net/viewtopic.php?f=26&t=8690&start=0
- Rumble - chat notification moved to client-side
- Updated campaign file version number to 1.3.70 (so that campaigns created in b70+ won't be loadable by earlier version due to Light.ownerOnly)
1.3b70
- Add trusted macro for setOwner() (done by Craig in b69)
- Rectangles drawn with zero width/height are removed and not added to the map (http://forums.rptools.net/viewtopic.php?f=21&t=14793)
- Preferences dialog is clearer regarding how map defaults are only for new maps (http://forums.rptools.net/viewtopic.php?f=3&t=14797)
- NPE due to stacked tokens on a map (not sure how an NPE happens though? http://forums.rptools.net/viewtopic.php?f=21&t=14865)
- Drag/drop of filesystem objects (finished? http://forums.rptools.net/viewtopic.php?f=3&t=14068&p=154991)
- Added help info for GM-only auras to the Abeille form for the Campaign Properties dialog
- Craig - fixed bug in setPC() added by Azhrei :( (http://forums.rptools.net/viewtopic.php?f=3&t=14823)
- Craig - added isVisible() and a "campaign" parameter for the getInfo() script function
- Craig - fixed bug on "image" input type in html forms not working (http://forums.rptools.net/viewtopic.php?f=21&t=14789)
- Craig - added "closeFrame()" function (http://forums.rptools.net/viewtopic.php?p=157814#p157814)
- getPropertyNames() checked for the wrong number of parameters
- Rumble - select unowned tokens patch
1.3b69
- When loading a campaign referenced assets are not found; assets are not saved when the asset isn't there
- Fixed bug with MacroButtonProperties when saving to the GlobalPanel as a Player connected to a server (http://forums.rptools.net/viewtopic.php?f=1&t=14644&p=155439)
- Fixed bug displaying macro button dialog in situation similar to above
- Iain - Fix to allow code to compile on Eclipse when not running on OSX (http://forums.rptools.net/viewtopic.php?f=1&t=14644&p=156024)
- Using Meta-Shift-O resets all fog so that only currently visible areas are exposed and everything else is hard fog
- Rumble's chat notifier moved to upper left corner of map (overlay color can be set in Preferences)
- Rumble's select-unowned-tokens patch
- change Random() to SecureRandom()
- Craig - added getInfo() function
1.3b68
- Change Wiki: resetProperty() so that the property is actually removed from the token
- A lot of token-related macro functions were cleaned up to ensure that they cause the token to be sent to other machines when modified. (example: http://forums.rptools.net/viewtopic.php?f=21&t=14139)
- Add Preferences option that enables the map load/save menu options with the requisite "Are You Sure?" prompt when the checkbox is enabled.
- Finished the autosave code for the chat log
- Updated Italian translation
- Ability to turn the map import/export feature on/off via a checkbox in Preferences (still considered a "beta" feature)
- More updates to Rumble's select-unowned-tokens patch
- Added support for changing the OSX dock icon inside MapTool (one more step towards eliminating the shell scripts)
1.3b67
- Added code to disable performance counters when the corresponding logger is turned off (might save us a few cpu cycles here and there)
- Fix for autosave race condition (moved variable to avoid concurrency issues when an autosave occurs during a regular File > Save Campaign)
- Fixed drawings on Hidden layer being "above" tokens on the same layer (should be below; http://forums.rptools.net/viewtopic.php?f=3&t=14344)
- Some bug fixes for importing maps (correct GUID in Zone, for example; http://forums.rptools.net/viewtopic.php?f=3&t=11676&p=150989#p150989). Import/export feature still requires special command line parameter to enable. It'll become a Preferences setting in the next build.
- Problem with importing a token macro with accented characters in it (http://forums.rptools.net/viewtopic.php?f=1&t=14322&p=151741#p151609; fix required restructuring PackedFile.putFile() methods)
- Remove redundant entries from the resource library list upon startup, and prevent redundant entries from being saved
- getTokenX() should return a BigDecimal value (http://forums.rptools.net/viewtopic.php?f=20&t=14546#p154261)
- Assets marked as "broken" in the campaign file were not restored properly; warnings added to the log file -- change to popup box to alert GM instead?
- Patch for turning on word wrapping in textareas (kkragenbrink)
- Patch for preventing token names from being empty (Rumble)
- Token stacks allow access to incorrect token (reported by aliasmask; fixed by Rumble)
- Selection of unowned tokens is always allowed, even when Strict Token Ownership is enabled on the Start Server dialog (Rumble; http://forums.rptools.net/viewtopic.php?f=3&t=14547) this patch didn't make it into b67 :(
- Chat notifiers -- messages that indicate someone else is typing (Rumble; http://forums.rptools.net/viewtopic.php?f=3&t=14355&start=45#p152754)
- Four different opacity levels on Preferences dialog (halo, aura, light, fog). This effectively allows removal of soft fog by specifying a value of 255 for "fog".
- Updated the German translation (aPown)
- Updated Spanish translation (patoace)
1.3b66
- Deal with 64-bit vs. 32-bit JVMs
1.3b65
- Tooltips fixed on the Sound tab of the Preferences dialog (had text copied from other fields)
- Add equals sign to URL parsing (following URL now parses correctly: http://forums.rptools.net/viewtopic.php?f=20&t=14274&view=unread#unread)
- Macro tab removed from the Token Editor dialog (an old Abeille form snuck back in)
- getPropertyType() again accepts a single default parameter (typo in parameter counting)
- Short names for properties are no longer "variables" in MTscript, but still evaluate on the statsheet
- Fixed map importing (internal data wasn't being updated)
- Another stab at fixing assets being saved in binary but allowing loading in binary and XML
1.3b64
- Add confirmation dialog to right-click macro menu Reset option
- Add check to Campaign Properties to disallow property names that differ only in their case
- Add getPropertyNamesRaw new macro script function which returns mixed case variable names
- Cleaned up all parameter checking in all of the macro token property functions (new translations needed).
- Assets in RPToks are no longer being written out as MIME64 encoded text; instead they are binary images. Need lots of testing on this one for backward-compatibility
- Don't merge old assets from PackedFile into new PackedFile. This should fix RPTOKs growing larger each time they're saved.
- Remove the Macro tab and all references to macros on the token editor dialog
- Disable the rest of the UI while the Test Connection is doing its thing
- Change ImagePanel vertical scrollbar so that the BlockIncrement moves by an entire page height/width, minus one row; UnitIncrement is exactly one row
- Fix URL regex's so that links pasted into the chat window grab the entire URL
- Modify wording of Preferences->Application regarding auto-exposing fog
- Added tooltips to every label on all four tabs of the Preferences dialog
- fixed the problem with the fog of war paint getting reset back to black when a server is started (cheesethulu)
- fixed the problem with players momentarily getting a GM view when they disconnect (cheesethulu)
- support for GM-only auras (woohoo!) (jfrazier)
- French translation updated (simonutp)
- Spanish translation updated (patoace)
- Italian translation updated (Gringoire)
1.3b63
- Fix bug: server locks up when player disconnects unexpectedly
- Fix bug: typo in UPnP error message (Azhrei)
- Update Spanish translation (Patricio)
- Update French translation (Pierre)
- Update German translation (aPown)