Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4046] by mgricken

Fixes bug [ 1602469 ] Null Pointer Exception
M src/edu/rice/cs/drjava/ui/ProjectPropertiesFrame.java

2006-11-25 21:27:21 Tree
[r4045] by dlsmith

Turned off logging that was left on in a previous commit.

2006-11-23 13:49:24 Tree
[r4044] by dlsmith

Modified compiler interface to support more compiler options and remove needless state. Converted some related methods to use List<File> instead of File[]. Added getClassPath() to GlobalModel to get a globally-consistent classpath (renamed the old method "getInteractionsClassPath"). Cleaned up CompilerModel code. Includes updated platform.jar, which includes classes previously contained in compilers.jar.

2006-11-23 13:40:43 Tree
[r4043] by rcartwright

Revised the unit tests so that they work for the new document
repository (introduced in commits 4038-4042). Some unit tests require
canonical file paths which "new File(...)" does NOT create. The new
methods FileOps.newFile(...) create File objects with canonical names.
Some of the other file updates involve cleaning up field and variable
names (e.g., getting rid of p0 and p1 for the start and end of
highlight ranges). The following files were modified:

M src/edu/rice/cs/drjava/model/debug/DebugTestCase.java
M src/edu/rice/cs/drjava/model/debug/JPDADebugger.java
M src/edu/rice/cs/drjava/model/debug/DebugContextTest.java
M src/edu/rice/cs/drjava/model/GlobalModelIOTest.java
M src/edu/rice/cs/drjava/model/GlobalModelTestCase.java
M src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
M src/edu/rice/cs/drjava/model/definitions/ColoringGlyphPainter.java
M src/edu/rice/cs/drjava/model/definitions/ColoringView.java
M src/edu/rice/cs/drjava/model/definitions/reducedmodel/ReducedModelComment.java
M src/edu/rice/cs/drjava/model/definitions/reducedmodel/BraceReduction.java
M src/edu/rice/cs/drjava/model/DefaultJavadocModel.java
M src/edu/rice/cs/drjava/model/repl/InteractionsEditorKit.java
M src/edu/rice/cs/drjava/model/SingleDisplayModelTest.java
M src/edu/rice/cs/drjava/model/GlobalModelJUnitTest.java
M src/edu/rice/cs/drjava/model/SimpleDocumentRegion.java
M src/edu/rice/cs/drjava/model/DummyOpenDefDoc.java
M src/edu/rice/cs/drjava/model/compiler/CompilerErrorModel.java
M src/edu/rice/cs/drjava/model/DummyGlobalModel.java
M src/edu/rice/cs/drjava/model/GlobalModelOtherTest.java
M src/edu/rice/cs/drjava/ui/DefinitionsPane.java
M src/edu/rice/cs/drjava/ui/ErrorPanel.java
M src/edu/rice/cs/drjava/ui/JUnitPanel.java
M src/edu/rice/cs/drjava/ui/ReverseHighlighter.java

2006-11-22 23:04:59 Tree
[r4042] by rcartwright

More updates that missed in commit 4038. I have downloaded the latest revision and tried to rebuild. Based on the compilation errors, I discovered that the following files were not properly committed.

M cs/drjava/model/debug/Breakpoint.java
M cs/drjava/model/cache/DDReconstructor.java
M cs/drjava/model/cache/DCacheAdapter.java
M cs/drjava/ui/ErrorPanel.java
M cs/drjava/ui/FindReplacePanel.java
M cs/drjava/ui/ReverseHighlighter.java

2006-11-22 17:36:03 Tree
[r4041] by rcartwright

Yet another glitch in commit 4038

M HighlightManager.java

2006-11-22 17:21:14 Tree
[r4040] by rcartwright

Another glitch in commit 4038. I am definitely worried.

M AbstractDJDocument.java

2006-11-22 17:05:10 Tree
[r4039] by rcartwright

This file did not commit properly in the most recent commit which has me very worried.

2006-11-22 16:52:24 Tree
[r4038] by rcartwright

This revision fixes a bug in the updating of document highlights and
improves the implementation of the "jump to line" function in
MainFrame.java. My recent string of commits focused on making DrJava
more responsive contained a troublesome bug that is proving
time-consuming to track down. FindAll result highlights are not
updated properly when a document is edited; the highlights do not move
with the document. When I backed out the refactoring to minimize the
creation of WrappedPositions and the refactoring to defer
reconstructing document positions when a kicked out document is remade
(waiting until the document becomes active), the highlighting bug went
away but when I only backed either of these two refactorings alone,
the bug persisted. This revision backs out both of these
refactorings. In the long term, I would like to see the
reconstruction of wrapped positions deferred until a document becomes
active. This optimization should work! I don't understand it can
affect the highlight updating process since non-active documents are
never edited. On the other hand, the minimization of WrappedPositions
may be an inherently flawed idea. If (and I do not yet know the
answer) the Swing library internally creates Positions that are
critical to updating highlights as a document is edited, then failing
to wrap these Positions could sabotage highlight updating. My
minimization strategy assumes that no Position internally created by
Swing needs to be wrapped.

The good news is that this revsion still appears to improve
responsiveness despite backing out these two refactorings. The key is
a minor change to _jumpToLine in MainFrame.java, which performs the
guts of the "go to line" action (CNTL-G). It makes jumping to a line
near the end of a large document MUCH faster than it has been in
recent builds. The following files were modified or added:

M src/edu/rice/cs/drjava/model/cache/DocumentCache.java
M src/edu/rice/cs/drjava/model/cache/DocumentCacheTest.java
M src/edu/rice/cs/drjava/model/DummyOpenDefDoc.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/model/OpenDefinitionsDocument.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/JUnitPanel.java
M src/edu/rice/cs/util/FileOps.java
M src/edu/rice/cs/util/text/AbstractDocumentInterface.java
M src/edu/rice/cs/util/text/SwingDocument.java
A src/edu/rice/cs/util/text/SwingDocumentInterface.java
A src/edu/rice/cs/util/NullFile.java

2006-11-22 16:20:42 Tree
[r4037] by rcartwright

Fixed a bug introduced in the refactoring of the treatment of wrapped
document positions. The bug was a "rogue tile" left when I undid an
aborted change in the definitions of the various Swing/DrJava document
interfaces. The following files were changed:

M src/edu/rice/cs/drjava/ui/JUnitPanel.java
M src/edu/rice/cs/util/text/ConsoleDocument.java

2006-11-20 20:04:32 Tree
Older >
MongoDB Logo MongoDB