Commit Graph

1259 Commits

Author SHA1 Message Date
ray cbdff2c883 Added a constructor with which you can specify the initial capacity.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1329 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-27 02:10:34 +00:00
eric 2ef4afffde Document Transform it up.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1327 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-25 17:54:50 +00:00
mdb 77f838e2da Might as well go right to the source.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1326 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-25 16:47:11 +00:00
eric 07ba778fd2 Remove first large foot from mouth.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1325 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-25 04:08:39 +00:00
eric cfe08f099c Maybe I should check this in! A field for entering ints. Pretty basic
right now.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1324 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-25 03:31:08 +00:00
mdb da9d7731da No wrapping unless asked to do so.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1323 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-25 02:12:45 +00:00
ray 8e6a001e3a Vastly simplified the implementation of fitRectInRect() and avoided
making a Rectangle.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1321 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-20 22:27:23 +00:00
mdb b25adb5ed6 Not to freak out on blank strings.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1320 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-19 18:52:30 +00:00
mdb 746b693bd6 Added capitalize().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1319 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-19 18:26:51 +00:00
ray 992f3191e2 Added cycleToProperty() which configures a button to cycle a config property
to the next of a set of ints each time it is pressed.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1318 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-18 01:57:02 +00:00
mdb c8d6a29c89 git-svn-id: https://samskivert.googlecode.com/svn/trunk@1314 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2003-11-15 20:15:31 +00:00
mdb d13944dffe Allow the user authentication cookie name to be customized so that we can
end this annoying conflict between dev and production.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1313 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-15 20:14:32 +00:00
mdb 934bf04e41 Fixed wacky numbers.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1312 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-15 03:17:28 +00:00
mdb c6fc26256a When our text is changed, if we're in "find out how much space we have
then relayout" mode, we need to clear a few things out so that we don't
end up reusing layout information from our previous text.

Also added code to use our foreground color when rendering rather than
whatever the graphics context happens to have set. This may cause funny
business in places, but it's better to fix this now than to continue to
rely on this arbitrary behavior.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1311 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-15 03:06:38 +00:00
mdb ccf18a15a0 Added clearTargetDimens();
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1310 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-15 03:05:15 +00:00
mdb 7ad3a20c76 Allow some styles to be combined (UNDERLINE can be composed with any other
style).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1309 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-15 02:14:01 +00:00
mdb 09a4260683 Implement new interface.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1308 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-15 02:06:40 +00:00
mdb b2052c2f88 Underline support!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1307 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-15 02:06:16 +00:00
ray 54c9d302f3 Avoid making the Iterator in enumerateSites throw a
ConcurrentModificationException when we add a new site.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1304 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 18:36:52 +00:00
ray 1ac50778f9 implements Cloneable.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1303 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 18:36:07 +00:00
mdb 246e26f6e1 Fixed the column names; added proper synchronization to ensure that two
threads don't initiate a site table reload simultaneously; made our
references volatile to ensure that when they are changed, other threads
can see the updates.

Arguably, if someone were to insert a site while another thread was
enumerating them, it would throw a ConcurrentModificationException, but
sites are only enumerated and inserted by management code, not in the
normal order of business, so we'll let that slide.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1302 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 17:28:58 +00:00
mdb 57c1e5e57d Document the fact that we might just go talk to the database on you.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1301 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 17:05:09 +00:00
mdb ae9ad53982 Reload our site data every 15 minutes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1300 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 17:02:32 +00:00
mdb 178805fc65 Some small reformatting, removed debug logging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1299 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 16:58:39 +00:00
mdb 9e56552070 Call this column siteString to match the Site object.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1298 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 16:57:47 +00:00
ray 419a36a7f5 Removed the now-obsolete site id stuff, see JDBCTableSiteIdentifier.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1297 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 02:33:33 +00:00
ray aa60f7312e Oy! Since mike changed the name of the String in the Site object (must've
had a reason for it...) we can't use the Table to insert a new row, so
instead we do it manually.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1296 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 02:28:52 +00:00
ray 80e1e84fc7 Added insertNewSite().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1295 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 01:28:25 +00:00
ray 8a75b0f78c bugfix: if a sep is specified in one form of fieldsToString(), use it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1294 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 01:20:40 +00:00
mdb 135ea9ecc4 Revamped site handling so that we can eventually migrate all the site
stuff into JDBCTableSiteIdentifier and out of UserRepository.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1293 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 00:53:00 +00:00
mdb 57bda0ba01 These should be static.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1292 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 00:11:28 +00:00
mdb e177f99ae6 Added another version of loadAndGet().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1291 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-13 00:08:11 +00:00
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