MapTool 1.3 Final, patch06 (build 89)

New build announcements plus site news and changes.

Moderators: dorpond, trevor, Azhrei, Craig

Post Reply
User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

MapTool 1.3 Final, patch06 (build 89)

Post by Azhrei »

This is it.

I've applied a LOT of patches from a variety of people -- "thank you" to all of them for contributing!

I'll be creating a ChangeLog entry over the weekend and putting it in the usual spot on the wiki. In the mean time, here's a dump of the history since b87 (note that this includes some things from b88 that were reversed). Edit: The ChangeLog on the wiki has been updated.

The principal things to check: Java 7 compatibility and UPNP. There are a lot of bug fixes and I even included Jamz's VBL macros (that was for wolph!). There have been a few new messages added to the translation file as well; I'll post a list of new translation strings after I get the ChangeLog written up.

There were some patches that have not been committed and won't be. I would group most of them into the "not enough testing" category, or a few of them go into the "fix problem A but create problem B" (which isn't really much of a fix).

I expect there will be a b90 before this is done. A few people have commented that the autosave feature was peridically causing problems and that needs to be fixed as it prevents the user from saving their campaign! I'll be looking into that over the next few days.

I also spent some time documenting what my build process is in regards to the OS X disk image. I'm using some scripts that probably only work for me :? but I'll be moving them into the SVN tree somewhere so others will be able to access them. I'd like to move them all the way to the ANT build.xml file, but that likely won't happen...
kenjura wrote:Mac users: if you get the message This image is damaged when trying to run the app, ensure that your security settings allow apps from non-App-Store sources.

1- Open System Preferences
2- Open Security&Privacy
3- Unlock (if necessary)
4- Check "Allow applications downloaded from anywhere"
Here's the history information. The first column is the SVN revision, the second is who checked in the code, and the third is the change comment. Some change comments have links to the original forum thread for reference.

