9c03e16434
Added Iterable<E> constructor; widened.
Michael Bayne
2007-02-13 19:12:17 +00:00
9ac3e86fe0
Being available in standalone mode should be the default. This will of course make life harder for Yohoho, but making life easier for Yohoho should not come at the expense of baffling default behavior.
Michael Bayne
2007-02-13 00:26:46 +00:00
ff30b2e116
Type safety!
Michael Bayne
2007-02-13 00:23:13 +00:00
de633c61b5
Standalone mode logon needs to be done less hackily now.
Michael Bayne
2007-02-13 00:20:02 +00:00
bc21aaa44d
Regenerated ActionScript listener marshallers.
Michael Bayne
2007-02-12 21:51:38 +00:00
54d23f0247
The args from invocation responses will be unwrapped for us automatically.
Ray Greenwell
2007-02-12 21:50:24 +00:00
69ea4f349f
Auto-unwrap invocation response arguments as well. Make Long not wrapped for now. Don't svn update until after mdb regenerates everything..
Ray Greenwell
2007-02-12 21:49:21 +00:00
b217e87519
- Have the ArrayStreamer always look up its delegate, as it may need one for element types other than String. - Changed streamer init to prevent the above change from triggering a re-init when the delegate is looked-up.
Ray Greenwell
2007-02-12 21:31:21 +00:00
789fe8e433
Found the streaming bug: I was looking up streamers by java name, but passing in the actionscript name. This was only affecting Object[]'s containing String elements due to the addition of String to Translations.
Ray Greenwell
2007-02-12 21:29:57 +00:00
1e2295dd09
Use cleaner TypedArray factory method.
Ray Greenwell
2007-02-12 19:29:50 +00:00
f461149176
Do what we say we're going to do.
Ray Greenwell
2007-02-12 19:08:08 +00:00
02387b46ec
And another.
Michael Bayne
2007-02-12 03:41:16 +00:00
d0d31eb5bf
Nixed stray debug line.
Michael Bayne
2007-02-12 03:40:46 +00:00
46a23342b3
More jockeying to make String[] streaming work and to make service group registration work. Keeerist Flash is annoying.
Michael Bayne
2007-02-12 03:40:14 +00:00
40538c81ad
This needs to be a TypedArray and then written out with writeObject() not writeField(). Fiddly.
Michael Bayne
2007-02-12 03:10:34 +00:00
4bc3e1e48d
Some error message clarification, added java.lang.String to Translations, some widening.
Michael Bayne
2007-02-12 03:10:05 +00:00
0a06460b24
Widening.
Michael Bayne
2007-02-12 03:09:00 +00:00
d9089e10d3
Widening, one additional log message added in STREAM_DEBUG mode.
Michael Bayne
2007-02-12 03:03:51 +00:00
a617b9322e
We need to run willLogon() immediately, also modified BasicDirector and Client to fail if a director tries to register services groups but was not created until after the client was logged on.
Michael Bayne
2007-02-11 20:37:28 +00:00
cb5fd7ff55
I write two lines in the morning. I write two lines at night. I write two lines in the afternoon and it makes me feel alright. I write two lines in times of peace, I write two in times of war. I write two lines before I write two lines, and then I write two more.
Michael Bayne
2007-02-11 03:28:48 +00:00
b7e16c86f5
Added getBootGroups() to Client, made use of it.
Michael Bayne
2007-02-11 03:08:04 +00:00
c2dbae4809
We'll actually need to call clientWillLogon()...
Michael Bayne
2007-02-11 01:50:11 +00:00
73bcb0faaf
Let's put that code in the InvocationManager because we're going to need it elsewhere when we go fix the standalone servers.
Michael Bayne
2007-02-11 01:21:20 +00:00
ebc99935d5
If we're going to do this, I guess we're going to do it properly. Nixed the notion of a global group (though we implicitly define one in InvocationCodes) added a mechanism for directors (which generally handle the client side of invocation services) to register their interest in bootstrap service groups so that the whole goddamned complex business can happen magically behind the scenes.
Michael Bayne
2007-02-11 01:17:30 +00:00
9afcc526a0
Bit the bullet and implemented invocation service groups so that our various MetaSOY clients (Swiftly, World, and soon Admin Dashboard) don't have to know about a bunch of unrelated crap. Fricking complexity++, grumble.
Michael Bayne
2007-02-11 00:42:35 +00:00
d1ff63d62d
ArrayIterator can be unmodifiable.
Ray Greenwell
2007-02-10 03:35:37 +00:00
15c0bbbe1c
It would appear to me that the logic in this method was backwards. There is no recent (~years) modification of this line, but at the same time it appears that none of our products use the LocationProvider.moveBody() method, so maybe this bug has just never been tickled.
Ray Greenwell
2007-02-10 02:08:08 +00:00
334a490d75
Automatically unwrap any Wrapped arguments to any Receiver.
Ray Greenwell
2007-02-10 02:01:43 +00:00
e404b83531
This was never used.
Ray Greenwell
2007-02-10 01:27:52 +00:00
d3aae4a5fd
Added a utility class/method to create proxies that implement subinterfaces of InvocationProvider and forward requests to peer nodes in order to use the same methods on owning peers and cloning peers.
Andrzej Kapolka
2007-02-09 23:06:18 +00:00
03dab36e3e
Asynchronous programming is hard. We have long had the problem where code would queue up an invoker unit which would go off and do some database stuff and then by the time it came back and was ready to publish its results to a distributed object, the object in question would have been destroyed for any of a variety of fairly natural reasons (client disconnected or logged off, game was abandoned, dog ate homework).
Michael Bayne
2007-02-09 20:33:47 +00:00
2e3ff5ed58
Don't let our class definitions clobber classes defined in a loaded SWF. (Put the user content as a child of the system ApplicationDomain).
Ray Greenwell
2007-02-09 01:15:08 +00:00
a1be45996b
Implemented the mechanism for initiating and clearing out a remote object proxy. Untested, but hey, it probably works. :)
Michael Bayne
2007-02-08 19:43:55 +00:00
9a39128322
Changed the lock mechanism to use a service to ratify requests to acquire and release locks, and to use handler objects to manage locks in the process of resolution.
Andrzej Kapolka
2007-02-08 00:02:11 +00:00
494cda3008
Even stolen code should conform to our style.
Par Winzell
2007-02-07 23:38:22 +00:00
982830b003
Rather than trying to fix the broken linear congruence algorithm, here is a Mersenne Twister instead. It should be a drop-in replacement to whatever degree that matters.
Par Winzell
2007-02-07 22:57:03 +00:00
f4db2536df
Actionscript, you are too strange. I thought I was casting: Function(myObject) I gotta remember that the function-looking variants do more than cast. For example:
Ray Greenwell
2007-02-07 19:14:23 +00:00
b6886aabaa
Added toString().
Ray Greenwell
2007-02-07 03:30:48 +00:00
8ab80b10a5
Deflexing presents. Created a simple MethodQueue utility class that works nearly identically to UIComponent.callLater().
Ray Greenwell
2007-02-07 00:10:56 +00:00
3c75faa8a1
Bugfix.
Ray Greenwell
2007-02-07 00:05:48 +00:00
9744d09e52
De-flexing: don't use the MX logging facilities. They're cool and allow filtering based on package, but we may not ever use that functionality and it's far more useful to be able to freely include this Log class without worrying that it will suck in some flex classes as well.
Ray Greenwell
2007-02-06 20:49:20 +00:00
4a630a5bb5
No need to route these events through pointless methods.
Ray Greenwell
2007-02-06 00:01:41 +00:00
2f7c992320
First pass at a distributed lock system. Barbie says, "Concurrency is hard!"
Andrzej Kapolka
2007-02-05 22:19:36 +00:00
dcedbbc7eb
Out out, damned question marks.
Dave Hoover
2007-02-05 21:22:12 +00:00
f897b54099
Added cache management to the peer manager so it can inform servers that persistent data has changed and they'll need to reload it
Mark Johnson
2007-02-03 01:33:49 +00:00
e1c5d01afd
Added proxied object support to the distributed object manager framework. This exposes the need to write a Client that is optimized to act as a proxy instead of just using the one that is designed to run on a user's machine. However, this will be fine for now. Integration with PeerManager forthcoming.
Michael Bayne
2007-02-03 01:14:17 +00:00
3d125f64a8
Regenerated, hopefully this won't bork Mark's changes.
Michael Bayne
2007-02-03 01:12:42 +00:00
b49fd02c7d
Widened added setTargetOid().
Michael Bayne
2007-02-03 01:12:12 +00:00
12410ee32c
Widening.
Michael Bayne
2007-02-02 23:49:24 +00:00
175eb754f4
In hidden ant dependency!
Michael Bayne
2007-02-02 23:44:59 +00:00
f83e5e3b0d
Out vile ant classpath.
Michael Bayne
2007-02-02 23:44:09 +00:00
3b2c3c921b
Widening.
Michael Bayne
2007-02-02 23:40:42 +00:00
cadde41ccb
Widening in preparation for modifications.
Michael Bayne
2007-02-02 22:38:19 +00:00
8925db6450
Removed toHexString(). It's not needed, as the 'int' class has various formatting functions. These functions can even be called on constants, if you trick the compiler a little bit by wrapping them in parens:
Ray Greenwell
2007-01-31 19:56:08 +00:00
1780c905cf
CommandEvent got moved back into this package.
Jonathan Le Plastrier
2007-01-31 05:24:18 +00:00
46e6916a58
Actually CommandEvent needs to live back here, Controller depends on it.
Ray Greenwell
2007-01-31 03:03:04 +00:00
b2301d520c
Repackaging these into nenya.
Ray Greenwell
2007-01-31 02:55:48 +00:00
d6929da884
Config -> PrefsConfig in appropriate places.
Michael Bayne
2007-01-31 00:46:21 +00:00
0a48fb2b18
Renamed, commented, deprecated.
Ray Greenwell
2007-01-30 18:16:21 +00:00
4c1f21a651
Check-in comments that were laying about. I will probably repackage everything I placed under "mx" soon...
Ray Greenwell
2007-01-30 02:57:50 +00:00
3b78e9d98d
Avoid HashMap because it has tendrils into Flex. (Hashtable is just the same but requires keys to be simple or Hashable.)
Ray Greenwell
2007-01-30 02:57:14 +00:00
4c81cc104b
Case-insensitive matching on urls.
Ray Greenwell
2007-01-29 22:51:53 +00:00
5fcbf90bb0
Added some hooks for subclasses.
Ray Greenwell
2007-01-25 23:04:33 +00:00
92b90162dc
On second thought, we'll take care of calling javadoc first.
Jonathan Le Plastrier
2007-01-24 02:44:27 +00:00
1a67ae4e05
We want our javadocs in the snapshot as well.
Jonathan Le Plastrier
2007-01-24 02:27:23 +00:00
7de0fbc814
Let's build our snapshot into dist/ and not use ../snapshot as our temp directory.
Jonathan Le Plastrier
2007-01-24 00:54:40 +00:00
5622bc271b
Actually substitute keywords (these files are chock full of stale $Id$ tags)
Dave Hoover
2007-01-24 00:22:07 +00:00
69529fc624
"get" is a legal function name, so let's be consistent with the Java code.
Ray Greenwell
2007-01-23 22:43:54 +00:00
e6c38e81c6
- Some deflexing of the low-level narya stuff. More to come, as we're going to want the minimum client to be flex-free.
Ray Greenwell
2007-01-22 19:58:24 +00:00
d10b94df85
Convert MediaContainer to be just a subclass of Sprite, so that I can de-flex the 'world' portions of metasoy.
Ray Greenwell
2007-01-18 00:36:27 +00:00
ec54654354
Added toHexString().
Ray Greenwell
2007-01-16 22:31:07 +00:00
5640073272
Add a new value accessor for byte values.
Mike Thomas
2007-01-16 21:43:42 +00:00
eebb818c82
Some improvements as per Ray's suggestion
Mark Johnson
2007-01-12 22:47:44 +00:00
e3d338b6ec
Use the EmbededClassLoader to get full access to an embeded swf file, including all classes, functions and namespaces defined in it.
Mark Johnson
2007-01-12 22:04:46 +00:00
5c7f8f8405
Moved set/clear place view calls into separate methods in order to override the behavior in subclasses.
Andrzej Kapolka
2007-01-09 21:22:13 +00:00
0267c4b5c5
Added Integer.compare(). I wish Java had such a method (that worked on int values rather than Integer values).
Michael Bayne
2007-01-06 03:32:00 +00:00
af7e3ca5ae
Further improvements to the Java to ActionScript converter.
Michael Bayne
2007-01-06 03:31:31 +00:00
84e21d0125
Yay for varargs!
Michael Bayne
2007-01-05 00:27:00 +00:00
f876303406
Flex 2.0 -> 2.0.1 API change.
Ray Greenwell
2007-01-02 23:39:51 +00:00
f65729f635
Have messages know their own formatting string.
Ray Greenwell
2007-01-02 22:51:51 +00:00
dca9072595
Changed the TellFeedbackMessage to be a special kind of UserMessage. It was always a little special, since it's dispatched from the client, but I want it to be handled like other messages so that we can recolor different parts of the message as I do in metasoy.
Ray Greenwell
2007-01-02 21:58:40 +00:00
679030dc2c
Widened. Allow the chat mogrification to be turned off.
Michael Bayne
2006-12-23 19:33:18 +00:00
7cea2a7088
Added XLATE_MODES for the default modes.
Michael Bayne
2006-12-22 02:45:05 +00:00
1e4c28ecff
Fixed typo.
Michael Bayne
2006-12-21 06:58:11 +00:00
51303057c8
Add E_ versions of our errors to support a new world order wherein error response constants start with E_ and their codes start with e..
Michael Bayne
2006-12-20 23:33:22 +00:00
41c7e5acbc
Let's use one copy of this identical code, too.
Landon Fuller
2006-12-19 19:47:04 +00:00
7e4e898021
- The Apple JVM also requires the .jnilib extension. - Use -dynamiclib instead of -bundle as per Apple's recommendation
Landon Fuller
2006-12-19 19:39:52 +00:00
5bb6b162d4
Add Mac OS X support
Landon Fuller
2006-12-19 19:19:12 +00:00
5f94b951d8
If we change the prefix at which we're looking for messages, reload our global bundle as well.
Mike Thomas
2006-12-19 18:08:54 +00:00
72416d28a1
Delete jar files when cleaning.
Michael Bayne
2006-12-15 23:20:52 +00:00
822b82baf0
Updated to not have to return a boolean from ObserverList functions.
Ray Greenwell
2006-12-14 02:14:01 +00:00
8b73d881f3
Added parseURLs().
Ray Greenwell
2006-12-14 00:27:57 +00:00
7b41dbf8ba
Made _panel protected instead of private. Changed the name to _controlledPanel because otherwise it interfered with subclass _panel variables. (Actionscript won't let variables be masked).
Ray Greenwell
2006-12-13 21:37:46 +00:00
d1e629ce8f
Track the client timestamp in the actionscript way. (Time values are ints and start at 0 when the flash player starts up, there is a different way to read the epoch millis, returned as a double)
Ray Greenwell
2006-12-13 20:47:42 +00:00
c99ffa315b
Made popping upwards not the default. (Which is more sensible anyway)
Ray Greenwell
2006-12-13 03:07:39 +00:00
c0b89ae7a5
ColorUtil.
Ray Greenwell
2006-12-12 23:09:38 +00:00
ba4987e679
Now finally us admins can /broadcast on dev.
Ray Greenwell
2006-12-09 01:31:01 +00:00
13e5d3093d
Publicize addChatter().
Ray Greenwell
2006-12-09 00:41:00 +00:00
a9e60be7c7
Another well-thought out actionscript feature: varags!
Ray Greenwell
2006-12-09 00:08:09 +00:00
f9b2ef2d40
Cleaned up some wackiness that was left over from the conversion from Java to abjectscript: substitution happens differently and the way I left it last night was less than ideal.
Ray Greenwell
2006-12-07 21:28:15 +00:00