Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4264] by mgricken

This revision adds an "automatic import" dialog to the Interactions
Pane. If an undefined class is encountered, the dialog will display
all standard Java API classes and let the user select one. If a
class is selected, then DrJava will import that class and re-execute
the erroneous line. If another undefined class is found, the dialog
will appear again. For example, enter the following line:
List l = new LinkedList()
Both List and LinkedList are undefined. The dialog will appear once
to select the class to import for List (make sure to import
java.util.List, not java.awt.List). Then DrJava will re-execute the
line and show the dialog for LinkedList. Once both classes have
been imported, the line is executed without an error.
The history is also modified to include the inserted imports.

M lib/docs.jar
M src/edu/rice/cs/drjava/model/repl/History.java
M src/edu/rice/cs/drjava/model/repl/InteractionsDocument.java
M src/edu/rice/cs/drjava/model/repl/InteractionsModel.java
M src/edu/rice/cs/drjava/config/OptionConstants.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/predictive/PredictiveInputModel.java
M src/edu/rice/cs/drjava/ui/predictive/PredictiveInputFrame.java
M src/edu/rice/cs/drjava/ui/config/ConfigFrame.java

2007-11-15 01:33:48 Tree
[r4263] by mgricken

Included Javadoc pages for 'Show Javadoc for Class'. Only increases executable size by ~100 KB, and no internet required anymore.

2007-11-14 23:27:34 Tree
[r4262] by dlsmith

Major refactoring. Eliminated the old interpreter interface in favor of a newer, simplified one. Redesigned environments for type checking and runtime bindings. Introduced DJClass as a level of indirection from Class objects, making type checking in the presense of non-compiled classes possible. Removed much unnecessary code from the koala/dynamicjava subtree (new code was added to edu/rice/cs/dynamicjava).

2007-11-08 21:36:34 Tree
[r4261] by dlsmith

Added support for Continuations using non-tail recursion. Optimized implementation of Option.unwrap (a number of overloaded methods) to eliminate unnecessary method calls and avoid using a visitor. Added license to newer class files.

2007-10-11 17:09:21 Tree
[r4260] by mgricken

This commit contains two new features:
1) Drag-and-drop for Java files. Files from Windows Explorer,
MacOS Finder, and Nautilus on Linux (other file browsers not
tested) can be dragged and dropped into DrJava. Since
drag-and-drop targets are enabled on a per-component basis
and not globally for a frame or application, there are some
parts of DrJava's GUI that are NOT drop targets. However,
most big GUI parts, like the list and tree navigators, the
interactions pane and the definitions pane, are enabled as
drop targets.
2) Connecting to a running DrJava instance to make it open
files. When DrJava is started and a file (or files) is
specified on the command line (or by dragging and dropping
a file over the DrJava exe on Windows), DrJava will attempt
to open the file in an already existing instance of DrJava.
If no running instance is found, a new instance of DrJava
is started and the file opened. This is accomplished by
letting the first instance of DrJava listen on a socket
(default: 4444) and having subsequent instances send a
message to that socket. If there is no response within
250 ms, it is assumed that no "remote control"-enabled
instance of DrJava is running. To force DrJava to always
start a new instance, the -new command line switch can
be used.

M src/edu/rice/cs/drjava/DrJava.java
M src/edu/rice/cs/drjava/DrJavaRoot.java
M src/edu/rice/cs/drjava/model/repl/DynamicJavaAdapter.java
A src/edu/rice/cs/drjava/RemoteControlServer.java
M src/edu/rice/cs/drjava/config/OptionConstants.java
M src/edu/rice/cs/drjava/CommandLineTest.java
A src/edu/rice/cs/drjava/RemoteControlClient.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/TabbedPanel.java
M src/edu/rice/cs/drjava/ui/config/ConfigFrame.java
M src/edu/rice/cs/drjava/ui/AbstractDJPane.java
M src/edu/rice/cs/util/docnavigation/JListSortNavigator.java
M src/edu/rice/cs/util/docnavigation/JTreeSortNavigator.java
M src/edu/rice/cs/util/PreventExitSecurityManager.java
M src/edu/rice/cs/util/newjvm/SlaveJVMRunner.java
M src/edu/rice/cs/util/newjvm/AbstractSlaveJVM.java

2007-10-10 20:28:34 Tree
[r4259] by mgricken

Created tag drjava-beta-20071003-2147

2007-10-03 21:57:16 Tree
[r4258] by mgricken

Created tag drjava-beta-20071003-0435

2007-10-03 04:44:42 Tree
[r4257] by mgricken

There was a mismatch between the return values of several the "save"
and "close" functions; some used true to indicate success, others to
indicate failure.
This fixed bug [ 1792359 ] when exiting, cancel button does not behave
as expected

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

2007-09-12 00:29:25 Tree
[r4256] by mgricken

This commit fixes the bug
[ 1773173 ] Find All results with similarly-named files

2007-08-29 21:59:48 Tree
[r4255] by mgricken

Change of DrJava License to BSD

2007-08-28 19:17:37 Tree
Older >
MongoDB Logo MongoDB