mit-scheme.git
16 years agoNow that linking works, change WRITE-NOTIFICATION-LINE to be an alias
Chris Hanson [Sat, 2 Feb 2008 17:59:59 +0000 (17:59 +0000)]
Now that linking works, change WRITE-NOTIFICATION-LINE to be an alias
for WITH-NOTIFICATION, as originally planned.

16 years agoSimpler fix for variable-linking problem: clobber the source trap with
Chris Hanson [Sat, 2 Feb 2008 17:57:37 +0000 (17:57 +0000)]
Simpler fix for variable-linking problem: clobber the source trap with
the target cache, so that both traps share the same cache.

16 years agoFix bug: a relatively rare circumstance was causing linked variables
Chris Hanson [Sat, 2 Feb 2008 17:26:28 +0000 (17:26 +0000)]
Fix bug: a relatively rare circumstance was causing linked variables
to become unlinked.  Specifically:

    1. Load compiled code that creates a cache to variable A.
    2. Link variable B to variable C.
    3. Link variable B to variable A.

After step (3), variable C was no longer linked to variable B,
although B and A were still linked.  The problem is that step (3)
overwrites the cache in B with the cache in A, but C is unchanged.

This has been fixed by leaving a forwarding link in the "old" cache
and snapping the link on reference.  Any outstanding copies of the
"old" cache, such as that in C, are updated to point to the "new"
cache the next time they're referenced.

16 years agoMake sure there's only one instance of a name in each package.
Chris Hanson [Sat, 2 Feb 2008 06:54:01 +0000 (06:54 +0000)]
Make sure there's only one instance of a name in each package.

16 years agoWork around bug in variable linking mechanism.
Chris Hanson [Sat, 2 Feb 2008 06:53:37 +0000 (06:53 +0000)]
Work around bug in variable linking mechanism.

16 years agoEliminate unused variable.
Chris Hanson [Sat, 2 Feb 2008 06:51:48 +0000 (06:51 +0000)]
Eliminate unused variable.

16 years agoDoh.
Chris Hanson [Sat, 2 Feb 2008 06:01:59 +0000 (06:01 +0000)]
Doh.

16 years agoFix typo.
Chris Hanson [Sat, 2 Feb 2008 06:00:14 +0000 (06:00 +0000)]
Fix typo.

16 years agoFix some bugs in the previous change.
Chris Hanson [Sat, 2 Feb 2008 05:48:57 +0000 (05:48 +0000)]
Fix some bugs in the previous change.

16 years agoChange WITH-NOTIFICATION so that the port it passes to the MESSAGE is
Chris Hanson [Sat, 2 Feb 2008 05:35:33 +0000 (05:35 +0000)]
Change WITH-NOTIFICATION so that the port it passes to the MESSAGE is
smart about newlines and writes the prefix correctly.  Also, make the
THUNK optional, and consequently WRITE-NOTIFICATION-LINE is an alias
for WITH-NOTIFICATION.

16 years agoEliminate cross-file dependency on gstate structure. Generic I/O port
Chris Hanson [Sat, 2 Feb 2008 04:28:49 +0000 (04:28 +0000)]
Eliminate cross-file dependency on gstate structure.  Generic I/O port
now provides abstraction for managing additional state elements.

16 years agoExport GUARANTEE-THUNK.
Chris Hanson [Sat, 2 Feb 2008 03:44:52 +0000 (03:44 +0000)]
Export GUARANTEE-THUNK.

16 years agoFix comment.
Chris Hanson [Sat, 2 Feb 2008 02:08:48 +0000 (02:08 +0000)]
Fix comment.

16 years agoEliminate direct use of make-gstate in file I/O ports.
Chris Hanson [Sat, 2 Feb 2008 02:07:58 +0000 (02:07 +0000)]
Eliminate direct use of make-gstate in file I/O ports.

16 years agoEliminate direct use of make-gstate in string I/O ports, by extending
Chris Hanson [Sat, 2 Feb 2008 02:02:53 +0000 (02:02 +0000)]
Eliminate direct use of make-gstate in string I/O ports, by extending
MAKE-GENERIC-I/O-PORT to take extra arguments.

