Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4792] by rcartwright

Added defensive null tests for line 963 in ExpressionTypeChecker.

M src/edu/rice/cs/javalanglevels/LValueTypeChecker.java
M src/edu/rice/cs/javalanglevels/ExpressionTypeChecker.java
M src/edu/rice/cs/javalanglevels/LanguageLevelVisitor.java

2009-03-03 06:50:11 Tree
[r4791] by mgricken

Updated library after Corky's commit.

M drjava/lib/javalanglevels-base.jar

2009-03-02 19:34:29 Tree
[r4790] by rcartwright

Added a defensive null check in LanguageLevelConverter and LanguageLevelVisitor to prevent NullPointerException.

2009-03-02 19:18:05 Tree
[r4789] by mgricken

Fixed bug 2634638: Next/Previous Word has Problems with Whitespace

The main problem was that JTextComponent.getText() translates newlines to System.getProperty("line.separator"), which is two characters long on Windows. The internal offset, however, is just based on "\n" newlines. Therefore, the offset always got one character too large per line. Instead, we are now using JTextComponent.getDocument().getText(...), which keeps the internal representation.

Also fixed two problems with boundary conditions.

2009-03-02 18:03:10 Tree
[r4788] by rcartwright

Fixed a bug in a Suspension embedded inside the constructor for
MovingDocumentRegion; the code failed to consider the possibility tat
a match might occur at an offset in a line (excerpt) beyond our
maximum offset length (120). Only the MovingDocumentRegions source
file was modifed.

2009-03-02 16:56:15 Tree
[r4787] by mgricken

DrJava now deletes the *.java files that the language level
conversion would generate from the *.dj? files. Additionally,
it deletes the class files that would be generated. We can actually
delete all class files since the language level converter parses
the source files and thus knows what top level classes exist.
Also removed two log files that had been left in accidentally.

M src/edu/rice/cs/drjava/model/compiler/DefaultCompilerModel.java
M src/edu/rice/cs/drjava/project/ProjectProfile.java
M src/edu/rice/cs/drjava/ui/ProjectPropertiesFrame.java

2009-03-02 02:59:19 Tree
[r4786] by mgricken

Changed top-level class information from list to set.

2009-03-02 00:48:46 Tree
[r4785] by mgricken

Added ability to pass out names of top-level classes generated from
a source file.

2009-03-01 19:54:05 Tree
[r4784] by mgricken

Added code to DefinitionsPaneTest that dumps the heap
to a file heap-DefinitionsPaneTest-pid-time.bin if the
garbage collection fails in testDocumentPaneMemoryLeak.
The heap can then be analyzed using jhat.
Only tested on Linux. May not work on Windows or MacOS,
but should fail gracefully.

2009-02-27 21:38:58 Tree
[r4783] by mgricken

Disabled logging to mainClassFile.txt.

2009-02-27 21:15:46 Tree
Older >
MongoDB Logo MongoDB