mit-scheme.git
23 years agoProvide missing htonl calls.
Chris Hanson [Sat, 2 Jun 2001 01:25:00 +0000 (01:25 +0000)]
Provide missing htonl calls.

23 years agoOops, that should have been CREATE-TCP-SERVER-SOCKET.
Chris Hanson [Sat, 2 Jun 2001 01:06:01 +0000 (01:06 +0000)]
Oops, that should have been CREATE-TCP-SERVER-SOCKET.

23 years agoImplement new primitives to allow finer control over how TCP server
Chris Hanson [Sat, 2 Jun 2001 01:05:22 +0000 (01:05 +0000)]
Implement new primitives to allow finer control over how TCP server
sockets are configured:

    HOST-ADDRESS-ANY
    HOST-ADDRESS-LOOPBACK
    CREATE_TCP_SERVER_SOCKET
    BIND-TCP-SERVER-SOCKET
    LISTEN-TCP-SERVER-SOCKET

23 years agoDefer closing of connection when it is the last connection open to a
Chris Hanson [Fri, 1 Jun 2001 02:23:19 +0000 (02:23 +0000)]
Defer closing of connection when it is the last connection open to a
particular server.  This prevents a pattern of opening and closing
that occurs when IMAIL starts up (due to probes performed prior to
opening the folder).  It also allows the user to do completion in the
folder space without occurring the same penalty.  The downside is that
the connection remains open for about a minute after the user "closes"
it, which will be remedied in a future revision.

23 years agoFirst draft of a mechanism to defer closing of connections. This
Chris Hanson [Thu, 31 May 2001 20:34:17 +0000 (20:34 +0000)]
First draft of a mechanism to defer closing of connections.  This
suffers from a fault: the background probe-folder thread is re-opening
the connection while it is in the deferred state.

23 years agoImplement START-STANDARD-POLLING-THREAD and
Chris Hanson [Thu, 31 May 2001 19:58:40 +0000 (19:58 +0000)]
Implement START-STANDARD-POLLING-THREAD and
STOP-STANDARD-POLLING-THREAD to capture standard method of using
background thread to poll for output or events.

23 years agoImplement START-STANDARD-POLLING-THREAD and
Chris Hanson [Thu, 31 May 2001 19:57:40 +0000 (19:57 +0000)]
Implement START-STANDARD-POLLING-THREAD and
STOP-STANDARD-POLLING-THREAD to capture standard method of using
background thread to poll for output or events.

23 years agoAdd interrupt locking to REGISTER-INFERIOR-THREAD! and
Chris Hanson [Thu, 31 May 2001 19:41:53 +0000 (19:41 +0000)]
Add interrupt locking to REGISTER-INFERIOR-THREAD! and
DEREGISTER-INFERIOR-THREAD!.  Change DEREGISTER-INFERIOR-THREAD! to
delete the entry from the list of inferior threads.

23 years agoChange how connections are allocated; when looking for a connection
Chris Hanson [Wed, 30 May 2001 05:47:08 +0000 (05:47 +0000)]
Change how connections are allocated; when looking for a connection
for a folder, we'll now take over an existing compatible connection if
it's not being used by another folder.  This will be useful after the
next change, which will cause connections to stay open a short while
after their last reference is dropped; when that happens, there will
be open connections lying around that can usefully be adopted.

23 years agoDon't use LOAD-OPTION to load cref; it probably doesn't exist on the
Chris Hanson [Tue, 29 May 2001 21:25:33 +0000 (21:25 +0000)]
Don't use LOAD-OPTION to load cref; it probably doesn't exist on the
host system (outside of MIT), and this will cause an error if the user
has MITSCHEME_INF_DIRECTORY set.

23 years agoEliminate IMAP-FOLDER-N-MESSAGES in favor of FOLDER-LENGTH.
Chris Hanson [Tue, 29 May 2001 20:46:28 +0000 (20:46 +0000)]
Eliminate IMAP-FOLDER-N-MESSAGES in favor of FOLDER-LENGTH.