16 years agoRename and export MAKE-NON-CHANNEL-PORT-{SOURCE,SINK}.
Chris Hanson [Sat, 2 Feb 2008 01:48:56 +0000 (01:48 +0000)]
Rename and export MAKE-NON-CHANNEL-PORT-{SOURCE,SINK}.

16 years agoImplement PORT-TYPE/PARENT.
Chris Hanson [Sat, 2 Feb 2008 01:19:13 +0000 (01:19 +0000)]
Implement PORT-TYPE/PARENT.

16 years agoUpdate current copyright year.
Chris Hanson [Thu, 31 Jan 2008 03:49:49 +0000 (03:49 +0000)]
Update current copyright year.

16 years agoUpdate to match Debian directory.
Chris Hanson [Thu, 31 Jan 2008 02:53:58 +0000 (02:53 +0000)]
Update to match Debian directory.

16 years agoFix xscheme-prompt-for-expression-exit with patch from debian
Chris Hanson [Thu, 31 Jan 2008 02:18:57 +0000 (02:18 +0000)]
Fix xscheme-prompt-for-expression-exit with patch from debian
Bug#375858.

16 years agoUpdate for some of the srfi-1 procedures.
Chris Hanson [Thu, 31 Jan 2008 00:54:36 +0000 (00:54 +0000)]
Update for some of the srfi-1 procedures.

16 years agoUpdate copyright for 2008.
Chris Hanson [Wed, 30 Jan 2008 20:06:12 +0000 (20:06 +0000)]
Update copyright for 2008.

16 years agoOptimize handling of #F events, so that they are added to the event
Chris Hanson [Wed, 30 Jan 2008 14:33:12 +0000 (14:33 +0000)]
Optimize handling of #F events, so that they are added to the event
queue only when necessary.

16 years agoFix bug in previous change. Repaginate.
Chris Hanson [Wed, 30 Jan 2008 08:02:20 +0000 (08:02 +0000)]
Fix bug in previous change.  Repaginate.

16 years agoIn INFERIOR-THREAD-OUTPUT!, signal one thread event, then no more
Chris Hanson [Wed, 30 Jan 2008 07:50:32 +0000 (07:50 +0000)]
In INFERIOR-THREAD-OUTPUT!, signal one thread event, then no more
until after this batch of output is accepted.  The previous behavior
was causing significant delays when the inferior thread generated a
lot of output.

16 years agoMake sure %MAYBE-TOGGLE-THREAD-TIMER is called at every point where it
Chris Hanson [Wed, 30 Jan 2008 07:45:17 +0000 (07:45 +0000)]
Make sure %MAYBE-TOGGLE-THREAD-TIMER is called at every point where it
might be needed.

16 years agoUpdate RC-code tables for version 4.6. Implement Scheme program to
Chris Hanson [Tue, 29 Jan 2008 06:09:55 +0000 (06:09 +0000)]
Update RC-code tables for version 4.6.  Implement Scheme program to
generate the tables automatically.

16 years agoEliminate mixed fix/flo cases in binary operations. These do the
Chris Hanson [Tue, 29 Jan 2008 03:12:25 +0000 (03:12 +0000)]
Eliminate mixed fix/flo cases in binary operations.  These do the
wrong thing for multiply, so we might as well let the Scheme code
handle it.

16 years agoChange GCC restriction to be versioned.
Chris Hanson [Tue, 29 Jan 2008 02:27:47 +0000 (02:27 +0000)]
Change GCC restriction to be versioned.

16 years agoOops, older GCC used different "guard" macro name.
Chris Hanson [Tue, 29 Jan 2008 02:26:33 +0000 (02:26 +0000)]
Oops, older GCC used different "guard" macro name.

