mdb
029ed2322e
Though you might think that createController() should always create a
...
controller, we don't necessarily want to insist about such things, so we
go ahead and cope if it returns null.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@998 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-18 04:19:16 +00:00
mdb
54afee66f5
StringTool.concat() turns out not to be necessary because you can do:
...
"blah blah${foo.bar}" in Velocity to append a string to a string constant
and $baz.concat($foo.bar) to concatenate two string objects.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@997 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-17 23:53:24 +00:00
mdb
44fcf5ec48
Added concat() to string tool.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@996 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-17 22:58:37 +00:00
mdb
97932e74d8
Added support for custom parsers and for not warning when a property is
...
seen that has no associated object field.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@995 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-16 02:11:42 +00:00
mdb
def8bd3739
Be serializable.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@994 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-16 01:57:36 +00:00
mdb
71f3f4a25a
We should be serializable just like ArrayList.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@993 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-16 01:55:55 +00:00
mdb
86aec75f11
Added support for wiring up a toggle button to a boolean configuration
...
preference. We love the magic.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@992 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-14 02:11:24 +00:00
samskivert@gmail.com
52766f48a4
Added property change notification support. This is going to kick ass.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@991 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-13 22:12:28 +00:00
shaper
a23bfcc343
Moved MouseArmingAdapter into swing/event, and pass along the mouse event
...
to clicked() that resulted in the click.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@990 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-13 04:30:38 +00:00
shaper
4f9bf920b0
Log a warning and dump the stack rather than throwing an exception if we
...
try to add an observer more than once and we're not allowing duplicate
observers so that existing callers to add() don't have the proverbial rug
yanked out from underneath them.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@989 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-13 00:48:19 +00:00
shaper
e59acac67e
git-svn-id: https://samskivert.googlecode.com/svn/trunk@988 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 23:55:56 +00:00
mdb
ad3d54c9a5
Whoops, booched the package name.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@987 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 19:53:55 +00:00
mdb
a89855ef9f
Whoops. That test wasn't supposed to work. :)
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@986 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 19:02:19 +00:00
anoncvs
8d6eb42b3e
This is a test.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@984 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 19:01:35 +00:00
mdb
26ee11a707
Don't need native library stuff any longer.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@976 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 07:46:27 +00:00
mdb
ca1426f4bc
A boatload of dicking around to get ant to do what I want.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@975 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 07:15:18 +00:00
mdb
bc1f0b37b0
Check in the versions of the various libraries that we're using at the
...
moment.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@974 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 06:10:32 +00:00
mdb
67faab0008
Update our library requirements which are fewer.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@973 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 06:10:13 +00:00
mdb
d434779b88
We get everything from lib/ now, no more JAVA_LIBS.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@972 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 06:09:48 +00:00
mdb
7fa164d839
Remove the external libraries directory. We'll get everything from lib/.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@971 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 06:09:14 +00:00
mdb
548bc3b151
Don't display -1 tiles remaining at end of game.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@970 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 06:07:49 +00:00
mdb
d131cd36bb
Le metric crapload of changes to bring things up to date with the latest
...
Narya libraries and to finish the name change from Venison to
Atlantissonne.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@969 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 05:51:55 +00:00
mdb
2ddd5a3b4a
Brought testAndAdd() into line with all the other methods which have a
...
referential equality version foo() and an object equality version
fooEqual().
Modified the code so that the same version of each function can be used to
implement the referential and object equality versions with the help of an
equality comparator class.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@968 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-12 00:29:39 +00:00
shaper
b3e5c848f8
Added utility routines for activating and restoring anti-aliasing in a
...
graphics context.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@967 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-09 04:44:36 +00:00
mdb
c9ee4f3b3c
Label demo updates to support further testing and bug fixes.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@966 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-06 22:18:07 +00:00
mdb
8798a1bfff
Render styled text directly rather than fiddling with x and y to center
...
them on the primary text; account for some fiddliness with right aligned
text and less than a single pixel of extra space. Rendering text at x +
0.3, say, would some times shift it over an entire pixel to x + 1. Whee!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@965 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-06 22:17:50 +00:00
mdb
2c19f33032
And the hits just keep on coming: we no longer need to adjust our extra
...
space calculations where we did because we're accounting for the shadow
and outline space requirements from the get go.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@964 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-06 21:52:35 +00:00
shaper
2e172108be
Oops; minor optimization in indexOf().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@963 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-05 22:14:52 +00:00
shaper
ea61e20a52
Added indexOf() for float arrays.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@962 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-05 22:11:03 +00:00
shaper
4a9d780656
Return the passed-in collection in our various addAll() variants.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@961 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-05 22:10:28 +00:00
ray
7e44c3d553
button utilities
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@960 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-04 23:58:22 +00:00
mdb
e52f51ada5
Specify the period in milliseconds rather than seconds.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@959 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-04 03:20:36 +00:00
mdb
b79c3d38c4
Provide a way to use the throttle with ones own timestamps.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@958 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-04 02:54:58 +00:00
shaper
93386819d5
Added getMaxValueIndex().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@957 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-03 23:55:52 +00:00
mdb
e0e4c1f202
No need to format InetAddress ourselves as its toString() is just fine.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@956 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-02 22:59:26 +00:00
mdb
d58899284e
Oh no, not again. We have to account for our style adjustments when
...
computing width and height all the time rather than tacking them on at the
end.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@955 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-12-02 21:55:45 +00:00
mdb
7ba58388c2
Implemented hashCode() and equals() appropriately.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@954 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-30 04:09:13 +00:00
shaper
9c8652d369
Added shuffle() variants that allow passing in the random object from
...
which random values are obtained.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@953 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-29 20:39:21 +00:00
ray
44fc9cf753
make clear() only clear entries that aren't locked.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@952 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-26 21:14:36 +00:00
mdb
eede8f6c0e
Provide a version of parseStringArray() that intern()s the array elements.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@951 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-26 09:16:53 +00:00
mdb
a2d6c849b9
Minor fiddling.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@950 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-26 01:57:22 +00:00
mdb
b16487d5ae
Fancy new inheritable properties that are much more robust that the old
...
hacky method and provide support for both extending other properties files
and overriding values in existing properties files (in an extensible
manner). See loadInheritedProperties() for the straight scoop.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@948 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-25 22:25:20 +00:00
mdb
06fa138f66
Le twisted test case.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@947 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-25 22:23:36 +00:00
mdb
372b031e7b
Much more substantial testing for the fancy new inheritable properties.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@946 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-25 22:23:21 +00:00
samskivert@gmail.com
5bf8783574
Documentation improvements.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@945 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-24 04:51:02 +00:00
mdb
cc6ab12160
Documentation fix.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@944 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-24 04:50:27 +00:00
mdb
ae76d226ce
Documentation cleanup.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@943 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-24 04:50:10 +00:00
mdb
87ef33ddf8
We can't just constrain ourselves on our first layout because we may be
...
laid out again with a different size (for example if we're in a scrolled
pane) and we need to respond to that. So now we re-constrain any time our
dimensions are changed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@942 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-22 21:21:32 +00:00
mdb
3826db36ca
Added interface for getting the current log level.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@941 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-21 22:41:53 +00:00
mdb
82c1739557
Had an extra dot!
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@940 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-16 01:07:19 +00:00