Michael Bayne
401f609224
Catch any argument when loading an image and report useful things.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1942 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-13 04:24:51 +00:00
Ray Greenwell
b89f5dc419
Log a stack trace (and refuse to do it) if someone tries to
...
register the same chat display twice.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1941 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-13 01:29:41 +00:00
Walter Korman
11da0c8983
Need to specify a null parent when initializing the bundle.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1940 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 22:56:18 +00:00
Walter Korman
8a767a3897
Need to specify the sound type when playing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1939 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 22:55:59 +00:00
Walter Korman
cc0d07836b
Use new keyboard mgr interface.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1938 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 22:55:32 +00:00
Walter Korman
ac42d81217
Added clearPlaceView().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1937 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 22:55:15 +00:00
Michael Bayne
14024fbd23
Provide access to the removed entry when one is removed.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1936 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 20:37:52 +00:00
Walter Korman
b90d5e4b85
Renamed ClientController to SimulatorController.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1935 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 19:54:05 +00:00
Walter Korman
b0056f0f41
Added zone adapter.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1934 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 19:53:35 +00:00
Michael Bayne
58d728aa91
Log a stack trace if we're missing a translation message so that it's easy
...
to track down the offender.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1933 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 08:18:03 +00:00
Walter Korman
828fd80951
Minor restructuring to allow derived simulator applications to specialize
...
their logon behaviour to suit their needs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1932 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-12 01:42:28 +00:00
Michael Bayne
80b97158d2
Don't attempt further translation on tainted arguments in compound
...
translation keys. They might contain | which would cause xlate() to think
that they were another compound key.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1931 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-10 03:14:45 +00:00
Michael Bayne
6b2433600e
Be a bit more freaked out if someone tries to post an event on a stale
...
distributed object.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1930 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-10 01:43:28 +00:00
Michael Bayne
c53a6f59b1
Add support for clearing a place view when it goes away so that we can
...
better manage multiple outstanding place views.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1929 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-08 09:31:59 +00:00
Ray Greenwell
800a3e8a80
Don't swallow keys unless we dispatched them to a puzzle.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1928 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-08 08:17:35 +00:00
Ray Greenwell
59fbad181c
the 'force' argument to ChatDisplay.clear() is now implied.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1927 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-08 07:28:23 +00:00
Michael Bayne
d50852ebb1
Use Java-provided mechanism for sanity checking.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1926 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-07 22:42:51 +00:00
Michael Bayne
628b82294a
Add sanity check to catch circumstances where dirty regions are posted on
...
threads other than the AWT thread.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1925 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-07 21:45:20 +00:00
Walter Korman
4f4068a00a
Fixed typo in log message.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1924 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-06 21:05:13 +00:00
Walter Korman
573fe5504b
Fixed time-based animations to fire at the appropriate time.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1923 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-06 07:40:05 +00:00
Michael Bayne
9e9dc24b72
Need to put this in a config file, but for the time being, up the "state
...
of the union" report to once every 15 minutes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1922 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-06 06:18:17 +00:00
Michael Bayne
d5c8d93bef
Bang howdy partner.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1921 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-06 04:18:02 +00:00
Michael Bayne
f79d2de522
Don't bail out so early. We may have already updated the user object but
...
need to update another place object with a subsequent call to
updateOccupantStatus().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1920 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-06 04:12:39 +00:00
Michael Bayne
be6645db40
Have the sprite animation start the sprite along its desired path the
...
first time the animation is ticked so that we don't get apparently physics
defying behavior if someone creates a sprite and sprite animation but then
doesn't activate the animation immediately.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1919 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-06 01:40:39 +00:00
Michael Bayne
1f44f241c3
Logging cleanups.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1918 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-06 01:39:32 +00:00
Walter Korman
7acc400904
Added toString().
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1917 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-06 00:05:16 +00:00
Michael Bayne
10c2251bdb
This is tricky business; we need to be more careful about how we handle
...
animations triggered on the completion of previous animations so as not to
booch things if a triggered animation is queued up after all previous
animations have already been started.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1916 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 23:56:35 +00:00
Michael Bayne
562111a95d
Better debug logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1915 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 21:53:56 +00:00
Michael Bayne
07ee41afef
Whoops! Didn't finish the job prior to that last checkin.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1914 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 21:29:00 +00:00
Michael Bayne
b24800922a
Changed addAnimation() to startAnimation(), made it protected. Removed
...
getAnimationCount() because it's no longer valid.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1913 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 21:27:49 +00:00
Michael Bayne
913264c225
Documentation cleanup; removed vestigal _lastidx.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1912 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 21:23:55 +00:00
Michael Bayne
f3fd0744ec
Further clean up. We love helper classes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1911 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 21:17:32 +00:00
Michael Bayne
da1119b61a
Cleaned up and robustified. There were issues.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1910 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 21:12:55 +00:00
Michael Bayne
a1fb4647a5
Removed vestigal test logging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1909 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 21:03:31 +00:00
Ray Greenwell
2ab8861dba
- Set the resource freeing timer to operate in non-repeating mode, since I
...
previously stopped it every time it fired anyway.
- Enforce a maximum queue size for played sounds so that things don't get
out of hand.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1908 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 21:02:03 +00:00
Michael Bayne
3eba0dcf13
Animation sequencer revamp: animations can be added incrementally;
...
animations can be cued on the completion of the previous animation;
runnables can be provided for invocation upon animation completion or
in place of an animation in the chain.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1907 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 20:53:53 +00:00
Michael Bayne
d5dbc514ca
Use observer lists.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1906 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 20:52:39 +00:00
Michael Bayne
400b8ca638
Use ObserverList; provide timestamp to animation events.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1905 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 20:51:50 +00:00
Michael Bayne
144cf2299a
Provide a timestamp with animation events.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1904 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 20:51:13 +00:00
Michael Bayne
ece79bc86c
Use observer lists for our observers instead of array lists.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1903 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 20:50:42 +00:00
Ray Greenwell
6a2cc6a16f
optimize common case of having no dirty rectangles
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1902 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 18:52:11 +00:00
Michael Bayne
e05341f035
When the JViewport scrolls its components, it simply calls setLocation()
...
which results in the component (and every other component in between that
component and the Sun) becoming invalid. Unfortunately, it isn't kind
enough to also let the RepaintManager know about its jokey business, and
so things simply remain invalid until some other joker comes along and
invalidates everything on God's green earth (like the JTextField). We hack
in a call to revalidate() on our poor unsuspecting scrolled component so
that everything will work properly.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1901 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 05:51:18 +00:00
Michael Bayne
b69e92c992
The joy of Swing. We have to refuse to acknowlege JScrollPane instances as
...
validate roots because when their children are invalidated, it causes the
entire hierarchy to be invalidated, which we then must revalidate lest
they live the rest of their mortal lives as invalids.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1900 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 05:49:31 +00:00
Michael Bayne
b9fe4f4b01
Do our disconnect fiddling on the new safe sessionConnectionClosed()
...
calldown method rather than the old wasUnmapped() which is called on the
conmgr thread.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1899 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 05:48:18 +00:00
Michael Bayne
0cd73d2e56
Expose a calldown method that is called on the dobjmgr thread when a
...
client loses their connection (either gracefully or not).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1898 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 05:47:36 +00:00
Michael Bayne
0608a27c67
Set the sprite's location to exactly what it needs to be in order for its
...
image to render in the upper left of where we want it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1897 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 03:40:06 +00:00
Michael Bayne
118f6b2363
Provide access to the x and y origin offsets.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1896 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 03:38:59 +00:00
Michael Bayne
260c304fbe
Report more useful information if an already in-play game is requested to
...
start.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1895 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 02:24:42 +00:00
Michael Bayne
fa206b76ed
Metrics! Added support for a "state of the server" report, in which
...
managers can participate, reporting lies, damned lies and useful
statistics. Initial participants include the client manager, the
connection manager and the distributed object manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1894 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 02:17:56 +00:00
Michael Bayne
65bc9f7eff
Return number of bytes written when writing a frame.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1893 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-11-05 02:16:46 +00:00