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
mdb
f2eaccc927
Added support for only updating the fields in a user record that were
...
modified; modified user repository to support extension.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@716 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-30 00:52:31 +00:00
mdb
017328ed9e
Apparently getBoundingBox() is used internally in various places and needs
...
to not create a new Rectangle as well.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@715 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-27 22:07:05 +00:00
shaper
92367ee43f
[Check-in gremlins helping Walter out] Added getSelectionLabel().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@714 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-27 00:23:49 +00:00
mdb
4cf036eaea
Added convenience methods for creating panels with standard group layout
...
configurations.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@713 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-26 02:34:48 +00:00
mdb
06f3b423a9
Added convenience method for creating buttons and wiring them up with
...
actions.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@712 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-26 02:31:32 +00:00
shaper
1a02ff759e
Stretch list contents horizontally.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@711 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-23 17:05:47 +00:00
shaper
7d0beac4c2
Actually increment count when adding a value.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@710 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-22 21:28:55 +00:00
shaper
2e1da08718
Added size() that returns the total number of values present in the
...
histogram.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@709 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-22 17:33:09 +00:00
mdb
70118aa1a2
Oh the bugs. Fixed problem with remove().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@708 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-18 00:09:17 +00:00
mdb
df93eb736d
Aiya. Fixed bug in removing elements from set.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@707 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-17 02:10:18 +00:00
mdb
4c6da3f4ab
Added remove(int[]).
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@706 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-17 00:19:41 +00:00
mdb
f8fd234bb8
Added method for formatting collections of objects using a special
...
formatter class.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@705 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-16 18:19:18 +00:00
mdb
b87759222d
Added coordsToString() for formatting coordinates in X Windows style
...
(ie. +5+7) and modified Point2D and Rectangle2D toString()ing to use that
and, in the case of Rectangle2D, to do fully X Windows style rectangle
specification (ie. 400x300+5+7).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@704 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-16 17:47:04 +00:00
mdb
8f67ec1fab
Not to freak out if contains()/containsEqual() are passed null lists.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@703 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-04-13 01:39:17 +00:00