Chris Hanson [Sat, 4 Aug 2001 02:46:14 +0000 (02:46 +0000)]
Fix bugs in unbind_variable.
Chris Hanson [Sat, 4 Aug 2001 02:45:30 +0000 (02:45 +0000)]
Fix formatting of environments.
Chris Hanson [Fri, 3 Aug 2001 20:30:02 +0000 (20:30 +0000)]
Rewrite interpreter-environment abstraction to account for new
primitive that unbinds variables. This works with the old microcode.
Chris Hanson [Thu, 2 Aug 2001 18:29:33 +0000 (18:29 +0000)]
Update version to reflect changes to variable reference.
Chris Hanson [Thu, 2 Aug 2001 04:32:14 +0000 (04:32 +0000)]
In-line code flush_cache, which had one reference.
Chris Hanson [Thu, 2 Aug 2001 04:30:16 +0000 (04:30 +0000)]
Implement unlink_variable and associated primitive, which is not yet
tested.
Also, more cleanups to "lookup.c", particularly in code that accesses
cache reference lists. Increased abstraction in this area is being
prompted by potential design changes to allow linking variables with
different names.
Chris Hanson [Thu, 2 Aug 2001 04:24:19 +0000 (04:24 +0000)]
Eliminate unused TRAP_RECACHE. Add updated comment explaining where
TRAP_UNBOUND is allowed to occur.
Chris Hanson [Wed, 1 Aug 2001 02:17:31 +0000 (02:17 +0000)]
Don't access a cache value as a cell.
Chris Hanson [Wed, 1 Aug 2001 02:17:08 +0000 (02:17 +0000)]
Simplify logic in a few places.
Chris Hanson [Tue, 31 Jul 2001 03:12:15 +0000 (03:12 +0000)]
Completely rewrite the variable-reference code. New design is
considerably simpler, having discarded all the legacy code from the
Butterfly. Furthermore, two hacks to speed up the interpreter,
caching of variable locations and in-line variable reference, have
been removed. This makes the interpreter slower, but has no effect on
compiled code, and has several important benefits. One benefit is
that we can now implement undefine.
New design allows ENVIRONMENT-LINK-NAME to link to a variable that is
already bound (previous signalled an error in this case).
Eliminate "in-line" variable references in the interpreter. All
reference machinery is now defined in "lookup.c".
Define THE_GLOBAL_ENV and THE_NULL_ENV, and predicates to detect
them. Eliminate GO_TO_GLOBAL and END_OF_CHAIN definitions. Latter
was a name conflict under OS/2. Change definition of ENVIRONMENT_P
so that it is false for THE_NULL_ENV.
Define lots of macros to provide abstract access to the data
structures used for variable references. Change terminology, so
that instead of "trap extension" we now use "cache", and so on for
the substructures of the cache.
Add "guards" to allow .h files to be loaded more than once.
Remove variable-access procedures from "extern.h"; new procedures
are now defined in "lookup.h".
Eliminate all unused trap kinds.
Chris Hanson [Sun, 29 Jul 2001 02:16:05 +0000 (02:16 +0000)]
When generating dependencies, pass -DMIT_SCHEME to compiler.
Chris Hanson [Sat, 21 Jul 2001 05:49:59 +0000 (05:49 +0000)]
Fix problem: errors during keyboard-macro execution were leaving the
editor in the command reader that was spawned to execute the keyboard
macro, rather than returning to the reader that was in control when
the keyboard-macro execution was initiated.
Some of the keyboard-macro state was being mismanaged by unnecessary
calls to KEYBOARD-MACRO-DISABLE. This was exacerbated because
KEYBOARD-MACRO-DISABLE was setting *KEYBOARD-MACRO-EXECUTING?* to #F
when it should have been left alone.
Chris Hanson [Sat, 21 Jul 2001 03:53:36 +0000 (03:53 +0000)]
Change UPDATE-IMAP-FOLDER-LENGTH! back to its original design.
The bug I was seeing had nothing to do with this code.
Chris Hanson [Sat, 21 Jul 2001 01:27:49 +0000 (01:27 +0000)]
Change UPDATE-IMAP-FOLDER-LENGTH! so that it always signals a
modification event.
Chris Hanson [Thu, 19 Jul 2001 18:27:16 +0000 (18:27 +0000)]
Update for post-release changes.
Chris Hanson [Thu, 19 Jul 2001 18:26:17 +0000 (18:26 +0000)]
Update for post-release changes.
Chris Hanson [Thu, 19 Jul 2001 18:25:22 +0000 (18:25 +0000)]
Fix bug: when multiple USUAL-INTEGRATIONS declarations are given, the
excluded names should be the union of all of the declarations, but
instead were the intersection. This situation arises when using
COMPILE-FILE, which forces an additional USUAL-INTEGRATIONS
declarations on each file.
Chris Hanson [Thu, 19 Jul 2001 01:45:36 +0000 (01:45 +0000)]
Fix typo. Supply definition for (surprisingly) missing INADDR_LOOPBACK.
Chris Hanson [Thu, 19 Jul 2001 01:45:02 +0000 (01:45 +0000)]
Fix typo.
Chris Hanson [Thu, 19 Jul 2001 01:13:53 +0000 (01:13 +0000)]
A few more tweaks to get this working right.
Chris Hanson [Thu, 19 Jul 2001 00:44:37 +0000 (00:44 +0000)]
Fix typo.
Chris Hanson [Thu, 19 Jul 2001 00:03:01 +0000 (00:03 +0000)]
Disable crypto and gdbm support by default, since it relies on
libraries not commonly available.
Chris Hanson [Wed, 18 Jul 2001 05:27:33 +0000 (05:27 +0000)]
Add code for using Microsoft's assembler.
Chris Hanson [Wed, 18 Jul 2001 05:25:00 +0000 (05:25 +0000)]
Update to have hand-written dependencies as does the watcom makefile.
Chris Hanson [Wed, 18 Jul 2001 05:11:09 +0000 (05:11 +0000)]
Update references to 7.5.16 in the document body.
Chris Hanson [Wed, 18 Jul 2001 04:48:51 +0000 (04:48 +0000)]
Change version for release 7.5.17.
Chris Hanson [Wed, 18 Jul 2001 04:46:15 +0000 (04:46 +0000)]
Release notes for 7.5.17.
Chris Hanson [Wed, 18 Jul 2001 04:18:55 +0000 (04:18 +0000)]
Document the folder browser.
Chris Hanson [Tue, 17 Jul 2001 02:47:54 +0000 (02:47 +0000)]
The key bindings for toggle- commands have been changed.
Chris Hanson [Tue, 17 Jul 2001 02:36:50 +0000 (02:36 +0000)]
Modify to reflect changes to server-socket code, and for
implementation of procedures to support file links and file types.
Chris Hanson [Tue, 17 Jul 2001 02:08:50 +0000 (02:08 +0000)]
Fix name of WIN32-NAMED-PIPE, which had underscore instead of hyphen.
Also add alias FILE-SOFT-LINK?.
Chris Hanson [Mon, 16 Jul 2001 20:41:29 +0000 (20:41 +0000)]
Add code to write XML structures.
Chris Hanson [Mon, 16 Jul 2001 20:40:28 +0000 (20:40 +0000)]
Add code to write XML structures.
Chris Hanson [Mon, 16 Jul 2001 20:39:33 +0000 (20:39 +0000)]
Fix a number of bugs that were revealed during testing of the output
code.
Chris Hanson [Mon, 16 Jul 2001 18:55:28 +0000 (18:55 +0000)]
Tweak format of !ELEMENT content type to be a little easier to
disassemble.
Chris Hanson [Mon, 16 Jul 2001 18:54:48 +0000 (18:54 +0000)]
Delete now-unused entity-reference structures.
Chris Hanson [Mon, 16 Jul 2001 02:44:01 +0000 (02:44 +0000)]
Must unblock all signals at start. A recent example that has caused
problems is that GNOME can sometimes cause Scheme to be started with
SIGCHLD blocked.
Chris Hanson [Sat, 14 Jul 2001 11:44:13 +0000 (11:44 +0000)]
Use new parser/matcher macro environments.
Chris Hanson [Sat, 14 Jul 2001 11:43:50 +0000 (11:43 +0000)]
Export type descriptors for each of the XML data structure types.
Chris Hanson [Sat, 14 Jul 2001 11:42:49 +0000 (11:42 +0000)]
Add environment mechanism so that parser/matcher macros from one
program don't interfere with those from another.
Chris Hanson [Thu, 12 Jul 2001 21:57:06 +0000 (21:57 +0000)]
Duh; DEFINE-STRUCTURE has one distinguished expression, not two.
Chris Hanson [Thu, 12 Jul 2001 21:05:20 +0000 (21:05 +0000)]
Add indentation rule for DEFINE-STRUCTURE. I think maybe the standard
indentation for definitions isn't right.
Chris Hanson [Thu, 12 Jul 2001 05:31:37 +0000 (05:31 +0000)]
A bunch of simple edits resulting from reading over the code.
Chris Hanson [Thu, 12 Jul 2001 05:08:16 +0000 (05:08 +0000)]
Rename RUN-VALIDITY-TESTS to RUN-XML-TESTS, and change it to run all
the tests in the xmltest directory.
Chris Hanson [Thu, 12 Jul 2001 03:53:02 +0000 (03:53 +0000)]
Fix some bugs.
Chris Hanson [Thu, 12 Jul 2001 03:24:32 +0000 (03:24 +0000)]
Update to use new Unicode support in the parser language. This should
improve the conformance.
Chris Hanson [Thu, 12 Jul 2001 03:08:33 +0000 (03:08 +0000)]
Flesh out unicode support. Fix bugs.
Chris Hanson [Wed, 11 Jul 2001 22:09:50 +0000 (22:09 +0000)]
Add unicode support.
Chris Hanson [Wed, 11 Jul 2001 21:23:02 +0000 (21:23 +0000)]
Add unicode support.
Chris Hanson [Wed, 11 Jul 2001 00:41:55 +0000 (00:41 +0000)]
New procedure PARSER-BUFFER-REF.
Chris Hanson [Tue, 10 Jul 2001 19:34:32 +0000 (19:34 +0000)]
Reorganize for presentation.
Chris Hanson [Tue, 10 Jul 2001 17:50:17 +0000 (17:50 +0000)]
Another round of changes. Now passes all of the valid tests, and most
of the not-well-formed tests.
Chris Hanson [Tue, 10 Jul 2001 05:30:31 +0000 (05:30 +0000)]
Extensive reworking to get entity references done more or less right.
There remains a problem with recursive entity expansion -- there is a
mismatch between the tests and my reading of the specification.
Chris Hanson [Tue, 10 Jul 2001 05:04:44 +0000 (05:04 +0000)]
Add COMPLETE keyword.
Chris Hanson [Mon, 9 Jul 2001 04:08:19 +0000 (04:08 +0000)]
Rename ELEMENT-TRANSFORM to MAP.
Chris Hanson [Sun, 8 Jul 2001 05:25:29 +0000 (05:25 +0000)]
Change DISCONNECT-FOLDER to close the connection immediately, rather
than deferring. This is what the end-user expects to see happen.
Chris Hanson [Fri, 6 Jul 2001 21:17:04 +0000 (21:17 +0000)]
Initial revision.
Chris Hanson [Fri, 6 Jul 2001 21:14:38 +0000 (21:14 +0000)]
When file is written for the first time, mark the buffer as having
been backed up.
Chris Hanson [Fri, 6 Jul 2001 20:50:49 +0000 (20:50 +0000)]
Package the code. Move parser macros to their own file so that they
can be loaded during compilation.
Restructure the top-level parser to allow passing the DTD down to the
element parser for entity expansion.
Implement attribute-value normalization.
Add restrictions required for rejection of non-wf documents: no "--"
in comments; no duplicate attribute names.
Change names of DTD structures to reflect their keywords.
Fix various minor bugs, discovered either by the test suite or by the
compiler.
Chris Hanson [Thu, 5 Jul 2001 20:47:53 +0000 (20:47 +0000)]
Move data structures to separate file.
Chris Hanson [Thu, 5 Jul 2001 20:38:42 +0000 (20:38 +0000)]
Initial revision.
Chris Hanson [Thu, 5 Jul 2001 18:51:23 +0000 (18:51 +0000)]
Fix typo.
Chris Hanson [Mon, 2 Jul 2001 19:21:57 +0000 (19:21 +0000)]
Don't lift Scheme expressions up to the top of the procedure; evaluate
them in place. Eliminate DEFAULT in favor of new VALUES.
Chris Hanson [Mon, 2 Jul 2001 18:47:51 +0000 (18:47 +0000)]
Fix bug: pretty printer was getting SIGSEGV when printing very deeply
nested named let.
Chris Hanson [Mon, 2 Jul 2001 18:21:01 +0000 (18:21 +0000)]
Completely reorganize the language preprocessors, so that they are no
longer monolithic procedures. Also lay the code out differently so
that it is broken into two major segments: the preprocessor and the
code generator.
Chris Hanson [Mon, 2 Jul 2001 18:18:38 +0000 (18:18 +0000)]
Fix bug: unfinished change to BACKTRACK-TO.
Chris Hanson [Mon, 2 Jul 2001 12:14:35 +0000 (12:14 +0000)]
Replace WITH-CURRENT-POINTER and NO-POINTERS with new procedure
CALL-WITH-UNKNOWN-POINTER. Change all references from "pointers" to
"pointer", since it's better to think of this as a single pointer.
(The delayed backtracking feature is an implementation detail, so it
shouldn't be reflected in the name.) Rename NEW-BACKTRACK-POINTER to
BACKTRACK-TO. Rename CURRENT-POINTER to POINTER-REFERENCE.
Chris Hanson [Mon, 2 Jul 2001 05:08:22 +0000 (05:08 +0000)]
Rework handling of the pointers. There were some subtle bugs in the
implementation that could have caused incorrect code generation. This
code looks good but is still a bit confusing; I may not have it right
yet. This code isn't yet tested.
Chris Hanson [Mon, 2 Jul 2001 01:55:25 +0000 (01:55 +0000)]
Implement new primitive X-SET-DEFAULT-FONT.
Chris Hanson [Mon, 2 Jul 2001 01:45:36 +0000 (01:45 +0000)]
Add new command M-x set-default-font.
Chris Hanson [Mon, 2 Jul 2001 01:20:32 +0000 (01:20 +0000)]
Restructure crypto, gdbm, and curses tests to depend on existence of
appropriate header files as well as the library files. The presence
of the library file is no guarantee that we have the headers.
Chris Hanson [Sat, 30 Jun 2001 06:05:35 +0000 (06:05 +0000)]
Add ability to specify macros that are symbols rather than forms.
These expand to fixed parser sequences.
Chris Hanson [Sat, 30 Jun 2001 03:23:59 +0000 (03:23 +0000)]
Add WITH-POINTER to both parser and matcher languages. Also implement
macros for both languages.
Chris Hanson [Sat, 30 Jun 2001 03:21:23 +0000 (03:21 +0000)]
Make sure that line number is properly updated.
Chris Hanson [Fri, 29 Jun 2001 05:23:24 +0000 (05:23 +0000)]
* Track the line number of the current buffer position, so that error
messages can refer to the line. Change representation of buffer
pointers to include the line number. Add operation to generate a
string that shows the line number and character number of either a
given pointer or the current position.
* Eliminate DECREMENT-PARSER-BUFFER-POINTER, which was unused and
makes implementing the line number more difficult.
* Add -NO-ADVANCE versions of procedures that match single characters.
* Change terminology: the index of the current character in the buffer
is called a "position". The word "pointer" is reserved to refer to
pointer objects that are handed to the users, which themselves refer
to positions.
Chris Hanson [Fri, 29 Jun 2001 05:19:24 +0000 (05:19 +0000)]
* Track the line number of the current buffer position, so that error
messages can refer to the line. Change representation of buffer
pointers to include the line number. Add operation to generate a
string that shows the line number and character number of either a
given pointer or the current position.
* Eliminate DECREMENT-PARSER-BUFFER-POINTER, which was unused and
makes implementing the line number more difficult.
* Add -NO-ADVANCE versions of procedures that match single characters.
* Change terminology: the index of the current character in the buffer
is called a "position". The word "pointer" is reserved to refer to
pointer objects that are handed to the users, which themselves refer
to positions.
Chris Hanson [Fri, 29 Jun 2001 05:18:19 +0000 (05:18 +0000)]
* Track the line number of the current buffer position, so that error
messages can refer to the line. Change representation of buffer
pointers to include the line number. Add operation to generate a
string that shows the line number and character number of either a
given pointer or the current position.
* Eliminate DECREMENT-PARSER-BUFFER-POINTER, which was unused and
makes implementing the line number more difficult.
* Add -NO-ADVANCE versions of procedures that match single characters.
* Change terminology: the index of the current character in the buffer
is called a "position". The word "pointer" is reserved to refer to
pointer objects that are handed to the users, which themselves refer
to positions.
Chris Hanson [Fri, 29 Jun 2001 05:17:21 +0000 (05:17 +0000)]
* Track the line number of the current buffer position, so that error
messages can refer to the line. Change representation of buffer
pointers to include the line number. Add operation to generate a
string that shows the line number and character number of either a
given pointer or the current position.
* Eliminate DECREMENT-PARSER-BUFFER-POINTER, which was unused and
makes implementing the line number more difficult.
* Add -NO-ADVANCE versions of procedures that match single characters.
* Change terminology: the index of the current character in the buffer
is called a "position". The word "pointer" is reserved to refer to
pointer objects that are handed to the users, which themselves refer
to positions.
Chris Hanson [Wed, 27 Jun 2001 02:00:08 +0000 (02:00 +0000)]
Eliminate compiler warnings.
Chris Hanson [Wed, 27 Jun 2001 01:53:53 +0000 (01:53 +0000)]
Fix code-generation bug in MATCH element.
Chris Hanson [Tue, 26 Jun 2001 23:46:41 +0000 (23:46 +0000)]
Fix a couple of code-generation bugs.
Chris Hanson [Tue, 26 Jun 2001 23:46:20 +0000 (23:46 +0000)]
Add some more optimizers.
Chris Hanson [Tue, 26 Jun 2001 21:29:41 +0000 (21:29 +0000)]
Fix two compiler warnings.
Chris Hanson [Tue, 26 Jun 2001 21:28:54 +0000 (21:28 +0000)]
Fix two compiler warnings.
Chris Hanson [Tue, 26 Jun 2001 21:16:46 +0000 (21:16 +0000)]
Lots of hair to allow explicit character-set specifications to be
compiled at load time rather than at run time.
Chris Hanson [Tue, 26 Jun 2001 21:02:09 +0000 (21:02 +0000)]
Lots of hair to allow explicit character-set specifications to be
compiled at load time rather than at run time.
Chris Hanson [Tue, 26 Jun 2001 19:01:31 +0000 (19:01 +0000)]
Change name of language-shifting expression to SEXP.
Chris Hanson [Tue, 26 Jun 2001 18:53:20 +0000 (18:53 +0000)]
Must attempt to parse number before attempting identifier. Otherwise,
the number's sign might be parsed as an identifier.
Chris Hanson [Tue, 26 Jun 2001 18:52:35 +0000 (18:52 +0000)]
Fix problem with optimizer: needed to add notion of default rules that
are used when a more specific pattern isn't available. Also,
generalize OPTIMIZE-GROUP-EXPRESSION so that it can be used by
VECTOR-APPEND.
Chris Hanson [Tue, 26 Jun 2001 18:51:33 +0000 (18:51 +0000)]
Add missing bindings.
Chris Hanson [Tue, 26 Jun 2001 18:51:22 +0000 (18:51 +0000)]
Initial revision.
Chris Hanson [Tue, 26 Jun 2001 18:03:26 +0000 (18:03 +0000)]
Initial revision.
Chris Hanson [Mon, 18 Jun 2001 04:18:25 +0000 (04:18 +0000)]
Define SCHEME-INDENT-METHOD to simplify definition of indentation.
Chris Hanson [Sat, 16 Jun 2001 04:12:02 +0000 (04:12 +0000)]
Don't attempt to set arbitrary flags unless the server says it's OK.
Chris Hanson [Fri, 15 Jun 2001 21:20:53 +0000 (21:20 +0000)]
Fix bug: regular-expression compiler is breaking the character-set
abstraction.
Chris Hanson [Fri, 15 Jun 2001 20:38:51 +0000 (20:38 +0000)]
Change representation of character sets so that they do not satisfy
STRING?. Unfortunately, this requires a complete recompilation of the
system, since the primitives SUBSTRING-FIND-NEXT-CHAR-IN-SET and
SUBSTRING-FIND-PREVIOUS-CHAR-IN-SET were being hard-coded by the
syntaxer.
Chris Hanson [Fri, 15 Jun 2001 20:36:18 +0000 (20:36 +0000)]
Don't integrate the primitives SUBSTRING-FIND-NEXT-CHAR-IN-SET and
SUBSTRING-FIND-PREVIOUS-CHAR-IN-SET.
Chris Hanson [Tue, 12 Jun 2001 01:05:44 +0000 (01:05 +0000)]
Start the folder-probe thread only when the folder is ONLINE, and stop
the thread when the folder is OFFLINE. Make sure that the buffer is
disassociated from it's folder when the buffer is killed.
Chris Hanson [Tue, 12 Jun 2001 00:58:15 +0000 (00:58 +0000)]
Start the folder-probe thread only when the folder is ONLINE, and stop
the thread when the folder is OFFLINE. Make sure that the buffer is
disassociated from it's folder when the buffer is killed.
Chris Hanson [Tue, 12 Jun 2001 00:47:39 +0000 (00:47 +0000)]
Change OPEN-RESOURCE and CLOSE-RESOURCE so that all of their behavior
is pushed down into the type-dependent modules. (Previously, they had
some type-independent code.) This, plus one explicit call, now means
that the STATUS modification event is now consistently signalled
whenever the connection status changes.