Commit Graph

761 Commits

Author SHA1 Message Date
Bob Burger
5de438ba7d Merge fdstart from mflatt
original commit: 40faa8c4b489c34da44ccaf269c7b807740f5396
2018-07-17 10:26:20 -04:00
Matthew Flatt
b6a71f1cf9 make bootfiles
original commit: 6cc34ce91d27914b2d5cb49ad53895c68adcbd83
2018-07-16 19:34:41 -06:00
Matthew Flatt
bda3657ad7 Merge branch 'fdstart' of github.com:mflatt/ChezScheme
original commit: d03d4eba23b7d01ee20a48bfcfddc35f34afc70a
2018-07-16 19:11:00 -06:00
Matthew Flatt
cb82cdcc83 Merge branch 'genid' of github.com:mflatt/ChezScheme
original commit: 53b38c5cf56ba225c8366c23f8141e52e23451c9
2018-07-16 19:10:23 -06:00
Matthew Flatt
295ee0dc82 Merge branch 'procloc' of github.com:mflatt/ChezScheme
original commit: 84394bd01eb6bfe950ef426f17c6529b6fb90e94
2018-07-16 19:09:25 -06:00
Matthew Flatt
6b05eebb8f Merge branch 'arity-wrapper' of github.com:mflatt/ChezScheme
original commit: 0fb796cbb3f9945fa153e85f46ec99c5b2f809bb
2018-07-16 19:08:00 -06:00
Matthew Flatt
3944947554 Merge branch 'gcbt' of github.com:mflatt/ChezScheme
original commit: 54714848fa6d7da0bdc964d809aee0806c64e31d
2018-07-16 19:03:18 -06:00
Matthew Flatt
489921b011 Merge branch 'cas' of github.com:mflatt/ChezScheme
original commit: c87d70d44496b566610a8c25649d5164305227e9
2018-07-16 19:02:11 -06:00
Matthew Flatt
35a60a06d9 Merge branch 'orderfnl' of github.com:mflatt/ChezScheme
original commit: ef4e637d99af094042e174c4e78eba57d8640ce4
2018-07-16 19:00:42 -06:00
Matthew Flatt
48228739fe add object-references to reflect GC's tracing of objects
The `object-references` function is intended to support debugging of
memory leaks by providing a mapping from each live object to the
object that retained it.

original commit: 61f6602b7e6c388c529f3c5995dcf71a7c42e005
2018-07-16 18:08:48 -06:00
Bob Burger
4ee5abdf0b update patch files
original commit: fb826e55ac9135c65c0bfcf86c861ed3215a30a4
2018-07-16 14:56:05 -04:00
Bob Burger
cd175b091c fixed typo & removed whitespace at end of lines in LOG
original commit: 329e8d4a277216143c2c7eb4dbe7f45c956d14e5
2018-07-16 11:04:15 -04:00
Matthew Flatt
3a422fabb2 update tests for "prefer closest binding name"
original commit: 0c7bb874a2357187e6012601b32ed354c0ff9ba9
2018-07-16 11:01:17 -04:00
Matthew Flatt
28c8ebaeff add make-arity-wrapper-procedure
A program can use `make-arity-wrapper-procedure` to synthesize a
function that reports a given arity mask (without calling `compile`).

In addition, `set-arity-wrapper-procedure!` suports modifying the
implementation of a synthesized procedure. Although similar
functionality could be achieved with `(lambda args (apply (unbox proc)
args))`, an arity wrapper procedure can dispatch to another procedure
without allocating a list for the arguments.

The interpreter now uses an internal variant of arity wrappers to
cooperate with `procedure-arity-mask`.

original commit: 5fede14302840b55edbeb7565e28d09350a4b2e9
2018-07-16 07:52:55 -06:00
Matthew Flatt
8fdf68f10a add box-cas! and vector-cas!
original commit: a416f68a7a02c777881f4848599deefb120d33ae
2018-07-16 07:51:32 -06:00
Matthew Flatt
067555c251 add load-compiled-from-port and Sregister_boot_file_fd
original commit: a0adfa18af879f90d746b0b3541b036016957324
2018-07-15 20:44:34 -06:00
Matthew Flatt
6dd593ed89 add current-generate-id
original commit: 1e4cff5631e9e6615528b60ebcf3c04a8f38e3a0
2018-07-15 20:22:15 -06:00
Matthew Flatt
9521af1518 add generate-procedure-source-information
original commit: b42213a65e75b29f51d29a77d258fa1ba8a336b0
2018-07-15 19:51:54 -06:00
Matthew Flatt
2ca43d6c6f add ordered guardians
Also, avoid quadratic time in GC for guardian chains.

