mit-scheme.git
20 years agoImplement better fix for READ-FINISH operation in ttyio. Export all
Chris Hanson [Wed, 6 Oct 2004 18:46:59 +0000 (18:46 +0000)]
Implement better fix for READ-FINISH operation in ttyio.  Export all
of the PORT-TYPE/ operation accessors.

20 years agoFix think-o in READ-FINISH that caused infinite loop when reading an
Chris Hanson [Wed, 6 Oct 2004 13:48:51 +0000 (13:48 +0000)]
Fix think-o in READ-FINISH that caused infinite loop when reading an
atom.

20 years agoEliminate another instance of WITHOUT-INTERRUPTS that was being used
Chris Hanson [Fri, 1 Oct 2004 17:04:58 +0000 (17:04 +0000)]
Eliminate another instance of WITHOUT-INTERRUPTS that was being used
to turn interrupts on.

20 years agoIt's now OK to flush output during GC. (Whew!)
Chris Hanson [Fri, 1 Oct 2004 04:39:32 +0000 (04:39 +0000)]
It's now OK to flush output during GC.  (Whew!)

20 years agoFix usage of WITHOUT-INTERRUPTS that actually turns interrupts _on_.
Chris Hanson [Fri, 1 Oct 2004 04:32:36 +0000 (04:32 +0000)]
Fix usage of WITHOUT-INTERRUPTS that actually turns interrupts _on_.

20 years agoFix WNA typo.
Chris Hanson [Fri, 1 Oct 2004 04:32:09 +0000 (04:32 +0000)]
Fix WNA typo.

20 years agoShow bit of illegal interrupt.
Chris Hanson [Fri, 1 Oct 2004 03:39:02 +0000 (03:39 +0000)]
Show bit of illegal interrupt.

20 years agoMove WITH-LIMITED-INTERRUPTS from "global.scm" to "boot.scm".
Chris Hanson [Fri, 1 Oct 2004 02:48:06 +0000 (02:48 +0000)]
Move WITH-LIMITED-INTERRUPTS from "global.scm" to "boot.scm".

20 years agoLimit interrupts to GC rather than forcing them to GC. This allows
Chris Hanson [Fri, 1 Oct 2004 02:43:49 +0000 (02:43 +0000)]
Limit interrupts to GC rather than forcing them to GC.  This allows
state-space transitions to occur during the GC.  (Not that this is a
good thing to do!)

20 years agoUpdate copyright statement.
Chris Hanson [Fri, 1 Oct 2004 02:40:39 +0000 (02:40 +0000)]
Update copyright statement.

20 years agoEliminate unused WITHOUT-BACKGROUND-INTERRUPTS.
Chris Hanson [Fri, 1 Oct 2004 02:32:03 +0000 (02:32 +0000)]
Eliminate unused WITHOUT-BACKGROUND-INTERRUPTS.

20 years agoRemove ENABLE-INTERRUPTS! and add GET-INTERRUPT-ENABLES.
Chris Hanson [Fri, 1 Oct 2004 02:29:35 +0000 (02:29 +0000)]
Remove ENABLE-INTERRUPTS! and add GET-INTERRUPT-ENABLES.

20 years agoChange WITHOUT-INTERRUPTS and WITHOUT-BACKGROUND-INTERRUPTS to use
Chris Hanson [Fri, 1 Oct 2004 02:26:55 +0000 (02:26 +0000)]
Change WITHOUT-INTERRUPTS and WITHOUT-BACKGROUND-INTERRUPTS to use
WITH-LIMITED-INTERRUPTS rather than WITH-INTERRUPT-MASK.

20 years agoImplement LIMIT-INTERRUPTS!.
Chris Hanson [Fri, 1 Oct 2004 02:16:49 +0000 (02:16 +0000)]
Implement LIMIT-INTERRUPTS!.

20 years agoImplement WITH-LIMITED-INTERRUPTS.
Chris Hanson [Fri, 1 Oct 2004 02:15:20 +0000 (02:15 +0000)]
Implement WITH-LIMITED-INTERRUPTS.

