mdb
1c409ee735
Added time stamp and log level info to default log output.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@766 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-31 18:47:05 +00:00
mdb
8279009ded
Added support for long integer preferences.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@765 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-31 17:08:40 +00:00
ray
1d41ce55a5
replaced unused long[] version of shuffle with an Object[] version.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@764 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-29 18:00:04 +00:00
shaper
51eb070a53
Fixed shuffling to properly account for the offset when shuffling with a
...
non-zero offset. Added a few rudimentary tests.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@763 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-29 00:08:17 +00:00
shaper
9c33c3da0f
Added byte[] and long[] variants of shuffle().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@762 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-28 22:32:14 +00:00
mdb
eb88c5a4ef
Made interval manager use a synchronized int map in which to store its
...
interval wrappers; fixed up javadocs.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@761 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-24 21:32:29 +00:00
mdb
c172c41a15
Fixed potential failure to freak out if a synchronized int map was created
...
with a null source map.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@760 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-24 21:31:56 +00:00
mdb
ebebcbf530
Added savedoc target for saving rebuild javadocs.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@759 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-24 20:33:10 +00:00
ray
7bfa6234ef
updated documentation so that we don't get anyone excited about
...
nonexistant features
git-svn-id: https://samskivert.googlecode.com/svn/trunk@758 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-23 23:43:17 +00:00
ray
404ac11173
Ripped out the guts of IntervalManager and replaced them with Java 1.4's
...
java.util.Timer. We might as well use the standard stuff, and why not:
it's got a snazzy priority heap for scheduling.
However, we still like the flexibility of IntervalManager's static methods
and the Interval interface (Timer's helper, TimerTask, is a class. Boo.).
Note: I ripped out so many guts that we no longer have the ability to
use a pool of helper threads for expiring Intervals. We never used it
anyway. If we desire it in the future, it'd be easy enough to put back in.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@757 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-23 23:37:50 +00:00
ray
fd6775b3d9
Added tests to test the growing and shrinking the hashtable.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@756 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-23 23:29:38 +00:00
ray
ea1c96d2d7
Grow and shrink the hash so that our performance stays near O(1).
...
(Altered Serializable compatability).
Reformatted tabs into 8 spaces.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@755 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-23 23:24:08 +00:00
mdb
18cf7f6763
Numerous changes to bring things back into sync with the modern Narya
...
state of affairs.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@754 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-21 04:45:10 +00:00
mdb
dc4ef96d4e
Documentation edits.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@753 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-20 20:41:47 +00:00
shaper
e3262f83fb
Initial version of Swing component that displays a Label. Doesn't yet
...
properly resize itself to suit the height of the label text post-layout.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@752 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-20 18:07:36 +00:00
shaper
ac0df9d4f5
Added getAlignment() and fixed javadoc typo. Added copyright header.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@751 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-20 18:07:03 +00:00
shaper
d9b4a819c0
Added copyright header.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@750 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-20 18:06:07 +00:00
mdb
1939c9050e
Made addAll() more efficient if it is called with another ArrayIntSet as
...
its argument.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@749 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 22:42:15 +00:00
mdb
d88837ba3e
Beefed up unit test.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@748 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 22:15:19 +00:00
mdb
0f91263c38
Switched to more efficient Ray-go-rithm for computing in-place
...
intersection.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@747 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 22:15:08 +00:00
mdb
ca062718c6
Added ability to remove observers as a part of application.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@746 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 22:13:28 +00:00
mdb
92abb3dbc6
We love the unit tests bay-bee!
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@745 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 22:00:07 +00:00
mdb
efa2f3c227
Created a helper class for implementing the Observer pattern.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@744 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 21:45:49 +00:00
mdb
6cf08df992
Implemented clone.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@743 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 20:53:54 +00:00
mdb
a9cca659a4
Implemented retainAll().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@742 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 20:50:31 +00:00
mdb
a88624fc81
Log our errors more nicely if rollback fails.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@741 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 03:55:27 +00:00
mdb
3ef788632f
Modified the default off-axis policy to CONSTRAIN, a new policy type that
...
causes widgets that are wider than the container in the off-axis to be
squeezed to fit but widgets that are smaller to be left alone. It is not a
valid on-axis policy.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@740 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 02:02:38 +00:00
mdb
e2976aa0b4
Don't allow the empty string to be set in a label because the Java stuff
...
freaks out when asked to do things with the empty string. Instead fake it
and use a single space.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@739 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-16 00:01:08 +00:00
mdb
e79e8c258f
TextLayout.getBounds() returns for its bounds a rectangle that "contains
...
all of the pixels the TextLayout can draw." This turns out to mean that
x+width and y+height are actually rendered upon, unlike every other
fucking AWT thing that returns its bounds where x+width-1 is occupied but
not x+width. It's the fucking drawRect()/fillRect() fiasco all over
again. Anyway, we up our bounds by a pixel so that we behave like every
other normal Euclid fearing user interface construct.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@738 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-15 03:45:38 +00:00
shaper
a7a2e2c229
Added centerComponent().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@737 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-13 17:40:15 +00:00
mdb
d9df82fd3f
Let the caller know if we refused to update for lack of change.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@736 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-11 20:32:46 +00:00
mdb
12b519a5b8
Don't attempt to update a user record if none of their fields were
...
modified.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@735 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-11 20:31:59 +00:00
mdb
6839412758
Added method to determine if any field has been modified.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@734 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-11 20:29:27 +00:00
mdb
4dc46a6340
We're back to having the UserManager create the UserRepository but now it
...
does so in a way that can be overridden by derived classes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@733 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-11 19:20:15 +00:00
mdb
c4d313b2d3
Added support for joining data from multiple tables into a single object
...
(previously there was support for using indexes in other tables but not
for obtaining data from them).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@732 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-11 19:19:47 +00:00
mdb
d63dfe8ecf
Added rehostLocation() though I ended up deciding not to use it.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@731 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-09 05:01:09 +00:00
mdb
5c90869971
Complain if we're not able to load the velocity properties.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@730 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-08 23:06:06 +00:00
shaper
0b6a52388d
Set the user authentication cookie age to the default (end of browser
...
session) for non-persistent logins. Expanded imports.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@729 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-08 00:25:54 +00:00
shaper
d9a446406e
Fail gracefully and report an informative error message if INIT_PROPS_KEY
...
is unspecified in the servlet config.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@728 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-02 21:41:54 +00:00
shaper
bacb5b925a
Revamped user login authentication to use a pluggable Authenticator
...
allowing applications to perform authentication as they see fit.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@727 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-02 19:10:34 +00:00
mdb
b32956a893
Message resolver goes bye bye. We resolve messages with I18nTool now.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@726 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-02 07:20:44 +00:00
mdb
1ac9444684
Not to choke if we don't have a site identifier or site resource loader.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@725 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-02 07:20:25 +00:00
mdb
ec33df29e7
Listen for and report exceptions thrown while executing methods in
...
Velocity.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@724 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-02 07:20:04 +00:00
mdb
2891641485
Modified the i18n message handling code so that it doesn't require
...
modifications to the core Velocity code.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@723 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-02 05:30:31 +00:00
shaper
7a1599f0d0
Added a login() variant that assumes the user is fully authenticated and
...
dives right into the session creation and auth cookie generation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@722 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-02 01:15:09 +00:00
shaper
f462d967fa
Report success or failure in deliverMail().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@721 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-02 01:13:35 +00:00
shaper
d34c1a1011
Pass the user repository in to the user manager rather than constructing
...
it so that applications that care to do so can use their own custom user
repository.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@720 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-05-01 01:50:05 +00:00
mdb
ef1a04e149
Added a spacey new class.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@719 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-30 02:31:09 +00:00
mdb
8f65db9709
Account for super-stealthy outline mode.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@718 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-30 01:57:47 +00:00
mdb
d5f82c91ce
The dirty mask needs to be transient.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@717 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-30 01:11:47 +00:00