Chris Hanson [Sun, 1 Oct 2006 05:38:44 +0000 (05:38 +0000)]
Reimplement C output generation. There's now a procedural layer for
generating C code, which gives significantly greater control over the
output formatting. Code using the layer is simpler and clearer than
what it replaces.
Additionally, the output no longer uses DEFUN, EXFUN, etc., instead
generating ANSI C. This allows the generated code to be used with the
(unreleased) v15 microcode.
Chris Hanson [Fri, 29 Sep 2006 19:30:07 +0000 (19:30 +0000)]
Make SF quieter.
Chris Hanson [Fri, 29 Sep 2006 19:28:58 +0000 (19:28 +0000)]
Fix cleaning rules to eliminate stuff generated by C back end.
Chris Hanson [Thu, 28 Sep 2006 23:48:27 +0000 (23:48 +0000)]
Also clean up files generated by compiling to C.
Chris Hanson [Tue, 26 Sep 2006 06:58:53 +0000 (06:58 +0000)]
Use "T" as ISO-8601 date/time separator, since it makes the result
useful in more contexts.
Chris Hanson [Mon, 25 Sep 2006 05:57:34 +0000 (05:57 +0000)]
Rewrite so that the script is run when the working directory is the
root of the scheme tree, rather than the runtime subdirectory. Also
do a little simplification.
Chris Hanson [Mon, 25 Sep 2006 05:56:12 +0000 (05:56 +0000)]
Untangle the c-back-end knot by using $(wildcard ...) in the generated
makefile rather than explicit enumeration of the files.
Chris Hanson [Mon, 25 Sep 2006 04:40:10 +0000 (04:40 +0000)]
Add support for "--enable-c-back-end", to override native-code support
if desired.
Chris Hanson [Mon, 25 Sep 2006 04:39:12 +0000 (04:39 +0000)]
Change all "Setup.sh" scripts to accept arguments and pass them
along. "Setup.sh" in microcode passes those arguments to configure.
Chris Hanson [Mon, 25 Sep 2006 04:36:56 +0000 (04:36 +0000)]
If <stdlib.h> is available, use that rather than explicitly declaring
malloc and realloc.
Chris Hanson [Sun, 24 Sep 2006 23:56:11 +0000 (23:56 +0000)]
Bump version number for C-back-end changes.
Chris Hanson [Sun, 24 Sep 2006 23:51:57 +0000 (23:51 +0000)]
Fix bug: must use generic arithmetic when comparing
SIGNED-FIXNUM/UPPER-LIMIT, since it's an exclusive limit and not
usually representable as a fixnum.
Chris Hanson [Thu, 21 Sep 2006 04:52:54 +0000 (04:52 +0000)]
Bump version number to current. This probably should be automated by
the configure script.
Chris Hanson [Thu, 21 Sep 2006 04:52:38 +0000 (04:52 +0000)]
Bump version number to current. This probably should be automated by
the configure script.
Guillermo J. Rozas [Sun, 17 Sep 2006 12:10:04 +0000 (12:10 +0000)]
1. Add unsigned fixnum comparisons, needed to compile runtime-check.
2. C back end:
Eliminate use of the 'system' primitive and use run-shell-command
from option synchronous-subprocess.
Guillermo J. Rozas [Sat, 16 Sep 2006 11:19:09 +0000 (11:19 +0000)]
Changes to resurrect the C back end.
Changes to make the microcode work on OSX/Power PC.
Changes to make the microcode when compiled by a 64-bit compiler
(x86_64, Power PC, Itanium).
Chris Hanson [Sat, 16 Sep 2006 05:29:17 +0000 (05:29 +0000)]
Fix bug: typo was causing WNA error to be signalled from record
constructors of large records.
Chris Hanson [Fri, 15 Sep 2006 01:23:27 +0000 (01:23 +0000)]
Eliminate long-unused DUMP-WORLD.
Chris Hanson [Fri, 15 Sep 2006 01:20:04 +0000 (01:20 +0000)]
Fix broken reference: TYPE-CODE->GC-TYPE should be TYPE->GC-TYPE.
Chris Hanson [Sun, 10 Sep 2006 01:41:25 +0000 (01:41 +0000)]
Delete random "autom4te.cache" directories from source tarball.
Chris Hanson [Sat, 9 Sep 2006 03:30:23 +0000 (03:30 +0000)]
Ignore undefined microcode error names. Signalling errors at this
point in the cold load makes the transition to the new microcode
unpleasant.
Chris Hanson [Sat, 9 Sep 2006 02:31:30 +0000 (02:31 +0000)]
Add datarootdir to Makefiles.
Chris Hanson [Fri, 8 Sep 2006 14:39:25 +0000 (14:39 +0000)]
Eliminate references to MANIFEST-SPECIAL-NM-VECTOR. This type is
about to go away, and these references aren't normally needed.
Chris Hanson [Fri, 8 Sep 2006 12:43:11 +0000 (12:43 +0000)]
"undo" must be loaded after "editor".
Chris Hanson [Wed, 6 Sep 2006 04:59:30 +0000 (04:59 +0000)]
More fixes.
Chris Hanson [Wed, 6 Sep 2006 04:54:55 +0000 (04:54 +0000)]
Fix typo in previous change.
Chris Hanson [Wed, 6 Sep 2006 04:53:41 +0000 (04:53 +0000)]
Change handling of purification queue so that the list wrapper is
deleted when there's only a single item in the queue. Simplify logic
for handling queues.
Chris Hanson [Wed, 6 Sep 2006 04:49:53 +0000 (04:49 +0000)]
Eliminate FUTURE?.
Chris Hanson [Tue, 29 Aug 2006 04:17:58 +0000 (04:17 +0000)]
When building constant-folding list, be tolerant of primitives that
aren't implemented by the microcode.
Chris Hanson [Tue, 29 Aug 2006 03:48:57 +0000 (03:48 +0000)]
Fix typo in previous change.
Chris Hanson [Mon, 28 Aug 2006 16:58:26 +0000 (16:58 +0000)]
Re-fix previous change -- forgot to account for bucky bits.
Chris Hanson [Sun, 27 Aug 2006 21:37:21 +0000 (21:37 +0000)]
Add windows 8-bit codecs.
Chris Hanson [Sun, 27 Aug 2006 15:49:37 +0000 (15:49 +0000)]
Change representation of characters in PSB files to account for
unicode.
Arthur Gleckler [Sun, 27 Aug 2006 03:03:11 +0000 (03:03 +0000)]
Fixed typo in comment.
Chris Hanson [Wed, 16 Aug 2006 04:11:55 +0000 (04:11 +0000)]
Make symbolic names for parse-state vector, and use them
consistently. This fixes two more bugs associated with this change.
Chris Hanson [Tue, 15 Aug 2006 04:32:19 +0000 (04:32 +0000)]
Fix bug: "ignored" files should be treated the same as "unversioned"
when deciding whether they are under version control.
Chris Hanson [Tue, 15 Aug 2006 04:23:56 +0000 (04:23 +0000)]
Fix typo in previous change.
Arthur Gleckler [Thu, 10 Aug 2006 05:28:05 +0000 (05:28 +0000)]
Fixed spelling errors.
Arthur Gleckler [Wed, 9 Aug 2006 05:48:53 +0000 (05:48 +0000)]
Added new `port-position' procedure. On a port created using
`open-output-string', e.g. through `with-output-to-string', this
procedure returns the current position in the output buffer. For
example:
1 ]=> (define foo)
;Value: foo
1 ]=> (with-output-to-string
(lambda ()
(write-string "foo")
(set! foo (port-position (current-output-port)))
(write-string "bar")))
;Value 1: "foobar"
1 ]=> foo
;Value: 3
1 ]=>
Taylor R. Campbell [Thu, 3 Aug 2006 04:00:12 +0000 (04:00 +0000)]
Update the size of parse states according to the recently added field,
so that we don't write off the end of the vector's storage.
Chris Hanson [Wed, 2 Aug 2006 18:18:12 +0000 (18:18 +0000)]
Fix various compiler warnings.
Taylor R. Campbell [Wed, 2 Aug 2006 16:27:09 +0000 (16:27 +0000)]
New simple HTTP client abstraction.
Arthur Gleckler [Wed, 2 Aug 2006 05:54:51 +0000 (05:54 +0000)]
Fixed bug in `make-hash-table' and `alist->hash-table': neither
provided defaults for `key=?' or `key-hash', so both created
nonfunctioning hash tables if called without both of those parameters.
Chris Hanson [Wed, 2 Aug 2006 05:05:25 +0000 (05:05 +0000)]
Clean up handling of bnode registration. Add mechanism for giving
string "handles" to bnodes, so that in-memory bnodes can be uniquely
identified. (Bnode names are scoped to a document and are unsuitable
for this purpose.)
Chris Hanson [Tue, 1 Aug 2006 17:23:50 +0000 (17:23 +0000)]
Tweak qname abstraction again.
Chris Hanson [Tue, 1 Aug 2006 04:23:41 +0000 (04:23 +0000)]
Share the definition of STRING-OF-XML-CHARS? with "xml-rpc.scm".
Chris Hanson [Tue, 1 Aug 2006 02:50:50 +0000 (02:50 +0000)]
Round out the RDF QName abstraction a bit. Change RDF-QNAME? to be a
syntactic test that doesn't check any registry.
Taylor R. Campbell [Mon, 31 Jul 2006 18:55:43 +0000 (18:55 +0000)]
Tighten XML-CHAR-DATA? and CANONICALIZE-CHAR-DATA so that they refuse
characters or entity references not included in the XML-CHAR alphabet.
This may have a small performance cost when constructing XML trees,
and it will have to change for XML 1.1, which relaxes the restriction
on XML character data. It could have been done in the XML writer,
since the parser already checks this, but this way offers guarantees
about the validity of any XML data in Scheme, and these guarantees are
probably good things.
Chris Hanson [Sat, 29 Jul 2006 01:25:58 +0000 (01:25 +0000)]
Fix bug in parsing of booleans; they were matched but treated as
noise, causing triples containing them to be elided.
Taylor R. Campbell [Fri, 28 Jul 2006 16:23:08 +0000 (16:23 +0000)]
Add the condition of whether all characters are in the XML-CHAR
alphabet to ENCODE-STRING's decision of whether to return raw
strings or base64-encoded data.
Chris Hanson [Fri, 28 Jul 2006 04:10:54 +0000 (04:10 +0000)]
Add CALL-WITH-INPUT-STRING to indentation table.
Chris Hanson [Fri, 28 Jul 2006 04:01:11 +0000 (04:01 +0000)]
In URI->RDF-QNAME, don't use blank prefix if another is available.
Chris Hanson [Fri, 28 Jul 2006 02:54:27 +0000 (02:54 +0000)]
Fix typo in previous change. Tweak interface to export a variable
with the default prefix registry, so that it can be dynamically bound.
Chris Hanson [Thu, 27 Jul 2006 20:14:09 +0000 (20:14 +0000)]
Allow RDF prefix procedures to take an optional registry, and export a
data abstraction for registries.
Chris Hanson [Thu, 27 Jul 2006 16:50:31 +0000 (16:50 +0000)]
Update copyright dates.
Taylor R. Campbell [Thu, 27 Jul 2006 00:42:48 +0000 (00:42 +0000)]
Belatedly add paredit to the list of optional packages to install.
Chris Hanson [Thu, 27 Jul 2006 00:03:57 +0000 (00:03 +0000)]
Add missing guarantors for symbols and strings.
Chris Hanson [Thu, 27 Jul 2006 00:00:13 +0000 (00:00 +0000)]
Implement FOR-ALL-CHARS-IN-STRING? and FOR-ANY-CHAR-IN-STRING?.
Chris Hanson [Wed, 26 Jul 2006 19:10:33 +0000 (19:10 +0000)]
Change LOAD so that nested loads use environment of enclosing load as
target. Previously they used the nearest REPL environment.
(Non-nested loads retain the old behavior.)
Chris Hanson [Wed, 26 Jul 2006 19:04:41 +0000 (19:04 +0000)]
Allow LOAD in expander environment to take optional target
environment.
Taylor R. Campbell [Tue, 25 Jul 2006 18:21:44 +0000 (18:21 +0000)]
Change string encoding so that base64-encoded strings are properly
wrapped in `base64' elements, and so that non-base64-encoded strings
are not wrapped in superfluous `string' elements.
Taylor R. Campbell [Thu, 20 Jul 2006 17:09:44 +0000 (17:09 +0000)]
Move STACK-TRACE from mod_lisp server to the run-time system.
Chris Hanson [Sat, 8 Jul 2006 00:24:09 +0000 (00:24 +0000)]
Make sure that base URI is absolute.
Taylor R. Campbell [Mon, 3 Jul 2006 19:41:23 +0000 (19:41 +0000)]
Change SAVE-EXCURSION and SCREEN-WINDOW-CONFIGURATION to make
right-inserting copies of the point, rather than left-inserting.
This way, insertion of text at point inside the SAVE-EXCURSION region
will have no effect on the original point.
Change SAVE-EXCURSION to select the original buffer after the
supplied thunk returns.
Remove PAREDIT-SAVE-EXCURSION, whose functionality is now subsumed by
the new SAVE-EXCURSION.
Taylor R. Campbell [Mon, 3 Jul 2006 19:28:03 +0000 (19:28 +0000)]
Update copyright years.
Taylor R. Campbell [Mon, 3 Jul 2006 19:05:02 +0000 (19:05 +0000)]
Implement PARSE-STATE-START-OF-SEXP and PARSE-STATE-END-OF-SEXP
properly in Edwin's partial S-expression parser. This fixes a long-
standing bug in paredit whereby character deletion in strings that
were the first elements of lists would cause segmentation faults.
Taylor R. Campbell [Tue, 27 Jun 2006 18:43:59 +0000 (18:43 +0000)]
Call UNDO-RECORD-POINT! before modifications in `paredit-splice-sexp'
and `paredit-split-sexp' commands, so that their undoing works as
expected.
Taylor R. Campbell [Tue, 27 Jun 2006 18:39:45 +0000 (18:39 +0000)]
Implement paredit-split-sexp (M-S) and paredit-join-sexps (M-J).
Taylor R. Campbell [Mon, 26 Jun 2006 16:16:18 +0000 (16:16 +0000)]
Add entries for diff.scm and paredit.scm to ed-ffi.scm.
Chris Hanson [Fri, 23 Jun 2006 19:35:26 +0000 (19:35 +0000)]
Export CANONICALIZE-RDF-URI.
Chris Hanson [Fri, 23 Jun 2006 18:50:03 +0000 (18:50 +0000)]
Register qname prefixes when reading file.
Chris Hanson [Fri, 23 Jun 2006 18:49:30 +0000 (18:49 +0000)]
Add support for RDF qnames.
Chris Hanson [Fri, 23 Jun 2006 18:49:17 +0000 (18:49 +0000)]
Add entry for "turtle.scm".
Chris Hanson [Fri, 23 Jun 2006 17:20:30 +0000 (17:20 +0000)]
Export qname matchers for use in rdf-struct.
Chris Hanson [Thu, 22 Jun 2006 19:17:29 +0000 (19:17 +0000)]
Export procedures to write the elements of a triple.
Chris Hanson [Thu, 22 Jun 2006 18:35:27 +0000 (18:35 +0000)]
Add unparser for RDF literals.
Chris Hanson [Thu, 22 Jun 2006 15:17:50 +0000 (15:17 +0000)]
Change INTERN and INTERN-SOFT to accept UTF-8 strings.
Chris Hanson [Thu, 22 Jun 2006 04:48:33 +0000 (04:48 +0000)]
Implement RDF-LITERAL=?.
Chris Hanson [Wed, 21 Jun 2006 13:45:52 +0000 (13:45 +0000)]
Handle atom delimiters specially when they are the first character
after "#\".
Chris Hanson [Wed, 21 Jun 2006 03:00:11 +0000 (03:00 +0000)]
Define CALL-WITH-INPUT-STRING, since I keep assuming it's there.
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.