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.
Chris Hanson [Sun, 24 Jul 2005 05:08:55 +0000 (05:08 +0000)]
Fix copyright date.
Chris Hanson [Sun, 24 Jul 2005 05:08:30 +0000 (05:08 +0000)]
Rewrite 'strcmp_ci' to use 'toupper' from STDC rather than
non-standardized '_toupper'.
Chris Hanson [Sun, 24 Jul 2005 05:06:40 +0000 (05:06 +0000)]
Don't bother including <string.h> at all; instead trust that "ux.h"
will do the right thing.
Chris Hanson [Tue, 19 Jul 2005 03:49:26 +0000 (03:49 +0000)]
Use OBJECT-GC-TYPE rather than PRIMITIVE-OBJECT-GC-TYPE.
Chris Hanson [Tue, 19 Jul 2005 03:48:44 +0000 (03:48 +0000)]
Remove unused LOAD-PACKED-BINARIES.
Chris Hanson [Sun, 17 Jul 2005 02:27:05 +0000 (02:27 +0000)]
Fix bug: %WITHIN-CONTINUATION was being used in "thread.scm", and my
last change broke the interface.
Chris Hanson [Sun, 17 Jul 2005 02:12:50 +0000 (02:12 +0000)]
Fix some syntax errors only visible on Win32.
Chris Hanson [Sat, 16 Jul 2005 03:46:42 +0000 (03:46 +0000)]
Fix problem with decrementing of string length variable.
Chris Hanson [Sat, 16 Jul 2005 03:44:22 +0000 (03:44 +0000)]
Eliminate non-reentrant continuations. Microcode 14.17 will drop
support for them.
Chris Hanson [Fri, 15 Jul 2005 05:33:08 +0000 (05:33 +0000)]
Update copyright statement.
Chris Hanson [Fri, 15 Jul 2005 05:31:58 +0000 (05:31 +0000)]
Implement ULONG/FIXNUM conversion macros.
Chris Hanson [Fri, 15 Jul 2005 05:31:42 +0000 (05:31 +0000)]
Implement ULONG/FIXNUM conversion macros.
Chris Hanson [Fri, 15 Jul 2005 05:31:18 +0000 (05:31 +0000)]
Change some variables from signed to unsigned.
Chris Hanson [Fri, 15 Jul 2005 04:23:36 +0000 (04:23 +0000)]
Define __inline__ for non-gcc, so we can use this anywhere.
Chris Hanson [Thu, 14 Jul 2005 19:35:15 +0000 (19:35 +0000)]
Fix indentation of #; for single lines.
Chris Hanson [Sat, 9 Jul 2005 03:28:14 +0000 (03:28 +0000)]
Fix typo/thinko: inclusion of <string.h> was conditionalized on
_POSIX, which (a) should have been _POSIX_VERSION and (b) isn't the
right thing to conditionalize anyway.
Chris Hanson [Sat, 9 Jul 2005 03:26:45 +0000 (03:26 +0000)]
Work around illegal use of cast expressions in some of the macros.
GCC 4.0 signals them as errors and refuses to compile the code. Note
that the obstack.h file in GNU libc has the same problem.
Chris Hanson [Mon, 4 Jul 2005 13:51:19 +0000 (13:51 +0000)]
Don't assume that __IA32__ implies support for native compiled code.
Chris Hanson [Mon, 4 Jul 2005 13:49:29 +0000 (13:49 +0000)]
Add processor type for SVM.
Chris Hanson [Mon, 4 Jul 2005 02:40:44 +0000 (02:40 +0000)]
Fix copyright dates.
Chris Hanson [Fri, 1 Jul 2005 19:38:39 +0000 (19:38 +0000)]
New primitives for manipulating objects:
PRIMITIVE-DATUM->ADDRESS
PRIMITIVE-ADDRESS->DATUM
PRIMITIVE-MAKE-OBJECT
PRIMITIVE-OBJECT->INTEGER
PRIMITIVE-INTEGER->OBJECT
Chris Hanson [Thu, 30 Jun 2005 20:04:53 +0000 (20:04 +0000)]
Implement primitives to read and write arbitrary memory.
Chris Hanson [Thu, 30 Jun 2005 20:04:22 +0000 (20:04 +0000)]
Implement PRIMITIVE-OBJECT-ADDRESS.
Chris Hanson [Thu, 30 Jun 2005 17:44:31 +0000 (17:44 +0000)]
Tweak changes slightly.
Chris Hanson [Thu, 30 Jun 2005 17:39:12 +0000 (17:39 +0000)]
Fix flonum comparison operations that were assuming that
(BOOLEAN=? (NOT (FLO:< X Y)) (FLO:>= X Y))
Chris Hanson [Mon, 27 Jun 2005 06:12:45 +0000 (06:12 +0000)]
Fix SIGSEGV generated by M-x isearch-forward-regexp when input was
"[^".
Chris Hanson [Mon, 27 Jun 2005 06:03:43 +0000 (06:03 +0000)]
Another clarification of SIGCONTEXT stuff, this time to incorporate
standardized context information from _POSIX_REALTIME_SIGNALS.
Chris Hanson [Sun, 26 Jun 2005 05:36:52 +0000 (05:36 +0000)]
Change configuration to handle PostgreSQL 8.0 includes.
Chris Hanson [Sun, 26 Jun 2005 04:35:35 +0000 (04:35 +0000)]
Rewrite the unix trap handler to simplify and clarify its logic.
Change the __linux__ code to recognize that the third argument to the
signal handler is a "ucontext_t *" and not a "struct sigcontext *" as
previously assumed. (This will probably cause problems when used on
older linux systems.)
Chris Hanson [Sun, 26 Jun 2005 04:31:47 +0000 (04:31 +0000)]
Guarantee valid sp_register and Free _prior_ to execution of ffree
instruction which might raise SIGFPE. This ensures that the trap
handler gets the right values for recovery.