mdb
d7ad411c11
Prune whitespace from the end of the selection before inserting it into
...
the lookuplet text widget.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@94 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-10 20:30:58 +00:00
mdb
ea9f65f24f
Added getDateParameter() which doesn't freak out if the date isn't set in
...
the form fields but does freak out if it's a bogus date.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@93 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-04 08:18:28 +00:00
mdb
21305787af
Created a class for path related utility functions.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@92 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-04 07:33:29 +00:00
mdb
170422e1f1
Modified things further. Moved message manager management entirely into
...
the default application. Derived applications now simply provide a message
bundle path if they want a message manager. Also now pass an application
reference to the logic instances when they are invoked so that they can
easily access application-wide resources.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@91 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-04 06:37:51 +00:00
mdb
7a45385168
Added some convenience functions for translating messages.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@90 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-04 06:25:48 +00:00
mdb
8ac811810b
If the application provides a message manager, use that to localize any
...
messages reported from a FriendlyException or from the exception map.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@89 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-04 06:22:17 +00:00
mdb
81710f70ec
Modified things to make handling of message resource bundles easier. We
...
now have an actual application class that's used by dispatched
applications. The message manager provides an easy interface into
localizing messages and MsgTool has a way to get at the message manager in
effect for whatever application is handling a request.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@88 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-04 06:15:39 +00:00
mdb
f96b4cc237
git-svn-id: https://samskivert.googlecode.com/svn/trunk@87 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-04 06:14:14 +00:00
mdb
b52c0431b6
Created a README in the lib directory indicating which external Java
...
packages are needed to use samskivert.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@86 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-03 22:33:32 +00:00
mdb
184f07a765
Eliminate build.sh because we use the debian ant package to compile now.
...
Modified build.xml to include jar files from the shared java directory
provided by Debian.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@85 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-03 22:17:02 +00:00
mdb
b594197590
Switched to the ANT build system from make.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@84 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-03 21:21:46 +00:00
mdb
75890dc814
Created a context tool that loads up a message bundle of translation
...
strings and allows templates to reference those translated strings easily.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@83 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-03 21:21:28 +00:00
mdb
3776c8ab74
Catch and handle redirect exceptions.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@82 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-03 21:20:13 +00:00
mdb
0cb96a2380
Use getSize() and getBounds() rather than size() and bounds(). The latter
...
are deprecated.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@81 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-03 21:19:48 +00:00
mdb
b1070329bb
Use BufferedReader rather than DataInputStream as it's the preferred thing
...
to do in Java 2.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@80 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-03 21:19:05 +00:00
mdb
9c5d045e1c
Whoops. Missing a space.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@79 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 07:39:32 +00:00
mdb
0708119f29
Added loadUserNames() and loadRealNames() for loading the user and real
...
names of a list of users who's userids are known.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@78 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 07:36:00 +00:00
mdb
13fa067cdf
Made UserRepository instance available via getter method.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@77 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 07:35:39 +00:00
mdb
f940a90847
Turned some helper classes into inner classes to avoid naming conflicts.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@76 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 05:31:13 +00:00
mdb
04f1a83125
Return the user object from login() so that we can act upon a user's
...
authentication immediately following a successful login.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@75 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:45:48 +00:00
mdb
8198fc6fb4
Was missing quotes around the expires date in the session insert SQL.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@74 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:38:31 +00:00
mdb
562c16d9ea
Formatting.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@73 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:35:17 +00:00
mdb
7a6111bb66
Was referencing the wrong array.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@72 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:34:37 +00:00
mdb
d33bd92c4d
Mo betta user management.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@71 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 02:08:50 +00:00
mdb
998f929340
Added hexlate() a function that takes an array of bytes and returns a
...
string that is the hex encoding of said bytes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@70 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 01:49:48 +00:00
mdb
de085d0781
Created some SQL that creates the necessary user management tables in
...
MySQL syntax.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@69 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 01:22:46 +00:00
mdb
6178cba159
Moved shared Log instance to top-level so that all classes in the
...
samskivert package can make use of it. Having one log instance for the
whole samskivert package seems more reasonable at present than one log
instance for each of the subpackages.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@68 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 01:22:07 +00:00
mdb
878234e6f8
Created initial revision of user management services.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@67 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 01:21:06 +00:00
mdb
de2f079b79
Fixed @see references.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@66 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 00:50:46 +00:00
mdb
4fc7d1dbe7
Added classes to manage thread-safe queues and to execute operations at
...
regular intervals on a separate thread.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@65 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 00:47:10 +00:00
mdb
7e723c6ddb
Moved query generation entirely into Table instead of half in Cursor and
...
half in table. Then added a select() method that allows the addition of
other tables into the FROM clause so that a join can be done to determine
the key of the desired row. For example:
select ... FROM users, sessions WHERE authcode = 'foo' AND
users.userid = sessions.userid
git-svn-id: https://samskivert.googlecode.com/svn/trunk@64 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-03-02 00:34:04 +00:00
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