3130 Commits

Author SHA1 Message Date
Michael Bayne 5ff6dd3477 Javadoc fixes. 2011-10-14 21:32:27 -07:00
Michael Bayne eab18691ea Upgraded to ooo-build 2.9, normalized targets. 2011-10-14 21:22:57 -07:00
Michael Bayne bcda62f2eb Ordering tweaks. 2011-09-29 17:45:07 -07:00
Michael Bayne 628f99eeb7 Update project and issues URLs. 2011-09-29 17:36:51 -07:00
Michael Bayne aa85328e22 [maven-release-plugin] prepare for next development iteration 2011-09-29 17:27:33 -07:00
Michael Bayne 1305bfb35a [maven-release-plugin] prepare release samskivert-1.5 2011-09-29 17:27:26 -07:00
Michael Bayne b3e79c5324 No need to exclude transitive depends when the trigger is itself optional.
Also updated our test depends just for kicks.
2011-09-29 17:15:23 -07:00
Michael Bayne 04b8a0bb00 Merge remote-tracking branch 'ooo/master' 2011-09-23 16:30:46 -07:00
Michael Bayne a73908ffad Order our equals() comparisons in the same way Java Collections do.
ArrayList and friends explicitly call equals() on the supplied object with the
array object as the argument, rather than the other way around. This allows one
to, for example, pass in some sort of Key object that can compare itself for
equality against a list of KeyedValue objects.

This sort of delicate dance around the equality contract is dangerous, but we
should let the caller decide whether they wish to dance with the devil.
2011-09-23 16:26:59 -07:00
David Hoover ab23b714e0 Some Randoms methods for doubles. 2011-09-02 13:13:18 -07:00
David Hoover 316dea118d Change Randoms.getProbability to use doubles.
Existing callers will merrily promote up, and this way we can match
the results over in the actionscript port in aspirin.
2011-09-02 13:10:52 -07:00
Andrzej Kapolka cdbf87f7dd Added another element to list of MAC addresses to ignore. My machine, at
least, reports a bunch of these from ipconfig.
2011-08-29 16:48:34 -07:00
David Hoover b76ab3cdac No longer pick from arrays.
Per the wailing and gnashing of teeth in response to 7e51d4c and 7bb7ee2,
I'll do the extra legwork to keep my bits in a List despite java handing
them to me as an array.
2011-08-23 13:33:11 -07:00
Michael Bayne 7e51d4c624 Compaction. 2011-08-23 11:15:13 -07:00
David Hoover 7bb7ee2ad8 Support picking from arrays. 2011-08-23 10:52:54 -07:00
Pär Winzell ad377342dd Implement initValue for HSQL identity generators. 2011-07-21 15:55:46 -05:00
Charlie Groves ed16a08797 Remove and ignore Eclipse files in favor of letting people generate their own using m2eclipse 2011-06-27 13:55:34 -07:00
Charlie Groves ab8b0f678f Bump to ooo-build 2.5 since the maven-ant-tasks jar 2.1 uses is no longer available 2011-06-24 13:41:28 -07:00
mthomas cca1a46592 Add missing @Override 2011-06-23 11:46:48 -07:00
Michael Bayne 024e2ad3c4 Trimmed trailing whitespace. 2011-06-21 17:13:35 -07:00
Michael Bayne 67a450df2c I can't resist some compaction here. 2011-06-21 17:12:14 -07:00
mthomas e570924919 Fix my last commit, which apparently had a stale version of the JDBCUtil class... 2011-06-21 16:26:31 -07:00
mthomas 4a24b8b942 Merge branch 'master' of github.com:threerings/samskivert 2011-06-21 16:24:05 -07:00
mthomas 70f7c38fbf Add a new quote() method which converts a date to a quoted string. 2011-06-21 16:19:50 -07:00
Michael Bayne 402cdfdc29 Be explicit about our Interval usage.
In AuditLogger, we roll over the audit log on the Interval timer thread, which
is dubious, because it could block, but introducing an Invoker thread here
would require a ticket on a boat that sailed a long time ago. In the case of
SerialExecutor, we're just doing Thread.kill() on the Interval timer thread, so
that's fast enough.
2011-06-17 12:24:24 -07:00
Michael Bayne 85efd40adf Better interval behavior.
If no runqueue is supplied on which to prune sessions, we don't schedule a
session pruner, rather than scheduling a long running database action on the
Interval timer thread, thereby booching all other Intervals.
2011-06-17 12:23:09 -07:00
Michael Bayne 4a53f9c29b Revamped Interval to force the creator to explicitly indicate that they want to
run on the interval timer thread, rather than allowing that to be the default
behavior if they forget to supply a RunQueue to the constructor.

Running on the interval timer thread is only safe if you know your interval
will complete very quickly, because you'll delay the firing of all other
intervals until your interval finishes. This is almost never what you want.
2011-06-17 12:22:48 -07:00
David Hoover d63f147cae Unused import 2011-06-02 09:16:10 -07:00
David Hoover af3c9e88f0 Speeling 2011-06-02 09:05:49 -07:00
David Hoover e308ab9bf3 Whitespace 2011-06-02 09:05:49 -07:00
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