20 years agoEliminate unused ENABLE-INTERRUPTS! and define GET-INTERRUPT-ENABLES.
Chris Hanson [Fri, 1 Oct 2004 01:53:10 +0000 (01:53 +0000)]
Eliminate unused ENABLE-INTERRUPTS! and define GET-INTERRUPT-ENABLES.

20 years agoCan't flush output during gc.
Chris Hanson [Thu, 30 Sep 2004 20:02:48 +0000 (20:02 +0000)]
Can't flush output during gc.

20 years agoCosmetic changes.
Chris Hanson [Thu, 30 Sep 2004 20:00:36 +0000 (20:00 +0000)]
Cosmetic changes.

20 years agoFix typo.
Chris Hanson [Mon, 27 Sep 2004 17:08:34 +0000 (17:08 +0000)]
Fix typo.

20 years agoFix infinite recursion in new strategy. Be more careful about
Chris Hanson [Wed, 15 Sep 2004 02:56:51 +0000 (02:56 +0000)]
Fix infinite recursion in new strategy.  Be more careful about
performing operations only when appropriate.

20 years agoChange strategy used to manage the emacs interface: just swap port
Chris Hanson [Tue, 14 Sep 2004 20:06:19 +0000 (20:06 +0000)]
Change strategy used to manage the emacs interface: just swap port
types on the console port.  This modulates the behavior without
messing with any of the state.

20 years agoImplement SET-PORT/TYPE!.
Chris Hanson [Tue, 14 Sep 2004 20:01:36 +0000 (20:01 +0000)]
Implement SET-PORT/TYPE!.

20 years agoImplement SET-PORT/TYPE!.
Chris Hanson [Tue, 14 Sep 2004 20:00:27 +0000 (20:00 +0000)]
Implement SET-PORT/TYPE!.

20 years agoEliminate some unused code. Minor stylistic cleanups.
Chris Hanson [Tue, 14 Sep 2004 19:51:56 +0000 (19:51 +0000)]
Eliminate some unused code.  Minor stylistic cleanups.

20 years agoFix typo in CASE syntax: no expressions in a clause is OK.
Chris Hanson [Tue, 14 Sep 2004 01:37:16 +0000 (01:37 +0000)]
Fix typo in CASE syntax: no expressions in a clause is OK.

20 years agoFix problem with console echoing in READ-FINISH.
Chris Hanson [Fri, 10 Sep 2004 18:01:36 +0000 (18:01 +0000)]
Fix problem with console echoing in READ-FINISH.

20 years agoRevert change to NON-POINTER-OBJECT?. The resulting code doesn't work
Chris Hanson [Sun, 15 Aug 2004 04:54:45 +0000 (04:54 +0000)]
Revert change to NON-POINTER-OBJECT?.  The resulting code doesn't work
properly on win32 for some reason.

20 years agoFix typo.
Chris Hanson [Sat, 14 Aug 2004 19:17:10 +0000 (19:17 +0000)]
Fix typo.

20 years agoCache the immediate traps. There's no need to have more than one copy
Chris Hanson [Sat, 14 Aug 2004 05:51:46 +0000 (05:51 +0000)]
Cache the immediate traps.  There's no need to have more than one copy
of each.

20 years agoMake printer more robust when printing objects that might contain
Chris Hanson [Sat, 14 Aug 2004 04:57:12 +0000 (04:57 +0000)]
Make printer more robust when printing objects that might contain
reference traps.

20 years agoFix code that constructs HTML documents, by removing IRI from "html"
Chris Hanson [Thu, 12 Aug 2004 06:31:43 +0000 (06:31 +0000)]
Fix code that constructs HTML documents, by removing IRI from "html"
root name.

20 years agoFix bug: the root name of a DTD must be a qname; it may not have an
Chris Hanson [Thu, 12 Aug 2004 06:31:01 +0000 (06:31 +0000)]
Fix bug: the root name of a DTD must be a qname; it may not have an
associated IRI.

20 years agoFix typo. Edit for style.
Chris Hanson [Thu, 12 Aug 2004 06:18:44 +0000 (06:18 +0000)]
Fix typo.  Edit for style.

20 years agoIn CONVERT-XML-STRING-VALUE, make sure error message has "XML" in it.
Chris Hanson [Tue, 10 Aug 2004 01:09:41 +0000 (01:09 +0000)]
In CONVERT-XML-STRING-VALUE, make sure error message has "XML" in it.

