Commit Graph

915 Commits

Author SHA1 Message Date
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
ray 33cfa3f049 make label handle line breaks.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@906 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-10 04:48:52 +00:00
mdb 88f57ce514 Added valueOf().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@905 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-09 02:11:36 +00:00
mdb aca62779cb More imageSubmit() alternatives.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@901 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-09 00:48:51 +00:00
shaper f8cf165235 Added getMinValue().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@895 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-08 02:34:54 +00:00
ray 5764a6b6b4 moved access to IteratorIterator into Collections.getMetaIterator()
git-svn-id: https://samskivert.googlecode.com/svn/trunk@894 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-07 18:40:40 +00:00
mdb 09624ed239 An iterator that iterates over the union of the iterators provided by a
collection of collections.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@893 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-07 05:58:31 +00:00
mdb 58c6a6f862 Missed a call to Math.round() and have roundly chastised myself for it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@892 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-06 04:29:56 +00:00
mdb 9ab80613b4 More testing.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@891 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-06 04:29:17 +00:00
mdb 2c21a8cbe6 Added method for easily logging a brevified class name.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@890 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-06 01:39:24 +00:00
mdb 9b92d44e5b Label.setOutlineColor() is now Label.setAlternateColor().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@889 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-05 03:01:08 +00:00
mdb c9b3f26dc9 Seal the deal with Math.ceil(). We will no longer expound on Math.round()
as it gave us incorrect bounds.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@888 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-05 03:00:47 +00:00
mdb 81adae5fd3 Added method for converting millis interval into human readable format.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@887 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-05 02:24:22 +00:00
ray 6c5df91f83 Samskivert Timer: posts commands to a Controller on the awt thread, all the
manueverability of javax.swing.Timer.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@886 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-05 01:47:32 +00:00
mdb 4feb577c47 Ignore user case here as well.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@885 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-01 00:43:58 +00:00
mdb 1444f62d0d Check passwords encrypted both ways because we have a bunch of passwords
in our databases that were encrypted in the old manner which need to still
work. We love the legacy we leave.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@884 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-11-01 00:33:48 +00:00
shaper 421cf7f1e4 Renamed joinEscaped() variant that allows specifying whether to escape the
string to the more sensible join().


git-svn-id: https://samskivert.googlecode.com/svn/trunk@883 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-31 01:44:25 +00:00
shaper daaa6994e2 Added join(String[]).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@882 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-31 01:24:10 +00:00
mdb f79b5828a7 Not to be case sensitive about the usernames.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@881 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-30 18:58:42 +00:00
ray 878db2b241 Don't allow drags to start from a DragSource whose component is disabled;
don't allow drops over a DropTarget whose component is disabled.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@880 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-28 19:19:43 +00:00
shaper ab8606f10b Expanded imports.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@879 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-27 22:17:08 +00:00
shaper 48677691b3 Added an adapter for the PopupMenuListener interface.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@878 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-27 08:31:29 +00:00
mdb 840fcbdf14 Added urlEncode() to the Velocity string tool.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@877 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-25 18:04:44 +00:00
mdb fb3be71567 Added convenience method for rounding a number up to a power of two.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@876 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-23 23:31:32 +00:00
mdb 8dd1b4c4bb A step down the road toward interface elements that look after themselves.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@875 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-23 02:06:14 +00:00