Chris Hanson [Wed, 21 Jun 2006 02:57:28 +0000 (02:57 +0000)]
Eliminate overly-restrictive error tests from character syntax.
Chris Hanson [Mon, 19 Jun 2006 18:03:24 +0000 (18:03 +0000)]
Fixed references to unbound variable.
Chris Hanson [Mon, 19 Jun 2006 18:02:55 +0000 (18:02 +0000)]
Fixed references to unbound variable.
Chris Hanson [Mon, 19 Jun 2006 18:02:28 +0000 (18:02 +0000)]
Eliminate compiler warning.
Taylor R. Campbell [Fri, 16 Jun 2006 19:02:27 +0000 (19:02 +0000)]
New Edwin library Paredit.
Taylor R. Campbell [Fri, 16 Jun 2006 18:35:45 +0000 (18:35 +0000)]
Move diff.scm to proper alphabetical location in syntaxed filename list.
Taylor R. Campbell [Fri, 16 Jun 2006 18:33:21 +0000 (18:33 +0000)]
Fix Edwin command DIFF-BACKUP for case wherein selected buffer has no
associated file.
Taylor R. Campbell [Fri, 16 Jun 2006 17:55:27 +0000 (17:55 +0000)]
Implement Unix diff(1) front end.
New Edwin variables:
diff-program
New Edwin commands:
diff (compare two files)
diff-backup (compare buffer's file with its most recent backup)
diff-buffer-with-file (compare buffer with its underlying file)
diff-auto-save (compare buffer with its auto-save file)
Chris Hanson [Wed, 14 Jun 2006 04:26:50 +0000 (04:26 +0000)]
Start adding SRFI-1 documentation.
Taylor R. Campbell [Mon, 12 Jun 2006 20:46:28 +0000 (20:46 +0000)]
Implement two kinds of filtering in Edwin's simple news reader:
filtering out messages that match criteria, such as spam; and
filtering headers of kept messages.
See the documentation strings for the new Edwin variables
NEWS-HEADER-FILTER and NEWS-KEPT-HEADERS. New procedures
NEWS-HEADER-SPLITTING-FILTER and NEWS-HEADER-REGEXP-FILTER are useful
for constructing the value of NEWS-HEADER-FILTER. For example,
I have this in my .edwin, so that any messages with xref headers
whose values contain `gmane.spam.detected' on any Gmane news servers
will be ignored:
(add-event-receiver! (ref-variable news-group-mode-hook)
(let ((gmane-spam-filter
(news-header-regexp-filter
'(("xref" . ".*gmane\\.spam\\.detected.*")))))
(lambda (buffer)
(if (string-prefix? "gmane." (buffer-name buffer))
(local-set-variable! news-header-filter
gmane-spam-filter
buffer)))))
Chris Hanson [Mon, 12 Jun 2006 17:53:14 +0000 (17:53 +0000)]
Finish integrating SRFI-1 support.
Chris Hanson [Mon, 12 Jun 2006 05:07:18 +0000 (05:07 +0000)]
Make some changes in preparation for integration of SRFI-1 support:
. Some of the (simpler) new procedures have been installed verbatim
from John Kraemer's edit of Olin's implementation. Some others were
rewritten, but many others have yet to be installed.
. The mapping procedures have been extended to accept arguments of
different lengths (as required).
. MEMBER and ASSOC have been extended to take an extra optional
argument (as required).
. REDUCE has been changed to have the SRFI-1 semantics. This means
that (REDUCE CONS '() '(A B C)) now returns
(c b . a)
where it used to return
((a . b) . c)
This is an incompatible change; hopefully it won't be too painful
for the users.
. FOLD-RIGHT has been extended to support multiple list arguments.
. FOLD-LEFT remains unchanged but is now considered obsolete; SRFI-1
provides FOLD instead, with different semantics.
Additionally, the definition of WEAK-LIST? was wrong and has been
fixed.
Chris Hanson [Mon, 12 Jun 2006 04:19:43 +0000 (04:19 +0000)]
Change or eliminate some calls to REDUCE and FOLD-LEFT that might
cause trouble with the SRFI-1 definitions.
Chris Hanson [Sun, 11 Jun 2006 03:06:23 +0000 (03:06 +0000)]
Fix typo in previous change.
Chris Hanson [Sun, 11 Jun 2006 03:04:17 +0000 (03:04 +0000)]
Repaginate.
Chris Hanson [Sun, 11 Jun 2006 03:03:22 +0000 (03:03 +0000)]
Generate sensible error message when GET-HOST-BY-NAME returns #F.
Chris Hanson [Sat, 10 Jun 2006 15:06:07 +0000 (15:06 +0000)]
Delete unused statements from previous change.
Chris Hanson [Sat, 10 Jun 2006 06:12:26 +0000 (06:12 +0000)]
Fix copyright date.
Chris Hanson [Sat, 10 Jun 2006 06:09:37 +0000 (06:09 +0000)]
Previous change wasn't quite right. Some more tweaking seems to help.
Chris Hanson [Sat, 10 Jun 2006 05:38:02 +0000 (05:38 +0000)]
Add missing datarootdir definition needed by newer versions of
autoconf.
Chris Hanson [Sat, 10 Jun 2006 05:24:54 +0000 (05:24 +0000)]
Fix copyright dates on changed files.
Chris Hanson [Sat, 10 Jun 2006 04:45:30 +0000 (04:45 +0000)]
Remove obsolete file.
Chris Hanson [Sat, 10 Jun 2006 04:43:09 +0000 (04:43 +0000)]
Add parsing support for RDF/Turtle.
Chris Hanson [Sat, 10 Jun 2006 04:17:51 +0000 (04:17 +0000)]
Tweak DIRECTORY-LISTING-BEFORE-FILENAME-REGEXP to add support for
VC-Dired mode.
Chris Hanson [Sat, 10 Jun 2006 04:12:32 +0000 (04:12 +0000)]
Implement ERROR macros.
Chris Hanson [Sat, 10 Jun 2006 04:06:47 +0000 (04:06 +0000)]
Implement PARSER-BUFFER-ERROR.
Chris Hanson [Sat, 10 Jun 2006 03:52:00 +0000 (03:52 +0000)]
Implement WRITE-RDF/NT-FILE.
Michael R. Blair [Mon, 5 Jun 2006 18:09:38 +0000 (18:09 +0000)]
Rationalized the order of clauses in `Display()' to better reflect
the order following `Switch_by_GC_Type()' in "gccode.h".
Michael R. Blair [Mon, 5 Jun 2006 17:57:43 +0000 (17:57 +0000)]
Just shoot me now. FIXNUMs should continue to appear as signed data.
Michael R. Blair [Mon, 5 Jun 2006 17:28:10 +0000 (17:28 +0000)]
Oops. UNSIGNED_FIXNUM_TO_LONG() should be FIXNUM_TO_ULONG().
Scheme 7.6 didn't have that so I misled myself into confusion.
Michael R. Blair [Mon, 5 Jun 2006 17:02:25 +0000 (17:02 +0000)]
I was sick of seeing negative values in high memory due to sign bit.
The only signed longs here are the `gc_death' code (so says "gccode.h")
and the `Points_To' cast of FIXNUMs (since cannot determine sign).
Michael R. Blair [Mon, 5 Jun 2006 15:04:20 +0000 (15:04 +0000)]
Debugging tools (both for debugging `ppband' and the heap image).
Michael R. Blair [Mon, 5 Jun 2006 14:29:12 +0000 (14:29 +0000)]
Generally improved output formatting. More info is better than less.
1. Split hi/lo for easier visual parsing into words.
2. Modest string tweaks (like "0x" prefix for hex).
3. Boundary separators for ease of `grep' to next section.
4. `Datum = ...' everywhere. More info is useful in general.
Michael R. Blair [Mon, 5 Jun 2006 13:08:08 +0000 (13:08 +0000)]
Display TC_LIST as ``PAIR'' as per comment in "sdata.h".
Michael R. Blair [Mon, 5 Jun 2006 13:02:51 +0000 (13:02 +0000)]
Handle recognized constants specially (like UNSPECIFIC and EMPTY_LIST).
Michael R. Blair [Mon, 5 Jun 2006 11:35:14 +0000 (11:35 +0000)]
Display `C_Code_Table' if non-zero (not unlike the Primitive_Table).
Michael R. Blair [Mon, 5 Jun 2006 11:03:43 +0000 (11:03 +0000)]
Add a usage string to `main()' so folks can see how to invoke it.
Clean up the scratch area allocation and truncation (document same).
Michael R. Blair [Mon, 5 Jun 2006 09:51:07 +0000 (09:51 +0000)]
Fixed bit-rotted `show_area's count-based MANIFEST_CLOSURE botchery,
broken `break'-embedding macrology (got whacked in ver.9.46) and such:
0. Include "storage.c" for `Type_Names' and "gctype.c" goodies.
1. Fixed dropped high-order bit on addr & datum hex print (6-bit type).
2. Explicit (not embedded) `break's after (NON_)POINTER() macro calls.
3. Made `TC_NULL' & `TC_TRUE' print less misleadingly when not #T/#F.
4. Patched MANIFEST_CLOSUREs, STACK_ENVIRONMENTs & LINKAGE_SECTIONs as:
5. Area-based display a la "uxtrap.c" using GC macros is much cleaner
(despite the odd redefinition of `MANIFEST_CLOSURE_END()' ver.1.31).
6. Fixed bogus `Next' update for `Const_Count' non-zero (fix end addr).
Michael R. Blair [Mon, 5 Jun 2006 09:49:02 +0000 (09:49 +0000)]
Added "storage.c" to list of dependencies needed for "ppband.c".
Moved "load.c" to list of dependencies since `#include'd, not linked.
Fixed ill-formed mode line in passing (sigh).
Michael R. Blair [Sat, 3 Jun 2006 08:10:10 +0000 (08:10 +0000)]
Resurrect the `ppband' fasdump/band parser and heap pretty-print tool.
This tool is very useful for perusing the heap (think GC debugging).
I'm not its original author but I am its most loyal fan!
Stay tuned for more clean up before giving it a spin. For those who
just cannot wait, try: ./ppband < runtime.com > /usr/tmp/runtime.txt
Michael R. Blair [Sat, 3 Jun 2006 08:05:20 +0000 (08:05 +0000)]
This is a minimal resurrection of a handy, though bit-rotted, old tool.
Subsequent patches make it more palatable and likely to be maintained.
Stay tuned for more clean up before giving it a spin. I've staged the
commits so successive versions can be built and tinkered with rather
than doing one massive re-write than cannot be easily factored out.
Fixed some compiler warnings:
Defer to "scheme.h" for deprecated `fast' and several other niceties.
Added missing `#include <stdlib.h>' (for `malloc()',`free()',`exit()').
Removed obsolete static `memory_base' global ("load.c" no longer uses).
Removed obsolete static `string_buffer[10]' global (no longer used).
Fixed `main()' return type to canonical `int' (and made it return so).
Initialized uninitialized `Next' ptr to `((SCHEME_OBJECT *) NULL)'.
Appeased `sscanf()' by passing constant strings, not string literals.
Michael R. Blair [Sat, 3 Jun 2006 08:00:15 +0000 (08:00 +0000)]
Fixed some compiler warnings:
1. Added missing `#include "outf.h"' directive (for `outf_error()').
2. Conditionalize `computed_checksum' decl to avoid "unused" warning.
Chris Hanson [Fri, 2 Jun 2006 14:21:32 +0000 (14:21 +0000)]
Add Ziggy's new ID.
Michael R. Blair [Fri, 2 Jun 2006 07:46:03 +0000 (07:46 +0000)]
Added (excessive) step-by-step detail on non-easy CVS bootstrapping.
Note: Please feel free to edit, clarify, and condense these added
sections to taste. The more I tried to shorten them, the
longer they became. I clearly should never touch them again.
Brief: This hopefully should alleviate some of the pain in building
MIT/GNU Scheme for the first time from CVS sources on a system
that may or may not already have a compatible MIT/GNU Scheme
installed or for which there may or may not exist a compatible
binary release one can simple download and install and run.
Excerpts:
These more detailed build instructions cover the case where no binary
release corresponding to the CVS sources runs successfully on your
system or none can be installed in the usual system-wide location(s).
...
In short, to transition a pristine checked out CVS source tree
installation from the ``maintainer-clean'' CVS build state into the
``distribution'' build state, the "./Setup.sh" uses MIT/GNU Scheme
itself to grovel over the Scheme sources to build up Scheme system
file dependencies and other distribution-specific configuration data.
...
Naturally, this results in a bit of a chicken-and-egg puzzle.
Michael R. Blair [Fri, 2 Jun 2006 07:00:07 +0000 (07:00 +0000)]
For backward compatibility, if new `call-with-output-string' is not
defined, try using the old `with-string-output-port' name instead.
In short, 7.7 defines a backward-compatible package alias but 7.6 does
not define a forward-compatible anticipatory alias (obviously).
This is needed when, say, building 7.7 CVS sources using release 7.6
installed binaries as a bootstrap Scheme: the new "makegen.scm" uses
the new name but old bootstrap "runtime"s may define only the old name.
This patch, coupled with the ${SCHEME_LARGE} and ${SCHEME_COMPILER}
generalizations of the `*.sh' build scripts, make it possible to call
"src/Setup.sh" to transition a CVS source directory to a "distribution"
state without first having the CVS Scheme installed to bootstrap. This
consequently avoids a particularly subtle chicken-and-egg puzzle.
A forthcoming update to "src/README.txt" spells out the details.
Michael R. Blair [Fri, 2 Jun 2006 06:50:11 +0000 (06:50 +0000)]
Replace non-backward-compatible `--eval' null input w/ shell echo pipe.
Specifically, double dashes are preferred in env var default values
but they should be avoided in explicit command lines since they die
when the bootstrap ${SCHEME_COMPILER} predates the double dash syntax.
This really just substitutes one hack for another but at least it now
works for release 7.6 as well as 7.7 (so you can now build the latter
from CVS using the former to bootstrap from 7.6 into 7.7).
Michael R. Blair [Fri, 2 Jun 2006 06:37:44 +0000 (06:37 +0000)]
Replace hard-wired "scheme" calls with retargetable defaulted env vars.
Use GNU standard double-dashed switch args by default in release 7.7+.
This forces you to rebind the env var if building w/ pre-7.7 bootstrap,
which is good: it makes you be explicit about mis-matched bootstraps.
A forthcoming update to "src/README.txt" spells out the details.
Michael R. Blair [Fri, 2 Jun 2006 03:06:56 +0000 (03:06 +0000)]
Suppress <mcrypt.h> & <mhash.h> includes when files are not present.
This avoids "makegen.scm" spewing syntactic crud (error/failure
messages) into "Makefile.deps" (and thus "Makefile.in" & "Makefile")
during the invocation of "./Setup.sh" by virtue of "prmcrypt" and
"prmhash" appearing in "makegen/files-optional.scm".
Note how "prmd5.c" is already nicely conditionalized on `HAVE_MD5_H'.
Chris Hanson [Wed, 31 May 2006 01:19:39 +0000 (01:19 +0000)]
Fix typo in previous change.
Chris Hanson [Wed, 31 May 2006 01:18:36 +0000 (01:18 +0000)]
Prevent error visiting svn-managed file when "svn" not installed.
Chris Hanson [Mon, 22 May 2006 05:34:55 +0000 (05:34 +0000)]
Fix parsing of dired lines to work with other locales.
Chris Hanson [Tue, 16 May 2006 16:59:35 +0000 (16:59 +0000)]
Fix examples of MAKE-CLASS and DEFINE-CLASS so that the implicit
generic-procedure definitions are made explicit.
Chris Hanson [Mon, 15 May 2006 02:43:54 +0000 (02:43 +0000)]
Bump copyright dates.
Taylor R. Campbell [Mon, 15 May 2006 01:50:40 +0000 (01:50 +0000)]
Implement OS/NEWEST-BACKUP for Unix.
This should probably be implemented for DOS some day, but I'm not a DOS
hacker, and I need this only for a diff front end, which won't run on
DOS anyway.
Taylor R. Campbell [Sun, 30 Apr 2006 04:11:38 +0000 (04:11 +0000)]
Expand the startup message on how to get help to include the tutorial
key, and clarify the meaning of `C-h'.
Chris Hanson [Sun, 30 Apr 2006 01:43:55 +0000 (01:43 +0000)]
Fix bug: wrong number of tags was being stored in cache when variadic
generic procedure had a method with more than the minimum number of
arguments and was called with that number of arguments. (Thanks to
Zev Benjamin for finding this.)
Chris Hanson [Sat, 29 Apr 2006 01:29:56 +0000 (01:29 +0000)]
Allow variable names to contain colons in "Edwin Variables:" section.
Chris Hanson [Mon, 24 Apr 2006 01:12:12 +0000 (01:12 +0000)]
Fix bug: use of RUN-SHELL-COMMAND in SVN support wasn't working when
filename had spaces in it. Instead use RUN-SYNCHRONOUS-SUBPROCESS.
Chris Hanson [Fri, 14 Apr 2006 18:33:51 +0000 (18:33 +0000)]
Require user to specify version string as sole argument.
Chris Hanson [Sat, 8 Apr 2006 03:07:48 +0000 (03:07 +0000)]
Enable large-file support.
Chris Hanson [Sat, 8 Apr 2006 03:07:26 +0000 (03:07 +0000)]
Enable large-file support.
Chris Hanson [Sat, 11 Mar 2006 04:15:45 +0000 (04:15 +0000)]
Fix compiler warning from nested declaration.
Chris Hanson [Sat, 11 Mar 2006 04:13:10 +0000 (04:13 +0000)]
Fix compiler warnings from newer version of libmhash.
Chris Hanson [Fri, 10 Mar 2006 01:46:26 +0000 (01:46 +0000)]
Don't bother making URIs work with FASDUMP/FASLOAD -- doing so breaks
interning. Fixing this is relatively hard.
Chris Hanson [Thu, 9 Mar 2006 19:30:05 +0000 (19:30 +0000)]
Change URI data structures to be usable with fasdump and fasload.
Chris Hanson [Thu, 9 Mar 2006 19:20:58 +0000 (19:20 +0000)]
Use SIMPLE-UNPARSER-METHOD.
Chris Hanson [Thu, 9 Mar 2006 19:18:34 +0000 (19:18 +0000)]
Implement support for parsing #[...] syntax. Currently this works for
pathnames and URIs.
Chris Hanson [Thu, 9 Mar 2006 18:48:59 +0000 (18:48 +0000)]
Add mode-specific keybindings to mode help.
Chris Hanson [Thu, 9 Mar 2006 06:23:23 +0000 (06:23 +0000)]
Fix typo.
Chris Hanson [Thu, 9 Mar 2006 05:29:28 +0000 (05:29 +0000)]
Fix bug: pathname directories can contain the symbol 'UP, but the
pathname/URI conversions weren't handling that case.
Chris Hanson [Tue, 7 Mar 2006 20:40:24 +0000 (20:40 +0000)]
Eliminate load properties. Implement new generalization called an
"eval unit", which is a URI associated with the current file or other
lexical unit. This can be used as a key into a table to get the
effect of properties.
Chris Hanson [Tue, 7 Mar 2006 20:29:34 +0000 (20:29 +0000)]
Add optional ERROR? argument to URI->PATHNAME.
Chris Hanson [Tue, 7 Mar 2006 20:22:49 +0000 (20:22 +0000)]
Implement URI->PATHNAME.
Chris Hanson [Tue, 7 Mar 2006 19:56:25 +0000 (19:56 +0000)]
Implement UTF8-STRING->STRING.
Chris Hanson [Tue, 7 Mar 2006 19:35:56 +0000 (19:35 +0000)]
Replace CALL-WITH-VALUES with RECEIVE.
Chris Hanson [Tue, 7 Mar 2006 06:40:24 +0000 (06:40 +0000)]
Add mechanism to write and read properties pertaining to the currently
loading file.
Chris Hanson [Tue, 7 Mar 2006 06:16:26 +0000 (06:16 +0000)]
Export procedures to canonicalize the inputs to MAKE-RDF-TRIPLE.
Chris Hanson [Tue, 7 Mar 2006 02:52:49 +0000 (02:52 +0000)]
Add rdf-index type to rdf-struct. Move MATCH-BNODE-NAME and
MATCH-LANGUAGE into rdf-struct. Change bnode language to be a symbol
rather than a string.
Chris Hanson [Tue, 7 Mar 2006 02:51:08 +0000 (02:51 +0000)]
Add rdf-index type to rdf-struct. Move MATCH-BNODE-NAME and
MATCH-LANGUAGE into rdf-struct. Change bnode language to be a symbol
rather than a string.
Chris Hanson [Mon, 6 Mar 2006 04:42:59 +0000 (04:42 +0000)]
Redefine ->URI and friends to treat a false CALLER as meaning "no
errors".
Chris Hanson [Mon, 6 Mar 2006 02:32:15 +0000 (02:32 +0000)]
Change unparser for bnodes so that is shows the name.
Chris Hanson [Mon, 6 Mar 2006 02:29:33 +0000 (02:29 +0000)]
Change MAKE-RDF-BNODE so that its argument is optional.
Chris Hanson [Sun, 5 Mar 2006 04:05:00 +0000 (04:05 +0000)]
Don't use text properties to mark up the summary buffer; they are far
too slow. Instead just save an index vector and use that.
Chris Hanson [Thu, 2 Mar 2006 20:53:02 +0000 (20:53 +0000)]
Fix behavior of *PP-UNINTERNED-SYMBOLS-BY-NAME* and
*UNPARSE-UNINTERNED-SYMBOLS-BY-NAME?*.
Chris Hanson [Thu, 2 Mar 2006 03:18:42 +0000 (03:18 +0000)]
Fix bug: incorrect binding of *BNODES*.
Chris Hanson [Sun, 26 Feb 2006 04:26:37 +0000 (04:26 +0000)]
STRING-HASH is no longer a primitive.
Chris Hanson [Sun, 26 Feb 2006 03:00:55 +0000 (03:00 +0000)]
Implement SRFI-69 support.
Chris Hanson [Fri, 24 Feb 2006 17:47:26 +0000 (17:47 +0000)]
Implement interning of bnodes. Implement file-level input procedures.
Chris Hanson [Fri, 24 Feb 2006 17:42:51 +0000 (17:42 +0000)]
Export port-property operations. Make sure 'transcript property is
removed when not in use.
Chris Hanson [Sat, 18 Feb 2006 04:56:22 +0000 (04:56 +0000)]
Fail regular-expression searches immediately at end of range. This
prevents various infinite loops from patterns that match the null
string.
Chris Hanson [Sat, 18 Feb 2006 04:31:55 +0000 (04:31 +0000)]
Add basic support for RDF triples and RDF/NT.
Chris Hanson [Sat, 18 Feb 2006 02:59:27 +0000 (02:59 +0000)]
Revert decision to make URI?, ABSOLUTE-URI?, and RELATIVE-URI? true
for anything other than a URI record.
Chris Hanson [Sat, 18 Feb 2006 01:42:13 +0000 (01:42 +0000)]
Don't use TOP-LEVEL in URI parsers; it makes them unable to be
combined into other parsers.
Chris Hanson [Thu, 16 Feb 2006 05:36:38 +0000 (05:36 +0000)]
Don't use URI authority for file: URIs.
Chris Hanson [Wed, 15 Feb 2006 06:08:12 +0000 (06:08 +0000)]
Change several error messages to be clearer or more accurate.
Chris Hanson [Wed, 15 Feb 2006 05:10:00 +0000 (05:10 +0000)]
Change XTERM-RECONFIGURE primitive so that it's arguments are given in
character cells rather than in pixels.
Chris Hanson [Sun, 12 Feb 2006 02:48:53 +0000 (02:48 +0000)]
Reject XML documents for versions other than "1.0".
Chris Hanson [Mon, 6 Feb 2006 18:50:45 +0000 (18:50 +0000)]
Implement DEFINE-EDITOR-ALIAS.
Chris Hanson [Mon, 6 Feb 2006 18:43:01 +0000 (18:43 +0000)]
Fix compiler warning.
Chris Hanson [Mon, 6 Feb 2006 18:41:04 +0000 (18:41 +0000)]
Fix more brokenness.