Menu

Legacy SVN Repository Commit Log


Commit Date  
[r4431] by mgricken

Introduced XML project file format. DrJava can open both the old .pjt
and the new .xml format. The first two characters in the file are used
for automatic detection, so the file extension does not matter.

DrJava only saves in the new XML format. If the extension is .pjt,
DrJava asks if the user wants to change the extension to .xml. The
user can also keep the .pjt extension, but the contents of the file
will be XML. (There is an "Export Project in Old .pjt Format" hidden
in the "Help" menu.)

Some bugfixes in XMLConfig, ability to create subconfigurations
that represent a part of the XML document's AST.

"Listen failed on port 0" error due to firewall problems is
detected and explained. DrJava actually terminates if an error
occurs in the MainFrame ctor, instead of just hang.

Added "No Test Cases" option to Find/Replace panel. Ignores
matches in files that end in "Test.java". Fixed backwards
searches (cursor was positioned at the end of the match,
must be at the beginning). "Find All" always searches
forward now (if it searched backwards, the highlights went
in the wrong direction).

Bottom pane resizes automatically to display active pane;
no more problems with bottom pane being initially too small
for Find/Replace panel and Find All results.

Changed highlighter for Find All to a box around the match.
Increased number of colors to 8. Find All will initially
pick the color that has been used the least, but it will
re-use colors: two searches may have the same highlighter
color.

Changed look-and-feel back to CrossPlatformLookAndFeel (Metal)
for anything but Mac OS.

"Create Jar" options and file name saved in project file
again (was removed for unknown reason).

Fixed some tests that did not delete temporary files.

--This line, and those below, will be ignored--

A testFiles/sample-project-file.xml
M src/edu/rice/cs/drjava/DrJavaRoot.java
M src/edu/rice/cs/drjava/model/debug/DebugBreakpointData.java
M src/edu/rice/cs/drjava/model/debug/jpda/JPDADebugger.java
M src/edu/rice/cs/drjava/model/GlobalModel.java
M src/edu/rice/cs/drjava/model/DefaultGlobalModel.java
M src/edu/rice/cs/drjava/model/DummyGlobalModel.java
M src/edu/rice/cs/drjava/model/FindReplaceMachine.java
M src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
M src/edu/rice/cs/drjava/config/OptionConstants.java
M src/edu/rice/cs/drjava/project/ProjectFileParser.java
A src/edu/rice/cs/drjava/project/XMLProjectFileParser.java
A src/edu/rice/cs/drjava/project/XMLProjectFileParserTest.java
M src/edu/rice/cs/drjava/project/ProjectTest.java
M src/edu/rice/cs/drjava/project/ProjectProfile.java
A src/edu/rice/cs/drjava/project/ProjectFileParserFacade.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/DrJavaErrorPopup.java
M src/edu/rice/cs/drjava/ui/DefinitionsPane.java
M src/edu/rice/cs/drjava/ui/TabbedPanel.java
M src/edu/rice/cs/drjava/ui/ProjectMenuTest.java
M src/edu/rice/cs/drjava/ui/FindResultsPanel.java
M src/edu/rice/cs/drjava/ui/FindReplacePanel.java
M src/edu/rice/cs/drjava/ui/DrJavaErrorWindow.java
M src/edu/rice/cs/util/FileOpsTest.java
M src/edu/rice/cs/util/XMLConfigTest.java
M src/edu/rice/cs/util/XMLConfig.java

2008-04-03 08:17:39 Tree
[r4430] by dlsmith

Updated platform.jar

2008-04-02 17:03:32 Tree
[r4429] by dlsmith

Updated Javac160Compiler to filter exe files out of the class path in versions that don't support it

2008-04-02 16:53:44 Tree
[r4428] by rcartwright

This commit fixes a bug in the caching the results of queries to
getIndentCurrStmt in AbstractDJDocument.

M src/edu/rice/cs/drjava/model/AbstractDJDocument.java

2008-04-02 15:30:04 Tree
[r4427] by mgricken

"Find Again" remembers "match case", "whole words" and
"no comments/strings" options as well.

2008-03-31 03:36:24 Tree
[r4426] by mgricken

Changed the layout of the Preferences dialog again.
The rationale for this version is the following:

- If it's just checkboxes (or only checkboxes, buttons, and labels),
like in Notifications or Compiler Options, put the label on the right
side and use both columns, i.e. both the column used for "left labels"
and the column used for the actual components.
- If it's checkboxes mixed with other components, put the label on the
left and word-wrap if the description gets too long.

