Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4417] by dlsmith

Updated DynamicJava jar with update that catches LinkageErrors on reflective accesses.

2008-03-25 15:11:13 Tree
[r4416] by dlsmith

DynamicJava: All LinkageErrors triggered by reflective accesses (method & constructor invocations, field get/set) are caught and wrapped as EvaluationExceptions.

2008-03-25 15:08:49 Tree
[r4415] by mgricken

Created drjava-extprocess branch.

2008-03-24 20:21:09 Tree
[r4414] by mgricken

Added "local-release", "local-release-beta" and "local-release-stable"
Ant targets, as suggested by Corky in class today. They automatically
set the "skip-tag" property, so you do not need to specify -Dskip-tag=true
on the command line anymore.
Changed the description of the regular "release*" targets to clarify
that they create Subversion tags.

2008-03-24 20:06:43 Tree
[r4413] by rcartwright

This revision cleans up the code managing the interactions pane,
particularly the updating of the cursor, which was handled abominably
in earlier versions. The key insight in this refactoring is that the
interactions pane is tightly coupled with the interactions document.
In Swing, documents do not include any viewing state, most notably the
cursor position. But in an interactions pane, the position of the
cursor is a critical feature of the document an must be kept updated
by operations on the cdocument (such as console output, e.g.,
System.out, by the interpreter). Since the cursor resides in the
interactions pane, the interactions model must fuse the pane and the
document together. To keep the cursor in synch with all updates to the
interactions document, the refactored code base forces all interactions
document updates to be performed in the event thread. Then model operations
that do not originate with Swing components (such as console output by the
interpreter) can update the cursor before any Swing based updates (e.g.,
keyboard input) happen. In the old code, every document revision fired a
document listener that updated the cursor position in the interactions pane,
possibly from outside the event thread, breaking a critical Swing invariant.
(In particular, console output by the interpreter interspersed with keyboard
input would corrupt Swing/DrJava data structures.

This revision also excises the ConsoleControllerTest since it tested console
behavior (processing keyboard input) that is no longer possible in DrJava;
InteractionsConsoleController now handles all keyboard input. The code tested
by ConsoleControllerTest has also been removed.

The following files were modified:

M src/edu/rice/cs/drjava/DrJavaTestCase.java
M src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
M src/edu/rice/cs/drjava/model/repl/InteractionsDocument.java
M src/edu/rice/cs/drjava/model/repl/InteractionsDocumentTest.java
M src/edu/rice/cs/drjava/model/repl/InteractionsDJDocumentTest.java
M src/edu/rice/cs/drjava/model/repl/InteractionsModel.java
M src/edu/rice/cs/drjava/model/repl/newjvm/InterpreterJVM.java
M src/edu/rice/cs/drjava/model/repl/newjvm/MainJVM.java
M src/edu/rice/cs/drjava/model/repl/DefaultInteractionsModel.java
M src/edu/rice/cs/drjava/model/repl/RMIInteractionsModel.java
M src/edu/rice/cs/drjava/model/repl/SimpleInteractionsModel.java
M src/edu/rice/cs/drjava/model/AbstractDJDocument.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/ConsoleController.java
M src/edu/rice/cs/drjava/ui/InteractionsPaneTest.java
M src/edu/rice/cs/drjava/ui/InteractionsController.java
D src/edu/rice/cs/drjava/ui/ConsoleControllerTest.java
M src/edu/rice/cs/drjava/ui/AbstractConsoleController.java
M src/edu/rice/cs/util/text/ConsoleDocument.java

2008-03-23 19:00:35 Tree
[r4412] by mgricken

Fix for MacOS and Linux for getting the svn revision.

2008-03-23 14:06:50 Tree
[r4411] by mgricken

Deleted accidentally created tag.
D https://drjava.svn.sourceforge.net/svnroot/drjava/tags/drjava-stable-20080323-1343-r4409

2008-03-23 13:48:22 Tree
[r4410] by mgricken

Created tag drjava-stable-20080323-1343-r4409

2008-03-23 13:44:02 Tree
[r4409] by mgricken

Added revision number to About and Error dialog, and
to end of file names (drjava-stable-20080323-0743-r4409.jar).

Added -Dno-skip=true parameter to perform a release,
release-beta or release-stable without creating a tag
in the subversion repository.

2008-03-23 12:47:12 Tree
[r4408] by rcartwright

This commit includes some minor changes to the synchronization of
operations in InteractionsDJDocument, InteractionsModel,
AbstractConsoleController, ConsoleController and Interacitons
Controller, which seem to reduced the incidence of synchronization
errors when entering interactions input while a background thread in
the interpreter is continuously generating output (using System.out or
System.err).

The following files were modified:

M src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
M src/edu/rice/cs/drjava/model/definitions/reducedmodel/BraceInfo.java
M src/edu/rice/cs/drjava/model/definitions/reducedmodel/ReducedModelControl.java
M src/edu/rice/cs/drjava/model/definitions/reducedmodel/ReducedModelBrace.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/ui/SimpleInteractionsWindow.java
M src/edu/rice/cs/drjava/ui/ConsoleController.java
M src/edu/rice/cs/drjava/ui/InteractionsController.java
M src/edu/rice/cs/drjava/ui/AbstractConsoleController.java
M src/edu/rice/cs/util/text/ConsoleDocument.java
M src/edu/rice/cs/util/text/ConsoleDocumentTest.java
M src/edu/rice/cs/util/text/SwingDocument.java

2008-03-18 04:24:57 Tree
Older >
MongoDB Logo MongoDB