ray
22ef387cb0
Added a form of sanitize() that efficiently does what is most often desired
...
from the more general form of sanitize: check each char in a string against
a regex.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1357 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-17 19:19:25 +00:00
mdb
b440d24939
Added getLongParameter().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1355 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-16 01:11:50 +00:00
mdb
519c1b45f4
Safety first!
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1354 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-15 23:12:47 +00:00
mdb
fa344463a2
The DocumentValidator and DocumentTransformer system don't work worth a
...
damn if you have a non-zero minimum value because you're fucked by not
being able to enter, for example, "1" because it's below the minimum value
even if you wanted to keep typing "100" which may be valid.
So instead we don't enforce the minimum value with the validator/
transformer combo and instead make sure we're at the minimum when we lose
focus. It's not perfect but there is no perfect solution when we're trying
to predict human intention.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1353 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-15 18:56:27 +00:00
mdb
ad865c7172
Added addDebugBorders().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1351 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-13 01:18:25 +00:00
mdb
30a86c5211
Put the build directory in pages where it is conceptually in the same
...
place that the webapp is.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1350 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-12 01:14:57 +00:00
mdb
cdbd08b31b
Let's actually make use of our decoded message.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1349 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 06:41:50 +00:00
mdb
34cb3b9b53
Made escape() public.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1348 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 06:34:08 +00:00
mdb
8909f7bbbc
Handle compound messages in the message manager.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1347 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 06:32:38 +00:00
mdb
a41716bdd8
Migrated some basic i18n text handling into samskivert so that we can
...
finally make use of it in the webapps.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1346 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 06:32:18 +00:00
mdb
cd9e00eae4
Next release -> next up; display complexity in priority list.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1345 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-11 00:13:48 +00:00
mdb
0d0e8645a4
Allow filtering by category in by category display.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1344 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 21:57:31 +00:00
mdb
254ab86e6d
No claiming or editing from bulk to make tabbing smoother.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1343 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 20:37:46 +00:00
mdb
00ea3c1b11
Ignore some JDE business.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1342 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 20:33:56 +00:00
mdb
f55ec29454
Added ability to bulk edit category and priorty. Cleaned a few other
...
things up.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1341 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 20:33:43 +00:00
mdb
00a60a90a6
Added a method for obtaining the length of an array.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1340 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 20:28:51 +00:00
mdb
919377e18a
Modified priority display to flow left to right and to sort by category
...
within priority rather than complexity.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1339 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 19:39:26 +00:00
mdb
09f0f28705
Tip top!
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1338 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 19:14:03 +00:00
mdb
e04c845dd0
Priority name changes.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1337 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-10 19:12:31 +00:00
mdb
c0359cf19a
Some testy fiddly.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1336 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-09 04:07:31 +00:00
mdb
3cbec03fb7
Oh the never-ending tragedy of this Sisyphean effort to get text to render
...
within the bounds in which it claims it will render. It appears that some
fonts just render into the negative x direction a bit (for characters like
J which apparently sassily stick out to the left of every other goddamned
character in the alphabet). Now we slap such saucy characters into
position, against the will of the God of Typesetting, but appeasing the
third commandment of the God of Graphics, namely, "Thou shalt render
within your published bounds."
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1335 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-09 04:07:16 +00:00
mdb
909217c94a
Make it possible to effect a login after having checked their
...
authentication by some other means.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1333 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-12-05 18:20:30 +00:00
mdb
756c28af57
We now properly obtain the selection and report key presses. Much more
...
wiring up to be done.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1332 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-30 23:50:18 +00:00
mdb
d85e7a88c0
Updated the INSTALL instructions.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1331 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-28 21:38:13 +00:00
mdb
e06d189d6e
Beginnings of a C++ rewrite. We love to switch languages!
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1330 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-28 21:34:59 +00:00
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
5202d2a61e
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1317 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-15 22:55:32 +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
mdb
7ec293a935
Grab our libraries from JAVA_LIBS.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1306 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-11-14 22:33:39 +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