Commit Graph

832 Commits

Author SHA1 Message Date
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 a11f840d85 Nix spurious comment.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@837 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-12 22:25:43 +00:00
Michael Bayne a1b03fc7b6 Use narya-tools.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@836 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-07-12 22:25:28 +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 33264e6c35 Random cleanup I had kicking around
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@833 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-09 05:53:13 +00:00
Ray Greenwell 40ac6c882d Let's update the RSL info and NOT statically link them in.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@832 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-06-08 21:59:08 +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
Michael Bayne ce1ef809a9 Oops. Can't do that.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@811 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-17 22:57:56 +00:00
Michael Bayne 06b892bbff Allow 1.6 source but continue to target 1.5 bytecode.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@810 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-04-17 22:49:34 +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
Michael Bayne 126e58ac11 No longer need this platform hackery.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@799 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-31 01:37:02 +00:00
Michael Bayne 09ae3c617d Added asdoc target.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@798 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-30 23:09:49 +00:00
Michael Bayne 29e616700e Accept mavenized versions of our SWC depends.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@797 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-30 23:05:08 +00:00
Michael Bayne d5c9e38c34 More asdoc fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@796 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-30 23:04:54 +00:00
Ray Greenwell 05ee3c0f58 A helpful class for flex.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@795 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-27 01:48:17 +00:00
Tom Conkling 590fef5fed DisplayUtil.transformPoint convenience function
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@794 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-26 18:58:08 +00:00
Ray Greenwell 6e123c3c8b Added scrollToKey().
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@793 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 22:24:02 +00:00
Ray Greenwell 0a4a690728 Let's use presents.dobj.EventListener (and expose a public function- oh well)
and just handle all events in one place, greatly reducing line count
and at the same time handling changes other than AttributeChangedEvents
to the "refreshFields".


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@792 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 21:39:41 +00:00
Michael Bayne daa4dab352 Oops, didn't mean to foist that on the world (yet).
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@791 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 21:29:51 +00:00
Ray Greenwell 02748d3034 Properly using a flex List with sorting and filtering is tricky.
Take what we've learned and make a generic class for watching
a DSet and making a nice List out of it that preserves your
scroll position while elements are added or removed.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@790 ed5b42cb-e716-0410-a449-f6a68f950b19
2009-03-24 21:03:14 +00:00