5923 azhrei_fje maptool-1.3b89
5922 azhrei_fje removed unneeded JAR
5921 azhrei_fje stupid files auto-created by OSX's File Manager
5920 azhrei_fje added rplib-1.0.b134 for maptool-1.3.b89
5917 azhrei_fje fix smiley parsing in chat output (tiorthan); http://forums.rptools.net/viewtopic.php?f=60&t=22591
5916 azhrei_fje fix handling of exceptions that could have caused exceptions (tiorthan); http://forums.rptools.net/viewtopic.php?f=60&t=22547
5915 azhrei_fje added text from "Help > Gather Sys Info..." to the getInfo() macro result (CiF); http://forums.rptools.net/viewtopic.php?f=60&t=23442
5914 azhrei_fje fix token highlighting after grid adjustment (Lee); http://forums.rptools.net/viewtopic.php?f=60&t=23080
5913 azhrei_fje corrects how paths are calculated for tokens under certain circumstances (Lee); http://forums.rptools.net/viewtopic.php?f=60&t=22924
5912 azhrei_fje fix movement of token group when snapped token follows unsnapped token on map with snap-to-grid turned on (Lee); http://forums.rptools.net/viewtopic.php ... 20#p234014
5911 azhrei_fje add macro functions for drawing/erasing VBL (JamzTheMan) http://forums.rptools.net/viewtopic.php?f=3&t=22624
5909 azhrei_fje last piece of VisibleAreaSegment cleanup
5908 azhrei_fje added Apache commons-net-3.2.jar to the build path
5907 azhrei_fje sometimes input() panels are too large; this constrains the height to 5/8 the screen height
5906 azhrei_fje loading a campaign would delete straight lines made with the drawing tools; this fixes that problem
5905 azhrei_fje modify getTokenImage() so it returns an empty string of causing an error for invalid token identifiers
5904 azhrei_fje fix HTML form submission; patch based on Lee's code
5903 azhrei_fje fix "Comparator violates contract!" exception without using Java 6 legacy mode
5902 azhrei_fje using FTP to update an existing repository is being removed as a feature
5897 azhrei_fje change broadcast() so empty list sends to no one; http://forums.rptools.net/viewtopic.php?f=3&t=23212
5896 azhrei_fje fixed handling of line terminators inside list string functions; http://forums.rptools.net/viewtopic.php?f=3&t=23223
5895 azhrei_fje new field suggested by wolph42; http://forums.rptools.net/viewtopic.php?f=26&t=23154
5894 azhrei_fje credit to yorick for finding a huge inefficiency! http://forums.rptools.net/viewtopic.php?f=3&t=23174
5893 azhrei_fje removed source file no longer used; cleaned up Help > Gather Debug Info... menu option
5892 azhrei_fje Help menu now dynamically builds menu items for external URLs by reading language-dependent property files
5890 azhrei_fje Fix "Comparable doesn't abide by contract" error in Java 7 (no testing by me as I don't have J7 on OSX -- yet)
5888 azhrei_fje small miscellaneous cleanup
5887 azhrei_fje comment out unused code; add comment regarding implementation detail
5886 azhrei_fje json.type.patch.txt contributed by tiorthan
5885 azhrei_fje browserstartfix.txt contributed by tiorthan with some changes from me
5884 azhrei_fje colordisplayfix.txt as contributed by tiorstan
5883 azhrei_fje tiorthan/imageaspectfix.txt -- keep aspect ratio of image if only width or height change
5882 azhrei_fje Craig's patch to revert a previous patch which cleared the tokenCache prematurely in the Zone renderer
5879 cwisniew Problems encountered while closing the upnp port now log a warning message rather than producing a pop up with information that is not useful to the user.
5877 azhrei_fje Changed the way the MTscript strformat() works when a format string specifies an invalid variable name inside %{} -- should be backward compatible
5876 azhrei_fje Only added a comment describing what will be a problem in the future. :(
5875 azhrei_fje Create import for RegEdit on Windows that removes MapTool registry entries
5873 cwisniew Applied high resolution mouse wheel fix from RevenantBob.
5866 cwisniew Removed fix for map not displaying on first start up of campaign bug fix as it was causing a more serious bug with resizing of objects.
5865 cwisniew Applied patch from username that fixed a bug while dropping a second token.
5857 azhrei_fje Fix conversion of string list into json array via json.fromList()
5855 azhrei_fje Replaced DrawableUndoManager with UndoPerMap (the previous one was global); temporary commit -- needs a lot of testing
5854 azhrei_fje Remove block dot from center of Radius Template when drawn; formatting
5853 azhrei_fje maptool-1.3.b88
5852 azhrei_fje rplib-1.0.b133.jar (for MapTool 1.3.b88)
5849 azhrei_fje Fix so that NPE in strFormat leaves origin %{} string intact; http://forums.rptools.net/viewtopic.php?f=20&t=21206
5848 azhrei_fje Fix NPE when autosaving and copying the zone
5847 azhrei_fje patch from "username" to avoid a concurrency issue (workaround; needs proper fix)
5846 azhrei_fje patch from "username" fixes one OpenJDK incompatibility
5845 azhrei_fje Mostly comment formatting and simple cleanup
5844 azhrei_fje Yet another attempt to correct the formatting of *Can't create data directory "{0}"* which somehow seems to always treat the "{0}" literally (sigh); added stacktrace to any error that causes that message to try to determine where it's coming from
5843 azhrei_fje Patch to fix conic vision problem http://forums.rptools.net/viewtopic.php ... 20#p215768
5842 azhrei_fje Fixed inability to draw a second VBL line after drawing the first http://forums.rptools.net/viewtopic.php ... 41#p215627
5841 azhrei_fje Hide exceptions used for Abort and Assert from the user (they were hidden originally, but changes made them visible)
5840 azhrei_fje Added assert() handling to look like abort() handling
5839 azhrei_fje Cleanup some code formatting
5838 azhrei_fje Fixed problem with new "title" being ignored when refreshing an HTML frame; code cleanup http://forums.rptools.net/viewtopic.php ... 90#p214990
5837 azhrei_fje Added parseBoolean() function that accepts a string and checks for "true" or non-zero (currently unused)
5835 azhrei_fje Fix for campaign not refreshing properly on first load http://forums.rptools.net/viewtopic.php ... 83#p214883
5834 azhrei_fje Moved rendering of labels after rendering of fog (so they are drawn on top of fog); needs more testing
5833 azhrei_fje confirmTokenDelete() should default to YES instead of NO http://forums.rptools.net/viewtopic.php ... 06#p212306
5832 azhrei_fje Make sure Import Map is disabled whenever Open Campaign is disabled, such as for a client logged in as GM
5831 azhrei_fje Moved calls that render movement paths of owned tokens so they occur after fog is rendered; this should put them on top in all situations
5830 azhrei_fje Fixed dropping token didn't use Preferences setting for Filename vs. Creature name http://forums.rptools.net/viewtopic.php ... 2&p=202692
5829 azhrei_fje Changed "Green" to "Lime" to match HTML color names used elsewhere http://forums.rptools.net/viewtopic.php ... 68#p214381
5828 azhrei_fje Remove debugging code that was System.out -related (ugh)
5827 azhrei_fje Don't add trailing delimiter to end of string in setStrProp() MTscript function http://forums.rptools.net/viewtopic.php ... 17#p214422
5826 azhrei_fje Fixed bug: using an IF roll option with an empty ELSE block causes an NPE http://forums.rptools.net/viewtopic.php ... 25#p213725
5825 azhrei_fje Added a new public API that allows waiting for images to be available when using saveToken()
5824 azhrei_fje Fixed some problems in the German translation file (duplicated keys, typos in keys)
5823 azhrei_fje Updated Spansish translation by patoace
5822 azhrei_fje Fixed error in Help docs for the Campaign Properties > Light tab; http://forums.rptools.net/viewtopic.php ... 0&p=203192
5821 azhrei_fje Fix Oval VBL tool so that it correctly draws the rubberband image; http://forums.rptools.net/viewtopic.php ... 8&p=212044
5820 azhrei_fje Fix: hitting the close button on an input() dialog causes NPE http://forums.rptools.net/viewtopic.php ... 0&p=211624
5819 azhrei_fje New HTMLFrames (frame/dialog roll option) appear in the center of the screen; http://forums.rptools.net/viewtopic.php ... 8&p=211716
5818 azhrei_fje General code cleanup, comment reformatting
5817 azhrei_fje Changed initial docked panel layout to only show Resource Library, Map Explorer, and Chat panel (others are hidden)
5816 azhrei_fje Added exception handling to downloading of art pack list (network IO exceptions); code cleanup related to same
5815 azhrei_fje Cleanup asset root handling (duplicates removed when asset is added/removed; removing is more efficient)
5814 azhrei_fje Fixed IllegalArgumentException: Comparable does not adhere to contract (needs more testing)
5813 azhrei_fje Fixed conversion of File object into URL for art packs -- can't call toURL(), so changed to toURI().toURL()
5812 azhrei_fje Updated the Default.theme and README.wri shipped in the ZIP file
5811 azhrei_fje Autosave manager should have been encase in try/finally block to prevent AppState from thinking autosave is in progress if an exception is thrown
5810 azhrei_fje Cause contents of MTscript input() to scroll to the top when it opens; limit dialog size to 75% of screen height
5809 azhrei_fje Updated sbbi-upnplib to rebuilt source code with Generics support and JXPath interface fixed for JXPath-1.3
5808 azhrei_fje Changed so input dialogs auto-scroll to the top on open; OK button should be set as default so <Enter> closes dialog; dialog window height set to 75% of screen height
5807 azhrei_fje Zone constructor wasn't copying the objects pointed to by the various lists, it was only copying the references (drawables, token exposed areas)
5805 azhrei_fje Released build MT 1.3b87
Last edited by Azhrei on Fri Apr 12, 2013 7:13 pm, edited 2 times in total.
Reason: added link to updated ChangeLog

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: MapTool 1.3 Final, patch05 (build 89)

Post by Azhrei »

INFO FOR TRANSLATORS

Since there are so many translation files, I've created a URL that will show the differences between SVN Revision 5800 and the current b89 version of the English translation file. It shows the old file on the left and the new one on the right.

Red blocks are lines deleted, yellow blocks are lines changed, and green blocks are lines added. Hopefully that will help you determine which translation strings need to be checked! (I want to point out that some of the yellow blocks are simply spaces being added or removed, so you can skip those if you wish.)

As usual, after you've made your changes just PM or email me the resulting file. (Although it'd be convenient for me if you set your editor for UTF-8. It saves me a couple steps on this end.)

http://rptools.svn.sourceforge.net/view ... 00&r2=5911

Note that you can change the last two parameters in that URL to compare different revisions (5911 is b89).

A big "THANK YOU" to all of the translators! You folks help many more people than just yourself by contributing your changes back to the project.
Last edited by Azhrei on Fri Apr 05, 2013 2:04 pm, edited 1 time in total.
Reason: added URL information

User avatar
Full Bleed
Demigod
Posts: 4736
Joined: Sun Feb 25, 2007 11:53 am
Location: FL

Re: MapTool 1.3 Final, patch05 (build 89)

Post by Full Bleed »

It's.... it's....

It's ALIVE!!!


Thanks for getting this out, AZ! :)
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

