mit-scheme.git
19 years agoAdd support for partial URI parsing. This is useful for completion.
Chris Hanson [Mon, 30 May 2005 04:42:36 +0000 (04:42 +0000)]
Add support for partial URI parsing.  This is useful for completion.

19 years agoImplement GET-OUTPUT-STRING!, which gets the accumulated output from
Chris Hanson [Mon, 30 May 2005 04:10:47 +0000 (04:10 +0000)]
Implement GET-OUTPUT-STRING!, which gets the accumulated output from
an string output port and resets the accumulator to zero.  Change
GET-OUTPUT-STRING so it doesn't reset the accumulator.

19 years agoComplete rewrite of URI support to comply with RFC 3986.
Chris Hanson [Mon, 30 May 2005 02:48:55 +0000 (02:48 +0000)]
Complete rewrite of URI support to comply with RFC 3986.

19 years agoAdd expressions to implement limited repeating patterns.
Chris Hanson [Mon, 30 May 2005 02:46:52 +0000 (02:46 +0000)]
Add expressions to implement limited repeating patterns.

19 years agoImplement MERGE-URIS and BASE-URI?. Change path representation to
Chris Hanson [Thu, 26 May 2005 17:43:20 +0000 (17:43 +0000)]
Implement MERGE-URIS and BASE-URI?.  Change path representation to
have marker for absolute rather than relative.  Disallow #F as path;
use '() instead.

19 years agoRearrange for readability.
Chris Hanson [Thu, 26 May 2005 13:24:32 +0000 (13:24 +0000)]
Rearrange for readability.

19 years agoChange representation of URI to simplify interface. Fix some parsing
Chris Hanson [Thu, 26 May 2005 05:38:42 +0000 (05:38 +0000)]
Change representation of URI to simplify interface.  Fix some parsing
bugs.  Tighten type checking in MAKE-URI.

19 years agoMove PARSE-RELATIVE-URI up to improve readability.
Chris Hanson [Wed, 25 May 2005 03:18:22 +0000 (03:18 +0000)]
Move PARSE-RELATIVE-URI up to improve readability.

19 years agoImplement regular expressions for URIs.
Chris Hanson [Wed, 25 May 2005 03:16:12 +0000 (03:16 +0000)]
Implement regular expressions for URIs.

19 years agoFix typo: fragment was allowed twice.
Chris Hanson [Wed, 25 May 2005 03:15:27 +0000 (03:15 +0000)]
Fix typo: fragment was allowed twice.

19 years agoAdd optional CALLER argument to ->URI.
Chris Hanson [Tue, 24 May 2005 19:53:42 +0000 (19:53 +0000)]
Add optional CALLER argument to ->URI.

19 years agoChange DEFINE-GUARANTEE to make CALLER argument optional.
Chris Hanson [Tue, 24 May 2005 19:53:07 +0000 (19:53 +0000)]
Change DEFINE-GUARANTEE to make CALLER argument optional.

19 years agoDocument procedure arity and generic procedures.
Chris Hanson [Tue, 24 May 2005 19:20:11 +0000 (19:20 +0000)]
Document procedure arity and generic procedures.

19 years agoDocument procedure arity and generic procedures.
Chris Hanson [Tue, 24 May 2005 19:19:30 +0000 (19:19 +0000)]
Document procedure arity and generic procedures.

19 years agoComplete rewrite of URL support. New design implements generic codec
Chris Hanson [Tue, 24 May 2005 04:50:50 +0000 (04:50 +0000)]
Complete rewrite of URL support.  New design implements generic codec
support for URIs as defined in RFC 2396, which is both more general
and easier to use than the old design.

All names have been changed to use the string "uri" rather than "url".
A minimal number of URL procedures has been retained to support IMAIL
until it is rewritten to use the new design.

The package has been renamed to '(runtime uri).

19 years agoAllow restart reporter to be specified in breakpoints.
Chris Hanson [Tue, 24 May 2005 04:46:44 +0000 (04:46 +0000)]
Allow restart reporter to be specified in breakpoints.

19 years agoImplement URL:CHAR-SET:SCHEME and URL:PARSE:SCHEME.
Chris Hanson [Fri, 20 May 2005 04:08:10 +0000 (04:08 +0000)]
Implement URL:CHAR-SET:SCHEME and URL:PARSE:SCHEME.

