Commit Graph

188 Commits

Author SHA1 Message Date
Ray Greenwell 5558ebd6ca Changed some things around with a few helper classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3910 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 22:20:04 +00:00
Ray Greenwell aabc454801 Fixed typo.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3909 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 22:17:08 +00:00
Ray Greenwell 5241863bbd Further testing clarified something, it's not as bad as I thought it was.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3908 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 22:16:14 +00:00
Ray Greenwell ffdcaeb495 Added some more notes, and found another insane pitfall (possibly a bug).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3907 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 22:04:05 +00:00
Ray Greenwell cec3ffe59d Fixed up some things and added streaming translations.
I'm to the point where I need to go back to array streaming and straighten
that out.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3905 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 03:44:37 +00:00
Ray Greenwell 961f3ffdfe More bits and hackery (and a hand-generated TimeBaseMarshaller, so that I
can get fully logged in).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3904 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 03:07:01 +00:00
Ray Greenwell 477fb777f6 More bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3903 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 01:30:04 +00:00
Ray Greenwell 8039de2dad Removed accidentally checked-in testy code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3901 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 23:54:51 +00:00
Ray Greenwell 740e00c731 More work on things.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3900 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 23:52:52 +00:00
Ray Greenwell 2ca83d0a29 Generate errors if an element's key is not simple or Equalable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3898 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 19:52:27 +00:00
Ray Greenwell 703b309108 Scrapped using a Comparable for the keys to a DSet on this side of things.
- There is no such thing as Comparable in ActionScript, I had made my own,
  but String (one of the most common keys) couldn't implement it, and String
  is a final class (like in Java). It would be a huge inconvenience to have
  to wrap String objects.
- The language also has no .equals() method in the base class. The strict
  equality operator (===) works like equals() except that objects that
  aren't one of the base types (String, Number, Boolean, int) are compared
  by reference. I added a "Equalable" interface, if the key in a DSet
  implements that interface then equals() is called, otherwise the strict
  equality operator is used.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3897 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 19:43:22 +00:00
Ray Greenwell ee25f8f1a8 Updated note on accessibility domains: I was smoking crack.
'protected' members can be accessed by subclasses, but ONLY subclasses:
other classes in the same package don't have visibility, unlike in Java.
I think I got screwed up when protected members were not accessible
to other classes in the same package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3896 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-28 01:46:34 +00:00
Ray Greenwell abd7f75ae9 Started work on invocation/receiver stuff, but jeez ActionScript is making
it a pain in the ass.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3893 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-27 21:56:39 +00:00
Ray Greenwell 72f33bbbc0 Added another note about helper classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3892 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-27 21:55:51 +00:00
Ray Greenwell 69d0b35e0f Some notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3891 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-25 03:35:18 +00:00
Ray Greenwell 54d465b61f More notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3889 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-24 01:37:15 +00:00
Ray Greenwell 76ae4d5f5a Added Log facilities like we're used to, and discovered a host of
new wacky things (and possible compiler bugs) on the way.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3888 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-24 01:28:55 +00:00
Ray Greenwell 465b680aa2 Fixed some bugs with reading data back from the server, including
subtracting 4 from the length of the frame and fixing the reading
of fields for which we have a basic streamer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3885 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 22:22:57 +00:00
Ray Greenwell bd235efe20 Ah, the length of the frame is the length of the data plus the length of
the bytes used to transmit the length! So for our purposes, we just add 4.

I now have the ActionScript client authenticating with our server code!
Lots more to do...


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3882 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 01:45:13 +00:00
Ray Greenwell 43f956c32d Lowercase letters so that it matches StringUtil.hexlate() output.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3881 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 01:43:56 +00:00
Ray Greenwell 990d0b840f Added another note about a 'gotcha' in actionscript.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3879 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 14:02:42 +00:00
Ray Greenwell 5a9a018867 Commented a few classes as abstract,
debugging..


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3878 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 06:28:27 +00:00
Ray Greenwell 334bf08331 Need to use UsernamePasswordCreds to log in (Credentials is abstract in
Java, but there's no such thing in actionscript).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3877 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 04:31:25 +00:00
Ray Greenwell 605eca8565 Bugfixes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3876 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 03:45:46 +00:00
Ray Greenwell ea0a3dce06 Well, it compiles.
It's not functional, there are still large holes in the implementation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3868 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 03:53:04 +00:00
Ray Greenwell d63ffd9108 Added a note about fucked-up access control in ActionScript.
Maybe this explains why they put all subclasses of Event in the
same package.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3867 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 03:08:25 +00:00
Ray Greenwell 7a80c5cb43 Got compiling working under Linux, now correcting various errors.
Checkpoint.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3866 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 02:38:56 +00:00
Ray Greenwell f8c8f6e983 Some stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3865 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 01:03:56 +00:00
Ray Greenwell 7a353e6722 Checkpoint.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3864 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-19 23:35:22 +00:00
Ray Greenwell bb379347f0 The readField()/writeField() methods are for marshalling objects that have
basic streamers defined for them (String, Integer, Boolean) and not
other arbitrary objects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3863 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-19 03:19:54 +00:00
Ray Greenwell 97953e7668 More progress.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3862 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-18 02:37:14 +00:00
Ray Greenwell 74c35b6d65 More progress.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3861 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-17 05:11:31 +00:00
Ray Greenwell 1d36299e3c Some work on streaming.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3855 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-15 01:41:14 +00:00
Ray Greenwell 4d7fb64b8c More progress.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3849 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-14 04:07:02 +00:00
Ray Greenwell 8366c150f4 Progress on the presents client.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3848 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-13 22:07:50 +00:00
Ray Greenwell 85d56cceec Some more progress.
I still need to work on the Streaming, but I've figured out how
to do a bit of introspection which will be necessary when streaming an array.
Started working on the client classes, did ClientObserver and SessionObserver
stuff using flash's event notification system.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3846 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-10 03:44:20 +00:00
Ray Greenwell 90063d85cc Missed a spot (there's no 'throws' in actionscript..).
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3843 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-09 03:40:16 +00:00
Ray Greenwell 3f9c6c6081 Beginnings of the ActionScript 3.0 client: checkpoint checkin.
There's a long way to go and I think I need to rethink the way streaming
will work, but this is a start. These classes all compile under
the flex environment.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3842 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-09 03:33:58 +00:00