Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4495] by rcartwright

This revision cleans up the synchronizaton in InteractionsDJDocumentTest. I have been seeing intermittent NullPointerExceptions and RejectExecutionExceptions deep inside Swing when running InteractionsDJDocumentTest on Windows. Time will tell if better synchronization eliminates these testing glitches.

The following file was modified:

M src/edu/rice/cs/drjava/model/repl/InteractionsDJDocumentTest.java

2008-05-23 18:31:15 Tree
[r4494] by rcartwright

This revision cleans up region containment so that the containing region does not have to start on the same line as the selection. As a result, bookmark toggling now behaves uniformly; bookmarks can be toggled by identifying any selection within the bookmark.

The following files were modified:

M src/edu/rice/cs/drjava/model/ConcreteRegionManager.java

2008-05-23 06:11:09 Tree
[r4493] by dlsmith

PLT Utilities: Fixed typo.

2008-05-22 19:54:10 Tree
[r4492] by dlsmith

PLT Utilities: Added ComposedListeners to the Swing package.

2008-05-22 19:51:48 Tree
[r4491] by mgricken

Adding calls to setChanging back to improve speed of turning "Find All"
results into bookmarks, of removing results and closing "Find All"
panes.

M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/FindResultsPanel.java

2008-05-22 07:55:53 Tree
[r4490] by rcartwright

This revision fixes assorted bugs in the recent refactoring of regions
and a lingering bug in the implementation of FindResults table of
highlight managers. The table was implemented as a Hashtable mapping
document regions to HighlightInfo records. But document regions are
mutable because they can move within a document (just like Positions), so
table lookups failed if the coordinates of the region changed due to
document mutation.

This revision conflicts with the last two updates because it fixes
many of the same problems without sacrificing the efficiency of new
region implementation. This revision reverts the bookmark tests (in
GlobalModelOtherTest.java) back to their former state. We need to add
some unit tests that address the movement of regions when documents
are modified.

The following files were modified, primarily ConcreteRegionManager and
MainFrame:

M src/edu/rice/cs/drjava/model/debug/jpda/JPDADebugger.java
M src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
M src/edu/rice/cs/drjava/model/definitions/indent/Indenter.java
M src/edu/rice/cs/drjava/model/RegionManager.java
M src/edu/rice/cs/drjava/model/ConcreteRegionManager.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/model/GlobalModelOtherTest.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/DefinitionsPane.java
M src/edu/rice/cs/drjava/ui/TabbedPanel.java
M src/edu/rice/cs/drjava/ui/RegionsTreePanel.java
M src/edu/rice/cs/drjava/ui/FindResultsPanel.java
M src/edu/rice/cs/drjava/ui/ReverseHighlighter.java
M src/edu/rice/cs/util/swing/HighlightManager.java
M src/edu/rice/cs/util/CompletionMonitor.java

2008-05-22 03:37:57 Tree
[r4489] by mgricken

Fixes a problem with the optimized "Find All"; now the file
nodes are expanded after the search has finished.

2008-05-22 00:57:35 Tree
[r4488] by mgricken

Fixes [ 1959032 ] "New Project" incorrect about existing file

2008-05-21 23:40:00 Tree
[r4487] by mgricken

Fixed [ 1968728 ] Difficulty Removing Breakpoints and Bookmarks
https://sourceforge.net/tracker/index.php?func=detail&aid=1968728&group_id=44253&atid=438935
The previously criticized performance problems when finding an
overlapping region have been avoided: Instead of scanning the entire
ordered set of regions for a document, only the regions between the
first and the last line of the region to be toggled (added/removed)
are considered. This has been efficiently achieved by getting the
headSet of the tailSet of regions.

2008-05-21 23:01:51 Tree
[r4486] by mgricken

Fixes bug report
[ 1967938 ] Find All Highlights Never Removed
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1967938&group_id=44253
In revision 4482, a loop calling removeRegion for every
region removed by clearRegions() and removeRegions(OpenDefinitionsDocument)
was removed and replaced by a simple call to clear() of the underlying
data structure. This did not notify the listeners anymore that regions
were removed, causing the highlights never to be removed.

M src/edu/rice/cs/drjava/model/ConcreteRegionManager.java

2008-05-20 22:54:47 Tree
Older >
MongoDB Logo MongoDB