Michael Bayne
6b0695af30
Track and report some connection manager stats over a short historical
...
period so that we can see what sort of funny business is going on with the
network thread when the process spikes up to 100% CPU.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3066 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-04 02:31:18 +00:00
Ray Greenwell
ec022ed1b2
Ask the SceneProvider to handle a moveBody request if the body is already
...
in the correct zone.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3064 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-30 21:13:41 +00:00
Ray Greenwell
2efe7cc777
Moved getPerformanceLevel to yohoho where it belongs.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3063 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-29 21:51:38 +00:00
Ray Greenwell
51ce5f3b4f
Qualify them error messages.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3062 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-17 00:24:31 +00:00
Ray Greenwell
db04c873b2
If our bundle is already ready to go, we may get the notification that it's
...
ready prior to even waiting for it. Handle that case.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3061 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-14 20:31:33 +00:00
Michael Bayne
0e853085d5
OK boys, we're going in. Revamped the resource manager now that it doesn't
...
handle downloading of resources, it simply manages them in situ. Getdown
is now responsible for all the downloading.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3060 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-14 14:06:46 +00:00
Michael Bayne
c7223a89e1
New commons world order.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3059 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-13 16:37:40 +00:00
Michael Bayne
1da753e14d
Brought things up to date with the latest Jakarta Commons world order.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3058 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-13 16:34:49 +00:00
Michael Bayne
a6f57205d7
Make sure we stop the drop sprite from dropping at high velocity when we
...
suspend the puzzle. Also added some logging to debug the occasional
obscure situation where the puzzle is suspended at just the right time to
prevent the drop block from properly starting up again when we resume.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3057 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-10 05:18:59 +00:00
Michael Bayne
a19b77e68b
Confirm our start puzzle requests.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3056 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-10 04:17:21 +00:00
Michael Bayne
fe7e9dc413
Debugging code to try to track down the cause of the multiply released
...
pending ratings. Somehow a game is getting ended twice even though the
code should prevent it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3055 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-10 01:32:54 +00:00
Michael Bayne
55df96a644
Throw an informative exception in this circumstance. The NPE that would
...
follow doesn't tell us anything about the hosed tileset.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3053 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-09 04:00:20 +00:00
Michael Bayne
19abac5be1
Handle shorts. Maybe later we'll add support for pants.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3052 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-09 03:52:04 +00:00
Michael Bayne
f700be00db
Proving the value of the instant-review system, we repair this booch
...
before it has a chance to bring everything to a screeching halt.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3051 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-07 04:08:41 +00:00
Michael Bayne
212ebb1b53
As Ray pointed out, clearing the oid upon destruction causes problems, so
...
let's just not do it. We can accomplish our earlier goals, though with
slightly less distinction making capability, in a different way.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3050 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-07 03:10:24 +00:00
Michael Bayne
761e05c540
Try to only log when something actually bad is going on.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3049 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-03 09:30:03 +00:00
Michael Bayne
f8e5c85d1f
Keep mum about connections being reset by their peer. It is a normal event
...
in the wild, wild world of the Interweb.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3048 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-03 09:19:04 +00:00
Michael Bayne
124abb66f7
This also happens as a matter of course. Clients send invocation requests
...
after things have already been processed and cleaned up on the server.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3047 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-03 07:24:39 +00:00
Michael Bayne
e57580626e
Clients come and go at the craziest of times. No need to worry about it.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3046 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-03 07:19:46 +00:00
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