23 years agoEliminate IMAP-FOLDER-N-MESSAGES in favor of FOLDER-LENGTH.
Chris Hanson [Tue, 29 May 2001 20:41:56 +0000 (20:41 +0000)]
Eliminate IMAP-FOLDER-N-MESSAGES in favor of FOLDER-LENGTH.

23 years agoRename URL-IS-CONTAINER? to URL-CORRESPONDING-CONTAINER. Eliminate
Chris Hanson [Tue, 29 May 2001 20:36:53 +0000 (20:36 +0000)]
Rename URL-IS-CONTAINER? to URL-CORRESPONDING-CONTAINER.  Eliminate
requirement that the result be #F if the resource doesn't exist.

23 years agoCache information returned by the IMAP LIST command. This should help
Chris Hanson [Tue, 29 May 2001 20:26:32 +0000 (20:26 +0000)]
Cache information returned by the IMAP LIST command.  This should help
to reduce traffic on the wire.

23 years agoDon't use my private "$bscm" environment variable in public code.
Chris Hanson [Tue, 29 May 2001 20:08:59 +0000 (20:08 +0000)]
Don't use my private "$bscm" environment variable in public code.

23 years agoDon't use LOAD-OPTION to load cref; it probably doesn't exist on the
Chris Hanson [Tue, 29 May 2001 19:58:28 +0000 (19:58 +0000)]
Don't use LOAD-OPTION to load cref; it probably doesn't exist on the
host system (outside of MIT), and this will cause an error if the user
has MITSCHEME_INF_DIRECTORY set.

23 years agoChange M-x imail so that it only runs M-x imail-get-new-mail if the
Chris Hanson [Tue, 29 May 2001 19:32:39 +0000 (19:32 +0000)]
Change M-x imail so that it only runs M-x imail-get-new-mail if the
folder status is OFFLINE.

23 years agoRestructure IMAP URLs so that each container URL has a corresponding
Chris Hanson [Tue, 29 May 2001 17:45:37 +0000 (17:45 +0000)]
Restructure IMAP URLs so that each container URL has a corresponding
folder URL.  The container URL inherits the components of the folder
URL rather than keeping its own copies.  This sharing will be
important when we add caching of the IMAP server's LIST info.

23 years agoIn IMAP-MAILBOX-DELIMITER, use the probed root as the table key;
Chris Hanson [Mon, 28 May 2001 03:49:04 +0000 (03:49 +0000)]
In IMAP-MAILBOX-DELIMITER, use the probed root as the table key;
previous strategy make no sense.

23 years agoFix bug: IMAP-MAILBOX-DELIMITER was calling the LIST command on a
Chris Hanson [Mon, 28 May 2001 02:10:08 +0000 (02:10 +0000)]
Fix bug: IMAP-MAILBOX-DELIMITER was calling the LIST command on a
mailbox with a trailing slash; now the slash is omitted.

23 years agoCache result of URL-IS-CONTAINER?, to prevent going back to network
Chris Hanson [Sun, 27 May 2001 05:05:54 +0000 (05:05 +0000)]
Cache result of URL-IS-CONTAINER?, to prevent going back to network
each time it's needed.  This might not actually work, since the
definition of URL-IS-CONTAINER? specifies that the corresponding
mailbox must exist.

23 years agoDelete entries for things that are now implemented.
Chris Hanson [Sun, 27 May 2001 05:04:24 +0000 (05:04 +0000)]
Delete entries for things that are now implemented.

23 years agoNote problem that connection to IMAP server is being opened and closed
Chris Hanson [Sun, 27 May 2001 05:01:55 +0000 (05:01 +0000)]
Note problem that connection to IMAP server is being opened and closed
too much.