20 years agoExport FLATTEN-XML-ELEMENT-CONTENTS.
Chris Hanson [Tue, 10 Aug 2004 01:03:02 +0000 (01:03 +0000)]
Export FLATTEN-XML-ELEMENT-CONTENTS.

20 years agoFix definitions of entities so that they work with all character sets.
Chris Hanson [Sat, 24 Jul 2004 04:39:49 +0000 (04:39 +0000)]
Fix definitions of entities so that they work with all character sets.

20 years agoFix bug: DTD can't have namespace on its root element name.
Chris Hanson [Sat, 24 Jul 2004 04:29:45 +0000 (04:29 +0000)]
Fix bug: DTD can't have namespace on its root element name.

20 years agoFix broken character definitions. (Arrgh.)
Chris Hanson [Sat, 24 Jul 2004 04:21:58 +0000 (04:21 +0000)]
Fix broken character definitions.  (Arrgh.)

20 years agoFix thinko in call to MAKE-XML-!ENTITY.
Chris Hanson [Sat, 24 Jul 2004 04:03:09 +0000 (04:03 +0000)]
Fix thinko in call to MAKE-XML-!ENTITY.

20 years agoAdd support for XHTML predefined entities. These are available only
Chris Hanson [Sat, 24 Jul 2004 03:45:54 +0000 (03:45 +0000)]
Add support for XHTML predefined entities.  These are available only
when the document has an XHTML DTD.

20 years agoAdd predicates to identify XHTML DTDs.
Chris Hanson [Sat, 24 Jul 2004 03:19:23 +0000 (03:19 +0000)]
Add predicates to identify XHTML DTDs.

20 years agoChange HTML-EXTERNAL-DTD to HTML-EXTERNAL-ID.
Chris Hanson [Sat, 24 Jul 2004 03:03:24 +0000 (03:03 +0000)]
Change HTML-EXTERNAL-DTD to HTML-EXTERNAL-ID.

20 years agoAdd constructors to aid in building conformant XHTML documents.
Chris Hanson [Sat, 24 Jul 2004 02:26:24 +0000 (02:26 +0000)]
Add constructors to aid in building conformant XHTML documents.

20 years agoAdd support for XHTML 1.1.
Chris Hanson [Sat, 24 Jul 2004 02:12:20 +0000 (02:12 +0000)]
Add support for XHTML 1.1.

20 years agoFix some text that isn't right for Edwin. (closes: [bugs #7233])
Chris Hanson [Thu, 22 Jul 2004 03:01:50 +0000 (03:01 +0000)]
Fix some text that isn't right for Edwin.  (closes: [bugs #7233])

20 years agoMove generic XML convenience procedures from "xhtml.scm" to
Chris Hanson [Mon, 19 Jul 2004 17:36:48 +0000 (17:36 +0000)]
Move generic XML convenience procedures from "xhtml.scm" to
"xml-struct.scm".  Add new procedures STANDARD-XML-ELEMENT-CONSTRUCTOR
and STANDARD-XML-ELEMENT-PREDICATE.

20 years agoExport FLATTEN-XML-ELEMENT-CONTENTS.
Chris Hanson [Mon, 19 Jul 2004 17:20:40 +0000 (17:20 +0000)]
Export FLATTEN-XML-ELEMENT-CONTENTS.

20 years agoUpdate list of element names to cover exactly those elements defined
Chris Hanson [Mon, 19 Jul 2004 04:45:20 +0000 (04:45 +0000)]
Update list of element names to cover exactly those elements defined
by XHTML 1.0 strict, and no others.  Add some context information, for
use in styling and analysis.

New procedures GUARANTEE-HTML-ELEMENT, HTML-ELEMENT-NAME?,
GUARANTEE-HTML-ELEMENT-NAME, HTML-ELEMENT-CONTEXT,
HTML-ELEMENT-NAME-CONTEXT, HTML-ELEMENT-NAMES.  Rename HTML-ATTRS to
XML-ATTRS.  Rename HTML:COMMENT to XML-COMMENT and move it to
"xml-struct".