16 years agoAdd "guard" to prevent use of <stdbool.h> in old versions of GCC.
Chris Hanson [Tue, 29 Jan 2008 02:21:46 +0000 (02:21 +0000)]
Add "guard" to prevent use of <stdbool.h> in old versions of GCC.
Although we don't load that file, it is indirectly loaded by some
other include files.

16 years agoEliminate incorrect reference to HAVE__BOOL.
Chris Hanson [Tue, 29 Jan 2008 02:01:56 +0000 (02:01 +0000)]
Eliminate incorrect reference to HAVE__BOOL.

16 years agoEliminate compilation error.
Chris Hanson [Tue, 29 Jan 2008 02:01:37 +0000 (02:01 +0000)]
Eliminate compilation error.

16 years agoChange WEAK-LIST->LIST and LIST->WEAK-LIST to use iterative
Chris Hanson [Mon, 28 Jan 2008 04:26:49 +0000 (04:26 +0000)]
Change WEAK-LIST->LIST and LIST->WEAK-LIST to use iterative
algorithms.

16 years agoWhen parsing local variables, convert editor errors into failures.
Chris Hanson [Sun, 27 Jan 2008 02:25:37 +0000 (02:25 +0000)]
When parsing local variables, convert editor errors into failures.

16 years agoAdd definition of MAKE-TOP-LEVEL-ENVIRONMENT.
Chris Hanson [Sat, 26 Jan 2008 00:20:07 +0000 (00:20 +0000)]
Add definition of MAKE-TOP-LEVEL-ENVIRONMENT.

16 years agoDon't hand non-positive values to REAL-TIMER-SET!. (Thanks Taylor!)
Chris Hanson [Tue, 22 Jan 2008 22:46:08 +0000 (22:46 +0000)]
Don't hand non-positive values to REAL-TIMER-SET!.  (Thanks Taylor!)

16 years agoBase URI of READ-RDF/TURTLE-FILE should never have a file type.
Chris Hanson [Tue, 15 Jan 2008 04:39:27 +0000 (04:39 +0000)]
Base URI of READ-RDF/TURTLE-FILE should never have a file type.

16 years agoTweak handling of the thread timer so that it is set only when needed.
Chris Hanson [Mon, 14 Jan 2008 03:14:10 +0000 (03:14 +0000)]
Tweak handling of the thread timer so that it is set only when needed.
This saves power by avoiding unnecessary interrupts, and additionally
saves computation.

16 years agoFix bug: VC-CONTROL-DIRECTORIES must handle shadowing of inherited
Chris Hanson [Wed, 9 Jan 2008 19:23:43 +0000 (19:23 +0000)]
Fix bug: VC-CONTROL-DIRECTORIES must handle shadowing of inherited
control directories.  In other words, if directory A has a .bzr
subdirectory, and A/B has a .svn directory, then files in A/B/C
should ignore the .bzr directory in A.

16 years agoModify handling of EVALUATE-IN-INFERIOR-REPL and RUN-LIGHT so that
Chris Hanson [Mon, 7 Jan 2008 14:31:04 +0000 (14:31 +0000)]
Modify handling of EVALUATE-IN-INFERIOR-REPL and RUN-LIGHT so that
they adapt when SCHEME-ENVIRONMENT is set to a procedure.

16 years agoDon't allocate tables based on the values of POSIX configuration
Chris Hanson [Thu, 3 Jan 2008 00:30:47 +0000 (00:30 +0000)]
Don't allocate tables based on the values of POSIX configuration
variables.  These values may be undefined, or unreasonably large.
Instead, allocate small tables and grow them as needed.

17 years agoRework last change to allow full type-specific mode-line status
Chris Hanson [Thu, 20 Dec 2007 02:49:18 +0000 (02:49 +0000)]
Rework last change to allow full type-specific mode-line status
rendering.  Tweak bzr mode-line to be a little clearer.

17 years agoOptimize performance of bzr-controlled buffers. It turns out that
Chris Hanson [Thu, 20 Dec 2007 01:24:29 +0000 (01:24 +0000)]
Optimize performance of bzr-controlled buffers.  It turns out that
"bzr log" is very slow (several seconds on a Core Duo), even with
"--limit=1".  So disable display of the revision in the mode line, and
reduce the number of places that need to know the revision.  Also,
cache the output of "bzr ls", which is also slow-ish.