User avatar
Vhex
Giant
Posts: 162
Joined: Fri Sep 09, 2011 4:41 am
Location: Honolulu, HI

Re: MapTool 1.3 Final, patch05 (build 89)

Post by Vhex »

Awesome! :happydance:

Thanks for the update Az!

User avatar
aliasmask
RPTools Team
Posts: 9024
Joined: Tue Nov 10, 2009 6:11 pm
Location: Bay Area

Re: MapTool 1.3 Final, patch05 (build 89)

Post by aliasmask »

*Imagines Ode to Joy playing in his head*

Thank you oh so very much. I can't wait to test it out. I can now continue some of my new code that I started. (json.type was a show stopper)

User avatar
Jagged
Great Wyrm
Posts: 1306
Joined: Mon Sep 15, 2008 9:27 am
Location: Bristol, UK

Re: MapTool 1.3 Final, patch05 (build 89)

Post by Jagged »

Just like to add my appreciation for all the hard work. *runs off to download latest version*


User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: MapTool 1.3 Final, patch05 (build 89)

Post by wolph42 »

From MT Website download page wrote:You must have Java 1.6 or later (also called Java 6) installed on your system to run these tools. Note that the OpenJDK/Java 7 does not currently work. Some tools require Java 5 or later as indicated on the Launch page. If you are using Mac OS X, your Java implementation is provided by Apple. Use Software Update to ensure you have the most up to date version.
You'll need to edit that.