original commit: a07c7e14b61862989777909ee63a2ec120c2ea47
2018-07-15 19:12:43 -06:00
dyb
ee967194d7 allx now runs all up to three (rather than two) times to eliminate
bootstrap failures after small changes like the recent change to
procedure names, so we don't have to rebuild the boot files as often.
  Mf-base

original commit: 94aaebe54807780791b8373017c979f59e6c45f1
2018-07-09 15:32:34 -07:00
R. Kent Dybvig
82257f1cbe Merge pull request #324 from mflatt/letname
prefer nearest binding name for procedures
original commit: d02fd343e3860b1e18bb481abe21e489dd2f17fc
2018-07-09 10:43:17 -07:00
R. Kent Dybvig
9b0664956e Merge branch 'master' into letname
original commit: 18ef2f99a66b4050fd434e644afc6ccf110b8ebf
2018-07-09 10:42:15 -07:00
dyb
9e7900e2f9 reworked the S_call_help/S_return CCHAIN handling to fix a bug in which
the signal handler could trip over the NULL jumpbuf in a CCHAIN record.
  schlib.c
remade boot files

cherry picked from cisco/ChezScheme#d8c2704031

original commit: f03e2535577df3e3b5d8ad7349c46d4c2e89b507
2018-07-02 07:43:23 -06:00
Andy Keep
c090b317bd allow s_ee_get_clipboard to use the pastebuffer on macOS even when X11 is not available.
expeditor.c

original commit: f8cf536720fe43d07ca83d284e5bd1733c97372a
2018-07-01 11:45:10 -04:00
Andy Keep
72719ccd71 Merge pull request #331 from Hyzeta/master
add an option `--disable-x11` to configure, which allows you to build Chez Scheme with X11 disabled
original commit: 68fe2d780c3b891bad493dd97457e3a2d4af88a3
2018-07-01 10:05:16 -04:00
820563b5b6 update log
original commit: e8059074dd0a81ed825e15b1d32fb385f8ec994b
2018-07-01 20:20:03 +08:00
da2799034e remove vscode-related file
original commit: f6d040b5c54f760c77eedde2fef26c27f59a0eba
2018-07-01 20:14:06 +08:00
d7dcda9637 add an option --disable-x11
original commit: ab43608f22dc68497577ab527c782507144ef0e4
2018-07-01 20:13:18 +08:00
Matthew Flatt
349f36e2a0 make bootfiles
original commit: e579a0abd365bbe68e4db50eac831c59ef4dc0bd
2018-06-22 12:45:58 -06:00
Matthew Flatt
3a2659968a prefer closest binding name for procedures
In some cases, such as

 (define g (let ([f (lambda (x) x)]) f))

the inner name `f` could get replaced by the outer name `g`.
Prefer the inner name so that macros can use a `let` wrapper
to reliably name a procedure.

cherry-picked from mflatt/ChezScheme#letname

original commit: fb75f08cfa9690f94ae2abaa237278b287367d68
2018-06-22 09:33:12 -06:00
Matthew Flatt
3f9da4af46 prefer closest binding name for procedures
In some cases, such as

 (define g (let ([f (lambda (x) x)]) f))

the inner name `f` could get replaced by the outer name `g`.
Prefer the inner name so that macros can use a `let` wrapper
to reliably name a procedure.