17 years agoFix brokenness in previous change: can't pass "." for PATH argument to
Chris Hanson [Tue, 18 Dec 2007 03:59:33 +0000 (03:59 +0000)]
Fix brokenness in previous change: can't pass "." for PATH argument to
"bzr ls --non-recursive".  Instead pass no PATH arg and it does the
right thing.  Also: don't forget to quote the filename before passing
it to RE-STRING-SEARCH-FORWARD.

17 years agoPass "--non-recursive" when calling "bzr ls", since we don't care
Chris Hanson [Sun, 16 Dec 2007 01:10:38 +0000 (01:10 +0000)]
Pass "--non-recursive" when calling "bzr ls", since we don't care
about files in sub-directories.

17 years agoUse notification mechanism for SHOW-TIME.
Chris Hanson [Mon, 10 Dec 2007 04:24:57 +0000 (04:24 +0000)]
Use notification mechanism for SHOW-TIME.

17 years agoBe more specific that column tracking works only for ASCII graphic
Chris Hanson [Sun, 9 Dec 2007 06:12:14 +0000 (06:12 +0000)]
Be more specific that column tracking works only for ASCII graphic
characters.

17 years agoImprove line breaking to have a more accurate idea where the break
Chris Hanson [Sun, 9 Dec 2007 06:09:32 +0000 (06:09 +0000)]
Improve line breaking to have a more accurate idea where the break
should go.

17 years agoChange indentation style to put open paren inline, contents indented,
Chris Hanson [Sun, 9 Dec 2007 05:53:04 +0000 (05:53 +0000)]
Change indentation style to put open paren inline, contents indented,
and close paren unindented.  Change indentation increment from 2 to 4.
Generate optional trailing ";" in bnodes and "." in subgraphs.  Don't
automatically indent multiple objects; instead try to break lines
where needed.  Add space after an unquoted literal, to prevent
confusion should it be followed by ".".

17 years agoSimplify column tracking: track columns as long as only simple
Chris Hanson [Sun, 9 Dec 2007 05:45:39 +0000 (05:45 +0000)]
Simplify column tracking: track columns as long as only simple
characters are used, independent of the port coding.

17 years agoImplement WRITE-RDF/TURTLE-SUBGRAPH.
Chris Hanson [Sun, 9 Dec 2007 05:09:28 +0000 (05:09 +0000)]
Implement WRITE-RDF/TURTLE-SUBGRAPH.

17 years agoChange WRITE-RDF/TURTLE-TRIPLES so that it doesn't indent before
Chris Hanson [Sun, 9 Dec 2007 05:02:51 +0000 (05:02 +0000)]
Change WRITE-RDF/TURTLE-TRIPLES so that it doesn't indent before
initial output and doesn't generate a trailing newline.  Change
WRITE-RDF/TURTLE-TRIPLES and WRITE-RDF/TURTLE-TRIPLE to preserve their
initial indentation.

17 years agoProvide abstraction for balanced grouping syntax.
Chris Hanson [Sun, 9 Dec 2007 04:50:54 +0000 (04:50 +0000)]
Provide abstraction for balanced grouping syntax.

17 years agoFavor use of SRFI-1 procedures.
Chris Hanson [Sun, 9 Dec 2007 04:42:03 +0000 (04:42 +0000)]
Favor use of SRFI-1 procedures.

17 years agoReplace MAC_ARCH hack with more general mechanism to preserve CFLAGS
Chris Hanson [Sat, 8 Dec 2007 18:19:14 +0000 (18:19 +0000)]
Replace MAC_ARCH hack with more general mechanism to preserve CFLAGS
when using GCC.

17 years agoRewrite handling of control directories and master files again. This
Chris Hanson [Wed, 5 Dec 2007 02:47:42 +0000 (02:47 +0000)]
Rewrite handling of control directories and master files again.  This
design is simpler and should be faster.

