Commit Graph

44 Commits

Author SHA1 Message Date
Ray Greenwell ed1f43bdfc Fixed up a number of TODOs; created a new Wrapped interface to simplify
auto-unwrapping.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4286 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-07-24 19:53:24 +00:00
Ray Greenwell f1f6b3bdb2 Renamed ControllerEvent to CommandEvent.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4281 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-07-20 02:14:14 +00:00
Ray Greenwell 78c7b49f9b Created a base Controller class; added a CommandButton that submits
controller commands; have PlaceController extend Controller.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4275 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-07-18 22:30:05 +00:00
Ray Greenwell 947db5851d Renamed the InvocationListeners to the standard way I've been naming
inner classes over here on the actionscript side.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4265 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-07-13 19:08:18 +00:00
Ray Greenwell 608be4557b Some changes required for the new compiler.
- Import bleeding may be fixed, as I had to import a bunch of things I
  should have had to earlier.
- NOW they make duplicate variable definitions bad (but without block
  scoping... yay).
- Another hoopjump.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4233 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-28 22:04:19 +00:00
Ray Greenwell 459f12ded5 Copy Java's valueOf factory method for primitive wrapper classes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4217 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-24 23:03:07 +00:00
Ray Greenwell b378bda604 Log a warning for unhandled commands.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4195 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-16 01:22:43 +00:00
Ray Greenwell 251566b321 - Added TokenRing
- Specify override first on overridden methods.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4170 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-05 21:28:00 +00:00
Ray Greenwell 86dd34a0f4 Added the TellHandler.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4168 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-01 17:35:23 +00:00
Ray Greenwell e981a9eed9 Made PlaceView extend flash's IEventDispatcher, wired up something
that sorta behaves like our controllers in java. I might be able to make
this better.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4161 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 01:27:13 +00:00
Ray Greenwell cdd7a64b04 Renamed some "inner" classes, removed debugging lines.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4152 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-26 22:39:31 +00:00
Ray Greenwell fdfce50d01 Checkpoint, I've got an interactive 2d scene mostly working.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-26 21:54:34 +00:00
Ray Greenwell 9c33f1de53 A few bits of cleany/fixy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4150 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-25 22:51:04 +00:00
Ray Greenwell 9b11d03b46 Added a Cloneable interface, fixed up a few bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4148 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-25 01:18:04 +00:00
Ray Greenwell c143e93554 Spot stuff in AbjectScript.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4144 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-24 00:20:00 +00:00
Ray Greenwell f7eb18460a Began porting 'whirled'.
The basic whirled stuff is here; compiling and working.
'Spot' still to come.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-20 02:18:18 +00:00
Ray Greenwell a22ca8b079 Simplified logging facilities.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4131 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-19 22:47:44 +00:00
Ray Greenwell 7ec9c8d642 Let's name inner classes with an "_" where Java puts a "$", and do
automatic name translation for those names.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4129 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-19 02:23:47 +00:00
Ray Greenwell 0ac15b0e3c Some bits and bobs: there are ResourceBundle and Locale classes in the mx
package, use those. The ResourceBundle stuff is not quite working now due
to bugs in beta3, but I'll loop back to it later.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4126 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-18 22:39:01 +00:00
Ray Greenwell 64e87bb907 Added the keys() function to the Map interface, replaced instances of
SimpleMap with HashMap. Discarded SimpleMap.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4122 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-16 21:06:06 +00:00
Ray Greenwell 8604a4ac6a Various cleanuppery.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4118 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-16 01:51:01 +00:00
Ray Greenwell fe3350dc3c More streaming fixups.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 02:35:01 +00:00
Ray Greenwell b82108ecea Streaming fixups on the path towards getting things working in beta3.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4105 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 00:40:15 +00:00
Ray Greenwell efefdaa312 Updated method documentation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4029 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 02:04:06 +00:00
Ray Greenwell cd8f168452 Create controllers in the new way (actionscript wants to be all growed up
just like uncle Java!).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4028 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 01:58:44 +00:00
Ray Greenwell 6fb248e739 Removed import of nonexistant class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4018 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 02:04:56 +00:00
Ray Greenwell 64d7f32178 Lots of debug logging, some casting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4001 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-06 20:05:28 +00:00
Ray Greenwell 16a28de8bc Report from brown team, engaged in Operation Slam Your Dick in a Door:
"Still purple and bruised, sir!"

I'm working around more bugs. In theory everything should log in and join
the chat room, but the browser crashes- every single time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3986 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-28 23:17:52 +00:00
Ray Greenwell 90e4017801 A bit more, more streaming issues. I might need to rework some stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3985 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-28 02:02:22 +00:00
Ray Greenwell 538803e1fb Checkpoint. Closing in on getting a chat client up, but slogging through
annoying streaming issues.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3984 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-28 01:27:57 +00:00
Ray Greenwell d910fbb6f2 I changed a few things and suddenly the inaccessable method works again.
Boy, fun.

I guess I'm embracing the 'adapter' construct for emulating anonymous
classes, but I wish I wasn't.
I have half an idea to start over from scratch and write a very
actionscripty dobj/services/receiver system that ends up looking very
different on the client but still speaks to the server in the same way.
Probably things would just get more and more complex until I was back here.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3983 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-27 19:27:03 +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 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 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 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 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