Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4664] by dlsmith

Updated DynamicJava with a number of bug fixes, including support for interface and enum declarations. Removed accessibility option check box from Preferences pending an implementation of accessibility checking. Caught Unicode-escape-related errors occuring when the DynamicJava parser is used to extract a package name.

2008-08-28 03:42:46 Tree
[r4663] by dlsmith

DynamicJava: A number of bug fixes/missing feature implementations.
- Added support for interface declarations
- Fixed handling of enum declarations
- Simplified generated enum implementation code
- Fixed text of bad allocation type error
- Converted exceptions thrown for unimplemented features to standard errors with a "not implemented" error message
- Restored support for class/instance initializers, which had been broken
- Checks consistency of "abstract" flag and method body
- Fixed NullPointerException arising from attempting to process the body of an abstract method
- Fixed handling of array return types in compiled class declarations
- Fixed environments so that a class's name is visible in its body

2008-08-28 03:10:57 Tree
[r4662] by mgricken

This revision makes the creation of tooltips for items in RegionTreePanels
lazy. It should avert most of the long delays that we have seen when
pasting and undoing while Find Results are being displayed and updated.

M src/edu/rice/cs/drjava/ui/RegionsTreePanel.java

2008-08-27 23:57:08 Tree
[r4661] by rcartwright

This revision encloses the setUp code for DefinitionsPaneTest in
Utilities.invokeAndWait. This test was occasionally failing during
setUp in various test methods. The failures involved operations on
the created MainFrame. Since unit test are run in an JVM that has run
prior tests, the event thread is already activated which makes running
intitialization code outside the event thread problematic.

Only the following file was modified:

M src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java

2008-08-27 05:33:44 Tree
[r4660] by rcartwright

This commit refactors the method testTypeEnterNotInCode in
DefinitionsPaneTest to confirm with the "event thread only"
pre-conditions in calls to Swing methods. It also re-enables checking
of for DefinitionsPane leaks in the method testDocumentPaneMemoryLeak.
(This method checks for both DefintionsPane leaks and
DefinitionsDocument leaks; the former had been disabled sometime
during the past summer because it had been inexplicably failing but
was not causing problems in practice.) This commit also subsitutes
ArrayList objects for LinkedList objects in two files in an attempt
to streamline the code.

The following files were modified:

M src/edu/rice/cs/drjava/model/ConcreteRegionManager.java
M src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java
M src/edu/rice/cs/drjava/ui/FindReplacePanel.java

2008-08-27 04:26:25 Tree
[r4659] by rcartwright

This commit comments out a debugging print stateent that I
inadvertently left in a recent commit. It also includes a few
cosmetic improvements to code commenting and formatting.

The following files were modified:

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

2008-08-26 21:19:36 Tree
[r4658] by rcartwright

This revision eliminates (largely commented out) locking code and
event queue didispatches left over from the prior readers/writers
locking protocol on documents. The setActiveDocument operation still
relies on invokeAndWait which we should fix, but we will have to
revise many unit tests to do it.

The following files were modified:

M src/edu/rice/cs/drjava/DrJavaRoot.java
M src/edu/rice/cs/drjava/model/definitions/indent/ActionStartPrevLinePlusMultilinePreserve.java
M src/edu/rice/cs/drjava/model/definitions/indent/QuestionPrevLineStartsWith.java
M src/edu/rice/cs/drjava/model/definitions/indent/QuestionCurrLineIsWingComment.java
M src/edu/rice/cs/drjava/model/definitions/indent/IndentRuleWithTrace.java
M src/edu/rice/cs/drjava/model/definitions/indent/IndentRuleWithTraceTest.java
M src/edu/rice/cs/drjava/model/definitions/indent/QuestionHasCharPrecedingOpenBrace.java
M src/edu/rice/cs/drjava/model/definitions/indent/ActionStartPrevLinePlus.java
M src/edu/rice/cs/drjava/model/definitions/indent/ActionStartPrevLinePlusMultiline.java
M src/edu/rice/cs/drjava/model/definitions/ColoringGlyphPainter.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java
M src/edu/rice/cs/drjava/model/junit/JUnitEventNotifier.java
M src/edu/rice/cs/drjava/model/repl/InteractionsDocument.java
M src/edu/rice/cs/drjava/model/repl/InteractionsDJDocument.java
M src/edu/rice/cs/drjava/model/repl/InteractionsModel.java
M src/edu/rice/cs/drjava/model/AbstractDJDocument.java
M src/edu/rice/cs/drjava/model/DummyOpenDefDoc.java
M src/edu/rice/cs/drjava/model/FindReplaceMachine.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/model/EventNotifier.java
M src/edu/rice/cs/drjava/model/DJDocument.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/AbstractDJPane.java
M src/edu/rice/cs/drjava/ui/RegionsListPanel.java
M src/edu/rice/cs/drjava/ui/FindReplacePanel.java
M src/edu/rice/cs/drjava/ui/ReverseHighlighter.java
M src/edu/rice/cs/util/text/ConsoleDocument.java
M src/edu/rice/cs/util/text/SwingDocument.java
M src/edu/rice/cs/util/docnavigation/JListNavigator.java

2008-08-26 20:11:39 Tree
[r4657] by dlsmith

DynamicJava: Another parser fix, this time handling Errors thrown by JavaCharStream (due to malformed Unicode escapes).

2008-08-26 19:26:16 Tree
[r4656] by dlsmith

Fixed handling of TokenMgrErrors in parser

2008-08-26 18:57:37 Tree
[r4655] by dlsmith

Generated improved Windows icon. (Used a freeware app Sib Icon Editor rather than Gimp.)

2008-08-26 16:00:31 Tree
Older >
MongoDB Logo MongoDB