Commit Graph

1564 Commits

Author SHA1 Message Date
mdb 08b20fb2ca Added a README on the library dependencies.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1616 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-13 21:01:56 +00:00
mdb 01f19518f6 Atlanti is now part of the Game Gardens repository.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1615 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-12 07:56:57 +00:00
mdb e5de687142 TwoDue has been in its own separate repository for a while.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1614 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-12 07:56:36 +00:00
eric 4de3d7e10f Update to handle Calendar objects.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1613 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-10 22:33:25 +00:00
ray 35aa668b87 More HTML restriction: block "<" from appearing in font, img, a href,
and added <br>, <p>, and <hr> to the 'formatting' common regexes.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1612 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-10 22:29:50 +00:00
ray 24ecdee051 Added methods for removing HTML from a String, including forms for
easily allowing the common entities and for allowing via a whitelist
of regular expressions.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1611 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-10 22:23:08 +00:00
eric cd663da48c Catch blank keys as well.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1610 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-09 02:09:16 +00:00
eric 33ded3d79f Handy code for dealing with keys.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1609 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-09 01:14:16 +00:00
mdb 3e197bd2cd Make both methods use the same code to ensure equal convenience.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1608 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-04 22:03:11 +00:00
mdb f26c781b7b git-svn-id: https://samskivert.googlecode.com/svn/trunk@1607 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2005-03-04 22:02:29 +00:00
mdb 96315f2d5d Made makeButtonBox() more convenient for wrapping a single button (to
avoid having it stretched which one commonly needs).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1606 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-04 22:00:24 +00:00
mdb 0f31828c60 We don't want to provide arbitrary access to preferences.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1605 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-03 06:17:57 +00:00
samskivert@gmail.com e09b853ebe Allow the preferences to be used on behalf of unsigned code if the
samskivert code is signed.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1604 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-02 04:24:14 +00:00
ray a950f7ab3e An Icon that is defined by a Shape.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1603 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-02 02:25:49 +00:00
ray 723be499e3 Found the bug.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1602 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-01 22:13:52 +00:00
ray 439f80d23e Fixed nonserious exception that got thrown when more than one digit was
selected and a replacement was entered.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1601 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-03-01 03:25:22 +00:00
ray 54010798f2 Occam's razor.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1600 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2008-08-25 07:25:29 +00:00
andrzej 8ce30ccd5a Added some extra checks for lingering icons.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1599 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-25 02:21:12 +00:00
eric 017dac2108 Added method that gets the type of column.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1598 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-25 00:06:55 +00:00
mdb 1f500e7272 Allow extra headers to be provided.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1597 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-24 19:53:20 +00:00
mdb 35ea2896d9 Removed old sendmail based mail delivery which it seems no one was using
anymore anyhow. The preferred method is to use javax.mail and deliver to
the local SMTP server over a socket.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1596 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-24 19:15:45 +00:00
mdb 6fb74e6610 Allow an application to add things to the context before passing it on to
the logic.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1595 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-24 04:40:30 +00:00
mdb d465332202 Call it servlet 2.3 so as not to mislead.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1594 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-23 17:16:01 +00:00
mdb 26d7a7d02e Added truncate() and makeLinear() to StringTool and delineate() to
StringUtil.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1593 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-22 06:44:56 +00:00
ray 97cddd5493 Allow flexibility about which button is used for dragging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1592 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-17 21:36:19 +00:00
eric 2d45af601f - Added changeColumn, which allows you to change a column's definition.
Can be used to change the name of a column as well (I.e., the definition
  is the same except you give it a new name.)
--This   line, and those below, will be ignored--

M    src/java/com/samskivert/jdbc/JDBCUtil.java


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1591 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-17 19:44:45 +00:00
mdb 14036f3060 Added isLaidOut().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1590 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-14 02:59:06 +00:00
mdb 6c4480c762 Don't put "null" into the text area.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1589 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-11 23:26:24 +00:00
ray 48be8ab71a Added fixedTextarea().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1588 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-11 18:58:06 +00:00
ray 066260a3cb Added some notes about which append to use when you have multiple consumers.
Moved redundant code into a method where it can be shared.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1587 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-09 22:40:43 +00:00
mdb 10430edeec Documentation improvements.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1586 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-08 18:56:51 +00:00
ray 7f5640db80 Altered so that document events are never fired while the document contains
an invalid value. This was made extra hairy by the fact that the
FilterBypass installed on a Document implements replace() by simply
calling remove() and then insert(). That's fine and dandy and saves lots of
code, I'm sure, but the each of them fires an event, resulting in two events
when a replace() happens.

I Created a special Document that suppresses 'remove' events from firing.
Not a problem, because I've also structured the filter such that removes()
end up being implemented as a replace() (due to the filtering and
processing that we do to ensure that valid, properly formatted integers
are always displayed) so the 'insert' event will take care of all our needs.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1585 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-03 00:54:57 +00:00
mdb 3efec4861b Only report when we actually do something.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1584 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-02-02 02:13:50 +00:00
ray e6220d7a87 Reworked so that the field *always* displays a valid value.
Previously invalid values were allowed because the user could be on their
way to typing valid value. The field installed itself as a FocusListener
and checked the value when focus was lost. This wasn't ideal, as a user
could enter what they thought was a valid value and then click a button and
the action of them clicking the button would instantly change the displayed
value with no chance for them to see that it changed from they had last
entered.

Now it does clever highlighting to let you edit the field while always
keeping the value between the minimum and the maximum.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1583 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-29 21:23:53 +00:00
mdb fbe4de5323 Added decompose to break a composed compound message back into individual
strings and restore any previously escaped instances of the separator
character.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1582 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-28 04:18:09 +00:00
mdb f07c9f1ac3 git-svn-id: https://samskivert.googlecode.com/svn/trunk@1581 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2005-01-25 22:33:55 +00:00
eric 811d8700de Added method to get the number of tasks on the queue.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1580 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-25 20:13:15 +00:00
mdb 2db3780ccf Allow arbitrary objects as values.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1579 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-25 05:41:47 +00:00
mdb 573ce7859b Added the ability to clear a unit profile.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1578 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-24 17:15:40 +00:00
mdb bd11a19d15 Track and report the time units spend waiting on the queue; track the
total elapsed time and report the average time in our profiles.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1577 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-24 17:13:07 +00:00
mdb d3108041ce Added increment().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1576 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-19 21:47:33 +00:00
eric 549ed08a6b Added support for exists(key) in the I18nTool.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1575 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-19 21:13:18 +00:00
mdb 7429fcf836 git-svn-id: https://samskivert.googlecode.com/svn/trunk@1574 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2005-01-14 18:03:30 +00:00
mdb e2b90d6f7b Added some other date formatting conveniences.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1573 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-14 18:00:58 +00:00
mdb 4f13eb8571 More documentation cleanup.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1572 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-14 16:05:19 +00:00
mdb 233fc6db0a Javadoc fixes.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1571 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-14 15:54:33 +00:00
ray 8faf57a446 Small optimization: reduced access to our volatile variable _task.
Also, realized that there was potential for a runaway task if two threads
called schedule() and cancel() simultaneously and the planets are aligned.
Cancel any de-fanged task in case it is a runaway.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1570 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-13 02:12:39 +00:00
ray c8ef17c7cc Added clarifying method header documentation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1569 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-11 23:49:38 +00:00
ray c20d6f2108 Output UTF8 encoded strings.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1568 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-08 23:46:31 +00:00
ray a100b234ab Lazy-create the Runnable that expires us on the RunQueue.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1567 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-01-07 22:51:04 +00:00