Even though checkboxes with labels on the left side are non-standard,
having them on the left side saves a lot of space and fits into the
scheme of our dialog.

M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/config/ConfigFrame.java
M src/edu/rice/cs/drjava/ui/config/ConfigPanel.java
M src/edu/rice/cs/drjava/ui/config/BooleanOptionComponent.java
M src/edu/rice/cs/drjava/ui/config/OptionComponent.java
M src/edu/rice/cs/util/StringOps.java

2008-03-30 14:27:14 Tree
[r4425] by patman600

Created drjava-autorefresh branch

2008-03-28 19:14:46 Tree
[r4424] by mgricken

Added "Find Again" button in "Find All" panels to repeat the same search.
Refactored some file properties for the external process facility.
Added "if", "tmpfile", "input", "project.mode", "project.changed",
"project.file", "project.main.class", "project.root" and "project.build.dir"
properties.
Fixed syntax highlighting in execute external process facility.

M src/edu/rice/cs/drjava/config/EagerFileListProperty.java
A src/edu/rice/cs/drjava/config/EagerFileProperty.java
M src/edu/rice/cs/drjava/ui/MainFrame.java
M src/edu/rice/cs/drjava/ui/FindResultsPanel.java
M src/edu/rice/cs/drjava/ui/ExecuteExternalDialog.java
M src/edu/rice/cs/drjava/ui/FindReplacePanel.java
M src/edu/rice/cs/util/StringOps.java

2008-03-28 07:58:42 Tree
[r4423] by dlsmith

PLTUtilities: Updated TreeLog so that it is responsive when GUI events are overwhelmed by logging events (also throttles logging, preventing the queue from getting too large). Modified SwingUtil.clearEventQueue -- it no longer "supports" (by silently failing) calls from the event thread.

2008-03-27 16:50:27 Tree
[r4422] by rcartwright

This revision updates comment formatting in the remaining files not
updated in the previous commit. It also attempts to address a bug in
the implementation of "Find All". When searching is complete and the
requisite highlighting has been recorded but not displayed, the
hourglass barrier on the interactions pane is removed. The code to
update the find/replace panel runs asynchronously in the event thread.
Prior to this commit, this asynchronous thread also updated the state
of the definitions pane (setting the active document). In some cases,
it appears that the definitions pane can be accessed before it
is updated by the asynchronous thread, putting it in an inconsistent
state. In this revision, the code that updates the state of the
definitions pane (at least the part involving the active document) is
performed in the "Find All" thread.

The following files were modified:

