Commit Graph

2031 Commits

Author SHA1 Message Date
mdb 652e013f6f Out vile ignore files.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2083 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-04-06 23:14:43 +00:00
mdb c8656f29fb Don't build our Ant task unless ant.jar is available, only skip building
MailUtil if the mail stuff is unavailable the rest of the net package is fine.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2082 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-04-04 18:31:50 +00:00
mdb 3bb6abd2ad Widened. Added support for overriding the site on a particular request.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2081 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-04-03 22:08:27 +00:00
andrzej b045017252 Added a hasResult method for whenever someone needs it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2080 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-30 19:39:00 +00:00
andrzej 8974917d87 No need to check those values, actually.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2079 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-29 19:07:43 +00:00
andrzej 39cd3f3341 Added a peekResult method to ResultHandler.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2078 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-29 19:04:20 +00:00
andrzej 138f38c502 Allow subclasses to customize the reference.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2077 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-22 20:18:30 +00:00
andrzej 39b92d513f Added Ray's changes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2076 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-21 23:07:25 +00:00
mjohnson 927d8c3336 Added warnedUpdate to the SimpleRepository
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2075 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-21 23:00:21 +00:00
andrzej e038506fc5 Added a ResultHandler class to store results after they've been
returned.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2074 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-21 22:41:36 +00:00
mdb 54ee0f3d99 Generate getKey() methods for our PersistentRecord classes in addition to
adding the field/column constants. Moved some of GenUtil into samskivert in the
process.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2073 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-16 20:50:10 +00:00
mdb 9f24bd4549 Improved @Computed support for subset record queries, from Zell.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2072 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-16 00:21:27 +00:00
mdb 0d496c5ad9 Added getLatestOperation(), widened.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2071 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-14 21:27:02 +00:00
mjohnson 63e23c26d2 Don't duplicate code that's in the java libs
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2070 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-13 17:04:15 +00:00
mjohnson e52a326ffa Added utility functions for convert a string to upper/lower case in the
US locale (without any funky character conversions you get in some 
languages)


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2069 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-13 01:51:25 +00:00
mdb 33ce01cde8 If we're generating XHTML, put a space before the /> close tag (apparently
required by the spec, and empirically required by Safari), and also use
checked="checked" for XHTML radio buttons.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2068 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-11 01:36:42 +00:00
mdb bbb6310592 Return whether we updated or inserted.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2067 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-02 04:36:04 +00:00
mdb 55b171e3cb Subject optional.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2066 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-02 03:53:06 +00:00
mdb 1335ce4b2e When we create a table for a persistent record, set the starting version to the
correct value to avoid spuriously trying to migrate it immediately thereafter.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2065 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-03-01 23:43:21 +00:00
mdb fcfe6c239c Allow extendo customizo.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2064 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-28 05:16:22 +00:00
mdb 7f34967737 This should really be automagic but for now we'll have a manual migration.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2063 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-28 00:25:43 +00:00
mdb 10e97ffcb7 git-svn-id: https://samskivert.googlecode.com/svn/trunk@2062 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2007-02-20 19:14:21 +00:00
mdb 7634b9fa41 Do that more nicely.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2061 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-20 19:12:30 +00:00
mdb 47d6917c0f Stop if we get to a generic type declaration.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2060 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-20 19:09:13 +00:00
mdb 140fe70475 Behold, a column identifier generator for our keystroke saving needs.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2059 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-20 18:52:28 +00:00
mdb c877f8120a Do the same magic for DATETIME that we do when adding a TIMESTAMP column.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2058 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-20 02:17:56 +00:00
mdb 60c977b5af Expanded convenience methods, from Zell.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2057 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-20 00:12:06 +00:00
mdb 94a32b5103 Why fail when we can just complain without loss of integrity.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2056 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-19 19:47:18 +00:00
mdb e37cc33d68 Cache invalidation patch from Zell.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2055 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-19 19:30:48 +00:00
samskivert@gmail.com 028d9ebfe8 Added deNull() widened.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2054 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-19 18:17:45 +00:00
mdb 513d469816 Better logging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2053 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-19 17:28:41 +00:00
mdb 33879dc6e0 Turn off debug logging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2052 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-19 17:20:47 +00:00
mdb 452b8dc9a7 Instrumented the UserManager to debug dev1, yay.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2051 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-19 17:04:20 +00:00
mdb 7adc165822 Only log one line and don't create a Statement and then decide not to use it
because the migration has already been performed.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2050 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-18 21:43:08 +00:00
mdb 24ac6db16c More informative error message.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2049 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-18 21:41:20 +00:00
mdb f77ac4bbc2 Make drop migrations idempotent.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2048 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-18 21:40:13 +00:00
mdb bbace45059 >= and <= operators.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2047 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-10 19:04:36 +00:00
mdb bfc55f66eb Make our Rename migration more lenient about having already been performed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2046 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-02-09 20:41:30 +00:00
mdb 7006f016b5 Added a convenience method, which I swear was not just an excuse to be able to
say reference reference.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2045 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-31 23:09:12 +00:00
mdb faa94de5a9 Added a Like operator courtesy of Mr Winzell.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2044 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-31 18:34:45 +00:00
mdb f406bc46c6 git-svn-id: https://samskivert.googlecode.com/svn/trunk@2043 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2007-01-31 00:41:25 +00:00
mdb f8003a05c8 git-svn-id: https://samskivert.googlecode.com/svn/trunk@2042 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2007-01-30 22:40:24 +00:00
mdb 2893383dfa Patch from Zell to fix index bits.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2041 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-30 20:57:38 +00:00
mdb b47a1ec510 Use a randomly generated temp file name so that our simultaneous parallel
builds don't stomp on one another.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2040 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-30 18:52:18 +00:00
andrzej 582e6f1c89 Added a concatenate method for integer arrays.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2039 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-25 03:32:59 +00:00
mdb 7e9a807c5d Let's use something vaguely informative and that won't NPE if we lack a
login_url configuration.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2038 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-23 02:33:05 +00:00
mdb bb4d5b3a76 Two operators from Zell.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2037 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-19 00:01:16 +00:00
mdb be888e5f29 Type safety and varargs don't play nicely together. Funny that it only freaks
out when you try to compile code that calls a varargs method with more than one
class. At that point it tries to create an array with a generic element type
which is disallowed.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2036 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-16 05:33:58 +00:00
mdb a63eef36a6 Modifications to clone() on insertion and extraction from cache, from Zell. A
whole bunch of type safety jockeying and concretification of QueryClause by
yours truly.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2035 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-16 05:30:02 +00:00
mdb acb82e0dbd New year, new copyright.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2034 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-16 05:14:02 +00:00