eric
6e47578d8f
Set and pass through a 'like' boolean which is used to determin if we want
...
to build queries using 'like' or '='
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1210 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-28 20:08:21 +00:00
eric
4e7004b847
Added code to check if a named field has been modified, added code to
...
check if all the modified fields are within a particular subset of fields.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1209 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-26 04:49:05 +00:00
ray
d9731c97c2
Added a version of requireParameter() that lets you specify the maximum
...
length of a parameter.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1206 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-19 23:39:25 +00:00
ray
4b4bf11074
added truncate(), also a version of toString() that lets you specify the
...
field separator (other than the default of ", ") that's been laying around.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1205 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-19 23:37:56 +00:00
ray
b3a593b727
Return trim()'d Strings.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1204 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-19 23:09:12 +00:00
ray
a4fb8eba6e
The home of utility methods that don't quite fit anywhere else.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1203 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-18 21:53:59 +00:00
mdb
b11c4084a0
Removed dependence on Jakarta regexp library.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1202 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-15 22:38:00 +00:00
mdb
f85fd28c52
Removed the Apache regular expression stuff and replaced it with Java's
...
new built-in support. In the case of the username matcher Apache's stuff
wasn't properly allowing underscores.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1201 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-15 22:35:57 +00:00
ray
319ac0aa17
Don't redirect by default.
...
Added awaitFriendlyResponse() which will throw FriendlyExceptions.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1200 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-15 03:07:52 +00:00
ray
34b01d80a7
Oh god, throwing a RedirectException does not always make sense, so
...
I made an even more general base class that throws a TimeoutException.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1199 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-15 02:23:47 +00:00
ray
0f732a6453
A JLayeredPane that gets around an awt/swing bug by removing all popups
...
whenever any component is removed. Whee.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1198 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-14 22:05:07 +00:00
mdb
98428507ad
Track and report the number of intervals fired in a period as well as the
...
total number of registered intervals.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1197 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-13 21:04:12 +00:00
eric
7d2d1d60df
Har, lets skip those non unique PPP Adaptors.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1196 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-13 18:40:32 +00:00
ray
f1c6d69a2b
A thread that serially runs Runnables.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1195 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-13 01:55:30 +00:00
samskivert@gmail.com
7861bc8507
Added reset() and setTimeout().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1194 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-13 01:55:05 +00:00
ray
70ad6989fd
A ServiceWaiter that doesn't know about those stinking InvocationServices.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1193 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-12 23:44:33 +00:00
mdb
5f41b5ea96
Use new non-deprecated Servlet 2.3 method of doing things.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1192 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-12 22:46:31 +00:00
eric
c27d22ae14
Don't display 'null' as the default value if we haven't got one, har!
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1191 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-12 18:31:21 +00:00
mdb
171112143e
Added the ability to construct a config with custom properties.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1190 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-12 01:27:35 +00:00
mdb
32266d9607
Added resuffix().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1189 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-09 05:26:32 +00:00
mdb
4bc1974eed
Log the exception if we fail to prune our session table.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1187 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-07 17:16:56 +00:00
mdb
1c3fffd385
Only log warning or above.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1186 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-05 07:09:31 +00:00
ray
0841323d3e
Fixed package, take a File as the first argument.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1185 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-04 21:03:09 +00:00
ray
7cf6143fe1
Change two lines, and wham, brought this in from yohoho.server.util.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1184 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-08-04 20:58:07 +00:00
eric
6d456cff04
Lets look for the windows way of formatting crude as well.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1183 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-31 00:59:56 +00:00
mdb
33668c04dc
We'll need to be decrementing our _size in remove().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1182 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-30 20:02:49 +00:00
mdb
511e0b17f8
Let's make that final.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1181 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-29 23:51:37 +00:00
ray
bddae870d4
Made the rangeCheck logic a bit easier for humans to parse.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1180 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-29 23:50:07 +00:00
ray
cdb3d72baa
Do range checking in remove(int index).
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1179 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-29 23:44:14 +00:00
mdb
c430137b59
Added currentTimeMillis() which makes a small effort to cope with the
...
WinXP time fluctuation problem.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1178 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-29 00:43:54 +00:00
ray
a56080769b
Added a constructor that allows us to be a drop-in replacement for
...
our superclass and implement a reasonable toString() so that if
setLogTimers() is enabled, our timers will at least have reasonable output.
Swing's own timers will still be cryptically logged like so:
"Timer ringing: javax.swing.Timer@12022b7"
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1177 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-27 17:31:36 +00:00
ray
0d864ff878
Use setLogIntervals to log every time an interval is fired.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1176 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-27 17:29:26 +00:00
eric
cc7938d9a9
Har, lets actually use the correct option for ipconfig in windows.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1174 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-25 22:29:53 +00:00
mdb
14b199df3a
Make a UserUtil method that encrypts our password properly.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1173 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-20 01:43:59 +00:00
ray
46a1a75da0
Actually, this fix belonged in ListUtil.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1171 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-15 00:31:54 +00:00
ray
1fd653ce33
There have been so many bugs caused by _elements being allowed to be null.
...
Fixed another.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1170 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-15 00:30:30 +00:00
mdb
165d059265
Not to freak out if we get a null message key.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1169 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-12 04:40:24 +00:00
ray
4dbf2986f1
Don't trust InputEvent.getWhen() on windows any longer.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1168 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-12 02:46:03 +00:00
mdb
2ff35f3cb7
Wasn't properly handling module log levels that were more restrictive than
...
the default log level.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1167 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-11 21:00:30 +00:00
mdb
de167377c3
Added two convenience methods for immediately dispatching actions on a
...
controller.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1166 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-11 03:42:27 +00:00
ray
1c6e74747c
A URLStreamHandlerFactory that lets you add arbitrary URLStreamHandlers.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1165 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-09 18:44:11 +00:00
ray
1b795f6f0a
In the target listener, clear the drag cursor on the last component, if any,
...
before setting a new one. This is needed because sometimes the mouseExited
will not be called for the previous component, for example if it was hidden
or a tab changed as a result of the drag over.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1164 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-09 02:03:34 +00:00
eric
e6c99ce2e8
Lets use the correct version of toArray so it actually works. And ditch
...
the extra whitespace.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1163 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-07 18:52:56 +00:00
eric
24a648d258
Initial check in of some of the ban stuff.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1162 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-07 01:40:59 +00:00
mdb
5f80d790ff
Report the site bundle path as well.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1160 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-04 20:34:57 +00:00
mdb
927bf2576f
Sort domain mappings properly.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1159 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-04 20:34:34 +00:00
mdb
86ddc6fe7e
Added a method for creating radio button form elements.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1158 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-04 01:29:16 +00:00
mdb
20f41d08a5
Added support for date formatting.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1157 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-07-02 21:32:27 +00:00
mdb
d0adf51d2c
Added checkedUpdate() that takes a Statement and a query.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1155 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-28 20:29:57 +00:00
mdb
4310430f1c
Added a couple of convenience methods.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1154 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-06-28 17:11:54 +00:00