Commit Graph

2950 Commits

Author SHA1 Message Date
Michael Bayne 8c9c2a42b0 - Added missing handling for char[] in toString.
- Fixed wacky use of short index variable in toString's short[] handling.
- Ensured that custom separator and whether or not we're traversing collections
is properly passed to recursive calls.
2011-06-01 12:15:28 -07:00
Michael Bayne 9344b51c4c Update pom.xml with Github URLs. 2011-06-01 11:50:26 -07:00
Michael Bayne 9e4cf62d1c Merge branch 'master' of github.com:threerings/samskivert 2011-06-01 11:43:36 -07:00
Michael Bayne 881ee30047 Modified toString() such that the no-box-arguments versions do not
automatically traverse collections, but instead simply call toString on them.
The versions that take box arguments (where the developer is clearly expressing
a desire for custom formatted collections) still do the traversal. Moved the
warning that Enumeration and Iterator are consumed into said methods.

Switched LogBuilder to use StringUtil.toString, since it now subsumes the
behavior of ArrayUtil.toString without the undesirable collection munging that
motivated its original creation.

Nixed ArrayUtil.toString/safeToString because they haven't been in the wild
long enough to be likely to have been discovered and used by third parties.
2011-06-01 11:40:26 -07:00
mthomas d78405cc46 Preparing for samskivert-1.5-SNAPSHOT development. 2011-05-24 13:29:05 -07:00
mthomas 9d13767bbf Preparing for 1.4 release. 2011-05-24 13:12:44 -07:00
Michael Bayne 49083d9105 Let's remove this and see what happens. Whee! 2011-04-27 07:55:47 -07:00
Michael Bayne d79cb9aa0e Added Factory interface here. I will remove it from Narya shortly. 2011-04-27 07:53:33 -07:00
Michael Bayne 5a9665f803 Yay for sneaking type parameters in with 1.6, and yay for having to remain
backwards compatible with 1.5.
2011-04-10 12:39:07 -07:00
Michael Bayne 9059d5ac4d JList and ListModel have type parameters. Let's use 'em. (I'll fix the one
client that lives in the bowels of Yohoho.)
2011-04-08 18:04:32 -07:00
Michael Bayne 6b86064c33 Do this in a way that the Java 7 compiler is less angry about. 2011-04-08 18:04:12 -07:00
Michael Bayne dc1e8bfde1 We need parameters on that thar return type. 2011-04-08 17:56:46 -07:00
Michael Bayne 0e1baccf4b Allow duplicate checking to be disabled for performance reasons. The profiler
has spoken.
2011-04-08 17:48:07 -07:00
Michael Bayne 5c99fd31df Let's switch to a compact header style I've adopted for more recent projects. 2011-04-06 20:10:41 -07:00
Charlie Groves 3b8c5b3121 Unused imports 2011-04-06 18:18:31 -07:00
Charlie Groves f564c5f337 Clippy sez you might want a parameter there 2011-04-06 18:07:39 -07:00
Charlie Groves 636ee6eb27 It's a brave new world, lacking in hidden props 2011-04-06 18:04:09 -07:00
Bruno Garcia 1740c2cda7 Trailing whitespace, the invisible menace. 2011-04-05 17:34:52 -07:00
Deadmoose 74ae8bc0bb No $Id$ in git. And update some stale copyright while I'm at it. 2011-04-05 15:49:23 -07:00
Michael Bayne 24f406aae2 Removed the ability to allow duplicates. That was introduced in a fit of
waffling ages ago and has never been used, and for good reason.
2011-04-05 14:44:44 -07:00
Michael Bayne 739007a000 Preserve int-ness of policy constants and newList() signature, add isEmpty().
This will hopefully take us as far down the road of backwads binary
compatibility as needed.
2011-04-05 13:47:26 -07:00
Michael Bayne 9c6b7a9603 Ray sez:
- ObserverList shouldn't extend ArrayList; bad mojo.
- Policies should be an enum.
- Use CopyOnWriteArrayList instead of our hand-rolled snapshotting.
MDB addends:
- ObserverList should be an interface (turned out to be easier to make it an
abstract class).
- WeakObserverList should be simpler, and turns out to be so, once we simplify
ObserverList public interface and remove ArraListness.

