mdb
c8b84525cf
Third time is a charm.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@566 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-06 00:56:57 +00:00
mdb
71f08da721
Need to be a bit smarter about when to prepend ', '.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@565 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-05 22:30:31 +00:00
mdb
944eedbfa4
If we call next() after a previous call to next() returned null, we need
...
to notice that and continue to return null rather than choking.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@564 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-05 22:25:49 +00:00
shaper
09cb8afb44
Return the menu items created by the various permutations of addMenuItem()
...
in case the caller cares to do things like setting their enabled state.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@563 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-05 21:48:47 +00:00
mdb
41190c49fe
Switch to destfile.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@562 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-05 21:47:06 +00:00
shaper
dc55a3bd00
Added support for adding menu items with reflected callback methods to a
...
JPopupMenu which, unfortunately, doesn't extend JMenu and so necessitates
its own class-specific implementation. Expanded imports.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@561 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-04 17:30:50 +00:00
mdb
1d7faa049a
Added a version of fieldsToString() that takes a string buffer.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@560 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-04 01:14:49 +00:00
mdb
3af18399cd
Implemented an efficient integer set class that uses a sorted array of
...
integers to maintain its contents.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@559 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-03 07:10:16 +00:00
mdb
1b26bab85b
Use Arrays.equals() instead of rolling our own.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@558 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-03 07:09:50 +00:00
mdb
fa448571ca
Implemented code to manipulate compact lists of integers.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@557 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-03 05:25:20 +00:00
mdb
b436105dba
Need to check the other version of hexlate for null arguments as well.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@556 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-03 02:11:09 +00:00
shaper
4e9914b55d
Return the empty string for a null byte array in hexlate().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@555 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-03 02:07:26 +00:00
mdb
f08bc39cfe
Added safeToString() for those times when you're feeling extremely robust.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@554 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-02 09:51:19 +00:00
mdb
d0c169f673
Added fieldsToString().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@553 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-02 00:03:14 +00:00
mdb
6d17e9dde2
Added checkedUpdate() which is useful for ensuring that an insertion
...
modifies the expected number of rows.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@552 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-01 18:33:16 +00:00
mdb
99e611fc22
Created ByteArrayOutInputStream for writing data to a byte array output
...
stream and then reading it back via an InputStream without having to copy
the data to a separate buffer.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@551 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-02-01 18:19:43 +00:00
mdb
2fb0906dda
Made joinEscaped() handle null array elements by converting them to the
...
empty string.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@550 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-30 18:21:15 +00:00
mdb
a7eef89a75
Added StringUtil.joinEscaped() and a unit test for said.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@549 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-30 18:11:27 +00:00
mdb
7c62fe276b
Removed the code that allowed a player to play a piecen that was freed up
...
by their tile placement on the same turn.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@548 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-29 23:47:34 +00:00
mdb
4ed9579c98
Display the number of tiles remaining, not counting the one currently
...
being placed by the active turn holder.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@547 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-29 23:47:03 +00:00
mdb
89807fe8b7
Count piecens from the distributed object rather than the board so that we
...
correctly disallow placement of a piecen that was freed on the same turn.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@546 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-29 23:46:37 +00:00
mdb
38b45bda04
New resource manager constructor signature.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@545 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-29 23:45:56 +00:00
mdb
a04f681a59
Moved test code into separate unit test driver.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@544 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-29 23:19:41 +00:00
mdb
b72c8e0bd5
Added simple test driver for ConfigUtil.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@543 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-29 23:19:13 +00:00
mdb
6d7308fb2b
Copy the contents of the rsrc directory into the classpath.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@542 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-29 23:18:53 +00:00
mdb
bd40453042
Javadoc edit.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@541 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-25 04:49:11 +00:00
mdb
2d916f4b2b
No longer get/setApplicationContext(), now get/setApplicationAttribute().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@540 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-24 06:32:38 +00:00
mdb
3cb0209c52
Fixed bugs in code to autoretry a transaction that failed while fetching
...
the connection.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@539 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-24 06:31:51 +00:00
shaper
54f26f45b9
Added toString(byte[]).
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@538 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-22 15:46:56 +00:00
mdb
922173cb1e
Created simple script to rerip a single track or an entire disc and place
...
it in the proper repository directory.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@537 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-19 04:35:53 +00:00
mdb
bbfcaee576
Don't abort the whole ripping process if one track fails to rip. Also
...
report the branchdir and entryid at the completion of the importing
process so that the user can rerip particular tracks if necessary.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@536 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-19 04:35:25 +00:00
mdb
5a1274efd9
Notes.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@535 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-19 04:34:42 +00:00
mdb
daf7fa3c11
Restructure execute() so that if the obtain-connection phase fails, it too
...
is retried in the cases where the exception is transient.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@534 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-18 18:35:46 +00:00
shaper
218ef9259f
Added toString(Rectangle2D).
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@533 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-17 23:00:38 +00:00
mdb
6273cd94ec
Include shared Java libraries.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@532 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-17 18:23:05 +00:00
mdb
e4e21130e0
Look in conf not rsrc.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@531 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-01-17 18:22:53 +00:00
mdb
9fd65f6091
git-svn-id: https://samskivert.googlecode.com/svn/trunk@530 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-20 02:00:12 +00:00
mdb
5811ceb90f
Added a convenience method for posting command events.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@529 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-20 00:40:09 +00:00
mdb
c8ce9d6a3c
Created ActionEvent-derived class that allows an argument to be posted
...
along with an action.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@528 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-20 00:38:03 +00:00
mdb
086f95b560
Added support for alignment.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@527 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-19 07:21:58 +00:00
mdb
f2a1553f5a
Modified comment to reflect reality.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@526 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-19 07:12:31 +00:00
mdb
d6dc2e1822
Created a lightweight class for managing text formatted to fit in a
...
particular dimension (either horizontal or vertical).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@525 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-19 07:02:50 +00:00
mdb
fa2a7c7105
Made the piecen color array (which is used to color the names in the
...
player status view) match the colors of the piecens in the image.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@524 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 13:14:58 +00:00
mdb
5972527411
Remapped the images from 24-bit to 8-bit, shrinking file size whole
...
bunches.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@523 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 12:01:59 +00:00
mdb
c06e98629f
Missed a spot.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@522 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 11:59:09 +00:00
mdb
cd8847afef
Code to render piecen images and shield image. Updated piecen points to
...
jive nicely with the tile images. Name changes. Other cleanups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@521 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 11:58:54 +00:00
mdb
b8f5028181
We use an image manager again.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@520 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 10:18:10 +00:00
mdb
2ce01f2fcf
Updated MessageHandler prototypes.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@519 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-18 10:17:50 +00:00
mdb
2680c383c8
Only unregister interval if it was registered.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@518 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-17 19:00:18 +00:00
mdb
601e1e3b08
Add a toString() to HashIntMap's entry objects.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@517 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2001-12-16 23:10:15 +00:00