Taylor R. Campbell [Mon, 22 Jan 2007 07:47:39 +0000 (07:47 +0000)]
Specialize mmap_heap_malloc on OS X to pass MAP_FIXED always.
This conditional is ugly; perhaps it ought to be refactored. However,
after the change to the configuration script to add the linker option
reserving low address space, this is necessary for anything to work at
all on OS X for the moment.
Chris Hanson [Mon, 22 Jan 2007 06:38:39 +0000 (06:38 +0000)]
Fix typo. Use AC_CHECK_FUNC(...) rather than AC_CHECK_LIB([c],...).
Chris Hanson [Mon, 22 Jan 2007 06:11:07 +0000 (06:11 +0000)]
Incorporate changes for NetBSD from Jed Davis.
Taylor R. Campbell [Sun, 21 Jan 2007 23:19:54 +0000 (23:19 +0000)]
Fix up C comments so that */ inside them will not destroy the output.
Taylor R. Campbell [Sun, 21 Jan 2007 22:19:06 +0000 (22:19 +0000)]
Hack STRINGIFY to support lap comments, in case the user set
COMPILER:GENERATE-LAP-FILES? and COMPILER:INTERSPERSE-RTL-IN-LAP?, so
that it puts comments in the C output instead of signalling an obscure
error, even though the resulting *.lap files are not very useful.
Taylor R. Campbell [Sun, 21 Jan 2007 11:29:15 +0000 (11:29 +0000)]
Fix bug in the open-coder for HEAP-AVAILABLE? with type checking
turned on. It was passing the FINISH continuation on to
OPEN-CODE:WITH-CHECKS, but that would call FINISH with an RTL
expression, whereas the callers of the open-coder want an RTL
predicate CFG. Now, like other predicate open-coders,
HEAP-AVAILABLE?'s wraps the expression in a true test.
Taylor R. Campbell [Sun, 21 Jan 2007 05:15:05 +0000 (05:15 +0000)]
In C-COMPILER-NAME, read from and write to the variable
COMPILER:C-COMPILER-NAME, not COMPILER:C-LINKER-NAME.
Taylor R. Campbell [Sun, 21 Jan 2007 01:10:18 +0000 (01:10 +0000)]
Make DEBUG-SHOW-STANDARD-MARKS work again. It doesn't show quite the
same information as before, but at least it doesn't fail horribly now.
Taylor R. Campbell [Sat, 20 Jan 2007 23:49:18 +0000 (23:49 +0000)]
Wrap the new SHUTDOWN-SOCKET primitive's body in SOCKET_CODE.
Taylor R. Campbell [Sat, 20 Jan 2007 21:59:32 +0000 (21:59 +0000)]
Enclose the argument to `test -n' in double-quotes in the tests for
the `struct tm' member `tm_gmtoff' and the `timezone' variable.
Chris Hanson [Sat, 20 Jan 2007 03:55:34 +0000 (03:55 +0000)]
Don't do manual install of info files; let doc/Makefile handle this.
Chris Hanson [Sat, 20 Jan 2007 03:54:49 +0000 (03:54 +0000)]
Conditionally install "dir" file in info directory.
Chris Hanson [Sat, 20 Jan 2007 03:52:28 +0000 (03:52 +0000)]
Initial revision.
Chris Hanson [Sat, 20 Jan 2007 03:50:06 +0000 (03:50 +0000)]
Two fixes for OS X.
Chris Hanson [Sat, 20 Jan 2007 03:43:15 +0000 (03:43 +0000)]
Use --preserve-timestamps only if available.
Taylor R. Campbell [Sat, 20 Jan 2007 03:08:49 +0000 (03:08 +0000)]
Pass `-MG' to `gcc' in the generated `makegen-cc' script. The meaning
of `-MM' was changed in recent versions of GCC so that it does not
mask errors about absent system headers, but with `-MG' it uses the
old semantics.
Taylor R. Campbell [Fri, 19 Jan 2007 05:03:42 +0000 (05:03 +0000)]
In wrong-number-of-arguments errors where the minimum number of
arguments is equal to the maximum number of arguments, write that
number, not the confusing arity object, in the condition report.
Taylor R. Campbell [Thu, 18 Jan 2007 02:30:37 +0000 (02:30 +0000)]
Initialize newly constructed records in keyword constructors to have
the proper dispatch tag.
Taylor R. Campbell [Thu, 18 Jan 2007 02:15:05 +0000 (02:15 +0000)]
In DEFINE-STANDARD-KEYWORD, pass a list of fragments to
DEFINE-KEYPARSER-PATTERN as one argument, not the fragments as
separate arguments. This is supposed to be a `pattern' structure,
although it might be better to have an abstract MAKE-PATTERN
constructor or something instead of exposing the representation of
patterns as lists.
Taylor R. Campbell [Thu, 18 Jan 2007 02:03:39 +0000 (02:03 +0000)]
In PROMPT-FOR-EXPRESSION, don't pass the default expression through
WRITE-TO-STRING before handing it to PROMPT-FOR-STRING, because
PROMPT-FOR-STRING already does that.
Taylor R. Campbell [Thu, 18 Jan 2007 00:19:24 +0000 (00:19 +0000)]
In DEFINE-KEYPARSER-STATEMENT-LEADER, compile the regular expression
if it is *not* a compiled regular expression, not if it is.
Chris Hanson [Wed, 17 Jan 2007 21:01:59 +0000 (21:01 +0000)]
Fix another thinko.
Chris Hanson [Wed, 17 Jan 2007 21:00:48 +0000 (21:00 +0000)]
Fix broken definition of MATCH-TAIL.
Chris Hanson [Wed, 17 Jan 2007 16:04:37 +0000 (16:04 +0000)]
Fix thinko.
Chris Hanson [Wed, 17 Jan 2007 15:58:44 +0000 (15:58 +0000)]
Fix typo in previous change.
Chris Hanson [Wed, 17 Jan 2007 15:42:39 +0000 (15:42 +0000)]
Don't consider non-characters in WELL-FORMED-CODE-POINT-LIST?.
Chris Hanson [Wed, 17 Jan 2007 03:43:09 +0000 (03:43 +0000)]
Use new matching/parsing utility procedures. Implement
UTF8-STRING->XML. Fix turtle URI output so that qnames conform to
turtle syntax.
Chris Hanson [Wed, 17 Jan 2007 03:39:42 +0000 (03:39 +0000)]
Add utility procedures for matching and parsing.
Chris Hanson [Wed, 17 Jan 2007 03:31:00 +0000 (03:31 +0000)]
Use new matching procedures.
Chris Hanson [Wed, 17 Jan 2007 02:48:57 +0000 (02:48 +0000)]
Implement UTF8-STRING->PARSER-BUFFER.
Chris Hanson [Tue, 16 Jan 2007 21:16:46 +0000 (21:16 +0000)]
Allow the local part of an RDF qname to be an arbitrary UTF-8 string.
Chris Hanson [Tue, 16 Jan 2007 08:03:05 +0000 (08:03 +0000)]
Add non-character range FDD0 through FDEF. Simplify logic used to
determine legal characters.
Chris Hanson [Sun, 14 Jan 2007 01:58:12 +0000 (01:58 +0000)]
For svn, quote diff-switches with "-x" prefix.
Chris Hanson [Sat, 13 Jan 2007 07:45:54 +0000 (07:45 +0000)]
Properly handle case where pg_config isn't available.
Chris Hanson [Sat, 13 Jan 2007 07:12:29 +0000 (07:12 +0000)]
Berkeley DB uses versioned symbols in older versions, so AC_CHECK_LIB
can't be used; instead use AC_LINK_IFELSE. Also, comment out C99
fixed-width integer type tests which are (a) not used, and (b) only in
the latest version of autoconf.
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.
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.
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.
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.
Chris Hanson [Fri, 12 Jan 2007 06:18:00 +0000 (06:18 +0000)]
Add necessary file from pre-v15 branch.
Chris Hanson [Fri, 12 Jan 2007 06:17:31 +0000 (06:17 +0000)]
Fix two more places with pointer signedness warnings.
Chris Hanson [Fri, 12 Jan 2007 03:53:59 +0000 (03:53 +0000)]
Move "autom4te.cache" from "make maintainer-clean" to "make distclean".
Chris Hanson [Fri, 12 Jan 2007 03:45:55 +0000 (03:45 +0000)]
Eliminate pointer signedness warnings.
Chris Hanson [Fri, 12 Jan 2007 03:14:55 +0000 (03:14 +0000)]
Fix two bugs causing mis-configuration of modules.
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.
Chris Hanson [Fri, 12 Jan 2007 02:22:06 +0000 (02:22 +0000)]
Add --enable-debugging.
Chris Hanson [Fri, 12 Jan 2007 02:16:47 +0000 (02:16 +0000)]
Eliminate COMPILED_DEFS.
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.
Chris Hanson [Wed, 10 Jan 2007 08:17:22 +0000 (08:17 +0000)]
Use AS_HELP_STRING to simplify --with and --enable descriptions.
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.
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.
Chris Hanson [Tue, 9 Jan 2007 06:38:29 +0000 (06:38 +0000)]
Set non-zero exit code if EOF reached inside error REPL.
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.
Chris Hanson [Tue, 9 Jan 2007 06:36:21 +0000 (06:36 +0000)]
Simplify UNDEFINED-VALUE?.
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.
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.
Chris Hanson [Mon, 8 Jan 2007 14:55:22 +0000 (14:55 +0000)]
Add copyright/license statements and fix typo.
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.
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.
Chris Hanson [Mon, 8 Jan 2007 03:57:22 +0000 (03:57 +0000)]
Fix bug: GET-OUTPUT-STRING! would always return a null string.
Chris Hanson [Sun, 7 Jan 2007 09:11:23 +0000 (09:11 +0000)]
Implement PORT/OPEN?, PORT/INPUT-OPEN?, and PORT/OUTPUT-OPEN?.
Chris Hanson [Sun, 7 Jan 2007 06:48:52 +0000 (06:48 +0000)]
Elide nested groups.
Chris Hanson [Fri, 5 Jan 2007 21:48:32 +0000 (21:48 +0000)]
Update copyright statements to GNU standard.
Chris Hanson [Fri, 5 Jan 2007 21:24:09 +0000 (21:24 +0000)]
Add datarootdir.
Chris Hanson [Fri, 5 Jan 2007 21:21:08 +0000 (21:21 +0000)]
Update copyright statements to GNU standard.
Chris Hanson [Fri, 5 Jan 2007 15:33:11 +0000 (15:33 +0000)]
Update FSF address.
Chris Hanson [Fri, 5 Jan 2007 15:27:23 +0000 (15:27 +0000)]
Update FSF address.
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.
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.
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.
Chris Hanson [Thu, 28 Dec 2006 15:31:00 +0000 (15:31 +0000)]
Add XML package definitions to eliminate CREF warnings.
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.
Taylor R. Campbell [Wed, 27 Dec 2006 08:10:08 +0000 (08:10 +0000)]
Argh! Add long-forgotten (EDWIN LISPPASTE) package...
Taylor R. Campbell [Wed, 27 Dec 2006 07:01:09 +0000 (07:01 +0000)]
Update copyright date.
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.
Chris Hanson [Wed, 20 Dec 2006 07:24:47 +0000 (07:24 +0000)]
Use OS/FIND-PROGRAM to search path for sendmail.
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.
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.
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.
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...
Chris Hanson [Sat, 25 Nov 2006 05:11:48 +0000 (05:11 +0000)]
Implement win32 socket shutdown support.
Chris Hanson [Sat, 25 Nov 2006 05:08:04 +0000 (05:08 +0000)]
Eliminate win32 compiler warnings.
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.
Chris Hanson [Wed, 22 Nov 2006 18:51:14 +0000 (18:51 +0000)]
Use shutdown-socket primitive to close one side of a socket.
Chris Hanson [Wed, 22 Nov 2006 18:50:48 +0000 (18:50 +0000)]
Add SHUTDOWN-SOCKET primitive.
Chris Hanson [Wed, 22 Nov 2006 18:13:49 +0000 (18:13 +0000)]
Add support for CIFS fs type.
Chris Hanson [Wed, 22 Nov 2006 18:02:31 +0000 (18:02 +0000)]
Fix bug: list notation doesn't use commas.
Chris Hanson [Wed, 22 Nov 2006 04:36:35 +0000 (04:36 +0000)]
Make sure constants are unsigned in string_hash.
Chris Hanson [Wed, 15 Nov 2006 00:38:21 +0000 (00:38 +0000)]
Add MIT and MIT/GNU to cond-expand features.
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.
Chris Hanson [Thu, 9 Nov 2006 20:11:50 +0000 (20:11 +0000)]
Fix thinko in previous change.
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.
Chris Hanson [Thu, 9 Nov 2006 20:04:57 +0000 (20:04 +0000)]
Implement PORT/INTERN-PROPERTY!.
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.
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.
Taylor R. Campbell [Sat, 4 Nov 2006 20:23:19 +0000 (20:23 +0000)]
Implement a simple XML-RPC 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.
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.
Chris Hanson [Fri, 3 Nov 2006 06:30:42 +0000 (06:30 +0000)]
Add support for HEAD requests.
Chris Hanson [Wed, 1 Nov 2006 05:19:58 +0000 (05:19 +0000)]
Change CHANNEL-OPEN? to return #T when true.