ray
5777070d57
Added parseLongArray().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1540 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-12-09 01:33:33 +00:00
mdb
8cd5ea5f0d
Allow an application to get in on the Velocity configuration process.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1539 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-12-08 01:46:54 +00:00
samskivert@gmail.com
51bcd06a15
Code bloat! The functionality of this class could be implemented fairly
...
easily in java 1.5 by using a ThreadPoolExecutor with 1 thread in the
pool and a special queue implementation that merged like entries,
but we want this special functionality now.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1538 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-12-06 21:58:00 +00:00
mdb
19fc217b07
A (fairly) general purpose implementation of Dijkstra's shortest path
...
algorithm.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1537 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-12-03 00:51:03 +00:00
mdb
8652a7e749
A bridge between samskivert's (old old old) logging facilities and Java's
...
(new new new) built-in logging system.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1536 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-27 18:07:58 +00:00
mdb
3cf1a564d1
A LGPL header to add to source files in this project.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1535 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-27 18:07:22 +00:00
mdb
6c65b9877a
Fixed formatting.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1534 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-27 06:55:00 +00:00
mdb
64b8b1ab9f
Initialize velocity in the proper way.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1533 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-26 22:57:59 +00:00
mdb
6cc7786aa6
Moved unStudlyName() into StringUtil from where other deserving callers
...
can make use of it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1532 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-25 00:34:01 +00:00
mdb
5ec20fe9d9
Oops, we meant for that to be static.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1531 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-25 00:08:34 +00:00
mdb
b12839560b
A utility for creating a VelocityEngine that's all set up to be used from
...
within a tool in a sensible manner (loading templates from the classpath,
not logging boatloads of informational messages, not complaining about a
non-existent "macro library").
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1530 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-25 00:07:16 +00:00
mdb
7ede7ff62e
Having the context path around always will help us to avoid ever hard
...
coding it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1529 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-19 17:36:47 +00:00
mdb
2618f83f52
No more JAVA_LIBS; added requirement for commons-logging which is now
...
needed by commons-digester.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1528 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-17 23:11:21 +00:00
ray
b2de8370a1
While poking around I noticed that the remove implementation had a minor
...
inefficiency in that if the first record in a chain did not match it ended
up checking it once more prior to moving on to the next record in the chain.
Cleaned up to be similar to HashIntMap's remove implementation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1527 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-11 22:14:09 +00:00
ray
1da24589d8
- Added the ability to only display a subset of fields.
...
- Renamed the methods for manipulating specific elements of the list
of objects being edited to have the suffix "Datum" instead of "Data".
- Added addDatum() and another version of removeDatum().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1526 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-06 01:58:33 +00:00
andrzej
b5e23513ab
Re-fixed typo, oh.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1525 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-02 23:59:45 +00:00
andrzej
83c2e6908a
Added getTextColor and getAlternateColor methods to Label.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1524 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-02 23:30:51 +00:00
mdb
1d0f058a49
Cope with a null list in ListUtil.size().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1523 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-11-02 23:07:16 +00:00
ray
6513222d5a
Throw a NullPointerException if anyone tries to do anything with null
...
elements in the list. I do this because null elements are incompatible
with the implementation details of these utility methods. There were only
two related pieces of code in all our projects that used the behavior
of indexOf(null) and those now use the new indexOfNull() method.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1522 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-25 18:51:01 +00:00
samskivert@gmail.com
a2d3877796
Upon further thought- nobody should be calling SortableArrayList.contains()
...
with null elements anyway because SortableArrayList just plain does
not support nulls. That's fine, Collections have the option of suporting
null elements, but let's just have the underlying implementation
(ListUtil) throw a NPE if needed.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1521 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-25 18:42:38 +00:00
ray
42f7a5b962
A slightly more subtle version of contains() so that it does the
...
right thing if null is passed in.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1520 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-08-25 06:55:08 +00:00
mdb
de5c77ca81
Some cleanups.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1519 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:54:21 +00:00
mdb
c244c9b430
We're going to need to use object equality here.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1518 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:44:28 +00:00
mdb
121e104c5b
We want to use equals() here, as Ray points out.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1517 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:41:05 +00:00
mdb
268226626e
More ...Equal() -> ...() and ...() to ...Ref().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1516 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:35:39 +00:00
mdb
7d14559875
ListUtil.containsEqual() -> ListUtil.contains()
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1515 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:26:30 +00:00
mdb
34de8180e2
ListUtil.contains() -> ListUtil.containsRef()
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1514 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-23 17:21:21 +00:00
mdb
2e7b253b90
Return the action listener added in case the caller later wants to remove it.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1513 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-22 23:52:54 +00:00
mdb
33d50bd4e5
Fixed a bunch of deprecated usages.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1512 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-22 17:27:53 +00:00
ray
4de3c378a3
Harmless casts to make compiling in jdk1.5 happy.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1511 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-10-13 00:17:39 +00:00
samskivert@gmail.com
962ebeec53
Modified implementation of equals() so that it's quicker when the two
...
references point to the same object.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1510 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-30 23:49:36 +00:00
ray
d2875aea5a
Arrgh!! If it's a popup that is being removed, don't remove ALL popups.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1509 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-29 23:03:26 +00:00
ray
130f67aa04
Added some new constructors.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1508 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-29 02:19:36 +00:00
ray
6a0f89d645
Added lookupUsersByEmail() to look up all user records for users that
...
match the specified email address.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1507 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-25 01:52:17 +00:00
mdb
b34c1a3265
Let's get crazy convenient!
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1506 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-23 16:55:11 +00:00
mdb
4ef11efe20
A very handy method.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1505 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-23 16:53:03 +00:00
mdb
35f9b6cc1d
A no-op ResultListener, useful on certain occasions.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1504 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-21 02:34:11 +00:00
ray
50f0b75408
If our source component is removed in the middle of a drag, reset the
...
cursor and cancel the drag.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1503 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-10 17:52:42 +00:00
ray
742216d9de
A utility ResultListener that is silent on success, but logs as requested
...
on failure.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1502 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-09-06 00:03:15 +00:00
mdb
e6f2c77898
We need to handle the regular arguments as well.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1501 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-28 16:05:25 +00:00
mdb
7f2fcb59fc
Fixed concurrent modification exception.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1500 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-28 02:21:58 +00:00
ray
2f1630d738
Added some examples to the percent method documentation to show how it formats.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1499 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-25 00:39:57 +00:00
ray
e8cc8b5f4b
Boy howdy, NumberFormat has a way to format percentages. Use that, specify
...
to always show at least two digits after the decimal point.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1498 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-08-25 06:46:32 +00:00
mdb
bd31773569
Ignore case when checking remote commands.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1497 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-23 06:24:07 +00:00
mdb
1f98a87829
Created a simple remote control interface; refactored the code that
...
connects to the music server and subscribes to the DJObject.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1496 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-23 06:19:40 +00:00
samskivert@gmail.com
d61977538d
Use a SimpleDateFormat so we get the milliseconds in the first call
...
timestamp.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1495 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-20 18:03:25 +00:00
mdb
0c863cefad
Record and report the time of the first call.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1494 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-20 17:59:34 +00:00
mdb
89a6c009e8
Use some sort of username to avoid collisions when logging into the
...
server.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1493 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-18 17:07:30 +00:00
mdb
9a503af8de
Various updated to happify things in Java Web Start.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1492 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-18 05:33:28 +00:00
mdb
c3d2f61d28
Added nay votes; any songs with nay votes are not added when the album
...
containing those songs is added to the playlist.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1491 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-08-18 05:19:19 +00:00