19 years agoBump version and date.
Chris Hanson [Fri, 20 May 2005 02:15:49 +0000 (02:15 +0000)]
Bump version and date.

19 years agoDocument how READ now takes an optional environment argument and uses
Chris Hanson [Fri, 20 May 2005 02:14:24 +0000 (02:14 +0000)]
Document how READ now takes an optional environment argument and uses
it to resolve control variables.

19 years agoFix bugs in handling of distinguished characters "^", "-", and "]" in
Chris Hanson [Tue, 17 May 2005 18:12:04 +0000 (18:12 +0000)]
Fix bugs in handling of distinguished characters "^", "-", and "]" in
CHAR-SET->REGEXP.

19 years agoFix implementation of alphabetic character sets for URL parsing.
Chris Hanson [Tue, 17 May 2005 05:22:51 +0000 (05:22 +0000)]
Fix implementation of alphabetic character sets for URL parsing.

19 years agoGuarantee canonicalized symbols when loading files.
Chris Hanson [Sat, 30 Apr 2005 05:23:00 +0000 (05:23 +0000)]
Guarantee canonicalized symbols when loading files.

19 years agoMake sure that symbols are canonicalized when loading the optiondb
Chris Hanson [Sat, 30 Apr 2005 05:10:37 +0000 (05:10 +0000)]
Make sure that symbols are canonicalized when loading the optiondb
files.

19 years agoGuarantee canonicalized symbols when loading files.
Chris Hanson [Sat, 30 Apr 2005 05:09:55 +0000 (05:09 +0000)]
Guarantee canonicalized symbols when loading files.

19 years agoAdd indentation for COUNT-MATCHING-ITEMS and COUNT-NON-MATCHING-ITEMS.
Chris Hanson [Thu, 28 Apr 2005 04:36:22 +0000 (04:36 +0000)]
Add indentation for COUNT-MATCHING-ITEMS and COUNT-NON-MATCHING-ITEMS.

19 years agoImplement COUNT-MATCHING-ITEMS and COUNT-NON-MATCHING-ITEMS.
Chris Hanson [Thu, 28 Apr 2005 04:33:50 +0000 (04:33 +0000)]
Implement COUNT-MATCHING-ITEMS and COUNT-NON-MATCHING-ITEMS.

19 years agoEliminate NULL type-code name.
Chris Hanson [Sat, 16 Apr 2005 04:30:51 +0000 (04:30 +0000)]
Eliminate NULL type-code name.

19 years agoForce arity folding for GENERIC-PROCEDURE-ARITY.
Chris Hanson [Sat, 16 Apr 2005 04:26:35 +0000 (04:26 +0000)]
Force arity folding for GENERIC-PROCEDURE-ARITY.

19 years agoMAKE-PROCEDURE-ARITY must not simplify the result by default.
Chris Hanson [Sat, 16 Apr 2005 04:22:35 +0000 (04:22 +0000)]
MAKE-PROCEDURE-ARITY must not simplify the result by default.

19 years agoUse new procedure-arity abstraction to simplify logic.
Chris Hanson [Sat, 16 Apr 2005 04:16:05 +0000 (04:16 +0000)]
Use new procedure-arity abstraction to simplify logic.

19 years agoUse new procedure-arity abstraction to simplify logic.
Chris Hanson [Sat, 16 Apr 2005 04:05:39 +0000 (04:05 +0000)]
Use new procedure-arity abstraction to simplify logic.

19 years agoAdd abstraction for procedure-arity objects.
Chris Hanson [Sat, 16 Apr 2005 03:39:35 +0000 (03:39 +0000)]
Add abstraction for procedure-arity objects.

19 years agoAdd finer discrimination for built-in constant types.
Chris Hanson [Sat, 16 Apr 2005 03:17:26 +0000 (03:17 +0000)]
Add finer discrimination for built-in constant types.

19 years agoEliminate NULL type-code name.
Chris Hanson [Sat, 16 Apr 2005 03:15:22 +0000 (03:15 +0000)]
Eliminate NULL type-code name.

19 years agoDon't use NULL type-code name.
Chris Hanson [Sat, 16 Apr 2005 03:08:47 +0000 (03:08 +0000)]
Don't use NULL type-code name.

