Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4399] by mgricken

After finishing the separation of the maximum heap size argument from
the JVM arguments, I implemented the code to detect out of memory
situations in the master and slave JVM. If one of the JVMs runs out of
memory, a dialog is displayed that suggests that the user increases
the respective maximum heap size. This finishes up feature request
[ 1908470 ] Separate Memory Preferences, Better Out of Memory Errors.

I then optimized the creation of the "Auto-Complete" list. It is no
longer necessary to create wrappers around JavaAPIListEntry< instances
because both that class and GotoFileListEntry now share a common
superclass. Toggling the "Java API" switch is a lot faster and uses
less memory now. Even with "Scan Class Files After Every Compile",
which allows auto-completion of inner classes, the function is fast,
at least on local drives.

I also changed three keyboard shortcuts. I added "Shift-Mask-O" for
"Open Folder", and I changed "Revert to Saved" from "Mask-R" to
"Shift-Mask-R" because I accidentally hit "Mask-R" and lost a whole
lot of changes. I also changed the "Are you sure?" dialog for "Revert"
to have "No" as default selection. "Mask-R" is now "Rename".

2008-03-11 03:27:54 Tree
[r4398] by mgricken

DrJava now detects OutOfMemoryErrors and VMOutOfMemoryExceptions
inside the slave JVM and suggests to increase the maximum heap
memory. It also detects OutOfMemoryErrors in the main JVM,
initiates garbage collection and attempts to ask the user to
increase the maximum heap size for the main JVM.
Also moved "Save Window Position" and "Reset Window Position"
settings into a sub-pane of "Display" in the "Preferences".

2008-03-11 00:44:16 Tree
[r4397] by dlsmith

PLT Utilities: Improved debug log init time when logging is not used (the properties plt.debug.log or plt.error.log are not set)

2008-03-10 21:40:02 Tree
[r4396] by mgricken

Separated the "maximum heap size" settings for the
Interactions and Main JVMs from the respective *_JVM_ARGS
settings. Added code to clean up/copy the *_JVM_ARGS
settings, should they contain the "-Xmx" parameter.
Moved some code out of MainFrame into a new class,
ConfigOptionListeners.

2008-03-10 20:23:51 Tree
[r4395] by dlsmith

Upgraded junit.jar to JUnit 4.4. Cleaned up adapters to handle the slightly different class definitions in JUnit. Cleaned up class loading code, and eliminated class loaders that have been replaced with edu.rice.cs.plt.reflect.*.

2008-03-07 19:52:30 Tree
[r4394] by dlsmith

Updated plt and dynamicjava jars with bug fixes.

2008-03-07 18:55:40 Tree
[r4393] by dlsmith

DynamicJava: Updated plt.jar, which fixes a bug in recognizing inner class names; improved error messages for unrecognized names

2008-03-07 17:47:05 Tree
[r4392] by dlsmith

PLT Utilities: Improvements to class loaders. Modified ShadowingClassLoader to never filter bootstrap classes unless explicitly requested; redefined some constructors as static methods with more meaningful names. Implemented ReflectUtil.mergeLoaders methods. Bug fix for ReflectUtil.simpleName().

2008-03-07 17:32:35 Tree
[r4391] by dlsmith

Expanded default class path for JarJDKTools-based compilers to include *all* jars in the lib directory, not just rt.jar.

2008-03-06 17:30:13 Tree
[r4390] by mgricken

Rewrote makeRelativeTo so that it does not return bogus paths
on Windows (or platforms with multiple file system roots anymore).
If a path on drive D:\ should be made relative to something on
path D:\, the function now simply returns the absolute path of
the file to be made relative. That's as relative as it can get
with multiple file systems.
Updated properties to benefit from that.

M src/edu/rice/cs/drjava/config/EagerFileListProperty.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/util/FileOps.java

2008-03-06 15:22:19 Tree
Older >
MongoDB Logo MongoDB