samskivert
579d706075
Nix some obsolete tests directories.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2852 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-08 18:52:36 +00:00
samskivert
ea80aad970
Nix old scripts. Everything's handled via Ant or Ivy or Maven these days.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2851 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-08 18:44:41 +00:00
samskivert
ac9fb3c63d
Nix vestigial directory.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2850 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-08 18:44:06 +00:00
samskivert
baef3bccb1
Put our non-source resources into src/main/resources to comply with the
...
standard Maven layout.
I'm not a huge fan of that separation, particularly now that it's de rigueur to
ship your sources with your class files. In such circumstances, one could
imagine just copying the entire contents of src/main/java into target/classes
and being done with it. Class files, XML files, propert files, etc. are all
packaged up together into one happy jar file of goodness. Then you don't have
extra files off in src/main/resources being demure and hard to notice.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2849 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-08 18:41:41 +00:00
samskivert
91e8240a48
Fiddling with persistent properties in tests is dangerous. Let's be sure that
...
our tests pass even when we haven't run them before. We were relying on
sub.sub3 having been set and persisted from a previous test invocation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2848 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-08 18:35:08 +00:00
samskivert
ff243af527
Hosting our own Ivy repository is a burden on library users. We really want to
...
publish our bits to the Maven central repository, which means we need to gird
our loins and wade into the ninth circle of hell: a Mavenized build.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2847 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-08 16:22:48 +00:00
charlie.groves
39f3b63dbe
I broke this in 2845; probably want to check the values in the bucket, not just the bucket. Thanks, Mr. Hoover
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2846 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-09-02 20:50:37 +00:00
charlie.groves
087dbd0e9b
Remove unecessary import and implementation
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2845 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-31 01:13:11 +00:00
karma@deadmoose.com
60224534e9
SVN need not concern itself with our compiled goodies.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2844 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-30 18:52:23 +00:00
samskivert
22a849a5d4
Unit tests not needing the assertion imports seems like a bad sign. Let's
...
actually turn these "tests" into tests.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2843 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-30 18:33:09 +00:00
karma@deadmoose.com
86f49a05a5
Speeling
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2842 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-30 17:34:26 +00:00
karma@deadmoose.com
eb4f4dc2c5
Prune unused imports.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2841 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-30 17:24:16 +00:00
karma@deadmoose.com
695fe90bf5
Tell eclipse about the new way things are organized.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2840 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-30 17:23:48 +00:00
samskivert
3e77445126
We want our ivy.xml in ivys/ivy.xml as well.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2839 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-28 01:28:36 +00:00
samskivert
bc034443ba
app.name -> lib.name, made use of lib.name in a few places where we were
...
repeating ourselves.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2838 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-28 01:16:37 +00:00
samskivert
5d2ed20918
Modified build to create and publish source and javadoc jar files.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2837 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-28 01:10:42 +00:00
samskivert
c8c748614b
I think I understand Ivy well enough now to define sane dependencies. Of course
...
these differ from the "standard definitions", but I'm going to stick with my
usual approach of assuming that everyone else is crazy.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2834 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 23:36:44 +00:00
samskivert
c55a9c44a9
Edits and trimming.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2833 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 21:33:16 +00:00
samskivert
1e7529f069
These excludes are no longer needed.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2832 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 21:22:01 +00:00
samskivert
ed75af03a6
Really really fixing release process.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2831 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 19:15:48 +00:00
samskivert
2984848b88
Ironed out the wrinkles in the public release process.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2827 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 19:09:44 +00:00
samskivert
7ae7656c19
Published release 1.0.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2825 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 19:05:47 +00:00
samskivert
6b3e29c624
A target for publishing to a local repository.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2823 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 17:19:40 +00:00
samskivert
9ea2c867d6
Let's only put things that might change into separate properties.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2822 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 16:49:11 +00:00
samskivert
d9fa1b569c
More Ivy jiggery pokery.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2821 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 16:46:24 +00:00
samskivert
65b4ca226e
Javadoc fix.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2820 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 08:46:59 +00:00
samskivert
9d6ba1f4ee
Minor edits.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2819 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 08:45:54 +00:00
samskivert
11e68cab8a
Nixed lib/README and updated top-level README to suggest using build-ivy.xml.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2818 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 08:44:07 +00:00
samskivert
c0dc419e49
Pared down the dependency checking. A lot of it has become obsolete over the
...
years.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2817 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 08:40:24 +00:00
samskivert
b566967dd7
Nixed SBT-based build. SBT ended up being a little too Scala-focused.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2816 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 08:39:40 +00:00
samskivert
26cd0928ba
A build file that uses Ivy to obtain all dependencies.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2815 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 08:38:43 +00:00
samskivert
4a4f41e9fb
Get all of our dependencies (except the hacked version of Velocity) via Maven.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2814 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 05:52:58 +00:00
samskivert
c4120f1ab9
Ignore kooky file with @Test annotations that's not actually a test.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2813 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 05:04:46 +00:00
samskivert
bd61c7a609
Let's turn this into an actual test.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2812 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 05:03:45 +00:00
samskivert
1002d68495
A basic SBT build system which I'll most likely eventually use to publish to
...
the centralized Maven repository.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2811 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 00:53:30 +00:00
samskivert
08fa16d2d8
Handle test resources in a more standard way as well.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2810 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 00:51:49 +00:00
samskivert
83e1c95c34
Converted all tests to JUnit 4. Nixed vestigial Velocity-related test class.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2809 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 00:34:13 +00:00
samskivert
91639537f0
Fixed naughty hardcoded paths.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2808 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 00:17:44 +00:00
samskivert
b03237ee4d
Though it's perhaps not exactly as I'd prefer, a consensus has formed on where
...
to put your source and test source code for Java projects. I'm going to toe the
line here because I want to use SBT to publish samskivert to the centralized
Maven repositories.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2807 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-27 00:08:06 +00:00
ray.j.greenwell
3dcef4a00c
Micro-optimization: don't test the array length if we just created it
...
at the right size.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2806 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-25 19:05:17 +00:00
ray.j.greenwell
b78365ea6d
- Fixed toArray(T[]) to terminate with null if the provided array has
...
room to spare, per the spec.
- Document that we do not support null elements.
- Increment modCount in our modifying methods, to take advantage of
fail-fast iterators.
- A few small comments.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2805 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-25 19:00:38 +00:00
karma@deadmoose.com
500e107857
Annotate overrides
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2804 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-17 17:19:36 +00:00
andrzej@threerings.net
8a45193748
Don't do anything on clear if the set is already empty.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2803 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-17 04:48:13 +00:00
andrzej@threerings.net
d1f5c4593f
Added some explanatory comments.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2802 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-11 19:57:54 +00:00
andrzej@threerings.net
756c2f44ad
Added a HashIntSet class that uses hashing with linear probing to get most of
...
the memory benefits of ArrayIntSet and better performance than a
HashSet<Integer> (presumably because of less boxing and better spatial
locality). The downside is that you need to pick a sentinel value that can't
be stored in the set, but that's not a problem in any application for which
I've ever used an IntSet. In some (admittedly simplistic) Google Caliper
testing, HashIntSet was 22% faster than ArrayIntSet and 73% faster than
HashSet for arrays of size N=10, 100% faster than ArrayIntSet and 69% faster
than HashSet for N=100, and 357% faster than ArrayIntSet and 74% faster than
HashSet for N=1000.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2801 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-08-11 05:20:43 +00:00
ray.j.greenwell
9ed1bfeedc
Annotate both of these with a @ReplacedBy.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2800 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-07-19 21:02:10 +00:00
ray.j.greenwell
8d28d119db
There's a perfectly valid replacement in java.util for this as of 1.5.
...
I haven't deprecated our version in CollectionUtil because it
copes with being passed a null array...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2799 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-07-16 19:03:37 +00:00
ray.j.greenwell
0b6b97e8c0
Update this @ReplacedBy annotation to show that we'd need nullsLast().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2798 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-07-14 19:17:56 +00:00
ray.j.greenwell
1f9786d291
Use the char version of String.replace when possible.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2797 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-07-13 00:56:07 +00:00
ray.j.greenwell
ca1141f3ca
Correct error in last commit.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2796 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2010-07-13 00:45:45 +00:00