Chris Hanson [Sun, 16 Oct 2011 03:13:45 +0000 (20:13 -0700)]
Attempt to set the version strings correctly.
Chris Hanson [Sun, 16 Oct 2011 02:52:51 +0000 (19:52 -0700)]
Update version numbers.
Chris Hanson [Sat, 15 Oct 2011 04:57:10 +0000 (21:57 -0700)]
Revise manual licenses to remove cover texts.
Chris Hanson [Mon, 10 Oct 2011 02:51:17 +0000 (19:51 -0700)]
Chris Hanson [Mon, 27 Jun 2011 03:05:24 +0000 (20:05 -0700)]
Move any old .app file out of the way.
Chris Hanson [Mon, 27 Jun 2011 02:20:31 +0000 (19:20 -0700)]
Fix typo in previous change.
Chris Hanson [Mon, 27 Jun 2011 01:18:45 +0000 (18:18 -0700)]
Fix compiler warning.
Chris Hanson [Mon, 27 Jun 2011 01:13:58 +0000 (18:13 -0700)]
Add undocumented command-line option to enable partial C99 support.
Chris Hanson [Mon, 27 Jun 2011 00:38:15 +0000 (17:38 -0700)]
Define HAVE_CONFIG_H.
Chris Hanson [Mon, 27 Jun 2011 00:34:34 +0000 (17:34 -0700)]
Don't use expm1 and log1p unless they're available.
Chris Hanson [Mon, 27 Jun 2011 00:34:02 +0000 (17:34 -0700)]
Add floenv to list of files.
Chris Hanson [Mon, 27 Jun 2011 00:24:48 +0000 (17:24 -0700)]
Fix argument widths under windows.
Chris Hanson [Mon, 27 Jun 2011 00:23:22 +0000 (17:23 -0700)]
Reorder for consistency.
Chris Hanson [Mon, 27 Jun 2011 00:22:35 +0000 (17:22 -0700)]
Provide values for SIZEOF_OFF_T and SIZEOF_TIME_T.
Taylor R Campbell [Sun, 26 Jun 2011 20:29:15 +0000 (20:29 +0000)]
Fix Primitive_GC to request the right amount of space from the GC.
New variable Free_primitive is set during primitive invocations to
the value of Free on entry, so that Primitive_GC can find the total
amount of space requested so far from the GC, rather than the amount
currently being requested. Avoids endless GC loops, particularly in,
e.g., bignum primitives.
Taylor R Campbell [Sun, 26 Jun 2011 19:45:40 +0000 (19:45 +0000)]
Move interrupt branch from start to end of block, on x86-64.
Taylor R Campbell [Sun, 26 Jun 2011 19:43:20 +0000 (19:43 +0000)]
Update x86-64/decls.scm to mention back/checks.scm.
Taylor R Campbell [Sun, 26 Jun 2011 19:43:04 +0000 (19:43 +0000)]
Update i386/decls.scm to mention back/checks.scm.
Taylor R Campbell [Sun, 26 Jun 2011 19:39:09 +0000 (19:39 +0000)]
Move interrupt branch from start to end of block, on i386.
This makes it a forward branch rather than a reverse branch, so that
the CPU's branch predictor will predict it not taken rather than taken
by default.
Reduces time to compile the whole system by about 20%. This
performance increase will apply to any compiled code, independent of
what sort of computation it does.
Taylor R Campbell [Sun, 26 Jun 2011 18:33:12 +0000 (18:33 +0000)]
Use MI interrupt check analysis in i386 back end.
Nuke MD copy of it in i386/rules3.scm.
Taylor R Campbell [Sun, 26 Jun 2011 18:31:59 +0000 (18:31 +0000)]
Fix typos in compiler/back/checks.scm.
Taylor R Campbell [Sun, 26 Jun 2011 16:09:03 +0000 (16:09 +0000)]
Use SYMBOL-NAME, not SYMBOL->STRING, in keyword.scm.
Taylor R Campbell [Sat, 25 Jun 2011 19:28:48 +0000 (19:28 +0000)]
Use %READ-CHAR/%WRITE-CHAR in coding conversions.
Elides redundant port checks.
Chris Hanson [Sun, 26 Jun 2011 09:27:03 +0000 (02:27 -0700)]
Fix out-of-place declarations.
Chris Hanson [Sun, 26 Jun 2011 09:25:07 +0000 (02:25 -0700)]
Fix out-of-place declarations.
Chris Hanson [Sun, 26 Jun 2011 09:20:36 +0000 (02:20 -0700)]
Update to be closer to current generated config.
Chris Hanson [Sun, 26 Jun 2011 09:20:02 +0000 (02:20 -0700)]
Provide definitions for M_LN2 and M_SQRT1_2 if they aren't otherwise defined.
Chris Hanson [Sun, 26 Jun 2011 07:53:51 +0000 (00:53 -0700)]
Add missing definitions.
Chris Hanson [Sun, 26 Jun 2011 07:52:22 +0000 (00:52 -0700)]
Bump version number for release.
Taylor R Campbell [Sat, 25 Jun 2011 16:16:15 +0000 (16:16 +0000)]
Elide intermediate wide string in SYMBOL->STRING.
Taylor R Campbell [Sat, 25 Jun 2011 16:12:51 +0000 (16:12 +0000)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Tue, 21 Jun 2011 21:42:27 +0000 (14:42 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Chris Hanson [Tue, 21 Jun 2011 04:53:12 +0000 (21:53 -0700)]
Initial revision: a shell script to put on your PATH that runs an MIT Scheme application from the command line.
Chris Hanson [Mon, 20 Jun 2011 08:09:29 +0000 (01:09 -0700)]
Set SIGNAL_HANDLERS_CAN_USE_SCHEME_STACK under MacOS.
Taylor R Campbell [Sat, 18 Jun 2011 23:37:06 +0000 (23:37 +0000)]
On x86, align stack to 16 bytes for all calls to C.
Should fix random hangs on Mac OS X, whose ABI requires 16-byte
stack alignment. Should be harmless on other operating systems.
Taylor R Campbell [Sat, 18 Jun 2011 22:22:46 +0000 (22:22 +0000)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Fri, 17 Jun 2011 15:20:58 +0000 (08:20 -0700)]
Slight cleanup.
Joe Marshall [Fri, 17 Jun 2011 15:11:26 +0000 (08:11 -0700)]
Add optional port argument to debugging utility procedure.
Joe Marshall [Wed, 15 Jun 2011 04:44:35 +0000 (21:44 -0700)]
Revert unintended change.
Joe Marshall [Wed, 15 Jun 2011 04:33:54 +0000 (21:33 -0700)]
Revert unintended change.
Taylor R Campbell [Tue, 14 Jun 2011 03:28:23 +0000 (03:28 +0000)]
Fix calls to tcsetpgrp to avoid infinite loops on ENOSYS.
Joe Marshall [Mon, 13 Jun 2011 23:08:33 +0000 (16:08 -0700)]
Add ability to expand named-let as pure function.
Joe Marshall [Mon, 13 Jun 2011 23:07:02 +0000 (16:07 -0700)]
Fix missing call to loop in buffer-layout-visible?
Joe Marshall [Mon, 13 Jun 2011 23:04:27 +0000 (16:04 -0700)]
Remove list-ref and list-set! definitions (duplicates).
Joe Marshall [Mon, 13 Jun 2011 23:02:13 +0000 (16:02 -0700)]
Tweak integrations.
Joe Marshall [Mon, 13 Jun 2011 22:46:36 +0000 (15:46 -0700)]
Integrate DISCRIMINATE-PROCEDURE
Joe Marshall [Mon, 13 Jun 2011 22:42:07 +0000 (15:42 -0700)]
Add ability to warn about integrated operators used as arguments.
Joe Marshall [Mon, 13 Jun 2011 14:59:30 +0000 (07:59 -0700)]
Export list-set\!
Joe Marshall [Mon, 13 Jun 2011 14:58:29 +0000 (07:58 -0700)]
Define list-set\!
Joe Marshall [Mon, 13 Jun 2011 14:56:03 +0000 (07:56 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Matt Birkholz [Fri, 10 Jun 2011 15:54:44 +0000 (08:54 -0700)]
Alienate_float_env. before callouts, after callbacks.
Matt Birkholz [Fri, 10 Jun 2011 15:53:12 +0000 (08:53 -0700)]
Fix compile-system's dependencies option.
Taylor R Campbell [Fri, 10 Jun 2011 00:33:50 +0000 (00:33 +0000)]
Fix use of the close system call.
When close returns, it guarantees that the file descriptor given will
be closed, even if it fails. (The documentation is extremely poor,
but this is what every operating system does.) Consequently, it is a
bug to retry close. Every use now either ignores the return value of
close or takes a specific action based on it; it is incorrect to use
STD_VOID_SYSTEM_CALL with close.
Some calls that ignore the return value really need to check for
EINTR and deliver pending interrupts, but I'll get to that later.
Joe Marshall [Thu, 9 Jun 2011 21:45:35 +0000 (14:45 -0700)]
Remove jrm cruft and speed things up.
Joe Marshall [Thu, 9 Jun 2011 21:31:40 +0000 (14:31 -0700)]
Remove limits on expansion of cons* and list. Improve apply expansion.
Joe Marshall [Thu, 9 Jun 2011 21:14:15 +0000 (14:14 -0700)]
Get rid of boot dependency on MEMQ.
Joe Marshall [Thu, 9 Jun 2011 20:52:56 +0000 (13:52 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Thu, 9 Jun 2011 20:52:35 +0000 (13:52 -0700)]
Re-order some code to eliminate forward references.
Taylor R Campbell [Wed, 8 Jun 2011 18:23:31 +0000 (18:23 +0000)]
Omit some vestiges in nntp.scm.
Taylor R Campbell [Wed, 8 Jun 2011 18:21:07 +0000 (18:21 +0000)]
Fix order of arguments to HASH-TABLE/MODIFY!.
With any luck, nobody was using this except me outside the tree.
And it's not documented, so that nobody character will get what he
deserves.
Before:
(hash-table/modify! hash-table key
(lambda ()
...
a gigantic
heffable hoary herralump of
an expression
...)
tiny)
After:
(hash-table/modify! hash-table key tiny
(lambda ()
...
a gigantic
heffable hoary herralump of
an expression
...))
Taylor R Campbell [Wed, 8 Jun 2011 17:15:40 +0000 (17:15 +0000)]
Kludge up wrong-number-of-arguments error parsing for entities.
Before:
(min)
;The procedure #[compiled-procedure 11 (min "arith" #x16) #x1b1a #x1c8ac2] has been called with 1 argument; it requires at least 2 arguments.
After:
(min)
;The procedure #[arity-dispatched-procedure 11 min] has been called with 0 arguments; it requires at least 1 argument.
Screw cases be damned.
Taylor R Campbell [Wed, 8 Jun 2011 15:55:09 +0000 (15:55 +0000)]
Fix up bit-indexed integer operations.
. Fix sense of BIT-SET?.
. Add BIT-CLEAR?, for symmetry.
. Export forgotten TOGGLE-BIT.
. Add some tests for these operations.
Joe Marshall [Mon, 6 Jun 2011 18:34:47 +0000 (11:34 -0700)]
Trivial cleanup.
Taylor R Campbell [Wed, 25 May 2011 19:54:46 +0000 (19:54 +0000)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Tue, 24 May 2011 17:15:37 +0000 (10:15 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Tue, 24 May 2011 17:15:18 +0000 (10:15 -0700)]
A small simplification.
Joe Marshall [Tue, 24 May 2011 17:12:35 +0000 (10:12 -0700)]
Avoid leaving trailing whitespace on notifications.
Taylor R Campbell [Mon, 23 May 2011 15:36:07 +0000 (15:36 +0000)]
Call the procedure in HASH-TABLE/MODIFY! before blocking interrupts.
Previously the interrupt mask during the call to the procedure
depended on whether there was already an entry in the table, which
is silly.
Taylor R Campbell [Mon, 23 May 2011 15:34:10 +0000 (15:34 +0000)]
Must disable interrupts for SET-ENTRY-DATUM!.
It would probably be better to add a DISCRETIONARY-WITH-TABLE-LOCKED
operation to the entry type abstraction, so that the overhead of
blocking interrupts would be incurred only for key&datum-ephemeral
tables, which are the only ones that need it.
Taylor R Campbell [Mon, 23 May 2011 14:38:48 +0000 (14:38 +0000)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Taylor R Campbell [Sun, 22 May 2011 21:50:50 +0000 (21:50 +0000)]
Use MAKE-STRONG-EQ-HASH-TABLE for SOS's built-in class table.
Should be ephemeral of some flavour, but we can't do that yet. See
the comments for details.
Taylor R Campbell [Sun, 22 May 2011 21:12:18 +0000 (21:12 +0000)]
Use MAKE-STRONG-EQV-HASH-TABLE for Swank inspector parts.
Don't use deprecated MAKE-EQV-HASH-TABLE.
Keys are numbers anyway, so this may as well be strong.
Taylor R Campbell [Sun, 22 May 2011 21:09:16 +0000 (21:09 +0000)]
Missed a spot in parse.scm: MAKE-EQV-HASH-TABLE is deprecated.
Use MAKE-STRONG-EQV-HASH-TABLE here; the keys are numbers anyway.
Taylor R Campbell [Sun, 22 May 2011 20:49:50 +0000 (20:49 +0000)]
Fix HASH-TABLE-UPDATE!/DEFAULT to conform to silly specification.
Add regression tests.
I missed this when I fixed HASH-TABLE-UPDATE! a while ago.
Matt Birkholz [Wed, 18 May 2011 01:51:12 +0000 (18:51 -0700)]
Trying to get FFI test shim to link on Mac OS X.
Following the linking of microcode modules more closely, including
SHIM_LOADER in the prerequisites for the -shim.so, and the curiously
brief SHIM_LIBS for the LINK_SHIM commandline. Both are from
microcode/makegen/Makefile.in.in analogs, like MODULE_LIBS.
I'm not sure that this helps the Mac OS X build at all... so I'm
leaving build-ffis (and its test) disabled.
Taylor R Campbell [Tue, 10 May 2011 16:17:30 +0000 (16:17 +0000)]
Fix wait loop logic in synchronous subprocesses.
Previous trivial tests now pass.
Taylor R Campbell [Tue, 10 May 2011 16:14:57 +0000 (16:14 +0000)]
Add some trivial synchronous subprocess tests.
Taylor R Campbell [Mon, 9 May 2011 21:37:52 +0000 (21:37 +0000)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Taylor R Campbell [Mon, 9 May 2011 21:30:19 +0000 (21:30 +0000)]
Permit `--constant 0'.
The band loader figures out the size of the constant space anyway.
Is there ever any reason to use the `--constant' option at all?
Joe Marshall [Mon, 9 May 2011 19:49:10 +0000 (12:49 -0700)]
Fix whitespace.
Joe Marshall [Mon, 9 May 2011 19:41:54 +0000 (12:41 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Mon, 9 May 2011 19:41:32 +0000 (12:41 -0700)]
Remove overly complex code.
Taylor R Campbell [Mon, 9 May 2011 04:14:09 +0000 (04:14 +0000)]
Prefer (NOT (PAIR? ...)) over (NULL? ...) in unxpth.scm.
Taylor R Campbell [Mon, 9 May 2011 04:05:50 +0000 (04:05 +0000)]
Permit consecutive slashes in Unix namestrings.
POSIX sez it's kosher:
<http://pubs.opengroup.org/onlinepubs/
9699919799/basedefs/V1_chap03.html#tag_03_266>
I don't know any Unix that treats two leading slashes differently, so
I won't reject that case. However, maybe the pathname abstraction
needs to handle it differently if there are such Unices.
Chris Hanson [Mon, 2 May 2011 05:35:23 +0000 (22:35 -0700)]
Don't run build-ffis.
Chris Hanson [Mon, 2 May 2011 03:52:10 +0000 (20:52 -0700)]
Missed a copyright.
Chris Hanson [Mon, 2 May 2011 03:51:49 +0000 (20:51 -0700)]
Update version number.
Chris Hanson [Mon, 2 May 2011 01:56:20 +0000 (18:56 -0700)]
Update copyright years.
Chris Hanson [Mon, 2 May 2011 01:49:41 +0000 (18:49 -0700)]
Update version number.
Chris Hanson [Mon, 2 May 2011 01:49:02 +0000 (18:49 -0700)]
Update version number.
Chris Hanson [Mon, 2 May 2011 01:46:03 +0000 (18:46 -0700)]
Update version number.
Chris Hanson [Mon, 2 May 2011 01:43:20 +0000 (18:43 -0700)]
Initial revision: imported from cph's private sources.
Chris Hanson [Sun, 1 May 2011 23:37:37 +0000 (16:37 -0700)]
Add patterns for ffi documentation.
Chris Hanson [Sun, 1 May 2011 09:07:36 +0000 (02:07 -0700)]
Don't run "build-ffis"; this rule is broken on Mac OS X.
Chris Hanson [Sun, 1 May 2011 09:03:47 +0000 (02:03 -0700)]
Revert misguided change.
Taylor R Campbell [Sat, 30 Apr 2011 19:44:58 +0000 (19:44 +0000)]
Fix configure with host Scheme check disabled.
Taylor R Campbell [Sat, 30 Apr 2011 19:25:11 +0000 (19:25 +0000)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Taylor R Campbell [Sat, 30 Apr 2011 19:20:53 +0000 (19:20 +0000)]
Tighten host Scheme detection in configure script.
Now the script requires MIT_SCHEME_EXE to work if it is set, in order
to detect early the legitimate error of setting it wrong.
Matt Birkholz [Sat, 30 Apr 2011 18:20:19 +0000 (11:20 -0700)]
Oops, remove ALL "debugging printfs".
Matt Birkholz [Sat, 30 Apr 2011 17:43:16 +0000 (10:43 -0700)]
Added compile-time 'imports option to compile-system.