From: <dmo...@gm...> - 2001-04-28 18:48:48
|
Hi all, today I updated the following plugins: JCompiler 1.1.4 --------------- - no longer replaces the SecurityManager - now compiles on JDK 1.1 - bugfix: text area no longer looses focus on compile - requires jEdit 3.1final or higher, EditBus 0.10 or higher, Console 2.3 or= higher Remarks: The major change is that I no longer replace the SecurityManager with a dumb one to prevent the compiler from exiting. While this does not directly fix a bug, it is somewhat "safer", because on JDK 1.1, once you set a new SecurityManager you cannot revert to the old one. How do I do this=3F JCompiler now calls: OutputStream output =3D ...; String[] args =3D ...; Main compiler =3D new sun.tools.javac.Main(output, "javac"); compiler.compile(args); instead of: sun.tools.javac.Main.main(args); The compile() method does not call System.exit(), so the SecurityManager that prohibits exits has become unnecessary. Plus, I no longer need to redirect System.err and System.out. I just thought this might be of interest to you... uh, never mind. BufferList 0.6.1 ---------------- - SessionSwitcher can now be shown as View ToolBar. So now users can use the session management functions without showing the bufferlist at all! - Bugfix: #418299 FileNotFoundException on jEdit clean install - Bugfix: All recent files gone if BufferList installed for first time - Bugfix: Last open buffer wasn't restored on restart - Bugfix: Lists didn't scroll if selection was moved with cursor keys - Requires jEdit 3.1final or higher, JDK 1.1 or higher Remarks: BufferList 0.6.1 works with jEdit3.1final or higher, but the caret positions are not restored. This bug will not appear on jEdit3.2pre1. JIndex 0.8.1 ------------ - The index is now loaded and created in the background by using jEdit's IO threads. The status of index creation can be watched by the IO Progress Monitor. - Doesn't use EditBus to listen for create/load events any more, uses it's own listener. - Bugfix: deadlocks occurred under some obscure conditions on Windows NT, when the index was loaded, locking up jEdit entirely. Remarks: I never got the background thread handling right in JIndex. On Windows NT, sometimes deadlocks and complete hangups appeared. Linux and Windows ME seemed to be ok all the time. This could have been a platform or VM bug. However, since I use jEdit's WorkThreads the problems are gone. This is certainly because Slava did a much cleaner job with the threads than I did. As a bonus, you can now create a new index completely in the background. Have fun! PS: I case you're wondering why I put so much effort in updating JIndex instead of merging it with CodeAid, this has two reasons: 1) I can't tell how long it takes to complete the merge, and until that time it's important to have a working JIndex, 2) I see it as some kind of warm-up for the larger issues in CodeAid (background index creation, xml handling - never done this before). Mike, could you please put these on PC=3F The tags are "jcompiler_1_1_4", "bufferlist_0_6_1" and "jindex_0_8_1". Dirk. |