17 years agoDon't search for ".bzr" in parent directories if some other
Chris Hanson [Tue, 4 Dec 2007 05:24:29 +0000 (05:24 +0000)]
Don't search for ".bzr" in parent directories if some other
version-control system is available for the current directory.

17 years agoDon't search for ".bzr" in parent directories if some other
Chris Hanson [Tue, 4 Dec 2007 05:21:51 +0000 (05:21 +0000)]
Don't search for ".bzr" in parent directories if some other
version-control system is available for the current directory.

17 years agoFix problem introduced by previous change: argument to
Chris Hanson [Mon, 26 Nov 2007 05:25:55 +0000 (05:25 +0000)]
Fix problem introduced by previous change: argument to
"-bundle_loader" must always point to the reference binary, but the
reference must take several different forms for this to work.

17 years agoFix problem introduced by previous change: argument to
Chris Hanson [Mon, 26 Nov 2007 05:19:35 +0000 (05:19 +0000)]
Fix problem introduced by previous change: argument to
"-bundle_loader" must always point to the reference binary, but the
reference must take several different forms for this to work.

17 years agoRevert change to WITH-EVAL-UNIT, which broke building of C back end.
Chris Hanson [Mon, 26 Nov 2007 05:15:33 +0000 (05:15 +0000)]
Revert change to WITH-EVAL-UNIT, which broke building of C back end.
(Specifically, the reference to "base/make" in
"compiler/machines/C/make.scm".)

17 years agoFix formatting type error.
Chris Hanson [Mon, 26 Nov 2007 04:00:24 +0000 (04:00 +0000)]
Fix formatting type error.

17 years agoRefine the gcc build flags for Mac OS X. Target version 10.4 if SDK
Chris Hanson [Sun, 25 Nov 2007 05:24:43 +0000 (05:24 +0000)]
Refine the gcc build flags for Mac OS X.  Target version 10.4 if SDK
available.

17 years agoFix bug: IMAP-MAILBOX-DELIMITER was using the mailbox name as a key
Chris Hanson [Sat, 3 Nov 2007 04:00:36 +0000 (04:00 +0000)]
Fix bug: IMAP-MAILBOX-DELIMITER was using the mailbox name as a key
into a global table, without considering the server that the mailbox
resided on.  Consequently there were collisions when multiple servers
had different delimiters.

17 years agoWork around bug in Gmail IMAP server.
Chris Hanson [Sat, 3 Nov 2007 02:57:34 +0000 (02:57 +0000)]
Work around bug in Gmail IMAP server.

17 years agobzr doesn't have a meaningful default-revision method; stub it out.
Chris Hanson [Mon, 22 Oct 2007 04:13:45 +0000 (04:13 +0000)]
bzr doesn't have a meaningful default-revision method; stub it out.
Remove unused ERROR? argument from all the default-revision methods.

17 years agoRework bzr caching to use standard vc cache support.
Chris Hanson [Fri, 19 Oct 2007 17:28:07 +0000 (17:28 +0000)]
Rework bzr caching to use standard vc cache support.

17 years agoFix bzr command cache to pay attention to timestamp of workfile.
Chris Hanson [Thu, 18 Oct 2007 15:57:40 +0000 (15:57 +0000)]
Fix bzr command cache to pay attention to timestamp of workfile.

17 years agoAdd support for bzr.
Chris Hanson [Wed, 17 Oct 2007 18:50:22 +0000 (18:50 +0000)]
Add support for bzr.

17 years agoAlways parse POST variables, so that alternate content handlers can
Chris Hanson [Fri, 12 Oct 2007 19:08:37 +0000 (19:08 +0000)]
Always parse POST variables, so that alternate content handlers can
use them.

17 years agoProvide DEFINE-MIME-HANDLER and DEFINE-SUBTREE-HANDLER to XHTML
Chris Hanson [Fri, 12 Oct 2007 02:19:45 +0000 (02:19 +0000)]
Provide DEFINE-MIME-HANDLER and DEFINE-SUBTREE-HANDLER to XHTML
expanders.

