1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207 |
- 2018-12-31 Per Bothner <per@bothner.com>
- * Options.java: Add support for int-valued options.
- 2018-10-29 Per Bothner <per@bothner.com>
- * SourceError.java (<init>(char,SourceLocator,String)):
- Use SourceMapper.simpleEncode, whcih copies over end position.
- (appendTo): Some non-visible changes to output when on DomTerm:
- Wrap in a special escape sequence and include end position.
- * SourceLocator.java (isRepl): New method.
- 2018-01-19 Per Bothner <per@bothner.com>
- * SourceError.java (appendTo): Escape for html if DomTerm.
- (appendEscape): New helper method.
- 2017-12-23 Per Bothner <per@bothner.com>
- * SourceError.java (appendTo): Highlight link on DomTerm.
- 2017-06-08 Per Bothner <per@bothner.com>
- * SourceLocator.java: Enable source ranges, with ending position.
- (getStartLine, getStartColumn): Start position.
- (getEndLine, getEndColumn): End position.
- (class Simple): A simple implementation of SourceLocator.
- * SourceError.java: Change to inherit from SourceLocator.Simple.
- * SourceMessages.java: Likewise.
- * SourceMapper.java: New class, with helper methods for SourceLocators.
- 2017-04-29 Per Bothner <per@bothner.com>
- * StringCursor.java (toString): New method.
- 2017-02-27 Per Bothner <per@bothner.com>
- * Char.java (append): Trivial optimization.
- 2016-09-03 Per Bothner <per@bothner.com>
- * CaseConvertFormat.java: Moved to gnu.kawa.format.
- * CompoundFormat.java: Moved to gnu.kawa.format.
- * DelimitSubstitutionFormat.java: Moved to gnu.kawa.format.
- * EnglishIntegerFormat.java: Moved to gnu.kawa.format.
- * FlushFormat.java: Moved to gnu.kawa.format.
- * IntegerFormat.java: Moved to gnu.kawa.format.
- * LiteralFormat.java: Moved to gnu.kawa.format.
- * PadFormat.java: Moved to gnu.kawa.format.
- * Printable.java: Moved to gnu.kawa.format.
- * ReportFormat.java: Moved to gnu.kawa.format.
- * RomanIntegerFormat.java: Moved to gnu.kawa.format.
- 2016-06-10 Per Bothner <per@bothner.com>
- * Options.java (booleanValue): New static method.
- (valueOf): Use booleanValue.
- 2016-06-02 Per Bothner <per@bothner.com>
- * Lexer.java (interactive): Make private.
- 2016-02-24 Per Bothner <per@bothner.com>
- * Lexer.java (tentative): New boolean.
- (isTentative, setTentative): New methods.
- 2016-01-11 Per Bothner <per@bothner.com>
- * Lexer.java (readDigitsInBuffer): Fix overflow check.
- Tweak interface to be more flexible.
- (readDigits, readIntDigits): New convenience methods.
- 2015-10-12 Per Bothner <per@bothner.com>
- * StringCursor.java (getValue): New method.
- 2015-06-24 Per Bothner <per@bothner.com>
- * Char.java (toScmReadableString): Fix logic error.
- 2015-06-07 Per Bothner <per@bothner.com>
- * Char.java (valueOf): Add new method - same as old 'make'.
- 2015-04-18 Per Bothner <per@bothner.com>
- * Char.java (IGNORABLE_CHAR): New constant.
- (append): Ignore IGNORABLE_CHAR.
- (nameToChar): Map "ignorable-char" to IGNORABLE_CHAR.
- (toScmReadableString): Perform reverse mapping.
- (writeExternal, readExternal): Simplify - write/read an int.
- 2015-04-15 Per Bothner <per@bothner.com>
- * SourceMessages.java (error): Don't set fakeException
- if it is already set.
- 2015-03-18 Per Bothner <per@bothner.com>
- * StringCursor.java: New class.
- 2015-02-19 Per Bothner <per@bothner.com>
- * ResourceStreamHandler.java (clas): New Class field.
- (makeURL): Set class field in addition to cloader field.
- (openConnection): If we can't find a matching resource, try again
- using the constructed name of the ".class" file.
- 2015-02-16 Per Bothner <per@bothner.com>
- * SourceError.java (printAll): Fix logic in handling excess diagnostics.
- This fixes Savannah bug #44262 "Too many errors".
- (adjustDisplayMax, skipDisplayMessage): Remove methods.
- * SyntaxException (getMessage): Simplify to use printAll.
- * SourceError.java (appendTo): New method, works with Appendable.
- (toString, print, println): Use appendTo.
- (print, println): Generalize and simplify to Appendable.
- * SourceMessages.java (printAll, checkErrors): Likewise.
- 2014-12-09 Per Bothner <per@bothner.com>
- * Char.java (checkCharOrEof): New method.
- 2014-08-31 Per Bothner <per@bothner.com>
- * Makefile.am: Merge in gnu/Makefile.am.
- 2014-07-02 Per Bothner <per@bothner.com>
- * Char.java (castToCharacter, castToCharacterOrEof, isCharOrEof,
- makeOrEof): New static helper methods to support character-or-eof type.
- 2014-06-25 Per Bothner <per@bothner.com>
- * Char.java (class CharMap): Change to a static member class.
- 2014-05-26 Per Bothner <per@bothner.com>
- * SyntaxException.java: Change to inherit from RuntimeException.
- 2014-03-18 Per Bothner <per@bothner.com>
- * Path.java: Moved to gnu/kawa/io.
- * FilePath.java: Likewise.
- * URIPath.java: Likewise.
- * URLPath.java: Likewise.
- 2014-03-17 Per Bothner <per@bothner.com>
- * FilePath.java (valueOf(URI)): New factory method.
- (coerceToFilePathOrNull, resolve): Use new method.
- * FilePath.java (openAppendStream): New method.
- * FilePath.java : Use toFile rather than file field directly.
- 2014-03-02 Per Bothner <per@bothner.com>
- * FilePath.java (isDirectory): Use toFile to adjust for
- non-default currentPath.
- (toUri): Inline static method into non-static method.
- Add '/' is directory.
- (resolve): Use toUri before resolving relative path.
- 2014-02-27 Per Bothner <per@bothner.com>
- * Path.java (userDirPath): Expand user.dir for a less confusing API.
- * Path.java (delete): Remove @Override - only valid if actually
- implementing FileObject.
- 2014-02-16 Per Bothner <per@bothner.com>
- * Path.java: Make sure Error is uncaught or re-thrown.
- * FilePath.java: Likewise.
- * URIPath.java: Likewise.
- * URLPath.java: Likewise.
- 2014-02-12 Per Bothner <per@bothner.com>
- * Char.java (isChar, castToChar): New methods.
- 2014-02-08 Per Bothner <per@bothner.com>
- * Path.java: Catch Exception rather than Throwable, so we
- don't needlessly wrap an Error.
- * FIlePath.java: Likewise.
- * URLPath.java: Likewise.
- * Path.java (deleteFile): New method. Like delete, but throws
- exception on failure, rather than returning false.
- Default implementation throws UnsupportedOperationException.
- (delete): Re-implement to call deleteFile.
- * FilePath.java (deleteFile): Use java.nio.file.Files.delete
- if JAVA7 is selected.
- 2014-02-06 Per Bothner <per@bothner.com>
- * Path.java (pathLocation): Use an anonymous ThreadLocal subclass.
- (currentPath setCurrentPath): Simplify, since functionality
- folded into pathLocation.
- 2014-02-03 Per Bothner <per@bothner.com>
- * Path.java: Get rid of pre-JAVA2 and pre-JAVA4 support.
- (defaultPath): Remove - just use userDirPath instead.
- * Path.java (setCurrentPath): Make argument absolute.
- 2014-01-27 Jamison Hope <jrh@theptrgroup.com>
- * Path.java (coerceToPathOrNull): Handle CharSequence argument.
- * FilePath.java (coerceToFilePathOrNull): Likewise.
- * URIPath.java (coerceToURIPathOrNull): Likewise.
- 2014-01-06 Per Bothner <per@bothner.com>
- * LineBufferedReader.java: Moved to new package gnu.kawa.io.
- * LineInputStreamReader.java: Likewise.
- * NullReader.java: Likewise.
- * PrettyWriter.java: Likewise.
- * QueueReader.java: Likewise.
- * WriterManager.java: Likewise.
- 2014-01-04 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (setSaveStart): New method.
- (markPos, readAheadLimit): Changed invariants.
- * PrettyWriter.java (ensureSpaceInBuffer): Write out buffer also
- when pretty-printing is disabled, so we can handle big files.
- 2013-12-22 Per Bothner <per@bothner.com>
- * DelimitSubstitutionFormat.java: New class, extends ReportFormat.
- * Makefile.am: Update accordingly.
- 2013-12-21 Per Bothner <per@bothner.com>
- * Path.java (getCharContent): Add implementation.
- (readAllBytes): New method.
- * FilePath.java (toFileRaw): Renamed from toFile.
- (toFile): Change to possible adjust for currentPath.
- (readAllBytes): New method.
- 2013-11-28 Per Bothner <per@bothner.com>
- * PrettyWriter.java (buffer): Allocate a non-zero-length buffer.
- (setPrettyPrintingMode, setSharing): Don't need to ensure space.
- (isPassingThrough): Add comment noting this is now always false.
- 2013-09-27 Per Bothner <per@bothner.com>
- * Options.java (pushOptionValues): Fix logic bug.
- (set): Chaneg to return old value, to vaoid fix in pushOptionValues.
- This fixes Savannah bug #40123 "Nested with-compile-options problem".
- 2013-09-24 Per Bothner <per@bothner.com>
- * PrettyWriter.java (resolveBackReferences) Start datum labels at
- 0 rather than 1, for better compatibility with other
- implementations and specs.
- 2013-09-06 Per Bothner <per@bothner.com>
- * PrettyWriter.java (IDHashRemove): New method.
- 2013-09-05 Per Bothner <per@bothner.com>
- * PrettyWriter.java (resolveBackReferences): Copy into the GapBuffer
- any text up to the current position *before* processing
- QITEM_POSNMARKER_TYPE or QITEM_BACKREF_TYPE or other types of items.
- * PrettyWriter.java (GapBuffer.expandBuffer): Was inconsistent
- about expecting a minimum new size, but is passed an increment.
- (GapBuffer.adUpTo): Was inconsistent about taking a count or
- an upper index,
- 2013-08-16 Alex Mitchell <lexaay@gmail.com>
- * Path.java (probeContentType): Fix thinko.
- 2013-08-07 Per Bothner <per@bothner.com>
- * Path.java (toNPath): New method - only if JAVA7 nio.
- (probeContentType): New method.
- * FilePath.java (toNPath): New method override.
- 2013-07-26 Per Bothner <per@bothner.com>
- * LiteralFormat.java (separator): New constant.
- 2013-03-04 Per Bothner <per@bothner.com>
- * ReportFormat.java (format): Generalize to write to Appendable.
- * CaseConvertFormat.java: Likewise.
- * IntegerFormat.java: Likewise.
- * PadFormat.java: Likewise.
- * CompoundFormat.java: Likewise.
- * FlushFormat.java: Likewise. Use Flushable.
- * LiteralFormat.java (text): Internally store String, not char[].
- 2013-02-21 Per Bothner <per@bothner.com>
- * NamedCharTable.java: New utility class.
- * StandardNamedChars.java: New generated class.
- * Makefile.am: Update for new classes.
- Also add rule to generate StandardNamedChars.java.
- 2013-01-20 Per Bothner <per@bothner.com>
- * Char.java (charNameValues): Replace char[] by String.
- (charNames, charNameValues): Add R7RS #\escape and #\null.
- (nameToChar, toScmReadableString): Update accordingly.
- (addNamedChars): New static function, used for
- Translator#standardEntities.
- 2012-12-26 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (readCodePoint, peekCodePoint):
- Four new methods - static and instance.
- * Lexer.java (readCodePoint): New method.
- (readUnicodeChar): Deprecate - reimplement using new
- LineBufferedReader#readCodePoint.
- * Char.java (readExternal): Fix off-by-one bug in surrogate handling.
- 2012-11-28 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (IS_CLOSED): New constant.
- (close): Set IS_CLOSED. Don't crash if already closed.
- (isOpen): New method.
- 2012-11-27 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (EOF_SEEN): New constant.
- (fill): Make protected instead of public. Natbe set EOF_SEEN.
- (sourceReady): New proected method.
- (ready): Return true if EOF_SEEN. Use sourceReady.
- * LineInputStreamReader.java (fill): Make protected instead of public.
- 2012-11-24 Per Bothner <per@bothner.com>
- * PrettyWriter.java: Avoid using a buffer if not pretty-printing or
- sharing. Instead write directly to sink. This reduces buffer
- synchronization issues - for example for BinaryOutPort.
- (isPassingThrough, writeToBase*4): New methods.
- (write*3): If isPassingThrough use writeToBase.
- (buffer): Initialize to a zero-length buffer.
- (setPrettyPrintingMode, setSharing): Allocate non-zero-length buffer.
- 2012-11-20 Per Bothner <per@bothner.com>
- * Char.java (append): New static methods.
- (print): Re-implement using append, and generalize to Appendable.
- 2011-10-08 Charles Turner <chturne@gmail.com>
- * PrettyWriter.java (isSharing, sharing, reallySharing)
- (referenceCount): New fields to augment shared
- (new QITEM's): Extentions to the queue types
- for shared structure printing.
- (writePositionMarker, writeBackReference, writePairEnd)
- (writeEndOfExpression): New methods to enqueue the SRFI-38
- specific queue items.
- (enqueue): Modified to use two data structures depending on
- whether we're printing shared structures or not.
- (ensureSpaceInBuffer): Modified slightly to avoid screwing up back
- references for SRFI-38.
- (resolveBackReferences): New method to repopulate the output
- buffer with SRFI-38 formatting tokens.
- (forcePrettyOutput): Modified slightly to reset some variables
- pertaining to the printing of shared structures.
- (GapBuffer): New static member class to provide efficient buffer
- modifications in resolveBackReferences.
- (idhash, initialiseIDHash, clearIDHash, IDHash*): New fields and
- methods to detect shared structures.
- 2011-04-10 Per Bothner <per@bothner.com>
- * SourceError.java (toString): Support new 'i' severity.
- * SourceMessages.java (error): Likewise.
- 2011-03-18 Per Bothner <per@bothner.com>
- Support --diagnostic-strip-directories command-line option.
- * SourceError.java (toString): Add uperload that takes stripDirectories
- parameter.
- (println): Likewise.
- * SourceMessages.java (stripDirectories): New field.
- (stripDirectoriesDefault): New static field.
- (printAll, toString): Use it.
- 2011-03-04 Per Bothner <per@bothner.com>
- * SourceMessages.java (getCount): New public method.
- (adjustDisplayMax, skipDisplayMessage): New internal methods.
- (printAll): Use new methods for more useful cutoff when there
- are too messages.
- * SyntaxException.java (getMessage): Likewise.
- 2011-02-04 Jamison Hope <jrh@theptrgroup.com>
- * Char.java (CharMap.get): The return from getValue might return null,
- because it's a weak reference.
- 2010-11-27 Per Bothner <per@bothner.com>
- * WriterManager.java (register): Fix thinko.
- Some other minor tweaks.
- (WriterRef): Make a member class.
- 2010-11-14 Per Bothner <per@bothner.com>
- * Char.java (toString): New static convenience function.
- 2010-11-04 Per Bothner <per@bothner.com>
- * Options.java: Modernize. to use generics and Java2 collections.
- (OptionInfo): Change to public member class. New defaultValue field.
- (add): Return OptionInfo.
- (get, getBoolean): New variants that take OptionInfo as parameter.
- Add support for defaulting to another option.
- 2010-06-11 Per Bothner <per@bothner.com>
- * URLPath.java (classResourcePath): If we get a SecurityException,
- try getResource(CLASSNAME+".class");
- 2010-05-24 Per Bothner <per@bothner.com>
- * Lexer.java (readUnicodeChar): New method.
- (readDelimited): New method, moved from QParser.java.
- 2010-05-19 Per Bothner <per@bothner.com>
- * Lexer.java (tokenBufferString): New convenience method.
- 2010-04-18 Per Bothner <per@bothner.com>
- * URLPath.java (getContentLength): Fix thinko.
- 2010-04-13 Per Bothner <per@bothner.com>
- * Path.java (pathLocation): Add generic parameter.
- (currentPath): Remove no-longer-needed cast.
- 2010-04-10 Per Bothner <per@bothner.com>
- * PrettyWriter.java: Wrap caught exceptions in RuntimeException.
- 2010-04-04 Per Bothner <per@bothner.com>
- * Char.java (CharMap.get): Update for changes in AbstractWeakHashTable.
- * QueueReader.java (append): Fix cases where java.lang.CharSequence
- is unavailable.
- 2009-06-01 Per Bothner <per@bothner.com>
- * Char.java (class CharMap): New helper class for mapping Unicode
- scalar value to Char object.
- (hashTable): Change to use CharMap.
- (make): Use CharMap.
- (temp): No longer needed.
- 2009-03-07 Per Bothner <per@bothner.com>
- * Char.java (toScmReadableString): Print hex rather than octal escapes.
- * Char.java (charNames, charNameValues): Add support for R6RS
- character names #\delete, #\alarm, and #\vtab.
- 2009-02-17 Per Bothner <per@bothner.com>
- * URIPath.java (uri): Make final.
- * URLPath.java (url): Make final.
- * FilePath.java (file, path): Make final.
- 2008-12-23 Per Bothner <per@bothner.com>
- * SourceLocator.java: Only implement javax.xml.transform.SourceLocator
- if use:javax.xml.transform PreProcess directive is switched on.
- 2008-11-11 Per Bothner <per@bothner.com>
- * QueueReader.java (checkAvailable): New callback "hook".
- 2008-08-13 Per Bothner <per@bothner.com>
- * LineInputStreamReader.java (fill, fillBytes): Handle underflow
- with CharsetDecoder by calling compact and reading more into the buffer.
- CharsetDecoder doesn't do "partial" characters.
- 2008-03-23 Per Bothner <per@bothner.com>
- * PrettyWriter.java (closeThis): New method.
- 2007-12-30 Per Bothner <per@bothner.com>
- * QueueReader.java: Make implement Appendable.
- Add new append methods, that allow more efficient inserts.
- 2007-09-07 Per Bothner <per@bothner.com>
- * PrettyWriter.java (outputPartialLine): Fix setting of
- bufferStartColumn - needed when not pretty-printing, since in that
- case the buffer may contain newlines.
- 2007-06-11 Per Bothner <per@bothner.com>
- * Path.java: Implement javax.tools.FileObject, but only #ifdef JAVA6.
- (toUri): Rename from toURI, to be compatible with FileObject.
- (toUri): Make final and deprecated.
- (delete, openReader, openWriter, getCharContent, getName): New methods.
- * FilePath.java (delete): New method.
- (toURI): Rename 2 methods to toUri.
- * URIPath.java: Rename toURI to toUri.
- * URLPath.java: Likewise.
- 2007-04-26 Per Bothner <per@bothner.com>
- * SourceMessages.java (error): New overload, takes Throwable.
- 2007-02-23 Per Bothner <per@bothner.com>
- * SourceMessages.java (swapSourceLocator): New method.
- 2007-01-14 Per Bothner <per@bothner.com>
- * Lexer.java (tokenBufferAppend): Fix off-by-one error.
- * FilePath.java (getParent): Handle null parent.
- 2007-01-11 Per Bothner <per@bothner.com>
- * URIPath.java (exists): New method.
- 2007-01-09 Per Bothner <per@bothner.com>
- * URIPath.java (valueOf): Remove unused factory method.
- * Path.java (userDirPath): Define as ".".
- (getAbsolute): Special handling of userDirPath.
- * FilePath.java (toURL, toURI): Likewise.
- * FilePath.java (toURIString): Remove in use:URI case.
- Make in-static in non-use:URI case.
- * FilePath.java (static toURL(File)): Inline in ...
- (toURL()): Also, if not absolute, make it so.
- * Path.java (getDirectory, getParent, getLast, getExtension):
- New component extraction methods.
- * FilePath.java (getLast, getParent): New methods.
- * URIPath.java (getPath): Use URL.getFile rather han URL.getPath
- since latter requires JDK 1.3.
- 2007-01-06 Per Bothner <per@bothner.com>
- * Path.java (isDirectory): New method.
- * FilePath.java (isDirectory): New method.
- 2007-01-05 Per Bothner <per@bothner.com>
- * FilePath.java (toURIString): Fix non-use:java.net.URI Preprocess case.
- * URIPath.java (<init>): Make protected in non-use:URI case, since
- it is needed for URLPath.
- (coerceToFilePathOrNull): Don't use URIStringPath in non-use:URI case.
- (resolve, getUserInfo, getFragment): More fixes.
- 2007-01-04 Per Bothner <per@bothner.com>
- * URI_utils.java: Remove class. Replaced by Path and its subclasses.
- * Makefile.am: Update accordingly.
- * FilePath.java (path): New field.
- (<init>): New and updated constructor.
- (valueOf): Update to set path.
- (isDirectory): New method.
- (toString): Return path.
- (resolve): Check if isDirectory.
- * URIPath.java: Do "encoding" when converting String -> URI.
- (URIStringPath): New class.
- (valueOf(String)): Use it.
- (toString): Just use toURIString.
- (encodeForUri): New method, guts moved from StringUtils.
- Add untested support for surrogate characters.
- 2007-01-03 Per Bothner <per@bothner.com>
- * Path.java (setCurrentPath): New static field.
- * Path.java (getCanonical): New method.
- * URIPath.java (getCanonical): New method.
- * FilePath.java (getCanonical): New method.
- 2007-01-02 Per Bothner <per@bothner.com>
- * Path.java (getScheme, getPath): New abstract methods.
- (getAuthority, getUserInfo, getAbsolute): New default methods.
- * FilePath.jav (getPath): New method.
- (getScheme): Only return "file" is isAbsolute().
- * URIPath.java (getAuthority, getUserInfo, getPath): New methods.
- * LineBufferedReader.java (name): Rename and change field type to ...
- (path): new field.
- (getPath, setPath): New methods.
- (getName, setName): Update
- (getURI): Remove method.
- * LineBufferedReader.java (readLine): Fix 3 little errors.
- * URIPath.jva: Fix bad indenttain of PreProcess directive.
- 2007-01-01 Per Bothner <per@bothner.com>
- * Path.java: Fix typo.
- 2006-12-30 Per Bothner <per@bothner.com>
- * Path.java (coerceToPathOrNull): New static method.
- (valueOf): Implement using coerceToPathOrNull.
- * FilePath.java (coerceToFilePathOrNull): New static method.
- (makeFilePath): Implement using coerceToFilePathOrNull.
- * URIPath.java (coerceToURIPathOrNull): New static method.
- (makeURI): Implement using coerceToURIPathOrNull.
- 2006-12-29 Per Bothner <per@bothner.com>
- * URI_utils.java: Update for move of uriSchemeSpecified and
- uriSchemeLength from InPort to Path.
- * URIPath.java: Likewise.
- * Path.java: New class.
- * FilePath.java: New class, extends Path.
- * URIPath.java: New class, extends Path.
- * URLPath.java: New class, extends URIPath.
- * ResourceStreamHandler.java: New class, extends URLStreamHandler.
- * Makefile.am: Update accordingly.
- * LineInputStreamReader.java: New class, extends LineBufferedReader.
- * Makefile.am: Update accordingly.
- * LineBufferedReader.java: Extend Reader rather than FilterReader.
- This is to support LineInputStreamReader.
- (<init>): Update accordingly.
- (in): New field, rather than using inherited field.
- (close): Add required method.
- * LineBufferedReader.java (DONT_KEEP_FULL_LINES): New flag.
- (setKeepFullLines): Set/clear flag.
- (reserve): Check new flag.
- 2006-12-18 Per Bothner <per@bothner.com>
- * URI_utils.java (exists): New static method.
- 2006-12-14 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (BUFFER_SIZE): Increase to 8192.
- * LineBufferedReader.java (incrLineNumber): New method.
- * SourceLocator.java: Extend org.xml.sax.Locator if SAX2 is set
- regardless of JAXP-1.3.
- 2006-12-12 Per Bothner <per@bothner.com>
- * WriterManager.java (WriterRef): New class extends WeakReference.
- Use it to prefernt a strong reference from WriterManager to Writer.
- (register, unregister): Change to return/take Object rather than index.
- This fixes Savannah bug #15876: "Ports are not reclaimed automatically
- when becoming inaccesible".
- 2006-12-04 Per Bothner <per@bothner.com>
- * URI_utils.java (FiletoURL): Avoid deprecated File.toURL
- if File.toURI is available.
- * URI_utils.java (makeClassResourceURI): Use StringBuilder #ifdef JAVA5.
- * URI_utils.java (relativize): New static method.
- 2006-11-25 Per Bothner <per@bothner.com>
- * SourceMessages.java: Remove needless import.
- 2006-11-24 Per Bothner <per@bothner.com>
- * Lexer.java (tokenBufferAppend): Implement surrogates support.
- 2006-11-22 Per Bothner <per@bothner.com>
- * Char.java: Rename Consumer methods append->write.
- * EnglishIntegerFormat.java: Likewise.
- * ReportFormat.java: Likewise.
- 2006-11-20 Per Bothner <per@bothner.com>
- * Printable.java: Moved from gnu.mapping.
- Change parameter type to Consumer.
- * Makefile.am: Update accordingly.
- * ReportFormat.java (print): New static convenience method.
- 2006-11-18 Per Bothner <per@bothner.com>
- * EnglishIntegerFormat.java: Update writeChars -> append.
- * SourceError.java (toString) Add needed package prefix for the
- PreProcess case where we don't have Throwable.getCause.
- 2006-11-17 Per Bothner <per@bothner.com>
- * Char.java (print(Consumer)): New method.
- (print(int,Consumer)): New static method, handles surrogates.
- 2006-11-13 Per Bothner <per@bothner.com>
- * SourceLocator.java: New interface.
- * Makefile.am (java_sources): Update accordingly.
- * SourceError.java: Implement SourceLocator.
- (<init>): New constructor.
- * Source<Messages.java: Implement SourceLocator.
- (locator): New field.
- (error): New overloads.
- (setSourceLocator, setLocation): New methods.
- * PrettyWriter.java (wordEndSeen): New field.
- (writeWordEnd, writeWordStart, clearWordEnd): New method.
- (write*2, enqueueNewline): Clear wordEndSeen.
- 2006-10-21 Per Bothner <per@bothner.com>
- * PrettyWriter.java (isPrettyPrinting): Replace public boolean by ...
- (prettyPrintingMode): non-public new 3-valued int.
- (isPrettyPrinting, setPrettyPrinting, getPrettyPrintingMode,
- setPrettyPrintingMode): New access functions.
- (write, write): Only translate ' ' to NEWLINE_SPACE if
- prettyPrintingMode == 2.
- * URI_utils.java: Don't use WeakHashMap to map URI to ClassLoader.
- Use new class table2D instead.
- 2006-10-15 Per Bothner <per@bothner.com>
- * SourceMessages.java (error): New overloaded method.
- 2006-09-13 Per Bothner <per@bothner.com>
- * PrettyWriter.java (maybeOutput): New parameter 'flushing'.
- If flushing, force output, using outputPartialLine.
- (forcePrettyOutput): Call maybeOutput in flushing mode.
- * PrettyWriter.java (getColumnNumber): Fix off-by-one error.
- 2006-09-12 Per Bothner <per@bothner.com>
- * URI_utils.java (resolve): Make sure invalid URI characters are
- quoted before calling URI.resolve.
- 2006-09-11 Per Bothner <per@bothner.com>
- * SourceError.java: Remove unused import.
- * Lexer.java: Remove unused local variable.
- 2006-09-06 Per Bothner <per@bothner.com>
- * Char.java: Remove unused private constructor.
- * SourceMessages.java (error): Remove unused local 'compilation'.
- * Optiona.java (pushOptionValues): Remove unused local 'oldValue'.
- 2006-08-26 Per Bothner <per@bothner.com>
- * PrettyWriter.java: Minor debugging+comment improvements.
- 2006-08-08 Per Bothner <per@bothner.com>
- * URI_utils.java (lastModified): New static method.
- 2006-05-25 Per Bothner <per@bothner.com>
- * SourceMessages.java (seenErrorsOrWarnings): New method.
- 2006-04-10 Dean Ferreyra <dferreyra@igc.org>
- Per Bothner <per@bothner.com>
- * SourceError.java (fakeException): New field.
- (toString): If fakeException is non-null include stack trace in result.
- * SourceMessages.java (debugStackTraceOnWarning,
- debugStackTraceOnError): New static globals.
- (error): Make fakeException if requested.
- 2006-02-26 Per Bothner <per@bothner.com>
- * SourceError.java (code): New field.
- (toString): If code field is non-null, display it.
- * SourceMessages.java (error(char,String,String)): New method.
- 2006-01-12 Per Bothner <per@bothner.com>
- * URI_utils.java (toFileOrURL): Fix some problems with File handling.
- 2006-01-10 Per Bothner <per@bothner.com>
- * URI_utils.java (FiletoURL, toURL): New methods.
- (FiletoURI): Use fileToURL.
- 2006-01-07 Per Bothner <per@bothner.com>
- * URI_utils.java (makeClassResourceURI): New method.
- (resourceURL): Largely rewrite for modified "class-resource:/"
- uri-scheme handling.
- (CLASS_RESOURCE_URI_SCHEME): Rename to CLASS_RESOURCE_URI_PREFIX
- and add '/'.
- (CLASS_RESOURCE_URI_SCHEME_LENGTH): Likewise increment and
- rename to CLASS_RESOURCE_URI_PREFIX_LENGTH.
- (resolve): Give more precise return type.
- 2006-01-04 Per Bothner <per@bothner.com>
- * URI_utils.java (isAbsolute, resourceURL, toFileOrURL,
- getInputStream, getOutputStream, nametoURI, FiletoURI, resolve,
- getClassLoaderForURI, setClassLoaderForURI): New static methods.
- (CLASS_RESOURCE_URI_SCHEME, CLASS_RESOURCE_URI_SCHEME_LENGTH):
- New constants.
- (toURI):: Changes to use new methods.
- * LineBufferedReader.java (name): Generalize name field to Object.
- (getName, setName): Change to match.
- (getURI): New method.
- 2006-01-02 Per Bothner <per@bothner.com>
- * URI_utils.java: Moved from gnu.kawa.functions.
- * Makefile.am: Update accordingly.
- 2005-12-21 Per Bothner <per@bothner.com>
- * WriterManager.java (register): Add one to return value, so it is
- always positive, hence we can use zero to mean 'not registered'.
- (unregister): If index is 0, ignore it. Otherwise, subtract one.
- 2005-12-10 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (skipRestOfLine): New method.
- 2005-09-07 Per Bothner <per@bothner.com>
- * SourceError.java (totring): Check that line is non-zero.
- 2005-07-21 Per Bothner <per@bothner.com>
- * PrettyWriter.java (lineLengthLoc, miserWidthLoc, indentLoc):
- New fields contains fluids for controlling output.
- (startLogicalBlock): If queue is empty, check width etc.
- (getMiserWidth): Use parameter instead of hard-wired.
- 2005-05-17 Per Bothner <per@bothner.com>
- * SourceError.java (message): Can contain muliple lines.
- (println(PrintStream), println(PrintWriter)): New methods.
- * SourceMessages.java (printAll): Use new println methods.
- 2005-04-03 Per Bothner <per@bothner.com>
- * Lexer.java: Fix a javadoc typo.
- * Options.java: Likewise.
- * SourceMessages.java: Likewise.
- 2005-03-17 Per Bothner <per@bothner.com>
- * SourceMessages.java (sortMessages): New boolean field.
- (error): Only sort if sortMessages, which now defaults to false.
- 2005-01-30 Per Bothner <per@bothner.com>
- * SourceMessages.java (error): Put fatal errors at the end.
- 2005-01-28 Per Bothner <per@bothner.com>
- * Char.java ($Eq, $Ls, $Gr, $Ls$Eq, $Gr$Eq): Remove now-unused methods.
- 2005-01-19 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (read): Return before buffer full if
- input buffer exhausted and we got at least one char.
- 2005-01-02 Per Bothner <per@bothner.com>
- * PrettyWriter.java (NEWLINE_SPACE): New newline-kind.
- (write [3 variants]): Maybe enqueue a NEWLINE_SPACE.
- * PrettyWriter.java: Some more normally-commented-out debug stuff.
- * Char.java: Change "select" (preprocessor) syntax.
- 2005-01-01 Per Bothner <per@bothner.com>
- * LiteralFormat.java (content): New method.
- 2004-08-05 Per Bothner <per@bothner.com>
- * PrettyWriter.java (endLogicalBlock): Fix "dangling pointer" bug.
- * PrettyWriter.java (check): New debugging method.
- * PrettyWriter.java: Renamed QUEUED_OP_XXX to short QITEM_XXX.
- Renamed QUEUED_OP_SIZE TO QITEM_BASE_SIZE.
- Renamed QUEUED_OP_TYPE to QITEM_TYPE_AND_SIZE.
- 2004-07-28 Per Bothner <per@bothner.com>
- * Options.java (keys): Make non-recursive.
- 2004-07-27 Chris Dean <ctdean@sokitomi.com>
- * Options.java: Add keys() function.
- 2004-07-20 Per Bothner <per@bothner.com>
- * IntegerFormat.java: Remove useless import statements.
- * LiteralFormat.java (toString): Adding a String and a char[]
- doesn't behave as expected.
- 2004-06-12 Per Bothner <per@bothner.com>
- * Lexer.java (pushNesting, popNesting): Moved from XQParser.
- * LineBufferedReader.java (readState, getReadState):
- Moved from gnu.mapping.InPort.
- 2004-06-07 Per Bothner <per@bothner.com>
- * PrettyWriter.java (maybeOutput): Clear currentBlock if needed.
- 2004-05-28 Per Bothner <per@bothner.com>
- * CompoundFormat.java (format): Check for missing argument.
- * IntegerFormat.java (format): Check for missing argument.
- 2004-05-22 Per Bothner <per@bothner.com>
- * PrettyWriter.java (currentBlock): -1 now means none.
- (startLogicalBlock, endLogicalBlock): Update accordinly.
- (endLogicalBlock): Simplify and correct test.
- * PrettyWriter.java
- (QUEUED_OP_BLOCK_PREFIX): Renamed to QUEUED_OP_BLOCK_START_SUFFIX.
- Fix value of this and QUEUED_OP_BLOCK_START_SUFFIX to avoid conflict.
- (QUEUED_OP_BLOCK_START_SIZE): Adjust accordingly.
- * PrettyWriter.java: Improved commented-out debugging tools.
- 2004-03-08 Per Bothner <per@bothner.com>
- * Text.java: Implement Comparable, and Map.Entry, if JAVA2.
- (compareTo): New method.
- 2003-11-20 Per Bothner <per@bothner.com>
- * Lexer.java, SourceError.java, SourceMessages.java,
- SyntaxException.java: Improved Javadoc comments.
- 2003-11-10 Per Bothner <per@bothner.com>
- * IntegerFormat.java (MIN_DIGITS): New flag.
- (format): Handle new flag.
- 2003-10-20 Per Bothner <per@bothner.com>
- * Options.java (valueOf): Allow "on"/"off" for boolean options.
- 2003-10-19 Per Bothner <per@bothner.com>
- * Options.java (valueTable, infoTable): Only allocate when needed.
- (reset, getLocal, getBoolean(String, boolean), pushOptionValues,
- popOptionValues): New methods.
- 2003-10-16 Per Bothner <per@bothner.com>
- * Options.java: New class.
- * Makefile.am: Update accordingly.
- 2003-09-04 Per Bothner <per@bothner.com>
- * PrettyWriter.java (<init>): Fix thinko in parameter name.
- 2003-05-10 Per Bothner <per@bothner.com>
- * Lexer.java (checkNext): Moved from XQParser.java. Re-written.
- 2003-05-02 Per Bothner <per@bothner.com>
- * SyntaxException.java (SyntaxException): New constructor.
- (maxToPrint): New field.
- (getMessage): New method.
- 2003-04-18 Per Bothner <per@bothner.com>
- * Lexer.java (mark, reset): New methods.
- 2002-12-11 Per Bothner <per@bothner.com>
- * PrettyWriter.java (QUEUED_OP_DUMMY_TYPE):
- Rename constant to QUEUED_OP_NOP_TYPE.
- (indexColumn, dumpQueue, outputPartialLine): If queued op is
- QUEUED_OP_NOP_TYPE, there is no posn, so skip it.
- (forcePrettyOutput): Clear queueSize. This avoids a future
- ArrayIndexOutOfBoundsException.
- 2002-07-21 Per Bothner <per@bothner.com>
- * SourceMessages.java (getFile, getLine, getColumn, setFile, setLine,
- setLine, error): New messages.
- (current_filename, current_line, current_column): New fields.
- 2002-06-26 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (skip): More robust newline handling.
- The old implementation got line numbers off.
- (read(char[],int,int)): Likewise.
- 2002-06-18 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (reserve): Fix logic error.
- (countLines): Change 2nd parameter from length to limit.
- 2002-06-02 Per Bothner <per@bothner.com>
- * PrettyWriter.java (outputLine): Copy prefix to new buffer, not
- original one. Fixes bug reported by Mirko.Luedde@Computer.Org.
- 2002-02-13 Per Bothner <per@bothner.com>
- * Char.java (toString): Print char in Java format, e.g. "'\t'".
- * Char.java: No longer implements Printable.
- Thus no gnu.text no longer depends on gnu.mapping.
- (print): Remove method.
- 2002-01-29 Per Bothner <per@bothner.com>
- * SyntaxException.java (header): New field.
- (getHeader, setHeader): New methods.
- (printAll): First print header, if non-null.
- 2002-01-23 Per Bothner <per@bothner.com>
- * Lexer.java (interactive): New field.
- (isInteractive, setInteractive): New methods.
- * Lexer.java (eofError): New method.
- 2001-12-24 Per Bothner <per@bothner.com>
- * IntegerFormat.java: Remove dependencies on gnu.math.
- Move them to new class gnu.kawa.functions.IntegerFormat.
- (base, minWidth, padChar, commaChar, commaInterval, flags): Now public.
- (plainDecimalFormat, getInstance): Move to new class.
- (asInteger): Remove method.
- (convertToIntegerString): New method.
- 2001-11-12 Per Bothner <per@bothner.com>
- * Lexer.java (unread): Only unread if character is not eof.
- 2001-10-02 Per Bothner <per@bothner.com>
- * PrettyWriter.java (isPrettyPrinting): Set in constructors only.
- 2001-08-23 Per Bothner <per@bothner.com>
- * PrettyWriter.java (setIndentation): Fix handling of 'prefix' local
- cache for 'prefix' field.
- Fixes bug reported by Felix S Klock II <pnkfelix@MIT.EDU>.
- 2001-08-16 Per Bothner <per@bothner.com>
- * SourceMessages.java (printAll): Make public.
- * SourceMessages.java (clear): New method.
- * SyntaxException.java (clear): New method.
- 2001-07-17 Per Bothner <per@bothner.com>
- * EnglishIntegerFormat.java: For now disable FormatToConsumer support.
- 2001-07-06 Thomas Kirk <tk@research.att.com>
- * PrettyWriter.java(ensureSpaceInBuffer): Don't call
- outputPartialLine when isPrettyPrinting is false (e.g. when
- printing to a CharArrayOutPort).
- 2001-06-03 Per Bothner <per@bothner.com>
- * PrettyWriter.java: New class, extends Writer.
- * WriterManager.java: New class.
- * Makefile.am (java_sources): Add new classes.
- * EnglishIntegerFormat.java: Experimental FormatConsumer support.
- 2001-04-22 Per Bothner <per@bothner.com>
- * Char.java (nameToChar): Try looking for named char, ignoring case.
- If we see C-X (for any X), return the corresponding control character.
- * Lexer.java (getName, getLineNumber, getColumnNumber): New methods.
- * Lexer.java (tokenBuffer, tokenBufferLength): New public fields.
- (tokenBufferAppend): New method.
- 2000-08-16 Per Bothner <per@bothner.com>
- * ReportFormat.java (getParam): If no args passed return defaultValue.
- * ReportFormat.java (format(Object,int,Writer,FieldPosition)): New
- method overloading - a convenience method.
- * IntegerFormat.java (format): New overload. The perpose is to allow
- format to be called with a single argument, and not require an array.
- 2000-06-19 Per Bothner <per@bothner.com>
- * Char.java: New file, moved from gnu.kawa.util.
- ($Eq, $Ls, $Gt, $Ls$Eq, $Ls$gr): New static methods.
- * IntegerFormat.java: New class, bases on old LispIntegerFormat
- from kawa/standard/LispFormat.java.
- * ReportFormat.java (PARAM_FROM_LIST, PARAM_FROM_COUNT,
- PARAM_UNSPECIFIED): Moved from kawa/standard/LispFormat.
- (getFormat): Static methods moved from LispFormat.
- 2000-05-28 Per Bothner <per@bothner.com>
- * CharArrayInPort.java: Moved to gnu.mapping.
- * LispReader.java: Moved to new package gnu.kawa.lispexpr.
- * Makefile.am (java_JAVA): Updated accordingly.
- 2000-03-17 Per Bothner <per@bothner.com>
- * LispReader.java (readEscape): Split into two overloaded methods.
- (Mainly so `?\ ' in ELisp can be treated as space.)
- 2000-02-27 Per Bothner <per@bothner.com>
- Various tweaks for better javadoc processing.
- * overview.html: Renamed to package.html.
- 2000-02-19 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (fill): Change parameters.
- 2000-01-24 Per Bothner <per@bothner.com>
- * QueueReader.java: New classes, moved from kawa/lang.
- * Makefile.am, Makefile.in (java_JAVA): Add QueueReader.java.
- 2000-01-23 Per Bothner <per@bothner.com>
- * SourceMessages.java (errorCount): Make private.
- * Lexer.java (clearErrors): Use SourceMessages.errorCount method.
- 1999-12-10 Per Bothner <per@bothner.com>
- * NullReader.java, CharArrayInPort.java: Moved from kawa/lang.
- * Makefile.am, Makefile.in (java_JAVA): Add new files.
- 1999-10-20 Bruce Lewis <brlewis@alum.mit.edu>
- * gnu/text/LispReader.java: readListBody now takes an int
- argument for endDelimiter; -1 means read to EOF. This facilitates
- reading an entire file with line/column info.
- 1999-09-05 Per Bothner <per@bothner.com>
- * LineBufferedReader.java (readLine): New overloaded version.
- * SourceMessages.java (checkErrors): New method overloading.
- For both versions, do not return true if only warnings were seen.
- * LispReader.java (readEscape): Move here from ELispReader.
- 1999-06-30 Per Bothner <per@bothner.com>
- * PadFormat.java (format): Trivial optimization.
- 1999-04-22 Per Bothner <bothner@Magnus.Cygnus.COM>
- * SourceMessages.java: New class (collection of SourceError).
- * Makefile.am, Makefile.in (java_JAVA): Add SourceMessages.java.
- * Lexer.java: Re-written - error handling now using SourceMessages.
- * LispReader.java (readlistBody, readList): New overloads that
- take an explicit end delimiter, not just ')'.
- * SourceError.java (printAll): Replaced by SourceMessages.printAll.
- * SyntaxException.java (lexer): Lexer field replaced by ...
- (messages): ... new SourceMessages field. Change methods to match.
- Thu Mar 11 11:14:49 1999 Per Bothner <bothner@Magnus.Cygnus.COM>
- * LispReader.java: New class.
- * Makefile.am (java_JAVA), Makefile.in: Add LispReader.java.
- Thu Jun 25 22:36:19 1998 Per Bothner <bothner@cygnus.com>
- New directory.
|