Taylor R. Campbell [Sat, 10 Feb 2007 19:22:13 +0000 (19:22 +0000)]
Oops: because the available space after subtracting the space the
primitive requested may be negative, use LONG_TO_FIXNUM instead of
LONG_TO_UNSIGNED_FIXNUM.
Taylor R. Campbell [Sat, 10 Feb 2007 19:17:38 +0000 (19:17 +0000)]
In the GARBAGE-COLLECT primitive, return the available heap space
minus gc_space_needed, in case it was called by a primitive that
requested a certain amount of space for allocation. If we report only
the newly available heap space and ignore gc_space_needed, then
GC-FINISH will consider there to be ample space to proceed (more than
4096 bytes), and the primitive will be restarted only to repeat the
call to the GC, looping endlessly.
Chris Hanson [Thu, 8 Feb 2007 03:36:18 +0000 (03:36 +0000)]
Tweak cookie parsing to allow #\= in RHS of binding. Don't signal an
error if there's a bad cookie; just ignore it and emit a warning.
Chris Hanson [Mon, 5 Feb 2007 18:44:00 +0000 (18:44 +0000)]
Delete discard-char operations.
Chris Hanson [Mon, 5 Feb 2007 18:43:08 +0000 (18:43 +0000)]
Remove leading parens that cause trouble on NetBSD.
Chris Hanson [Mon, 5 Feb 2007 18:26:38 +0000 (18:26 +0000)]
Updates to make sure that Edwin can be compiled by previous snapshot.
Chris Hanson [Mon, 5 Feb 2007 02:38:06 +0000 (02:38 +0000)]
File conflicts with Clean.sh on win32.
Taylor R. Campbell [Sun, 4 Feb 2007 21:55:45 +0000 (21:55 +0000)]
Fix bug in compiler reference trap restarts: the name will be at the
top of the stack, not in the expression register.
Taylor R. Campbell [Sun, 4 Feb 2007 18:39:05 +0000 (18:39 +0000)]
Reinitialize the local display modifier mask table on MappingModifier
requests in MappingNotify events, so that the user can reconfigure
modifier masks on the fly without confusing Scheme programs.
Taylor R. Campbell [Sun, 4 Feb 2007 18:36:12 +0000 (18:36 +0000)]
Eliminate compiler warning about non-return from non-void function
x_close_window_io_error, which calls longjmp instead.
Chris Hanson [Sun, 4 Feb 2007 02:56:10 +0000 (02:56 +0000)]
Adjust for change: "--with-db4" is now "--with-db-4".
Taylor R. Campbell [Sun, 4 Feb 2007 00:17:12 +0000 (00:17 +0000)]
Permit (SYNTAX-RULES ()), which is the only portable way to define a
SYNTACTIC-ERROR macro.
Chris Hanson [Sat, 3 Feb 2007 18:41:44 +0000 (18:41 +0000)]
Update copyright statements to new form.
Taylor R. Campbell [Sun, 28 Jan 2007 23:03:06 +0000 (23:03 +0000)]
ld on OS X wants `-dylib', not `-dynamiclib', now that we're actually
using it instead of the C compiler executable.
Taylor R. Campbell [Fri, 26 Jan 2007 02:38:22 +0000 (02:38 +0000)]
Use NAMED-LAMBDA in the output of named LET.
Taylor R. Campbell [Mon, 22 Jan 2007 18:30:16 +0000 (18:30 +0000)]
Use `OS_file_access', not `access', in `FILE_READABLE' macro.
Taylor R. Campbell [Mon, 22 Jan 2007 08:43:09 +0000 (08:43 +0000)]
Eliminate compiler warnings for obstack_chunk_alloc.
Taylor R. Campbell [Mon, 22 Jan 2007 08:35:02 +0000 (08:35 +0000)]
On OS X, add -Wl,-pagezero_size,
04000000 to DLD_LDFLAGS, not LDFLAGS,
so that it is passed only when building the `scheme' and `bchscheme'
binaries, not when compiling all object files.
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.