Commit Graph

3353 Commits

Author SHA1 Message Date
Michael Bayne e912b18e27 toString()stravaganza!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@77 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:30:14 +00:00
Michael Bayne 41488822dc Modified invocation request procedure to provide a reference to the client
object that initiated the request. Implemented the invocation notification
side of things.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@76 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:18:07 +00:00
Michael Bayne 359af834ae Use StringUtil.toString() to toString() our args array so that it is
readable.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@75 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 19:17:06 +00:00
Michael Bayne f8ccff8f23 More progress on the invocation services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@74 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 18:08:20 +00:00
Michael Bayne 406d181d1a Use a one second select loop delay for testing purposes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@73 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 18:06:57 +00:00
Michael Bayne d55ce27b2b Created a test service and provider and sorted out further details.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@71 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 07:48:25 +00:00
Michael Bayne 7238d75f89 Initialize _clobj member directly; pass proper subscriber to
createObject().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@69 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 07:17:46 +00:00
Michael Bayne 915f3db6f1 More work on invocation manager; modified startup sequence so that server
can get shit together before bootstrapping the client.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@68 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 07:09:16 +00:00
Michael Bayne 6663aae772 Beginnings of invocation services implementation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@67 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 05:56:20 +00:00
Walter Korman e6c33e727d Don't double-buffer since Swing components already do so and we're not
doing anything special as of yet relating to the color depth of the
target component or its other pecularities.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@64 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-19 00:22:02 +00:00
Walter Korman f91e1b41d1 Fixed up image loading to use the now-non-static ImageManager class.
Modified TileManager to store the height of a tile in the Tile
object's member data when the tile is initially created since we
would like to be able to reference it speedily.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@63 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-18 22:45:35 +00:00
Walter Korman c4654e2a11 Repackage classes from com.threerings.cocktail.miso to
com.threerings.miso.  Moved ImageManager to com.threerings.media.
Removed unused StripImage.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@62 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-18 21:45:42 +00:00
Walter Korman 9abae9810b Comments and minor debugging additions.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@61 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-18 21:19:00 +00:00
Michael Bayne 381a1f800c Created a directory for the media services package and created a log
object for said services to use when logging.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@60 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-18 21:17:16 +00:00
Michael Bayne 89632aecbd Initial skeleton implementation of the resource manager.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@59 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-18 21:16:12 +00:00
Walter Korman cb4d268139 Load tileset descriptions from an XML file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@57 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-17 17:21:33 +00:00
Walter Korman ab18d9742e Allow placement of the selected tile in scenes undergoing edit in the
scene editor application.  Added comments.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@53 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-16 22:12:01 +00:00
Walter Korman 6806cfb6f7 Initial work on adding a selectable tile panel to the right of the
scene display.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@52 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-16 18:59:31 +00:00
Walter Korman 0a0fce7db3 Highlight the tile under the mouse cursor. Increase the width of a
scene for easier testing.  Other minor clean-up.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@51 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-16 00:45:07 +00:00
Walter Korman edc687fcb4 Started tooling about with Java2D BufferedImages. Retrieve tileset
config information from miso.properties for now.  Don't pass around
ImageObservers since we're hoping to be able to address that
differently.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@49 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-14 00:21:24 +00:00
Walter Korman 007ce996f7 Initial version.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@48 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-14 00:02:47 +00:00
Walter Korman 46ba44fa2b Working toward happier image loading/caching. Changed to Unix text
format from DOS.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@47 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-14 00:02:10 +00:00
Walter Korman 672fecf682 Initial working version of many miso classes. The beginnings of some
of our tile- and scene-related machinations.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@44 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-07-12 22:38:03 +00:00
Michael Bayne 7cb9d84d54 Wired up the remainder of event dispatch and added facilities for cleaning
up after objects when they have no more subscribers.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@38 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-13 05:17:55 +00:00
Michael Bayne 6fd554de7c Be more verbose about logging typed object errors.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@37 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-13 05:16:25 +00:00
Michael Bayne 55a648dcf9 These need zero argument constructors to allow for unserialization.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@36 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-13 05:15:49 +00:00
Michael Bayne c8b13e3bca Documented valid dobj types in DObject; implemented value marshaller which
can read and write all of the valid dobj types over the network; wired up
the attribute changed events to serialize and unserialize their values.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@35 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-12 02:57:30 +00:00
Michael Bayne 89083f4708 Moved the typed object registry into the same package with the rest of
the typed object stuff; made events typed so they can be transported;
further wiring up of event dispatch over the network.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@34 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-11 17:44:04 +00:00
Michael Bayne a8bddf0238 Moved dobj.net into dobj.io because it's really I/O stuff we're doing
here, not explicitly network stuff.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@33 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-11 17:42:20 +00:00
Michael Bayne a1b7b00db3 Removed unnecessary import.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@32 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-11 17:20:36 +00:00
Michael Bayne 6a1de87f2a Further wired up the client side of the distributed object system. Removed
the facilities for fetching (without subscribing to) an object. This is
done extremely rarely and the user might as well just subscribe and
immediately unsubscribe because the dichotomy between fetching and
subscribing just served to overly complicate the internals for no good
reason.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@30 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-09 23:39:04 +00:00
Michael Bayne 06f6fa26d5 Handle end session notification from client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@29 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-05 22:50:08 +00:00
Michael Bayne 029712985e DObjectManager: added unsubscribeFromObject() for subscribers that wish to
unsubscribe in the absence of a reference to the object in question and
potentially from an unsavory thread.

