Commit Graph

224 Commits

Author SHA1 Message Date
mdb 843ce5cab4 Allow for a create table postamble.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1800 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-03-19 19:40:57 +00:00
ray 7739d75780 Shrink our capacity by half if, after removing an element, it is bigger
than the default capacity and we're using less than 1/8th of it.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1799 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-03-11 02:40:49 +00:00
mdb 81d2e89ee2 Make it easy to wire up an anonymous derivation of OneLineLogFormatter.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1798 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-03-10 19:16:52 +00:00
mdb 6b176b3e20 Third time's the charm.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1797 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-03-07 00:40:42 +00:00
mdb a099343163 We were not handling differences that were exactly (to the millisecond) an
integer number of months.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1796 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-03-06 23:54:36 +00:00
mdb 9663af0365 Fixed inadvertent change.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1795 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-03-06 23:29:13 +00:00
mdb 647a4a597d Added a couple of date calculation methods.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1794 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-03-06 23:25:02 +00:00
mdb fde58fe833 Note in the documentation that we convert things to uppercase.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1793 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-23 19:01:47 +00:00
andrzej 478a5826a0 Clear the snapshot array when we're done applying an op so that we don't
retain references that will interfere with garbage collection.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1792 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-23 03:10:47 +00:00
mdb 58cbc0e496 Screw having .sql files, let's just define the schema in code where everything
else lives anyway.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1791 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-20 22:41:16 +00:00
mdb 2624e2d9e1 Added loadSchema().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1790 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-20 21:58:50 +00:00
mdb d280925985 Added loadAll().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1788 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-20 21:58:13 +00:00
mdb b3049d6a1d Only put the colon in if we've got a logging context.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1787 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-16 00:44:46 +00:00
mdb 426eedfafe Make the logging context (the function we were in when we generated the
message) optional.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1786 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-16 00:41:21 +00:00
mdb 85b6a76cf2 Prevent NPE when operating on a null list. A null list should be treated as an
empty list.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1785 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-15 23:15:58 +00:00
ray aed7a53e28 git-svn-id: https://samskivert.googlecode.com/svn/trunk@1783 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2006-02-06 22:02:43 +00:00
ray 7068ca93d1 Fixed build: left something in that I was hemming and hawing about:
something that would be slightly more efficient if the other Collection
was an ArrayIntSet, vs something more general for all Interables. I suppose
I could put both in: test of ArrayIntSet and do the most efficient thing,
then Interable and end up creating an Interator, or pass to the super method.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1781 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-06 19:32:23 +00:00
ray 3aba38b8de Created an Interable interface.
ArrayIntSet was redefining some methods in the superclass (and doing
the exact same thing). Fixed up, but left in slightly more
efficient implementations if the other collection is Interable or an
IntSet.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1780 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-06 18:49:31 +00:00
andrzej 49ed5e05c3 Use isBlank instead of matches.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1779 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-01 23:19:53 +00:00
andrzej 9c81cbfaae Handle the special case of splitting up an empty source string, which
should return an empty array rather than an array containing an empty 
string.



git-svn-id: https://samskivert.googlecode.com/svn/trunk@1778 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-01 23:18:18 +00:00
ray 7d7c32b6e2 Added a little flag that subclasses can use to tell whether the layout
is being painted as part of the 'main' rendering of the text, or whether
it's an auxiliary rendering used for such things as shadows or outlines.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1777 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-01 22:03:56 +00:00
ray f5e8fdda6e Allow subclasses to add attributes to the AttributedTextString.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1776 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-02-01 02:11:25 +00:00
mdb fc810b5c2a Refactored handleAction() to allow the method lookup magic to be used with
non-Swing toolkits.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1775 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-01-31 20:33:07 +00:00
mdb 9d62b407e7 Migrated samskivert into its own, sensibly organized, repository.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1774 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2006-01-30 19:52:55 +00:00