mit-scheme.git
17 years agoUse FILE-REGULAR?, not FILE-EXISTS?, to test for the existence of files
Taylor R. Campbell [Fri, 12 Jan 2007 10:23:04 +0000 (10:23 +0000)]
Use FILE-REGULAR?, not FILE-EXISTS?, to test for the existence of files
to load, to avoid accidentally trying to load directories that happen
to have the same name sans type as files we're interested in.

17 years agoMake sure that LIARC_OBJECTS are cleaned along with other .o files.
Chris Hanson [Fri, 12 Jan 2007 06:30:04 +0000 (06:30 +0000)]
Make sure that LIARC_OBJECTS are cleaned along with other .o files.

17 years agoSince COMPILE_FOR_STATIC_LINKING is now defined in "config.h",
Chris Hanson [Fri, 12 Jan 2007 06:27:29 +0000 (06:27 +0000)]
Since COMPILE_FOR_STATIC_LINKING is now defined in "config.h",
all references must be moved after that #include.

17 years agoReplace "--enable-c-back-end" with "--enable-native-code". Update
Chris Hanson [Fri, 12 Jan 2007 06:19:53 +0000 (06:19 +0000)]
Replace "--enable-c-back-end" with "--enable-native-code".  Update
compiler cleaning and configuration to handle C shared-object files.

17 years agoAdd necessary file from pre-v15 branch.
Chris Hanson [Fri, 12 Jan 2007 06:18:00 +0000 (06:18 +0000)]
Add necessary file from pre-v15 branch.

17 years agoFix two more places with pointer signedness warnings.
Chris Hanson [Fri, 12 Jan 2007 06:17:31 +0000 (06:17 +0000)]
Fix two more places with pointer signedness warnings.

17 years agoMove "autom4te.cache" from "make maintainer-clean" to "make distclean".
Chris Hanson [Fri, 12 Jan 2007 03:53:59 +0000 (03:53 +0000)]
Move "autom4te.cache" from "make maintainer-clean" to "make distclean".

17 years agoEliminate pointer signedness warnings.
Chris Hanson [Fri, 12 Jan 2007 03:45:55 +0000 (03:45 +0000)]
Eliminate pointer signedness warnings.

17 years agoFix two bugs causing mis-configuration of modules.
Chris Hanson [Fri, 12 Jan 2007 03:14:55 +0000 (03:14 +0000)]
Fix two bugs causing mis-configuration of modules.

17 years agoMerge in most changes from pre-v15 branch. In particular, the new
Chris Hanson [Fri, 12 Jan 2007 02:57:10 +0000 (02:57 +0000)]
Merge in most changes from pre-v15 branch.  In particular, the new
mechanism for configuring the C back end.

17 years agoAdd --enable-debugging.
Chris Hanson [Fri, 12 Jan 2007 02:22:06 +0000 (02:22 +0000)]
Add --enable-debugging.

17 years agoEliminate COMPILED_DEFS.
Chris Hanson [Fri, 12 Jan 2007 02:16:47 +0000 (02:16 +0000)]
Eliminate COMPILED_DEFS.

17 years agoMerge in most of the changes from pre-v15 branch; eliminate gratuitous
Chris Hanson [Thu, 11 Jan 2007 21:07:29 +0000 (21:07 +0000)]
Merge in most of the changes from pre-v15 branch; eliminate gratuitous
differences with that file.

17 years agoUse AS_HELP_STRING to simplify --with and --enable descriptions.
Chris Hanson [Wed, 10 Jan 2007 08:17:22 +0000 (08:17 +0000)]
Use AS_HELP_STRING to simplify --with and --enable descriptions.

17 years agoRestructure handling of optional libraries; new code is simpler and
Chris Hanson [Wed, 10 Jan 2007 08:00:38 +0000 (08:00 +0000)]
Restructure handling of optional libraries; new code is simpler and
hopefully more effective.  In particular, problems identified by Aaron
Hsu should now be addressed.  Additionally, many changes were made to
conform to the autoconf shell programming guidelines.

