Commit Graph

2477 Commits

Author SHA1 Message Date
Michael Bayne ba9e8276ce Let's make that key public.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2867 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 17:53:11 +00:00
Michael Bayne 6f336305f8 Obtain the idle time from our client config.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2866 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 17:52:15 +00:00
Michael Bayne cb9ed7030d Provide a config instance.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2865 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 17:51:56 +00:00
Michael Bayne 30190bfd85 Provide a config instance via which we can communicate customizations down
to various and sundry services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2864 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-24 17:51:08 +00:00
Michael Bayne 7056f6dfac Log a warning and return null.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2862 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-22 19:57:16 +00:00
Michael Bayne 2e69e6770e Log a stack trace when this happens.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2861 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-22 19:57:03 +00:00
Michael Bayne e3b2930778 Added getNaturalWidth() and getNaturalHeight().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2860 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-19 18:27:10 +00:00
Michael Bayne f634ee53dc We don't need to be so Draconian, we can just do our best and leave it at
that.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2857 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-15 00:17:59 +00:00
Ray Greenwell 515e5a293e Instead of drawing thousands of little pieces of the background tiled,
draw but 9 images, with the non-corner ones being scaled as appropriate.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2856 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-14 19:39:52 +00:00
Michael Bayne f77cceffe6 Make our _iid available to the SafeInterval.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2854 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-12 23:37:47 +00:00
Ray Greenwell bb11cd4d0a Some better comments, tightening up.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2853 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-12 23:13:45 +00:00
Ray Greenwell 7795edf604 Use BaseTile objects to contain fringe tile info, mark them as impassible
if they are fringed on by any SPECIFIED tileId (ie, not the default tileId)
that is impassible.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2852 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-12 23:05:41 +00:00
Ray Greenwell 708008b65f Changed so that to follow a pathable you pass in the pathable and one of the
public follow mode constants, instead of having a different method for
enabling each different follow mode.
Added a new follow mode: track, which aligns the upper-left coordinate of the
view with the hotspot of the pathable.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2851 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-12 21:47:09 +00:00
Michael Bayne 98e59b847e I discovered that ResourceBundle messages finally seem to do the right
thing with unescaped ticks (') which led me to modify MessageBundle to
automatically escape ticks before passing things to MessageFormat. This
allows us to use unescaped ticks willy nilly in our translation strings.
Yay! No more annoying worrying about whether we should use \' or '' or
having things be booched because we forgot one or the other.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2850 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-05 23:10:43 +00:00
Michael Bayne 342cce503e Added isRegisteredFrameParticipant().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2849 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-03 22:19:51 +00:00
Michael Bayne 9672534004 Make sure the cache and .stamp paths are not versioned. Also ensure we
don't leave any unversioned bundles lying around after a conversion.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2847 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-29 23:09:48 +00:00
Michael Bayne 41ce70349b Revamped the way we handle versioned jar files such that each bundle is
named according to its version number so that when we patch an old version
to create a new version, we don't have to do any renaming, we just create
the new version directly and hopefully avoid this bullshit problem on
Windows where we're unable to rename a goddamned file.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2846 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-29 22:31:55 +00:00
Michael Bayne 7a9f2557f0 Try another strategy if we fail to remain our original file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2845 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-29 02:42:56 +00:00
Michael Bayne d7c1a05854 Deal more gracefully if some pathological circumstance prevents us from
resolving a scene object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2844 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-29 01:42:37 +00:00
Michael Bayne ba26e551bd Differentiate between dynamic resource URLs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2842 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-27 11:43:26 +00:00
Michael Bayne 77bc33214a Handle string and int arrays.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-27 05:34:19 +00:00
Michael Bayne 2bcf2f26a4 I just saw someone have 2100 outgoing messages queued up for them in 415
milliseconds. I want to know what in the fuck those were.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2840 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-26 05:18:13 +00:00
Michael Bayne b696989375 Removed erronious space.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2838 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-26 02:45:19 +00:00
Eric Lundberg fc2cb730b8 Lets not store the whole marshaller and just the class name. Combine log
message.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2837 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-26 02:44:01 +00:00
Eric Lundberg bcd034d0be Hmm I think this does the right thing tracking the lask 10K invocation
services that registered (ignoring unregisters) but I can't get it to
cough up the problem on my machine, so it's a little hard to test.  If you
fine cvs readers want to take a peek that would be great.  Hurray for
debug code.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2836 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-26 02:33:43 +00:00
Michael Bayne ed5a97243e As it turns out to be nearly impossible to avoid occasionally trying to
post events to an object that is already destroyed, we'll allow
transactions to be started on non-active objects and we'll just log a
warning when the transaction is finally committed like we do for all other
events on non-active objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2835 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 22:08:02 +00:00
Michael Bayne 0fc8813314 Let's not freak out if our caller disappears while we're off resolving a
scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2834 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 00:10:35 +00:00
Michael Bayne 5272911863 Don't really need the stack trace.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2833 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 00:04:00 +00:00
Michael Bayne 414152443b We don't need to see the message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2832 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-25 00:01:04 +00:00
Ray Greenwell fcca6c3ce8 Take advantage of HashIntMap.Entry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2831 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-24 22:15:23 +00:00
Ray Greenwell eca5077375 Do the post-download portion of a bundle immediately after each bundle
instead of waiting for them all to complete.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2830 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-23 20:31:28 +00:00
Michael Bayne e8056bca17 Throw a useful exception if the parameters are invalid.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2828 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-22 20:26:32 +00:00
Michael Bayne 3fadb2b1ea Fucking JarFile throws a SecurityException if there's a signing error
which is *not* an IOException. Thanks guys.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2827 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-22 18:50:27 +00:00
Ray Greenwell 969008a6b8 Added a method for playing sounds after a specified delay.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2826 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-16 01:01:51 +00:00
Michael Bayne a02d076d8e Tone down the max path length, when searching for a path in unresolved
space, it ends up considering up to 10,000 nodes with a max path length of
50 which causes the client to hang for like 5 seconds. Not so good. With a
max path length of 20, that comes down to about 1,300 nodes which ends up
being non-linearly faster.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2825 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-15 23:20:40 +00:00
Michael Bayne ba52e3cfa4 If we fail to deliver the objectAvailable() notification because the
client is disconnected, unsubscribe immediately. We normally unsubscribe
when the client loses its connection but it's possible for a subscription
request to come in and the client to lose connection before we can
communicate the object available response.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2824 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-10 23:23:41 +00:00
Michael Bayne 2afc52d18d Don't freak out if we're missing our scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2823 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-10 19:18:18 +00:00
Michael Bayne 6b2c9cde14 Report the toString() output on long runners.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2822 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-08 04:10:29 +00:00
Michael Bayne ff8211534f Take no guff from freaking out network event handlers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2821 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-07 22:41:24 +00:00
Michael Bayne b032f51b84 Refuse moves to invalid zones, scenes or places.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2819 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-03 20:41:32 +00:00
Michael Bayne 567d3696a9 Added toServerTime().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2818 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-30 22:18:18 +00:00
Michael Bayne 670d346c6c Clear out our subscription table in clearSubscrips() so that we don't
erroneously decide that we have stale subscriptions around, and log stale
subscriptions if we do end up clearing them.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2817 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-29 18:28:22 +00:00
Michael Bayne c597a5c833 Not to freak out if a client logs off between the time they made their
pirate selection and the time we manage to load up their pirate.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2816 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-25 21:07:54 +00:00
Michael Bayne e6ae375c00 Not to freak out if somehow we don't have a current path.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2815 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-25 21:07:20 +00:00
Michael Bayne bedb859943 Demoted logging to debug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2814 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-25 15:57:38 +00:00
Michael Bayne c1c3285b96 Added a toString() to our scene loading unit.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2813 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-25 00:26:16 +00:00
Michael Bayne 73373b8844 Propagate up an exception if we're not able to download the resource
manager config (usually a transient DNS failure).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2812 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-24 23:54:59 +00:00
Michael Bayne 44f2a352cc Removed vestigal business.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2811 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-24 21:39:42 +00:00
Michael Bayne 320f53913b We only need to introspect and sort our fields array once per class, not
every time we create a distributed object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2810 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-24 20:33:06 +00:00
Michael Bayne 0aecdc2069 Don't create our listen socket until we've actually be started up.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2809 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-24 18:37:55 +00:00