Michael Bayne
90e5231bae
When a DObject is destroyed, set its oid to -1 so that it knows that it
...
was once alive but is now gone. Catch attempts to start a transaction on a
destroyed object and log them as such. Made isDestroyed() and isActive()
final for wholly unfounded performance reasons.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3045 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-03 07:16:56 +00:00
Michael Bayne
0be671cd09
We aught to be usin' this here too.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3044 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-03 03:41:21 +00:00
Michael Bayne
e021264d52
If we encounter an error with a bundle while initializing the bundled
...
component repository, instruct the bundle to delete itself so that we will
redownload it next time the application is initialized.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3043 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-03 03:25:48 +00:00
Michael Bayne
9160490ffb
Made wipeBundle() accessible to external callers, moved a protected method
...
into its happy place.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3042 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-03 03:21:05 +00:00
Michael Bayne
e1d5b096ed
Invoker refactoring.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3041 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-29 03:22:22 +00:00
Michael Bayne
434a7cafb0
We need to set the difficulty before we set the board seed because that
...
triggers the generation of the boards and the difficulty needs to have
been broadcast prior to that.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3040 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-22 15:35:10 +00:00
Michael Bayne
a4cdf5382e
Removed vestigal constant.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3039 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-22 14:26:10 +00:00
Michael Bayne
2f0b9939d7
Some cleaning up of the difficulty handling so that we can use it as the
...
basis for our star system.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3038 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-22 14:08:58 +00:00
Michael Bayne
031331a5c3
Regenerated from service definitions.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3037 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-22 13:57:44 +00:00
Michael Bayne
425e8a6dcb
If we fail to resolve our jar file, it is most likely corrupt, so delete
...
it and allow the resource manager to redownload.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3036 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-19 08:09:33 +00:00
Michael Bayne
8f921179b1
Let there be one ant script.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3035 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-19 06:52:40 +00:00
Michael Bayne
5b68088b7c
Download the properties file ourselves before handing it to Java to parse
...
into a properties object so that we can log the text if Java chokes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3034 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-18 17:41:39 +00:00
Ray Greenwell
03ca013e8d
Allow system broadcasts to be INFO or ATTENTION level.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3032 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-17 18:28:58 +00:00
Michael Bayne
5282160ab4
Need to set the content length in here as well.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3031 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-17 03:02:55 +00:00
Michael Bayne
fc8213493e
Alas, such a simple fix isn't going to do the job. We need to be smarter
...
about handling resources that didn't provide a content length.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3030 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-16 09:44:23 +00:00
Michael Bayne
53eca560f6
Cope with the current situation where PA's servers somehow strip the
...
content-length header even though the servlet container is providing one.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3029 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-16 09:25:52 +00:00
Ray Greenwell
407d4ac3b1
Added a static broadcast().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3028 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-15 22:03:51 +00:00
Michael Bayne
14c9e6bc2c
Fail more gracefully in this circumstance, not that there's much we can do.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3027 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-15 18:25:13 +00:00
Ray Greenwell
136da4e780
Gracefully deal with DSet modifications, rather than brutishly recreating
...
the entire table.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3026 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-15 17:58:38 +00:00
Ray Greenwell
1e5ff6dd92
Broke out textual parsing into another method to ease subclassing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3025 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-15 03:25:19 +00:00
Ray Greenwell
87bbff083f
Guts exported to ObjectEditorTable.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3024 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-14 01:09:23 +00:00
Michael Bayne
0af79e2719
Invoker unit namestravaganza.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3023 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-13 08:51:57 +00:00
Michael Bayne
86e2a25580
Allow invoker units to be easily named.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3022 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-13 08:03:45 +00:00
Ray Greenwell
e5b1d3eda2
Go up to days.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3021 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-04 22:14:11 +00:00
Ray Greenwell
d25c7adba6
added getSelectedEntry.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3020 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 19:11:18 +00:00
Ray Greenwell
c8f519fc85
Rolled SettedObject right into DObject, because it's just too useful.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3019 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 18:15:03 +00:00
Ray Greenwell
2d90dd40a1
A special field editor that may be used to display or edit DSets.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3018 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 17:15:38 +00:00
Ray Greenwell
ae40f1ae0b
SettedObject interface. We may just want to roll this into DObject.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3017 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 16:34:07 +00:00
Ray Greenwell
dec746b983
Use ClassUtil.getFields(clazz)
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3016 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 15:56:25 +00:00
Michael Bayne
fadc9b82d9
Other entities may also want to queue up a shutdown.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3015 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 09:03:06 +00:00
Michael Bayne
0dfbb137e5
Added a mechanism for being informed when the connection manager fails to
...
bind to its socket.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3014 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 09:02:47 +00:00
Ray Greenwell
62b3ca4ba7
Apparently the proper way to remove a range from a List is to call
...
subList(range).clear();
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3012 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-25 21:58:14 +00:00
Michael Bayne
685f989dc9
A one shot component for tiling an area with a background tiler.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3011 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-21 07:36:17 +00:00
Ray Greenwell
9a998f9e69
Forgot something import-ant.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3010 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-19 22:09:04 +00:00
Ray Greenwell
0091a445f5
Don't actually register our scene manager until all of the our subclasses
...
have finished running didStartup.
This is a little hacky, but it's far easier than requiring that all our
subclasses call super() at the end, and booching it if someday they don't.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3009 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-19 22:04:45 +00:00
Ray Greenwell
680fc5bb38
Still having trouble tracking down a bug related to games that seem to
...
end twice. This should help.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3008 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-19 01:24:10 +00:00
Michael Bayne
72ea6248ae
Zone names are Name objects.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3007 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-18 11:04:08 +00:00
Ray Greenwell
60f9159f25
When flushing inactive clients, don't let a choke in one prevent us
...
from flushing the rest.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3005 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-10 17:45:27 +00:00
Ray Greenwell
11fba91964
Fixed pause-related bug. Lord forgive me for mucking about in here so much,
...
but now I've cleaned up the code that dicks with mouse listeners while
paused and moved it into an inner class so that it's easier to understand.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3002 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-05 02:38:22 +00:00
Ray Greenwell
1a0ae950f4
Changed module name to just "puzzle" (we're not longer in yohoho).
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3001 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-05-04 23:36:01 +00:00
Ray Greenwell
d3176c2d9c
Sigh, fixed so that the first click is not eaten if the user unpauses
...
with the keyboard.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2998 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-30 00:02:21 +00:00
Ray Greenwell
cb7007226b
Use the good'ole MouseHijacker to prevent the click that unpauses to
...
pass through to the board view.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2996 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-29 00:28:05 +00:00
Ray Greenwell
d5889452eb
Fixed click-to-unpause for non-blockade duty puzzling...
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2995 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-28 18:57:55 +00:00
Ray Greenwell
aa7537d526
When paused, don't install the mouse-clicky unpauser on the boardview, but
...
rather on the whole panel. This allows us to unpause by clicking even if the
boardview is removed during pausing, as it is now in blockade duty puzzles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2993 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-14 00:36:49 +00:00
Ray Greenwell
7308feea9b
More Name conversion.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2992 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-09 17:36:47 +00:00
Ray Greenwell
1d474b4863
By default, do not remove whitespace as part of Name normalization.
...
This is to prevent clashes between an NPP name like "Bad Bob" and a player
name like "Badbob". Something more sophisticated, like maybe a specific Name
subclass for yohoho usernames, is left as an exercise to the Mike, if desired.
Note that crew/flag name normalization is still as strict as ever.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2991 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-06 17:42:49 +00:00
Michael Bayne
1dc8070910
Checking these in for Ray so that things will compile.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2990 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-06 03:53:26 +00:00
Eric Lundberg
c50dbe8b72
Allow the field editor to edit arrays of floats. The sword runtime config
...
currently uses them but it wasn't actually possible to edit them. (Not
that I'm messing with the values or the sword code, I just noticed it was
seemingly borked.)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2989 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-05 23:44:28 +00:00
Eric Lundberg
beb2539663
Get rid of the not needed code that I had previously checked in for a
...
short stint of actually being used.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2988 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-31 02:16:12 +00:00
Michael Bayne
a0718bc6cd
Report the locale we're using. It's handy.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2987 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-31 02:09:37 +00:00