23 years agoFix error message of SELECTED-URL so that it makes more sense to the
Chris Hanson [Sat, 26 May 2001 03:09:36 +0000 (03:09 +0000)]
Fix error message of SELECTED-URL so that it makes more sense to the
end user.

23 years agoEliminate compiler warning.
Chris Hanson [Sat, 26 May 2001 03:02:29 +0000 (03:02 +0000)]
Eliminate compiler warning.

23 years agoAdd first working draft of folder browser.
Chris Hanson [Sat, 26 May 2001 03:01:00 +0000 (03:01 +0000)]
Add first working draft of folder browser.

23 years agoChange IMAIL-DEFAULT-CONTAINER to use selected URL if any. This sets
Chris Hanson [Sat, 26 May 2001 02:51:06 +0000 (02:51 +0000)]
Change IMAIL-DEFAULT-CONTAINER to use selected URL if any.  This sets
default correctly in the folder browser when point is inside an
expanded subfolder.

23 years agoImplement SELECTED-CONTAINER-URL.
Chris Hanson [Sat, 26 May 2001 02:13:40 +0000 (02:13 +0000)]
Implement SELECTED-CONTAINER-URL.

23 years agoChange external representation of URL to use content name rather than
Chris Hanson [Sat, 26 May 2001 02:12:50 +0000 (02:12 +0000)]
Change external representation of URL to use content name rather than
presentation name.

23 years agoFix indentation.
Chris Hanson [Sat, 26 May 2001 01:55:10 +0000 (01:55 +0000)]
Fix indentation.

23 years agoCache CONTAINER-URL of every URL when it is created, so that the
Chris Hanson [Fri, 25 May 2001 18:16:56 +0000 (18:16 +0000)]
Cache CONTAINER-URL of every URL when it is created, so that the
heirarchy can be quickly traversed.

Rename URL-IS-SELECTABLE? as FOLDER-URL-IS-SELECTABLE?.

Implement new operation URL-IS-CONTAINER?  which returns the
equivalent container URL of a URL (which may be a folder URL).

23 years agoChange noun "child", used to refer to something in a container, to
Chris Hanson [Fri, 25 May 2001 02:45:51 +0000 (02:45 +0000)]
Change noun "child", used to refer to something in a container, to
"content".

23 years agoGeneralize WITH-READ-ONLY-DEFEATED to accept anything that ->BUFFER
Chris Hanson [Thu, 24 May 2001 19:18:57 +0000 (19:18 +0000)]
Generalize WITH-READ-ONLY-DEFEATED to accept anything that ->BUFFER
can resolve to a buffer.

23 years agoDon't echo server's mailbox name to the user.
Chris Hanson [Thu, 24 May 2001 19:12:41 +0000 (19:12 +0000)]
Don't echo server's mailbox name to the user.

23 years agoInclude full key bindings in mode help.
Chris Hanson [Thu, 24 May 2001 19:07:15 +0000 (19:07 +0000)]
Include full key bindings in mode help.

23 years agoFix CONTAINER-URL-CONTENTS to return container URLs when appropriate.
Chris Hanson [Thu, 24 May 2001 19:03:52 +0000 (19:03 +0000)]
Fix CONTAINER-URL-CONTENTS to return container URLs when appropriate.

23 years agoFix bug in previous change: was using procedures that returned marks
Chris Hanson [Thu, 24 May 2001 18:57:53 +0000 (18:57 +0000)]
Fix bug in previous change: was using procedures that returned marks
when I expected indexes.

23 years agoAdd some more resource->URL reflectors.
Chris Hanson [Thu, 24 May 2001 17:51:14 +0000 (17:51 +0000)]
Add some more resource->URL reflectors.

23 years agoSimplify meaning of CONTAINER-URL; it no longer does anything special
Chris Hanson [Thu, 24 May 2001 17:46:51 +0000 (17:46 +0000)]
Simplify meaning of CONTAINER-URL; it no longer does anything special
for IMAP URLs.  Define new operation CONTAINER-URL-FOR-PROMPT that has
the behavior that CONTAINER-URL used to.

