Chris Hanson [Sun, 29 Oct 2006 06:18:03 +0000 (06:18 +0000)]
Rename PORT/BNODE-REGISTRY and PORT/DROP-BNODE-REGISTRY and export
them to global environment. Make analogous procedures for prefix
registries. Add new procedure to merge one prefix registry into
another.
Chris Hanson [Sun, 29 Oct 2006 05:35:07 +0000 (05:35 +0000)]
Export several more Turtle output procedures.
Chris Hanson [Sun, 29 Oct 2006 05:32:35 +0000 (05:32 +0000)]
Change all Turtle procedures to require a prefix-registry argument.
Chris Hanson [Sun, 29 Oct 2006 05:23:59 +0000 (05:23 +0000)]
Exchange position of REGISTRY and ERROR? arguments on RDF-QNAME->URI,
URI->RDF-QNAME, and URI->RDF-PREFIX.
Chris Hanson [Fri, 27 Oct 2006 13:49:15 +0000 (13:49 +0000)]
Rewrite Turtle encoder to have simpler, more consistent indentation,
and to sort prefix definitions by name.
Chris Hanson [Thu, 26 Oct 2006 05:01:47 +0000 (05:01 +0000)]
Change WITH-NOTIFICATION to use a different strategy for dealing with
errors. The previous strategy wasn't signalling the errors right, for
reasons I don't understand.
Chris Hanson [Thu, 26 Oct 2006 02:31:31 +0000 (02:31 +0000)]
Fix bug: list parser wasn't recognizing whitespace before the close
paren.
Chris Hanson [Wed, 25 Oct 2006 17:49:55 +0000 (17:49 +0000)]
Change "Syntax file" to "Generating SCode for file".
Chris Hanson [Wed, 25 Oct 2006 17:43:23 +0000 (17:43 +0000)]
Change "Compile File" to "Compiling file".
Chris Hanson [Wed, 25 Oct 2006 17:32:56 +0000 (17:32 +0000)]
Eliminate unnecessary semicolons in notification lines.
Chris Hanson [Wed, 25 Oct 2006 17:30:24 +0000 (17:30 +0000)]
Use WITH-NOTIFICATION when pre-loading class definitions.
Chris Hanson [Wed, 25 Oct 2006 17:29:21 +0000 (17:29 +0000)]
Use WRITE-NOTIFICATION-LINE to generate dependency notifications.
Chris Hanson [Wed, 25 Oct 2006 17:24:32 +0000 (17:24 +0000)]
Don't use generic script to delete packaging files. That script's
general patterns delete "key-w32.scm" too.
Chris Hanson [Wed, 25 Oct 2006 05:42:48 +0000 (05:42 +0000)]
Use new WITH-NOTIFICATION and WRITE-NOTIFICATION-LINE to generate
status output.
Chris Hanson [Wed, 25 Oct 2006 05:40:21 +0000 (05:40 +0000)]
Change way that WITH-NOTIFICATION prints "refresh" line.
Chris Hanson [Wed, 25 Oct 2006 05:05:24 +0000 (05:05 +0000)]
Add WRITE-NOTIFICATION-LINE.
Chris Hanson [Wed, 25 Oct 2006 04:25:37 +0000 (04:25 +0000)]
Implement WITH-NOTIFICATION to provide more uniform handling of status
notifications, such as "Loading" messages from LOAD.
Chris Hanson [Wed, 25 Oct 2006 04:23:06 +0000 (04:23 +0000)]
Fix typo in previous change.
Chris Hanson [Wed, 25 Oct 2006 03:15:29 +0000 (03:15 +0000)]
Implement new output operations OUTPUT-PORT/LINE-START? and
OUTPUT-PORT/BYTES-WRITTEN.
Chris Hanson [Wed, 25 Oct 2006 02:50:01 +0000 (02:50 +0000)]
Eliminate unused COLUMN field from GSTATE structure.
Chris Hanson [Tue, 24 Oct 2006 04:14:11 +0000 (04:14 +0000)]
Eliminate CHAR-CONTROLIFY and friends in favor of more general
MERGE-BUCKY-BITS. Use new bucky-bit abstractions from runtime.
Chris Hanson [Tue, 24 Oct 2006 04:08:58 +0000 (04:08 +0000)]
Store bucky bits in variables, and provide operations to test and set
them. This should provide a little more abstraction than at present.
Chris Hanson [Sun, 22 Oct 2006 16:10:06 +0000 (16:10 +0000)]
Change pointer-button abstraction to have bucky bits, and update
different terminal drivers to supply them.
Chris Hanson [Sun, 22 Oct 2006 15:39:18 +0000 (15:39 +0000)]
Change representation of pointer-button codes to include 8 bits of
button number of 4 bucky bits. Don't try to fit keysym into a fixnum;
it's a 29-bit value that must be preserved.
Chris Hanson [Sun, 22 Oct 2006 01:59:23 +0000 (01:59 +0000)]
Change x_modifier_mask_to_bucky_bits and x_key_button_mask_to_scheme
to use unsigned long rather than long for computing result.
Taylor R. Campbell [Sat, 21 Oct 2006 21:16:53 +0000 (21:16 +0000)]
Strip the bucky bit for control from key input events only if the
character is already a control character. Otherwise leave it in, so
that other characters can be control-modified without using the
clumsier C-z or C-^ prefix key bindings.
Taylor R. Campbell [Sat, 21 Oct 2006 16:05:58 +0000 (16:05 +0000)]
Find interpretation of modifier masks through the X server's modifier
mapping and keyboard mapping by finding which modifier masks are
associated with keycodes mapped to the keysyms for modifier keys. This
now follows the ICCCM, rather than assuming that Mod1 means Meta, Mod2
means Super, and so on. Edwin also now recognizes Super and Hyper in
key presses as a result; before it would ignore any modifier masks
other than Control and Mod1 (Meta).
Chris Hanson [Fri, 20 Oct 2006 02:04:14 +0000 (02:04 +0000)]
Export procedures to generate parts of turtle file, for use by
simple-schema. Simplify algorithms a bit, and clean up code layout.
Chris Hanson [Fri, 20 Oct 2006 01:19:33 +0000 (01:19 +0000)]
Change output to use simpler and more consistent indentation.
Chris Hanson [Thu, 19 Oct 2006 19:19:20 +0000 (19:19 +0000)]
Implement support for writing collection syntax.
Chris Hanson [Thu, 19 Oct 2006 17:48:26 +0000 (17:48 +0000)]
Do a better job distinguishing procedures that generate RDF/NT syntax.
Previously these were referred to by generic names.
Chris Hanson [Thu, 19 Oct 2006 15:22:25 +0000 (15:22 +0000)]
Implement Turtle output.
Chris Hanson [Thu, 19 Oct 2006 15:20:33 +0000 (15:20 +0000)]
Add URI->RDF-PREFIX.
Arthur Gleckler [Mon, 16 Oct 2006 06:23:45 +0000 (06:23 +0000)]
Fixed bug: LOAD failed with relative pathnames, e.g.:
(load "../foo.scm")
Arthur Gleckler [Sat, 14 Oct 2006 06:26:25 +0000 (06:26 +0000)]
Fixed typos in `set-output-buffer-coding!'.
Chris Hanson [Thu, 12 Oct 2006 22:43:27 +0000 (22:43 +0000)]
Update config.{guess,sub}.
Chris Hanson [Tue, 10 Oct 2006 20:06:56 +0000 (20:06 +0000)]
Don't bother generating gunk logs.
Chris Hanson [Tue, 10 Oct 2006 13:43:48 +0000 (13:43 +0000)]
Remove no-longer-needed reference to "True and False" from the
definition of NULL?.
Chris Hanson [Mon, 9 Oct 2006 06:51:10 +0000 (06:51 +0000)]
Change interface to C native code to simplify porting to new
microcode.
Chris Hanson [Mon, 9 Oct 2006 06:48:32 +0000 (06:48 +0000)]
Clean up output a little to simplify porting to new microcode.
Chris Hanson [Sun, 8 Oct 2006 01:27:59 +0000 (01:27 +0000)]
Move C output abstraction to "cutl.scm" so that it's available earlier
in the load sequence.
Chris Hanson [Sat, 7 Oct 2006 20:56:02 +0000 (20:56 +0000)]
Fix typo.
Chris Hanson [Sat, 7 Oct 2006 06:21:05 +0000 (06:21 +0000)]
Add "savannah-arthur".
Chris Hanson [Sat, 7 Oct 2006 05:50:22 +0000 (05:50 +0000)]
Reorganize closure code slightly to clarify.
Chris Hanson [Sat, 7 Oct 2006 05:49:37 +0000 (05:49 +0000)]
Tweak.
Chris Hanson [Sat, 7 Oct 2006 05:48:58 +0000 (05:48 +0000)]
Fix typo.
Chris Hanson [Fri, 6 Oct 2006 05:00:34 +0000 (05:00 +0000)]
Update some more code to use C output abstraction.
Chris Hanson [Fri, 6 Oct 2006 04:53:35 +0000 (04:53 +0000)]
Add C:<< and C:>>.
Chris Hanson [Thu, 5 Oct 2006 19:14:52 +0000 (19:14 +0000)]
Use C output abstraction.
Chris Hanson [Thu, 5 Oct 2006 19:14:39 +0000 (19:14 +0000)]
Allow booleans as line items, and translate them to C booleans.
Arthur Gleckler [Thu, 5 Oct 2006 05:44:39 +0000 (05:44 +0000)]
Fixed: Change 1.28 removed the check that output ports passed to
`port-position' and `set-port-position!' must also be input ports.
Chris Hanson [Thu, 5 Oct 2006 04:55:54 +0000 (04:55 +0000)]
Restructure code that generates the code and data for a file's top
level.
Chris Hanson [Wed, 4 Oct 2006 22:38:41 +0000 (22:38 +0000)]
Fix bug: sense of test for binary de/normalizers was reversed.
Chris Hanson [Wed, 4 Oct 2006 19:02:26 +0000 (19:02 +0000)]
Fix and handful of bugs.
Arthur Gleckler [Wed, 4 Oct 2006 05:51:55 +0000 (05:51 +0000)]
Added `port-position' and `set-port-position!' operations on file I/O
ports. The `port-position' procedure returns the offset, in bytes,
from the beginning of the file. The `set-port-position!' procedure
sets the position.
Both operations work only on ports that are opened with binary
normalizers or denormalizers, i.e. ones that make no transformation.
We should consider lifting this restriction, but this is a useful
addition even with it.
When used with output ports, the port passed to these procedures must
also be an input port.
The `port-position' procedure works even after a character has been
"unread", even for ports with non-single-byte character encodings.
Chris Hanson [Mon, 2 Oct 2006 04:18:15 +0000 (04:18 +0000)]
Fix bug: LOAD-OPTION was generating a SIGSEGV when trying to load a
runtime option, because it was confused by the "options" subdirectory.
Chris Hanson [Mon, 2 Oct 2006 04:16:48 +0000 (04:16 +0000)]
Tweak logic of MAKE-PATHNAME to simplify it.
Chris Hanson [Mon, 2 Oct 2006 03:28:40 +0000 (03:28 +0000)]
Remove now-unused "files-compiled.scm".
Chris Hanson [Sun, 1 Oct 2006 21:11:39 +0000 (21:11 +0000)]
Fix another typo.
Chris Hanson [Sun, 1 Oct 2006 21:00:46 +0000 (21:00 +0000)]
Missed two references to @X_LIBS@.
Chris Hanson [Sun, 1 Oct 2006 20:56:58 +0000 (20:56 +0000)]
Update configuration to handle COMPILED_SOURCES better. Also use
AC_PATH_X rather than AC_PATH_XTRA to eliminate unnecessary
dependencies in the output.
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 ]=>