Commit Graph

1395 Commits

Author SHA1 Message Date
mdb c3d2f61d28 Added nay votes; any songs with nay votes are not added when the album
containing those songs is added to the playlist.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1491 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-18 05:19:19 +00:00
mdb 8bf1531d4b Implemented pausing, fixed up some fiddly bits.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1490 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-18 04:46:09 +00:00
mdb 7a2a5bed25 The Big Fat RoboDJ revamp. Rewrote the server using Presents; rewrote the
chooser to interface using distributed objects; implemented 90% of the
music importing process (just need to upload the data to the server and
stuff the new music records in the database).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1489 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-18 04:23:00 +00:00
mdb 32ce5c7048 Migrated a comment on registering protocol handlers into the place where
we actually register protocol handlers.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1488 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-17 00:50:47 +00:00
ray a06c6e26d5 It's an ObserverList! It's a ResultListener! It multiplexes results to many
ResultListeners and still has time to keep your code clean!


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1487 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-14 03:18:17 +00:00
ray 47257c70d6 fillInStackTrace() is called when any Throwable is constructed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1486 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-14 02:41:44 +00:00
mdb f14d5d05c8 When logging stack traces, don't log the message separately and then have
the exception repeat it, just start logging the exception on the first log
line. It's compact and it allows lgrep to properly filter out whole stack
traces.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1485 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-13 21:24:28 +00:00
mdb 6a8f69cb12 A handy class for tracking repeated calls to methods that should not be
called repeatedly.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1484 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-13 21:14:48 +00:00
ray 6cf9708e1d Allow sorting of java.util.ArrayList.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1483 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-12 02:38:22 +00:00
ray 512f99a5ef Added an rsort() that uses the new Comparators.REVERSE_COMPARABLE
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1482 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-12 02:38:02 +00:00
ray 94b25a5e46 Added a REVERSE_COMPARABLE comparator,
removed the obsolete STRING comparator.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1481 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-12 02:37:04 +00:00
ray d4e2a38b36 - Don't delete accounts that are already deleted!
- Don't use "-" when deleting accounts.
- Truncate only after we've prepended the number and =.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1480 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-10 21:06:31 +00:00
ray 8e42b2030b Added isDeleted().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1479 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-10 20:06:00 +00:00
mdb 458274a58b We want to catch it all baby.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1478 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-10 07:08:53 +00:00
eric a4d9d14e2d Added a format method for floats.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1477 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-09 18:31:52 +00:00
eric bd0e66e7ea Fix up the zeroTime() function. Calendar has two unique fields that store
hour data for some reason, which are both set when one does
Calendar.getInstance(), so we need to change both of them if we actually
want the hour to change.  Also change to explicitly set the fields to
zero, since clear isn't setting them to zero but to 'undefined' which
happens to be interpreted as zero.  Might as well be explicit about what
we want.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1476 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-05 21:16:24 +00:00
mdb c840c6255f Updated Narya libraries.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1475 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-02 04:49:17 +00:00
mdb efabdb20a0 Brought up to date with Narya changes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1474 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-02 04:48:55 +00:00
mdb 846b1e265a Various notes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1473 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-02 04:12:02 +00:00
mdb 6296d03296 Update to use new Commons IO.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1472 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-02 04:05:56 +00:00
mdb 0581c39b39 Added savedoc, updated README and library dependencies.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1471 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-02 03:26:55 +00:00
mdb 28dc15c3d5 Converted to Java regexp code; renamed to avoid enum keyword collision.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1470 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-02 03:16:13 +00:00
eric 2a968c2c0f Found another non unique mac that seems to get used by a tunnel adaptor
faking up MAC info to display.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1469 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-23 17:37:15 +00:00
ray 35c0b085c8 Renamed addColumnToTable to addColumn, added an optional argument for the
column name after which to add the new one.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1468 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-21 23:01:37 +00:00
eric e10b9c82d6 - Modified tableContainsIndex to allow optionally looking for a named index
as opposed to checking if a column contains an index.
- Modified addIndexToTable to use the new call and report back more
  usefully.
- Added tableContainsPrimaryKey and dropPrimaryKey, which are not actually
  getting used, but I could seem them being useful in the future, so
  checking them in.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1467 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-17 02:19:37 +00:00
samskivert@gmail.com 4db9cb1b32 Optimization in the various splices: if the operation is a no-op, just return
the original array.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1466 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-15 23:25:54 +00:00
mdb 324c94fdd3 Use a less fiddly class to detect commons-collections.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1465 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-13 16:42:30 +00:00
mdb 0e9a7c9149 Updated to reflect new Digester Rule constructor usage.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1464 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-13 16:12:58 +00:00
mdb acb7e459d7 Removed out of date documentation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1463 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-13 15:41:39 +00:00
mdb 3015617d03 A ResultListener proxy that invokes callbacks onto the AWT thread.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1462 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-12 12:29:58 +00:00
mdb af764c5aa9 Added appendPath().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1461 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-12 12:20:08 +00:00
eric b8130effb8 More exciting meta db functions!
- drop a named index
- get the name of an index for a specific column
- allow you to specify the name of a index you are adding to the column


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1460 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-09 22:00:00 +00:00
mdb 35901be492 Simplified and corrected the behavior of the JarFileClassLoader (now the
SiteClassLoader).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1459 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-09 08:45:14 +00:00
mdb ad4609fe76 Log more information if we fail to establish our database connection.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1458 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-07 10:17:36 +00:00
mdb 5e2728e0c8 Updated the URL at which the library is available. My first SVN
commit. Whee!


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1457 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-05 17:35:14 +00:00
eric 62e5b92aa4 bad mac.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1456 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-07-02 19:53:26 +00:00
mdb 6da69d719c Log the logic and request URI when a logic implementation chokes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1455 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-29 04:37:41 +00:00
mdb eb6de7d075 Refactored the Invoker into a generic class which PresentsServer extends
to do its custom fiddly business.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1454 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-29 03:14:22 +00:00
ray 4f32abb4a5 Allow rows to be inserted/updated/removed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1452 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-15 17:57:17 +00:00
mdb e4815f981a Only attempt to obtain our terminal size if we were asked to wrap the log.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1451 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-15 16:25:02 +00:00
ray 4d01d339f3 Made the table single-selection.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1450 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-14 17:36:03 +00:00
ray a85d2771f8 comment fixups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1449 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-14 17:20:04 +00:00
ray b9d31b6799 Took the DSetEditor a step further- made a JTable that can be instantiated
to display and edit any object or array of objects.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1448 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-14 01:08:22 +00:00
ray af82a7e181 'enum' is a keyword in jdk 1.5
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1447 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-12 23:17:02 +00:00
ray 46d157a3ae Noticed a copy-paste error that resulted in a small inefficiency, then
noticed that there were tabs in here... fixed the "bug" and reformatted the
file with spaces.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1446 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-12 01:00:51 +00:00
mdb c1e578c274 Located and added getDaysBetween().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1445 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-09 09:40:04 +00:00
ray 4a203b0720 Format our values with a NumberFormat (gives us commas).
Don't transform the text when focus is lost unless it needs to change.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1444 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-08 21:15:18 +00:00
mdb c4c240020d Fixed a bug with sizeToContents() where subsequent columns were not
allowed to be thinner than previous columns. No wonder it never worked
right. Dooh!


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1443 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-08 01:25:14 +00:00
ray 7df6f7787e Added getFields(clazz) and getObjectEquivalentOf(clazz).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1442 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-03 15:55:52 +00:00
mdb 409f4e8df8 Allow some of our configuration info to come from more convenient sources.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1441 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-06-01 08:34:24 +00:00