17 years agoEliminate ugly load hack; use WITH-EVAL-UNIT and WITH-LOAD-ENVIRONMENT
Chris Hanson [Fri, 12 Oct 2007 02:13:17 +0000 (02:13 +0000)]
Eliminate ugly load hack; use WITH-EVAL-UNIT and WITH-LOAD-ENVIRONMENT
to make loader work right for embedded Scheme code.

17 years agoChange WITH-EVAL-UNIT to change the current working directory if it is
Chris Hanson [Fri, 12 Oct 2007 02:12:14 +0000 (02:12 +0000)]
Change WITH-EVAL-UNIT to change the current working directory if it is
given a pathname URI.  Rename SET-CURRENT-LOAD-ENVIRONMENT! and
WITH-CURRENT-LOAD-ENVIRONMENT to SET-LOAD-ENVIRONMENT! and
WITH-LOAD-ENVIRONMENT, respectively.

17 years agoImplement WITH-CURRENT-LOAD-ENVIRONMENT.
Chris Hanson [Fri, 12 Oct 2007 02:00:24 +0000 (02:00 +0000)]
Implement WITH-CURRENT-LOAD-ENVIRONMENT.

17 years agoImplement READ-RDF/TURTLE.
Chris Hanson [Fri, 12 Oct 2007 01:24:33 +0000 (01:24 +0000)]
Implement READ-RDF/TURTLE.

17 years agoImplement CURRENT-LOAD-ENVIRONMENT.
Chris Hanson [Fri, 12 Oct 2007 01:08:03 +0000 (01:08 +0000)]
Implement CURRENT-LOAD-ENVIRONMENT.

17 years agoAllow scheme-environment variable to be set to a procedure, which is
Chris Hanson [Tue, 9 Oct 2007 04:43:49 +0000 (04:43 +0000)]
Allow scheme-environment variable to be set to a procedure, which is
called at reference time to compute the environment.

17 years agoAdd indentation rule to override "DEF" prefix for "DEFAULT".
Chris Hanson [Tue, 9 Oct 2007 04:41:32 +0000 (04:41 +0000)]
Add indentation rule to override "DEF" prefix for "DEFAULT".

17 years agoAllow ->BUFFER to accept #!DEFAULT.
Chris Hanson [Tue, 9 Oct 2007 04:26:24 +0000 (04:26 +0000)]
Allow ->BUFFER to accept #!DEFAULT.

17 years agoMove "bad evaluation environment" message to "evlcom.scm".
Chris Hanson [Tue, 9 Oct 2007 04:20:44 +0000 (04:20 +0000)]
Move "bad evaluation environment" message to "evlcom.scm".

17 years agoFix thinko.
Chris Hanson [Tue, 9 Oct 2007 04:14:40 +0000 (04:14 +0000)]
Fix thinko.

17 years agoEliminate kludge to work around old DEFAULT-OBJECT? macro.
Chris Hanson [Tue, 9 Oct 2007 04:14:29 +0000 (04:14 +0000)]
Eliminate kludge to work around old DEFAULT-OBJECT? macro.

17 years agoMake port args optional on output procedures.
Chris Hanson [Mon, 8 Oct 2007 03:05:41 +0000 (03:05 +0000)]
Make port args optional on output procedures.

17 years agoEliminate INDENTATION argument from WRITE-RDF/TURTLE-TRIPLE. Fix
Chris Hanson [Fri, 5 Oct 2007 20:13:50 +0000 (20:13 +0000)]
Eliminate INDENTATION argument from WRITE-RDF/TURTLE-TRIPLE.  Fix
indentation bug in WRITE-GROUP.

17 years agoFix detection of ^G in PREVIEW-EVENT.
Taylor R. Campbell [Wed, 26 Sep 2007 00:25:50 +0000 (00:25 +0000)]
Fix detection of ^G in PREVIEW-EVENT.