original commit: 9ae0f856b0f81610c6caea13a5bfdf3b135de5b0
2018-06-22 09:09:56 -06:00
Bob Burger
ad09be1a6a Updated some copyright years in csug
original commit: 6c738bdfde601b815c296f489697e61c314e4621
2018-06-21 13:44:05 -04:00
Bob Burger
81af193970 wininstall make workareas now builds boot files
original commit: 53ddbb37cc24dc1d0099478733d2d5a1263b353b
2018-06-21 09:25:31 -04:00
Bob Burger
3c7c397fff Updated csug socket code to match that in examples folder
original commit: 5bdf715809e5847dfa0807216bcc6d0dac2f10ea
2018-06-18 09:28:53 -04:00
Bob Burger
2f355b464e Avoid an occasional invalid memory violation on Windows in S_call_help
original commit: c2d2467d48eea145455124343c8819dfb683c39e
2018-06-15 16:42:09 -04:00
Matthew Flatt
49be8b2e3a x86_64: fix foreign-procedure & results that are not multiples of a word
Relevant to #320

original commit: 8143c414c078ec1a0898d7d25340668e855013f0
2018-06-15 13:59:34 -04:00
Bob Burger
8885445d6d Improved Unicode support for command-line arguments, environment variables, the C interface and error messages, and the Windows registry, DLL loading, and process creation
original commit: aa1c2c4ec95c286a12730ea75588a18dd9fb9d59
2018-06-14 14:24:15 -04:00
Bob Burger
5501a81a31 fix mats/foreign4.c compiler error when used in non-threaded systems
original commit: 778c79f6f6c4706b4072b46dc704712365421c16
2018-06-13 15:39:16 -04:00
Quentin Dufour
924708b5ef Use a hard link instead of a symbolic to fix temp root bug
original commit: afb265e3fb8d8547884c1e7ca154c963894f703b
2018-06-12 09:57:21 -04:00
Andy Keep
29a9931e9b Small fix to with-output-to-string documentation (thanks @jtaylor-us)
and usage (thanks @ocyzl---issue #280).

original commit: 78b3946d3747a87f1ee3de811170c671c0c2b0c5
2018-05-25 21:46:01 -04:00
Andy Keep
6b4ae1726b Merge pull request #299 from weinholt/gcc-8
- Double FMTBUFSIZE to fix compilation with gcc-8
original commit: 5850c5ec26a8c4d09282aa04cfc3149594ea371a
2018-05-22 23:54:36 -04:00
Andy Keep
b01e92fc4f Merge branch 'master' into gcc-8
original commit: 3fe77b72d97829294f9df3d87deae4649812885c
2018-05-22 23:50:11 -04:00
Andy Keep
f673aeb57e Small fixes to documentation.
Fixed typo in profile-dump-html index and corrected overfull box issue in pdf
version of docs.
  foreign.stex, system.stex

original commit: 3a3385c7d62326ba3d0d3220329dfcd3e3d0ac8e
2018-05-22 21:57:49 -04:00
Andy Keep
364413fda8 Merge pull request #308 from owaddell/owaddell/typos
fix a couple typos and some duplicate words in csug
original commit: 92b49b413ddaecda347570a6b30290fc5f46172f
2018-05-22 21:49:12 -04:00
Oscar Waddell
3a5a3ab751 fix duplicate words
original commit: 38ade9595fe9771a02b00e22a50cede215a6b9ce
2018-05-22 16:09:14 -04:00
Oscar Waddell
0fa4928592 fix typos
original commit: 014d199a83960f58df1fb2da4c4849b162fc59e1
2018-05-22 16:09:00 -04:00
R. Kent Dybvig
ced22b147e Merge pull request #306 from owaddell/owaddell/reject-invisible
Reject attempts to visit invisible library
original commit: 454cf722eff397d4c9e2afbe3da2fc6477ae61a0
2018-05-22 10:48:50 -07:00
Oscar Waddell
84352b6b7d add tests for some library-manager uses cases
original commit: 2e6bbc5148bdbcc0546652d8c6c94b89302da4ac
2018-05-21 17:13:18 -04:00
Oscar Waddell
0d829bbdfb reject attempts to visit invisible library
Libraries incorporated via compile-whole-program are, by default,
not visible to environment or eval, unless libs-visible? is true;
complain if we try to visit such libraries.

original commit: 220dca39d0cb482a1cff3f31b8a3197f8b5ee1bc
2018-05-21 17:13:18 -04:00
Oscar Waddell
c5e349cacb propagate enable-check-prelex-flags to separate-eval sub-process in tests
original commit: 760c3414e412ecb6708c890e32fdb8056be1e805
2018-05-21 12:03:30 -04:00