Commit Graph

1260 Commits

Author SHA1 Message Date
mdb be88ca37d6 Added loadAndGet().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1290 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 00:05:08 +00:00
ray 7c57805a49 Added a new form of trunca...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1289 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-07 22:28:43 +00:00
ray 808029b9c9 Allow the unit scroll increment to be set.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1288 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-05 03:22:28 +00:00
eric bff99dbeeb Ok, lets pull out the currency shit into it owns files where it belongs.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1287 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-05 00:07:53 +00:00
eric 2c1feb1380 Wow, I am the fixedXXX champion lately. Adding a fixedCheckbox that does
not snag the value from the request.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1286 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-04 23:06:59 +00:00
eric 7830380a29 git-svn-id: https://samskivert.googlecode.com/svn/trunk@1285 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2003-11-04 03:12:39 +00:00
mdb 9bf0d6c237 Modified javadoc build directive to support conditional inclusion of
packages to be built depending on what libraries are available.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1284 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-01 01:07:20 +00:00
ray ed8c417ed5 Oh, the proliferation of crap. Added a method sanitize() which filters
bogus characters from a String.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1282 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-29 19:42:40 +00:00
eric 00f00c8276 "disable" the users email address when we disable the account so we don't
accidentaly email them.  Don't really destroy the email address, just make
it not work.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1281 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-29 19:41:52 +00:00
ray a14b28ab24 Added interface HashIntMap.Entry, which extends Map.Entry with a
getIntKey() so that we can avoid all this pointless Integer object
wrapping.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1278 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-24 22:10:16 +00:00
mdb 3227b27ef4 Fixed regex handling.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1277 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-24 18:34:28 +00:00
ray 7a196de228 Added fill(), a method to make a string of some character repeated.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1276 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-24 01:17:51 +00:00
eric 6154db914b Moved the currency{Pennies} from StringTool to StringUtil. Made wrappers
in StringTool so we can keep using them.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1274 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-23 16:09:34 +00:00
eric 22b71d34b9 Initial checkin of util class for mucking with calendars.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1273 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-22 00:58:47 +00:00
eric 5f2bdfd8e0 lord knows we _never_ want submit buttons named submit, since JS will then
sneak into your house and kill you while you are sleeping.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1272 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-21 21:05:44 +00:00
eric f389437552 Let us create submit buttons with extra text, oh so useful for those
javascript hackoloas.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1271 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-20 16:59:07 +00:00
mdb 057e66440b Make it possible to configure the user manager not to convert host.domain
cookies into .domain cookies so that dev.puzzlepirates.com and
.puzzlepirates.com cookies won't conflict (I hope).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1270 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-20 00:49:04 +00:00
mdb 9cc9df0461 Report the JAVA_LIBS directory we're using when building.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1269 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-18 02:36:10 +00:00
eric e2f1e09bf0 Added a 'button' call to make an input button type, which is useful for
making things like back buttons, and other onclick wacky things.  If you
try the onclick javascript back thing with a submit button it just does
the submit.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1268 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-15 00:16:17 +00:00
mdb 82651fc015 Blow away both kinds of cookie when logging out. I'm not sure if this will
do anything because these are sort of the same cookie except the domain is
different.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1267 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-14 02:37:53 +00:00
mdb c80b5615c8 Added widenDomain().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1266 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-14 02:00:45 +00:00
mdb 053c33c216 We need to do the same jockeying when logging the user out.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1265 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-14 02:00:01 +00:00
mdb 8f0addcb8f Remove crack pipe, fix code.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1264 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-14 01:49:10 +00:00
mdb 73e2105272 Strip the hostname from the domain of the authentication cookie so that we
can see it from other servers in the same domain.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1263 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-13 23:16:41 +00:00
mdb b256bfe9b3 Build file updates.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1262 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-13 18:21:20 +00:00
ray 8efa9a5c28 URL encode the parameter names as well as the values, use a StringBuffer.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1261 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-13 17:52:27 +00:00
eric c10358e7a6 git-svn-id: https://samskivert.googlecode.com/svn/trunk@1260 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2003-10-13 17:40:10 +00:00
eric 1275d3d979 Add handy function to slide all the request params into the context.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1259 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-11 00:13:17 +00:00
mdb b524bf58ed Don't specify the size of the icon, let it read it from the image.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1258 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:41:10 +00:00
mdb 832bb591ec Made the icon the proper size.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1257 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:40:29 +00:00
mdb 8e133bdd2c Use proper error reporting.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1256 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:31:57 +00:00
mdb c99f2b2499 Converted to Java regex library.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1255 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:30:42 +00:00
mdb c47de6aa1d Partial conversion to Java regex code.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1254 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 21:25:46 +00:00
mdb d32543d78c Bits.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1253 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 19:33:47 +00:00
mdb 5ddfa1e25e Make 'em play nice.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1252 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 19:33:16 +00:00
mdb e48d0165a9 Oh the saga of SmartPolygon. We get the deprecation warning merely by
overriding this method, which we have to do because the sumbitches call it
internally in Polygon. Someone please just shoot me now.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1251 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 19:14:43 +00:00
mdb 44b9fd6501 Code reuse--, compiler warnings--, screwed by Sun++.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1250 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-10 17:49:25 +00:00
ray 1ccff7d9d5 Canned getPolygon(), which made a seemingly useless rectangular polygon and
wasn't used in anywhere anyway.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1249 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-09 21:15:14 +00:00
ray d8d16bcbf5 Added clearCookie().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1248 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-09 00:48:37 +00:00
ray e6dbb1cf5b Wrap URLEncoder nicely in StringUtil.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1247 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 23:52:50 +00:00
mdb 66cfb9ccf6 Some table sorting code I've had lying around for ages which doesn't work
in the general case, but can be used in some circumstances so I'll go
ahead and check it in for now.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1246 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 23:24:58 +00:00
ray 3050822887 Avoid deprecation warnings.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1245 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 00:45:18 +00:00
mdb 5c036422f6 Removed vestigal import.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1244 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 00:40:16 +00:00
mdb 0ac929d603 Can the deprecated business.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1243 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 00:39:54 +00:00
ray efe326f8db Avoid deprecation warnings.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1242 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-08 00:35:57 +00:00
ray c9239fd74a Use ObjectUtil.equals()
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1241 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-07 02:14:18 +00:00
ray 5e96fd2e2d A method name beginning with 'load' in a repository class would imply
database traffic happening in that method, such is not the case with these.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1240 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-07 02:13:27 +00:00
ray 0b86451fb3 Created a CookieUtil for looking up cookie values.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1239 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-06 22:50:28 +00:00
ray 3748e9ea6c These methods can be static, and they're useful from more places as such.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1238 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-06 22:49:57 +00:00
mdb 1b4557243b Let the optimization be specified by the top-level ant invocation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1237 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-10-06 21:26:50 +00:00