Par Winzell
7ae34a5683
This has been misnamed for quite a while and nobody ever noticed... which presumably means this is a rather unimportant fix.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@533 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-10 15:47:55 +00:00
Charlie Groves
79bdb30108
Stop spamming the logs with every resource fetched over the network
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@532 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-10 00:42:23 +00:00
Charlie Groves
6375505e53
Narya exports guice now
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@531 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-09 18:03:37 +00:00
Mike Thomas
68bbc19f8d
Tell eclipse about guicey jars.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@530 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-09 17:33:46 +00:00
Michael Bayne
935cf0e7c2
Basic Guice compliance.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@529 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-07 17:45:10 +00:00
Charlie Groves
70ef6a644a
Widened and genericized
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@528 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-06 21:16:45 +00:00
Charlie Groves
7d613a999a
Allow cache sizes to be set programatically
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@527 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-06 21:15:05 +00:00
Nathan Curtis
97c5206983
Added some notes about the facilities and ancestry of this class. Also modified it so that it
...
will scroll automagically if, even after doing its damnedest to make it fit, it still doesn't. This
will only happen if the menu (or submenu) is so tall that the it stretches from the bottom of the
bounds it's using, and extends past the top of the bounds.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@526 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-05 21:31:32 +00:00
Nathan Curtis
89fef8992b
Bring back the scrollable menu. However, we leave the default as not scrolling, and only do
...
scrolling of any kind of the verticalScrollPolicy is set to ScrollPolicy.AUTO or ScrollPolicy.ON,
and the maxHeight has been set.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@525 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-05 19:00:24 +00:00
Charlie Groves
9d5f63d758
Expose the locale prefix and resource list to the whole world
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@524 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-05 00:14:28 +00:00
Charlie Groves
228762fc0d
Pass the set of all valid paths through to getFramePath so it can fall back to the default action if the specified action doesn't exist
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@523 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-04 23:42:36 +00:00
Charlie Groves
6a0da5531e
Genercize
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@522 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-04 18:18:56 +00:00
Charlie Groves
795bfe0429
Log every time we get a resource from the network
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@521 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-04 18:18:10 +00:00
Nathan Curtis
4b0f9e0c64
By properly using the nifty PopUpUtil, we can simplify and correct this code all at once.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@520 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-04 00:47:56 +00:00
Nathan Curtis
65e0f8015e
Allow the creator to specify their own bounds if they don't want submenus to be constrained by the
...
stage.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@519 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-04 00:05:00 +00:00
Nathan Curtis
6b40089e52
Fixed some layout problems with _upping submenus. Also, the _fitting member variable was checked
...
in submenu layout, but it could never get set to anything but null. So, now it just assumes that
it should be fitting to the stage and does that (it would previously just put the menu wherever
its broken math put it, and not checking against the bounds of anything). I have a slight
inclination to bring back a method for supplying a fitting Rectangle so that it can be fitting these
menus between the header bar and control bar. Maybe I'll just do that next.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@518 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-06-03 23:35:34 +00:00
Mike Thomas
c2561037f0
Create a way to find out what the resource path is for the component & action in question.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@517 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-30 03:17:24 +00:00
Mike Thomas
3839762bc8
Split out the actual loading from a particular URL to a static function we may want to call from other places.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@516 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-29 23:45:29 +00:00
Mike Thomas
2381ec5640
Split out the creation of the file & network resource bundles so that subclasses can potentially create their own extensions to these.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@515 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-29 23:44:40 +00:00
Dave Hoover
d6319c128d
If we pass in a panel, we really DO want to use it.
...
And don't NPE if we resolve a block and don't have a panel (though my NPE was really
because of the first problem)
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@514 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-29 00:09:51 +00:00
Charlie Groves
7ddd442d68
Break createResourceBundle out of resolveResourceSet such that subclasses might make their own types of resource bundles
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@513 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-28 01:56:07 +00:00
Charlie Groves
2a2d36d528
Break SceneBlock and RethinkOp out of MisoScenePanel so the blocks in a visible region can be resolved without an underlying panel
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@512 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-28 01:55:15 +00:00
Charlie Groves
4ec18f5250
The resource url isn't necessarily going over http
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@511 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-28 01:29:50 +00:00
Michael Bayne
e00b4ddd6b
Switch to new logging API.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@510 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-27 22:55:10 +00:00
Charlie Groves
b521b4bfbf
Instead of caching the last 10 sound clips, cache up to 4 megs of clips
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@509 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-27 22:09:03 +00:00
Michael Bayne
63bedb6649
Use new logging API.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@508 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-27 19:42:20 +00:00
Michael Bayne
209504479d
Fix this user of samskivert's log object.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@507 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-27 18:53:20 +00:00
Charlie Groves
3b86bbe9cc
Check if a block was the last visible one we were waiting on even if it was abandoned before it was resolved. The view location can change before resolution completes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@506 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-23 23:49:38 +00:00
Charlie Groves
dce34521a3
When refreshing a scene, only delay repaints if rethink finds new blocks to resolve
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@505 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-23 22:43:23 +00:00
Andrzej Kapolka
7c67df8e37
Made the initResourceDir method public so that we can reconfigure
...
the resource directory in tools.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@504 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-23 19:30:47 +00:00
Ray Greenwell
c243740190
- Allow the override dispatcher to be specified in our factory convenience method.
...
- Style changes.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@503 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-23 02:35:20 +00:00
Mike Thomas
bde434eb88
Remove some spurious debugging.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@502 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-23 01:18:22 +00:00
Mike Thomas
25be8e02df
Need to include the bundle's ident in our lookup to the resource list.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@501 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-23 01:11:29 +00:00
Mike Thomas
ef15781c28
Add the ability for network resource bundles to have an index file which tells them which files they should expect to find. This turns out to be pretty useful since resources try to grab a locale-specific version first, which often fails, and then they have to grab their generic version. This allows us to bypass some of this latency when we're able to know ahead of time which resources we will have.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@500 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-22 18:34:37 +00:00
Michael Bayne
7835b083b8
Nixed some if true then true (ITTT?) stylings. Ray happiness++.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@499 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-21 11:19:51 +00:00
Charlie Groves
a012977741
Need to use floating point numbers if you want floating point math
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@498 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-20 22:04:13 +00:00
Charlie Groves
14dd85bb45
Switch to fixed-delay scheduling from fixed-rate so our interval being blocked
...
won't cause multiple calls to calibrate. Since a fixed-delay Interval can't be
used with a RunQueue, move the calibrate interval onto the Timer's thread and
switch to floats for the drift ratio so synchronization isn't needed around
updating it as a double.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@497 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-20 21:05:46 +00:00
Charlie Groves
551475ce8d
Don't include the source for native libs in the jar
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@496 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-19 20:56:42 +00:00
Charlie Groves
c0b0b9c94a
Start with no alpha so getting a paint before we're ticked doesn't blow up
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@495 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-14 21:18:54 +00:00
Charlie Groves
731c6fe082
Expose isResolved so things changing the block can decide if they should add or remove objects from it
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@494 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-14 06:30:35 +00:00
Ray Greenwell
65ff4b70b9
Bad Nathan! Avoid "if true then true" coding. I need a snappier name for
...
this ugly pattern.
FYI, CommandButton also has buttonMode follow enabled-ness.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@493 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-14 00:29:43 +00:00
Nathan Curtis
0378cabcaa
That last bug would have been a lot easier to track down if a disabled link button didn't still
...
look like it should be clickable. Let's turn buttonMode off when we get disabled.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@492 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-13 23:41:32 +00:00
Ray Greenwell
54ac003a1b
Encapsulate the annoyance in a method.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@491 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-09 21:33:59 +00:00
Michael Bayne
51c01493f2
Type safety, redundant case removal, other cleanup.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@490 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-09 11:39:45 +00:00
Ray Greenwell
95400b6050
verbose-stacktraces=true
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@489 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-07 21:52:26 +00:00
Nathan Curtis
9783a6a320
remove these two, as they've been moved.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@488 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-07 00:23:25 +00:00
Nathan Curtis
db22e56c07
That was exciting to track down. If your supplied sort.compareFunction(...) returns a value other
...
than -1, 0 or 1, Sort.findItem() goes into an infinite loop. Guard against that here.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@487 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-07 00:03:47 +00:00
Nathan Curtis
812ab955b4
Actually, the list creator can assign a style name to the specific instance. Internally we need
...
to assign a style name to the List instance. Also made the default renderer always use a
transparent background.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@486 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-06 22:13:30 +00:00
Nathan Curtis
f09dd1f869
Give this a style name.
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@485 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-06 22:05:39 +00:00
Nathan Curtis
2ba42867e4
expose the AmbidextrousList scrollBarOnLeft property
...
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@484 ed5b42cb-e716-0410-a449-f6a68f950b19
2008-05-06 18:10:14 +00:00