3.2 new features

We’re not ready to add new features to the trunk yet are we? I think I misunderstood a previous post, but I can’t find it.

Thus spake “mkiefte”:

Yes, we are. The trunk has been for 3.2 development since I made the 3.1
branch. (That’s why I’ve been backporting all of the bugfixes to the 3.1
branch after applying them to the trunk.)

There already are a few new things in the trunk, e.g., the FileArchive
interface for dealing with archive files (like ZIPs).


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Swampwallaby-work2@5039 contains

RFE [1913850] mp3 support

A small update that users an OpenSource mp3 library called JLayer to provide mp3 support. Have added source and doc to VASSAL-libraries also.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Does this resolve the problems with ImageOp and SVG’s not working on files outside of /images? I have a large backload of development waiting on this.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

No, but it was blocking me from resolving that.

How soon do you need this? Working on that fix means I’m not working on
getting the new site ready, and I was hoping to get the new site up first.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Get the new site done first. I have a bit of stuff that does not depend on Icons I will get organised first.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

In the meantime, if you’re looking for something to do which doesn’t depend
on anything where you’re waiting for me, you could help Rodney with the
outstanding VASL bugs. I’m sure the VASL players would appreciate being able
to use VASL with 3.1.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Swampwallaby-work2@5047 contains

RFE [2005463] Add Description field to Multi-Action button


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Brent Easton”:

I was looking at the classes which use audio, since I was thinking about
whether it should be cached in an OpCache, and I was wondering:

  1. What’s the memory footprint of an MP3 like? Suppose that I want “Stairway
    to Heaven” to play every time I flip a token. Will I end up with a 5MB MP3
    in memory, or does JLayer read the bits it needs from disk on each play?

  2. What’s the difference between SoundConfigurer and AudioClipConfigurer?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

It streams from the file, it doesn’t read the whole thing in. You create a new Player by passing it an already opened InputStream.

An AudioClipConfigurer is what is used to select and define a Sound clip in a module component.

I am not exactly sure what a SoundConfigurer is for. It seems to be used in the Chat client.

B.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

AudioClipConfigurer is analogous to ImageConfigurer: it specifies an audio file and adds it to the module. SoundConfigurer is used in the preferences. It allows people to override the default sound for a system alert.

rk

Post generated using Mail2Forum (mail2forum.com)

Thus spake Rodney Kinney:

Should the overriding part really be built into the congfigurer? Without
that, they both do the same thing, and could be combined.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)