Client, ClientManager, etc.: Further work on the server-side of the
distributed part of the distributed object functionality.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@27 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-05 22:44:31 +00:00
Michael Bayne 03e2dbc9cb Change pong from notification to response. Cling pings, server pongs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@26 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-05 21:53:45 +00:00
Michael Bayne 2d9452c16b Changed the names of the upstream messages to requests rather than
notifications. The client always requests, the server replies or notifies.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@25 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-05 21:29:51 +00:00
Michael Bayne 43c516ab24 Removed last traces of Event which is now DEvent.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@23 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-02 01:31:43 +00:00
Michael Bayne 1c6b292edc Starting to wire up client/server dobj stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@22 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-02 01:30:37 +00:00
Michael Bayne 2c3e4d9528 Wired up connection observer stuff. Created skeleton client manager. Wired
up post-authentication authing to running transition.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@21 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 22:12:03 +00:00
Michael Bayne 1929898dd8 More juicy goodness. Event dispatch seems to work now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@20 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 20:35:39 +00:00
Michael Bayne 45c2dc143f More progress on the distributed object stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@19 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 19:56:13 +00:00
Michael Bayne 825b36c0ff Beginnings of event stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@18 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 07:12:13 +00:00
Michael Bayne b6d12bc06d Mmm... comments and updates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@17 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 05:17:16 +00:00
Michael Bayne 567a2ada10 More progress on the basic distributed object facilities.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@16 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-06-01 05:01:52 +00:00
Michael Bayne f96c7661af Don't use the EventFactory for now because that's all changing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@13 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-30 23:59:16 +00:00
Michael Bayne 89d073b13c Switched package from com.samskivert to com.threerings.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@12 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-30 23:58:31 +00:00
Michael Bayne bd58cbd199 Use LoopingThread for Reader and Writer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@11 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-30 23:51:39 +00:00
Michael Bayne 9cd146a43c Created the facilities for transmitting distributed objects and derived
classes over the wire (by inspecting their fields and sending those
directly).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@8 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-30 00:16:00 +00:00
Michael Bayne a523e71302 Use the DObjectFactory to move DObjects over the wire.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@7 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-29 03:28:50 +00:00
Michael Bayne 33d93d3374 Har! More progress mateys.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-29 03:27:59 +00:00
Michael Bayne 6717f8d6e5 More code, more code, more kibbles and code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5 542714f4-19e9-0310-aa3c-eee0fc999fb1
2001-05-23 04:03:41 +00:00