Commit Graph

4552 Commits

Author SHA1 Message Date
Ray Greenwell d93d529ff8 Do not shutdown and reload if we're going to display the same URL, useful
for when this is used within another widget as a list item renderer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4460 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-20 21:23:33 +00:00
Michael Bayne b6d37a472a If we're trying to remove an already removed marshaller, let's hear about where we're doing it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4459 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-20 18:21:08 +00:00
Ray Greenwell 9ff4149e90 Commented out unneeded client code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4458 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-18 02:32:17 +00:00
Ray Greenwell 776761aeef Allow the occupant info to be different depending on the place.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4457 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-17 20:01:36 +00:00
Michael Bayne c1e791d393 New safer library locating process.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4456 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-16 22:51:36 +00:00
Michael Bayne 287f7d32a3 New deal, projects with dependencies on libraries that may be built during a
larger build process get them from dist/lib at the top-level.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4455 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-16 21:26:44 +00:00
Ray Greenwell d42a8e9475 Regenerated from updated templates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4454 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-15 03:00:05 +00:00
Ray Greenwell 4ad212350e We need commons-collections for genservice.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4453 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-15 02:59:14 +00:00
Ray Greenwell 2ad124322d Made actionscript code generation ByteArray-aware.
(ByteArray is a special class for dealing with bytes. It does not extend
the normal Array).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4452 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-15 02:53:12 +00:00
Ray Greenwell 253d8ae90c Actionscript SetAdapter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4451 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-15 02:23:48 +00:00
Ray Greenwell cfddf38a67 Generic control for scrolling a display object around within its parent.
This doesn't (seem to) work quite right because of the way Flash does
handles component dimensions. It's designed to be overridden.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4450 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-13 22:42:38 +00:00
Ray Greenwell ff951383c3 Load images into our own security domain so that we can examine their
pixels.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4449 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-10 23:45:05 +00:00
Ray Greenwell 6dddf9c234 Re-enable the content mask.
Do not use getters/setters unless we're overridding one from a superclass.
The getters and setters hide implementation details: you never
know if a getter is doing massive amounts of computation, and it looks like
a simple field access. The nice parenthesis required for normal function
calls are a reminder to the coder that maybe they should stash that value
in a local variable if they're going to use it many times.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4448 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-10 01:32:40 +00:00
Ray Greenwell 92205abedf Temporarily turn off masking so that everyone can enjoy playing with p15n.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4447 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-09 18:30:46 +00:00
Michael Bayne 5ae9307636 Factored the curse filter out into a reusable class.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4446 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-09 00:24:22 +00:00
Michael Bayne 4694c1ce17 Just who() is fine, we don't need the whole user object dumped.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4445 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-07 01:40:23 +00:00
Ray Greenwell ce2c276d87 Implemented DisplayUtil.applyToHierarchy, because the similar function
included in the mx library is unable to cope with security errors
accessing a child.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4444 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-03 22:34:10 +00:00
Ray Greenwell 9ef2673464 Apparently String concatination is really cheap in AVM2, so let's just
keep things simple.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4443 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-02 23:53:30 +00:00
Michael Bayne e9f13b66cd Beans, frank.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4442 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-02 05:14:46 +00:00
Ray Greenwell 6f18912003 Collections.shuffle().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4441 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-01 03:55:14 +00:00
Ray Greenwell 91b50cd0b8 Took care of some TODOs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4440 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-01 03:52:29 +00:00
Ray Greenwell b0cc50b21b - Don't actually set our width/height to that of the media we contain.
That's so "Java" of me, in actionscript children regularly have larger
  bounds than their parents (and get to display it all).