19 years agoAdd finer discrimination for built-in constant types.
Chris Hanson [Sat, 16 Apr 2005 02:23:26 +0000 (02:23 +0000)]
Add finer discrimination for built-in constant types.

19 years agoChange BUILT-IN-DISPATCH-TAG so that it accepts each of the different
Chris Hanson [Thu, 14 Apr 2005 04:42:53 +0000 (04:42 +0000)]
Change BUILT-IN-DISPATCH-TAG so that it accepts each of the different
names for a given microcode type code.

19 years agoFix thinko.
Chris Hanson [Tue, 12 Apr 2005 18:47:57 +0000 (18:47 +0000)]
Fix thinko.

19 years agoFix thinko.
Chris Hanson [Tue, 12 Apr 2005 18:39:46 +0000 (18:39 +0000)]
Fix thinko.

19 years agoEliminate use of potential generic procedures in implementation of
Chris Hanson [Tue, 12 Apr 2005 18:36:35 +0000 (18:36 +0000)]
Eliminate use of potential generic procedures in implementation of
generic-procedure dispatch.

19 years agoFix typo.
Chris Hanson [Tue, 12 Apr 2005 18:28:31 +0000 (18:28 +0000)]
Fix typo.

19 years agoContinued changes to pass environment to READ and WRITE where
Chris Hanson [Fri, 1 Apr 2005 05:09:26 +0000 (05:09 +0000)]
Continued changes to pass environment to READ and WRITE where
possible.  Change interfaces of

REPL-READ
REPL-EVAL
REPL-WRITE
PROMPT-FOR-EXPRESSION
PROMPT-FOR-COMMAND-EXPRESSION
WRITE-RESULT

and their associated hooks/methods so that environment is passed
consistently, with more-or-less regular argument structures.
Implement new procedure REPL-EVAL/WRITE that combines REPL-EVAL and
REPL-WRITE, since that's a common combination.

19 years agoContinued changes to pass environment to READ and WRITE where
Chris Hanson [Fri, 1 Apr 2005 04:47:16 +0000 (04:47 +0000)]
Continued changes to pass environment to READ and WRITE where
possible.  Change interfaces of

REPL-READ
REPL-EVAL
REPL-WRITE
PROMPT-FOR-EXPRESSION
PROMPT-FOR-COMMAND-EXPRESSION
WRITE-RESULT

and their associated hooks/methods so that environment is passed
consistently, with more-or-less regular argument structures.
Implement new procedure REPL-EVAL/WRITE that combines REPL-EVAL and
REPL-WRITE, since that's a common combination.

19 years agoExtend ->BUFFER to accept #F meaning current buffer.
Chris Hanson [Thu, 31 Mar 2005 19:00:03 +0000 (19:00 +0000)]
Extend ->BUFFER to accept #F meaning current buffer.

19 years agoExtend ->BUFFER to accept regions too.
Chris Hanson [Thu, 31 Mar 2005 18:59:05 +0000 (18:59 +0000)]
Extend ->BUFFER to accept regions too.

19 years agoAdd REGION? predicate.
Chris Hanson [Thu, 31 Mar 2005 18:55:57 +0000 (18:55 +0000)]
Add REGION? predicate.

19 years agoFix error generated when requested URL is a non-existing file.
Chris Hanson [Thu, 31 Mar 2005 05:24:39 +0000 (05:24 +0000)]
Fix error generated when requested URL is a non-existing file.

19 years agoFix bug: FILE-LENGTH generated a SIGSEGV when the file didn't exist.
Chris Hanson [Thu, 31 Mar 2005 05:08:51 +0000 (05:08 +0000)]
Fix bug: FILE-LENGTH generated a SIGSEGV when the file didn't exist.

19 years agoFix bug: FILE-LENGTH generated a SIGSEGV when the file didn't exist.
Chris Hanson [Thu, 31 Mar 2005 05:06:59 +0000 (05:06 +0000)]
Fix bug: FILE-LENGTH generated a SIGSEGV when the file didn't exist.

