Commit Graph

1473 Commits

Author SHA1 Message Date
mdb de5c77ca81 Some cleanups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1519 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:54:21 +00:00
mdb c244c9b430 We're going to need to use object equality here.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1518 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:44:28 +00:00
mdb 121e104c5b We want to use equals() here, as Ray points out.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1517 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:41:05 +00:00
mdb 268226626e More ...Equal() -> ...() and ...() to ...Ref().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1516 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:35:39 +00:00
mdb 7d14559875 ListUtil.containsEqual() -> ListUtil.contains()
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1515 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:26:30 +00:00
mdb 34de8180e2 ListUtil.contains() -> ListUtil.containsRef()
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1514 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:21:21 +00:00
mdb 2e7b253b90 Return the action listener added in case the caller later wants to remove it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1513 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-22 23:52:54 +00:00
mdb 33d50bd4e5 Fixed a bunch of deprecated usages.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1512 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-22 17:27:53 +00:00
ray 4de3c378a3 Harmless casts to make compiling in jdk1.5 happy.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1511 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-13 00:17:39 +00:00
samskivert@gmail.com 962ebeec53 Modified implementation of equals() so that it's quicker when the two
references point to the same object.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1510 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-30 23:49:36 +00:00
ray d2875aea5a Arrgh!! If it's a popup that is being removed, don't remove ALL popups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1509 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-29 23:03:26 +00:00
ray 130f67aa04 Added some new constructors.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1508 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-29 02:19:36 +00:00
ray 6a0f89d645 Added lookupUsersByEmail() to look up all user records for users that
match the specified email address.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1507 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-25 01:52:17 +00:00
mdb b34c1a3265 Let's get crazy convenient!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1506 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-23 16:55:11 +00:00
mdb 4ef11efe20 A very handy method.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1505 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-23 16:53:03 +00:00
mdb 35f9b6cc1d A no-op ResultListener, useful on certain occasions.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1504 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-21 02:34:11 +00:00
ray 50f0b75408 If our source component is removed in the middle of a drag, reset the
cursor and cancel the drag.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1503 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-10 17:52:42 +00:00
ray 742216d9de A utility ResultListener that is silent on success, but logs as requested
on failure.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1502 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-06 00:03:15 +00:00
mdb e6f2c77898 We need to handle the regular arguments as well.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1501 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-28 16:05:25 +00:00
mdb 7f2fcb59fc Fixed concurrent modification exception.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1500 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-28 02:21:58 +00:00
ray 2f1630d738 Added some examples to the percent method documentation to show how it formats.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1499 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-25 00:39:57 +00:00
ray e8cc8b5f4b Boy howdy, NumberFormat has a way to format percentages. Use that, specify
to always show at least two digits after the decimal point.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1498 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-08-25 06:46:32 +00:00
mdb bd31773569 Ignore case when checking remote commands.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1497 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-23 06:24:07 +00:00
mdb 1f98a87829 Created a simple remote control interface; refactored the code that
connects to the music server and subscribes to the DJObject.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1496 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-23 06:19:40 +00:00
samskivert@gmail.com d61977538d Use a SimpleDateFormat so we get the milliseconds in the first call
timestamp.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1495 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-20 18:03:25 +00:00
mdb 0c863cefad Record and report the time of the first call.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1494 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-20 17:59:34 +00:00
mdb 89a6c009e8 Use some sort of username to avoid collisions when logging into the
server.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1493 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-18 17:07:30 +00:00
mdb 9a503af8de Various updated to happify things in Java Web Start.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1492 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-18 05:33:28 +00:00
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