Commit Graph

1605 Commits

Author SHA1 Message Date
Michael Bayne 0a8d4ad20b Need to include new io package in narya-base.jar.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1608 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:55:25 +00:00
Michael Bayne eb0f92fcef Brought things into line with new streaming world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1607 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:54:53 +00:00
Michael Bayne c3191b9170 Brought code into line with the new streaming world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1606 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:52:49 +00:00
Michael Bayne 2330afc3cd New object streaming code is born!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1605 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:42:34 +00:00
Michael Bayne 2601ab2321 Old object streaming code goes bye-bye.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1604 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 05:41:59 +00:00
Walter Korman ffb030d40a Added temporary hack workaround to keep text input fields from rendering
themselves with an incorrect font.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1603 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 03:52:23 +00:00
Michael Bayne 2c666df5cf Fetch the password from a system property as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1602 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-23 03:17:50 +00:00
Walter Korman 7d7624fc67 Need to synchronize on the lock object before calling download() so that
we don't accidentally notify ourselves nigh-immediately (e.g., if things
are already entirely up to date) before we've begun waiting on the lock
object on the calling thread.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1601 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-22 23:19:23 +00:00
Ray Greenwell 71c7a488c9 byte'd chat mode code
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1600 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-22 22:54:04 +00:00
Ray Greenwell 5c5038690b Added support for think and emote.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1599 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-22 22:26:26 +00:00
Walter Korman af8b7bf237 Allow plus or minus five seconds in modification time when comparing
source and destination files for differences since Windows (and probably
other platforms) doesn't set the file modification time to the precise
time requested.  Don't notify the observer when we're finished downloading
all files until we've finished all of our work with the file.  Check the
return value from the call to setLastModified().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1598 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-22 20:45:22 +00:00
Walter Korman dd38c90665 Don't notify observers when we reach 100% completeness until the streams
are closed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1597 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 22:19:34 +00:00
Walter Korman ef41daa34f Updated to reflect changes to resource manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1596 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 20:13:30 +00:00
Walter Korman 9f641c5796 Download resource bundles asynchronously and provide facilities for
observing bundle downloading progress.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1595 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 20:12:23 +00:00
Michael Bayne 6d8f304aa3 Old notes, new notes. (Red notes, blue notes?)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1594 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-19 16:00:32 +00:00
Ray Greenwell d22350ff3c Added a version of blend that takes a float argument so that
two colors may be blended at a ratio other than 50-50.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1593 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 23:14:02 +00:00
Michael Bayne f186ef5537 Updates to PRMI design to account for the need to provide a ClientObject
to the server-side implementation of an invocation service.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1592 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 20:56:44 +00:00
Michael Bayne 06ab6c8b90 Initial design of new Presents RMI services to replace invocation
services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1591 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 18:25:57 +00:00
Michael Bayne 9a696b3a24 Split the Narya library into various subsystem-specific .jar files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1590 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 05:31:55 +00:00
Michael Bayne a9ef042dae Debug logging changes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1589 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 00:42:30 +00:00
Michael Bayne e9ceaa6ae9 Marked transient fields accordingly so that the Marshaller doesn't try to
send them over the wire.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1588 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-18 00:41:59 +00:00
Michael Bayne 7a1a162a0d Changed field marshaller registration to be compatible with DashO-style
field renaming. I'm a bad monkey for overusing reflection.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1587 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 23:05:28 +00:00
Walter Korman f53975fe74 Cache tell request information in the chat director and pass it along to
the various chat displays once we've ascertained success or failure.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1586 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 20:53:31 +00:00
Michael Bayne 34bbab5ee7 More logon translation messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1585 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 18:11:14 +00:00
Michael Bayne bd44038ae2 Formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1584 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 18:11:02 +00:00
Michael Bayne 8559e2eb29 Added auth code for use when the server is operational but not available.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1583 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 18:10:04 +00:00
Michael Bayne 9daf7b59bb Notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1582 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 01:55:30 +00:00
Michael Bayne 71c392555f Fixed bug in dobj reference management.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1581 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 01:54:33 +00:00
Michael Bayne 18039887b4 Added a debug hook for dumping all objects in the dobj table.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1580 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-17 01:54:16 +00:00
Michael Bayne 6b9424128d Read both the server and port from system properties.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1579 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-16 05:44:29 +00:00
Michael Bayne a2339cea0b Report the server and port to which we are connecting when we log on.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1578 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-16 05:42:53 +00:00
Michael Bayne cbca08878d Allow the port to be set from the command line (this should probably
instead be hijacked from the actual server setting but this works for
now).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1577 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-15 03:09:29 +00:00
Michael Bayne b1252aab66 Edits and fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1576 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 17:06:52 +00:00
Michael Bayne 2404ea688e Added translations for the MiCasa logon panel.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1575 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 17:02:02 +00:00
Michael Bayne 75edbad42f Cleaned up the MiCasa logon panel and services. It's all much more nicely
behaved now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 17:01:28 +00:00
Michael Bayne 6064ab1750 Provide some basic auth codes so that all users of Presents don't have to
come up with these same codes themselves.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 16:17:45 +00:00
Michael Bayne 78b58a6093 Whoops, typo.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1572 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:50:24 +00:00
Michael Bayne 7a3daa1d2b The simulator should provide a MiCasaContext and generally be a good
MiCasa citizen.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1571 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:49:37 +00:00
Michael Bayne 40cbabe20c Report when the connection fails.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1570 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:49:02 +00:00
Michael Bayne 9cde2eab3e Added a constructor that takes a window title.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1569 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-12 03:48:45 +00:00
Michael Bayne 255599b960 Resize the simple frame to fit the place view when it is provided with a
new one.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 02:02:59 +00:00
Michael Bayne cf8608f20a Enhanced reporting in failure conditions; fixed a problem where attempting
to end the session of a client that was already ended would result in
funny business.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 01:26:21 +00:00
Michael Bayne ae4267a7d5 Fixed problem with LogoffDispatcher where it was reusing a single instance
for all clients in a non-reentrant manner.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1566 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 01:25:11 +00:00
Michael Bayne 3be1d56ae7 Cleaned up connection handling code so that it deals more robustly and
gracefully with failures; also no longer attempt to send messages to a
connection that has already been closed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1565 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 01:23:45 +00:00
Michael Bayne 6b77216df1 Report some sort of identifying information so that we can differentiate
between connections even on JVMs (like Linux's) that seem to feel no need
to actually return anything sensible from InetAddress.toString().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1564 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-10 01:22:17 +00:00
Ray Greenwell 86e4745882 Moved SafeScrollPane back
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1563 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 21:13:20 +00:00
Michael Bayne 43d6c3de3d Created convenience class for clients that wish to create a JPanel to act
as their PlaceView.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1562 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 21:05:33 +00:00
Ray Greenwell 3ff952ee49 Moved SafeScrollPane to com.samskivert.swing
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1561 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 17:49:12 +00:00
Michael Bayne b93bcfaa11 When two sprites occupy the same tile, their screen y coordinate is used
instead of their fine coordinates. It achieves the same effect and
alleviates the need to track fine coordinates in the MisoCharacterSprite.

Additionally, IsoSceneView and friends were modified to allow any sprites
to wander their crooked realms, MisoCharacterSprite instances are simply
more efficient because they maintain cached copies of their tile
coordinates whereas other sprites must have their tile location computed
from their screen location whenever they are to be repainted.

At some point in the future, the tile coordinate tracking facilities of
MisoCharacterSprite should be accessed through an interface so that other
spritely entities can cache their tile coordinates if they so desire.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1560 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-08 21:41:30 +00:00
Michael Bayne db0c1b59b8 It's not kosher to set a sprite's location until after it is fully
constructed. The reason being that derived classes want to override things
like updateRenderOrigin() which should be called every time the sprite's
location is set, but if we do it in the base class constructor, a derived
class's updateRenderOrigin() will be called before the derived class's
constructor has been called. This is not good. Neither was the existing
code which simply half-assed a location change by updating the sprite's
origin position but not calling updateRenderOrigin(), leaving things
generally confuzzled.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1559 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-08 21:15:35 +00:00