Commit Graph

1119 Commits

Author SHA1 Message Date
ray 46a1a75da0 Actually, this fix belonged in ListUtil.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1171 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-15 00:31:54 +00:00
ray 1fd653ce33 There have been so many bugs caused by _elements being allowed to be null.
Fixed another.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1170 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-15 00:30:30 +00:00
mdb 165d059265 Not to freak out if we get a null message key.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1169 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-12 04:40:24 +00:00
ray 4dbf2986f1 Don't trust InputEvent.getWhen() on windows any longer.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1168 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-12 02:46:03 +00:00
mdb 2ff35f3cb7 Wasn't properly handling module log levels that were more restrictive than
the default log level.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1167 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-11 21:00:30 +00:00
mdb de167377c3 Added two convenience methods for immediately dispatching actions on a
controller.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1166 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-11 03:42:27 +00:00
ray 1c6e74747c A URLStreamHandlerFactory that lets you add arbitrary URLStreamHandlers.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1165 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-09 18:44:11 +00:00
ray 1b795f6f0a In the target listener, clear the drag cursor on the last component, if any,
before setting a new one. This is needed because sometimes the mouseExited
will not be called for the previous component, for example if it was hidden
or a tab changed as a result of the drag over.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1164 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-09 02:03:34 +00:00
eric e6c99ce2e8 Lets use the correct version of toArray so it actually works. And ditch
the extra whitespace.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1163 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-07 18:52:56 +00:00
eric 24a648d258 Initial check in of some of the ban stuff.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1162 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-07 01:40:59 +00:00
mdb 5f80d790ff Report the site bundle path as well.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1160 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-04 20:34:57 +00:00
mdb 927bf2576f Sort domain mappings properly.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1159 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-04 20:34:34 +00:00
mdb 86ddc6fe7e Added a method for creating radio button form elements.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1158 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-04 01:29:16 +00:00
mdb 20f41d08a5 Added support for date formatting.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1157 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-02 21:32:27 +00:00
mdb d0adf51d2c Added checkedUpdate() that takes a Statement and a query.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1155 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-28 20:29:57 +00:00
mdb 4310430f1c Added a couple of convenience methods.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1154 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-28 17:11:54 +00:00
ray 5c0a9918a2 When the content is made visible, also make sure it's scrolled into view.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1153 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-26 05:55:47 +00:00
mdb b231e930a4 Implement goddamn motherfucking toString().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1152 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-25 22:03:55 +00:00
mdb 9634177145 We'll be needing that implicit zero argument constructor back.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1151 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-24 22:55:38 +00:00
ray 91f729b9a0 Added a constructor that takes an int[] of initial values.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1150 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-24 21:29:41 +00:00
mdb 29da1d07fa Don't choke if _elements is null.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1148 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-16 18:11:30 +00:00
mdb 1510c9cd09 Use a better hashing function (stolen from HashMap).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1146 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-05 18:19:11 +00:00
ray 4dd0ad1f8a Oop, now that I'm using Iterator.remove() in flush, we'd better get the
iterator directly from the delegate.
(Wow, in the previous version (1.5) it was making a new Set, then making
a new unmodifiable Set from that each time it iterated.)


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1145 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-05 18:18:12 +00:00
ray 3c8108a010 Slight optimizations to putAll() and flush() and added a comment
as to why the algorithm in flush() even properly flushes in LRU order.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1144 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-05 18:02:24 +00:00
mdb 95fa0e517d Added convenience methods for formatting floating point values with
sensible default rules (ie. 1.45).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1143 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-02 23:48:33 +00:00
mdb ef98ebaa35 Get the column count from the table column model, not the table model. The
column model knows how many columns there actually are, as some of them
may have been removed.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1142 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-02 17:45:35 +00:00
mdb 7e7e4369d4 Export the function we use to unstudlify member names when converting them
to column names.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1141 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-31 03:02:46 +00:00
mdb 7b21303b0f Whoopskidoodle! We'll be wanting to blow away the top-level directory in
recursiveDelete().


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1140 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-27 07:58:08 +00:00
mdb 5d22681233 Added a useful toString().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1139 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-25 01:49:20 +00:00
mdb a432cad4ed Added a recursive delete alternative that doesn't delete the top directory.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1137 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-23 18:13:36 +00:00
ray abef5bf16f Fixed up javadocs.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1135 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-20 17:43:02 +00:00
ray f3327b480b Added callback in DragSource so that the source can reject the target
before the target even gets a chance to ask if the drop is ok with it.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1134 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-20 17:35:51 +00:00
mdb 8aa1d804fe Handle the proper commands.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1133 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-19 02:53:25 +00:00
mdb 9e01d5b9fc Moved createImageCursor() into SwingUtil.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1132 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-15 22:02:11 +00:00
ray b728c6f5df Stream utilities.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1131 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-14 21:30:29 +00:00
ray 2653de3aa1 Only apply icon padding to the left and right side of the icon.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1130 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-14 01:52:52 +00:00
mdb 51eb251fba Allow for padding to be specified for the icon.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1129 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-12 16:13:15 +00:00
ray b88d832aeb git-svn-id: https://samskivert.googlecode.com/svn/trunk@1126 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2003-05-09 21:32:11 +00:00
ray 5f867b74fb Some minor cleanups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1124 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-08 21:46:28 +00:00
ray 62593a4d34 Pipe graphics output to two different Graphics2D objects.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1123 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-08 06:39:37 +00:00
mdb 64becb719c Use the new preferences system.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1122 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-07 17:27:40 +00:00
mdb a0abb3cbe6 Add temporary directory preference key.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1121 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-07 17:27:26 +00:00
mdb c5f3d888b4 Moved error reporting method into utility class.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1120 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-07 17:27:12 +00:00
mdb 8e2c73b379 Make sure we can access the method before calling it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1119 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-04 23:35:03 +00:00
mdb 3710afb351 New ignoring fun.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1118 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-04 18:16:47 +00:00
mdb 70c1e0a28e Properties no longer come from conf/.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1117 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-04 18:16:26 +00:00
mdb a8fdad6afb Revamped preferences handling; added support for voting for songs you
like. Eventually we'll actually make use of the voting information.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1116 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-04 18:16:07 +00:00
mdb 87fa79febe No longer needed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1115 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 19:02:24 +00:00
mdb 8df72f9ab4 Out with the old school properties.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1114 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 19:02:08 +00:00
ray dec702c4d0 File utilities.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1113 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-05-03 00:50:57 +00:00