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.
Chris Hanson [Sat, 9 Jun 2001 00:34:58 +0000 (00:34 +0000)]
Forgot to export HANDLE-SUBPROCESS-STATUS-CHANGE to the socket code.
Chris Hanson [Sat, 9 Jun 2001 00:30:38 +0000 (00:30 +0000)]
INPUT-BUFFER/READ-SUBSTRING must use generic arithmetic for indexes
into the substring, because it might be an xstring that is larger than
the fixnum range.
Chris Hanson [Sat, 9 Jun 2001 00:29:48 +0000 (00:29 +0000)]
READ-SUBSTRING! can return less than the requested number of bytes.
Deal with it.
Chris Hanson [Thu, 7 Jun 2001 17:48:19 +0000 (17:48 +0000)]
VC's state is wiped out when the workfile's buffer has it's mode
changed. Use new event EVENT:SET-BUFFER-MAJOR-MODE to reset it at
that time.
Chris Hanson [Thu, 7 Jun 2001 17:45:01 +0000 (17:45 +0000)]
LOAD-FIND-FILE-INITIALIZATION must be re-run when the buffer's
pathname or major mode is changed.
Chris Hanson [Thu, 7 Jun 2001 17:44:21 +0000 (17:44 +0000)]
VC's state is wiped out when the workfile's buffer has it's mode
changed. Use new event EVENT:SET-BUFFER-MAJOR-MODE to reset it at
that time.
Chris Hanson [Thu, 7 Jun 2001 17:43:21 +0000 (17:43 +0000)]
Add new event EVENT:SET-BUFFER-MAJOR-MODE.
Chris Hanson [Tue, 5 Jun 2001 02:46:59 +0000 (02:46 +0000)]
Fix bug: TCP-SERVER-CONNECTION-ACCEPT was blocking on the server
socket, rather than registering it for management by select.
Chris Hanson [Mon, 4 Jun 2001 19:26:33 +0000 (19:26 +0000)]
When reverting buffer, preserve selected resource, marked resources,
and expanded containers. When initializing buffer, select first
resource line.
Chris Hanson [Mon, 4 Jun 2001 19:25:11 +0000 (19:25 +0000)]
Select first unseen message when invoking M-x imail on a folder that
is already online.
Chris Hanson [Mon, 4 Jun 2001 17:42:49 +0000 (17:42 +0000)]
Rename commands to match current Dired usage.
Chris Hanson [Mon, 4 Jun 2001 17:42:30 +0000 (17:42 +0000)]
Simplify usage of COPY-FOLDER.
Chris Hanson [Mon, 4 Jun 2001 17:40:38 +0000 (17:40 +0000)]
More new notes.
Chris Hanson [Mon, 4 Jun 2001 17:40:15 +0000 (17:40 +0000)]
Implement M-x imail-browser-do-copy. Consolidate code used for copy
and rename. Write documentation strings for all commands and for the
major mode.
Chris Hanson [Mon, 4 Jun 2001 17:39:08 +0000 (17:39 +0000)]
Simplify usage of COPY-FOLDER.
Chris Hanson [Mon, 4 Jun 2001 17:38:50 +0000 (17:38 +0000)]
Implement WITH-OPEN-RESOURCE.
Chris Hanson [Mon, 4 Jun 2001 17:12:33 +0000 (17:12 +0000)]
Fix minor wording problem in documentation string.
Chris Hanson [Sun, 3 Jun 2001 06:03:47 +0000 (06:03 +0000)]
Change commands used to enter browser. Now the primary command is M-x
imail-browser-view-container (bound to ^ in all IMAIL buffers), which
browses the container of the resource being viewed in the current
buffer. This command will prompt for a container URL if given a
prefix argument.
Chris Hanson [Sun, 3 Jun 2001 06:00:18 +0000 (06:00 +0000)]
Fix bug: the container URL "imap://localhost/" had an associated
"folder" URL with the same string representation. This confused the
URL interning mechanism, which uses the string rep as the key.
Consequently only one of the URLs existed. Now, the "folder" is
represented by "imap://localhost".
Chris Hanson [Sun, 3 Jun 2001 01:48:32 +0000 (01:48 +0000)]
When processing marked files in a Dired buffer, update screens after
each file is processed so that the mark is appropriately removed.
Chris Hanson [Sun, 3 Jun 2001 01:42:40 +0000 (01:42 +0000)]
Change CLOSE-RESOURCE so that second argument is required rather than
optional.
Chris Hanson [Sun, 3 Jun 2001 01:41:49 +0000 (01:41 +0000)]
Associate a connection with an open IMAP container. Add code to
browser to guarantee that the resource is closed at appropriate times.
Chris Hanson [Sun, 3 Jun 2001 01:23:54 +0000 (01:23 +0000)]
*** empty log message ***
Chris Hanson [Sun, 3 Jun 2001 01:23:45 +0000 (01:23 +0000)]
Change M-x imail-quit to use the new NO-DEFER? argument to
CLOSE-RESOURCE.
Chris Hanson [Sun, 3 Jun 2001 01:22:54 +0000 (01:22 +0000)]
Add optional argument NO-DEFER? to CLOSE-RESOURCE. If this argument
is true, it tells the operation that the resource must be closed
immediately. Otherwise, the operation may defer the closure.
Chris Hanson [Sat, 2 Jun 2001 22:30:07 +0000 (22:30 +0000)]
Add a few notes.
Chris Hanson [Sat, 2 Jun 2001 22:28:49 +0000 (22:28 +0000)]
Add commented-out stubs for commands to do file linking.
Chris Hanson [Sat, 2 Jun 2001 22:25:38 +0000 (22:25 +0000)]
Add logic to GET-X-DISPLAY to test for existence of X primitives, and
to make sure that a display variable exists. This is necessary so
that Edwin will work on a system that doesn't have X support.
Chris Hanson [Sat, 2 Jun 2001 21:57:16 +0000 (21:57 +0000)]
PROMPT-FOR-DIRECTORY should not always perform PATHNAME-AS-DIRECTORY
on its result; if the REQUIRE-MATCH? option isn't given, the result
might not be a directory. For example, Dired uses this prompt, and an
input with a wildcard file part is permissible.
Chris Hanson [Sat, 2 Jun 2001 21:50:06 +0000 (21:50 +0000)]
Update doc string for dired-do-copy to match Emacs.