Implement new operation URL-CHILD-NAME which is now the complement to
CONTAINER-URL.  These operations now return compatible halves of the
URL, which may be recombined using MAKE-CHILD-URL to obtain the
original URL.

Change implementation of URL-PRESENTATION-NAME; it now just calls
URL-CHILD-NAME, stripping a slash off the end if present.

Clarify definition of URL-BASE-NAME.

Revert CONTAINER-CONTENTS back to CONTAINER-URL-CONTENTS.  Maybe
tomorrow I'll change my mind again.

23 years agoRegularize the names of the procedures that manage the selected
Chris Hanson [Thu, 24 May 2001 03:43:17 +0000 (03:43 +0000)]
Regularize the names of the procedures that manage the selected
container and selected URL.  Move these and SELECT-FOLDER to the same
page.

23 years agoChange GET-MEMOIZED-RESOURCE to accept an optional argument specifying
Chris Hanson [Thu, 24 May 2001 03:41:28 +0000 (03:41 +0000)]
Change GET-MEMOIZED-RESOURCE to accept an optional argument specifying
that it is an error if there is no associated resource.

23 years agoRename the following server operations, then add methods to them to
Chris Hanson [Thu, 24 May 2001 01:19:47 +0000 (01:19 +0000)]
Rename the following server operations, then add methods to them to
support containers as well as folders:

    create-folder => create-resource
    delete-folder => delete-resource
    rename-folder => rename-resource

23 years agoRename the following server operations, then add methods to them to
Chris Hanson [Thu, 24 May 2001 01:18:45 +0000 (01:18 +0000)]
Rename the following server operations, then add methods to them to
support containers as well as folders:

    create-folder => create-resource
    delete-folder => delete-resource
    rename-folder => rename-resource

23 years agoRename the following server operations, then add methods to them to
Chris Hanson [Thu, 24 May 2001 01:14:07 +0000 (01:14 +0000)]
Rename the following server operations, then add methods to them to
support containers as well as folders:

    create-folder => create-resource
    delete-folder => delete-resource
    rename-folder => rename-resource

23 years agoAdd a handful of methods to allow containers to be used in place of
Chris Hanson [Thu, 24 May 2001 01:01:11 +0000 (01:01 +0000)]
Add a handful of methods to allow containers to be used in place of
container URLs in operations where it seems useful.

23 years agoDon't use history value as default for source of M-x
Chris Hanson [Thu, 24 May 2001 00:26:32 +0000 (00:26 +0000)]
Don't use history value as default for source of M-x
imail-rename-folder and M-x imail-copy-folder.

23 years agoFix a few minor bugs from the recent changes.
Chris Hanson [Thu, 24 May 2001 00:20:07 +0000 (00:20 +0000)]
Fix a few minor bugs from the recent changes.

23 years agoGeneralize folder operations:
Chris Hanson [Wed, 23 May 2001 23:23:48 +0000 (23:23 +0000)]
Generalize folder operations:

open-folder => open-resource
close-folder => close-resource
save-folder => save-resource

Add methods to each of these renamed operations so that they can
handle containers.

23 years agoEliminate CONTAINER-URL-CONTENTS in favor of CONTAINER-CONTENTS.
Chris Hanson [Wed, 23 May 2001 21:30:02 +0000 (21:30 +0000)]
Eliminate CONTAINER-URL-CONTENTS in favor of CONTAINER-CONTENTS.

23 years agoRename URL-CONTAINER to CONTAINER-URL to better reflect its meaning.
Chris Hanson [Wed, 23 May 2001 21:20:28 +0000 (21:20 +0000)]
Rename URL-CONTAINER to CONTAINER-URL to better reflect its meaning.