17 years agoFix typo in FIND-HEADER: the local variable is named STRING, not TEXT.
Taylor R. Campbell [Mon, 24 Sep 2007 05:22:29 +0000 (05:22 +0000)]
Fix typo in FIND-HEADER: the local variable is named STRING, not TEXT.

17 years agoFix bug in handling of URL bindings (thanks Aaron Hsu). Closes
Chris Hanson [Mon, 17 Sep 2007 05:07:13 +0000 (05:07 +0000)]
Fix bug in handling of URL bindings (thanks Aaron Hsu).  Closes
savannah #21096.

17 years agoOmit superfluous octothorpe from error message for illegal boolean
Taylor R. Campbell [Mon, 17 Sep 2007 02:31:42 +0000 (02:31 +0000)]
Omit superfluous octothorpe from error message for illegal boolean
conditions.

17 years agoAdd support for socket-related errno values.
Taylor R. Campbell [Fri, 14 Sep 2007 15:52:40 +0000 (15:52 +0000)]
Add support for socket-related errno values.

17 years agoFix READ-CHAR-NO-HANG to account for CHAR-READY? returning #T on EOF.
Chris Hanson [Thu, 13 Sep 2007 13:58:04 +0000 (13:58 +0000)]
Fix READ-CHAR-NO-HANG to account for CHAR-READY? returning #T on EOF.

17 years agoFix two WNA errors that occur when generating RTL and/or LAP files.
Chris Hanson [Thu, 13 Sep 2007 12:49:13 +0000 (12:49 +0000)]
Fix two WNA errors that occur when generating RTL and/or LAP files.

17 years agoEliminate now-unnecessary definitions of INPUT-PORT/EOF?.
Chris Hanson [Wed, 12 Sep 2007 23:36:09 +0000 (23:36 +0000)]
Eliminate now-unnecessary definitions of INPUT-PORT/EOF?.

17 years agoImplement INPUT-PORT/EOF?.
Chris Hanson [Wed, 12 Sep 2007 23:35:01 +0000 (23:35 +0000)]
Implement INPUT-PORT/EOF?.

17 years agoReturn #T from CHAR-READY? when at EOF.
Chris Hanson [Wed, 12 Sep 2007 23:32:53 +0000 (23:32 +0000)]
Return #T from CHAR-READY? when at EOF.

17 years agoClarify multipart handling, and calculate lengths more carefully:
Taylor R. Campbell [Mon, 10 Sep 2007 19:19:04 +0000 (19:19 +0000)]
Clarify multipart handling, and calculate lengths more carefully:
MESSAGE-LENGTH is supposed to yield the length of the whole message,
header included, not just the length of its content.

17 years agoFix typo in DEFINE-MIME-MEDIA-PARSER for the case of replacing the
Taylor R. Campbell [Mon, 10 Sep 2007 17:19:32 +0000 (17:19 +0000)]
Fix typo in DEFINE-MIME-MEDIA-PARSER for the case of replacing the
parser for a specific type/subtype pair: set the cdr of SUB-LEVEL, not
the cdr of TOP-LEVEL.

17 years agoSimplify calculation of octet and line counts.
Taylor R. Campbell [Mon, 10 Sep 2007 17:18:24 +0000 (17:18 +0000)]
Simplify calculation of octet and line counts.

17 years agoUpdate SAVE-RESOURCE method on file folders to reflect six-year-old
Taylor R. Campbell [Mon, 10 Sep 2007 16:27:31 +0000 (16:27 +0000)]
Update SAVE-RESOURCE method on file folders to reflect six-year-old
change of status symbol from FOLDER-MODIFIED to CACHE-MODIFIED.

17 years agoFix bug whereby MIME parser for multipart messages would omit text
Taylor R. Campbell [Mon, 10 Sep 2007 16:21:59 +0000 (16:21 +0000)]
Fix bug whereby MIME parser for multipart messages would omit text
from parts with no headers starting from the beginning until the first
blank line.  Do this by changing MIME:PARSE-PARTS to handle the case
of properly headerless messages, which begin with an empty line.