| Commit | Date | |
|---|---|---|
|
[r4711]
by
dlsmith
PLT Utilities: Added a parameter to ConcurrentUtil process-based methods, allowing clients to provide a listener to be run when the process exits. |
2009-01-21 18:01:49 | Tree |
|
[r4710]
by
dlsmith
Updated the Mac & Windows packaging to indicate that Java 5+ is required (was previously set to Java 1.4+). |
2009-01-16 23:06:51 | Tree |
| 2009-01-15 18:15:05 | Tree | |
| 2009-01-15 18:14:30 | Tree | |
| 2009-01-15 18:12:00 | Tree | |
| 2009-01-15 17:36:17 | Tree | |
| 2009-01-15 17:00:08 | Tree | |
| 2009-01-15 16:02:33 | Tree | |
|
[r4703]
by
dlsmith
PLT Utilities: Removed junk file that was accidentally committed (SystemErrOutSink.java). |
2009-01-15 15:56:13 | Tree |
|
[r4702]
by
dlsmith
PLT Utilities: a variety of improvements. Some changes in the debug and concurrent packages are backwards-incompatible. Beginning with this revision, all Java 5 APIs are fair game -- producing legacy 1.4-compatible code via Retroweaver is no longer supported. - Redesigned Log system, separating the front-end logic from a group of composable back-end LogSinks. Made the parsing of the plt.debug.log and plt.error.log properties more sophisticated, allowing more complex logs to be defined, and provided access to this parsing via DebugUtil.makeLog. For support, added ThreadSnapshot, which makes a copy of a thread's state at a particular time. - Added DebugUtil.logThreadStatus for scheduling delayed thread logging, and DebugUtil.logExceptions, etc., for wrapping Runnables in a catch block that logs any errors. - Added TextUtil.split and TextUtil.splitWithParens, which perform a split with an awareness of bracketing delimiters (also added a Bracket class for support); added TextUtil.startsWithAny, TextUtil.endsWithAny. - Added IOUtil.ensureSerializable, which converts an object to a form that is known to serialize without error (for example, arbitrary objects are converted to Strings; arrays and Iterables are processed recursively). Added SerializableException for support in converting Throwables. - Added LazyRunnable; cleaned up concurrent behavior of LazyThunk. - Added JVMBuilder, replacing ConcurrentUtil.runJavaProcess; refactored ConcurrentUtil.computeInProcess to accept a JVMBuilder argument. - Fixed ConcurrentUtil.computeInProcess to clean the process in the event of failure. - Added ConcurrentUtil.exportInProcess for easy creation of RMI server processes. - ConcurrentUtil.copyProcessOut, etc., closes the output stream by default. - Added LockMap for organizing locks based on user-provided objects. - Made DelayedInterrupter run in a daemon thread. - Added IterUtil methods for handling portions of arrays. - Added ReflectUtil.arrayBaseClass and ReflectUtil.arrayDimensions. - Added CollectUtil.addAll and CollectUtil.removeAll. - Cleaned up IOUtil.closeOnExit by using the Closeable interface. - Added SwingUtil.makeDisposableFrame and SwingUtil.makeReusableFrame. |
2009-01-14 23:20:25 | Tree |