20 years agoAllow HTML:COMMENT to take anything that satisfies XML-CHAR-DATA? as
Chris Hanson [Sun, 18 Jul 2004 04:34:06 +0000 (04:34 +0000)]
Allow HTML:COMMENT to take anything that satisfies XML-CHAR-DATA? as
an argument.  Also, be a little smarter about when to add leading or
trailing whitespace.

20 years agoAdd support for NMTOKENS values.
Chris Hanson [Thu, 15 Jul 2004 19:50:43 +0000 (19:50 +0000)]
Add support for NMTOKENS values.

20 years agoGeneralize HTML-ATTRS to allow xml-attribute objects as arguments,
Chris Hanson [Thu, 15 Jul 2004 18:25:07 +0000 (18:25 +0000)]
Generalize HTML-ATTRS to allow xml-attribute objects as arguments,
interspersed with keyword pairs.

20 years agoAdd XHTML support.
Chris Hanson [Thu, 15 Jul 2004 18:16:49 +0000 (18:16 +0000)]
Add XHTML support.

20 years agoAllow SYMBOL to accept characters as arguments.
Chris Hanson [Thu, 15 Jul 2004 04:07:40 +0000 (04:07 +0000)]
Allow SYMBOL to accept characters as arguments.

20 years agoImplement SYMBOL.
Chris Hanson [Thu, 15 Jul 2004 04:05:39 +0000 (04:05 +0000)]
Implement SYMBOL.

20 years agoImplement HTML-ELEMENT?.
Chris Hanson [Mon, 12 Jul 2004 19:08:36 +0000 (19:08 +0000)]
Implement HTML-ELEMENT?.

20 years agoMove xhtml support into this package. Change names to contain "html"
Chris Hanson [Mon, 12 Jul 2004 19:05:36 +0000 (19:05 +0000)]
Move xhtml support into this package.  Change names to contain "html"
so they don't conflict with others.

20 years agoNew macro RULE-MATCHER. Rewrite rule-matching mechanism to make it
Chris Hanson [Mon, 5 Jul 2004 03:59:36 +0000 (03:59 +0000)]
New macro RULE-MATCHER.  Rewrite rule-matching mechanism to make it
more abstract.

20 years agoFix typo.
Chris Hanson [Sun, 4 Jul 2004 05:37:25 +0000 (05:37 +0000)]
Fix typo.

20 years agoAdd new operations to categorize type codes.
Chris Hanson [Sun, 4 Jul 2004 05:28:56 +0000 (05:28 +0000)]
Add new operations to categorize type codes.

20 years agoAdd new primitive TYPE->GC-TYPE.
Chris Hanson [Sun, 4 Jul 2004 05:23:43 +0000 (05:23 +0000)]
Add new primitive TYPE->GC-TYPE.

20 years agoOBJECT-GC-TYPE is no longer a primitive.
Chris Hanson [Fri, 2 Jul 2004 01:00:46 +0000 (01:00 +0000)]
OBJECT-GC-TYPE is no longer a primitive.

20 years agoFix definitions of OBJECT-POINTER? and OBJECT-NON-POINTER? so they are
Chris Hanson [Fri, 2 Jul 2004 00:54:07 +0000 (00:54 +0000)]
Fix definitions of OBJECT-POINTER? and OBJECT-NON-POINTER? so they are
more accurate.

20 years agoUse OBJECT-NON-POINTER? rather than NON-POINTER-OBJECT?.
Chris Hanson [Fri, 2 Jul 2004 00:51:53 +0000 (00:51 +0000)]
Use OBJECT-NON-POINTER? rather than NON-POINTER-OBJECT?.

20 years agoFix typo in previous change.
Chris Hanson [Thu, 1 Jul 2004 15:23:56 +0000 (15:23 +0000)]
Fix typo in previous change.

20 years agoMove REGISTER-TYPES-COMPATIBLE? to arch-independent file.
Chris Hanson [Thu, 1 Jul 2004 01:19:59 +0000 (01:19 +0000)]
Move REGISTER-TYPES-COMPATIBLE? to arch-independent file.

20 years agoImplement XML-PROCESSING-INSTRUCTIONS-HANDLERS.
Chris Hanson [Mon, 28 Jun 2004 03:27:04 +0000 (03:27 +0000)]
Implement XML-PROCESSING-INSTRUCTIONS-HANDLERS.

