mdb
21b4f70b61
Two massive steps toward making Java servlets do the right thing with
...
non-English languages. UTF-8 is my friend.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1418 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-04-26 08:47:59 +00:00
mdb
c091f63098
Welcome to hell. Yes, after hours of wrangling with MySQL and every
...
version of their JDBC drivers under the sun and poring over hundreds of
web pages, it appears that this is the "solution" to storing multibyte
characters in the database.
This means that *every single string* that might contain multibyte
characters has to be jiggered before being entered in the database and
unjiggered upon removal. And if we accidentally forget, things will appear
to be fine until we deploy to one of our multibyte foreign partners at
which point they'll see gibberish. Yay!
Too bad the Chinese didn't invent programming, then all this shit would
just work.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1417 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-04-26 02:43:35 +00:00
ray
f3af4018c3
A silly little class to draw icons with an alpha level. I was going to make
...
this an anonymous inner class for something else, but I figured it could be
useful somewhere else in the future...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1416 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-04-23 16:46:37 +00:00
ray
887a8d7512
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1415 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-03-15 18:13:15 +00:00
mdb
7ca51ded20
Added makeCompactGrid().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1414 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-03-13 16:07:53 +00:00
ray
72ec095af1
No reason to call String.valueOf if we're already testing for null,
...
because null protection is all that valueOf gives us.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1413 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-03-06 20:05:41 +00:00
mdb
5cd72faa35
Allow arbitrary object arrays to be passed to join() and its variants.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1412 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-03-06 04:37:44 +00:00
ray
f810581fa4
Comment changes.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1411 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-03-04 18:41:39 +00:00
eric
4c5150aac5
Added function unhexlate which takes a hex string and returns the byte
...
array that was used to make it.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1410 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-03-04 02:40:23 +00:00
mdb
7cd5e55a82
Allow translation arguments to be objects which are then converted into
...
strings.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1409 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-03-03 11:44:09 +00:00
eric
0ce0747432
Added the slightly borked nvidia with built in LAN.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1408 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 20:19:06 +00:00
mdb
93910b134a
Some random i18n related modifications; fixed use of deprecated method.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1407 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 13:22:25 +00:00
mdb
474a8bc4fd
Yessir, more import pruning.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1406 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 13:21:41 +00:00
mdb
6a0867f9aa
More import pruning.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1405 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 13:21:08 +00:00
mdb
527c8815c1
Removed vestigial imports (and even spelled vestigial correctly for what
...
is perhaps the first time ever).
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1404 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 13:20:44 +00:00
mdb
5a0622df74
Some random utility routines that have been lying around unchecked in for
...
the amazing many months.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1403 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 13:19:49 +00:00
mdb
82b85e0519
Avoid choking on null strings.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1402 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 13:18:39 +00:00
mdb
fdf00b9f7e
Removed vestigal imports.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1401 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 13:17:41 +00:00
mdb
8ea25c31c1
Removed vestigal imports, fixed static reference.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1400 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 13:17:13 +00:00
mdb
37c4d465d2
Canned the long unsupported webmacro stuff.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1399 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-25 13:11:47 +00:00
mdb
c176b45bab
Added shuffle support. When this whole business is rewritten to use
...
distributed objects, all this bad hackery will blissfully go away.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1398 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-24 12:40:24 +00:00
eric
2ab41e9698
Ok, well this never seemed like it was a problem as everything seems to
...
return upper case, but lets just force it to uppercase anyway in case the
wacky tools we are using change in the future.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1395 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-09 19:59:47 +00:00
eric
0d3d3375d3
Fixed a long line and added another bogus mac address.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1394 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-02-09 18:36:48 +00:00
mdb
97085dec45
This needs to match zero or more characters because length checking is
...
done elsewhere and if we use this regular expression to validate text
input fields, it will refuse to allow the user to delete the last
character.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1393 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-31 13:03:39 +00:00
mdb
52cdc61d55
Check maximum length as well, make the constraints public so that we can
...
eyeball them from elsewhere.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1392 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-31 06:41:47 +00:00
mdb
9557daee21
While we're adding handy classes, let's add a username wrapper as well
...
that enforces our name requirements.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1391 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-31 06:38:05 +00:00
mdb
d16b0c0a3d
Make it possible to create an account with an already encrypted password.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1390 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-31 06:24:01 +00:00
mdb
e704a51391
Added versions of checkedUpdate() that simply issue a warning rather than
...
throwing an exception so that we can report funny business without
sticking a fork in things when it's not necessary.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1389 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-29 01:10:46 +00:00
mdb
e97e4fdf26
Don't create a playlist entry if we couldn't find the song, log a warning
...
instead.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1388 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 02:36:44 +00:00
mdb
12555b8337
Added toString().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1387 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 02:36:23 +00:00
mdb
83601fce73
Not to freak out if we don't have our songs for some reason.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1386 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 02:35:55 +00:00
mdb
21e4e1a38f
It's possible that the entry will have already been partially for some
...
other reason, so we need to make sure the songs are loaded.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1385 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 02:35:39 +00:00
ray
0690f0c5d6
Check to see if the message key is tainted and don't translate if it is.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1383 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-28 00:45:05 +00:00
mdb
45788c829a
Adjust background color to match default Swing scrollbar color.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1382 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-26 16:35:27 +00:00
mdb
fa549b8f0c
Added a header to the category browser; removed some old setOpaque()
...
calls; made the chooser use most of the vertical height of the screen and
modified the split-pane to start with a 50/50 split.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1381 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-26 16:33:40 +00:00
mdb
160cf7efba
Restructured the UI a bit, prettied things up some, switched out various
...
icons with some others that I dug up from Jimmac's icon page.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1380 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-26 16:10:55 +00:00
mdb
6d2e215bed
Handle hex values in getValue(int).
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1378 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-25 13:37:24 +00:00
mdb
71da2bffa2
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1377 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-24 06:14:53 +00:00
mdb
a0818c51af
Be security conscious about getting our system class loader.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1376 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-24 06:02:11 +00:00
mdb
a9d6bcb085
This doesn't need to be a panel.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1375 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-16 15:25:29 +00:00
mdb
acbda46b4f
Incorporate our new standard library requirement into the build process.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1374 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 21:43:24 +00:00
mdb
a927b75af5
Provided a deliverMail() routine that uses javax.mail; deprecated the old
...
sendmail implementation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1373 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 21:41:00 +00:00
eric
dbe6d53137
update that email addres.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1372 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 17:00:16 +00:00
eric
cb5259f0dc
Ok, lets just fall back to trying the explicit path of where sendmail
...
should if we don't find it in the env or otherwise choke horribly when we
just try to use 'sendmail' by itself.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1371 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 16:56:02 +00:00
ray
dad7bc9b1a
Don't index-outta-bounds if someone leaves the username blank and tries
...
to log in.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1370 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-15 01:33:30 +00:00
mdb
7cf9960ecf
Always log the error and catch Throwable to make sure we log everything.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1369 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-14 09:10:05 +00:00
ray
a09d03900e
Added setSiteId() which also updates the dirty mask.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1368 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-13 23:02:04 +00:00
ray
715750c055
added setOpaque().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1367 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-12 08:39:49 +00:00
mdb
e0eda7898b
Fill in marginally useful defaults if we have no CDDB info.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1366 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-07 01:57:10 +00:00
ray
ebba851172
Added wouldThrottle() and noteOp(), which together allow you to check if
...
an operation would be throttled, but also omit noting it if it were prevented
from happening by some other circumstance.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1364 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2004-01-05 22:09:19 +00:00