Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4176] by rcartwright

Revised the implementation of getCurrentLine and getCurrentCol in
DefinitionsDocument so that they exploit fast Swing mapping from
offset to paragraph. Revised the caretUpdate method in the
position listener in MainFrame so that is uses caret position rather
than document location (which caused a minor bug in updating
the displayed location). Revised the commenting for SwingWorker.java.

The following files were modified:

M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/util/swing/SwingWorker.java

2007-02-24 10:50:05 Tree
[r4175] by dlsmith

A number of significant improvements and reorganizations to the plt module:

- Most classes now implement Serializable. Anonymous classes that need to be serializable were lifted into a static context (following the recommendation of the Sun serialization spec).

- Added plt.concurrent.ConcurrentUtil, with support for running tasks with return values in another thread or process. Also added a few concurrency and timing-based classes.

- ReflectUtil supports dynamically accessing static fields and methods, in addition to invoking constructors.

- ReflectUtil supports converting methods, constructors, and fields to Lambdas.

- Reorganization in plt.lambda and plt.iter: some static fields were moved into LambdaUtil; some methods were renamed; some methods were added; a few unnecessary class definitions were removed, and a few class definitions were added.

- Added splitter and void writer/output stream classes to plt.io.

- Migrated the util.newjvm.ExecJVM methods to plt.concurrent.ConcurrentUtil.

- Improved tests.

2007-02-23 21:27:47 Tree
[r4174] by rcartwright

This revision makes a number of small changes to the concurrency
structure of DrJava. Readers/writers locking has been added to some
simple operations on documents that make multiple references to a
document. Many redundant uses of readers/writers locking have been
eliminated. Some operations that formerly were moved to the event
thread now run in in the originating thread because they were
determined to be thread safe. The logic for updating the caret in
ConsoleDocuments has been streamlined.

The following documents were changed:

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/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/AbstractDJDocument.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/model/DJDocument.java
M src/edu/rice/cs/drjava/MainController.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/DefinitionsPane.java
M src/edu/rice/cs/drjava/ui/AbstractDJPane.java
M src/edu/rice/cs/drjava/ui/InteractionsPaneTest.java
M src/edu/rice/cs/drjava/ui/DefinitionsPaneTest.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
A src/edu/rice/cs/util/text/ConsoleDocumentInterface.java
M src/edu/rice/cs/util/text/EditDocumentInterface.java
M src/edu/rice/cs/util/text/SwingDocument.java

2007-02-23 20:28:14 Tree
[r4173] by mgricken

Comments out changes from revision 4171, which made DefinitionsPaneTest hang.
M src/edu/rice/cs/util/docnavigation/JListNavigator.java
M src/edu/rice/cs/util/docnavigation/JListSortNavigatorTest.java

2007-02-23 18:29:19 Tree
[r4172] by mgricken

This fixes a problem with the updated multi-document capabilities.
In some situations, the * was not updated when a file was saved.

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

2007-02-22 03:03:43 Tree
[r4171] by mgricken

Added capability to select multiple documents in flat file mode too,
just like in project mode in the previous commit. The context
(right-click) menu will be generated according to the selection.

M src/edu/rice/cs/util/docnavigation/JListNavigator.java
M src/edu/rice/cs/util/docnavigation/JListSortNavigatorTest.java

2007-02-21 20:38:06 Tree
[r4170] by rcartwright

This revision adds substantially more synchronizattion (readers/writers locking on SwingDocuments) in the AbstractConsoleController class and its subclasses.
The following classes were modified:

M src/edu/rice/cs/drjava/model/debug/jpda/JPDADebugger.java
M src/edu/rice/cs/drjava/model/repl/InteractionsDJDocument.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/DefinitionsPane.java
M src/edu/rice/cs/drjava/ui/ConsoleController.java
M src/edu/rice/cs/drjava/ui/AbstractDJPane.java
M src/edu/rice/cs/drjava/ui/ProjectMenuTest.java
M src/edu/rice/cs/drjava/ui/InteractionsController.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/newjvm/SlaveJVMRunner.java

2007-02-21 04:57:49 Tree
[r4169] by mgricken

Added capability to select multiple documents in the project view,
and changed the context (right-click) menu accordingly.

M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
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/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/Utilities.java

2007-02-21 01:53:43 Tree
[r4168] by c45207

The indenter now handles attributes before declarations correctly.

Changed files:
M src/edu/rice/cs/drjava/model/definitions/indent/Indenter.java
M src/edu/rice/cs/drjava/model/definitions/IndentTest.java

2007-02-20 19:02:34 Tree
[r4167] by mgricken

Reverses changes to the MainFrame.open method from revision 4150
that sometimes caused the Open File dialog to appear a second
time after the user had already selected a file to open.
Also changed the project model and made including an external
file or removing an included external file change the project,
i.e. requiring the user to save the project.

M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/ui/MainFrame.java

2007-02-20 00:14:30 Tree
Older >
MongoDB Logo MongoDB