Commit Graph

3055 Commits

Author SHA1 Message Date
Michael Bayne e8c355dff8 Obtain our system properties in a security manager aware manner.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2940 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-24 05:58:16 +00:00
Ray Greenwell 2552fd471b Simplified implementation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2939 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-17 01:55:46 +00:00
Eric Lundberg afccde1dd2 INitial checkin of a streamable version of an ArrayIntSet. I like sets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2938 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-17 01:14:12 +00:00
Michael Bayne 1688a19704 Allow for "loose" path location which gets the sprite as close as possible
by normal means and then walks them in a straight line from there (when
the straight line part will invariably be off-screen, this is OK).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2937 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-12 05:53:59 +00:00
Michael Bayne 7568ae1223 Provide support for locating incomplete paths.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2936 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-12 05:52:05 +00:00
Ray Greenwell ca89a3c122 Demoted logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2935 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-11 17:43:12 +00:00
Michael Bayne 7f4a01b795 Made getBlock() public, added enumerateResolvedBlocks(), pressObject().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2934 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-11 12:22:05 +00:00
Michael Bayne 197067593f Added support for visiting just the interesting objects.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2933 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-11 12:21:17 +00:00
Michael Bayne 0315c4316f Removed the hard coded jiggery pokery that we were doing to layout scene
object tips, replaced it with a system whereby custom tip layout
mechanisms can be registered for object action prefixes. The default tip
layout centers the tip in the object exactly as before minus the height
limitation business (which is actually no longer needed as the sailing
duty stations are no longer assigned to the rigging but to the wall below
the rigging).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2932 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-11 08:26:18 +00:00
Michael Bayne 9f48d11b4e Make the screen coordinates of the object's spot available since we have
them.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2931 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-11 08:24:16 +00:00
Ray Greenwell 424c9b0e0e Let object action handlers have a crack at modifying the tool tip text
for an action (we already let them have a crack at the icon).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2930 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-01-07 22:03:08 +00:00
Ray Greenwell 44247f19c6 Sigh, instead let's try giving each drop sprite only two "pop-ups".
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2928 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-31 01:26:23 +00:00
Ray Greenwell cbec145f7b Fix the floating sword-block exploit.
Pretty much what I was trying to do before, only instead of forcing the
block to a position, we continue to let the loop attempt to find a rotation
that works. Let's test and see how we like this.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2927 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-31 00:03:14 +00:00
Michael Bayne ddeadbcff1 Let's get jiggy with the verbosity in hopes of shedding some light on this
ever-repeating sound situation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2926 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-22 22:25:34 +00:00
Michael Bayne 07dfb982d7 No indication of time wickosity, so we can can this call.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2924 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-19 18:31:11 +00:00
Michael Bayne 5774f1b6a5 Removed verbose logging. Didn't discover anything useful with regard to
disconnects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2923 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-19 18:30:23 +00:00
Michael Bayne 7bccc5f5e3 Make sure we have a version and also do our matching without a regular
expression because Windows \s in paths booch the regex code to the high
heavens.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2922 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-18 18:32:34 +00:00
Michael Bayne b029b5d8c3 Clear our active flag before passing requestFailed() onto the subscriber
so that things go smoothly if they decide in requestFailed() to call
unsubscribe() in the course of their normal shuttings down.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2920 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-17 00:15:08 +00:00
Michael Bayne 1138be216f Combined some things that didn't need to be separated and added better
checking and error reporting.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2919 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-16 03:45:31 +00:00
Michael Bayne e213827ee9 Let's just warn and cope rather than sticking a fork in things.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2918 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 20:06:09 +00:00
Michael Bayne f623572a33 Corrected log message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2917 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 20:04:09 +00:00
Michael Bayne 50a3db61d3 The destination file is already versioned so we just replace the version
information with our regular expression.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2916 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 19:40:11 +00:00
Michael Bayne 7088a6b7db Removed transitionary code; added code to delete old bundle files from
previous releases that sometimes cannot be deleted because of the
mysterious "no you can't delete a file that you created" Windows bug.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2915 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 19:37:32 +00:00
Michael Bayne d425ec7abb Added isActive().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2914 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-15 17:12:11 +00:00
Michael Bayne 3e466530f6 We call RunAnywhere.currentTimeMillis() so that we can find out as soon as
possible if time has leaped into the past. This is primarily useful so
that we can correlate such happenings with other strangeness that may be
caused by time bogosity.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2912 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:59:05 +00:00
Michael Bayne 1bdfb805ab We can't do this, currentTimeMillis() will return bogus values such that
the math appears to work out even though time stopped. We can use
RunAnywhere.currentTimeMillis() which will warn if time goes backwards but
since when that happens the IntervalManager stops dead in it's tracks,
we'll never get ticked to find out about it. Fucking Windows.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2911 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:56:29 +00:00
Michael Bayne d43f20d60f Only warn if we take a (relatively) long time path finding (ie. over 500ms).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2910 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:52:00 +00:00
Michael Bayne 3af7167f2c Track and report whether we go long periods of time without being ticked.
We should be ticked every five seconds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2909 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-13 02:50:12 +00:00
Michael Bayne ede1aafffd Allow a custom cluster record to be used.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2908 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 22:50:55 +00:00
Michael Bayne 62e0e9cf37 Add a single method that we call in the various circumstances where our
client object has been updated so that the 90% of the directors that just
need to know any time that sort of thing happens so that they can listen
on the current client object can easily and robustly do so.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2907 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 21:36:12 +00:00
Michael Bayne f93c87cfb2 Properly manage the _pending flag in requestFailed().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2906 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:47:43 +00:00
Michael Bayne 810a6baf44 Make the safesub a little nicer about an unsubscribe() request that comes
on the heels of a requestFailed(). They don't have to do it, but it's
easier to just always call unsubscribe() whether things succeeded or
failed, so we'll quietly allow an unsubscribe() even if we have no object
or nothin'.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2905 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:46:02 +00:00
Michael Bayne 0bbb6759db Yes kids, it's important to be safe when you're playing in the dangerous
playground of distributed object subscription.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2904 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:36:55 +00:00
Michael Bayne 69a973efb2 Make our object manager available to nice askers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2903 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 18:36:32 +00:00
Michael Bayne 9cfe784c2f Use the appropriate methods from MessageUtil and provide pass-throughs for
our zillions of lines of code that expect the methods to be in
MessageBundle.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2902 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-11 06:34:43 +00:00
Michael Bayne f0b7c187c4 Not to freak out if someone hasn't stuffed the right s3cr3t business in
the UIManager.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2901 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-10 03:32:07 +00:00
Michael Bayne f8664ab2b5 Some tweaks to the simulator services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2900 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-10 03:31:41 +00:00
Michael Bayne 06230b3d47 Note and warn rather than choke.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2899 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-09 21:01:43 +00:00
Michael Bayne eac5cc2e01 The body object might have already been destroyed by the time we get here.
If so, don't start a transaction on it just let the events quietly float
off into the ether.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2898 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-09 20:57:14 +00:00
Michael Bayne 5418ffd2fd We love to be robust.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2897 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-09 20:41:23 +00:00
Michael Bayne ece997e937 Made getPuzzleFont() public.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2895 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 05:15:03 +00:00
Michael Bayne 505674bfbe Remove crack pipe, finish job.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2894 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 02:39:12 +00:00
Michael Bayne fedf57cbcd No implementing listener interfaces in the controller. Bad bad bad.
Unfortunately PlaceController already implements AttributeChangeListener
and various things take advantage of that. At some point I'll go in and
clean that all up, but for now I'll limit my fiddling to PuzzleController
on down.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2893 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-05 02:00:48 +00:00
Michael Bayne b4ad08ad81 Hell, let's give 'em 10000. We blow through that many distributed object
events in 500 milliseconds.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2892 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-04 18:42:40 +00:00
Michael Bayne fcef745724 We use fast computers, let's give 'em 1000 loops.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2891 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-04 18:41:59 +00:00
Michael Bayne 0cd11f034b Not to freak out if we've no bootstrap.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2890 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-03 23:38:58 +00:00
Michael Bayne 8de11561ac Out with XLATE_MODES which Narya doesn't use; and make sure it's a default
message received on the user object that we consider to be a tell.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2889 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-12-03 23:38:45 +00:00
Michael Bayne 030a8c801d Let's include the puzzle stuff with the parlor stuff to avoid having to do
a lot of jar file dicking around.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2888 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-27 02:13:15 +00:00
Michael Bayne bd24341589 Rejiggered the order in which board state comparison logging is done.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2886 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:16:43 +00:00
Michael Bayne 72f4b6e1d9 This should extend ParlorContext. We be gaming.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2885 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-11-26 23:16:13 +00:00