M src/edu/rice/cs/drjava/IndentFiles.java
M src/edu/rice/cs/drjava/DrJavaRoot.java
M src/edu/rice/cs/drjava/model/DummyGlobalModelListener.java
M src/edu/rice/cs/drjava/model/debug/DebugTestCase.java
M src/edu/rice/cs/drjava/model/debug/DebugListener.java
M src/edu/rice/cs/drjava/model/debug/jpda/DocumentDebugAction.java
M src/edu/rice/cs/drjava/model/debug/jpda/JPDADebugger.java
M src/edu/rice/cs/drjava/model/debug/jpda/EventHandlerThread.java
M src/edu/rice/cs/drjava/model/debug/jpda/PendingRequestManager.java
M src/edu/rice/cs/drjava/model/GlobalModelIOTest.java
M src/edu/rice/cs/drjava/model/Finalizable.java
M src/edu/rice/cs/drjava/model/GlobalModel.java
M src/edu/rice/cs/drjava/model/cache/DocumentCache.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/GlobalModelCompileErrorsTest.java
M src/edu/rice/cs/drjava/model/definitions/indent/QuestionExistsCharInStmt.java
M src/edu/rice/cs/drjava/model/definitions/CompoundUndoManager.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/definitions/reducedmodel/ReducedModelComment.java
M src/edu/rice/cs/drjava/model/definitions/reducedmodel/AbstractReducedModel.java
M src/edu/rice/cs/drjava/model/GlobalModelCompileSuccessOptionsTest.java
M src/edu/rice/cs/drjava/model/FindReplaceMachineTest.java
M src/edu/rice/cs/drjava/model/GlobalEventNotifier.java
M src/edu/rice/cs/drjava/model/junit/JUnitErrorModel.java
M src/edu/rice/cs/drjava/model/javadoc/DefaultJavadocModel.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/GlobalModelCompileSuccessTestCase.java
M src/edu/rice/cs/drjava/model/DummyOpenDefDoc.java
M src/edu/rice/cs/drjava/model/GlobalModelCompileIOTest.java
M src/edu/rice/cs/drjava/model/GlobalModelCompileTest.java
M src/edu/rice/cs/drjava/model/compiler/DefaultCompilerModel.java
M src/edu/rice/cs/drjava/model/compiler/CompilerErrorModel.java
M src/edu/rice/cs/drjava/model/compiler/NoCompilerAvailable.java
M src/edu/rice/cs/drjava/model/compiler/CompilerModel.java
M src/edu/rice/cs/drjava/model/DummyGlobalModel.java
M src/edu/rice/cs/drjava/model/FileSaveSelector.java
M src/edu/rice/cs/drjava/model/FindReplaceMachine.java
M src/edu/rice/cs/drjava/model/ClipboardHistoryModel.java
M src/edu/rice/cs/drjava/model/GlobalIndentTest.java
M src/edu/rice/cs/drjava/model/DefaultLightWeightParsingControl.java
M src/edu/rice/cs/drjava/model/EventNotifier.java
M src/edu/rice/cs/drjava/model/GlobalModelOtherTest.java
M src/edu/rice/cs/drjava/model/FileGroupingState.java
M src/edu/rice/cs/drjava/model/DJDocument.java
M src/edu/rice/cs/drjava/model/FinalizationListener.java
M src/edu/rice/cs/drjava/config/OptionConstants.java
M src/edu/rice/cs/drjava/config/Configuration.java
M src/edu/rice/cs/drjava/config/KeyStrokeOptionTest.java
M src/edu/rice/cs/drjava/config/KeyStrokeOption.java
M src/edu/rice/cs/drjava/config/NonNegativeIntegerOption.java
M src/edu/rice/cs/drjava/config/Option.java
M src/edu/rice/cs/drjava/config/OptionParseException.java
M src/edu/rice/cs/drjava/ui/InteractionsPane.java
M src/edu/rice/cs/drjava/ui/RecentFileManager.java
M src/edu/rice/cs/drjava/ui/HTMLFrame.java
M src/edu/rice/cs/drjava/ui/PreviewConsoleFrame.java
M src/edu/rice/cs/drjava/ui/SimpleInteractionsWindow.java
M src/edu/rice/cs/drjava/ui/JarOptionsDialog.java
M src/edu/rice/cs/drjava/ui/JavadocDialog.java
M src/edu/rice/cs/drjava/ui/InsertVariableDialog.java
M src/edu/rice/cs/drjava/ui/InteractionsScriptPane.java
M src/edu/rice/cs/drjava/ui/PreviewFrame.java
M src/edu/rice/cs/drjava/ui/MainFrameTest.java
M src/edu/rice/cs/drjava/ui/HistorySaveDialog.java
M src/edu/rice/cs/drjava/ui/InteractionsPaneTest.java
M src/edu/rice/cs/drjava/ui/RegionsTreePanel.java
M src/edu/rice/cs/drjava/ui/RecentFileManagerTest.java
M src/edu/rice/cs/drjava/ui/RecentDocFrame.java
M src/edu/rice/cs/drjava/ui/FindResultsPanel.java
M src/edu/rice/cs/drjava/ui/RegionsListPanel.java
M src/edu/rice/cs/drjava/ui/FindReplacePanel.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/ReverseHighlighter.java
M src/edu/rice/cs/util/FileOps.java
M src/edu/rice/cs/util/text/DocumentEditCondition.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/INavigationListener.java
M src/edu/rice/cs/util/docnavigation/IDocumentNavigatorFactory.java
M src/edu/rice/cs/util/swing/FileChooser.java
M src/edu/rice/cs/util/swing/DirectorySelectorComponent.java
M src/edu/rice/cs/util/swing/ConfirmCheckBoxDialog.java
M src/edu/rice/cs/util/CompletionMonitor.java
M src/edu/rice/cs/util/Log.java
M src/edu/rice/cs/util/newjvm/ExecJVM.java
M src/edu/rice/cs/util/newjvm/SlaveJVMRunner.java
M src/edu/rice/cs/util/newjvm/AbstractSlaveJVM.java
M src/edu/rice/cs/util/newjvm/AbstractMasterJVM.java
M src/edu/rice/cs/util/newjvm/IntegratedMasterSlaveTest.java

2008-03-27 15:08:58 Tree
Older >
MongoDB Logo MongoDB