MapTool ChangeLog (by build version)

From RPTools Wiki
Jump to navigation Jump to search

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.3b80 (not released)

  • Fix bug similar to the one in b79 that prevents saved tokens from being loaded in some (most?) cases.
  • Fix copyToken's handling of hex grids http://forums.rptools.net/viewtopic.php?f=1&t=17331#p184385
  • Fix NPE (see SVN revision 5531 comment for details)
  • jfrazierjr - Individual FoW with Vision turned off (uncommitted patch)
  • Colors for macro button fonts weren't being recognized
  • Changed setOwner() back to its previous definition

1.3b79 (released 2010-12-29)

1.3b78 (released 2010-12-29)

  • Start cleanup of copyToken() code for hex grids by reverting meaning of useDistance so that old macros work again (sigh). We need regression tests written in MTscript!!
  • 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). Hex grids appear to not snap correctly and never have; work-in-progress http://forums.rptools.net/viewtopic.php?f=60&t=16604&p=183236#p183223
  • 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
  • Menu option Lock Zoom didn't stop the -/= keys from zooming, only the mouse wheel http://forums.rptools.net/viewtopic.php?f=21&t=17192&p=183222#p183222
  • Lock Zoom also disables the zoom status bar field and View > Zoom menu options
  • Fixed bug when macro with Apply to Selected used currentToken() which returned the same id multiple times when multiple tokens with the same name are selected http://forums.rptools.net/viewtopic.php?f=3&t=15904&p=169665#p169563
  • Fix setOwner("") not turning on All Players
  • Fix NPE in TokenImageOverlay when non-Boolean value is state value (shouldn't happen?)
  • MapExplorer did not check some token attributes correctly before adding to the various parts of the panel
  • Changed .text to .desc for a couple of keys in the English translation file i18n.properties
  • Updated Polish translation (see the Credits inside MapTool)
  • Added Russian translation (see the Credits inside MapTool)

1.3b77 (released 2010-12-07)

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)

1.3b74 (released 2010-09-07)

1.3b73

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

1.3b70

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)