# Module Manager changes

**URL:** https://forum.vassalengine.org/t/module-manager-changes/335
**Category:** Development
**Created:** [March 2, 2008, 10:17am UTC](https://forum.vassalengine.org/t/module-manager-changes/335 "2008-03-02T10:17:26Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Brent\_Easton](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/brent_easton/32/10_2.png) [@Brent\_Easton](https://forum.vassalengine.org/u/Brent_Easton)
#### Post date: [March 2, 2008, 10:17am UTC](https://forum.vassalengine.org/t/module-manager-changes/335/1 "2008-03-02T10:17:26Z")

</div>

Rodney,

Absolutely fantastic! This ties it all together, all our recent changes make sense now. Extensions Manager as well, too good! 🙂

Just a couple of things:

- Does the extensions manager do away with copying extension into the module\_ext directory altogether? I notice

- It would be good to have a way to Add a module the manager list without having to open it.

- Still no implementation of close Module after playing to navigate back to the Module Manager.

Cheers,  
Brent.

* * *

Brent Easton  
Analyst/Programmer  
University of Western Sydney  
Email: [b.easton@uws.edu.au](mailto:b.easton@uws.edu.au)

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [March 2, 2008, 4:40pm UTC](https://forum.vassalengine.org/t/module-manager-changes/335/2 "2008-03-02T16:40:05Z")

</div>

Thus spake “Brent Easton”:

> [@](#):
>
> Rodney,
> 
> Absolutely fantastic! This ties it all together, all our recent changes make  
> sense now. Extensions Manager as well, too good! 🙂

I agree, this is well done.

> [@](#):
>
> Just a couple of things:
> 
> - Does the extensions manager do away with copying extension into the module\_  
> ext directory altogether? I notice
> 
> - It would be good to have a way to Add a module the manager list without hav  
> ing to open it.
> 
> - Still no implementation of close Module after playing to navigate back to t  
> he Module Manager.
> 
> Cheers,  
> Brent.

I corrected some minor bugs this afternoon—cancelling the file dialogs  
when opening or editing a module doesn’t cause a NullPointerException  
anymore, and the URL in the welcome message is a real hyperlink now.

[nomic.net/~uckelman/tmp/vass … eneric.zip](http://www.nomic.net/~uckelman/tmp/vassal/VASSAL-3.1.0-svn3185-generic.zip)  
[nomic.net/~uckelman/tmp/vass … macosx.dmg](http://www.nomic.net/~uckelman/tmp/vassal/VASSAL-3.1.0-svn3185-macosx.dmg)  
[nomic.net/~uckelman/tmp/vass … indows.exe](http://www.nomic.net/~uckelman/tmp/vassal/VASSAL-3.1.0-svn3185-windows.exe)

–  
J.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [March 2, 2008, 5:44pm UTC](https://forum.vassalengine.org/t/module-manager-changes/335/3 "2008-03-02T17:44:09Z")

</div>

Thus spake Joel Uckelman:

> [@](#):
>
> > [@](#):
> >
> > Rodney,
> > 
> > Absolutely fantastic! This ties it all together, all our recent changes mak
> 
> e
> 
> > [@](#):
> >
> > sense now. Extensions Manager as well, too good! 🙂
> 
> I agree, this is well done.
> 
> > [@](#):
> >
> > Just a couple of things:
> > 
> > - Does the extensions manager do away with copying extension into the modul
> 
> e\_
> 
> > [@](#):
> >
> > ext directory altogether? I notice
> > 
> > - It would be good to have a way to Add a module the manager list without h
> 
> av
> 
> > [@](#):
> >
> > ing to open it.
> > 
> > - Still no implementation of close Module after playing to navigate back to
> 
> t
> 
> > [@](#):
> >
> > he Module Manager.
> > 
> > Cheers,  
> > Brent.

I found another bug just now: The context menu for the module list  
should be disabled when there’s not module selected from the list.

–  
J.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [March 2, 2008, 6:05pm UTC](https://forum.vassalengine.org/t/module-manager-changes/335/4 "2008-03-02T18:05:45Z")

</div>

Thus spake Joel Uckelman:

> [@](#):
>
> I found another bug just now: The context menu for the module list  
> should be disabled when there’s not module selected from the list.

Fixed in trunk 3189.

–  
J.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![bsmith](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/bsmith/32/1_2.png) [@bsmith](https://forum.vassalengine.org/u/bsmith)
#### Post date: [March 3, 2008, 8:03am UTC](https://forum.vassalengine.org/t/module-manager-changes/335/5 "2008-03-03T08:03:05Z")

</div>

This is an awesome build, thanks Rodney.

A few things:

- The separator bars will need to be moveable.
- Can we dispense with the “Last…” tabs in the Server Status? Although they’re nice, they are so infrequently used and slow that they probably are not worth the extra clutter. We could remove the Tabs altogether, maybe add a Preference option to add them back?
- I don’t really know anything about Extensions, but that window down the bottom left would make a _reeeeally_ nice Main chat area! 🙂

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [March 3, 2008, 9:44am UTC](https://forum.vassalengine.org/t/module-manager-changes/335/6 "2008-03-03T09:44:32Z")

</div>

Thus spake “bsmith”:

> [@](#):
>
> - The separator bars will need to be moveable.

What separator bars?

> [@](#):
>
> - Can we dispense with the “Last…” tabs in the Server Status? Although they  
> 're nice, they are so infrequently used and slow that they probably are not w  
> orth the extra clutter. We could remove the Tabs altogether, maybe add a Pre  
> ference option to add them back?

The historical tabs can be made faster still: Right now, bringing up any  
historical tab results in the whole history being downloaded. I asked  
Rodney to add the ability to the CGI script to get status results for  
arbitrary intervals, which he did last night. Tonight, I’ll write the code  
to take advantage of that. Getting the history from the last month won’t  
be faster, but the other two will, as we’ll be able to request exactly the  
data we want instead of all of it. (Possibly the monthly history could  
be made faster by compressing the data before sending it.)

On the other hand: What do people use the three historical tabs for? I’m  
not sure myself. The only thing I’ve used them for is testing the code  
which produces them.

–  
J.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![bsmith](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/bsmith/32/1_2.png) [@bsmith](https://forum.vassalengine.org/u/bsmith)
#### Post date: [March 3, 2008, 10:43am UTC](https://forum.vassalengine.org/t/module-manager-changes/335/7 "2008-03-03T10:43:09Z")

</div>

> [@](#):
>
> What separator bars?

I’m not sure what the technical term is, but those borders which split the window into three areas.  
For example, the width of the Server Status area is fixed as is the height of the Extensions area. Unless this is something strange on my OS?

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [March 3, 2008, 10:58am UTC](https://forum.vassalengine.org/t/module-manager-changes/335/8 "2008-03-03T10:58:25Z")

</div>

Thus spake “bsmith”:

> [@](#):
>
> > [@](#):
> >
> > What separator bars?
> 
> I’m not sure what the technical term is, but those borders which split the wi  
> ndow into three areas.  
> For example, the width of the Server Status area is fixed as is the height of  
> the Extensions area. Unless this is something strange on my OS?

You mean that there should be movable splitters between the areas. Rodney?

–  
J.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![rk1](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/r/9f8e36/32.png) [@rk1](https://forum.vassalengine.org/u/rk1)
#### Post date: [March 3, 2008, 10:03pm UTC](https://forum.vassalengine.org/t/module-manager-changes/335/9 "2008-03-03T22:03:29Z")

</div>

> [@](#):
>
> You mean that there should be movable splitters between the areas. Rodney?

Sure, I can put those in.

I like the historical data. It’s good advertising because it showcases how many people are using the system. It also lets you browse for games you’re familiar with. Right now you have to then track them down by hand, but the vision is to include download information in the status eventually.

rk

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![Brent\_Easton](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/brent_easton/32/10_2.png) [@Brent\_Easton](https://forum.vassalengine.org/u/Brent_Easton)
#### Post date: [March 3, 2008, 10:32pm UTC](https://forum.vassalengine.org/t/module-manager-changes/335/10 "2008-03-03T22:32:22Z")

</div>

> [@](#):
>
> \*\*\*\*\*\*\*\*\*\*\* REPLY SEPARATOR \*\*\*\*\*\*\*\*\*\*\*
> 
> On 3/03/2008 at 2:03 PM Rodney Kinney wrote:  
> You mean that there should be movable splitters between the areas. Rodney?
> 
> Sure, I can put those in.

Make it a JSplitpane with the one-touch put-away thingies turned on for the Server window so I can get rid of it easily. PBEM players don’t need to see it.

Cheers,  
Brent.

* * *

Brent Easton  
Analyst/Programmer  
University of Western Sydney  
Email: [b.easton@uws.edu.au](mailto:b.easton@uws.edu.au)

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![bsmith](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/bsmith/32/1_2.png) [@bsmith](https://forum.vassalengine.org/u/bsmith)
#### Post date: [March 4, 2008, 10:00am UTC](https://forum.vassalengine.org/t/module-manager-changes/335/11 "2008-03-04T10:00:17Z")

</div>

While we’re on the subject, I’m just brainstorming here; How would everyone feel about the “main” Vassal window being persistent? This could offer a few possibilities:

- Users could still look at the server status window while they already have a game running.
- They could continue chatting in the (hopefully) new Main chat area while waiting for their opponent to make his/her moves.
- They could even open multiple modules. Play in one module while spectating a game.

---

<div class="post-metadata">

### Author: ![timpelican](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/t/e480ec/32.png) [@timpelican](https://forum.vassalengine.org/u/timpelican)
#### Post date: [March 4, 2008, 10:12am UTC](https://forum.vassalengine.org/t/module-manager-changes/335/12 "2008-03-04T10:12:17Z")

</div>

On Tue, March 4, 2008 10:00 am, bsmith wrote:

> [@](#):
>
> While we’re on the subject, I’m just brainstorming here; How would  
> everyone feel about the “main” Vassal window being persistent? This  
> could offer a few possibilities:
> 
> - Users could still look at the server status window while they already  
> have a game running.
> - They could continue chatting in the (hopefully) new Main chat area  
> while waiting for their opponent to make his/her moves.
> - They could even open multiple modules. Play in one module while  
> spectating a game.

The first two aren’t currently that relevent to me, as I’m very rarely  
playing live, although they sound like they’d be good for those who do.  
The last would be a _big_ win for PBEM, I could leave all my ongoing games  
open and switch between them easily without creating multiple JVM  
instances.

Cheers,  
Tim.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![Brent\_Easton](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/brent_easton/32/10_2.png) [@Brent\_Easton](https://forum.vassalengine.org/u/Brent_Easton)
#### Post date: [March 4, 2008, 10:43am UTC](https://forum.vassalengine.org/t/module-manager-changes/335/13 "2008-03-04T10:43:55Z")

</div>

> [@](#):
>
> - They could even open multiple modules. Play in one module while  
> spectating a game.

Yes, it would be nice, I have thought about it several times myself. Unfortunately, several parts of Vassal have been built from the ground up to assume that there is only one GameModule at a time. It would take fairly major surgery to overcome this.

Regards,  
Brent.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [March 4, 2008, 1:32pm UTC](https://forum.vassalengine.org/t/module-manager-changes/335/14 "2008-03-04T13:32:46Z")

</div>

Thus spake “Brent Easton”:

> [@](#):
>
> > [@](#):
> >
> > - They could even open multiple modules. Play in one module while  
> > spectating a game.
> 
> Yes, it would be nice, I have thought about it several times myself. Unfortun  
> ately, several parts of Vassal have been built from the ground up to assume t  
> hat there is only one GameModule at a time. It would take fairly major surger  
> y to overcome this.
> 
> Regards,  
> Brent.

The changes would be widespread, but mostly superficial. Anywhere  
you have GameModule.getGameModule() you’d have to change that to  
something which gets the correct GameModule, or hold a reference  
to the correct GameModule.

Hardly anything I’ve seen relies on there being exactly one  
GameModule in any way beyond the way in which it gets a reference  
to the GameModule.

–  
J.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![tar](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/tar/32/21_2.png) [@tar](https://forum.vassalengine.org/u/tar)
#### Post date: [March 4, 2008, 5:31pm UTC](https://forum.vassalengine.org/t/module-manager-changes/335/15 "2008-03-04T17:31:32Z")

</div>

On Mar 4, 2008, at 2:00 AM, bsmith wrote:

> [@](#):
>
> - They could even open multiple modules. Play in one module while  
> spectating a game.

But would you need to allocate a terabyte of RAM to Vassal to  
accomplish this? ;-D

It seems a lot of the modules need a fair amount of RAM to hold the  
images for boards and counters, so is it really practical to expect to  
be able to have multiple modules open at the same time? Do memory-  
mapped images change this?

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))

---

<div class="post-metadata">

### Author: ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)
#### Post date: [March 4, 2008, 6:08pm UTC](https://forum.vassalengine.org/t/module-manager-changes/335/16 "2008-03-04T18:08:04Z")

</div>

Thus spake Thomas Russ:

> [@](#):
>
> But would you need to allocate a terabyte of RAM to Vassal to  
> accomplish this? ;-D
> 
> It seems a lot of the modules need a fair amount of RAM to hold the  
> images for boards and counters, so is it really practical to expect to  
> be able to have multiple modules open at the same time? Do memory-  
> mapped images change this?

The feasibility of this depends on the modules involved, how much RAM  
you have, and whether you’re on a 32- or 64-bit machine. E.g., you could  
probably do fine with serveral copies of small- to moderate-sized modules  
open on a lot of machines (though you might experience a lot of cache  
flushes if you come near to exhausting the heap and switch among the  
modules frequently). On the other hand, if you want to have two copies  
of Case Blue open then you’re going to have a hard time of it without  
heaps of heap.

–  
J.

* * *

Messages mailing list  
[Messages@forums.vassalengine.org](mailto:Messages@forums.vassalengine.org)  
[forums.vassalengine.org/mailman/ … engine.org](http://forums.vassalengine.org/mailman/listinfo/messages_forums.vassalengine.org)

Post generated using Mail2Forum ([mail2forum.com](http://www.mail2forum.com))
