Chris Hanson [Sat, 31 Dec 2005 15:43:42 +0000 (15:43 +0000)]
Don't provide support for a special DISCARD-CHAR operation; always use
READ-CHAR instead.
Taylor R. Campbell [Tue, 27 Dec 2005 06:22:06 +0000 (06:22 +0000)]
Eliminate redundant and incorrect definition of INPUT-PORT/READ-LINE,
which the run-time system has provided for some time now.
Taylor R. Campbell [Sun, 25 Dec 2005 17:43:52 +0000 (17:43 +0000)]
Signal a recognizable NNTP EOF error instead of a simple error if the
the server silently closes the connection and NNTP-READ-LINE receives
an EOF, so that NNTP-PROTECT can handle the condition and reopen the
connection in this event, when before it would just signal an Edwin
Edwin error. The response field of NNTP errors can now be either a
string or an EOF object.
Taylor R. Campbell [Sun, 25 Dec 2005 17:04:39 +0000 (17:04 +0000)]
Implement SIGWINCH handler so that Edwin console screens can resize
themselves if their enclosing terminals are resized. This is
accomplished by:
- allocating a new interrupt, INT_Global_3, to mean that the
console was resized;
- installing a SIGWINCH handler to request an INT_Global_3
interrupt;
- introducing a new event distributor, EVENT:CONSOLE-RESIZE, which
the run-time system's INT_Global_3 handler invokes; and
- adding edwin/tterm.scm's RESIZE-SCREEN as an event receiver to
EVENT:CONSOLE-RESIZE whenever an Edwin console screen is entered,
and removing it whenever a console screen is exited.
Taylor R. Campbell [Sun, 25 Dec 2005 05:59:46 +0000 (05:59 +0000)]
Use -MM option to gcc in makegen-cc to generate header file lists,
not -M; -MM inhibits inclusion of system files, which not only are
superfluous but also, if absent, cause errors to be silently inserted
into the resultant Makefiles, which make then chokes on.
Taylor R. Campbell [Sun, 25 Dec 2005 05:56:58 +0000 (05:56 +0000)]
Protect against EOF in NNTP-READ-LINE, which causes segfaults
elsewhere if unchecked.
Taylor R. Campbell [Sun, 25 Dec 2005 05:10:02 +0000 (05:10 +0000)]
Fix bug in DISCARD-CHAR whereby it would fail if not immediately
following a successful (non-EOF) PEEK-CHAR, while it should have the
same effect as READ-CHAR, per the manual. DISCARD-CHAR is now a port
operation that may be supplied when constructing port types, but for
which a default is provided in terms of READ-CHAR. The DISCARD-CHAR
feature now clobbers the unread character field only if it is already
filled; otherwise, it defers to the supplied operation.
Chris Hanson [Fri, 23 Dec 2005 04:15:45 +0000 (04:15 +0000)]
Implement FIND-UNIQUE-MATCHING-ITEM and FIND-UNIQUE-NON-MATCHING-ITEM.
Chris Hanson [Thu, 22 Dec 2005 18:54:12 +0000 (18:54 +0000)]
Fix thinko that caused internal error when visiting non-SVN-managed
files in a directory with SVN files.
Chris Hanson [Thu, 22 Dec 2005 01:44:35 +0000 (01:44 +0000)]
Add omitted principal name to kinit call.
Chris Hanson [Tue, 20 Dec 2005 20:27:36 +0000 (20:27 +0000)]
Add hack to give cron job access to AFS.
Chris Hanson [Tue, 20 Dec 2005 15:53:04 +0000 (15:53 +0000)]
Fix typo.
Chris Hanson [Tue, 20 Dec 2005 01:52:56 +0000 (01:52 +0000)]
Add limited support for column tracking -- only works for ISO 8859-x
character sets.
Chris Hanson [Mon, 19 Dec 2005 19:29:56 +0000 (19:29 +0000)]
Don't use multiclosures by default, as this adversely affects how
procedures are reclaimed by GC.
Chris Hanson [Mon, 19 Dec 2005 04:11:32 +0000 (04:11 +0000)]
Change XML->STRING to use string output ports and to support coding.
Chris Hanson [Mon, 19 Dec 2005 04:03:14 +0000 (04:03 +0000)]
Change HTML-xxx-DOCUMENT to allow overriding the XML declaration.
Chris Hanson [Mon, 19 Dec 2005 04:00:37 +0000 (04:00 +0000)]
Change XML-ATTRS to eliminate duplicates. Implement FIND-XML-ATTR.
Chris Hanson [Mon, 19 Dec 2005 03:58:56 +0000 (03:58 +0000)]
Update to reflect files added since 2001.
Chris Hanson [Sun, 18 Dec 2005 03:27:00 +0000 (03:27 +0000)]
Fix two bugs: (1) <MESSAGE-PART> was missing a MESSAGE-LENGTH method.
(2) MIME:PARSE-BODY-STRUCTURE was incorrectly creating parts with an
encoding that was #F (the encoding must always be a symbol).
Chris Hanson [Sun, 18 Dec 2005 03:25:29 +0000 (03:25 +0000)]
Considerably simplify implementation of MIME encodings, and add
support for "unknown" encoding types.
Chris Hanson [Sun, 18 Dec 2005 00:20:43 +0000 (00:20 +0000)]
Add missing initialization for (RUNTIME URI).
Taylor R. Campbell [Fri, 16 Dec 2005 02:04:59 +0000 (02:04 +0000)]
Expunge FOLDER-SUPPORTS-MIME? and restructure INSERT-MESSAGE in
imail-top.scm slightly to fix bug introduced with new MIME parser,
where non-MIME messages in folders that claim to support MIME would
cause errors by trying to walk a MIME body structure that is #F.
Folders that support MIME specially now need only to implement
different MIME-MESSAGE-BODY-STRUCTURE & WRITE-MIME-MESSAGE-BODY-PART
methods, since there is default MIME support for all folders now.
Chris Hanson [Wed, 14 Dec 2005 05:44:53 +0000 (05:44 +0000)]
Change MAKE-GSTATE to take separate arguments for coding and
line-ending names. Initialize string I/O ports to ISO-8859-1 and
NEWLINE, respectively, as TEXT is wrong on non-unix systems.
Chris Hanson [Tue, 13 Dec 2005 15:31:02 +0000 (15:31 +0000)]
Eliminate UTF-xx string ports; use corresponding coding on standard
string ports instead.
Chris Hanson [Tue, 13 Dec 2005 06:41:05 +0000 (06:41 +0000)]
Ugh: the CVS/Root file for this directory was not updated after the
move to Savannah, and consequently all of the updates have been
recorded in the wrong place. Merge them back in now.
Chris Hanson [Tue, 13 Dec 2005 06:20:01 +0000 (06:20 +0000)]
Update for moved CVS repository.
Chris Hanson [Tue, 13 Dec 2005 06:14:57 +0000 (06:14 +0000)]
Update for moved CVS repository.
Chris Hanson [Tue, 13 Dec 2005 01:41:39 +0000 (01:41 +0000)]
Fix typo: "$Id $" --> "$Id$". Reindent a couple of forms. Move page
marks around to fix overlong page.
Chris Hanson [Mon, 12 Dec 2005 21:55:44 +0000 (21:55 +0000)]
Generalize generic I/O interface so that it can work with ports that
aren't backed by channels. Reimplement string I/O ports to work this
way, so that they can take advantage of all the nice codecs.
Taylor R. Campbell [Sat, 10 Dec 2005 06:45:32 +0000 (06:45 +0000)]
Initial checkin of new general MIME parser for IMAIL. All folders by
default now support MIME.
Still missing:
- message media type
- RFC2047 =?x?y?z= header field parsing
- Content-Language parsing
- coherent error handling
- efficiency of performance
Taylor R. Campbell [Fri, 9 Dec 2005 20:34:15 +0000 (20:34 +0000)]
Implement RFC822 extensions needed by the MIME parser:
- The tokenizer is now generalized over the special character set,
which the MIME header syntax extends.
- The tokenizer also has an option for whether to keep ignored
tokens in the first place, making RFC822:STRIP-WHITESPACE!'s no
longer necessary.
- RFC822:UNQUOTE-STRING is the inverse of RFC822:QUOTE-STRING.
Taylor R. Campbell [Fri, 9 Dec 2005 20:25:59 +0000 (20:25 +0000)]
Implement SRFI 2: AND-LET*
Taylor R. Campbell [Fri, 9 Dec 2005 07:06:23 +0000 (07:06 +0000)]
Fix a number of small errors in the port abstraction and its use:
- Fix WRITE-CHAR methods supplied to MAKE-PORT-TYPE to return the
number of characters written, i.e. 1, not an unspecific value.
- Make sure all of the input & output features in the port
abstraction for transcript ports actually check whether the
supplied operation succeeded before transcribing the I/O.
- Use WIDE-STRING-REF, not STRING-REF, on wide strings.
- Use XSUBSTRING-MOVE!, not SUBSTRING-MOVE!, on external strings.
Chris Hanson [Wed, 30 Nov 2005 04:55:45 +0000 (04:55 +0000)]
Load VC on all platforms, not just unix.
Chris Hanson [Tue, 29 Nov 2005 06:54:11 +0000 (06:54 +0000)]
Add support for codings and line endings to string ports.
Taylor R. Campbell [Sun, 27 Nov 2005 06:40:53 +0000 (06:40 +0000)]
Avert infinite recursion in WRITE-MESSAGE-BODY on file methods by
having file external message accessor methods return the item being
accessed if it is not a file external reference, instead of calling the
next method in that case.
Taylor R. Campbell [Sun, 27 Nov 2005 06:35:24 +0000 (06:35 +0000)]
Fix error in SUBSTRING->LINES with no default line-ending argument
whereby STRING-LENGTH was passed the default object (#!DEFAULT), not
the default line-ending string.
Taylor R. Campbell [Thu, 24 Nov 2005 00:00:59 +0000 (00:00 +0000)]
Implement GNU Emacs's NEXT-LINE behaviour, which only conditionally
inserts a newline if the point is at the end of the buffer, controlled
by the new variable NEXT-LINE-ADD-NEWLINES, which is by default set to
#T so as to preserve the old behaviour.
Taylor R. Campbell [Sun, 20 Nov 2005 04:12:59 +0000 (04:12 +0000)]
In binding items generated by top-level syntax definitions, rename the
identifier being bound with RENAME-TOP-LEVEL-IDENTIFIER, because some
syntax definitions are produced with temporary synthetic identifiers,
which the output interface should not see.
Also, elide the unnecessary OVERLOADED-BINDING-THEORY indirection in
variable and syntactic definition form classification.
Chris Hanson [Wed, 16 Nov 2005 04:00:16 +0000 (04:00 +0000)]
Fix bug: changes to size of window were being ignored because
they were being delivered in non-synthetic ConfigureNotify events.
Chris Hanson [Tue, 15 Nov 2005 00:33:51 +0000 (00:33 +0000)]
Fix bug: must save dstack_position _prior_ to calling prop_data
converter.
Chris Hanson [Sun, 13 Nov 2005 03:53:47 +0000 (03:53 +0000)]
Add changes to support DB 4.3.
Chris Hanson [Sun, 13 Nov 2005 03:47:00 +0000 (03:47 +0000)]
Eliminate unused procedure x_error_message.
Chris Hanson [Sun, 13 Nov 2005 03:45:59 +0000 (03:45 +0000)]
In XTERM-OPEN-WINDOW, eliminate unused variable and tweak for style.
Chris Hanson [Sat, 12 Nov 2005 22:53:36 +0000 (22:53 +0000)]
Add somewhat complex Emacs hack to deal with complexities of
positioning windows. Ignore non-synthetic reconfigure events when
interacting with a reparenting window manager. Eliminate use of
deprecated size and position hints fields. Improve X debugging
information. Change default internal-border-width from 1 to 0.
Simplify method used to catch X errors.
Chris Hanson [Sat, 12 Nov 2005 22:34:58 +0000 (22:34 +0000)]
Run XTERM-RECONFIGURE after setting font, _not_ XTERM-SET-SIZE.
Chris Hanson [Sat, 12 Nov 2005 22:31:01 +0000 (22:31 +0000)]
Eliminate some unnecessary integrations.
Taylor R. Campbell [Wed, 9 Nov 2005 21:26:53 +0000 (21:26 +0000)]
Fix character set matching in the parser test example to use the
CHAR-SET directive instead of ALPHABET, which, since the introduction
of Unicode support, now refers to Unicode alphabets, as the name
implies, and not character sets.
Chris Hanson [Mon, 7 Nov 2005 06:58:50 +0000 (06:58 +0000)]
Revert "optimization" from previous changes.
Chris Hanson [Sun, 6 Nov 2005 16:30:58 +0000 (16:30 +0000)]
Make sure that group point is updated when window point is changed.
Chris Hanson [Sun, 6 Nov 2005 16:17:00 +0000 (16:17 +0000)]
Change SET-WINDOW-POINT! and SET-GROUP-POINT! to modify point's index
rather than creating a new marker. Add new procedures
SET-GROUP-POINT-INDEX! and %SET-BUFFER-POINT-INDEX!.
Chris Hanson [Sun, 6 Nov 2005 13:35:25 +0000 (13:35 +0000)]
Fix bug: FIRST-TAGS-TABLE-BUFFER was confusing #F and () and causing
SEGV when there was no tag table being visited.
Chris Hanson [Sat, 5 Nov 2005 06:19:39 +0000 (06:19 +0000)]
Reorganize and simplify.
Chris Hanson [Sat, 5 Nov 2005 06:18:31 +0000 (06:18 +0000)]
Fix thinko in UNDO-RECORD-INSERTION!.
Chris Hanson [Sat, 5 Nov 2005 04:23:00 +0000 (04:23 +0000)]
Fix copyright dates.
Chris Hanson [Thu, 3 Nov 2005 19:29:18 +0000 (19:29 +0000)]
Export database open/close procedures to expanders.
Chris Hanson [Wed, 26 Oct 2005 21:44:43 +0000 (21:44 +0000)]
Fix thinko from previous change.
Chris Hanson [Mon, 24 Oct 2005 18:19:40 +0000 (18:19 +0000)]
Add Taylor Campbell to list.
Chris Hanson [Mon, 24 Oct 2005 05:35:26 +0000 (05:35 +0000)]
Don't use pathname in printed representation of file port -- convert
to namestring instead.
Chris Hanson [Mon, 24 Oct 2005 05:31:07 +0000 (05:31 +0000)]
Fix bug: explicitly-defined record unparsers installed during cold
load weren't being seen.
Taylor R. Campbell [Mon, 24 Oct 2005 05:07:38 +0000 (05:07 +0000)]
Fix bug in parser optimizer whereby local bindings for the buffer
pointer would be eliminated due to ostensible lack of reference, even
if the user code contained references to them, because the reference
counter won't descend into the user code. Also, reintroduce the new
rule, which was previously removed, for turning redundant bindings of
the buffer pointer into aliases. Cases affected independently by each
optimization should now be covered correctly & safely.
Chris Hanson [Mon, 24 Oct 2005 02:51:23 +0000 (02:51 +0000)]
LENGTH operation is valid for both input _and_ output files.
Chris Hanson [Mon, 24 Oct 2005 02:47:47 +0000 (02:47 +0000)]
LENGTH operation is valid for both input _and_ output files.
Chris Hanson [Mon, 24 Oct 2005 02:30:08 +0000 (02:30 +0000)]
Export KEEP-MATCHING-ITEMS!.
Chris Hanson [Mon, 24 Oct 2005 02:23:41 +0000 (02:23 +0000)]
Fix bug #14354: use email address and ctime() string in message
separator of FCC files, because they are supposed to be unix-mail
files. Also add "Date" and "From" headers, and don't output a newline
before the first message in a file.
Chris Hanson [Mon, 24 Oct 2005 01:55:50 +0000 (01:55 +0000)]
Fix bug #12430: do auto-fill line break _before_ inserting new char.
Chris Hanson [Mon, 24 Oct 2005 01:45:41 +0000 (01:45 +0000)]
Fix bug #11850: change port type predicates to return #T when true.
Chris Hanson [Mon, 24 Oct 2005 01:26:40 +0000 (01:26 +0000)]
Fix bug #14361: IMAIL use of backslashes in symbol names was broken by
change to reader syntax for symbols.
Chris Hanson [Sun, 23 Oct 2005 21:10:02 +0000 (21:10 +0000)]
Use new argument to TEST-FOR-IO-ON-CHANNEL.
Chris Hanson [Sun, 23 Oct 2005 21:03:52 +0000 (21:03 +0000)]
Fix copyright date.
Chris Hanson [Sun, 23 Oct 2005 21:01:06 +0000 (21:01 +0000)]
Add optional BLOCK? argument to TEST-FOR-IO-ON-CHANNEL.
Chris Hanson [Sun, 23 Oct 2005 20:41:22 +0000 (20:41 +0000)]
Fix bug #14844: Edwin tutorial causes an internal error if window is
too small. Also fix pagination by restyling.
Chris Hanson [Fri, 21 Oct 2005 17:20:39 +0000 (17:20 +0000)]
Fix problem with modeline being wrong for "added" files.
Chris Hanson [Fri, 21 Oct 2005 02:46:59 +0000 (02:46 +0000)]
Another pass on SVN integration. This one seems to perform basic
operations correctly.
Chris Hanson [Wed, 19 Oct 2005 05:31:55 +0000 (05:31 +0000)]
Initial draft of subversion back end.
Chris Hanson [Thu, 29 Sep 2005 19:16:39 +0000 (19:16 +0000)]
Export DEFINE-GUARANTEE to global environment.
Chris Hanson [Thu, 29 Sep 2005 19:15:54 +0000 (19:15 +0000)]
In HASH-TABLE/COUNT, rehash the table if it needs it -- this is the
only way to guarantee an accurate count.
Chris Hanson [Tue, 20 Sep 2005 19:23:15 +0000 (19:23 +0000)]
Provide default MIME type of "application/octet-stream" for otherwise
unrecognized file types.
Chris Hanson [Sat, 17 Sep 2005 01:20:50 +0000 (01:20 +0000)]
Change IE content type to be "text/html".
Chris Hanson [Tue, 13 Sep 2005 14:19:26 +0000 (14:19 +0000)]
Allow "iso8859-" character sets.
Chris Hanson [Thu, 8 Sep 2005 19:12:49 +0000 (19:12 +0000)]
Standardize guarantees in record package.
Chris Hanson [Thu, 8 Sep 2005 18:51:30 +0000 (18:51 +0000)]
Add unparser methods to URI record types.
Chris Hanson [Thu, 8 Sep 2005 02:31:19 +0000 (02:31 +0000)]
Ignore attempt to link variable to itself.
Chris Hanson [Thu, 8 Sep 2005 02:02:04 +0000 (02:02 +0000)]
Don't allow linking a variable to itself.
Chris Hanson [Wed, 7 Sep 2005 19:24:28 +0000 (19:24 +0000)]
Add support for "Content-Transfer-Encoding: x-uuencode".
Chris Hanson [Wed, 7 Sep 2005 19:20:09 +0000 (19:20 +0000)]
Add decoder for uuencoded files.
Chris Hanson [Mon, 22 Aug 2005 01:15:07 +0000 (01:15 +0000)]
Don't ever try MAP_FIXED unless we _know_ that the address range is
available.
Chris Hanson [Mon, 22 Aug 2005 01:07:05 +0000 (01:07 +0000)]
Add updated support for valgrind.
Chris Hanson [Sat, 20 Aug 2005 01:57:37 +0000 (01:57 +0000)]
Eliminate some remnants of the "stacklet" design.
Chris Hanson [Fri, 12 Aug 2005 13:17:30 +0000 (13:17 +0000)]
Try to prevent circular entity-reference chains from occurring.
Chris Hanson [Wed, 10 Aug 2005 18:16:59 +0000 (18:16 +0000)]
Change FLO:RANDOM-UNIT (and consequently RANDOM) to exclude zero when
generating floating-point random numbers. Change initialization to
destructively modify *RANDOM-STATE* and DEFAULT-RANDOM-SOURCE. Fix
bug: COPY-RANDOM-STATE! was copying the target to the source.
Chris Hanson [Fri, 5 Aug 2005 20:04:19 +0000 (20:04 +0000)]
Eliminate some now-unused bindings.
Chris Hanson [Fri, 5 Aug 2005 20:03:05 +0000 (20:03 +0000)]
Eliminate support for compiled C code.
Chris Hanson [Thu, 4 Aug 2005 02:14:48 +0000 (02:14 +0000)]
Fix fencepost error in handling of port width.
Chris Hanson [Sun, 31 Jul 2005 02:59:37 +0000 (02:59 +0000)]
Eliminate binding for primitive GC-SPACE-STATUS, since that binding is
now in the global environment.
Chris Hanson [Sun, 31 Jul 2005 02:58:39 +0000 (02:58 +0000)]
Update copyright dates.
Chris Hanson [Sun, 31 Jul 2005 02:55:18 +0000 (02:55 +0000)]
Eliminate use of primitive GET-NEXT-CONSTANT, which is to be removed
from the microcode. Instead use GC-SPACE-STATUS to implement
CONSTANT-SPACE/IN-USE.
Chris Hanson [Sun, 24 Jul 2005 05:21:11 +0000 (05:21 +0000)]
Don't use mmap_heap_malloc unless HEAP_IN_LOW_MEMORY is defined.
Chris Hanson [Sun, 24 Jul 2005 05:19:44 +0000 (05:19 +0000)]
Rewrite mmap_heap_malloc to search "/proc/NNNN/maps" for a suitable
address. Also, don't use mmap_heap_malloc unless HEAP_IN_LOW_MEMORY
is defined.
Chris Hanson [Sun, 24 Jul 2005 05:10:03 +0000 (05:10 +0000)]
Use 'OS_malloc' for default definition of 'HEAP_MALLOC', because the
latter isn't allowed to return the null pointer.