| Commit | Date | |
|---|---|---|
|
[r4524]
by
dlsmith
Major update with some backwards-incompatible changes. Major changes include: - Changed the signature of Predicate, etc., to return a primitive boolean and changed its method name to "contains". (The previous relationship to Lambda<T, Boolean> was rarely useful and forced inefficient boxing.) Added methods for converting from a Predicate to a Lambda. - Added isStatic() and isEmpty() methods to SizedIterable. Renamed isFixed->hasFixedSize. - Standardized "asFoo" vs. "makeFoo"/"toFoo" methods in IterUtil and CollectUtil. "as" methods should always cast or create a lazy wrapper; "make"/"to" methods create a separate object. The IterUtil.asList, etc., methods were cleaned up based on this rationale and moved to CollectUtil. - Major improvements to Relation. Some interface changes; also added Relation3 and Relation4 interfaces. Implemented AbstractRelation to simplify custom implementations. Defined FunctionalRelation, InjectiveRelation, and OneToOneRelation interfaces, with Abstract... and Hash... implementations for each. Added a variety of basic relations: SingletonRelation, CartesianRelation, ComposedRelation, FilteredRelation, DelegatingRelation, ImmutableRelation. Extracted indexing code in HashRelation into a RelationIndex interface and two concrete RelationIndex implementations. - Misc collect package improvements. Defined PredicateSet and LambdaMap interfaces, so that all implementations here support both interfaces (and PredicateSets are also SizedIterables). Provided simple abstract parent classes for both of these interfaces (AbstractPredicateSet and AbstractKeyBasedMap). Added empty and singleton sets, collections, and maps. Added support for converting iterables to Collections or Sets. - Modified JavaVersion to support Java 7 and to provide special treatment for unknown future versions. - Added FilePredicate, which merges the Predicate and FileFilter interfaces. Added support for and/or/negation of FilePredicates in IOUtil. Added FilePredicates used to uniquely identify a file. - Added EventSequence to help in testing of effects. Note the following renamings (or similar re-implementations) for backwards compatibility: - Predicate.value() -> Predicate.contains() |
2008-06-23 23:26:14 | Tree |
|
[r4523]
by
mgricken
Forgot to add a file. A src/edu/rice/cs/drjava/config/EagerProperty.java |
2008-06-22 20:27:12 | Tree |
|
[r4522]
by
mgricken
Added ${drjavajar.file}, ${drjava.file} and ${java.file} |
2008-06-22 20:25:34 | Tree |
|
[r4521]
by
rcartwright
This revision refactors the various CaretListeners for document panes. The followign files were revised: M src/edu/rice/cs/drjava/model/definitions/DefinitionsDocumentTest.java |
2008-06-21 17:09:07 | Tree |
|
[r4520]
by
rcartwright
This revision cleans up some minor logic errors in AbstractDJDocument The following classes were modified, deleted, and added (as marked): M src/edu/rice/cs/drjava/model/debug/jpda/JPDADebugger.java |
2008-06-17 05:07:27 | Tree |
|
[r4519]
by
rcartwright
This revision adds many assert statements to the core methods in AbstractDJDocument, its descendants, and clients. It also streamlines the logic of some methods in AbstractDJDocument and reduces the recursive locking in the core methods of AbstractDJDocument. This process is far from complete. I am trying to introduce the convention that methods with locking preconditions (e.g. assume the this holds a read lock) begin with the '_' character. In many cases, there is an analogous method that includes the presumed locking operations and it has the same name except for omitting the leading '_' character. The following files were modified: M testFiles/drjava.basic.config |
2008-06-15 07:14:29 | Tree |
|
[r4518]
by
mgricken
Changed the survey code to use the script: http://www.drjava.org/submit-usage.php?os.version=X&os.name=Y&java.vendor=Z&java.version=W |
2008-06-13 23:38:14 | Tree |
|
[r4517]
by
mgricken
This commit adds a date field to the information passed in M src/edu/rice/cs/drjava/ui/DrJavaSurveyPopup.java |
2008-06-13 11:21:38 | Tree |
|
[r4516]
by
mgricken
This commit fixes a problem with the previous commit and prevents the M src/edu/rice/cs/drjava/ui/MainFrame.java |
2008-06-13 06:09:23 | Tree |
|
[r4515]
by
mgricken
This revision adds a dialog that asks the user if DrJava maysend Every three months, DrJava will automatically ask this question when The information gets written into a plain-text file at M src/edu/rice/cs/drjava/config/OptionConstants.java |
2008-06-13 02:28:05 | Tree |