Commit Graph

939 Commits

Author SHA1 Message Date
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
ray a4b242bf8f A LRU HashMap that allows elements to be locked so that they don't expire.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@939 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-15 01:50:46 +00:00
ray e4e2eddeae A note that the collection passed into positionRect() will be wrecked.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@938 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-14 00:00:11 +00:00
mdb 241f228a3b Yet another increase in the sophistication of the label test program
because it seems I'm going to spend half of the rest of my life debugging
the fucking label code.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@937 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-13 23:17:26 +00:00
mdb 0492dec16c Use the width, the whole width and nothing but the width.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@936 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-13 23:14:57 +00:00
mdb 596144691b Formats collections using the iterator formatter.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@935 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-13 08:45:51 +00:00
ray 19bc14ce45 Added support for float values.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@934 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-13 07:12:31 +00:00
mdb da0e6968d5 Modified the way a collapsible panel gets its initial content.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@927 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-12 08:18:36 +00:00
mdb a00d0634ff Sweet Mary Mother of Jesus, after fiddling with this god damned label
layout business for hours, I've come to the conclusion that the only thing
to do is to go with the "standard" solution of relaying ourselves out
after we know how wide or tall we actually want to be. Three cheers for
Swing.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@926 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-12 06:41:29 +00:00
mdb 837a96e003 Tell the caller if they set new text or the same old thing.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@925 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-12 06:37:37 +00:00
mdb 62a7efa8ae Allow width and height tracking to be set.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@924 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-12 05:52:03 +00:00
mdb 39856ea7fc Added total().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@923 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-12 05:23:41 +00:00
mdb 6d1e0d975a git-svn-id: https://samskivert.googlecode.com/svn/trunk@922 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2002-11-12 01:15:19 +00:00
mdb 1d87798f0f Removed erroneous debugging code.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@921 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-12 01:09:26 +00:00
mdb 5b46e83f76 Cleaned up label demo; added test for golden ratio business.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@920 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-12 00:37:41 +00:00
mdb 7980830c3d Added support for having the label attempt to lay itself out in an
aesthetically pleasing manner. Took another crack at unfucking the whole
rendering outside the bounds fiasco. It appears that second guessing the x
value returned in TextLayout's bounds is not a viable strategy. We just
have to suck it up and let it have some blank space if it wants it.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@919 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-12 00:37:22 +00:00
mdb bb710d44af More buildy fiddly.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@918 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 18:23:36 +00:00
mdb a804d71d24 Generated new key.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@917 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 18:23:23 +00:00
mdb 1c6d94fc45 Niggling bits.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@916 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:34:41 +00:00
mdb e91631e6f5 New version now that we're deployed by Java WebStart, etc.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@915 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:33:43 +00:00
mdb 5e802a2f3e Build RoboDJ chooser as a JNLP app.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@914 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:23:57 +00:00
mdb 9119c5e423 Add a temporary directory configuration (used to keep the repository
directory and the rip directory on the same filesystem).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@913 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:06:23 +00:00
mdb ca874cfe20 Get our temp directory from the repository config.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@912 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:05:37 +00:00
mdb 1bc2a33705 Use the round-robin DNS version.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@911 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:05:20 +00:00
mdb 913d374710 StreamUtils is in a new place.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@910 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:04:56 +00:00
mdb 215b44f53d Put some space between the control buttons and the exit button.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@909 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:04:41 +00:00
mdb a923e1b2bd Bigger initial window size.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@908 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:04:26 +00:00
mdb dcf6d34a9f Put the category tabs on the left and scroll them if they are too many.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@907 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-11 17:04:12 +00:00