23 years agoFix bug in previous change: the object being modified is the
Chris Hanson [Wed, 23 May 2001 13:46:26 +0000 (13:46 +0000)]
Fix bug in previous change: the object being modified is the
container, not the URL for the container.

23 years agoGeneralize implementations of properties and modification events so
Chris Hanson [Wed, 23 May 2001 05:05:29 +0000 (05:05 +0000)]
Generalize implementations of properties and modification events so
that they can be mixed in to arbitrary classes.  Simplify property
implementation to use an alist.  This saves 4 words of memory, which
is important for message objects.

Create generalized resources, which are the referents of URLs.  Use
these as the base for folders, and create a new container type.

Change CREATE-FOLDER, DELETE-FOLDER, RENAME-FOLDER, and APPEND-MESSAGE
to signal appropriate events to the container of the folders being
manipulated.  This will allow folder browsers to automatically update
themselves as their contents are changed.

Add hooks to folder and container prompts, which allow the folder
browser to use some of the standard server commands.  The browser
can supply the appropriate URL string without prompting.

Don't let M-x imail-copy-folder copy from a folder to itself.

23 years agoNote that RENAME-FOLDER must change the URL the target folder refers
Chris Hanson [Wed, 23 May 2001 04:15:10 +0000 (04:15 +0000)]
Note that RENAME-FOLDER must change the URL the target folder refers
to.

23 years agoImplement WITHOUT-TEXT-CLIPPED.
Chris Hanson [Tue, 22 May 2001 16:16:34 +0000 (16:16 +0000)]
Implement WITHOUT-TEXT-CLIPPED.

23 years agoDuh. Can't delete DOS pathname support; that is used by Win32 and
Chris Hanson [Tue, 22 May 2001 03:18:47 +0000 (03:18 +0000)]
Duh.  Can't delete DOS pathname support; that is used by Win32 and
OS/2.

23 years agoDuh. Can't delete DOS pathname support; that is used by Win32 and
Chris Hanson [Tue, 22 May 2001 03:09:52 +0000 (03:09 +0000)]
Duh.  Can't delete DOS pathname support; that is used by Win32 and
OS/2.

23 years agoFix longstanding bug: must send WM_PAINT after SCREEN_WRITE so that
Chris Hanson [Tue, 22 May 2001 02:46:47 +0000 (02:46 +0000)]
Fix longstanding bug: must send WM_PAINT after SCREEN_WRITE so that
messages appear on screen even when no input is being read.

23 years agoFix thinko in previous change.
Chris Hanson [Tue, 22 May 2001 02:21:10 +0000 (02:21 +0000)]
Fix thinko in previous change.

23 years agoFix bug: missing alternative in conditional was causing prompt to have
Chris Hanson [Mon, 21 May 2001 20:48:11 +0000 (20:48 +0000)]
Fix bug: missing alternative in conditional was causing prompt to have
random default value.

23 years agoChange IMAP-URL-SERVER-MAILBOX to accept container URLs and strip the
Chris Hanson [Fri, 18 May 2001 20:03:09 +0000 (20:03 +0000)]
Change IMAP-URL-SERVER-MAILBOX to accept container URLs and strip the
trailing delimiter off of them.

23 years agoAdd package for folder browser.
Chris Hanson [Fri, 18 May 2001 19:21:12 +0000 (19:21 +0000)]
Add package for folder browser.

23 years agoFix typo in previous change.
Chris Hanson [Fri, 18 May 2001 01:04:02 +0000 (01:04 +0000)]
Fix typo in previous change.

23 years agoChange M-x imail-delete-message to accept a prefix argument, which
Chris Hanson [Fri, 18 May 2001 01:01:47 +0000 (01:01 +0000)]
Change M-x imail-delete-message to accept a prefix argument, which
means to repeat just like imail-delete-forward.

