Commit Graph

173 Commits

Author SHA1 Message Date
samskivert@gmail.com f5203ac52c Look in system properties for our musicd host and port.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@176 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:10:48 +00:00
mdb d8b95f787b Added getSong() for looking up a song by id from the song array.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@175 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:10:26 +00:00
mdb eedf10e134 Added support for SKIPTO and PLAYING.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@174 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:10:05 +00:00
mdb 0973289dc6 Allow arguments to be passed to the JVM via -D.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@173 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:09:45 +00:00
mdb 64abd69179 If the currently playing track is REMOVEd, skip to the next tune.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@172 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 23:42:38 +00:00
mdb 5c3b4383a0 Added split() for splitting a string up based on a separator character.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@171 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 23:29:16 +00:00
mdb da352de418 Cleaned things up, split primary UI so that we can add better playlist
management.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@170 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 23:06:55 +00:00
mdb 1928c0eec5 Store the entry and song id in the playlist along with the path and allow
things to be removed from the playlist based on songid.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@169 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 22:32:56 +00:00
mdb 29ea556ea6 Exit when the close button is clicked.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@168 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 22:32:27 +00:00
mdb 12596ad167 Exit when the window close button is pressed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@167 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 22:31:04 +00:00
mdb dda6eae489 Added support for iterating over the configuration keys.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@166 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 18:13:19 +00:00
mdb 804f98de22 Created a configuration management object that provides access to typed
config values retrieved from properties files that live in the classpath.
Also modified build system to copy properties files from the classpath
into the target directory so that they are properly available.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@165 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 02:44:34 +00:00
mdb 0a54f5438b Added parseIntArray() and parseStringArray() for parsing arrays of ints
and strings respectively from a string representation.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@164 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-12 02:43:43 +00:00
mdb fe129b8b12 Wrote a program to solve Chu Chu Rocket boards. It's not super efficient
and gets pretty slow with four tiles to place, but it's a start.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@163 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-09 09:27:40 +00:00
mdb 21a1b4c2c5 Added means by which all users' real names can be loaded.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@162 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-08 19:34:39 +00:00
mdb 1c874bd705 Initial revision of visualizer package which contains the code to take a
list of classes, arrange them in some sensible order and then generate an
output (initially postscript) visualization (diagram).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@161 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-04 18:24:07 +00:00
mdb 893eb64605 Created filter enumerator which allows one enumerator to filter the output
of another. Created Enumerator interface which allows all enumerators to
be accessed the same way. Created simple package enumerator that filters
out all classes not in or below a particular package.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@160 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-04 18:22:26 +00:00
mdb 74fe0d194c Claim to use the Jakarta regexp package even though we don't yet (but we
will soon enough).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@159 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-04 18:20:09 +00:00
mdb f273548b58 Created facilities for enumerating all of the classes available via the
classpath.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@158 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-14 20:57:15 +00:00
mdb e31f0f2706 Whoops, unborked the package name.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@157 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-14 20:56:54 +00:00
mdb b64ae10266 Skeleton of viztool project for visualizing Java classes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@156 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-14 01:51:28 +00:00
mdb d5612717a2 Throw EOFException if CDDB server closes their end of the connection
during a lookup.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@155 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-10 21:32:48 +00:00
mdb 5cac74f256 Switch to us.freedb.org (will make this configurable eventually); log
stack trace if CDDB lookup fails.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@154 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-10 21:32:23 +00:00
mdb d3f78fcf1b Swap the position of the "Another" and "Exit" buttons.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@153 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-07 08:42:09 +00:00
mdb 920f114243 Whoops. Forgot an import.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@152 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-07 08:40:30 +00:00
mdb d1dee28125 Added support for off-axis justification.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@151 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-07 08:39:10 +00:00
mdb 4cd0102c69 Use JDBCUtil.close() rather than closing the statement directly because it
could conceivably be null.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@150 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-07 08:38:47 +00:00
mdb 567f808c4c All sorts of good new stuff including category support.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@149 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-07 08:37:47 +00:00
mdb d827c97809 Added $Id$ for version visibility goodness.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@148 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 20:23:52 +00:00
mdb 8c2aa0ca11 Edits.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@147 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 20:19:42 +00:00
mdb bfb7a6e925 Added facilities for automatically fiddling the case of the artist, title
and track names according to some canonicalization rules.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@146 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 17:41:00 +00:00
mdb 4931ffcf90 Bigger! It mahst be bigger!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@145 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 17:40:18 +00:00
mdb 3d51ed64e8 Added ability to bind to particular interface; cleaned up debugging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@144 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:52:55 +00:00
mdb 51a33f14fd Created simple prototype music chooser (playlist manager).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@143 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:42:38 +00:00
mdb 6db5867eba Created simple class for communicating with music daemon.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@142 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:42:17 +00:00
mdb 393da669fc Created a script for running the chooser.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@141 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:41:31 +00:00
mdb 32a30546fa More ideas.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@140 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:41:12 +00:00
mdb 6d6eed4fc7 Added PLAYING, made PLAY more sophisticated, added some debugging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@139 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-05 16:40:53 +00:00
mdb 0f9f4f2e5c Handle new invoke() signature, wrap remaining db ops in invoke().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@138 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-02 02:22:55 +00:00
mdb 627a309482 Modified Repository.Operation.invoke() to return a value so that it can be
used easily for database lookups as well as database stores.

Modified UserRepository to conform to the new signature as well as to use
execute() for all database operations.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@137 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-01 07:27:59 +00:00
mdb 930fa64bab Removed exception map that turned out not to be valid.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@136 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-06-01 07:15:05 +00:00
mdb 57aa7bf3c3 Added another transient exception string to the list.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@135 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-05-30 17:02:52 +00:00
mdb 71a521fae7 Add recognition of another transient error type.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@134 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-05-30 03:18:32 +00:00
mdb 6ae4154689 Put didShutdown() in a finally block so that it is called even if
iterate() or willStart() throws some runtime exception.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@133 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-05-30 00:25:53 +00:00
mdb adcb322b83 Created a Tuple class for passing around pairs of objects.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@132 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-05-29 03:29:54 +00:00
mdb 15a78e501e Created a base class that handles basic stuff for threads that loop
repeatedly, processing events or somesuch.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@131 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-05-29 03:29:44 +00:00
mdb 03c140cb38 Wasn't taking into account off-axis insets in certain cases.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@130 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-05-28 18:26:27 +00:00
mdb 48dedcfbcc Changed getEncodedLocation() to getLocationEncoded() because I like it
more.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@129 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-05-26 23:20:38 +00:00
mdb 37a83abc67 Whoops. deliverMail() should be static.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@128 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-05-26 23:18:30 +00:00
mdb c8ec99a93b Created RequestUtils, a place for HTTP request related utility functions.
Added getLocation() and getLocationEncoded() which reconstruct the URL
used to make this request (complete with query parameters if there are
any). Modified UserManager to use getLocationEncoded() rather than doing
it itself.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@127 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-05-26 23:18:11 +00:00