Commit Graph

4603 Commits

Author SHA1 Message Date
Ray Greenwell 48fb6e51e4 - Prevent weirdness when trying to remove our child.. someone we may get
a ROLL_OUT without having first got a ROLL_OVER?
- Clicks that land on the video control should be stopped there and not
  allowed to trickle back up, potentially triggering the furni action that
  someone's set on the video.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4611 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-28 05:22:47 +00:00
Ray Greenwell 2bff3befde A reasonable alpha-level video displayer.
When you mouse-over it, the controls appear, which are currently only
a pause/play button. When it reaches the end, it autorewinds and pauses.
Things:
- We may want all videos to start paused. However, since we're not using
 a streaming media server, there's no way to show the first frame without
 loading the video unless we screenshot it on the server and then include
 a secondary media ident, which we don't do. So: as long as the user has
 to load the FLV, we may as well play it and not make it just look like
 an image.
- We'll probably want to adapt this into a standalone video displayer that
 can be used to view FLVs using our UI from inside a web page.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4610 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-28 04:57:30 +00:00
Ray Greenwell e4d7b86d2b Cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4609 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-28 04:51:51 +00:00
Ray Greenwell 6bb0b50186 Another use for ValueEvent. Should be compatible with old listeners.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4608 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-28 03:02:54 +00:00
Ray Greenwell 8a46320e95 Re-enable video in the world.
There are a few rough edges which'll eventually get ironed out.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4607 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-28 02:59:37 +00:00
Ray Greenwell d652de50e7 I should have created this a while back. Sometimes we just want to wild-up
some custom event to communicate a value to listeners. This is for that.