20 years agoImplement XML-MISC-CONTENT-ITEM?.
Chris Hanson [Mon, 28 Jun 2004 03:26:20 +0000 (03:26 +0000)]
Implement XML-MISC-CONTENT-ITEM?.

20 years agoFix valid-content tests on output of processing instructions to
Chris Hanson [Sun, 27 Jun 2004 06:26:33 +0000 (06:26 +0000)]
Fix valid-content tests on output of processing instructions to
correspond to those in xml-struct.

20 years agoAdd support for fractional seconds in ISO 8601 times.
Chris Hanson [Wed, 23 Jun 2004 03:45:50 +0000 (03:45 +0000)]
Add support for fractional seconds in ISO 8601 times.

20 years agoUpdate menu: delete missing section in hash-table docs.
Chris Hanson [Wed, 16 Jun 2004 01:55:18 +0000 (01:55 +0000)]
Update menu: delete missing section in hash-table docs.

20 years agoMust lock table during REHASH-TABLE!.
Chris Hanson [Sun, 13 Jun 2004 04:14:22 +0000 (04:14 +0000)]
Must lock table during REHASH-TABLE!.

20 years agoMake sure hashing operations integrate as I intended. Reduce table
Chris Hanson [Sat, 12 Jun 2004 03:46:22 +0000 (03:46 +0000)]
Make sure hashing operations integrate as I intended.  Reduce table
locking to protect against abort but not simultaneous access.

20 years agoReimplement PRIME-NUMBERS-STREAM to use less space.
Chris Hanson [Sat, 12 Jun 2004 02:15:48 +0000 (02:15 +0000)]
Reimplement PRIME-NUMBERS-STREAM to use less space.

20 years agoImplement SMALLEST-FIXNUM and LARGEST-FIXNUM.
Chris Hanson [Sat, 12 Jun 2004 02:14:56 +0000 (02:14 +0000)]
Implement SMALLEST-FIXNUM and LARGEST-FIXNUM.

20 years agoReflect new hash-table implementation.
Chris Hanson [Mon, 7 Jun 2004 19:54:30 +0000 (19:54 +0000)]
Reflect new hash-table implementation.

20 years agoNew hash-table implementation.
Chris Hanson [Mon, 7 Jun 2004 19:47:57 +0000 (19:47 +0000)]
New hash-table implementation.

20 years agoWhen closing a port, don't try to flush output if the channel is
Chris Hanson [Thu, 27 May 2004 16:06:31 +0000 (16:06 +0000)]
When closing a port, don't try to flush output if the channel is
already closed.

20 years agoExport UTF-xx input ports.
Chris Hanson [Thu, 27 May 2004 14:04:32 +0000 (14:04 +0000)]
Export UTF-xx input ports.

20 years agoAdd missing error checking to UTF-8 decoder: was allowing illegal code
Chris Hanson [Thu, 27 May 2004 14:03:06 +0000 (14:03 +0000)]
Add missing error checking to UTF-8 decoder: was allowing illegal code
points.  Simplify code that checks for illegal code points; some of
the checks were redundant.  Implement object buffering, and use it to
reimplement wide-string format conversions and ports.  Implement input
ports for UTF-xx strings.

20 years agoImplement byte sources.
Chris Hanson [Wed, 26 May 2004 17:43:18 +0000 (17:43 +0000)]
Implement byte sources.

20 years agoAdd procedures to do output directly to UTF-xx strings.
Chris Hanson [Wed, 26 May 2004 17:05:56 +0000 (17:05 +0000)]
Add procedures to do output directly to UTF-xx strings.

20 years agoFix bug in handling of wide strings.
Chris Hanson [Wed, 26 May 2004 17:03:14 +0000 (17:03 +0000)]
Fix bug in handling of wide strings.

20 years agoUse new procedure PORT/SUPPORTS-CODING? to eliminate error when
Chris Hanson [Wed, 26 May 2004 15:26:29 +0000 (15:26 +0000)]
Use new procedure PORT/SUPPORTS-CODING? to eliminate error when
writing XML to string.