23 years agoIn REBUILD-IMAIL-SUMMARY-BUFFER, SELECTED-FOLDER can return #F, but
Chris Hanson [Fri, 18 May 2001 00:56:43 +0000 (00:56 +0000)]
In REBUILD-IMAIL-SUMMARY-BUFFER, SELECTED-FOLDER can return #F, but
the code wasn't allowing for that possibility.

23 years agoIf ERROR? argument to SELECTED-FOLDER and SELECTED-MESSAGE is false,
Chris Hanson [Fri, 18 May 2001 00:55:32 +0000 (00:55 +0000)]
If ERROR? argument to SELECTED-FOLDER and SELECTED-MESSAGE is false,
don't signal an error even if the associated property isn't bound.
The old behavior has caused too many problems in weird places, and has
no real benefits.

23 years agoImplement RUN-BUFFER-HOOKS to capture code that runs the hooks list.
Chris Hanson [Fri, 18 May 2001 00:52:36 +0000 (00:52 +0000)]
Implement RUN-BUFFER-HOOKS to capture code that runs the hooks list.
Fix potential problem by copying the hooks list.

23 years agoEliminate legacy file URL protocol names. These can only cause
Chris Hanson [Thu, 17 May 2001 05:05:30 +0000 (05:05 +0000)]
Eliminate legacy file URL protocol names.  These can only cause
confusion when writing to output files that don't already exist.

23 years agoEliminate MAKE-PEER-URL in favor of MAKE-CHILD-URL.
Chris Hanson [Thu, 17 May 2001 04:37:55 +0000 (04:37 +0000)]
Eliminate MAKE-PEER-URL in favor of MAKE-CHILD-URL.

23 years agoSplit the IMAP URL type into two types: one for IMAP folders, and the
Chris Hanson [Thu, 17 May 2001 04:00:04 +0000 (04:00 +0000)]
Split the IMAP URL type into two types: one for IMAP folders, and the
other for IMAP containers.  The two are distinguished solely by the
form of their mailbox names: a trailing slash (or null mailbox) means
it's a container, otherwise it's a folder.

23 years agoNew operation CONTAINER-URL-CONTENTS.
Chris Hanson [Tue, 15 May 2001 19:47:02 +0000 (19:47 +0000)]
New operation CONTAINER-URL-CONTENTS.

Reimplemented URL-IS-SELECTABLE? for file folders.  New implementation
probes the file to determine if it is a known type.

File-folder completion now only considers files of known type and
directories.  It also doesn't consider "." and ".." directories.

Code that mapped IMAP heirarchy delimiters was broken, although this
caused no practical consequences.  It has been reimplemented to make
it both correct and simpler.

IMAP-folder completion used to probe subfolders of a folder to
determine if a folder should have a "/" at the end.  This was wasteful
of network bandwidth and had no practical consequences, so it has been
changed to not do this.

23 years agoRestructure directory-reading code to clean up the interface a bit.
Chris Hanson [Mon, 14 May 2001 19:27:54 +0000 (19:27 +0000)]
Restructure directory-reading code to clean up the interface a bit.

23 years ago* Implement container URLs, which are separate from folder URLs.
Chris Hanson [Sun, 13 May 2001 03:46:17 +0000 (03:46 +0000)]
* Implement container URLs, which are separate from folder URLs.
  These are implemented as directories for file-based folders.  IMAP
  folders are also containers.

* Eliminate URL-CONTAINER-STRING; now there is URL-CONTAINER that
  returns a container URL.

* Rename URL-SELECTABLE? to URL-IS-SELECTABLE?.

* Eliminate "rmail" and "umail" protocols in favor of "file".  This
  now covers both Rmail and unix-mail folders, as well as directories.
  The actual file type is determined by probing the first few bytes of
  the file for known patterns.  The names "rmail" and "umail" are now
  treated as equivalent to "file" for upwards compatibility.

* Change prompting code in front end so that it is possible to specify
  that the returned folder satisfies URL-IS-SELECTABLE?.  Also add a
  procedure to prompt for a container.