CommandEvents are close, but are all dispatched using a single 'type' value,
so a single handler must have a switch statement in it (unless you're
a controller, which has magic to call the right method.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4606 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-28 02:58:45 +00:00
Ray Greenwell a11b338156 Document something that doesn't work.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4605 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-27 19:43:55 +00:00
Michael Bayne 3b4c331e0b Log when we're calling logoff() for our local peers to see if this is or isn't
happening on the hanging dev server.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4604 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-27 00:46:32 +00:00
Ray Greenwell aedd77c17c Dispatch an event when config values change.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4603 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-26 20:11:40 +00:00
Michael Bayne 09f0bee0f3 Yet more header patrol.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4602 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-24 00:39:27 +00:00
Michael Bayne 0384c8c129 Update our AuthRequest on session resume so that we deliver the proper
bootstrap services.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4601 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-23 23:19:11 +00:00
Michael Bayne d3064398e9 Widened, removed misleading comment. It's all non-transient fields, not all
non-transient public fields.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4600 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-23 19:59:18 +00:00
Michael Bayne 3c4f1728d5 Allow a unit to express that it's going to take a long time and should not be
complained about.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4599 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-23 19:52:50 +00:00
Michael Bayne c25024f497 Move some low-level object access control into Presents from Crowd (default all
objects to non-modifiable, restrict client object subscriptions to the client
in question). Modified Peer code to not log a warning when a peer is not online
in an expected way (not listening for connections).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4598 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-23 19:41:30 +00:00
Nathan Curtis fe7981b1bf typed container for storing two flash.geom.Point(s)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4597 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-22 23:34:13 +00:00
Ray Greenwell 573e5989b7 Go back to using mx.resources.ResourceBundle, as it's the standard thing
and turned out to not be the class that was sucking in vast quantities of
flex code. Alas.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4596 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-22 19:21:08 +00:00
Ray Greenwell c661845ece We're not going to use this after all.
Not removing, keeping around for reference.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4595 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-22 19:16:16 +00:00
Ray Greenwell 0e6988bdf8 Committed for posterity.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4594 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-22 19:14:11 +00:00
Ray Greenwell b9e9a43fe0 An ant task to generate our own custom resource bundles for actionscript.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4593 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-22 06:05:04 +00:00
Ray Greenwell bf4d4ee5ec De-flexing: created our own ResourceBundle, ditched Locale from MesageManager
(it doesn't do jack right now anyway)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4592 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-22 05:07:14 +00:00
Ray Greenwell 8da83e92cf HashMap -> HashObjectMap
Hashtable -> HashMap

The one regularly used is now called HashMap. It can have keys of simple
flash datatypes, as well as objects that implement Hashable.

HashObjectMap has the ability to use nearly any object as a key, but
pays a price for it and should be avoided unless you need it.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4591 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-22 04:06:22 +00:00
Nathan Curtis 60217f11d9 fix comment to reflect reality
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4590 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-22 00:22:14 +00:00
Par Winzell f2137ff236 Added a DateUtil class with a convenience function I need.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4589 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-21 23:30:16 +00:00
Ray Greenwell 9c626246a0 Don't need this, was testing the numerator anyway.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4588 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-21 02:16:40 +00:00
Ray Greenwell 7651c6d400 Added getContent() to get the top-level DisplayObject from a loaded SWF.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4587 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-21 01:52:04 +00:00
Nathan Curtis bb73488fe8 don't know how this escaped my last commit...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4586 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-20 22:59:09 +00:00
Ray Greenwell 687dbe0216 Simple frames-per-second displayer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4585 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-20 05:22:27 +00:00
Ray Greenwell 1b774f3f15 Oh hey, when I de-flexed our Log class I forgot that the flex version
had the capability to add targets (with their own module / log-level).
Add back in this capability, in very simple form for now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4584 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-17 03:03:41 +00:00
Michael Bayne a22bcfeb42 Yes ma'am, in the future, I promise to compile before committing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4583 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-16 00:00:11 +00:00
Michael Bayne 44efca0c18 Demoted message to debug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4582 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-15 23:49:28 +00:00
Ray Greenwell bca51291ae Video's been broken for a little while, but I had removed all my video
objects so was not seeing NPEs that others were.
Fixed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4581 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-15 00:54:59 +00:00
Andrzej Kapolka 2376e86f3f Forward events to proxies. Fixed NPE, changed account names used in
peer sign-on to be the connecting server's node name.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4580 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-15 00:26:52 +00:00
Ray Greenwell a3cb9f1f81 Fixed unstreaming a List from the server.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4579 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-15 00:15:49 +00:00
Andrzej Kapolka 32d99abe15 Missed a couple lines.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4578 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-14 22:20:09 +00:00
Andrzej Kapolka 0fa6d2f233 Keep track of node subscribers (and lock action ratifiers) by their
client oids.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4577 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-14 20:35:11 +00:00
Andrzej Kapolka 51fed0676e Use the number of subscribers to determine how many responses to expect.
Take the lock immediately if there are no subscribers.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4576 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-14 02:30:37 +00:00
Michael Bayne 9c03e16434 Added Iterable<E> constructor; widened.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4575 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-13 19:12:17 +00:00
Michael Bayne 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4574 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-13 00:26:46 +00:00
Michael Bayne ff30b2e116 Type safety!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4573 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-13 00:23:13 +00:00
Michael Bayne de633c61b5 Standalone mode logon needs to be done less hackily now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4572 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-13 00:20:02 +00:00
Michael Bayne bc21aaa44d Regenerated ActionScript listener marshallers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4571 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 21:51:38 +00:00
Ray Greenwell 54d23f0247 The args from invocation responses will be unwrapped for us automatically.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4570 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 21:50:24 +00:00
Ray Greenwell 69ea4f349f Auto-unwrap invocation response arguments as well.
Make Long not wrapped for now.
Don't svn update until after mdb regenerates everything..


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4569 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 21:49:21 +00:00
Ray Greenwell 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.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4568 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 21:31:21 +00:00
Ray Greenwell 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.

Previously, 'java.lang.String' wasn't getting translated into the
actionscript equivalent, so it just worked. Two bugs can cancel each other out.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4567 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 21:29:57 +00:00
Ray Greenwell 1e2295dd09 Use cleaner TypedArray factory method.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4566 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 19:29:50 +00:00
Ray Greenwell f461149176 Do what we say we're going to do.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4565 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 19:08:08 +00:00
Michael Bayne 02387b46ec And another.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4564 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 03:41:16 +00:00
Michael Bayne d0d31eb5bf Nixed stray debug line.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4563 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 03:40:46 +00:00
Michael Bayne 46a23342b3 More jockeying to make String[] streaming work and to make service group
registration work. Keeerist Flash is annoying.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4562 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-12 03:40:14 +00:00