- Stronger security restrictions on loaded content. (Games will break)
- A few visits from old man Occam.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4439 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-31 23:46:22 +00:00
Michael Bayne 35082bbaca New and improved lint removal.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4438 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-26 23:00:20 +00:00
Ray Greenwell 9437211e40 We must load content into our SecurityDomain if we want its
ApplicationDomain to be a child of ours.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4437 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-26 21:29:13 +00:00
Ray Greenwell a9d5ca01e2 We don't need the application to be passed-in, it's always
statically accessible.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4436 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-26 01:49:44 +00:00
Michael Bayne 0bb157aedf When running in local mode we want to properly tag all events originating on
the client with the proper source oid. Normally this happens when the client's
event is received over the network but in local mode events never go over the
network and thus all appear to have originated on the "server".


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4435 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-25 17:10:30 +00:00
Ray Greenwell 0a89eedc6c Nixed JavaConstants.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4434 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-24 22:16:57 +00:00
Ray Greenwell a83c70dd0f Handle showing a resource class or an already-configured DisplayObject.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4433 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-23 22:47:54 +00:00
Ray Greenwell 8683642e4f Match recent changes on Java side.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4432 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-23 17:47:43 +00:00
Jonathan Le Plastrier a98a15a6d4 This is just an informational message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4431 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-20 22:07:51 +00:00
Ray Greenwell 7d68d9c617 Added CommandEvent.markAsHandled().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4430 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-18 01:38:48 +00:00
Andrzej Kapolka 1468a3fa3d Moving the Max exporters to Nenya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4429 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-18 00:13:11 +00:00
Michael Bayne a494383688 We now reference project.dir.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4428 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 23:52:10 +00:00
Michael Bayne bb650a11d2 Revamped the snapshot task to copy the dist/lib/ dependent jars into lib/ for
the snapshot so that it contains all appropriate dependencies regardless of
from where the local build got them.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4427 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 22:42:34 +00:00
Michael Bayne 0962f1035b Added proper 'snapshot' target.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4426 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 22:33:56 +00:00
Michael Bayne 96a7202d75 Out with obsolete file.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4425 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 22:29:46 +00:00
Michael Bayne d558ef79af Determine which libraries to copy from libs-incl.xml.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4424 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 22:22:48 +00:00
Michael Bayne 1dfd474317 Have Narya declare its library dependencies in an includable build file and do
some kind of annoying fiddling to allow its dependencies to come either from
the build directory of its dependee or from lib/.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4423 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 22:17:06 +00:00
Ray Greenwell 4a537cadeb Unstream lists as Arrays.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4422 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-11 21:30:56 +00:00
Michael Bayne 20d1e1d024 Allow chat displays to register themselves in a known order and to report to
one another whether they've already displayed a chat message.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4421 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-10 21:48:27 +00:00
Michael Bayne 3c385628a1 Freak not out if we're not fully connected to a known peer.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4420 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-10 21:47:39 +00:00
Michael Bayne 499f86715a The class in question here is not an instance of ActionScript.java but rather
an arbitrary Java class which we are converting to ActionScript (the language,
not the class). Hopefully this will appease the compiler.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4419 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-09 19:28:35 +00:00
Par Winzell 8a935f1203 This didn't compile for me without the Generics.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4418 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-09 15:36:52 +00:00
Michael Bayne 7c6cff471b InvocationService.InvocationListener is a special case and can't even go in the
raw imports. Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4417 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-06 01:48:54 +00:00
Michael Bayne 8673055be4 More proper field conversion.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4416 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-06 00:34:03 +00:00
Mark Johnson 47d1369180 A psudo random number generator that can be seeded. Use at your own
risk.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4415 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-05 22:27:06 +00:00
Michael Bayne e532378ce4 We need InvocationService inner-listeners in our raw imports because those
aren't magically in scope for ActionScript, we have to generate import
statements for them.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4414 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-05 20:38:11 +00:00
Michael Bayne 63c4e10d3c Improved Java to ActionScript field type conversion.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4413 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-05 20:30:30 +00:00
Michael Bayne c7dd56f845 More juicy auto-generating goodness.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4412 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-05 02:01:34 +00:00
Michael Bayne e292e04e65 More fiddling and improvements to code generation.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4411 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-05 01:33:25 +00:00