A user-visible change is that --with-FOO may now specify a path, so
that --with-FOO=BAR adds "-IBAR/include" to CFLAGS and "-LBAR/lib" to
LDFLAGS.

17 years agoAdd Aaron Hsu's patch to support compilation of modules under OS X.
Chris Hanson [Tue, 9 Jan 2007 18:50:18 +0000 (18:50 +0000)]
Add Aaron Hsu's patch to support compilation of modules under OS X.

17 years agoSet non-zero exit code if EOF reached inside error REPL.
Chris Hanson [Tue, 9 Jan 2007 06:38:29 +0000 (06:38 +0000)]
Set non-zero exit code if EOF reached inside error REPL.

17 years agoDon't allow MAKE-CONDITIONAL to accept two arguments; require three.
Chris Hanson [Tue, 9 Jan 2007 06:37:50 +0000 (06:37 +0000)]
Don't allow MAKE-CONDITIONAL to accept two arguments; require three.
Otherwise, programs of the form (IF <a> <b> #!DEFAULT) miscompile.

17 years agoSimplify UNDEFINED-VALUE?.
Chris Hanson [Tue, 9 Jan 2007 06:36:21 +0000 (06:36 +0000)]
Simplify UNDEFINED-VALUE?.

17 years agoFix echoing of input when standard input is redirected to a file.
Chris Hanson [Tue, 9 Jan 2007 06:17:04 +0000 (06:17 +0000)]
Fix echoing of input when standard input is redirected to a file.
Eliminate separate implementation of DISCARD-CHAR; the top-level
procedures are now aliases for READ-CHAR.

17 years agoFix bug: add X include and libraries directories to CFLAGS and LIBS
Chris Hanson [Tue, 9 Jan 2007 03:56:24 +0000 (03:56 +0000)]
Fix bug: add X include and libraries directories to CFLAGS and LIBS
respectively.

17 years agoAdd copyright/license statements and fix typo.
Chris Hanson [Mon, 8 Jan 2007 14:55:22 +0000 (14:55 +0000)]
Add copyright/license statements and fix typo.

17 years agoConditionally include C-back-end rules in Makefile, since it seems
Chris Hanson [Mon, 8 Jan 2007 14:45:17 +0000 (14:45 +0000)]
Conditionally include C-back-end rules in Makefile, since it seems
these are stimulating the bug in make.  Undo previous change since it
did not fix the problem.

17 years agoWork around bug in "make" prior to version 3.81 by changing the
Chris Hanson [Mon, 8 Jan 2007 05:38:57 +0000 (05:38 +0000)]
Work around bug in "make" prior to version 3.81 by changing the
.SUFFIXES order.

17 years agoFix bug: GET-OUTPUT-STRING! would always return a null string.
Chris Hanson [Mon, 8 Jan 2007 03:57:22 +0000 (03:57 +0000)]
Fix bug: GET-OUTPUT-STRING! would always return a null string.

17 years agoImplement PORT/OPEN?, PORT/INPUT-OPEN?, and PORT/OUTPUT-OPEN?.
Chris Hanson [Sun, 7 Jan 2007 09:11:23 +0000 (09:11 +0000)]
Implement PORT/OPEN?, PORT/INPUT-OPEN?, and PORT/OUTPUT-OPEN?.

17 years agoElide nested groups.
Chris Hanson [Sun, 7 Jan 2007 06:48:52 +0000 (06:48 +0000)]
Elide nested groups.

17 years agoUpdate copyright statements to GNU standard.
Chris Hanson [Fri, 5 Jan 2007 21:48:32 +0000 (21:48 +0000)]
Update copyright statements to GNU standard.

17 years agoAdd datarootdir.
Chris Hanson [Fri, 5 Jan 2007 21:24:09 +0000 (21:24 +0000)]
Add datarootdir.

17 years agoUpdate copyright statements to GNU standard.
Chris Hanson [Fri, 5 Jan 2007 21:21:08 +0000 (21:21 +0000)]
Update copyright statements to GNU standard.

17 years agoUpdate FSF address.
Chris Hanson [Fri, 5 Jan 2007 15:33:11 +0000 (15:33 +0000)]
Update FSF address.

17 years agoUpdate FSF address.
Chris Hanson [Fri, 5 Jan 2007 15:27:23 +0000 (15:27 +0000)]
Update FSF address.

17 years agoDon't provide a default <?xml> declaration. The absence of the
Chris Hanson [Sun, 31 Dec 2006 05:59:47 +0000 (05:59 +0000)]
Don't provide a default <?xml> declaration.  The absence of the
declaration is equivalent to its presence, and avoids confusing
non-XML browsers.

17 years agoFix case conversion tables for high ISO-8859-1 characters so that they
Taylor R. Campbell [Fri, 29 Dec 2006 04:32:43 +0000 (04:32 +0000)]
Fix case conversion tables for high ISO-8859-1 characters so that they
are not reversed.

17 years agoFix bug in paredit forward character deletion at the beginning of the
Taylor R. Campbell [Thu, 28 Dec 2006 22:28:20 +0000 (22:28 +0000)]
Fix bug in paredit forward character deletion at the beginning of the
buffer: formerly it would cause a hardware trap, because it would ask
for the non-existent character before the point, without checking
whether there is in fact a valid character position in the buffer
there.

17 years agoAdd XML package definitions to eliminate CREF warnings.
Chris Hanson [Thu, 28 Dec 2006 15:31:00 +0000 (15:31 +0000)]
Add XML package definitions to eliminate CREF warnings.

17 years agoTwiddle default heap size for shell scripts that invoke Scheme with the
Taylor R. Campbell [Wed, 27 Dec 2006 08:32:01 +0000 (08:32 +0000)]
Twiddle default heap size for shell scripts that invoke Scheme with the
compiler loaded, so that they fit in the absurdly small limits on OS
X/Intel.  3000 seems to be the largest number of blocks we can rely on.

17 years agoArgh! Add long-forgotten (EDWIN LISPPASTE) package...
Taylor R. Campbell [Wed, 27 Dec 2006 08:10:08 +0000 (08:10 +0000)]
Argh!  Add long-forgotten (EDWIN LISPPASTE) package...

17 years agoUpdate copyright date.
Taylor R. Campbell [Wed, 27 Dec 2006 07:01:09 +0000 (07:01 +0000)]
Update copyright date.

17 years agoImprove code generated for segment variable matching in SYNTAX-RULES.
Taylor R. Campbell [Wed, 27 Dec 2006 06:53:04 +0000 (06:53 +0000)]
Improve code generated for segment variable matching in SYNTAX-RULES.
Before it used an idiom of

  ((LET ((LOOP #F)) (SET! LOOP (LAMBDA () ...)) LOOP)
   ...),

which caused spurious & confusing `Possible inapplicable operator #f'
warnings from the compiler's flow analyzer.  Now it uses

  ((LET () (DEFINE LOOP (LAMBDA () ...)) LOOP)
   ...),

like the code generated for named LET.

17 years agoUse OS/FIND-PROGRAM to search path for sendmail.
Chris Hanson [Wed, 20 Dec 2006 07:24:47 +0000 (07:24 +0000)]
Use OS/FIND-PROGRAM to search path for sendmail.

17 years agoDefer call to OS/SENDMAIL-PROGRAM until mail is to be sent. Otherwise
Chris Hanson [Wed, 20 Dec 2006 07:22:23 +0000 (07:22 +0000)]
Defer call to OS/SENDMAIL-PROGRAM until mail is to be sent.  Otherwise
it is run when Edwin is built, and will probably be incorrect for the
target system.

17 years agoReverted change 1.30-1.31, which was supposed to require that output
Arthur Gleckler [Mon, 11 Dec 2006 07:37:46 +0000 (07:37 +0000)]
Reverted change 1.30-1.31, which was supposed to require that output
ports passed to `port-position' and `set-port-positon!' also be input
ports.  This restriction was unnecessary and the change had a bug
anyway.

17 years agoFix unparser method for buttons: the procedure given to
Taylor R. Campbell [Sat, 9 Dec 2006 02:02:26 +0000 (02:02 +0000)]
Fix unparser method for buttons: the procedure given to
SIMPLE-UNPARSER-METHOD must return a list of components.

17 years ago*Again* belatedly add another package to the list of options to
Taylor R. Campbell [Mon, 27 Nov 2006 22:52:32 +0000 (22:52 +0000)]
*Again* belatedly add another package to the list of options to
install, this one lisppaste...

17 years agoImplement win32 socket shutdown support.
Chris Hanson [Sat, 25 Nov 2006 05:11:48 +0000 (05:11 +0000)]
Implement win32 socket shutdown support.

17 years agoEliminate win32 compiler warnings.
Chris Hanson [Sat, 25 Nov 2006 05:08:04 +0000 (05:08 +0000)]
Eliminate win32 compiler warnings.

17 years agoApply some improvements on Aaron Hawley's long-overdue patch to the
Taylor R. Campbell [Thu, 23 Nov 2006 04:56:19 +0000 (04:56 +0000)]
Apply some improvements on Aaron Hawley's long-overdue patch to the
Info mode.  TAB now cycles through references (menu items and cross
references); M-TAB cycles backward; RET by default runs
`info-current-menu-item', without having to customize the
`info-selection-key' variable; and all of the relevant regular
expressions now are defined at the top level, not hard-coded as
literals in the procedures that refer to them, and use the REXP
abstraction for clarity, since I couldn't follow the baroque string
notation without painstakingly rewriting it character by character.

17 years agoUse shutdown-socket primitive to close one side of a socket.
Chris Hanson [Wed, 22 Nov 2006 18:51:14 +0000 (18:51 +0000)]
Use shutdown-socket primitive to close one side of a socket.

17 years agoAdd SHUTDOWN-SOCKET primitive.
Chris Hanson [Wed, 22 Nov 2006 18:50:48 +0000 (18:50 +0000)]
Add SHUTDOWN-SOCKET primitive.

17 years agoAdd support for CIFS fs type.
Chris Hanson [Wed, 22 Nov 2006 18:13:49 +0000 (18:13 +0000)]
Add support for CIFS fs type.

17 years agoFix bug: list notation doesn't use commas.
Chris Hanson [Wed, 22 Nov 2006 18:02:31 +0000 (18:02 +0000)]
Fix bug: list notation doesn't use commas.

17 years agoMake sure constants are unsigned in string_hash.
Chris Hanson [Wed, 22 Nov 2006 04:36:35 +0000 (04:36 +0000)]
Make sure constants are unsigned in string_hash.

17 years agoAdd MIT and MIT/GNU to cond-expand features.
Chris Hanson [Wed, 15 Nov 2006 00:38:21 +0000 (00:38 +0000)]
Add MIT and MIT/GNU to cond-expand features.

18 years agoChange summary so that "from" field is fixed width and subject fills
Chris Hanson [Fri, 10 Nov 2006 03:04:22 +0000 (03:04 +0000)]
Change summary so that "from" field is fixed width and subject fills
available space.  The old behavior is still available, but no longer
the default.

18 years agoFix thinko in previous change.
Chris Hanson [Thu, 9 Nov 2006 20:11:50 +0000 (20:11 +0000)]
Fix thinko in previous change.

18 years agoChange bnodes so they don't carry their names around. Instead,
Chris Hanson [Thu, 9 Nov 2006 20:07:42 +0000 (20:07 +0000)]
Change bnodes so they don't carry their names around.  Instead,
generate the names on demand from their hash numbers, which guarantees
uniqueness without a lot of digits.  As a corollary this obviates the
bnode "handle" mechanism, so that's removed.

18 years agoImplement PORT/INTERN-PROPERTY!.
Chris Hanson [Thu, 9 Nov 2006 20:04:57 +0000 (20:04 +0000)]
Implement PORT/INTERN-PROPERTY!.

18 years agoChange bnode mechanism so that user-supplied names are used only for
Chris Hanson [Thu, 9 Nov 2006 19:43:54 +0000 (19:43 +0000)]
Change bnode mechanism so that user-supplied names are used only for
parsing.

18 years agoNew Edwin library: a front end for lisppaste, using its XML-RPC interface.
Taylor R. Campbell [Sat, 4 Nov 2006 20:25:17 +0000 (20:25 +0000)]
New Edwin library: a front end for lisppaste, using its XML-RPC interface.
See <http://paste.lisp.org/> for details.

18 years agoImplement a simple XML-RPC client.
Taylor R. Campbell [Sat, 4 Nov 2006 20:23:19 +0000 (20:23 +0000)]
Implement a simple XML-RPC client.

18 years agoRename two internal operations in RFC 822 headers in the HTTP client,
Taylor R. Campbell [Sat, 4 Nov 2006 20:16:47 +0000 (20:16 +0000)]
Rename two internal operations in RFC 822 headers in the HTTP client,
and export them, so that users of the library can get at them.

This is a lame workaround for the problem that the RFC 822 support lies
in Edwin, rather than the run-time system.  At some point that should
be fixed properly, and the support updated to RFC 2822, but this works
for now.

18 years agoImplement WITH-LOADING-MESSAGE to capture common pattern of loading
Chris Hanson [Sat, 4 Nov 2006 06:38:32 +0000 (06:38 +0000)]
Implement WITH-LOADING-MESSAGE to capture common pattern of loading
files in various ways.

18 years agoAdd support for HEAD requests.
Chris Hanson [Fri, 3 Nov 2006 06:30:42 +0000 (06:30 +0000)]
Add support for HEAD requests.

18 years agoChange CHANNEL-OPEN? to return #T when true.
Chris Hanson [Wed, 1 Nov 2006 05:19:58 +0000 (05:19 +0000)]
Change CHANNEL-OPEN? to return #T when true.

18 years agoUpdate copyright dates.
Chris Hanson [Wed, 1 Nov 2006 05:16:30 +0000 (05:16 +0000)]
Update copyright dates.

18 years agoWhen an I/O port shares the same channel for input and output, don't
Chris Hanson [Wed, 1 Nov 2006 05:09:42 +0000 (05:09 +0000)]
When an I/O port shares the same channel for input and output, don't
close the channel unless both the input and output sides of the port
are closed.

18 years agoChange STRING-HASH to use FNV hash algorithm.
Chris Hanson [Mon, 30 Oct 2006 06:02:30 +0000 (06:02 +0000)]
Change STRING-HASH to use FNV hash algorithm.

18 years agoIncrease obarray size to more reasonable value. A current
Chris Hanson [Mon, 30 Oct 2006 05:50:53 +0000 (05:50 +0000)]
Increase obarray size to more reasonable value.  A current
fully-loaded band has about 28500 interned symbols, so this value
should provide for very small buckets.

18 years agoRedefine `UX_vfork' to be `fork' on OS X, because setsid and others are
Taylor R. Campbell [Sun, 29 Oct 2006 17:25:15 +0000 (17:25 +0000)]
Redefine `UX_vfork' to be `fork' on OS X, because setsid and others are
not allowed in vforked processes.  Always check the value of setsid,
since it should work on OS X now that we use fork there instead of
vfork.

18 years agoFix bug in calling select(2): its first argument is one greater than
Taylor R. Campbell [Sun, 29 Oct 2006 16:43:38 +0000 (16:43 +0000)]
Fix bug in calling select(2): its first argument is one greater than
the highest file descriptor involved, _not_ the number of file
descriptors involved.

18 years agoRevert previous change and reimplement functionality using new
Chris Hanson [Sun, 29 Oct 2006 06:20:11 +0000 (06:20 +0000)]
Revert previous change and reimplement functionality using new
procedures PORT/RDF-PREFIX-REGISTRY and PORT/SET-RDF-PREFIX-REGISTRY.
Implement new procedure WRITE-RDF/TURTLE.  Change READ-RDF/TURTLE-FILE
to return two values, a list of triples and a newly-allocated prefix
registry.

18 years agoRename PORT/BNODE-REGISTRY and PORT/DROP-BNODE-REGISTRY and export
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.

18 years agoExport several more Turtle output procedures.
Chris Hanson [Sun, 29 Oct 2006 05:35:07 +0000 (05:35 +0000)]
Export several more Turtle output procedures.

18 years agoChange all Turtle procedures to require a prefix-registry argument.
Chris Hanson [Sun, 29 Oct 2006 05:32:35 +0000 (05:32 +0000)]
Change all Turtle procedures to require a prefix-registry argument.

18 years agoExchange position of REGISTRY and ERROR? arguments on RDF-QNAME->URI,
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.

18 years agoRewrite Turtle encoder to have simpler, more consistent indentation,
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.

18 years agoChange WITH-NOTIFICATION to use a different strategy for dealing with
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.

18 years agoFix bug: list parser wasn't recognizing whitespace before the close
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.

18 years agoChange "Syntax file" to "Generating SCode for file".
Chris Hanson [Wed, 25 Oct 2006 17:49:55 +0000 (17:49 +0000)]
Change "Syntax file" to "Generating SCode for file".

18 years agoChange "Compile File" to "Compiling file".
Chris Hanson [Wed, 25 Oct 2006 17:43:23 +0000 (17:43 +0000)]
Change "Compile File" to "Compiling file".

18 years agoEliminate unnecessary semicolons in notification lines.
Chris Hanson [Wed, 25 Oct 2006 17:32:56 +0000 (17:32 +0000)]
Eliminate unnecessary semicolons in notification lines.

18 years agoUse WITH-NOTIFICATION when pre-loading class definitions.
Chris Hanson [Wed, 25 Oct 2006 17:30:24 +0000 (17:30 +0000)]
Use WITH-NOTIFICATION when pre-loading class definitions.

18 years agoUse WRITE-NOTIFICATION-LINE to generate dependency notifications.
Chris Hanson [Wed, 25 Oct 2006 17:29:21 +0000 (17:29 +0000)]
Use WRITE-NOTIFICATION-LINE to generate dependency notifications.

18 years agoDon't use generic script to delete packaging files. That script's
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.

18 years agoUse new WITH-NOTIFICATION and WRITE-NOTIFICATION-LINE to generate
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.

18 years agoChange way that WITH-NOTIFICATION prints "refresh" line.
Chris Hanson [Wed, 25 Oct 2006 05:40:21 +0000 (05:40 +0000)]
Change way that WITH-NOTIFICATION prints "refresh" line.

18 years agoAdd WRITE-NOTIFICATION-LINE.
Chris Hanson [Wed, 25 Oct 2006 05:05:24 +0000 (05:05 +0000)]
Add WRITE-NOTIFICATION-LINE.

18 years agoImplement WITH-NOTIFICATION to provide more uniform handling of status
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.

18 years agoFix typo in previous change.
Chris Hanson [Wed, 25 Oct 2006 04:23:06 +0000 (04:23 +0000)]
Fix typo in previous change.

18 years agoImplement new output operations OUTPUT-PORT/LINE-START? and
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.

18 years agoEliminate unused COLUMN field from GSTATE structure.
Chris Hanson [Wed, 25 Oct 2006 02:50:01 +0000 (02:50 +0000)]
Eliminate unused COLUMN field from GSTATE structure.

18 years agoEliminate CHAR-CONTROLIFY and friends in favor of more general
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.

18 years agoStore bucky bits in variables, and provide operations to test and set
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.

18 years agoChange pointer-button abstraction to have bucky bits, and update
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.

18 years agoChange representation of pointer-button codes to include 8 bits of
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.

18 years agoChange x_modifier_mask_to_bucky_bits and x_key_button_mask_to_scheme
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.

18 years agoStrip the bucky bit for control from key input events only if the
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.

18 years agoFind interpretation of modifier masks through the X server's modifier
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).

18 years agoExport procedures to generate parts of turtle file, for use by
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.