Commit Graph

931 Commits

Author SHA1 Message Date
Dave Hoover 3c5c5e6ba5 A healthy swig of google-collections
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@839 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-23 01:33:28 +00:00
Dave Hoover 1bfaa30761 Use NamedAttributeListener
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@838 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-19 19:31:31 +00:00
Ray Greenwell 75fdd4b2fc The UserIdentifier is global. Cut through the crap.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@837 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-02 01:24:20 +00:00
Ray Greenwell cde19e6777 Let's make this static.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@836 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-02 00:17:58 +00:00
Michael Bayne 145c94e792 Updated unit test to JUnit4, added a few tiler checks.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@835 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 22:57:54 +00:00
Michael Bayne b0dcb25553 Don't let toBucketIndex freak out if someone requests the percentile for a
value out of our seen range. That's OK. Also switch to PrintWriter from
PrintStream when dumping.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@834 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 22:57:37 +00:00
Michael Bayne 0fe7c93745 Update comment and throws based on what I ended up going with.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@833 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 21:02:09 +00:00
Michael Bayne cfe2e3126a Publish our table after we create the game if we're going to immediately create
the game. Also factor that out into tableCreated() for easy subclass listening.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@832 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 21:01:24 +00:00
Michael Bayne da05e8a781 Added getTableCount().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@831 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 20:52:23 +00:00
Michael Bayne 065d0e243f Add support for differentiating properly between interesting and not
interesting tables and not publishing the not interesting tables in the table
lobby object.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@830 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 20:48:52 +00:00
Michael Bayne e84a3fa3d7 Futureproofed.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@829 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 19:36:59 +00:00
Michael Bayne 88ccd59b35 Some log tidying up.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@828 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 17:28:54 +00:00
Michael Bayne a4a42673ee Add a brief method for getting our id.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@827 c613c5cb-e716-0410-b11b-feb51c14d237
2009-05-01 17:21:29 +00:00
Michael Bayne dd573b82a5 Whatdya know. WDNI.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@826 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-29 21:49:29 +00:00
Ray Greenwell f0b800d75c Drive-by logging varargification.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@825 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 21:57:02 +00:00
Ray Greenwell 8fd0dc1cbb Import OccupantInfo. Now that other things are fixed, the compiler can notice
that it has no idea what I'm talking about.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@824 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 17:48:36 +00:00
Ray Greenwell 543c6b2541 Maybe something like this.
Waffle.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@823 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 17:42:14 +00:00
Ray Greenwell f1f0ac3f6a Back to this, for now.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@822 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 17:40:32 +00:00
Ray Greenwell 3fd3171725 Oh actionscript, you vex me so.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@821 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 17:35:28 +00:00
Ray Greenwell d846c3070b And a convenience function for the client, too.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@820 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 17:17:57 +00:00
Ray Greenwell 7c028fa977 Added back a form of getPlayerPersistentId() that takes a BodyObject, for convenience.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@819 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 03:12:58 +00:00
Ray Greenwell 57faa7f72e User identification on the client.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@818 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-28 02:15:15 +00:00
Ray Greenwell 9a398a955c Drive-by logging varargification.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@817 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-23 00:42:20 +00:00
Michael Bayne 74fb88002b Obtain our persistent id from our name, not the whole object.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@816 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-21 20:48:48 +00:00
Ray Greenwell d873854578 Moved UserIdentifier to data.
We'll be using it on the client as well, because I'm going to have
to finally pay down some code debt (and do something actually
useful for the creators): expose memberIds to the whirled screen-game api.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@815 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-20 23:02:10 +00:00
Michael Bayne c38b709b6a Use handy new addDispatcher().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@814 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-20 17:56:44 +00:00
Michael Bayne cd66cf6e06 Oops. Can't do that.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@813 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-17 22:57:59 +00:00
Michael Bayne 355723954b Allow 1.6 source but continue to target 1.5 bytecode.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@812 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-17 22:49:38 +00:00
Dave Hoover 1039a98a98 Exploratory widening/vararging.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@811 c613c5cb-e716-0410-b11b-feb51c14d237
2009-04-14 20:35:13 +00:00
Michael Bayne 5c870729e0 No longer need this platform hackery.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@810 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-31 01:37:07 +00:00
Michael Bayne e7d65a6b57 Added asdoc target.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@809 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-30 23:09:45 +00:00
Michael Bayne 9048a1698c Accept mavenized versions of our depends.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@808 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-30 23:09:25 +00:00
Michael Bayne ae63902203 Fixes for asdoc (which is a piece of shit, kthx).
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@807 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-30 23:09:12 +00:00
Michael Bayne 3b70248329 Changed a bunch of Thread.dumpStack() calls into stack traces properly logged
via the logging system.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@806 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-24 18:47:15 +00:00
Mike Thomas 139e900b44 We cannot initialize these intervals until the init() function, otherwise _omgr is null and we end up getting things called on the wrong thread.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@805 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-17 18:04:31 +00:00
Dave Hoover 20657dbaff Remove trailing whitespace throughout, and then widen/vararg/foreachize some
card game stuff that we were looking at.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@804 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-17 17:46:50 +00:00
Michael Bayne d05664f649 Added purgePlayers().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@803 c613c5cb-e716-0410-b11b-feb51c14d237
2009-03-03 23:21:24 +00:00
Michael Bayne 6c3c435c7c Report our max and min when we compute a bogus bucket index.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@802 c613c5cb-e716-0410-b11b-feb51c14d237
2009-02-19 17:06:54 +00:00
Dave Hoover 8fcdcea137 Some idle widening & vararg logging
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@801 c613c5cb-e716-0410-b11b-feb51c14d237
2009-02-14 06:25:29 +00:00
Ray Greenwell 295393ce2b Revert to targetting 9.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@800 c613c5cb-e716-0410-b11b-feb51c14d237
2009-01-29 20:30:56 +00:00
Ray Greenwell d34737b473 Updated to target flash 10.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@799 c613c5cb-e716-0410-b11b-feb51c14d237
2009-01-28 22:28:27 +00:00
Jamie Doornbos cded198b22 Got rid of rogue dumpStack and varargified
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@798 c613c5cb-e716-0410-b11b-feb51c14d237
2009-01-09 21:49:13 +00:00
Michael Bayne a8f4e9fc9b Updated to new Depot world order.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@797 c613c5cb-e716-0410-b11b-feb51c14d237
2009-01-08 02:10:42 +00:00
Jamie Doornbos b748974845 Once a table is purged, stop listening to the game object, otherwise we get warnings when the game goes away or the occupants change. purgeTable is called from a number of places, apparently sometimes before unmapTable
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@796 c613c5cb-e716-0410-b11b-feb51c14d237
2009-01-06 01:24:55 +00:00
Michael Bayne 382affd707 Dump a stack trace in a way that makes it into the logs.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@795 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-17 00:13:05 +00:00
Michael Bayne a8421616f9 Avoid returning null from getCodeString() as it causes problems down the line.
Just return a string that is very unlikely to match an existing code.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@794 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-10 20:53:43 +00:00
Michael Bayne fe323675e8 Assign our starting location in the new addOccupantInfo() and do it before the
occupant's oid is added so that our info is already in place when bodyEntered
gets called.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@792 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-10 01:07:12 +00:00
Michael Bayne b1a74708f0 Varargs logging.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@791 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-09 19:29:18 +00:00
Ray Greenwell 7148e78405 Our invocation adapters now expect success first.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@790 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-09 02:21:40 +00:00
Michael Bayne 011ce82736 Nix unused import.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@789 c613c5cb-e716-0410-b11b-feb51c14d237
2008-12-08 19:01:27 +00:00