Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4027] by rcartwright

Turned on assertion checking in the various ant test script commands.
Added assertions to many methods that only run in the even`qt thread
and adjusted test case code to conform to these assertions. We still
have a long way to do in this arena. Reindented AsyncTask and
CompletionMonitorTest.

The following files were modified; the changes in each file were minor.

M src/edu/rice/cs/drjava/model/debug/DebugEventNotifier.java
M src/edu/rice/cs/drjava/model/DefaultGlobalModel.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/config/KeyStrokeOption.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/DebugPanel.java
M src/edu/rice/cs/drjava/ui/ErrorCaretListener.java
M src/edu/rice/cs/drjava/ui/config/ConfigFrame.java
M src/edu/rice/cs/drjava/ui/ProjectMenuTest.java
M src/edu/rice/cs/drjava/ui/BreakpointsPanel.java
M src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java
M src/edu/rice/cs/drjava/ui/JUnitPanel.java
M src/edu/rice/cs/drjava/ui/ClipboardHistoryFrame.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/IDocumentNavigator.java
M src/edu/rice/cs/util/docnavigation/JTreeSortNavigator.java
M src/edu/rice/cs/util/docnavigation/JTreeSortNavigatorTest.java
M src/edu/rice/cs/util/swing/AsyncTask.java
M src/edu/rice/cs/util/CompletionMonitorTest.java
M src/edu/rice/cs/util/newjvm/AbstractMasterJVM.java
M build.xml

2006-11-02 04:00:17 Tree
[r4026] by rcartwright

This revision fixes a bug in RMIInteractionsModel that has been
causing InteractionsDocument errors just after a resetInteractions
action. IT also fixes a bug in console input handling by always
placing a vertical scrollbar in the interactions pane. (The input box
would not resize when the vertical scrollbar was added dynamically
when the number os lines of text exceeded what can be displayed.)
This revision also removes some synchronization and calls on
invokeLater based on the presumption of the invariant that certain
methods only run in the event thread. Some assert statments have been
inserted to this effect, but we should insert more. It appears that
we are not enforcing assert statements in our ant test script, which
needs to be changed.

The following files were modified. As usual, many of the changes were
cosmetic.

M src/edu/rice/cs/drjava/model/GlobalModel.java
M src/edu/rice/cs/drjava/model/cache/DocumentCache.java
M src/edu/rice/cs/drjava/model/cache/DDReconstructor.java
M src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
M src/edu/rice/cs/drjava/model/definitions/indent/IndentRulesTestCase.java
M src/edu/rice/cs/drjava/model/definitions/reducedmodel/ReducedModelControl.java
M src/edu/rice/cs/drjava/model/definitions/reducedmodel/IndentInfoTest.java
M src/edu/rice/cs/drjava/model/DefaultJavadocModel.java
M src/edu/rice/cs/drjava/model/junit/DefaultJUnitModel.java
M src/edu/rice/cs/drjava/model/repl/InteractionsDJDocument.java
M src/edu/rice/cs/drjava/model/repl/RMIInteractionsModel.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/JavadocListener.java
M src/edu/rice/cs/drjava/model/AbstractDJDocument.java
M src/edu/rice/cs/drjava/model/MultiThreadedTestCase.java
M src/edu/rice/cs/drjava/model/compiler/DefaultCompilerModel.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/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/model/OpenDefinitionsDocument.java
M src/edu/rice/cs/drjava/config/KeyStrokeOptionTest.java
M src/edu/rice/cs/drjava/config/VectorOption.java
M src/edu/rice/cs/drjava/CommandLineTest.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/CompilerErrorPanel.java
M src/edu/rice/cs/drjava/ui/PreviewConsoleFrame.java
M src/edu/rice/cs/drjava/ui/DefinitionsPane.java
M src/edu/rice/cs/drjava/ui/JarOptionsDialog.java
M src/edu/rice/cs/drjava/ui/ErrorPanel.java
M src/edu/rice/cs/drjava/ui/predictive/PredictiveInputFrame.java
M src/edu/rice/cs/drjava/ui/config/VectorOptionComponent.java
M src/edu/rice/cs/drjava/ui/config/OptionComponent.java
M src/edu/rice/cs/drjava/ui/PreviewFrame.java
M src/edu/rice/cs/drjava/ui/MainFrameTest.java
M src/edu/rice/cs/drjava/ui/PreviewDefDocFrame.java
M src/edu/rice/cs/drjava/ui/JavadocErrorPanel.java
M src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java
M src/edu/rice/cs/drjava/ui/FindReplacePanel.java
M src/edu/rice/cs/drjava/ui/JUnitPanel.java
M src/edu/rice/cs/drjava/ui/AbstractConsoleController.java
M src/edu/rice/cs/drjava/ui/ClipboardHistoryFrame.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/JTreeSortNavigator.java
M src/edu/rice/cs/util/docnavigation/JTreeSortNavigatorTest.java
M src/edu/rice/cs/util/swing/ScrollableDialog.java

2006-10-31 15:50:16 Tree
[r4025] by dlsmith

Added explicit "includes" to filesets. This was causing problems in some versions of Ant.

2006-10-30 23:05:57 Tree
[r4024] by dlsmith

Created tag drjava-eclipse-20061030-1946

2006-10-30 19:46:37 Tree
[r4023] by dlsmith

Fixed packaging and added RMI compilation to build script. Plug-in is now buildable from the script, but depends on DrJava sources from revision 3518 (or earlier). Tests do not currently work (they depend on Eclipse classes).

2006-10-30 19:44:59 Tree
[r4022] by dlsmith

Created tag drjava-stable-20061025-1556

2006-10-25 16:02:49 Tree
[r4021] by mgricken

Fixes bug [ 1577260 ] DrJava Error (InvalidStackFrameException)

M src/edu/rice/cs/drjava/model/debug/JPDADebugger.java

2006-10-18 20:14:51 Tree
[r4020] by mgricken

Reversed line numbering introduced in 3590.

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

2006-10-15 22:39:27 Tree
[r4019] by rcartwright

This revision fixes a bug in unit testing attributable to an error in
coding DefinitionsDocument.getFullyQualifiedName() that I (Corky) made
a few weeks ago when I tried to do a better job of suppring "run main
method". We need more unit tests. In the process, I ran into errors
in unit tests introduced when I demoted the invokeAndWait in
Configuration. setSetting to invokeLater. I had to add many calls to
Utilities.clearEventQueue() to allow asynchronous listeners running in
the event thread to complete. The following files were revised:

M src/edu/rice/cs/drjava/model/GlobalModel.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.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/ui/config/IntegerOptionComponentTest.java
M src/edu/rice/cs/drjava/ui/config/VectorFileOptionComponentTest.java
M src/edu/rice/cs/drjava/ui/config/FontOptionComponentTest.java
M src/edu/rice/cs/drjava/ui/config/ForcedChoiceOptionComponentTest.java
M src/edu/rice/cs/drjava/ui/config/ColorOptionComponentTest.java
M src/edu/rice/cs/drjava/ui/config/FileOptionComponentTest.java
M src/edu/rice/cs/drjava/ui/config/BooleanOptionComponentTest.java
M src/edu/rice/cs/drjava/ui/config/KeyStrokeOptionComponentTest.java
M src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.java

--This line, and those below, will be ignored--

2006-10-14 05:55:44 Tree
[r4018] by rcartwright

Replaced the invokeAndWaith wrapper around listener notification in Configuration.setSetting with invokeLater. The only file modified was:

M src/edu/rice/cs/drjava/config/Configuration.java

2006-10-13 14:53:35 Tree
Older >
MongoDB Logo MongoDB