Commit Graph

1596 Commits

Author SHA1 Message Date
mdb 4ecc51e922 Added simpleFormat().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1694 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-09 07:30:18 +00:00
ray ae1df7e879 Implemented clear() rather than inheriting the *extremely* inefficient
clear() from AbstractList.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1693 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-09 01:54:16 +00:00
mdb 8fd757c1e4 Add a version of shortClassName that takes the class name directly.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1692 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-08 23:55:00 +00:00
elizabeth f19198cbce Tightened up restrictHTML regexes to prevent <\!-- or unclosed " html defacement
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1691 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-08 23:12:59 +00:00
mdb f359b77ff5 Don't try to rollback if the failure resulted in the connection being
closed.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1690 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-08 17:14:56 +00:00
elizabeth b81f4113fc fixed missing call to JDBCUtil.escape
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1689 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-07 21:54:57 +00:00
mdb 223cdd8274 We need to escape \ as well as '.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1688 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-07 21:51:30 +00:00
mdb aa74625b0a Switched to different structure for reporting item removal per Ray's
suggestion. This allows proper handling of value classes that cannot be
made to implement an interface or extended or otherwise fiddled with.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1687 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-05 20:23:37 +00:00
mdb 809df481c1 We need to notify all values about removal when we clear the table.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1686 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-05 02:45:45 +00:00
samskivert@gmail.com 5f02c3fe6e Allow a value in an LRU hash map to be notified when it gets the boot.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1685 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-05 02:41:24 +00:00
ray 489e3a72c7 - synchronized the reset() method
- avoid synchronization in waitForResponse() if possible.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1684 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-03 20:43:46 +00:00
mdb e02258a053 Fixed typo.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1683 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-03 18:15:56 +00:00
mdb 39936ac7d4 Added a loadByExample() variant that takes a field mask.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1682 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-08-01 21:18:27 +00:00
mdb c099fb97bb Return the last inserted id when inserting records.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1681 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-24 07:06:58 +00:00
mdb aeef770bec git-svn-id: https://samskivert.googlecode.com/svn/trunk@1680 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2005-07-24 06:49:37 +00:00
mdb 3ba4a640e5 Let the caller log a stack trace if such a thing is appropriate.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1679 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-21 21:32:16 +00:00
elizabeth e64063e02f Unbooched the build
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1678 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-17 18:51:30 +00:00
ray 1275a870bf Don't allow > 1f scaling if constructed with maxWidth/maxHeight.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1677 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-17 10:06:32 +00:00
ray abc8eaa5f0 ScaledIcon.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1676 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-17 09:58:59 +00:00
ray b3ddec4a19 When time goes backwards, cope as best we can by simply not throttling.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1675 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-08 01:08:05 +00:00
mdb fa150109b7 Added straightJoin() for those times when you know you gotta be a straight
shooter.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1674 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-07 23:17:30 +00:00
mdb 0525ca17e9 In the interest of no needless log messages; suppress the standard "(I
analyzed the table and it was) OK" message.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1673 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-07 06:44:26 +00:00
mdb 7afde07fb6 Allow a default locale to be specified for a message manager.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1672 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-06 22:52:36 +00:00
mdb c0a0a5de9e Added maintenance() method for performing periodic table maintenance.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1671 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-06 20:20:35 +00:00
andrzej 4f2ef4b4a1 Use screen coordinates since we can have lots of components for the same target.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1670 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-06 02:46:03 +00:00
ray 35a851ef9a Only calculate the point's location if we're going to use it...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1669 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-06 02:29:03 +00:00
andrzej 10e144a723 Added drop location to dropCompleted method.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1668 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-06 01:13:46 +00:00
ray 0096afde22 Normalize to 1 if all elements are the same.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1667 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-07-02 10:01:25 +00:00
mdb abf28b3592 Report the request URL when reporting a missing translation message.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1666 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-30 19:25:15 +00:00
ray cf3152e2ce Do one compare in the common case, united nearly identical log lines.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1665 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-24 20:41:45 +00:00
mdb 22e8bb860b Conform to our filterable log standard:
Invarying text [varying text].


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1664 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-24 20:34:03 +00:00
elizabeth 2e534876b0 reverted changes made in r1661
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1663 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-23 23:10:07 +00:00
mdb dc1ff679f5 Properly format inadvertently checked in test code.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1662 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-23 21:45:19 +00:00
elizabeth 017caac70b Added detection of OS version to RunAnywhere
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1661 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-23 21:39:21 +00:00
ray c6d25758e3 Don't let people trick our html widget into thinking something's commented
out by sneaking a "->" into the end of a font, img, or href tag.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1660 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-21 19:24:36 +00:00
mdb a0268025f9 Make it easy to use a controller as an action listener in the standard AWT
style.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1659 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-21 04:21:59 +00:00
ray 6413b412f2 git-svn-id: https://samskivert.googlecode.com/svn/trunk@1658 6335cc39-0255-0410-8fd6-9bcaacd3b74c 2005-06-17 21:12:11 +00:00
mdb 29d5c8adae Had that character upside down.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1657 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-16 17:44:25 +00:00
mdb 2e572a43ae Factor some bits out into call down methods so that we can do other
performance tracking.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1656 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-13 18:12:27 +00:00
mdb f79e82002c Would you believe, yet another convenience method?
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1655 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-08 23:20:15 +00:00
mdb 1cab976a7d I've got the fever, I can't stop making the repositories more convenient.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1654 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-08 23:14:32 +00:00
mdb 57b6bd257d We're getting jiggy with the convenience.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1653 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-08 23:09:37 +00:00
mdb 2931cb9dc8 Added some convenience methods for people that go for that whole brevity
thing.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1652 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-08 23:04:48 +00:00
ray 30229d5dc6 Don't let a null source string choke up restrictHTML().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1651 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-06-06 20:20:12 +00:00
mdb aa1d3b97e8 Added join().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1650 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-05-31 18:41:14 +00:00
mdb f694152429 Changing alignment need not invalidate the label. It's only used during
rendering.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1649 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-05-24 03:17:17 +00:00
mdb 7e199c3daa Added documentation to methods that invalidate the label. Added an easily
enablable debugging mechanism to help track down any remaining invalidate
and render offenders.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1648 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-05-23 21:20:07 +00:00
mdb bd96e6bd5c Setting the text or alternate color does not need to invalidate the label
(and MultiLineLabel does that right before calling render).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1647 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-05-23 20:37:23 +00:00
mdb dc79b471f3 Clear out the _layouts whenever something is changed that would require a
relayout to reflect the change (which is basically everything).


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1646 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-05-23 20:18:56 +00:00
tedv 7d9bc4043b Added normalization utility function.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1645 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2005-05-21 00:15:29 +00:00