Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4180] by dlsmith

Made ConsList serializable; added a getProperties() method to ConcurrentUtil to get a filtered list of current properties; improved log-creation process (added support for a plt.log.factory property pointing to a static method); Dan discovered that "insure" is spelled "ensure" when you're not talking about money

2007-02-26 18:53:52 Tree
[r4179] by rcartwright

This revision streamlines the implementation of the getLength
operation on ODD's; the new implementation uses the _image stored in
the DDReconstructor for the tdocument if the DefintionsDocument does
not exist (eliminating the construction of the DefinitionsDocument).
The revision also simplifies the implementation of the newFile()
operation in AbstractGlobalModel.java.

The following files were modified:

M src/edu/rice/cs/drjava/model/cache/DocumentCache.java
M src/edu/rice/cs/drjava/model/cache/DocumentCacheTest.java
M src/edu/rice/cs/drjava/model/cache/DCacheAdapter.java
M src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
M src/edu/rice/cs/drjava/model/repl/newjvm/MainJVM.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/CommandLineTest.java
M src/edu/rice/cs/drjava/ui/DefinitionsPane.java
M src/edu/rice/cs/drjava/ui/AbstractDJPane.java
M src/edu/rice/cs/util/NullFile.java

2007-02-26 17:03:05 Tree
[r4178] by mgricken

Changed save function to make it reselect document
in flat file view.

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

2007-02-26 14:25:34 Tree
[r4177] by mgricken

This changes the way gotoLine is done by using Swing's line-to-
offset conversion instead of the reduced model.

M src/edu/rice/cs/drjava/model/DummyOpenDefDoc.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/model/OpenDefinitionsDocument.java

2007-02-25 19:37:31 Tree
[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
Older >
MongoDB Logo MongoDB