Michael Bayne
a6d7764e29
More custom classloader support. We now have a proof-of-concept working so
...
it's unlikely that the rabbit hole will surprise us with further depth.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3269 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 02:54:26 +00:00
Michael Bayne
c92a922678
The rabbit hole goes deeper. Now we can configure the client with a custom
...
classloader to use when unserializing objects off the network. Also fixed
the way custom classloaders were used as Class.forName(class, true,
loader) seems to be the proper way to go to have caching work and whatnot.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3268 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 01:23:44 +00:00
Michael Bayne
f16beaa0a1
Allow custom classloaders to be used when loading PlaceManager
...
implementations and their ilk.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3267 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 00:41:38 +00:00
Michael Bayne
5f7409307f
Allow a derived place registry to be used.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3266 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-10 00:27:31 +00:00
Ray Greenwell
e7ef1e3e61
Support long[] values.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3265 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-09 01:34:50 +00:00
Ray Greenwell
129f302938
Put the pause label in the middle of the visible board.
...
This fixes the bug where there was no pause message in carpentry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3264 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-08 00:08:44 +00:00
Ray Greenwell
7b3750c19c
Log when a shutdown is initiated by someone pressing ctrl-C (or sending
...
the process the same signal another way).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3263 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-06 22:11:57 +00:00
Ray Greenwell
ecd8e2e8b6
Clear all mappings of oid->chat type when the user logs off.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3262 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-04 00:02:14 +00:00
Ray Greenwell
feb7355804
Go back to defaultly broadcasting to game objects, in case someone ever
...
creates a traditional lobby->room server with narya, and instead allow
a broadcast object to be registered with the ChatProvider to which all
broadcasts will be sent.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3261 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 23:47:19 +00:00
Andrzej Kapolka
33df387517
Moved shouldBroadcast override from PuzzleObject to GameObject.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3260 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 23:30:34 +00:00
Ted V
7ea2b45d39
Changed tabs to spaces since not everyone has the same tab stops.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3259 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 21:38:22 +00:00
Andrzej Kapolka
f4bb453f83
Don't report ready if not actually a player.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3258 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-03 03:27:37 +00:00
Ray Greenwell
e95f1e8914
Fixed booch-o that caused the cluster no-can-chat bug.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3257 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-02 22:06:05 +00:00
Michael Bayne
d04e068d9b
Use the custom class loader, though the way MiCasa works, the custom class
...
loader approach can't work. But it's useful to set a proper example.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3256 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 20:06:36 +00:00
Michael Bayne
3ed8e3cd0e
Added support for loading place-related classes with a custom class
...
loader.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3255 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 20:04:11 +00:00
Michael Bayne
d29db7765a
Updated to use non-deprecated method signatures.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3254 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 20:03:47 +00:00
Andrzej Kapolka
5e1b2d16ec
Added custom deserializer to initialize transient casted reference.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3253 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 02:19:58 +00:00
Michael Bayne
dd4ce23b93
Restructured table creation to allow it to be customized. Though I now
...
realize I will probably have to change it further.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3252 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-30 00:32:43 +00:00
Andrzej Kapolka
9dc8c542b8
Added private table property to TableConfig.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3251 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-29 23:04:56 +00:00
Michael Bayne
20acf36919
Removed in the spirit of maintaining the fewest lines of code. This can
...
effectively be accomplished with a combination of ResultListenerList and
ResultAdapter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3250 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-28 17:03:53 +00:00
Michael Bayne
1965e4ed30
Terser logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3249 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 22:29:32 +00:00
Michael Bayne
d492d541b3
Create our game configurator directly rather than returning a class and
...
forcing the caller to instantiate it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3248 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 21:24:33 +00:00
Michael Bayne
421ed5126e
Got a little too excited about using 1.5 features and some slipped into
...
Narya. I added directives to the compile line to prevent that from
happening again.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 17:34:55 +00:00
Michael Bayne
49b320716e
A handy utility method.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3246 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-27 07:33:29 +00:00
Michael Bayne
c43689b104
Make sure invocation listeners are only added to the list once.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3245 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 23:19:29 +00:00
Michael Bayne
bf9582e31c
Regenerated everything in alphabetical order.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3244 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 23:14:39 +00:00
Michael Bayne
7108e6e147
We need classpathref declarations here as well.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 23:13:42 +00:00
Michael Bayne
40b2a587c3
Load the InvocationListener class using the same classloader we use to
...
load the project's service classes so that they are comparable. Also sort
everything to avoid pointless changes in regenerated source files when
Java decides to arbitrarily return the methods in a different order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3242 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 23:13:28 +00:00
Michael Bayne
e889f5e9fe
Complain if we don't have a classpathref set. Fixed regex as EOL is
...
apparently not a non-word character.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3241 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 22:48:48 +00:00
Michael Bayne
2850a15acd
Factored out the code that will be shared between GenServiceTask and
...
GenReceiverTask (not yet implemented). Modified the task so that it can
load the service classes via a classpath declared inside ant, avoiding the
need to put project classes in Ant's classpath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3240 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-26 22:39:09 +00:00
Michael Bayne
a04e23e025
Regenerated our marshaller and dispatcher classes with the new Java-based
...
generator. It handles inner classes slightly differently and prepends a
project-specific header to the generated classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 04:47:40 +00:00
Michael Bayne
a0d343ff04
Rewrote the code that generates InvocationService marshalling and
...
dispatching classes in Java to eliminate annoying dependency on the output
format of JDK 1.4.1's javap.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3238 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 04:46:19 +00:00
Ray Greenwell
90621e78de
Moved standard puzzle chat up to the game level, so that all games
...
can broadcast chat messages on their object..
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3237 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 00:21:46 +00:00
Ray Greenwell
284494d296
The documentation says that the validator is optional, make it so.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3236 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 23:59:39 +00:00
Andrzej Kapolka
e6b9ee5afe
Check to make sure active card is still managed before sending events.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3235 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 22:18:33 +00:00
Michael Bayne
254e60811e
Removed our temporary code as we have figured said things out.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3234 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 20:37:36 +00:00
Ray Greenwell
226fe41e7c
And I may as well keep the commented-out code up to date.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3233 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-24 00:57:05 +00:00
Ray Greenwell
6acbd15c2f
Small fix: if we're bypassing the copyArea scrolling on a macintosh
...
and just dirtying the entire panel, we don't want to set _dx and _dy, as
that will trigger the actual use of copyArea and so forth during painting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3232 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 23:38:43 +00:00
Andrzej Kapolka
58876841c7
Changed getPartyDescription in PartyGameConfig to getDescription in GameConfig.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3231 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 22:28:39 +00:00
Andrzej Kapolka
98ea85c9b1
Pushed getRatingTypeId up to GameConfig.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3230 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 22:01:41 +00:00
Landon Fuller
660ff94fc1
On Mac OS X, mark the entire panel as dirty when scrolling to fix artifact issues.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3229 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 20:09:23 +00:00
Andrzej Kapolka
d9d3975027
Messages to receiver/service.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3228 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 02:47:38 +00:00
Ray Greenwell
a9ccfc8553
Don't NPE during normal operation!
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3227 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 00:41:58 +00:00
Michael Bayne
4cdcec6149
Do some hackery until we figure out where AuthUserObjects are getting
...
mapped into the client table without mogrified names.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3226 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-23 00:17:46 +00:00
Andrzej Kapolka
70a23b7d80
Changes suggested by Mike.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3225 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-19 19:21:46 +00:00
Andrzej Kapolka
72a6f2f966
Switched to receiver for dealing cards.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3224 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-19 19:04:56 +00:00
Andrzej Kapolka
f5fc8f9d2a
Added stored interval id to server SafeInterval, to match client.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3223 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-19 00:32:18 +00:00
Andrzej Kapolka
4294134954
Moved ButtonSprite up to com.threerings.media.sprite.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3222 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 23:39:12 +00:00
Andrzej Kapolka
e5f36ca111
Pushed reportWinnersAndLosers and related methods up to GameManager, MouseInputAdapter instead of MouseAdapter/MouseMotionAdapter.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3221 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 21:45:10 +00:00
Andrzej Kapolka
84b6bf5468
Various easy changes suggested by Ray.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3220 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-18 20:01:00 +00:00