Michael Bayne
35f3173694
Added pluggable mechanism for feature-level access control.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1874 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 21:32:39 +00:00
Michael Bayne
bb22856f76
Changed get...() to enumerate...().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1873 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 21:32:15 +00:00
Michael Bayne
2e32b6c3a7
Periodically scan the clients table and end the session of any expired
...
clients.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1872 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 21:04:19 +00:00
Michael Bayne
79259479c6
Make a note of when we started our session and when we most recently
...
connected or disconnected. Use this to determine if a client has "expired"
(meaning they've been disconnected for too long).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1871 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 21:03:57 +00:00
Michael Bayne
2f7399ed68
Added support for specifying a version string during the client
...
authentication process.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1870 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 18:44:34 +00:00
Walter Korman
f1c8ccd347
Added PlaceManager.applyToOccupants(), and a generic useful OccupantOp.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1869 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-31 01:12:08 +00:00
Michael Bayne
8252efeed1
No more ping verbosity.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1868 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 18:46:33 +00:00
Walter Korman
d9f7ebc792
Busted a cap in the accidentally-left-in verbose logging that pissed me
...
off so much while I was sailing around. Take that you little fucker! How
do you like that, huh?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1867 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 09:34:08 +00:00
Ray Greenwell
c919832043
we actually want to report disconnect time with a granularity of SECOND
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1866 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 01:56:17 +00:00
Ray Greenwell
316634eb58
report idle / disconnected times when whispering.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1865 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 01:47:12 +00:00
Michael Bayne
7adcf49ef3
We need to allow the caller to specify the location in which the users
...
status should be updated.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1864 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 00:47:19 +00:00
Michael Bayne
77ae8c7d0f
Maintain user's status in their body object; also maintain a timestamp
...
that indicates the time at which their status became what it is.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1863 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 00:42:37 +00:00
Michael Bayne
6b651c2f9c
Don't request to dirty an invalid region if we scroll more than an entire
...
screen vertically, instead request to dirty one with zero height.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1862 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 00:27:37 +00:00
Michael Bayne
92c6a8a564
Complain about invalid dirty regions; ignore useless regions.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1861 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-30 00:26:53 +00:00
Michael Bayne
98d19e055a
Added facilities for idling out clients that have not communicated with
...
the server in 90 seconds. The client is set up to ping the server if it
has had nothing to say to it for other reasons in the last 60 seconds.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1860 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 23:51:26 +00:00
Walter Korman
af5b530b4c
Fixed log message formatting.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1859 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 23:44:23 +00:00
Walter Korman
6334b6d690
Sanity-check dirty rectangles when painting the media panel.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1858 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 20:33:51 +00:00
Walter Korman
092e0f110c
Sanity-check for null dirty rectangles.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1857 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 20:33:26 +00:00
Michael Bayne
e94ff3de5e
Added shiftToContain().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1856 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 06:07:22 +00:00
Walter Korman
5c189fbb14
Added isWinner() and getWinnerIndex().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1855 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-29 02:09:03 +00:00
Ray Greenwell
b5e5f5f4e1
director audit: make sure things shut down well.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1854 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-28 00:22:38 +00:00
Walter Korman
883f912a30
Added gameWillEnd(), and GameObject.winners that details the winners of
...
the game, as assigned by GameManager.assignWinners() when the game ends.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1853 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 23:54:32 +00:00
Walter Korman
556347c778
Clear things out when the client logs off.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1852 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 23:30:56 +00:00
Ray Greenwell
c3743cd98c
change to ChatDisplay.clear() method signature
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1851 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:34:43 +00:00
Ray Greenwell
811ccd0bf1
when the client logs off, forcibly clear all chat displays
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1850 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:34:11 +00:00
Ray Greenwell
a3eb2e1b7a
changed clear() -> clear(boolean force), if force is true,
...
ChatDisplays may not ignore the request to clear.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1849 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:33:42 +00:00
Michael Bayne
34e777c444
Debug log fiddle.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1848 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:24:59 +00:00
Michael Bayne
e166a3efff
Debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1847 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:24:20 +00:00
Michael Bayne
31baef425a
Director audit: make sure these guys clean up after themselves when the
...
client logs off.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1846 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:23:14 +00:00
Michael Bayne
7aa16f09e0
Removed obsolete comment.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1845 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 22:19:21 +00:00
Walter Korman
2625d76084
Oh god, how did I accidentally leave this in here? Removed verbose
...
logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1844 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 21:58:18 +00:00
Michael Bayne
6781e1da56
Oh the price we pay for wanting to be able to logoff and log back on
...
without exiting the client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1843 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 21:24:58 +00:00
Michael Bayne
14a313486b
Documentation repairs.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1842 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 18:49:51 +00:00
Walter Korman
4b97ff9916
Fixed typo in javadoc.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 02:05:26 +00:00
Walter Korman
a5576eed88
Factored out code to update a player's connection status to make it
...
available for use by derived classes, and because it's cleaner this way.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1840 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 02:04:50 +00:00
Walter Korman
657a8a6f03
Initial version.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1839 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 02:03:40 +00:00
Walter Korman
28a3cde90b
Use an ObserverList.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1838 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 02:03:13 +00:00
Michael Bayne
76ba2840c4
Provide access to the values that existed previous to the application of
...
events that change values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1837 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 01:33:43 +00:00
Michael Bayne
bb489caf39
New OccupantObserver signature.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1836 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 01:25:18 +00:00
Michael Bayne
561f25bb18
Provide the previous occupant info record when reporting an update so that
...
observers can determine which fields have changed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1835 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-27 01:25:08 +00:00
Michael Bayne
c3eb45bbed
Remove crack pipe; insert correct code.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1834 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-26 23:21:19 +00:00
Michael Bayne
2c2a9f819d
Documented SafeScrollPane requirement.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1833 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-26 20:31:15 +00:00
Michael Bayne
868ce6f471
Added method for obtaining the sign of a value.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1832 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-26 20:31:06 +00:00
Walter Korman
fec48b8586
Track a user's connection status in their occupant info so that we can
...
react to player disconnection, idle (implementation still pending), and
reconnection appropriately. Added PlaceManager.bodyUpdated().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1831 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-26 02:40:30 +00:00
Walter Korman
ad344e05e1
Fixed typo in javadoc.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1830 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-26 02:37:59 +00:00
Michael Bayne
286892639e
Removed the vestigal return as it confused the comment.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1829 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-25 21:15:27 +00:00
Ray Greenwell
f7b462b9c2
added MuteObserver interface.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1828 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-25 20:32:41 +00:00
Michael Bayne
fd44620d57
Incorporate a hash of the resource URL into the cache directory so that
...
bundles from one client installation don't overwrite bundles from another.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1827 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-25 17:21:00 +00:00
Walter Korman
beca9850aa
Return null in getImageSource() if the specified bundle can't be found, as
...
was documented, so that callers can do things like fall back to trying the
classpath rather than having the previously-thrown IOException circumvent
the rest of their antics.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1826 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-25 00:44:16 +00:00
Michael Bayne
dd912c3d7d
Need to use getPlayerSlots() not getPlayerCount().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1825 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-24 19:05:46 +00:00