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.
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.
Chris Hanson [Tue, 22 May 2001 16:16:34 +0000 (16:16 +0000)]
Implement WITHOUT-TEXT-CLIPPED.
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.
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.
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.
Chris Hanson [Tue, 22 May 2001 02:21:10 +0000 (02:21 +0000)]
Fix thinko in previous change.
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.
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.
Chris Hanson [Fri, 18 May 2001 19:21:12 +0000 (19:21 +0000)]
Add package for folder browser.
Chris Hanson [Fri, 18 May 2001 01:04:02 +0000 (01:04 +0000)]
Fix typo in previous change.
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.
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.
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.
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.
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.
Chris Hanson [Thu, 17 May 2001 04:37:55 +0000 (04:37 +0000)]
Eliminate MAKE-PEER-URL in favor of MAKE-CHILD-URL.
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.
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.
Chris Hanson [Mon, 14 May 2001 19:27:54 +0000 (19:27 +0000)]
Restructure directory-reading code to clean up the interface a bit.
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.
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.
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.
Chris Hanson [Thu, 10 May 2001 19:06:17 +0000 (19:06 +0000)]
Minor code clean-up for FILENAME-COMPLETE-STRING.
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.
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.
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.
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.
Chris Hanson [Thu, 10 May 2001 02:11:44 +0000 (02:11 +0000)]
Fix thinko in previous fix.
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.
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.
Chris Hanson [Wed, 9 May 2001 17:38:33 +0000 (17:38 +0000)]
Add new procedure URL-SELECTABLE?.
Chris Hanson [Wed, 9 May 2001 14:18:50 +0000 (14:18 +0000)]
Implement FILE-REGULAR?.
Chris Hanson [Wed, 9 May 2001 13:58:54 +0000 (13:58 +0000)]
Delete DOS stuff.
Chris Hanson [Wed, 9 May 2001 13:58:28 +0000 (13:58 +0000)]
Delete DOS stuff.
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".
Chris Hanson [Wed, 9 May 2001 03:15:14 +0000 (03:15 +0000)]
Implement new primitives FILE-TYPE-DIRECT and FILE-TYPE-INDIRECT.
Chris Hanson [Wed, 9 May 2001 03:04:54 +0000 (03:04 +0000)]
Delete DOS stuff.
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.
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.
Chris Hanson [Mon, 7 May 2001 18:37:15 +0000 (18:37 +0000)]
Revert broken change to VERIFY-FINAL-VALUE.
Chris Hanson [Mon, 7 May 2001 18:36:50 +0000 (18:36 +0000)]
Change directory prompts to be more regular.
Chris Hanson [Mon, 7 May 2001 18:03:54 +0000 (18:03 +0000)]
Update version number to reflect changes.
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.
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.
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.
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.
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.
Chris Hanson [Mon, 7 May 2001 17:59:35 +0000 (17:59 +0000)]
Compilations must use a PTY so that kill-compilation can work.
Chris Hanson [Fri, 4 May 2001 19:37:30 +0000 (19:37 +0000)]
URL-EXISTS? should not use IMAP STATUS command.
Chris Hanson [Thu, 3 May 2001 20:14:51 +0000 (20:14 +0000)]
Fix problem that crops up when compiling on OpenBSD.
Chris Hanson [Mon, 30 Apr 2001 02:45:59 +0000 (02:45 +0000)]
Fix bug: previous loader depended on MITSCHEME_INF_DIRECTORY being
set. I used to set this and didn't notice, but these days I don't set
it.
Chris Hanson [Mon, 30 Apr 2001 02:44:35 +0000 (02:44 +0000)]
Fix bug: previous loader depended on MITSCHEME_INF_DIRECTORY being
set. I used to set this and didn't notice, but these days I don't set
it.
Chris Hanson [Sun, 15 Apr 2001 21:12:29 +0000 (21:12 +0000)]
Add option to preserve timestamps when installing programs, if the
install program supports it.
Chris Hanson [Sun, 15 Apr 2001 20:59:02 +0000 (20:59 +0000)]
Fix bug: toggling of raw headers and raw body should be more separate.
Chris Hanson [Sun, 15 Apr 2001 20:25:08 +0000 (20:25 +0000)]
Add item re M-x imail-toggle-header affecting body presentation.
Chris Hanson [Sat, 14 Apr 2001 02:34:27 +0000 (02:34 +0000)]
Initial revision.
Chris Hanson [Sat, 14 Apr 2001 01:57:06 +0000 (01:57 +0000)]
Rip out scmutils stuff; this now has its own script.
Chris Hanson [Wed, 11 Apr 2001 01:28:28 +0000 (01:28 +0000)]
Revert previous change -- it's not so simple.
Chris Hanson [Wed, 11 Apr 2001 01:14:28 +0000 (01:14 +0000)]
Allow attachments to have MESSAGE type.
Chris Hanson [Wed, 11 Apr 2001 01:09:45 +0000 (01:09 +0000)]
Fix bug: must preserve MIME headers in forwarded messages, otherwise
the encapsulated message won't be interpreted correctly by the
receiver.
Chris Hanson [Wed, 11 Apr 2001 00:47:06 +0000 (00:47 +0000)]
Fix bug: header names are case-insensitive.
Chris Hanson [Tue, 10 Apr 2001 20:49:48 +0000 (20:49 +0000)]
Add call to tzset to initialize _timezone if building under cygwin.
Chris Hanson [Tue, 10 Apr 2001 20:49:08 +0000 (20:49 +0000)]
Add test for _timezone variable, needed for cygwin. Change preference
of timezone variables to this order: __timezone, _timezone, timezone.
Chris Hanson [Tue, 10 Apr 2001 20:37:17 +0000 (20:37 +0000)]
Add item about forwarded MIME messages. Add note about possible fix
for network wedging.
Chris Hanson [Tue, 10 Apr 2001 19:31:13 +0000 (19:31 +0000)]
Another pass on getting scmutils right.
Chris Hanson [Mon, 9 Apr 2001 13:17:28 +0000 (13:17 +0000)]
Add suggestion from hal to allow sorting of summary buffer.
Chris Hanson [Fri, 6 Apr 2001 20:58:43 +0000 (20:58 +0000)]
Change arguments to allow specification of a version number. Make the
scmutils stuff work again.
Chris Hanson [Fri, 6 Apr 2001 19:05:42 +0000 (19:05 +0000)]
Change `get_release' to support up to 5 components in the version.
Change `get_release_prefix' and `get_release_tag' to accept a
version-number argument.
Chris Hanson [Tue, 3 Apr 2001 17:52:21 +0000 (17:52 +0000)]
Fix bug: examination of results from `poll' was ignoring file
descriptors on which there were error conditions but no input.
Chris Hanson [Tue, 3 Apr 2001 03:44:02 +0000 (03:44 +0000)]
Always start the thread timer when there are any input registrations.
The timer is necessary even if no threads are currently running.
Chris Hanson [Wed, 21 Mar 2001 19:28:07 +0000 (19:28 +0000)]
Update version to reflect recent changes.
Chris Hanson [Wed, 21 Mar 2001 19:25:42 +0000 (19:25 +0000)]
Change many references of SYMBOL->STRING to use SYMBOL-NAME instead.
These are all situations where copying the returned string is
unnecessary and wasteful.
Chris Hanson [Wed, 21 Mar 2001 19:15:29 +0000 (19:15 +0000)]
Change many references of SYMBOL->STRING to use SYMBOL-NAME instead.
These are all situations where copying the returned string is
unnecessary and wasteful.
Chris Hanson [Wed, 21 Mar 2001 05:42:20 +0000 (05:42 +0000)]
Fix typo.
Chris Hanson [Wed, 21 Mar 2001 05:40:40 +0000 (05:40 +0000)]
Allow WRITE-SUBSTRING output-port operation to accept external
strings.
Chris Hanson [Wed, 21 Mar 2001 05:40:01 +0000 (05:40 +0000)]
Use SUBSTRING-MOVE! in preference to SUBSTRING-MOVE-LEFT! and
SUBSTRING-MOVE-RIGHT!.
Chris Hanson [Wed, 21 Mar 2001 05:30:53 +0000 (05:30 +0000)]
Further optimize string-copying code.
Chris Hanson [Wed, 21 Mar 2001 05:30:07 +0000 (05:30 +0000)]
Fix typo.
Chris Hanson [Tue, 20 Mar 2001 04:30:51 +0000 (04:30 +0000)]
Update for release 7.5.16.
Chris Hanson [Tue, 20 Mar 2001 04:03:56 +0000 (04:03 +0000)]
Minimize consing in READ-RMAIL-ATTRIBUTES-LINE.
Chris Hanson [Mon, 19 Mar 2001 22:51:53 +0000 (22:51 +0000)]
Change file folders to store their messages in a vector rather than a
list. The linear-time lookup was killing performance on large
folders.
Chris Hanson [Mon, 19 Mar 2001 22:26:01 +0000 (22:26 +0000)]
Slow down the progress messages a bit; the parsing is now fast enough
that we were doing too much work updating the screen.
Chris Hanson [Mon, 19 Mar 2001 22:17:37 +0000 (22:17 +0000)]
Add DISCARD-CHARS and READ-STRING operations to xstring input port.
Change SKIP-TO-LINE-START to use DISCARD-CHARS.
Chris Hanson [Mon, 19 Mar 2001 22:14:47 +0000 (22:14 +0000)]
Fix problem: there's not necessarily a blank line between the
alternate headers and the separator line.
Chris Hanson [Mon, 19 Mar 2001 22:13:16 +0000 (22:13 +0000)]
Add LENGTH member to external-string structure. It turns out that
it's important that fetching the length be fast.
Chris Hanson [Mon, 19 Mar 2001 20:01:35 +0000 (20:01 +0000)]
Fix thinko in previous change.
Chris Hanson [Mon, 19 Mar 2001 20:01:21 +0000 (20:01 +0000)]
Add support for DISCARD-CHAR operation.
Chris Hanson [Mon, 19 Mar 2001 19:33:06 +0000 (19:33 +0000)]
Extend use of external-string storage to all file folders. Don't
pre-compute message headers; compute them on the fly from the external
string when needed.
Chris Hanson [Mon, 19 Mar 2001 19:31:12 +0000 (19:31 +0000)]
Generalize IMAIL-UI:PROGRESS-METER to be able to show progress when
total number of items isn't known. Memoize value computed by
COUNT-UNSEEN-MESSAGES, to speed up navigation in very large folders.
Chris Hanson [Mon, 19 Mar 2001 19:29:48 +0000 (19:29 +0000)]
Move MESSAGE-TIME into core.
Chris Hanson [Sun, 18 Mar 2001 06:47:48 +0000 (06:47 +0000)]
Change implementation of Rmail folders to keep a copy of the Rmail
file in an external string, and to refer to the message bodies using
index pairs into the string. This change should allow Scheme to
handle much larger Rmail folders.
Chris Hanson [Sun, 18 Mar 2001 06:27:49 +0000 (06:27 +0000)]
Change implementation of Rmail folders to keep a copy of the Rmail
file in an external string, and to refer to the message bodies using
index pairs into the string. This change should allow Scheme to
handle much larger Rmail folders.
Chris Hanson [Sun, 18 Mar 2001 06:26:13 +0000 (06:26 +0000)]
Change implementation of Rmail folders to keep a copy of the Rmail
file in an external string, and to refer to the message bodies using
index pairs into the string. This change should allow Scheme to
handle much larger Rmail folders.
Chris Hanson [Fri, 16 Mar 2001 21:54:31 +0000 (21:54 +0000)]
Rewrite to generate the finished message into a temporary file rather
than a buffer. This allows the sending of attachments that are too
large to fit into memory.
Also rework the attachment interface slightly to simplify the choices
presented to the user when the MIME type of a file can't be determined
automatically.
Chris Hanson [Fri, 16 Mar 2001 21:37:48 +0000 (21:37 +0000)]
Make sure temporary files aren't readable or writeable by anyone other
than the owner.
Chris Hanson [Fri, 16 Mar 2001 20:20:03 +0000 (20:20 +0000)]
Update for next release.
Chris Hanson [Fri, 16 Mar 2001 20:17:51 +0000 (20:17 +0000)]
Rewrite debugging-info directory on option files; they are sometimes
loaded while building the system but must refer to debugging info in
it's installed location.
Chris Hanson [Thu, 15 Mar 2001 21:14:58 +0000 (21:14 +0000)]
Add more CALL-WITH-*-FILE entries to indentation table.
Chris Hanson [Thu, 15 Mar 2001 21:14:17 +0000 (21:14 +0000)]
Implement CALL-WITH-APPEND-FILE and CALL-WITH-BINARY-APPEND-FILE.