Commit Graph

3452 Commits

Author SHA1 Message Date
Michael Bayne 17fdaa7c0d Rewrote the InvocationReceiver generation process in Java as an Ant task. I had
previously redone the InvocationService and DObject generation tools but not
the InvocationReceiver tool.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3913 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-06 21:50:23 +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
Andrzej Kapolka 162440ed7e Record the frame time as the different between the last and current
frames.  JME's timer was using a running average: good for calculating 
frame rates, bad for updates.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3906 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 21:40:57 +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
Andrzej Kapolka 69da887537 Added a method to disable limits in CameraHandler and an optional second
swing axis to SwingPath.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3902 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-02 01:02:03 +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
Michael Bayne 679133091b Use shorter columns so that we don't blow past the 1000 byte key limit on
databases configured to use utf8 encoding for their strings.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3899 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-01 22:08:40 +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
Michael Bayne c6eb691cdc Comment clarification.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3895 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-28 01:06:11 +00:00
Michael Bayne 282b04930f Extracted our hairy bunch of logic for launching an external web browser into a
reusable location.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3894 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-28 00:46:15 +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
Mike Thomas 6aa865f51b Was a little too overzealous on the errors during change-location calls. Times when the user is already there or already moving should just be silently ignored to avoid flooding the user with extraneous feedback. Also, use a better error for the case when they just somehow aren't currently in a scene.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3890 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-24 19:51:11 +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
Mike Thomas ac6e897905 Colorizer is now smart enough to handle xml files instead of just the pre-parsed dat files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3887 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-24 01:24:34 +00:00
Mike Thomas 9472c58efb Updated recolorization tool to be more useful in creating colorizations and in viewing colorizations of art. Now has two modes:
- View all colorization mode shows all the colorizations of a selection colorization class for the image.
- Normal mode allows modification by sliders of the colorization parameters.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3886 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 23:53:36 +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
Michael Bayne 6d9d71256f Actually, the distributed object event name is the normal DObject field name
(inStudlyFormat), it's just the constant that we use to reference that field in
code that's upper case. So we need to convert those as well. And I moved that
code into a documented method.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3884 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 19:01:15 +00:00
Michael Bayne ff098a9394 Dooh, unStudlyName() returns an uppercase string (in spite of what it said in
its method documentation). And I was doing the wrong thing with event names
which were already unstudlied (but are also uppercase).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3883 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-23 18:52:59 +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
Mark Johnson c2d7b7361a Added the ability for DelayPath to set a location for the path.
Some whitespace cleanup.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3880 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 18:29:05 +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
Andrzej Kapolka 50e36adb6b Make sure cameraIsMoving returns false for the callbacks at the end of a
camera path.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3875 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-22 01:22:28 +00:00
Mike Thomas 46f61df574 Bugfix: Black screen on furniture rearranging:
- The range model was not correctly handling the case that the viewport in which we were arranging furniture was bigger than the area that the room wanted to cover.  This problem never occurred in 800x600 mode, but could occur at larger resolutions in smaller rooms (such as shacks).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3874 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-21 19:53:26 +00:00
Michael Bayne 105f0c5470 Whoops, needed to finish the re-refactor.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3873 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 23:55:32 +00:00
Michael Bayne 971b0bd079 Boolean.parseBoolean() was apparently introduced in 1.5. Yay for orthogonality.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3872 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 23:43:57 +00:00
Michael Bayne a4fff6494f Define the schema in code, fixed up some bugs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3871 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 22:41:59 +00:00
Michael Bayne 9d9bebd092 Created a database backed implementation of the runtime config services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3870 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 21:59:54 +00:00
Michael Bayne b33ae477ac Started refactorying the config object registry so that we can make a
database-backed implementation to replace the Java preferences backed version.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3869 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 19:39:38 +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