Menu

Legacy SVN Repository Commit Log


Commit Date  
[r3764] by mgricken

Set svn:mime-type to application/octet-stream for WinExecutorForDrJava.exe
Set binary="yes" for windows-app ant task.

2006-04-10 20:26:28 Tree
[r3763] by dlsmith

Removed "svn:keywords" and "svn:eol-style" tags from WinExecutorForDrJava.exe

2006-04-10 19:38:32 Tree
[r3762] by mgricken

Option to put the focus in the defpane after find/replace.
See Preferences/Misc.

2006-04-10 16:53:34 Tree
[r3761] by mgricken

Fixed some problems with getEnclosingClassName: Initializer blocks
and anonymous inner classes with class names containing dots
(new Inner.Middle.Outer() { ... }) are now handled correctly.
The method is still very slow, though. I re-enabled it for determining
if a breakpoint is on an executable line if the file is less than
500 lines long.

M src/edu/rice/cs/drjava/model/debug/DocumentDebugAction.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocumentTest.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java
M src/edu/rice/cs/drjava/model/DefaultLightWeightParsingControl.java
M src/edu/rice/cs/drjava/model/OpenDefinitionsDocument.java
M src/edu/rice/cs/drjava/ui/MainFrame.java

2006-04-10 09:56:20 Tree
[r3760] by mgricken

This commit fixes two bugs:
[ 1467537 ] NullPointerException After Close All Files/Open Folder
[ 1466590 ] Cancel in "Save?" Dialogs on Quit
The first bug was caused by File.listFiles returning null in case
of an IO error. I looked for every use of File.listFiles and inserted
a check for null.
The second bug was mainly handled by doing a round of canAbandonFile
calls that take care of saving and possibly cancelling. Only if all
files were processed that way, all files were closed.

The commit also removes the uses of getEnclosingClassName, which
unfortunately is incorrect and slow.

M src/edu/rice/cs/drjava/model/DummyGlobalModelListener.java
M src/edu/rice/cs/drjava/model/debug/DocumentDebugAction.java
M src/edu/rice/cs/drjava/model/GlobalModelTestCase.java
M src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocumentTest.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java
M src/edu/rice/cs/drjava/model/DefaultJavadocModel.java
M src/edu/rice/cs/drjava/model/GlobalEventNotifier.java
M src/edu/rice/cs/drjava/model/junit/DefaultJUnitModel.java
M src/edu/rice/cs/drjava/model/GlobalModelListener.java
M src/edu/rice/cs/drjava/model/GlobalModelJUnitTest.java
M src/edu/rice/cs/drjava/model/DummyOpenDefDoc.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/SingleDisplayModel.java
M src/edu/rice/cs/drjava/model/OpenDefinitionsDocument.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/JarOptionsDialog.java
M src/edu/rice/cs/drjava/ui/config/ConfigFrame.java
M src/edu/rice/cs/util/FileOps.java
M src/edu/rice/cs/util/jar/JarBuilder.java

2006-04-10 07:09:16 Tree
[r3759] by rcartwright

This file was supposed to be included in the last commit.

2006-04-09 20:53:27 Tree
[r3758] by rcartwright

Fixes several important bugs including:

(i) Poor performance bug in loading large projects. Every document in
a project was being parsed at project load time to extract its package name.
The new version gets the package names for project source files from
the project file, eliminating the need to read every file in the
project at load time.

(ii) Unit testing behaved erratically in the presence of modified
source files, out-of-sync class files, and open non-source files. In
the last case, it would not run at all. The "automatically compile
before testing" option failed most of the time and the combination of
"always save before compiling" and "automatically compile before
testing" failed in several different ways. The new version ignores
non-source files and supports any combination of "always save before
compiling" and "automatically compile before testing" that the user
requests. When files are automatically compiled before testing, the
slave JVM is not restarted (restarting is wasteful and could cause
synchronization problems since the slave JVM actually runs the unit
tests).

(iii) The unit tests for unit testing support (GlobalModelJUnitTest)
and for project support (ProjectMenuTest) were flawed.
GlobalModelJUnitTest did not check for the right behavior when testing
out of sync classfiles or modified source files. ProjectMenuTest did
not properly check the handling of auxiliary project files.

2006-04-09 20:27:33 Tree
[r3757] by coolpipe
2006-04-08 16:05:18 Tree
[r3756] by jon-lugo

made some more changes to the async framework and switched the clean build dir over to the new scheme

2006-04-08 14:25:30 Tree
[r3755] by mgricken

- Breakpoints set on lines that are not executable are now not set at all
(if the lines are empty or the class has already been loaded into the
debugger), or they are set but later disabled (if the debugger is not
active or the class has not been loaded yet)

- Code to determine the actual class name, given the offset in a document,
has been added. This includes all top-level, nested, inner, and anonymous
inner classes. The package name is prefixed. Class names are separated
by $. Example: edu.rice.cs.drjava.DrJava$NestedClass$1$2

* Known bug: initializer blocks throw getEnclosingClassName off:
class Foo { { /* initializer block */ }

- Fixed a bug in findPrevNonWSCharPos. It was scanning for the end of a
comment, but it had to scan for the "reverse" of the beginning of a
comment.

- Code to find the opening and closing brace (any type) has been added.
User can go to opening/closing brace {} by using Ctrl-Shift-[].

- Beginning of lightweight parsing: User can enable/disable parsing
in Preferences/Miscellaneous and set a delay. Parsing will begin only
after the delay has passed after the last keystroke.

- Currently, the only lightweight parsing being done is determining the
actual class the cursor is in (using getEnclosingClassName). This is
more a test of how lightweight parsing could be integrated.

- I have noticed that the _currentLocation in an AbstractDJDocument
is usually off -- it's not equal to the view's caret position. This is
because it is not being reset in AbstractDJDocument.getHighlightStatus
for speed reasons (see comment there). I have added a method
getCaretPosition() to OpenDefinitionsDocument. The concrete implementations
buffer this value.

- Fixed a bug with cached class files: When files are compiled or the
build directory is cleared, the cached values for the class files were
not cleared. The result was an out-of-sync document even though it was
freshly compiled.

M src/edu/rice/cs/drjava/model/debug/EventHandlerThread.java
M src/edu/rice/cs/drjava/model/debug/DocumentDebugAction.java
M src/edu/rice/cs/drjava/model/debug/JPDADebugger.java
M src/edu/rice/cs/drjava/model/debug/PendingRequestManager.java
AM src/edu/rice/cs/drjava/model/debug/LineNotExecutableException.java
M src/edu/rice/cs/drjava/model/debug/Breakpoint.java
M src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocument.java
M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocumentTest.java
AM src/edu/rice/cs/drjava/model/LightWeightParsingControl.java
AM src/edu/rice/cs/drjava/model/LightWeightParsingListener.java
M src/edu/rice/cs/drjava/model/AbstractDJDocument.java
M src/edu/rice/cs/drjava/model/DummyOpenDefDoc.java
M src/edu/rice/cs/drjava/model/compiler/DefaultCompilerModel.java
M src/edu/rice/cs/drjava/model/DummyGlobalModel.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
AM src/edu/rice/cs/drjava/model/DefaultLightWeightParsingControl.java
M src/edu/rice/cs/drjava/model/SingleDisplayModel.java
M src/edu/rice/cs/drjava/model/DJDocument.java
M src/edu/rice/cs/drjava/model/OpenDefinitionsDocument.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/config/ConfigFrame.java

2006-04-08 13:52:17 Tree
Older >
MongoDB Logo MongoDB