Commit Graph

263 Commits

Author SHA1 Message Date
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