Commit Graph

3130 Commits

Author SHA1 Message Date
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
samskivert f8cb176177 Bump GWT artifact up to snapshot version.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2980 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-07 22:26:35 +00:00
samskivert f20223535c Build and ship a 1.2 samskivert-gwt for the OOO repo.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2979 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-07 22:23:16 +00:00
samskivert c5cb3df91b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2978 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-07 22:17:37 +00:00
samskivert 2972e17cbd [maven-release-plugin] prepare release samskivert-1.2
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2976 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-07 22:17:26 +00:00
samskivert 667ac7a885 No longer needed now that Coreen understands Maven-based projects.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2975 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-07 22:10:44 +00:00
karma@deadmoose.com a2764d78bb Auld Lang Syne
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2974 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2011-01-01 05:09:33 +00:00
samskivert 939f501ae4 Pass the property key along via the exception.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2973 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-19 19:26:11 +00:00
samskivert 4871bc817f Added requireProperty() and associated MissingPropertyException.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2972 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-19 19:12:10 +00:00
samskivert df7df145e6 Widening.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2971 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-19 18:58:04 +00:00
ray.j.greenwell cb82f080d6 Added ArrayUtil.safeToString(), which encapsulates the logic to check if it's an array.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2970 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-15 01:57:47 +00:00
ray.j.greenwell 059d557ec9 LogBuilder.arrayStr() -> ArrayUtil.toString(), made public.
If Java were invented today, you can be damn sure the array classes
would have reasonable hashCode(), equals(), and toString() implementations,
instead of falling back to Object's.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2969 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-15 01:17:31 +00:00
samskivert ecdd534630 Actually, it only makes sense to provide ranges for exported transitive
dependencies. Fortunately, samskivert has no exported transitive dependencies.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2968 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-09 17:18:44 +00:00
samskivert 11261f1530 Adding version ranges seems to make Maven go out looking for newer versions. It
doesn't just indicate leniency in the face of conflict. Jesus fucking christ.
Anyhow, we can't cope with velocity-1.7.1-beta, so we have to provide a "soft"
recommendation for velocity-1.6.4.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2967 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-09 17:15:25 +00:00
samskivert e6b2bc9644 Indicate to Maven that we're happy with newer versions of all of our
dependencies. This will ensure that Maven does not erroneously omit a newer
dependency of some other library because we happen to specify an older version.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2966 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-09 17:11:51 +00:00
karma@deadmoose.com b84a696da2 Argh. 1.5 has setIconImage on Frame, not Window.
It's not that it didn't exist, it just used to be on Frame. So when
I did all my 1.5 testing, I was working with a JFrame, and then at the
11th hour decided to make this function take as general a thing as
possible, so I merrily climbed up the tree in 1.6 & didn't notice that
change.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2965 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-02 19:26:46 +00:00
charlie.groves 37e5e05998 Both the List and Image versions of setIconImage were introduced in 1.6, so it's reflection or
nothing.



git-svn-id: https://samskivert.googlecode.com/svn/trunk@2964 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-02 02:33:59 +00:00
karma@deadmoose.com 88628a38f4 Add a helper to set window icons.
As the comments say, it tries to use the nicer stuff that was added in
1.6, but falls back as needed.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2963 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-02 01:22:09 +00:00
charlie.groves 368dceaca2 Turn off warnings about jars from the manifest classpath not being present
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2962 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-01 02:50:38 +00:00
karma@deadmoose.com c1dbc51da7 Pretty sure truthiness is never null.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2961 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-01 01:00:57 +00:00
samskivert b6cf06ea1c Bump our log4j depend up to 1.2.16 so that we can drop those pesky exclusions.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2960 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-12-01 00:45:08 +00:00