20 years agoAdd new procedure PORT/SUPPORTS-CODING?.
Chris Hanson [Wed, 26 May 2004 15:20:22 +0000 (15:20 +0000)]
Add new procedure PORT/SUPPORTS-CODING?.

20 years agoWhen deciding whether it is legal to associate an IRI with a name,
Chris Hanson [Wed, 26 May 2004 10:52:11 +0000 (10:52 +0000)]
When deciding whether it is legal to associate an IRI with a name,
distinguish between a name with no prefix and a name that is not
namespace well formed.  The former may have an IRI, and the latter may
not.

20 years agoGeneralize code to toggle Dired sort order.
Chris Hanson [Tue, 30 Mar 2004 04:45:01 +0000 (04:45 +0000)]
Generalize code to toggle Dired sort order.

20 years agoNew port abstraction is hiding unread characters from the underlying
Chris Hanson [Tue, 30 Mar 2004 04:27:52 +0000 (04:27 +0000)]
New port abstraction is hiding unread characters from the underlying
port operations; consequently, the buffer-input implementation was
returning the wrong value for the current mark.  This has been kludged
around.

20 years agoAllow "utf7" and "utf8" character sets.
Chris Hanson [Wed, 24 Mar 2004 21:16:55 +0000 (21:16 +0000)]
Allow "utf7" and "utf8" character sets.

20 years agoChange PAGE_READWRITE to PAGE_EXECUTE_READWRITE, so that XP SP2
Chris Hanson [Tue, 9 Mar 2004 06:26:50 +0000 (06:26 +0000)]
Change PAGE_READWRITE to PAGE_EXECUTE_READWRITE, so that XP SP2
doesn't invalidate all execution in the heap.

20 years agoDon't try to allocate zero-length string in RELOAD-SAVE-STRING.
Chris Hanson [Tue, 9 Mar 2004 03:46:42 +0000 (03:46 +0000)]
Don't try to allocate zero-length string in RELOAD-SAVE-STRING.

20 years agoINPUT-PORT/READ-STRING wasn't returning an EOF object when needed.
Chris Hanson [Thu, 26 Feb 2004 19:05:06 +0000 (19:05 +0000)]
INPUT-PORT/READ-STRING wasn't returning an EOF object when needed.

20 years agoFix typo that prevented EOF from being properly detected.
Chris Hanson [Thu, 26 Feb 2004 19:03:58 +0000 (19:03 +0000)]
Fix typo that prevented EOF from being properly detected.

20 years agoUpdate version number to reflect changes.
Chris Hanson [Thu, 26 Feb 2004 18:31:41 +0000 (18:31 +0000)]
Update version number to reflect changes.

20 years agoAllow a name to contain colons as specified by the XML standard.
Chris Hanson [Thu, 26 Feb 2004 04:52:03 +0000 (04:52 +0000)]
Allow a name to contain colons as specified by the XML standard.
However, don't allow association of an IRI with the name unless the
name uses a single colon as specified by the namespace standard.

20 years agoFix thinko in handling of name parsing.
Chris Hanson [Thu, 26 Feb 2004 04:50:14 +0000 (04:50 +0000)]
Fix thinko in handling of name parsing.

20 years agoRestore colon as name-initial char.
Chris Hanson [Thu, 26 Feb 2004 01:58:53 +0000 (01:58 +0000)]
Restore colon as name-initial char.

20 years agoRemove now-obsolete code that forces output coding to UTF-8.
Chris Hanson [Thu, 26 Feb 2004 01:52:24 +0000 (01:52 +0000)]
Remove now-obsolete code that forces output coding to UTF-8.

20 years agoGenerate BOM on output for those encodings that require it.
Chris Hanson [Wed, 25 Feb 2004 21:00:52 +0000 (21:00 +0000)]
Generate BOM on output for those encodings that require it.

20 years agoFix bugs in implementation of UTF-32 coding.
Chris Hanson [Wed, 25 Feb 2004 20:59:29 +0000 (20:59 +0000)]
Fix bugs in implementation of UTF-32 coding.

20 years agoAdd name for BOM character.
Chris Hanson [Wed, 25 Feb 2004 20:59:02 +0000 (20:59 +0000)]
Add name for BOM character.