MapTool ChangeLog (by build version): Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
Line 174: Line 174:
* jay - init panel no longer loses tokens that are dropped "outside" the area of the list
* 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/Rumble - fix for the "jumping template" bug; lots of testing needed
* jfrazierjr - MTscript functions for FoW manipulation ({{func|exposeFOW}} and {{func|exportPCAreaOnly}})  http://forums.rptools.net/viewtopic.php?f=3&t=15950#p173912
* jfrazierjr - MTscript functions for FoW manipulation ({{func|exposeFOW}} and {{func| exposePCOnlyArea}})  http://forums.rptools.net/viewtopic.php?f=3&t=15950#p173912
* jfrazierjr - Ignore client Preferences for FoW revealing
* jfrazierjr - Ignore client Preferences for FoW revealing
* jfrazierjr - patch for ownerVisibleOnly setting on tokens
* jfrazierjr - patch for ownerVisibleOnly setting on tokens

Revision as of 00:35, 16 March 2011

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.3 Final p02 (1.3.b85; not released yet)

Patchlevel 02:

1.3 Final p01 (1.3.b84; released 2011-02-09)

Patchlevel 01:

  • Fixed NPE when dragging a token on a gridless map (and certain conditions are met).
  • Updated documentation on Campaign Properties dialog Light tab.
  • Fixed NPE in setting token name regarding calling isTrusted().
  • Fix rendering of token names/labels on mouseover.
  • Removed dock badge from icon on OSX.
  • Fix bug with profiling window trying to open before main frame is open.
  • Fix NPE bug with moving token on gridless map.
  • Updated French translation (see credits)

1.3 Final (1.3.b83; released 2011-02-08)

  • Removed binary Abeille forms from SVN (not a user-visible change).
  • The MapExplorer was showing players too much information.
  • Resizing a rotated object image will ignore the Shift key (which constrains the size); I recommend setting the size first, then rotating.
  • Changing the token's image via the EditTokenDialog didn't update the token's native width/height.
  • Fixed "you are not the GM" dialog popping up during copyToken() in a trusted function.
  • Fix bug in handling of non-existent images dropped onto a map (race condition).
  • Adding logging in HTMLPane to try to locate why mouseClick events are lost in frames.
  • Updated display of credits in the About MapTool dialog.
  • Added lots of comments to English translation file to describe how to do translations.
  • New Japanese translation added (based on SVN revision 5623 so very current).
  • Cause light sources and auras to be sorted alphabetically on the right-click menu.
  • Changed the algorithm that determines if a token may move into a particular location. Only works for square grids. New maps are constrained to a grid size of at least 9 pixels to support the new algorithm.
  • As part of the previous item, code has been refactored to make it easier to write similar algorithms for gridless and hex maps.
  • Added error trapping for corrupted campaign files to give users a better message.
  • Added data from the Collect Performance Data window to log.txt (must be enabled in the XML files that are part of the ZIP download).
  • Changed typing notification window status so it doesn't interfere with the mouse pointer shape when drawing VBL or templates.
  • Fix a couple of exceptions: IllegalStateException and add comment re: ConcurrentModificationException - http://forums.rptools.net/viewtopic.php?f=1&t=17651&p=187874#p187860
  • Added Meta-Shift-L as Lock Player Movement shortcut.
  • Fix token labels not appearing when moving a token in some cases.

1.3b82-RC5 (released 2011-01-22)

  • Fixed NPE when working with gridless maps and using the middle mouse button http://forums.rptools.net/viewtopic.php?f=1&t=17340&start=30#p184966
  • Changed the token editor dialog so that the Size dropdown field has the correct first entry (either Native Size or Free Size depending on whether the token is on the Token layer or another layer)
  • Fixed bug where the token editor dialog was only initializing the Size field once and populating it with the sizes for the grid type on that map so changing maps to a different grid type showed the wrong sizes!
  • Added the ability to double-click on the Layout panel image (on the token editor dialog's Config tab) to reset the position and zoom
  • Added a status bar message when the mouse enters the Layout panel
  • Fixed currentToken() when multiple tokens with identical names are selected and a macro is executed that has ApplyToSelected active http://forums.rptools.net/viewtopic.php?f=1&t=17442&p=185550#p185550
  • Fixed bug in table handling that could cause an existing table to be deleted if it were to be renamed and had a syntax error in the range field, then the user Cancel-ed the dialog
  • Fixed text labels not appearing to players although they show up fine for the GM
  • Fixed MapExplorer showing NPC information that it didn't previously
  • Added support for the VisibleToOwnerOnly flag for drag/drop between CharacterTool and MapTool (implemented in MapTool only)
  • Removed small dot drawn at (0,0) by the RadiusTemplate (this bug goes back to at least 1.3b34!)
  • Token movement now occurs below fog so it's not visible to players unless the fog has been exposed
  • Data from "export screenshot" saved correctly in campaign file (previous fix was incomplete)
  • Fixed drag/drop of files from desktop onto map on Linux/OSX (now allows multiple files to be dropped at once)
  • Fix NPE when selected token is deleted by macro then moved by user without unselecting and re-selecting
  • Fix NPE when Impersonation panel tries to refresh without a map visible
  • Fix NPE when loading campaign from 1.3b45 (bug in macro button handling)
  • Change getInfo() so the light source information is more detailed when campaign is the topic being queried (should add preferences somewhere as well)
  • Fix fog-of-war not being updated when a token was copy/pasted from another map
  • Entries in i18n.properties for slash commands now use the same key format as menu items (not a user-visible change)
  • All forms converted from .jfrm to .xml (not a user-visible change, but please report any display problems with dialog boxes)
  • Fix copy/paste of tokens so that relative offsets between tokens are preserved; works whether source or destination maps are gridless
  • Added audio feedback: Copy and Cut beep when no (owned) tokens are selected and Paste beeps if no tokens have yet been copied or cut
  • Change to allow token editor dialog's Properties tab to resize with the dialog window; this is a Java6-only change! We need a Java5-compatible method of doing this before 1.3 Final
  • Halo colors are updated to the same list as button and font colors
  • aku - huge number of strings have been localized and now appear in the i18n.properties translation file
  • aPown - updated German translation
  • Natha - updated French translation
  • patoace - updated Spanish translation
  • (user?) - add new Japanese translation

1.3b81-RC4 (released 2011-01-08)

1.3b80-RC3 (released 2010-12-30)

  • 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-RC2 (released 2010-12-29)

1.3b78-RC1 (released 2010-12-29)

  • Fix handling of the font size for the macro buttons http://forums.rptools.net/viewtopic.php?f=21&t=17184#p183613
  • 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 exposePCOnlyArea()) 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)