23 years agoUse new predicate DIRECTORY-PATHNAME? to replace various ad-hoc
Chris Hanson [Sat, 12 May 2001 20:03:21 +0000 (20:03 +0000)]
Use new predicate DIRECTORY-PATHNAME? to replace various ad-hoc
mechanisms previously used to detect the same thing.

23 years agoImplement DIRECTORY-PATHNAME?. Change implementation of
Chris Hanson [Sat, 12 May 2001 19:40:22 +0000 (19:40 +0000)]
Implement DIRECTORY-PATHNAME?.  Change implementation of
DIRECTORY-PATHNAME and FILE-PATHNAME to be host-specific.

23 years agoMinor code clean-up for FILENAME-COMPLETE-STRING.
Chris Hanson [Thu, 10 May 2001 19:06:17 +0000 (19:06 +0000)]
Minor code clean-up for FILENAME-COMPLETE-STRING.

23 years agoSimplify CATCH-FILE-ERRORS so that the error-handling procedure always
Chris Hanson [Thu, 10 May 2001 18:34:56 +0000 (18:34 +0000)]
Simplify CATCH-FILE-ERRORS so that the error-handling procedure always
gets the condition as an argument.

23 years agoSimplify CATCH-FILE-ERRORS so that the error-handling procedure always
Chris Hanson [Thu, 10 May 2001 18:22:37 +0000 (18:22 +0000)]
Simplify CATCH-FILE-ERRORS so that the error-handling procedure always
gets the condition as an argument.

23 years agoFix bug: don't merge name of default pathname into partial URL string.
Chris Hanson [Thu, 10 May 2001 18:19:17 +0000 (18:19 +0000)]
Fix bug: don't merge name of default pathname into partial URL string.

23 years agoFix bug: FILE-SYMBOLIC-LINK? is supposed to return the link contents
Chris Hanson [Thu, 10 May 2001 03:14:07 +0000 (03:14 +0000)]
Fix bug: FILE-SYMBOLIC-LINK? is supposed to return the link contents
if the result is true.  My rewrite returned #t in that case.

23 years agoFix thinko in previous fix.
Chris Hanson [Thu, 10 May 2001 02:11:44 +0000 (02:11 +0000)]
Fix thinko in previous fix.

23 years agoFix bug in M-x dired-create-directory: PROMPT-FOR-DIRECTORY recently
Chris Hanson [Wed, 9 May 2001 21:03:05 +0000 (21:03 +0000)]
Fix bug in M-x dired-create-directory: PROMPT-FOR-DIRECTORY recently
changed so that it always returns the result as a directory pathname
with no file part.  The code here was assuming that the name part was
always present.

23 years agoIn PROMPT-FOR-STRING-TABLE-NAME, verifier must no assume that
Chris Hanson [Wed, 9 May 2001 18:10:21 +0000 (18:10 +0000)]
In PROMPT-FOR-STRING-TABLE-NAME, verifier must no assume that
STRING-TABLE-GET will return false value only when key isn't in table.

23 years agoAdd new procedure URL-SELECTABLE?.
Chris Hanson [Wed, 9 May 2001 17:38:33 +0000 (17:38 +0000)]
Add new procedure URL-SELECTABLE?.

23 years agoImplement FILE-REGULAR?.
Chris Hanson [Wed, 9 May 2001 14:18:50 +0000 (14:18 +0000)]
Implement FILE-REGULAR?.

23 years agoDelete DOS stuff.
Chris Hanson [Wed, 9 May 2001 13:58:54 +0000 (13:58 +0000)]
Delete DOS stuff.

23 years agoDelete DOS stuff.
Chris Hanson [Wed, 9 May 2001 13:58:28 +0000 (13:58 +0000)]
Delete DOS stuff.

