Commit Graph

2003 Commits

Author SHA1 Message Date
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
mdb 689ec8c231 @Table(uniqueConstraints) support from Zell.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2033 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-15 01:57:35 +00:00
mdb e4eabab6f8 Some fixes and documentation from Zell.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2032 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-14 20:40:54 +00:00
mdb 21c4d0ed1c Freak not out if ehcache.jar is not available. Instead just don't build Depot.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2031 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-11 01:02:44 +00:00
mdb 1d86a5e5cf Caching support from Zell. Hard drives the world round rejoice!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2030 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-11 00:43:08 +00:00
mdb 24ccb068e3 Collections are a goodness.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2029 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-08 21:16:33 +00:00
mdb 95ce692a34 Why did I call that compareTo()? compare() is more appropriate for a non
instance method.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2028 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-05 21:53:05 +00:00
mdb bef3e84b31 Don't include ant's classpath when compiling.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2027 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-05 21:52:12 +00:00
mdb 5a9b7251f1 Added overflow safe integer comparison function. Widened.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2026 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-05 21:51:02 +00:00
mdb ad26c89af2 Don't auto-remove indices either. Deciphering whether that's the right thing to
do is a PITA and not really worth the trouble.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2025 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2007-01-02 22:12:05 +00:00
mdb 32feed579b Missed a space.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2024 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-24 01:30:44 +00:00
mdb 1957dd1f74 Specify the server's default locale when creating the MessageManager.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2023 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-22 22:49:52 +00:00
mdb 48817344cc Widened, made it possible to create a custom MessageManager.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2022 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-22 00:52:27 +00:00
mdb 44452a0431 Widened.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2021 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-22 00:49:12 +00:00
mdb 701540f332 The plot thickens. Support all the varieties of modes with or without query
expansion.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2020 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-22 00:34:45 +00:00
mdb 4ee46d8c07 Support different query modes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2019 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-22 00:30:20 +00:00
mdb e6b81a15cd Them thar columns was all jammed together. Give 'em some breathin' room with
commas.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2018 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-22 00:06:45 +00:00
mdb cd2523cf31 Added Conditionals.Match for MySQL full text query operator.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2017 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 23:33:37 +00:00
mdb d6d2db1f8a Added a version of getTemplate() that takes a character encoding (courtesy of
Mike T). Deprecated putAllParameters() while I was in there.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2016 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 23:19:30 +00:00
mdb 65a3890b55 Don't run unit tests for code we didn't build.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2015 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 23:00:52 +00:00
mdb f8a33859ae Nix auto-column dropping, add simple concrete migrations that can be used to
easily register a column drop or a column rename should the need arise.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2014 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 22:55:27 +00:00
mdb daafade9e6 Automatically add and remove indices and primary key (though it's extremely
unlikely that one would do the latter), automatically remove obsolete columns
(might be dangerous, I could be pursuaded to reconsider).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2013 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 22:34:06 +00:00
mdb 7114984e5d Fixy.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2012 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 22:01:47 +00:00
mdb e5ae86c047 More test revamping.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2011 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 21:58:33 +00:00
mdb e04f24077f Move tests packages under their parent package so that they are naturally
included or excluded when we conditionally compile just certain packages.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2010 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 21:50:23 +00:00
mdb a29e4450da Test revamp in progress.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2009 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-08-25 09:25:58 +00:00
mdb 65a48e78a1 Go ahead and run the tests on ant dist. I wish this output could be made less
verbose.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2008 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 21:05:30 +00:00
mdb afd3d35f17 Index handling. Automatic addition and removal of indices not yet implemented.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2007 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 20:53:55 +00:00
mdb 25ecb66363 Fixed unit tests.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2006 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-12-21 19:53:36 +00:00