Commit Graph

111 Commits

Author SHA1 Message Date
mdb bdbb9ad427 Added isDuplicateRowException() for determining whether or not an
exception was caused by inserting a duplicate row into a table that
disallows such actions.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@63 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 22:59:51 +00:00
mdb 89849663c4 Added a Java crypt() implementation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@62 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 22:44:42 +00:00
mdb 53d9e069dc Added code to shut down our application objects when the servlet is shut
down.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@61 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 21:09:54 +00:00
mdb c0be9ea48d Various enhancements to our webmacro extensions.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@60 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 21:06:22 +00:00
mdb 65300ebc10 Added map implementations that use ints as keys and ints as keys and
values.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@59 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 18:47:01 +00:00
mdb be76920fb3 Report the JDBC driver class that we attempted to load when we report a
failure to load said class.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@58 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-01 02:04:09 +00:00
mdb 04579d4623 Removed debug output.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@57 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-24 02:48:22 +00:00
mdb 122fd7c694 git-svn-id: https://samskivert.googlecode.com/svn/trunk@56 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2001-02-24 02:45:45 +00:00
mdb 650960a95e Was missing 'void' in the prototype which confuses the C compiler.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@55 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-24 02:45:36 +00:00
mdb 26aa333625 No need to include entry.h as we don't use our own GtkEntry derived class
any longer.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@54 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-24 02:45:18 +00:00
mdb 9dcafda455 Changed from a GNOME applet to a standalone application. Finished the
implementation of various things.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@53 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-24 02:35:20 +00:00
mdb 4f8979557e Added an extra directive that causes the docs target to be included by the
all target.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@52 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-16 03:29:07 +00:00
mdb 8a19e977ae Added a local Makefile to put our jar files into the CLASSPATH.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@51 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-16 03:28:39 +00:00
mdb b6d6dedc30 Added convenience functions to Log that allow callers to use Log.info()
rather than Log.log.info(), etc.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@50 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-16 03:27:54 +00:00
mdb 304f1527cc Added a top-level makefile for ease of rebuilding.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@49 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-15 01:47:55 +00:00
mdb 87dd10bb85 Changed around the way things are handled. We now map all files with the
.wm extension to the DispatcherServlet and it loads ContextPopulator
instances to populate the contexts for the template that is identified by
the URI. This page driven invocation scheme works more nicely in my humble
opinion and WebMacro certainly benefits from such an extension.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@48 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-15 01:44:34 +00:00
mdb 0a2c7d63fd Finished the config loading stuff.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@47 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-15 01:15:02 +00:00
mdb 0af3172403 Created a utility class for loading configuration information from a file
that lives somewhere in the classpath.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@46 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-15 01:09:57 +00:00
mdb d654cd9bd5 Added the code that actually maps exceptions to error messages.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@45 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 20:00:28 +00:00
mdb e00c6cc066 Added a method for replacing text within a string.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@44 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 19:54:43 +00:00
mdb 4c087e4e6a Created an extension to the webmacro servlet that automatically handles
exceptions in a user friendly way.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@43 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 18:49:41 +00:00
mdb 4da2553581 Catch and report class not found when loading the JDBC driver.
Added an execute() helper function which will automatically commit or roll
back an SQL operation if it succeeds or fails.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@42 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 05:55:57 +00:00
mdb 500a88880b Created a makefile for building javadoc documentation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@41 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 05:54:29 +00:00
mdb 826a3f1749 Extend the samskivert provided default repository implementation now and
use the samskivert version of JORA.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@40 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 05:48:29 +00:00
mdb c2db44dd77 Imported a slightly modified version of JORA.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@39 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 05:46:56 +00:00
mdb 8061ef0939 Created base class for JORA-based database repository implementations that
takes care of establishing a JORA session based on JDBC configuration
properties and provides a few other useful patterns.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@38 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-13 00:25:14 +00:00
mdb 034241f6ce Fixed up the ripping process as well as progress reporting. Made progress
reporting work for the cdparanoia ripper.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@37 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-02-06 08:18:00 +00:00
mdb d3d22fcf68 Added ignore files to ignore all the autogenerated crap.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@36 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 23:41:15 +00:00
mdb 537e308c62 Initial, incomplete, version of lookuplet.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@35 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 23:38:39 +00:00
mdb d15f6917bd Created design document.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@34 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:02:34 +00:00
mdb 37404be66b Initial revision of the music importer UI. Not complete.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@33 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:02:09 +00:00
mdb 05bbd8f973 New cdparanoia has xiph.org email address in header rather than mit.edu
address.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@32 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:01:24 +00:00
mdb 8b5124cd23 Added a top-level Makefile.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@31 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:01:00 +00:00
mdb 470048442a SQL to create the music repository.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@30 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:00:47 +00:00
mdb 0993bf5aed Added a local makefile that includes our jar files and the samskivert
stuff.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@29 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 07:00:21 +00:00
mdb b046d75e7a Added a script for running java with the proper environment.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@28 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-10 06:59:36 +00:00
mdb 4ec1bd06da Account for a container's insets when laying out it's children. Apparently
that's up to us.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@27 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-07 11:09:59 +00:00
mdb effaaf3df8 Log the stack trace if a task observer chokes in taskCompleted() or
taskFailed().


git-svn-id: https://samskivert.googlecode.com/svn/trunk@26 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-07 06:14:36 +00:00
mdb 55eaea1974 Added the facilities for logging a stack trace.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@25 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-07 06:13:59 +00:00
mdb 513a71ad7c Allow tasks to throw an exception so that it can be caught and passed to
the task observer.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@24 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-07 05:41:30 +00:00
mdb e621f669b0 Implemented a group layout manager that works like the One True Layout
System (as conceived in the Magic User Interface library [MUI] on the
Amiga so long ago). Component weights are not yet supported, but fixedness
works which is mainly what I need.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@23 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-07 05:41:07 +00:00
mdb 0b9e558b4d Created services to facilitate doing things asynchronously in swing
applications.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@22 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-06 03:25:19 +00:00
mdb 16618d72e5 Created a default log provider so that logging does something by default.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@21 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-06 03:21:59 +00:00
mdb f6539f6f10 Added a top-level README that describes the project.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@20 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-06 00:28:34 +00:00
mdb 3c89f47481 Added a script for invoking java with the proper environment.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@19 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-06 00:28:23 +00:00
mdb 70c8004f02 Created a utility class to easy closing statements and connections and
such.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@18 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-06 00:27:30 +00:00
mdb ce2bdb4829 Supply the cdid to the test function.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@17 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-06 00:27:00 +00:00
mdb f1dfc30dfe Made the inner classes public because callers need access to them.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@16 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-06 00:26:23 +00:00
mdb d2a43bc589 Created a thin wrapper through which we can log to an arbitrary logging
framework.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@15 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-12-06 00:24:46 +00:00
mdb 558cefb280 Initial revision of music repository code.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@14 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2000-11-08 06:42:57 +00:00