23 years agoImplement new procedures FILE-TYPE-DIRECT and FILE-TYPE-INDIRECT.
Chris Hanson [Wed, 9 May 2001 03:17:14 +0000 (03:17 +0000)]
Implement new procedures FILE-TYPE-DIRECT and FILE-TYPE-INDIRECT.
Several procedures in the OS-dependent files were identical for all
operating-systems; move them to "sfile.scm".

23 years agoImplement new primitives FILE-TYPE-DIRECT and FILE-TYPE-INDIRECT.
Chris Hanson [Wed, 9 May 2001 03:15:14 +0000 (03:15 +0000)]
Implement new primitives FILE-TYPE-DIRECT and FILE-TYPE-INDIRECT.

23 years agoDelete DOS stuff.
Chris Hanson [Wed, 9 May 2001 03:04:54 +0000 (03:04 +0000)]
Delete DOS stuff.

23 years agoFix problem: COMPLETE-INPUT-STRING should not return NO-MATCH when
Chris Hanson [Tue, 8 May 2001 21:08:36 +0000 (21:08 +0000)]
Fix problem: COMPLETE-INPUT-STRING should not return NO-MATCH when
VERIFY-FINAL-VALUE fails on an exact match, because this match might
not be the final value.  Instead, just do the verification and return
the information to the caller.

23 years agoChange logic to retain REQUIRE-MATCH? option for later use when
Chris Hanson [Mon, 7 May 2001 18:44:35 +0000 (18:44 +0000)]
Change logic to retain REQUIRE-MATCH? option for later use when
verifying values.

23 years agoRevert broken change to VERIFY-FINAL-VALUE.
Chris Hanson [Mon, 7 May 2001 18:37:15 +0000 (18:37 +0000)]
Revert broken change to VERIFY-FINAL-VALUE.

23 years agoChange directory prompts to be more regular.
Chris Hanson [Mon, 7 May 2001 18:36:50 +0000 (18:36 +0000)]
Change directory prompts to be more regular.

23 years agoUpdate version number to reflect changes.
Chris Hanson [Mon, 7 May 2001 18:03:54 +0000 (18:03 +0000)]
Update version number to reflect changes.

23 years agoAdd note about implementation of FOLDER-LENGTH for IMAP folders.
Chris Hanson [Mon, 7 May 2001 18:03:43 +0000 (18:03 +0000)]
Add note about implementation of FOLDER-LENGTH for IMAP folders.
Remove note about URL-EXISTS? which is now implemented.

23 years agoDon't unmemoize a folder when URL-EXISTS? signals an error; it might
Chris Hanson [Mon, 7 May 2001 18:02:52 +0000 (18:02 +0000)]
Don't unmemoize a folder when URL-EXISTS? signals an error; it might
be a transitory error.

It's not obvious to me that we need to unmemoize here.  Maybe we
should just delete the call to URL-EXISTS? altogether.

23 years agoVERIFY-FINAL-VALUE is always executed in a context that handles
Chris Hanson [Mon, 7 May 2001 18:01:40 +0000 (18:01 +0000)]
VERIFY-FINAL-VALUE is always executed in a context that handles
errors, so there's no need for us to do this.

23 years agoChange URL-EXISTS? to use the LIST command, and to filter out NOSELECT
Chris Hanson [Mon, 7 May 2001 18:01:05 +0000 (18:01 +0000)]
Change URL-EXISTS? to use the LIST command, and to filter out NOSELECT
mailboxes.

23 years agoAttempt to get VERIFY-FINAL-VALUE to work correctly for completing
Chris Hanson [Mon, 7 May 2001 18:00:20 +0000 (18:00 +0000)]
Attempt to get VERIFY-FINAL-VALUE to work correctly for completing
reads.  It appears to be used for two different things; perhaps we
need to redesign this.

23 years agoCompilations must use a PTY so that kill-compilation can work.
Chris Hanson [Mon, 7 May 2001 17:59:35 +0000 (17:59 +0000)]
Compilations must use a PTY so that kill-compilation can work.