This should all be source compatible with previous usage (modulo deprecation of
the ObserverList notification constants, which most code is probably not using,
since the nice factory methods are much more concise).
2011-04-05 12:09:38 -07:00
Michael Bayne e7aa1b91be Combine final bits into errata section. 2011-04-04 23:40:47 -07:00
Michael Bayne 01954ccdd1 Combine overview and documentation. 2011-04-04 23:38:59 -07:00
Michael Bayne e49666c7a9 Apparently newlines there are no good. 2011-04-04 23:37:52 -07:00
Michael Bayne a61819d7a9 Added some overview bits from the old Google Code main page. 2011-04-04 23:37:19 -07:00
Michael Bayne f6ff4e692b Truth in advertising: Ant now fetches dependencies automatically as well.a 2011-04-04 23:28:52 -07:00
Michael Bayne f44cad9cf9 Nope, back to the annoying 'here' links. 2011-04-04 23:27:55 -07:00
Michael Bayne 24bcd4e3fc That didn't work, how about this? 2011-04-04 23:27:18 -07:00
Michael Bayne e956939344 Testing URL fiddly. 2011-04-04 23:26:57 -07:00
Michael Bayne 72e02fcb2d We no longer have jars in lib/ and we should ignore the Maven target directory
as well.
2011-04-04 23:25:30 -07:00
Michael Bayne 10b3995024 Merge remote-tracking branch 'deadmoose/master' 2011-04-04 23:24:59 -07:00
Michael Bayne 2c974ee946 Looks like Markdown doesn't magically linkify links, so we'll have to use
explicit formatting.
2011-04-04 23:10:56 -07:00
Michael Bayne 96823b4c4d Make our top-level heading an H1. 2011-04-04 23:07:59 -07:00
Michael Bayne f365d5fdf7 Added the MC URL for direct download desirers. 2011-04-04 23:06:48 -07:00
Michael Bayne 5305f6d934 Converted the README to Markdown format (which mostly consisted of moving from
two space indents to four space indents), and added info on Javadocs and Maven
artifacts.
2011-04-04 23:05:37 -07:00
Deadmoose 3a44116c92 Bring in the old svn ignores as gitignore. 2011-04-04 23:05:15 -07:00
Deadmoose 71e3d2ca29 Speeling 2011-04-04 22:31:20 -07:00
samskivert 7300e1be69 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2997 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-04-04 04:02:14 +00:00
samskivert 841e8f0368 [maven-release-plugin] prepare release samskivert-1.3
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2995 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-04-04 04:02:04 +00:00
samskivert cab1a00aac Handle TypeVariable in simpleName().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2994 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-04-02 02:00:45 +00:00
ray.j.greenwell cd0d699c77 - Parse enums.
- Rejigged some strange code in Color parsing.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2993 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-03-25 18:47:58 +00:00
andrzej@threerings.net 227a8fa447 Store the class name of the interval so that we can identify it after
cancellation.  It's tempting to store the string representation as
well when the reference is cleared, but that could be anything, so
avoid the expense.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2992 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-03-22 22:01:47 +00:00
charlie.groves c994b9cde1 Make sun/misc/Signal* available to shut up warnings about SignalUtil
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2991 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-03-22 21:34:05 +00:00
samskivert be6eaa9ddc Added needed file attribute to mavendeploy action.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2990 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-03-16 18:29:09 +00:00
charlie.groves 697b0bfb05 ooo-buildify
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2989 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-03-16 00:31:34 +00:00
ray.j.greenwell e02fb89cb0 PECS, and use Collections.reverseOrder().
There are actually 5 different implementations of quicksort in here when
one will do (the array versions could go away and call the list version,
wrapping in Arrays.asList()). But I won't touch those right now. I am
super tempted to reduce things down to one List version and one array
version.

Also it's weird that there are customized Comparators that are null-safe.
I believe I was the one who added them in the past, but I've since learned.
It's a strange undocumented "convenience" when it's easy enough for someone
to provide a null-safe comparator for comparables. (In guava you can call
Ordering.natural().nullsLast()).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2988 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-26 20:36:37 +00:00
samskivert beabb1fc19 The Maven-based build moved the GWT resources into the main samskivert jar file
a while back. Let's have the Ant-based build do the same. We can also get rid
of samskivert-gwt, since it hasn't been necessary for some time.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2987 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-25 20:55:59 +00:00
charlie.groves cc893eb3ba Deploy a sources jar along with the code jar for IDE-happiness
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2986 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-20 00:41:28 +00:00
charlie.groves bf3644bca7 Use m2eclipse for Eclipse configuration
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2983 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-11 23:45:52 +00:00