Commit Graph

862 Commits

Author SHA1 Message Date
shaper de4dccabe4 Removed log message caching from the default log provider in the interest
of KISS.  Someday the default log provider will surely be able to read
e-mail, otherwise it will be replaced by someone else's log provider that
can.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@871 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 19:30:15 +00:00
shaper e9f2df069c Minor javadoc edits.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@870 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 19:12:53 +00:00
shaper 56b4ec8a69 Replace System.out and System.err in order to capture absolutely all
interesting output rather than just capturing output via log() and
logStackTrace().


git-svn-id: https://samskivert.googlecode.com/svn/trunk@869 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 19:10:13 +00:00
shaper bdbf7ec25a Wraps a print stream to allow monitoring all text printed to the stream.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@868 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 19:09:02 +00:00
shaper ae71f3d7d5 Make the slider component available to allow configuration without having
to add wrapper methods to the SimpleSlider itself for every possible
slider configuration option.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@867 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 14:55:58 +00:00
mdb 92f15137e3 Work around a bug in Tomcat 3.3's class loader.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@866 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 01:52:37 +00:00
mdb fa522c41fc Go ahead and throw the exception in StringUtil since everyone else will
end up doing something like that anyway.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@865 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 00:44:48 +00:00
mdb 056072405c Moved MD5 encoding routine into StringUtil.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@864 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-16 00:42:26 +00:00
mdb 2ed07b5590 Better error reporting.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@863 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-14 00:23:41 +00:00
mdb 8f60bffa78 Added means for loading subproperties into existing properties object.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@862 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-14 00:23:09 +00:00
shaper 7dceb9c255 Added rudimentary facilities to the default log provider for caching log
messages.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@861 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-08 02:17:57 +00:00
mdb c969f9a2f7 Fixed wildly inaccurate constructor documentation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@860 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-07 17:52:59 +00:00
mdb 36a94d4326 Added ability to specify name of looping thread in constructor.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@859 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-05 23:45:59 +00:00
shaper db316be504 Added setConstraints().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@858 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-04 21:28:23 +00:00
ray d947409983 go ahead and make dialogs transparent- if they have an irregular border
it will paint correctly.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@857 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-04 01:24:58 +00:00
shaper 9e2c1af444 Added copyright header and minor edits to javadoc formatting.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@856 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-01 18:56:32 +00:00
ray 13542f421f Because I'm sick of unforgiving clicks.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@855 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-10-01 17:31:14 +00:00
shaper a9b4b9ee9c Added variant of createDialog() that allows specifying a dialog title.
Added copyright header and edited javadoc slightly.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@854 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-30 06:23:11 +00:00
mdb 61796f97cf A layout manager for those times when you need absolute control.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@853 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-25 23:49:10 +00:00
mdb 412d26b2d4 Catch weird sporadic error that is occasionally thrown when label layout
results from the initial call to pack() on a Frame when an application
first starts up.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@852 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-25 08:42:00 +00:00
mdb 64355cce3c Added some new make[HV]Box variants.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@851 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-25 07:26:19 +00:00
shaper db0d6a7407 Deal gracefully with a null dialog in invalidateDialog().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@850 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 09:47:34 +00:00
shaper a961d4547e Deal gracefully with a null component in applyToHierarchy().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@849 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 09:47:14 +00:00
mdb ec5f971b62 Improved handling of preformatted lines; other minor cleanups.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@848 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 07:57:40 +00:00
mdb e185557e52 Added fieldsToString() versions that take a field separator.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@847 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 07:43:50 +00:00
mdb 91867ce1e5 Use HORIZONTAL text constraining by default.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@846 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 06:47:38 +00:00
shaper 770d50c363 Need to call repaint() in each of the setXXX() methods after marking
ourselves dirty.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@845 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 01:31:39 +00:00
mdb b3961924e3 Added code to toString() InetAddresses in dotted quad notation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@844 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 01:00:03 +00:00
mdb 90383047cd Added support for parsing byte arrays.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@843 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-24 00:09:37 +00:00
shaper 0aac64cdd5 Added support for rendering label text with a shadow or bold text style.
Fixed MultiLineLabel.getPreferredSize() to attempt to lay out the label
before obtaining its preferred size, and to lay out a dirtied label lazily
rather than each time a setXXX() method is called.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@842 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-23 21:19:06 +00:00
mdb 09f035de30 Whoops, wrap avoidance code was booched. Normal log lines have no newlines
anywhere until we add one when logging it.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@841 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-23 20:33:04 +00:00
mdb af63d8f436 Don't wrap lines that contain newlines other than at the end (so that we
don't mess up attempts at hand-formatting log messages). Added, but left
commented out, code to include the logging thread id.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@840 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-23 18:00:59 +00:00
mdb fdd6400033 Test SortableArrayList.insertSorted().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@839 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-23 01:45:47 +00:00
mdb 8ddea694d3 Added insertSorted().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@838 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-20 21:28:08 +00:00
mdb 5ab843caf1 Fixed a bug in insert().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@837 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-20 21:27:54 +00:00
shaper 8d59a9deec Added splice() variant for int[][].
git-svn-id: https://samskivert.googlecode.com/svn/trunk@836 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-19 23:37:40 +00:00
mdb 22e5c9e35b Changed default "terminal" width.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@835 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-19 18:42:42 +00:00
shaper 526d43fe6e Added setAntiAliased().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@834 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-18 01:19:26 +00:00
shaper 687628f9f6 Added toString().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@833 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-18 01:18:51 +00:00
ray da66da636f Added add*() methods that let you specify if you don't want the component
to be automatically removed as a target/source when it's removed from
the component hierarchy.
Added remove*() methods.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@832 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-16 21:29:25 +00:00
ray d5ec4bba40 Added support for autoscrolling.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@831 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 21:56:57 +00:00
ray 2bdb22349c Properly pad images that are the same size as the 'best' cursor size in
only one dimension.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@830 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 17:46:29 +00:00
ray 3270fb959f - allow specification of the hotspot for custom cursors.
- don't scale up cursors smaller than the desired size.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@829 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 17:41:41 +00:00
shaper 8636555a67 Don't freak out if the splice() variant with no length parameter is passed
a null values array.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@828 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 02:36:12 +00:00
shaper 66be01eb29 Added various variants of splice() to facilitate array manipulations by
those who are accustomed to slinging backticks and slurping files with
Perl.  Someday perhaps we'll go whole-hog and implement more of the
Perl-style splicing antics (allowing negative offset and/or length, and
optionally passing a list of items to splice into the array.)


git-svn-id: https://samskivert.googlecode.com/svn/trunk@827 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 02:12:26 +00:00
shaper 9f0e3fc3c8 Added size().
git-svn-id: https://samskivert.googlecode.com/svn/trunk@826 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 02:09:05 +00:00
ray 083b7f210e log the platform-dependant restrictions on custom cursors when we create
one.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@825 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 01:04:32 +00:00
samskivert@gmail.com 028a419d23 Moved component-level cursor handling into methods.
Fix: don't copy down parental cursors to children when we drag over them.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@824 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 00:26:10 +00:00
ray 10e09fd566 Reduce cursor flashiness by setting the current cursor to the top level window
and only do per-component cursor overriding if an entered component
(or one of its parents) has a custom cursor.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@823 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-06 00:07:40 +00:00
shaper f2bacfb509 Pass font changes via setFont() along to internal components.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@822 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2002-09-04 01:28:09 +00:00