mit-scheme.git
12 years agoAdd PATTERN-CONTAINS-DUPLICATES?
Joe Marshall [Wed, 4 Jan 2012 04:33:43 +0000 (20:33 -0800)]
Add PATTERN-CONTAINS-DUPLICATES?

12 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme
Chris Hanson [Sun, 18 Dec 2011 09:04:20 +0000 (01:04 -0800)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme

12 years agoFix over-long line and tweak indentation.
Chris Hanson [Sun, 18 Dec 2011 08:10:01 +0000 (00:10 -0800)]
Fix over-long line and tweak indentation.

12 years agoMark channel closed before interrupting in Unix's OS_channel_closed.
Taylor R Campbell [Tue, 13 Dec 2011 07:40:37 +0000 (07:40 +0000)]
Mark channel closed before interrupting in Unix's OS_channel_closed.

Interruption may restart the primitive that called it, which will
choke on a bad file descriptor.

13 years agoMerge from release-9.1 branch.
Chris Hanson [Wed, 9 Nov 2011 06:55:37 +0000 (22:55 -0800)]
Merge from release-9.1 branch.

13 years agoProperly fix default-target setting code. origin/release-9.1 release-9.1.1
Chris Hanson [Wed, 9 Nov 2011 06:27:20 +0000 (22:27 -0800)]
Properly fix default-target setting code.

13 years agoBump version number for new point release.
Chris Hanson [Wed, 9 Nov 2011 05:24:17 +0000 (21:24 -0800)]
Bump version number for new point release.

13 years agoAdd configure option to set default make target; use it in distrib files.
Chris Hanson [Wed, 9 Nov 2011 05:00:33 +0000 (21:00 -0800)]
Add configure option to set default make target; use it in distrib files.

13 years agoFLO:DEFAULT-ENVIRONMENT must be reinitialized after the band is restored, since the...
Chris Hanson [Mon, 17 Oct 2011 08:21:36 +0000 (01:21 -0700)]
FLO:DEFAULT-ENVIRONMENT must be reinitialized after the band is restored, since the answer might be different than it was when the band was created.

13 years agoAdd configure option to set default make target; use it in distrib files.
Chris Hanson [Wed, 9 Nov 2011 05:00:33 +0000 (21:00 -0800)]
Add configure option to set default make target; use it in distrib files.

13 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme
Chris Hanson [Sun, 6 Nov 2011 06:03:26 +0000 (23:03 -0700)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme

13 years agoUpdate for new application name.
Chris Hanson [Sun, 6 Nov 2011 05:03:52 +0000 (22:03 -0700)]
Update for new application name.

13 years agoWe show the significand of a number, not the mantissa.
Taylor R Campbell [Fri, 21 Oct 2011 00:55:43 +0000 (00:55 +0000)]
We show the significand of a number, not the mantissa.

13 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme
Chris Hanson [Mon, 17 Oct 2011 08:22:02 +0000 (01:22 -0700)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/mit-scheme

13 years agoFLO:DEFAULT-ENVIRONMENT must be reinitialized after the band is restored, since the...
Chris Hanson [Mon, 17 Oct 2011 08:21:36 +0000 (01:21 -0700)]
FLO:DEFAULT-ENVIRONMENT must be reinitialized after the band is restored, since the answer might be different than it was when the band was created.

13 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Taylor R Campbell [Mon, 17 Oct 2011 05:03:19 +0000 (05:03 +0000)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme

13 years agoUse a more liberal licence for runtime/test-division.scm.
Taylor R Campbell [Mon, 17 Oct 2011 05:02:05 +0000 (05:02 +0000)]
Use a more liberal licence for runtime/test-division.scm.

13 years agoUse a more liberal licence for runtime/division.scm.
Taylor R Campbell [Mon, 17 Oct 2011 04:53:03 +0000 (04:53 +0000)]
Use a more liberal licence for runtime/division.scm.

I alone wrote this code, and I never did sign the MIT copyright
assignment papers.  Some folks want to use this code where the GPL is
not viable.

13 years agoMerge branch 'release-9.1'
Chris Hanson [Sun, 16 Oct 2011 09:23:10 +0000 (02:23 -0700)]
Merge branch 'release-9.1'

13 years agoAttempt to set the version strings correctly. release-9.1.0
Chris Hanson [Sun, 16 Oct 2011 03:13:45 +0000 (20:13 -0700)]
Attempt to set the version strings correctly.

13 years agoUpdate version numbers.
Chris Hanson [Sun, 16 Oct 2011 02:52:51 +0000 (19:52 -0700)]
Update version numbers.

13 years agoScript to generate upload files for GNU FTP server.
Chris Hanson [Sat, 15 Oct 2011 10:10:11 +0000 (03:10 -0700)]
Script to generate upload files for GNU FTP server.

13 years agoRevise manual licenses to remove cover texts.
Chris Hanson [Sat, 15 Oct 2011 04:57:10 +0000 (21:57 -0700)]
Revise manual licenses to remove cover texts.

13 years agoRevise manual licenses to remove cover texts.
Chris Hanson [Sat, 15 Oct 2011 04:57:10 +0000 (21:57 -0700)]
Revise manual licenses to remove cover texts.

13 years agoMerge commit 'ca08b665a91491093722534a66a31c67cc995ec5' into release-9.1
Chris Hanson [Mon, 10 Oct 2011 02:51:17 +0000 (19:51 -0700)]
Merge commit 'ca08b665a91491093722534a66a31c67cc995ec5' into release-9.1

13 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Taylor R Campbell [Wed, 5 Oct 2011 21:41:01 +0000 (21:41 +0000)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme

13 years agoDon't use fixnum arithmetic for IMAP literal sizes...
Taylor R Campbell [Wed, 5 Oct 2011 21:35:11 +0000 (21:35 +0000)]
Don't use fixnum arithmetic for IMAP literal sizes...

Grrrrrrr.  Scheme is not supposed to be vulnerable to integer
overflow crap!  (Except as it enables timing attacks.)

13 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Thu, 22 Sep 2011 18:51:43 +0000 (11:51 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme

13 years agoDon't call OS_free_pages after GC flip. We don't resize the heap and we will be...
Joe Marshall [Thu, 22 Sep 2011 18:51:25 +0000 (11:51 -0700)]
Don't call OS_free_pages after GC flip.  We don't resize the heap and we will be reusing it.

13 years agoAssigning copyrights to MIT.
Matt Birkholz [Mon, 19 Sep 2011 18:30:36 +0000 (11:30 -0700)]
Assigning copyrights to MIT.

13 years agoSimplify silly %trace syntaxers.
Matt Birkholz [Fri, 16 Sep 2011 20:05:45 +0000 (13:05 -0700)]
Simplify silly %trace syntaxers.

13 years agoFixed typos in the reference manual in warnings about future changes
Arthur A. Gleckler [Sat, 27 Aug 2011 18:40:34 +0000 (11:40 -0700)]
Fixed typos in the reference manual in warnings about future changes
to the semantics of hash table creation functions.

13 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Fri, 26 Aug 2011 15:52:31 +0000 (08:52 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme

13 years agoFixed close-in/output-buffer to apply source/sink close method.
Matt Birkholz [Fri, 19 Aug 2011 16:11:35 +0000 (09:11 -0700)]
Fixed close-in/output-buffer to apply source/sink close method.

13 years agoFixed a last-minute copy/yank.
Matt Birkholz [Fri, 19 Aug 2011 15:41:21 +0000 (08:41 -0700)]
Fixed a last-minute copy/yank.

13 years agoAdded thread-queues (aka mailboxes).
Matt Birkholz [Fri, 19 Aug 2011 03:21:13 +0000 (20:21 -0700)]
Added thread-queues (aka mailboxes).

13 years agoRemoved unused parameter to lookup-enum-value.
Matt Birkholz [Fri, 19 Aug 2011 03:18:39 +0000 (20:18 -0700)]
Removed unused parameter to lookup-enum-value.

13 years agoAdded c-peek-bytes, c-poke-bytes.
Matt Birkholz [Fri, 19 Aug 2011 02:42:36 +0000 (19:42 -0700)]
Added c-peek-bytes, c-poke-bytes.

13 years agoMoved outf-console to -error (stderr); fiddled FFI debugging.
Matt Birkholz [Fri, 19 Aug 2011 02:17:53 +0000 (19:17 -0700)]
Moved outf-console to -error (stderr); fiddled FFI debugging.

13 years agoc-peek-cstringp: Return () when the char* is NULL.
Matt Birkholz [Fri, 19 Aug 2011 01:52:18 +0000 (18:52 -0700)]
c-peek-cstringp: Return () when the char* is NULL.

13 years agoWarn, not die, when a callback or constant is undefined.
Matt Birkholz [Thu, 18 Aug 2011 18:34:55 +0000 (11:34 -0700)]
Warn, not die, when a callback or constant is undefined.

13 years agoInsert const AFTER qualified type, to qualify pointers.
Matt Birkholz [Thu, 18 Aug 2011 18:31:10 +0000 (11:31 -0700)]
Insert const AFTER qualified type, to qualify pointers.

13 years agoAllow ../../ in .cdecl include statements.
Matt Birkholz [Thu, 18 Aug 2011 18:28:54 +0000 (11:28 -0700)]
Allow ../../ in .cdecl include statements.

13 years agoAdded prompt-for-string and call-with-pass-phrase.
Matt Birkholz [Thu, 18 Aug 2011 18:27:53 +0000 (11:27 -0700)]
Added prompt-for-string and call-with-pass-phrase.

13 years agoWiden text columns for printing GC statistics.
Joe Marshall [Sat, 13 Aug 2011 23:09:27 +0000 (16:09 -0700)]
Widen text columns for printing GC statistics.

13 years agoResolve merge conflict.
Joe Marshall [Sat, 13 Aug 2011 17:08:47 +0000 (10:08 -0700)]
Resolve merge conflict.

13 years agoAdd an include to remove a warning.
Joe Marshall [Wed, 3 Aug 2011 02:07:20 +0000 (19:07 -0700)]
Add an include to remove a warning.

13 years agoFix call to COMBINATION/MAKE in sf/reduct.scm.
Taylor R Campbell [Sun, 31 Jul 2011 23:48:20 +0000 (23:48 +0000)]
Fix call to COMBINATION/MAKE in sf/reduct.scm.

13 years agoInclude osscheme.h in flonum.c for error_unimplemented_primitive.
Taylor R Campbell [Sun, 31 Jul 2011 23:27:08 +0000 (23:27 +0000)]
Include osscheme.h in flonum.c for error_unimplemented_primitive.

(What's error_unimplemented_primitive doing there?)

13 years agoFix {REDUCE,REPLACE}-OPERATOR declaration after jrm's sf rototill.
Taylor R Campbell [Sun, 31 Jul 2011 23:24:43 +0000 (23:24 +0000)]
Fix {REDUCE,REPLACE}-OPERATOR declaration after jrm's sf rototill.

13 years agoFixed typos in comment.
Arthur A. Gleckler [Wed, 6 Jul 2011 02:30:15 +0000 (19:30 -0700)]
Fixed typos in comment.

13 years agoRecode PATTERN-LOOKUP-1 and PATTERN-VARIABLES in direct (non-CPS) style.
Joe Marshall [Wed, 6 Jul 2011 01:06:37 +0000 (18:06 -0700)]
Recode PATTERN-LOOKUP-1 and PATTERN-VARIABLES in direct (non-CPS) style.

13 years agoChange default initializers from (lambda () #f) to #f.
Joe Marshall [Fri, 1 Jul 2011 16:34:58 +0000 (09:34 -0700)]
Change default initializers from (lambda () #f) to #f.

13 years agoAllow #F to be a legal record and structure initialization form equivalent to (lambda...
Joe Marshall [Fri, 1 Jul 2011 16:31:46 +0000 (09:31 -0700)]
Allow #F to be a legal record and structure initialization form equivalent to (lambda () #f).

13 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Mon, 27 Jun 2011 16:09:08 +0000 (09:09 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme

13 years agoMerge branch 'release-9.1'
Chris Hanson [Mon, 27 Jun 2011 03:16:57 +0000 (20:16 -0700)]
Merge branch 'release-9.1'

13 years agoMove any old .app file out of the way.
Chris Hanson [Mon, 27 Jun 2011 03:05:24 +0000 (20:05 -0700)]
Move any old .app file out of the way.

13 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
Joe Marshall [Mon, 27 Jun 2011 02:52:29 +0000 (19:52 -0700)]
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme

13 years agoFix typo in previous change.
Chris Hanson [Mon, 27 Jun 2011 02:20:31 +0000 (19:20 -0700)]
Fix typo in previous change.

13 years agoFix compiler warning.
Chris Hanson [Mon, 27 Jun 2011 01:18:45 +0000 (18:18 -0700)]
Fix compiler warning.

13 years agoAdd undocumented command-line option to enable partial C99 support.
Chris Hanson [Mon, 27 Jun 2011 01:13:58 +0000 (18:13 -0700)]
Add undocumented command-line option to enable partial C99 support.

13 years agoDefine HAVE_CONFIG_H.
Chris Hanson [Mon, 27 Jun 2011 00:38:15 +0000 (17:38 -0700)]
Define HAVE_CONFIG_H.

13 years agoDon't use expm1 and log1p unless they're available.
Chris Hanson [Mon, 27 Jun 2011 00:34:34 +0000 (17:34 -0700)]
Don't use expm1 and log1p unless they're available.

13 years agoAdd floenv to list of files.
Chris Hanson [Mon, 27 Jun 2011 00:34:02 +0000 (17:34 -0700)]
Add floenv to list of files.

13 years agoFix argument widths under windows.
Chris Hanson [Mon, 27 Jun 2011 00:24:48 +0000 (17:24 -0700)]
Fix argument widths under windows.

13 years agoReorder for consistency.
Chris Hanson [Mon, 27 Jun 2011 00:23:22 +0000 (17:23 -0700)]
Reorder for consistency.

13 years agoProvide values for SIZEOF_OFF_T and SIZEOF_TIME_T.
Chris Hanson [Mon, 27 Jun 2011 00:22:35 +0000 (17:22 -0700)]
Provide values for SIZEOF_OFF_T and SIZEOF_TIME_T.

13 years agoFix Primitive_GC to request the right amount of space from the GC.
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.

13 years agoMove interrupt branch from start to end of block, on x86-64.
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.

13 years agoUpdate x86-64/decls.scm to mention back/checks.scm.
Taylor R Campbell [Sun, 26 Jun 2011 19:43:20 +0000 (19:43 +0000)]
Update x86-64/decls.scm to mention back/checks.scm.

13 years agoUpdate i386/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.

13 years agoMove interrupt branch from start to end of block, on i386.
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.

13 years agoUse MI interrupt check analysis in i386 back end.
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.

13 years agoFix typos in compiler/back/checks.scm.
Taylor R Campbell [Sun, 26 Jun 2011 18:31:59 +0000 (18:31 +0000)]
Fix typos in compiler/back/checks.scm.

13 years agoUse SYMBOL-NAME, not SYMBOL->STRING, in keyword.scm.
Taylor R Campbell [Sun, 26 Jun 2011 16:09:03 +0000 (16:09 +0000)]
Use SYMBOL-NAME, not SYMBOL->STRING, in keyword.scm.

13 years agoUse %READ-CHAR/%WRITE-CHAR in coding conversions.
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.

13 years agoFix out-of-place declarations.
Chris Hanson [Sun, 26 Jun 2011 09:27:03 +0000 (02:27 -0700)]
Fix out-of-place declarations.

13 years agoFix out-of-place declarations.
Chris Hanson [Sun, 26 Jun 2011 09:25:07 +0000 (02:25 -0700)]
Fix out-of-place declarations.

13 years agoUpdate to be closer to current generated config.
Chris Hanson [Sun, 26 Jun 2011 09:20:36 +0000 (02:20 -0700)]
Update to be closer to current generated config.

13 years agoProvide definitions for M_LN2 and M_SQRT1_2 if they aren't otherwise defined.
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.

13 years agoAdd missing definitions.
Chris Hanson [Sun, 26 Jun 2011 07:53:51 +0000 (00:53 -0700)]
Add missing definitions.

13 years agoBump version number for release.
Chris Hanson [Sun, 26 Jun 2011 07:52:22 +0000 (00:52 -0700)]
Bump version number for release.

13 years ago%make-record now takes a tag and length. Other returned record fields will be #f.
Joe Marshall [Sat, 25 Jun 2011 22:51:30 +0000 (15:51 -0700)]
%make-record now takes a tag and length.  Other returned record fields will be #f.

13 years agoElide intermediate wide string in SYMBOL->STRING.
Taylor R Campbell [Sat, 25 Jun 2011 16:16:15 +0000 (16:16 +0000)]
Elide intermediate wide string in SYMBOL->STRING.

13 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
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

13 years agoMerge 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

13 years agoInitial revision: a shell script to put on your PATH that runs an MIT Scheme applicat...
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.

13 years agoSet SIGNAL_HANDLERS_CAN_USE_SCHEME_STACK under MacOS.
Chris Hanson [Mon, 20 Jun 2011 08:09:29 +0000 (01:09 -0700)]
Set SIGNAL_HANDLERS_CAN_USE_SCHEME_STACK under MacOS.

13 years agoOn x86, align stack to 16 bytes for all calls to C.
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.

13 years agoMerge branch 'master' of ssh://git.sv.gnu.org/srv/git/mit-scheme
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

13 years agoSlight cleanup.
Joe Marshall [Fri, 17 Jun 2011 15:20:58 +0000 (08:20 -0700)]
Slight cleanup.

13 years agoAdd optional port argument to debugging utility procedure.
Joe Marshall [Fri, 17 Jun 2011 15:11:26 +0000 (08:11 -0700)]
Add optional port argument to debugging utility procedure.

13 years agoRevert unintended change.
Joe Marshall [Wed, 15 Jun 2011 04:44:35 +0000 (21:44 -0700)]
Revert unintended change.

13 years agoRevert unintended change.
Joe Marshall [Wed, 15 Jun 2011 04:33:54 +0000 (21:33 -0700)]
Revert unintended change.

13 years agoFix calls to tcsetpgrp to avoid infinite loops on ENOSYS.
Taylor R Campbell [Tue, 14 Jun 2011 03:28:23 +0000 (03:28 +0000)]
Fix calls to tcsetpgrp to avoid infinite loops on ENOSYS.

13 years agoAdd ability to expand named-let as pure function.
Joe Marshall [Mon, 13 Jun 2011 23:08:33 +0000 (16:08 -0700)]
Add ability to expand named-let as pure function.

13 years agoFix missing call to loop in buffer-layout-visible?
Joe Marshall [Mon, 13 Jun 2011 23:07:02 +0000 (16:07 -0700)]
Fix missing call to loop in buffer-layout-visible?

13 years agoRemove list-ref and list-set! definitions (duplicates).
Joe Marshall [Mon, 13 Jun 2011 23:04:27 +0000 (16:04 -0700)]
Remove list-ref and list-set! definitions (duplicates).

13 years agoTweak integrations.
Joe Marshall [Mon, 13 Jun 2011 23:02:13 +0000 (16:02 -0700)]
Tweak integrations.

13 years agoIntegrate DISCRIMINATE-PROCEDURE
Joe Marshall [Mon, 13 Jun 2011 22:46:36 +0000 (15:46 -0700)]
Integrate DISCRIMINATE-PROCEDURE