19 years agoReimplement the mechanism that is used to determine when
Chris Hanson [Wed, 30 Mar 2005 03:53:06 +0000 (03:53 +0000)]
Reimplement the mechanism that is used to determine when
canonicalization of symbols takes effect.  In the new mechanism, calls
to the parser can optionally supply an environment in place of the
parser table that could previously be given, and the variable
*PARSER-CANONICALIZE-SYMBOLS?* is looked up in that environment.  The
environment defaults to the nearest REPL environment.  This causes
canonicalization to be effect in environments that specify it, and not
in other environments.

In addition, the other parser parameters were changed to use this same
model, including the parser table.  Likewise, the unparser table is
now managed this way, and callers of the unparser may supply an
environment in place of the previously accepted unparser table.  (The
unparser needs a rewrite, though, so no further changes were made to
it.)

19 years agoImplement queueing mechanism is REPL implementation so that programs
Chris Hanson [Tue, 29 Mar 2005 05:04:09 +0000 (05:04 +0000)]
Implement queueing mechanism is REPL implementation so that programs
can queue events to happen in place of user input.  Use this mechanism
to process --eval and --load command-line arguments, so that their
evaluations occur in the proper dynamic context.

19 years agoFix a couple of typos.
Chris Hanson [Tue, 29 Mar 2005 05:02:11 +0000 (05:02 +0000)]
Fix a couple of typos.

19 years agoChange GUARANTEE-CONTINUATION to be standard guarantee procedure.
Chris Hanson [Tue, 29 Mar 2005 05:00:26 +0000 (05:00 +0000)]
Change GUARANTEE-CONTINUATION to be standard guarantee procedure.

19 years agoImplement PROCEDURE-OF-ARITY? and GUARANTEE-PROCEDURE-OF-ARITY.
Chris Hanson [Tue, 29 Mar 2005 03:39:23 +0000 (03:39 +0000)]
Implement PROCEDURE-OF-ARITY? and GUARANTEE-PROCEDURE-OF-ARITY.

19 years agoImplement UNIQUE-KEYWORD-LIST?.
Chris Hanson [Tue, 29 Mar 2005 03:38:36 +0000 (03:38 +0000)]
Implement UNIQUE-KEYWORD-LIST?.

19 years agoEliminate use of GUARANTEE- procedures that are defined elsewhere.
Chris Hanson [Tue, 29 Mar 2005 03:37:58 +0000 (03:37 +0000)]
Eliminate use of GUARANTEE- procedures that are defined elsewhere.

19 years agoFix typo in GUARANTEE-RESTRICTED-KEYWORD-LIST.
Chris Hanson [Tue, 29 Mar 2005 03:25:24 +0000 (03:25 +0000)]
Fix typo in GUARANTEE-RESTRICTED-KEYWORD-LIST.

19 years agoChange optional value arguments on MAKE-ASSIGNMENT and
Chris Hanson [Sat, 26 Mar 2005 06:15:13 +0000 (06:15 +0000)]
Change optional value arguments on MAKE-ASSIGNMENT and
MAKE-ASSIGNMENT-FROM-VARIABLE too, since they have the same problem as
MAKE-DEFINITION.

19 years agoChange MAKE-DEFINITION so that its second argument is required. When
Chris Hanson [Sat, 26 Mar 2005 04:17:04 +0000 (04:17 +0000)]
Change MAKE-DEFINITION so that its second argument is required.  When
it was optional, a definition

