Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4627] by prat

Reworked the eclipse plugin to work correctly for versions 3.3 and 3.4.
It will probably work for earlier 3.x versions, as well, assuming the eclipse
API has been somewhat stable, but I haven't tested for compatability.

Also update the ant buildscript to fail in all cases, as it is not the correct way
to build this plugin (although it is still a viable option, I don't have the time
to update it.

2008-07-30 20:58:23 Tree
[r4626] by prat

Intermediate restructuring commit

2008-07-30 20:34:05 Tree
[r4625] by rcartwright

This revision corrects a bug in RegionsTreePanel modulo its rendering
using the Plastic L&F. The revision comments comments out a call
"_setColors(this)" that breaks "reverse-video" rendering of highlighted
entries in FindResultsPanels.

This revision also eliminates some import statements that are not used.

The following files were changed:

M src/edu/rice/cs/drjava/model/debug/jpda/JPDADebugger.java
M src/edu/rice/cs/drjava/ui/ExternalProcessPanel.java
M src/edu/rice/cs/drjava/ui/DebugPanel.java
M src/edu/rice/cs/drjava/ui/AbortablePanel.java
M src/edu/rice/cs/drjava/ui/BrowserHistoryPanel.java
M src/edu/rice/cs/drjava/ui/config/ConfigFrame.java
M src/edu/rice/cs/drjava/ui/BreakpointsPanel.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/RegionsListPanel.java
M src/edu/rice/cs/drjava/ui/BookmarksPanel.java
M src/edu/rice/cs/drjava/ui/LessPanel.java
M src/edu/rice/cs/util/StringOps.java

2008-07-30 20:10:19 Tree
[r4624] by rcartwright

This revision deletes IDocList.java which is no longer used.

2008-07-30 15:39:40 Tree
[r4623] by rcartwright

This revision changes to interface to the IDocumentNavigator interface
and its implementation. Previously, the getDocuments() and
getDocumentsInBin() methods returned Enumerations which appeared to be
backed by the document list maintained in the navigator. The revised
operations return ArrayList copies of relevant lists of documents.

This revision also includes some additional conversions of Vectors to
ArrayLists.

The following files were modified:

M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/util/docnavigation/JListNavigator.java
M src/edu/rice/cs/util/docnavigation/AWTContainerNavigatorFactory.java
M src/edu/rice/cs/util/docnavigation/IDocList.java
M src/edu/rice/cs/util/docnavigation/IDocumentNavigator.java
M src/edu/rice/cs/util/docnavigation/JListSortNavigatorTest.java
M src/edu/rice/cs/util/docnavigation/JTreeSortNavigator.java
M src/edu/rice/cs/util/docnavigation/JTreeSortNavigatorTest.java

2008-07-30 15:37:49 Tree
[r4622] by rcartwright

This revision converts some occurrences of Vector to ArrayList.

The following files were changed:

M src/edu/rice/cs/drjava/model/debug/NoDebuggerAvailable.java
M src/edu/rice/cs/drjava/model/debug/Debugger.java
M src/edu/rice/cs/drjava/model/debug/jpda/JPDADebugger.java
M src/edu/rice/cs/drjava/model/debug/jpda/DebugContextTest.java
M src/edu/rice/cs/drjava/model/debug/jpda/JPDABreakpoint.java
M src/edu/rice/cs/drjava/model/definitions/indent/IndentRuleWithTraceTest.java
M src/edu/rice/cs/drjava/model/definitions/indent/IndentRuleWithTrace.java
M src/edu/rice/cs/drjava/ui/DebugPanel.java
M src/edu/rice/cs/drjava/ui/BrowserHistoryPanel.java
M src/edu/rice/cs/drjava/ui/BreakpointsPanel.java
M src/edu/rice/cs/drjava/ui/BookmarksPanel.java

2008-07-29 20:51:19 Tree
[r4621] by prat

Disable the Plastic LAFs for the Mac platform.

2008-07-29 20:16:46 Tree
[r4620] by rcartwright

This revions contains some minor cleanup code like deleting print
statements inserted for debugging and converting instances of Vector
to ArrayList. The following files were modified:

M src/edu/rice/cs/drjava/model/BrowserHistoryManager.java
M src/edu/rice/cs/drjava/model/debug/jpda/PendingRequestManager.java
M src/edu/rice/cs/drjava/model/GlobalModel.java
M src/edu/rice/cs/drjava/model/cache/DocumentCacheTest.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocumentTest.java
M src/edu/rice/cs/drjava/model/definitions/reducedmodel/ReducedModelControl.java
M src/edu/rice/cs/drjava/model/RegionManager.java
M src/edu/rice/cs/drjava/model/repl/History.java
M src/edu/rice/cs/drjava/model/repl/newjvm/InterpreterJVM.java
M src/edu/rice/cs/drjava/model/ConcreteRegionManager.java
M src/edu/rice/cs/drjava/model/Query.java
M src/edu/rice/cs/drjava/model/AbstractDJDocument.java
M src/edu/rice/cs/drjava/model/DocumentRegion.java
M src/edu/rice/cs/drjava/model/DummyGlobalModel.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/model/DefaultLightWeightParsingControl.java
M src/edu/rice/cs/drjava/model/GlobalModelOtherTest.java
M src/edu/rice/cs/drjava/config/KeyStrokeOption.java
M src/edu/rice/cs/drjava/config/OptionParser.java
M src/edu/rice/cs/drjava/config/Option.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/InteractionsPane.java
M src/edu/rice/cs/drjava/ui/RecentFileManager.java
M src/edu/rice/cs/drjava/ui/KeyBindingManager.java
M src/edu/rice/cs/drjava/ui/HTMLFrame.java
M src/edu/rice/cs/drjava/ui/ErrorPanel.java
M src/edu/rice/cs/drjava/ui/BrowserHistoryPanel.java
M src/edu/rice/cs/drjava/ui/config/ConfigFrame.java
M src/edu/rice/cs/drjava/ui/config/KeyStrokeOptionComponent.java
M src/edu/rice/cs/drjava/ui/InsertVariableDialog.java
M src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java
M src/edu/rice/cs/drjava/ui/FindResultsPanel.java
M src/edu/rice/cs/drjava/ui/InteractionsController.java
M src/edu/rice/cs/drjava/ui/ReverseHighlighter.java
M src/edu/rice/cs/drjava/ui/ProjectPropertiesFrame.java
M src/edu/rice/cs/util/FileOps.java
M src/edu/rice/cs/util/text/SwingDocument.java
M src/edu/rice/cs/util/OrderedHashSet.java
M src/edu/rice/cs/util/swing/HighlightManager.java
M src/edu/rice/cs/util/NullFile.java
M src/edu/rice/cs/util/sexp/Tokens.java

2008-07-29 19:37:11 Tree
[r4619] by mgricken

Removed some debug messages.

2008-07-29 17:50:30 Tree
[r4618] by rcartwright

This revision fixes several bugs in the implementation of regions,
region managers, and the interaction between DrJava and the Plastic
L&F. This revision modifies the JTree renderer in FindResultsPanel so
that the "reverse video" display of a selected node in the Plastic L&F
works.

The revision also corrects a serious design problem with the
DocumentRegion class and its descendants. DocumentRegion defines
compareTo and overrides equals so that regions are lexicographically
ordered by the offsets of their two positions. The overriding of
equals makes it agree with the equivalence defined by compareTo. The
compareTo operation (from the Comparable interface) is used in
TreeSets of DocumentRegions in ConcreteRegionManager. By using the
Comparable ordering and TreeSets, the cost of insertion, removal, and
membership testing for TreeSets is reduced to O(log N), which is
important in FindAll searches with many matches in a single document.
But the corresponding view classes, namely RegionsTreePanel and
FindResultsPanel among others, rely on hash tables that use regions as
keys. Since positions in regions can move, a definition of hashCode
that is consistent with equals is disastrous; it breaks hash tales
that use regions as keys because region hash codes change as the
document is edited.

In this revision, hashCode is NOT overriden in DocumentRegion or any
of its descendants and IdentiyHashMaps are used instead of Hashtables
so that the overridden equals does not break hash table operation.
Note that merely avoiding the override of hashCode is insufficient
because the overridden definition of equals can break hash table
operations in some cases (distinct regions become equal if
their offsets coincide after editing).

The following files were modified:

M src/edu/rice/cs/drjava/IndentFiles.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/DocumentRegion.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/model/BrowserDocumentRegion.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/TabbedPanel.java
M src/edu/rice/cs/drjava/ui/DebugPanel.java
M src/edu/rice/cs/drjava/ui/MainFrameTest.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/FindReplacePanel.java
M src/edu/rice/cs/drjava/ui/JUnitPanel.java

2008-07-28 21:53:19 Tree
Older >
MongoDB Logo MongoDB