User avatar
JML
Dragon
Posts: 515
Joined: Mon May 31, 2010 7:03 am
Location: Blagnac, France

Re: MapTool 1.3 Final, patch05 (build 89)

Post by JML »

Joining the crowd roar. Thanks a lot Azhrei and all those who contributed.

User avatar
RPTroll
TheBard
Posts: 3159
Joined: Tue Mar 21, 2006 7:26 pm
Location: Austin, Tx
Contact:

Re: MapTool 1.3 Final, patch05 (build 89)

Post by RPTroll »

Awesome Sauce!!!!!!

Thanks for all you work on this, Az. Thanks for everyone's work on this.

Our community is amazing!
ImageImage ImageImageImageImage
Support RPTools by shopping
Image
Image

yorick
Cave Troll
Posts: 93
Joined: Tue Sep 25, 2012 8:05 am

Re: MapTool 1.3 Final, patch05 (build 89)

Post by yorick »

Huzzah! So glad to have a Maptool that doesn't require hours of fiddling with Java installs on the PCs of our players.

On Windows, launching Maptools is somewhat difficult. A couple of issues:

The Windows batch files do not function. The first line should read "set VERS=1.3.b89", not "VERS=1.3.b89".
The Windows batch files set the stack size to 512k. The MaptoolLauncher default is 2M. Changing that option to -Xss2M sounds prudent.
The Windows batch files keep a command window around, although they use javaw. Using "start" would resolve this.

Here's my version of the 1G batch file. Note I am using -Xss4M because of a framework I use:

set VERS=1.3.b89
start javaw -Xmx1024M -Xss4M -jar maptool-%VERS%.jar run

MaptoolLauncher.exe does not function with Java 7, showing an error about maptool-*.jar. I understand this is a bug in Java 7. A workaround could be to have the launcher do the globbing and hand a full file name to Java.


User avatar
Full Bleed
Demigod
Posts: 4736
Joined: Sun Feb 25, 2007 11:53 am
Location: FL

Re: MapTool 1.3 Final, patch05 (build 89)

Post by Full Bleed »

wolph42 wrote:Note: the 'no tokens on campaign load' issue is still there. I still need to zoom one click in or out to get the map.
5866 cwisniew Removed fix for map not displaying on first start up of campaign bug fix as it was causing a more serious bug with resizing of objects.
I'm pretty sure the above notation is actually referring to the "see no tokens" issue...

This has been around so long that I've decided it is intended behavior. ;)

I actually can't imagine not having to move around on the map a little bit on launch anyway, so this has been a pretty minor issue for me.
Last edited by Full Bleed on Fri Apr 05, 2013 12:40 pm, edited 1 time in total.
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."

User avatar
lmarkus001
Great Wyrm
Posts: 1867
Joined: Sat Mar 29, 2008 12:30 am
Location: Layfayette Hill, PA

Re: MapTool 1.3 Final, patch05 (build 89)

Post by lmarkus001 »

Halle-frikkin-lujah!

User avatar
JamzTheMan
Great Wyrm
Posts: 1872
Joined: Mon May 10, 2010 12:59 pm
Location: Chicagoland
Contact:

Re: MapTool 1.3 Final, patch05 (build 89)

Post by JamzTheMan »

Holy crap, I almost missed this post! Why didn't the forums display fireworks or a flaming logo or something!?! :D

That's one hell of a list Az, thanks for plowing through it all!

Image


yorick wrote:Huzzah! So glad to have a Maptool that doesn't require hours of fiddling with Java installs on the PCs of our players.
MaptoolLauncher.exe does not function with Java 7, showing an error about maptool-*.jar. I understand this is a bug in Java 7. A workaround could be to have the launcher do the globbing and hand a full file name to Java.
FYI: There are a couple of batch files that get around this limitation as well:
http://forums.rptools.net/viewtopic.php ... 7&start=25
http://forums.rptools.net/viewtopic.php ... 6&start=60
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork

Post Reply

Return to “Announcements”