Commit Graph

  • 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. Michael Bayne 2011-04-05 13:47:26 -07:00
  • 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. Michael Bayne 2011-04-05 12:09:38 -07:00
  • e7aa1b91be Combine final bits into errata section. Michael Bayne 2011-04-04 23:40:47 -07:00
  • 01954ccdd1 Combine overview and documentation. Michael Bayne 2011-04-04 23:38:59 -07:00
  • e49666c7a9 Apparently newlines there are no good. Michael Bayne 2011-04-04 23:37:52 -07:00
  • a61819d7a9 Added some overview bits from the old Google Code main page. Michael Bayne 2011-04-04 23:37:19 -07:00
  • f6ff4e692b Truth in advertising: Ant now fetches dependencies automatically as well.a Michael Bayne 2011-04-04 23:28:52 -07:00
  • f44cad9cf9 Nope, back to the annoying 'here' links. Michael Bayne 2011-04-04 23:27:55 -07:00
  • 24bcd4e3fc That didn't work, how about this? Michael Bayne 2011-04-04 23:27:18 -07:00
  • e956939344 Testing URL fiddly. Michael Bayne 2011-04-04 23:26:57 -07:00
  • 72e02fcb2d We no longer have jars in lib/ and we should ignore the Maven target directory as well. Michael Bayne 2011-04-04 23:25:30 -07:00
  • 10b3995024 Merge remote-tracking branch 'deadmoose/master' Michael Bayne 2011-04-04 23:24:59 -07:00
  • 2c974ee946 Looks like Markdown doesn't magically linkify links, so we'll have to use explicit formatting. Michael Bayne 2011-04-04 23:10:56 -07:00
  • 96823b4c4d Make our top-level heading an H1. Michael Bayne 2011-04-04 23:07:59 -07:00
  • f365d5fdf7 Added the MC URL for direct download desirers. Michael Bayne 2011-04-04 23:06:48 -07:00
  • 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. Michael Bayne 2011-04-04 23:05:37 -07:00
  • 3a44116c92 Bring in the old svn ignores as gitignore. Deadmoose 2011-04-04 23:05:15 -07:00
  • 71e3d2ca29 Speeling Deadmoose 2011-04-04 22:31:20 -07:00
  • 7300e1be69 [maven-release-plugin] prepare for next development iteration samskivert 2011-04-04 04:02:14 +00:00
  • 841e8f0368 [maven-release-plugin] prepare release samskivert-1.3 samskivert 2011-04-04 04:02:04 +00:00
  • cab1a00aac Handle TypeVariable in simpleName(). samskivert 2011-04-02 02:00:45 +00:00
  • cd0d699c77 - Parse enums. - Rejigged some strange code in Color parsing. ray.j.greenwell 2011-03-25 18:47:58 +00:00
  • 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. andrzej@threerings.net 2011-03-22 22:01:47 +00:00
  • c994b9cde1 Make sun/misc/Signal* available to shut up warnings about SignalUtil charlie.groves 2011-03-22 21:34:05 +00:00
  • be6eaa9ddc Added needed file attribute to mavendeploy action. samskivert 2011-03-16 18:29:09 +00:00
  • 697b0bfb05 ooo-buildify charlie.groves 2011-03-16 00:31:34 +00:00
  • e02fb89cb0 PECS, and use Collections.reverseOrder(). ray.j.greenwell 2011-01-26 20:36:37 +00:00
  • 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. samskivert 2011-01-25 20:55:59 +00:00
  • cc893eb3ba Deploy a sources jar along with the code jar for IDE-happiness charlie.groves 2011-01-20 00:41:28 +00:00
  • bf3644bca7 Use m2eclipse for Eclipse configuration charlie.groves 2011-01-11 23:45:52 +00:00
  • f8cb176177 Bump GWT artifact up to snapshot version. samskivert 2011-01-07 22:26:35 +00:00
  • f20223535c Build and ship a 1.2 samskivert-gwt for the OOO repo. samskivert 2011-01-07 22:23:16 +00:00
  • c5cb3df91b [maven-release-plugin] prepare for next development iteration samskivert 2011-01-07 22:17:37 +00:00
  • 2972e17cbd [maven-release-plugin] prepare release samskivert-1.2 samskivert 2011-01-07 22:17:26 +00:00
  • 667ac7a885 No longer needed now that Coreen understands Maven-based projects. samskivert 2011-01-07 22:10:44 +00:00
  • a2764d78bb Auld Lang Syne karma@deadmoose.com 2011-01-01 05:09:33 +00:00
  • 939f501ae4 Pass the property key along via the exception. samskivert 2010-12-19 19:26:11 +00:00
  • 4871bc817f Added requireProperty() and associated MissingPropertyException. samskivert 2010-12-19 19:12:10 +00:00
  • df7df145e6 Widening. samskivert 2010-12-19 18:58:04 +00:00
  • cb82f080d6 Added ArrayUtil.safeToString(), which encapsulates the logic to check if it's an array. ray.j.greenwell 2010-12-15 01:57:47 +00:00
  • 059d557ec9 LogBuilder.arrayStr() -> ArrayUtil.toString(), made public. ray.j.greenwell 2010-12-15 01:17:31 +00:00
  • ecdd534630 Actually, it only makes sense to provide ranges for exported transitive dependencies. Fortunately, samskivert has no exported transitive dependencies. samskivert 2010-12-09 17:18:44 +00:00
  • 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. samskivert 2010-12-09 17:15:25 +00:00
  • 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. samskivert 2010-12-09 17:11:51 +00:00
  • b84a696da2 Argh. 1.5 has setIconImage on Frame, not Window. karma@deadmoose.com 2010-12-02 19:26:46 +00:00
  • 37e5e05998 Both the List and Image versions of setIconImage were introduced in 1.6, so it's reflection or nothing. charlie.groves 2010-12-02 02:33:59 +00:00
  • 88628a38f4 Add a helper to set window icons. karma@deadmoose.com 2010-12-02 01:22:09 +00:00
  • 368dceaca2 Turn off warnings about jars from the manifest classpath not being present charlie.groves 2010-12-01 02:50:38 +00:00
  • c1dbc51da7 Pretty sure truthiness is never null. karma@deadmoose.com 2010-12-01 01:00:57 +00:00
  • b6cf06ea1c Bump our log4j depend up to 1.2.16 so that we can drop those pesky exclusions. samskivert 2010-12-01 00:45:08 +00:00
  • ebdbd964b5 Do our null checking less wonkily. samskivert 2010-12-01 00:43:12 +00:00
  • 6e4739870a You put T in, you get T out. I'm open to suggestions as to whether this is the right thing. ray.j.greenwell 2010-11-29 20:35:46 +00:00
  • 8449796177 Go ahead and make maven-deploy publish locally unless otherwise directed. samskivert 2010-11-18 23:06:08 +00:00
  • 0e59a1d7be IDEA module file for Samskivert. You must set M2_REPO for this to import. par.winzell 2010-11-18 18:26:25 +00:00
  • a004d927aa DRY: lib.name -> ant.project.name. samskivert 2010-11-18 17:48:49 +00:00
  • 612040752c Alas, most of the world has moved on from Java 1.5. We will be unable to run our tests when building samskivert with 1.5 because they depend on hsqldb which is a 1.6 jar file. The main code base still compiles with a 1.5 compiler, so there's no need for alarm. samskivert 2010-11-18 01:25:28 +00:00
  • 16b3bf9d77 Turned out it was a typo in the Bamboo configuration, but let's require a repository to be specified anyway. If you want to install to your local repository, we should be using :install rather than :deploy. samskivert 2010-11-15 19:37:47 +00:00
  • 81e7859d4a Nixed link to old docs on samskivert.com. samskivert 2010-11-15 18:17:59 +00:00
  • e70d0f89e4 Reference the platform docs at their new location. All hail Larry. samskivert 2010-11-15 18:02:37 +00:00
  • 515d5b306e Added a shuffle() that uses our internal random. ray.j.greenwell 2010-11-14 23:43:49 +00:00
  • 31ba6df09f Let's make the directory we're going to write to. samskivert 2010-11-12 23:00:40 +00:00
  • 73506e6969 Hrm, Maven uses surefire-reports. Which is retarded. But we can use test-reports which perhaps more recognizable to Maven users. samskivert 2010-11-12 22:57:18 +00:00
  • d10d454814 I think I like dist/test-output better, it fits more nicely with dist/test-classes. samskivert 2010-11-12 22:55:22 +00:00
  • 8c4b9a0da2 Generate test output to dist/tests. Run tests before deploying to Maven. samskivert 2010-11-12 22:54:50 +00:00
  • fc17d99805 No unique version. Just the snapshot and file system timestamp are peachy. samskivert 2010-11-12 22:50:29 +00:00
  • 7ed1d113a6 Specify a default for the repository that can be overridden. samskivert 2010-11-12 22:47:08 +00:00
  • 63adf2d915 A target for deploying our artifacts to a local Maven repository. samskivert 2010-11-12 22:43:27 +00:00
  • a4e126e060 Don't need that echo any more. samskivert 2010-11-12 16:45:06 +00:00
  • 4e92f6c519 An ant target for generating Coreen metadata. This is a placeholder until I make Coreen understand Maven projects, but this sort of setup will be always necessary for projects that use a totally custom build. samskivert 2010-11-12 16:43:49 +00:00
  • 7301369760 as(), casts the argument or returns null if it's not an instance of the specified class. Yeah. I've had this laying around for a long time, almost embarrassed by it. But I keep running into places where it'd be handy, and now I'm going for it. ray.j.greenwell 2010-11-09 00:53:26 +00:00
  • 019e5f9311 From Monsieur Thomas. The matcher gets cranky when presented with null. karma@deadmoose.com 2010-10-28 21:18:27 +00:00
  • 5b49bb17e0 Export our dependencies again. charlie.groves 2010-10-28 20:07:39 +00:00
  • e6230497a9 Nixed unused import. samskivert 2010-10-25 19:35:08 +00:00
  • f39b34bba1 Regeneratd with mvn eclipse:eclipse and then cleaned up. samskivert 2010-10-25 19:27:35 +00:00
  • c4b1ec055f [maven-release-plugin] prepare for next development iteration samskivert 2010-10-22 19:31:28 +00:00
  • 7b5bfd488a [maven-release-plugin] prepare release samskivert-1.1 samskivert 2010-10-22 19:31:22 +00:00
  • a005c1769b Some .classpath updates. I need to figure out how to tell Eclipse to get this information from the POM. samskivert 2010-10-22 05:59:54 +00:00
  • ef694f3060 Only GPG sign when we're actually deploying a release, not when we're doing a local install. samskivert 2010-10-18 21:42:11 +00:00
  • 8e686f4bfe Maven 3 will no longer support RELEASE as a version, so we have to hardcode our version numbers and then puzzle over why things don't work when we try to use new plugin features and forget to check what version number said feature was introduced into the plugin and be sure that we're using that version. Yay! samskivert 2010-10-18 21:41:13 +00:00
  • 2726db602f Crazy experiment number two: obtain our dependencies using the Maven Ant task so that we're 100% external dependency free no matter how you build us. This is the path to righteousness that all of our libraries must eventually go down to save us from the dependency frying pan and put us into the dependency fire. samskivert 2010-10-15 15:53:24 +00:00
  • bdf46ef4c7 No longer need to exclude these guys. samskivert 2010-10-15 15:51:16 +00:00
  • f8f8057d4f These are now named jjtGetChild instead of getChild, because the former is clearly more awesome. This is about to precipitate an upgrade from a 10 year old hacked version of Velocity to a zero year old hacked version of Velocity which is not going to be pleasant, but is roundabout ten years overdue. samskivert 2010-10-15 15:50:53 +00:00
  • 34f0042956 If we could build upon guava I could make a version of pick() that took a Function for computing weight. That would be more useful to me, usually. The Map version could be reimplemented fairly easily with that... ray.j.greenwell 2010-10-15 02:25:33 +00:00
  • b77b1c72a6 Formatting. ray.j.greenwell 2010-10-15 02:24:08 +00:00
  • 57e629dfdb It should be obvious that this will NPE, but I've documented it for the others... ray.j.greenwell 2010-10-14 20:42:46 +00:00
  • 003d8819ce Nix getWeighted() and rearrange the Map overload of pick(). ray.j.greenwell 2010-10-13 19:48:05 +00:00
  • 1f0d6a4a3c Avoid generating a random value for the first weighted entry. ray.j.greenwell 2010-10-13 19:45:51 +00:00
  • 3dadbe13b9 What was I thinking?: we can't just pick a random number once. Unsmoke that crack. ray.j.greenwell 2010-10-13 00:12:50 +00:00
  • 5a8ee16ec5 Dealt with all the TODO's in getWeighted() but in a new override of pick(). - Iterates once. - Checks each weight for validity. - Only generates one random number. ray.j.greenwell 2010-10-12 22:59:01 +00:00
  • 880e785a8a Changed getWeighted() to accept a Map<T, ? extends Number>. ray.j.greenwell 2010-10-12 20:26:02 +00:00
  • 485e5e160d getNormal() from Mark Johnson. ray.j.greenwell 2010-10-12 01:20:26 +00:00
  • 4ac0865946 Some javadoc cleanup. ray.j.greenwell 2010-10-06 16:32:02 +00:00
  • 068aac8e27 A more localized application of @SuppressWarnings is desireable. ray.j.greenwell 2010-10-04 17:13:31 +00:00
  • 0f7fd4a914 Revert the meat of r2908. Maybe mdb is using a newer compiler that is behaving correctly, but my 1.6 freaks out without these. ray.j.greenwell 2010-10-01 23:15:03 +00:00
  • f49e205f68 Make this inner class protected, as we're fans of that access level. Use at your own risk! ray.j.greenwell 2010-10-01 23:08:03 +00:00
  • 12906728e5 That's already a T, so we don't need to cast it. karma@deadmoose.com 2010-10-01 22:44:46 +00:00
  • bf9fd231e0 Flag @Overrides & suppress warnings about those pad members. karma@deadmoose.com 2010-10-01 22:43:46 +00:00
  • 808f05322f Actually, let's just pass the level index down to the logger implementation (as Ray suggested). It's less code and skips the casts entirely. samskivert 2010-10-01 22:13:48 +00:00
  • b33c3fcbba We don't want to expose the type parameter just used to pass log level constants up from the logger impl and back down, so we'll just use Object and do the casting manually. samskivert 2010-10-01 22:10:14 +00:00
  • 45b4cb516f Added @ReplaceBy annotation. (The wimpy man's @Deprecated) ray.j.greenwell 2010-10-01 00:23:51 +00:00