Commit Graph

220 Commits

Author SHA1 Message Date
Ray Greenwell c00f76f141 Made the methods public and it still doesn't work. There's some awful bug
in the compiler or runtime, I think.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3979 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-25 00:35:05 +00:00
Ray Greenwell 9a6ea2f7a6 Missed these two files in the last checkin.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3978 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 23:50:47 +00:00
Ray Greenwell a91bf8b14c Added some missing marshallers.
Use Long instead of long. I had them both (it may be useful so that we
know if we're streaming an object or just 8 bytes of value) but Windows
couldn't fucking tell them apart (case insensitivity) so I nixed one.
Reference some more marshallers in the client so that the classes will
be compiled in.. gawd.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3977 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 23:49:51 +00:00
Ray Greenwell 4a1fdbbbe8 A few things, now that I'm running again (I downgraded to the older beta).
I'm now pounding my head against new limitations that I'd not seen before, now
that the Client class that I'm using is not in the presents.client package.
Macromedia can go fuck themselves with a hot poker.
The .swf is already 200k and I've barely begun working on UI elements.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3972 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-24 02:28:26 +00:00
Ray Greenwell a9e862bead A bit more crap.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3969 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-22 03:29:31 +00:00
Ray Greenwell f6826f010c Dictionary is in the docs, but the compiler doesn't seem to know about it
yet. Rolled back (nearly, I fixed a small bug).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3968 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-22 03:10:43 +00:00
Ray Greenwell 7d3ef496fd More faffing about.
- started making chat UI stuff
- upgraded SimpleMap some to use the new Dictionary class
- Lots of experimenting with attaching functions to interface implementations.
I've upgraded to the new beta of Flex and it's giving me the pain. There's
new compiler bugs and I am working blind right now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3966 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-22 02:10:37 +00:00
Ray Greenwell ccd6e2b81e Some stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3962 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-18 00:43:45 +00:00
Ray Greenwell add8f3f97c Work around a compiler bug by FQing the Log classname we're using.
We can revert these statements when/if that bug gets fixed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3960 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-18 00:04:34 +00:00
Ray Greenwell 3ecf7e311e Re-declare SUCCESS so that it can be referred to as ChatCodes.SUCCESS.
Setting up a prototype const doesn't work, which is possibly a compiler bug.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3959 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-18 00:02:48 +00:00
Ray Greenwell 091c7d2401 Checkpoint. This is not compiling right now due to three annoying problems:
- There seems to be a compiler bug that causes classes to be
  imported spuriously, or something. Classes that import only one of the Log
  classes are complaining about visibility of more than one of them.
- static constants are not inherited by subclasses, which is super annoying.
  I will try switching to prototype consts, but there seems to be a problem
  initializing those, and we don't want to make them vars...
- The fact that there are no inner classes combined with no method overloading
  is making things very inconvenient. I've been experimenting with faking
  an anonymous class by instantiating a dynamic object and attaching
  functions to it, but it's not working. I'll continue experimenting, because
  if we can't do this then someone shoot me.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3957 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-17 02:19:53 +00:00
Ray Greenwell d1b997b9ff Another note. There are 3 ways to cast and all of them suck in one
way or another!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3956 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-17 01:19:15 +00:00
Ray Greenwell 8fb271be33 Checkpoint.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3954 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-16 22:12:46 +00:00
Ray Greenwell 03d94291db More.
Made ObserverList work with a passed-in function, actionscript style.
I might reconsider some earlier decisions to go away from ObserverList.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3952 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-16 02:11:27 +00:00
Ray Greenwell ed1be4a0f2 All the latest and ... well, the latest anyway.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3950 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-15 03:28:02 +00:00
Ray Greenwell 4fe0d6e484 Another note about how as3 can #$^ @# @#$ ^@#$@ @#%&*.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3949 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-15 03:24:46 +00:00
Ray Greenwell 82c65b779f Added more notes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3945 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 23:16:39 +00:00
Ray Greenwell 7c842a7e11 More progress.
Created adapters for invocation services so that I can do inner-class like
things by passing references to private functions out to an external entity.
I will see if it's possible to merge my adapter with the marshallers
because it's still to have multiple wrappy classes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3944 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-14 03:22:38 +00:00
Ray Greenwell 9f2ff310e7 Match changes to DSet.java streaming implementation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3939 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-11 02:49:02 +00:00
Ray Greenwell 600a74ee39 More progress.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3936 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-10 04:02:32 +00:00
Ray Greenwell ca66f91ac7 Started work on the 'crowd' package.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3935 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-10 03:05:37 +00:00
Ray Greenwell 13c0830908 Again updated note on constructors.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3933 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 22:23:07 +00:00
Ray Greenwell 2f2ffdabbe Notes, figured out how to make a static initializer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3932 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 22:14:08 +00:00
Ray Greenwell 704fbfaec3 Removed debugging for a heisenbug that seems to be gone now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3931 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 03:27:52 +00:00
Ray Greenwell 4bb90a9002 Jesus Christ, what is the point of all these typed variables and casting
if the compiler DOESN'T FUCKING CARE?


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3930 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 03:00:10 +00:00
Ray Greenwell 04255b383b Checkpoint.
Never in my life have I spent so much time debugging so little.
I think the flash player is full of bugs, I've learned to just run
everything two or three times and chase the error that happens the most. Fun!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3929 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 02:55:07 +00:00
Ray Greenwell 15cf89770f Forgot to check this one in yesterday.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3928 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-09 02:48:14 +00:00
Ray Greenwell 486fd770c5 Another note.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3926 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 22:18:56 +00:00
Ray Greenwell b82b079469 It seems that Array streaming now works.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3924 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-08 03:28:09 +00:00
Ray Greenwell d8276bb4a9 More crap, some new discoveries, backtracking, annoyance.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3918 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-07 03:49:33 +00:00
Ray Greenwell a75f496e76 Checkpoint.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3912 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-04 02:43:14 +00:00
Ray Greenwell 15c258cdd4 Updated notes with the results of PITA explorations into introspection.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3911 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-04 00:37:23 +00:00
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