Commit Graph

211 Commits

Author SHA1 Message Date
mdb fe9b84a34d Reset the scrollbar when we switch the contents of the entry list because
otherwise it will stay scrolled which is weird.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@213 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-26 01:18:21 +00:00
mdb 19c58cf9b3 Fixed repaint behavior; added ability to edit entries; other cleanups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@212 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-26 00:24:22 +00:00
mdb 057a9595dd Operate on windows rather than frames so that we can center dialogs as
well. Accordingly changed name to centerWindow().


git-svn-id: https://samskivert.googlecode.com/svn/trunk@211 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-25 23:50:22 +00:00
mdb 6dcdfbd7bc Allow the specification of packages to exclude from the output via
-Dexclude=pkg:pkg:...


git-svn-id: https://samskivert.googlecode.com/svn/trunk@210 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 21:25:46 +00:00
mdb 3bfa1a6a6b Ignore anonymous classes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@209 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 20:35:46 +00:00
mdb 299cfb8bfc Sort our chains and subchains by class name.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@208 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 20:30:53 +00:00
shaper ce22aef1f8 Initial version of utility routines for adding menu items to menus in
a more concise fashion.  Strunk and White would be proud.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@207 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 20:11:19 +00:00
mdb 2ba1cd0401 Added support for breaking chains apart when they are too big to fit on a
page.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@206 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 20:07:33 +00:00
mdb e78b957839 Modified code to deal better with splitting chain groups across pages. It
still chokes if a single chain won't fit on a page, but what to do there
is complicated and non-obvious.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@205 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 18:07:35 +00:00
mdb 8e80f60a40 Use rt.jar if classes.zip doesn't exist.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@204 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-24 18:06:02 +00:00
mdb a3107c9272 Added a version of toString() that can be passed an existing string
buffer.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@203 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-21 22:21:42 +00:00
mdb 469e2d169f Created a repository for collection related utility functions. Created
addAll() a function that adds all elements from an enumeration to a
collection. Created another version that works with an Iterator rather
than an Enumeration.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@202 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-21 22:05:04 +00:00
shaper db024caaf5 Use SwingUtil to center frames within the screen bounds.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@201 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-21 02:04:37 +00:00
shaper fa41492090 Added instantiateValue() to facilitate instantiating a class via
Class.forName() where the class name is obtained from a config value.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@200 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-21 00:50:28 +00:00
shaper f59491ac03 Initial version.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@199 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-21 00:49:26 +00:00
mdb 9764ab554e Added JAXP dependency; modified format to be more explicity about which
samskivert services require which libraries.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@198 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-20 22:56:12 +00:00
shaper 019dc655a0 Initial version of utility class to facilitate XML parsing.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@197 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-20 22:56:00 +00:00
mdb 43e7ebcd4d Created a basic context that will serve as a base interface for the
variety of other contexts we're going to need for the Three Rings
game platform.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@196 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-20 19:46:56 +00:00
mdb 998ca7cf4f Recursively call toString() when toString()ing each Object in an Object
array.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@195 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-19 18:32:02 +00:00
mdb 40aac7bafa Log a notice when we catch a non-transient exception.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@194 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-19 01:04:50 +00:00
mdb 539f587813 Use sensible margins; added support for rendering interfaces implemented
and inner classes declared within the box for the appropriate class.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@193 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 07:18:09 +00:00
mdb c695cdeb41 Pick fonts based on whether we're printing or displaying on screen.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@192 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 06:01:08 +00:00
mdb 8efe315270 Removed CascadingConstants because we don't have two classes that
reference the constants any longer.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@191 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:31:37 +00:00
mdb ee3e32fe5a Use a particular font for the group titles. Removed bogus setFont() from
top level.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@190 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:28:46 +00:00
mdb f572956f73 Removed more debug logging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@189 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:23:49 +00:00
mdb 07bbe0dd4d Parse arguments less stupidly.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@188 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:21:33 +00:00
mdb c34ca2cfc3 Fixed text alignment within outline boxes; removed some debug logging;
modified code to use italicized font for interface chains.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@187 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 05:16:16 +00:00
mdb 79b7065abf Switched to rendering via the Java2D graphics API. Finished up first pass.
Everything mostly works and I can visualize my projects and end up with a
useful set of printouts.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@186 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-17 01:54:19 +00:00
mdb b28665494b More progress. Har!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@185 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-14 00:55:21 +00:00
mdb e8dcfce0db A simple class for dumping reflection info from a specified class.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@184 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-14 00:51:13 +00:00
mdb 9e4758bb64 Created a class that provides standard comparators. Presently it has a
comparator that works on strings.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@183 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 23:41:06 +00:00
mdb 12b2fab254 Mo' betta progress.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@182 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 23:25:13 +00:00
mdb c807416da4 Fixed play_this_tune(), added log message.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@181 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:39:32 +00:00
mdb 13f9e12325 Handle playing display more efficiently.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@180 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:35:42 +00:00
mdb a8272baf6e Arg, the dreaded equals bug.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@179 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:21:32 +00:00
mdb 4131f9bae5 Added SKIPTO support.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@178 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:16:01 +00:00
mdb b1e4100d63 More and better playlist management.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@177 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-07-13 00:11:05 +00:00
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