Commit Graph

755 Commits

Author SHA1 Message Date
Nathan Curtis f8f9aaf47d The only place I found that uses this ant task (other than in facepirate) is in the yohoho root
build file, and this change shouldn't cause any problems there from what I can tell.  This is needed
for the hyena build in facepirate, but if it breaks things I'll revert and figure out another way
to do it.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@856 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-10-02 07:45:18 +00:00
Mike Thomas 63bbe83a00 Those who are visiting scene objects in this manner don't expect that their ObjectInfo is going to get stomped on by the next iteration. Let's do this safely and make each visit get its own object - it's also much more consistent with visiting interesting objects.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@855 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-09-03 22:12:16 +00:00
Dave Hoover e4c91222a7 I actually have grander things I'd like to do to fancy up RecolorImage,
but as a quick diversion, move some stuff onto constants, and have it 
store a preference for the last stuff we looked at, since it's constantly
a PITA having to cruise down to the otherwise static home of your 
colorization file. Let's see how quickly the artists notice that I hit one
of their long-standing feature requests.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@854 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-28 21:43:27 +00:00
Mark Johnson e5212d48bf Return the play value here as well
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@853 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-25 23:49:37 +00:00
Ray Greenwell dc2cbcf8f7 Use new Maps factory.
Does anyone care about this crappy class?


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@852 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-24 02:55:11 +00:00
Ray Greenwell 502701a32b Bugfix.
When a menu is popped up but contains no items, the listData is null
(rather than empty). Special!


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@850 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-18 23:08:20 +00:00
Dave Hoover 707ebe5e5a Prune spurious semicolons & redundant implementation declarations
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@849 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-17 21:46:05 +00:00
Dave Hoover ed81ddb402 I'd varargified this a while back w/o getting around to committing it.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@848 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-17 21:45:35 +00:00
Ray Greenwell d8ae0c7877 Update to match change to ChatDisplay interface.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@847 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-15 00:16:07 +00:00
Charlie Groves e328b428bd Split getting an input stream from the classpath out for subclass customization
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@846 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-15 00:11:18 +00:00
Dave Hoover 800ae8195c I will not apply colorizations one after another.
I will not apply colorizations one after another.
I will not apply colorizations one after another.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@845 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-05 18:34:56 +00:00
Ray Greenwell 6194a1114f Colors are uints.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@844 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-03 22:12:52 +00:00
Dave Hoover 919ab1692f Pull that out so I can override in a subclass
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@843 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-08-02 19:52:33 +00:00
Dave Hoover c1b7b196e8 Durrrrrrrrrr
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@842 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-29 20:22:21 +00:00
Dave Hoover 34093e2cfc Change that so we can do things like: zation=textile_p:3&zation=textile_s=red
Specifically, we can do an arbitrary number of different zations (since I have
a case w/ 2 that I know of that I want to use this for, and we're known to
go higher than that in yohoho), plus you can specify the color option by name
as well as number, since sometimes that's handy.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@841 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-28 23:04:57 +00:00
Mike Thomas f2bb137f27 Add functionality to the resource:// handler to allow a colorization to be passed as options on the URL.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@840 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-28 21:44:32 +00:00
Michael Bayne fc4792d5cd Nixed the Flash utilities (which moved to flash-utils) and wired up a
dependency on same. The repackaged classes are going to break everything, but
I'll go through and fix the big stuff and smaller projects can languish or get
with the times.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@839 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-21 21:24:07 +00:00
Dave Hoover 3c610e959a Out, out, damned tabs
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@838 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-15 22:13:09 +00:00
Michael Bayne 1443bd59cb Out with commons-io.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@835 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-12 21:26:06 +00:00
Andrzej Kapolka dd77edca9c Added shutdown method.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@834 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-10 18:47:35 +00:00
Dave Hoover 9c19a17c70 Simple little mirage that just paints a solid color.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@831 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-01 20:23:22 +00:00
Dave Hoover 98a2e08a03 Varargs to the rescue
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@830 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-01 18:03:55 +00:00
Michael Bayne b1f227246e Nixed unused import.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@829 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-29 00:25:05 +00:00
Ray Greenwell d93aa839d3 Use a googley Predicate, not a samskivert Predicate.
Sorry for the pain and suffering.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@828 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-27 17:45:07 +00:00
Ray Greenwell 2b368d173e Went ahead and did the complicated thing, it's good exercise.
Definitely does not pass the "less code is better code" test.
:(


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@827 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-27 17:43:19 +00:00
Dave Hoover 16413e83fa Risk adding fuel to the fire by pulling out the 1.6ism for now.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@826 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-27 17:38:56 +00:00
Ray Greenwell b51cdf3dfa Stop me if this Iterator needs to support remove().
I don't think it does.
Lets make the samskivert Predicate obsolete.
This code would be slightly more efficient (but also obnoxious) if we iterated over
the entrySet and then transformed the filtered entries into just keys.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@825 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-27 17:29:08 +00:00
Dave Hoover ecdf0f2f4a Prune trailing whitespace & foreachize loops.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@824 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-23 01:57:36 +00:00
Dave Hoover 09d081e261 Ah yes; I don't build the jme stuff, so I managed to miss importing the appropriate things.
I think that should be all, but the build will yell shortly if I managed to miss some in
my quick pass through the logs.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@823 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-23 01:53:40 +00:00
Dave Hoover d2b9e2ebb9 A healthy splash of google-collections
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@822 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-23 01:31:14 +00:00
Charlie Groves a20117d922 Add toString
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@821 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-22 23:17:50 +00:00
Ray Greenwell 9c4173fd8b - In flash 10, oh yay, the mouseTarget might be set to null for security
reasons.
- While I was in there, I renamed the method to createCommandContextMenuItem,
  since that's more what it is.
- Removed the silly-ass option to make the menu item invisible. It was there
  because ContextMenuItem has it, but how about you just don't add the item?


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@820 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-13 23:18:48 +00:00
Andrzej Kapolka 21b70ac753 Accessors for the source play position within the queued buffers.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@819 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-13 02:59:45 +00:00
Andrzej Kapolka e22448caae Move these constants to methods so that we can override them on a
per-class basis.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@818 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-11 20:35:58 +00:00
Dave Hoover 7656af30c7 Fluff the pillows.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@817 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-11 17:35:12 +00:00
Ray Greenwell 338d4eb567 Yep, this fixed the problem.
Rejoice and comment it.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@816 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-08 02:04:12 +00:00
Ray Greenwell 516b5fbbb6 On production, in an embed, I can't click the chat widget during
the voting phase of LOLcaptions.
Clicking a button and then the text field works, so it's some
sort of funky focus issue. Try this.
Unable to duplicate on my local server, so I'll just recheck to see
if this works after the next release.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@815 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-06 18:54:59 +00:00
Ray Greenwell e717a07ad7 Minor formatting.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@814 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-04 22:07:09 +00:00
Ray Greenwell 34153b66aa Allow a trigger button to be set.
- When the menu hides, if the trigger is a toggle, it will be de-selected.
- If the menu is up and you mouseDown on the trigger, it will supress the menu
  from re-popping by blocking the CLICK that comes on the trigger.

Jesus this was complicated to get right. For a while I was trying stuff
with MethodQueue, but we react to the MOUSE_DOWN and the CLICK doesn't
get generated until some time later.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@813 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-05-04 00:33:59 +00:00
Matt Jensen 86e9c39a2f Exposing method to get at my package.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@812 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-29 19:06:31 +00:00
Ray Greenwell 3f18d80fdf Let's make all CommandMenus variableRowHeight.
- What's the harm in it? Does it cause menu to do more calculation?
What the fuck gus, they should have only implemented one code path and KISS.
- it seems to be necessary when using separators. They are slim. When not
used in a menu with separators, the separators are these hulking beasts.
- it seems that when a submenu is added, things are going variable anyway.
So: consistency.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@809 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-16 21:11:03 +00:00
Tom Conkling a4f52c9959 ColorUtil.getHue()
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@808 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-16 19:17:08 +00:00
Ray Greenwell 148be9c17e Fix using an already-instantiated icon in the addTitle() method.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@807 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-16 01:53:40 +00:00
Ray Greenwell 05cbe9db64 Add support for titles in menus.
Added an addTitle() convenience method.
Unfortunately, styling the background of the title either
impossible or so deep down the rabbit hole... deeper than this???


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@806 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-16 01:42:48 +00:00
Ray Greenwell 73954bafc5 No need to cast to DisplayObject to get these methods and properties.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@805 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-15 01:30:55 +00:00
Ray Greenwell 6d179d6ad2 Bugfix: fix y position of a submenu on an upwards-popping menu.
When transforming from row coords to global coords, don't use a point
in the row's parent's coords.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@804 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-15 01:22:36 +00:00
Charlie Groves 7c7faa43ab Some people seem to get an OpenAL error here after being in the client for a while, so let's see if
catching it allows them to soldier on.



git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@803 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-11 21:02:56 +00:00
Ray Greenwell 4af549a7e4 Added getArg(), mainly so that it can be used when dispatching
and overridden in subclasses.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@802 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-02 18:37:41 +00:00
Charlie Groves 59a8a16ccd Need to dirty indicators when they're recomputed, otherwise the result of the recomputation doesn't show up till something else changes
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@801 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-01 23:36:59 +00:00
Tom Conkling e9a797fef2 Line wrapping and line ending cleanup
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@800 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-31 22:29:18 +00:00