(define foo #!default)

was incorrectly treated as if it were

(define foo)

19 years agoAdd hooks to do pre-encoding and post-decoding of XML-RPC parameters.
Chris Hanson [Fri, 25 Mar 2005 18:43:12 +0000 (18:43 +0000)]
Add hooks to do pre-encoding and post-decoding of XML-RPC parameters.

19 years agoFix two more typos.
Chris Hanson [Sun, 20 Mar 2005 22:08:30 +0000 (22:08 +0000)]
Fix two more typos.

19 years agoFix incorrect arity of DB4:DB-ENV-CREATE.
Chris Hanson [Sun, 20 Mar 2005 22:01:58 +0000 (22:01 +0000)]
Fix incorrect arity of DB4:DB-ENV-CREATE.

19 years agoFix typo.
Chris Hanson [Sun, 20 Mar 2005 16:56:14 +0000 (16:56 +0000)]
Fix typo.

19 years agoChange release version to something reasonable for snapshots.
Chris Hanson [Sun, 20 Mar 2005 16:12:39 +0000 (16:12 +0000)]
Change release version to something reasonable for snapshots.

19 years agoFix bug: some characters weren't being echoed properly when standard
Chris Hanson [Sun, 20 Mar 2005 16:09:46 +0000 (16:09 +0000)]
Fix bug: some characters weren't being echoed properly when standard
input was a file.

19 years agoFix typo: order of record-type field names was wrong.
Chris Hanson [Sat, 19 Mar 2005 05:21:21 +0000 (05:21 +0000)]
Fix typo: order of record-type field names was wrong.

19 years agoFix typo in SET-RECORD-TYPE-UNPARSER-METHOD!.
Chris Hanson [Sat, 19 Mar 2005 05:08:28 +0000 (05:08 +0000)]
Fix typo in SET-RECORD-TYPE-UNPARSER-METHOD!.

19 years agoDefine GUARANTEE-UNPARSER-METHOD.
Chris Hanson [Sat, 19 Mar 2005 04:57:53 +0000 (04:57 +0000)]
Define GUARANTEE-UNPARSER-METHOD.

19 years agoChange RECORD-TYPE-DEFAULT-INITS to return a list, not a vector.
Chris Hanson [Sat, 19 Mar 2005 04:56:37 +0000 (04:56 +0000)]
Change RECORD-TYPE-DEFAULT-INITS to return a list, not a vector.

19 years agoUse GUARANTEE-UNPARSER-METHOD.
Chris Hanson [Sat, 19 Mar 2005 03:33:21 +0000 (03:33 +0000)]
Use GUARANTEE-UNPARSER-METHOD.

19 years agoDefine GUARANTEE-UNPARSER-METHOD.
Chris Hanson [Sat, 19 Mar 2005 03:26:02 +0000 (03:26 +0000)]
Define GUARANTEE-UNPARSER-METHOD.

19 years agoAdd extension field to record types.
Chris Hanson [Sat, 19 Mar 2005 03:14:41 +0000 (03:14 +0000)]
Add extension field to record types.

19 years agoFix typo in REPLACE-OPERATOR declaration. (fix from Joe Marshall)
Chris Hanson [Fri, 18 Mar 2005 20:24:37 +0000 (20:24 +0000)]
Fix typo in REPLACE-OPERATOR declaration.  (fix from Joe Marshall)

19 years agoFix WNA typo.
Chris Hanson [Sun, 13 Mar 2005 05:02:12 +0000 (05:02 +0000)]
Fix WNA typo.

19 years agoTreat MITSCHEME_LOAD_OPTIONS as specifying a potential options file
Chris Hanson [Tue, 8 Mar 2005 20:45:24 +0000 (20:45 +0000)]
Treat MITSCHEME_LOAD_OPTIONS as specifying a potential options file
rather than a required one.

19 years agoTreat MITSCHEME_LOAD_OPTIONS as specifying a potential options file
Chris Hanson [Tue, 8 Mar 2005 20:43:09 +0000 (20:43 +0000)]
Treat MITSCHEME_LOAD_OPTIONS as specifying a potential options file
rather than a required one.

19 years agoFix typo.
Chris Hanson [Thu, 24 Feb 2005 05:52:07 +0000 (05:52 +0000)]
Fix typo.

19 years agoAdd missing export of XML-RPC:REQUEST.
Chris Hanson [Sun, 20 Feb 2005 01:25:02 +0000 (01:25 +0000)]
Add missing export of XML-RPC:REQUEST.

19 years agoMove XML-RPC codecs from SSP package to XML package. Logically they
Chris Hanson [Sat, 19 Feb 2005 04:35:45 +0000 (04:35 +0000)]
Move XML-RPC codecs from SSP package to XML package.  Logically they
are independent of the SSP mechanism.

19 years agoImplement CONDITION-OF-TYPE?.
Chris Hanson [Fri, 18 Feb 2005 18:21:09 +0000 (18:21 +0000)]
Implement CONDITION-OF-TYPE?.

19 years agoFix typo in write-kbd-macro.
Chris Hanson [Fri, 18 Feb 2005 01:05:34 +0000 (01:05 +0000)]
Fix typo in write-kbd-macro.

19 years agoMake peek operation send character to transcript if necessary.
Chris Hanson [Thu, 17 Feb 2005 17:52:08 +0000 (17:52 +0000)]
Make peek operation send character to transcript if necessary.

19 years agoFix typo.
Chris Hanson [Thu, 17 Feb 2005 17:50:54 +0000 (17:50 +0000)]
Fix typo.

19 years agoFix bug in implementation of empty-element constructors.
Chris Hanson [Wed, 16 Feb 2005 04:31:24 +0000 (04:31 +0000)]
Fix bug in implementation of empty-element constructors.

19 years agoChange XML-RPC method names to be symbols rather than strings.
Chris Hanson [Tue, 8 Feb 2005 20:40:31 +0000 (20:40 +0000)]
Change XML-RPC method names to be symbols rather than strings.

19 years agoUpdate to current style.
Chris Hanson [Tue, 8 Feb 2005 04:19:40 +0000 (04:19 +0000)]
Update to current style.

19 years agoMove reference-trap management from continuation parser to
Chris Hanson [Tue, 8 Feb 2005 03:28:13 +0000 (03:28 +0000)]
Move reference-trap management from continuation parser to
control-point abstraction.

19 years agoAdd heuristic search to find dynamic link. Parser was assuming that
Chris Hanson [Tue, 8 Feb 2005 01:11:03 +0000 (01:11 +0000)]
Add heuristic search to find dynamic link.  Parser was assuming that
the dynamic link immediately followed the associated return address,
but that isn't so.  However, the compiler doesn't record the location
of the dynamic link, so we must search for it.  This search is not
guaranteed to be correct, but it will be so with a high probability.

19 years agoImplement GUARANTEE-STREAM-PAIR.
Chris Hanson [Tue, 8 Feb 2005 00:11:11 +0000 (00:11 +0000)]
Implement GUARANTEE-STREAM-PAIR.

19 years agoReverse order of arguments to XML-RPC:CONDITION->FAULT.
Chris Hanson [Sun, 6 Feb 2005 04:44:27 +0000 (04:44 +0000)]
Reverse order of arguments to XML-RPC:CONDITION->FAULT.

19 years agoRewrite of XML-RPC support to make it more general. Code specific to
Chris Hanson [Sun, 6 Feb 2005 04:41:13 +0000 (04:41 +0000)]
Rewrite of XML-RPC support to make it more general.  Code specific to
mod-lisp has been moved to that file.  Client-side operations have
been added; previously there were just server-side operations.  New
condition types have been added, to facilitate condition filtering.

19 years agoExport XML-RPC interface for use by other programs.
Chris Hanson [Sat, 5 Feb 2005 03:44:10 +0000 (03:44 +0000)]
Export XML-RPC interface for use by other programs.

19 years agoImplement strong eq and eqv hash tables.
Chris Hanson [Sun, 23 Jan 2005 17:53:16 +0000 (17:53 +0000)]
Implement strong eq and eqv hash tables.

19 years agoFix bug: SIGSEGV when M-x occur matches 0 lines.
Chris Hanson [Mon, 17 Jan 2005 20:03:55 +0000 (20:03 +0000)]
Fix bug: SIGSEGV when M-x occur matches 0 lines.

19 years agoAdd support for COPY operation and BYTEA type.
Chris Hanson [Sun, 16 Jan 2005 04:17:41 +0000 (04:17 +0000)]
Add support for COPY operation and BYTEA type.

19 years agoAdd codecs for bytea strings.
Chris Hanson [Sun, 16 Jan 2005 04:12:59 +0000 (04:12 +0000)]
Add codecs for bytea strings.

19 years agoAdd support for COPY command.
Chris Hanson [Sun, 16 Jan 2005 03:03:20 +0000 (03:03 +0000)]
Add support for COPY command.

19 years agoNew syntax DEFINE-GUARANTEE.
Chris Hanson [Tue, 11 Jan 2005 03:57:23 +0000 (03:57 +0000)]
New syntax DEFINE-GUARANTEE.

19 years agoAdd support for Berkeley DB.
Chris Hanson [Tue, 11 Jan 2005 03:44:43 +0000 (03:44 +0000)]
Add support for Berkeley DB.

19 years agoSymbol names now use UTF-8 encoding.
Chris Hanson [Tue, 11 Jan 2005 03:43:46 +0000 (03:43 +0000)]
Symbol names now use UTF-8 encoding.