Matthew Flatt
ccfa41e22c
pkg: add missing flush to some status printouts
2019-01-30 16:40:19 -07:00
Matthew Flatt
4e39054b91
ffi/unsafe/objc: fix expand-time check of (system-type 'vm)
...
Don't make expansion depend on `(system-type 'vm)`, because expansions
should be VM-inpendent. For example, distribution builds use a single
expansion and finish up from there for different Racket
implementations.
2019-01-30 16:18:06 -07:00
Matthew Flatt
8b917039a2
zo-{parse,marshal}: round-trip all ".zo" formats
...
Although `raco dec` cannot yet usefully decompile Racket CS compiled
code, the underlying `zo-parse` and `zo-marshal` functions can now at
least read and re-write that format by just keeping the bytes for the
CS-specific part, and it can also now rouind-trip the machine- and
VM-independent format.
2019-01-29 19:35:04 -07:00
Matthew Flatt
b9a28b368f
expander: fix ".zo" mismatch errors to be exn:fail:read
2019-01-29 19:35:04 -07:00
Matthew Flatt
ed301f8a7c
cs: skip check for module as an extension
...
The "extension" module protocol predates the modern FFI and depends on
the C API. Since it's not supported on Racket CS, skip the check for
extension modules.
Skipping the check can reduce load time considerably. We should
consider depracting the extension protocol for traditional Racket.
2019-01-29 19:34:49 -07:00
Matthew Flatt
33d7840a93
cs: fill in missing command-line flags
2019-01-29 14:59:14 -07:00
Matthew Flatt
c628414d6c
avoid stderr output for cs build
2019-01-29 09:18:07 -07:00
Matthew Flatt
1cbc331532
unbreak no-places, no-futures build
2019-01-28 07:03:37 -07:00
Matthew Flatt
737ee9eba5
expander: fix flattener in machine-independent mode
2019-01-26 16:42:10 -07:00
Matthew Flatt
c9e3788d42
make effect of JIT_EAGER_JIT
more complete
2019-01-25 19:20:03 -07:00
Matthew Flatt
13cb9bfc06
show peak code bytes in GC logging output
2019-01-25 15:39:36 -07:00
Matthew Flatt
bd6cf17f92
cs: fix printing of symbols that start #%
2019-01-25 14:39:58 -07:00
Matthew Flatt
a4821716d9
cs: wrap command-line eval in #%top-interaction
2019-01-25 14:39:40 -07:00
Matthew Flatt
f8448c4795
raco exe: disable --embed-dlls
on RacketCS, for now
...
The RacketCS DLL currently doesn't work as embedded.
2019-01-25 12:42:17 -07:00
Matthew Flatt
7bc0364ec7
raco exe: fix --collects-dest
for non-default "compiled"
2019-01-25 12:36:55 -07:00
Matthew Flatt
a80952e05f
fix struct->vector
on some renamed procedures
...
The repair is to give the structure type a name symbol. The rest is
cleanup and tests.
Closes #2454
2019-01-25 12:04:43 -07:00
Matthew Flatt
a97b3739a3
cs: add conversion to exn:fail:contract:non-fixnum-result
2019-01-24 19:44:04 -07:00
Matthew Flatt
77e362b27c
io: fix 'update mode to not create a file
2019-01-24 19:30:29 -07:00
Matthew Flatt
6c435abaa7
docs: clarify that only 3m supports incremental GC
2019-01-24 19:22:53 -07:00
Matthew Flatt
74387d683b
update racket/HISTORY.txt for 7.2
...
Please merge to v7.2
2019-01-24 08:26:58 -07:00
Matthew Flatt
0ae5ff7c1e
fix typo in previous commit
2019-01-23 19:56:57 -07:00
Matthew Flatt
917a8f3aeb
cs: fix GRacket-startup process-global registrations
...
This repair avoids an extra bounce and confused menu bar for DrRacket
startup, for example.
2019-01-23 19:51:09 -07:00
Matthew Flatt
a38b9e5beb
adjust docs to explain better about 3m/CGC/CS
2019-01-23 18:36:14 -07:00
Matthew Flatt
8e5e5b9467
cs: improve procedure-result-arity
2019-01-22 17:34:49 -07:00
Matthew Flatt
3b99688275
regexp: repair extracting positions from string match
2019-01-22 10:32:36 -07:00
Matthew Flatt
82d8184ca9
cs: initial cut at procedure-result-arity
2019-01-22 10:32:36 -07:00
Matthew Flatt
602b797443
cs: eq? on flonums
...
Take advantage of a Chez Scheme patch that makes `eq?` work on
flonums.
2019-01-22 10:32:36 -07:00
Matthew Flatt
7bcf6afb62
cs: fix error message for vector*
and box*
operations
2019-01-22 10:32:36 -07:00
Matthew Flatt
1d7080fbb0
schemify: cover all too-early variable uses
...
Don't defer any too-early variable checks to Chez Scheme, because the
schmeify-inserted checks use the right names and include a reference
to the enclosing module.
2019-01-22 10:32:36 -07:00
Matthew Flatt
c47cbbf6c5
cs: add missing prompt-tag checks in mark lookup
2019-01-22 10:32:36 -07:00
Matthew Flatt
aed8d4f3e5
cs: left associativity for +
, *
, and variants
2019-01-22 10:32:36 -07:00
Matthew Flatt
fa448c5748
cs: adjust some core tests
2019-01-22 10:32:36 -07:00
Matthew Flatt
fdb98da0b1
cs: repair primitives incorrectly exported in unsafe form
2019-01-22 10:32:36 -07:00
Matthew Flatt
299d80e830
cs: rewrite some error messages from Chez Scheme
...
At least interpose on the value->string part of constructing an
error message and use the Racket-level error-value->string handler.
2019-01-22 10:32:36 -07:00
Ryan Culpepper
218ed485e1
fix {DYLD,LD}_LIBRARY_PATH for starter with embedded dll-dir
...
closes #2450
2019-01-21 15:01:24 +01:00
Matthew Flatt
725af574fd
io: fix some error corners of encoding conversion
2019-01-20 16:38:45 -07:00
Matthew Flatt
25a4f67912
fix char-numeric?
...
The `char-numeric?` function was missing some Unicode characters that
have the numeric property, because it was calculated from the wrong
field of UnicodeData.txt.
2019-01-20 15:04:42 -07:00
Matthew Flatt
c61e59fda5
makefile: add a both
target
...
Also, repair the `cs` target to not build packages before updating
them.
2019-01-20 10:34:30 -07:00
Matthew Flatt
cad79fe2b6
core tests: repair and improve summary after sandboxed tests
2019-01-20 10:08:50 -07:00
Matthew Flatt
55788b9ffa
adjust compiler/cm test for alternate "compiled" directory
2019-01-20 09:48:08 -07:00
Matthew Flatt
f1e9d16755
adjust sandbox limit for some tests
...
100MB isn't enough for the sandbox test (running in a sandbox) on
RacketCS.
2019-01-20 09:33:35 -07:00
Matthew Flatt
53d4cdd2c7
cs: unbreal seconds->date
2019-01-20 09:33:05 -07:00
Matthew Flatt
dee990ff18
cs: implement phantom bytes
...
Mostly just connect to the implementation as a Chez Scheme addition.
2019-01-20 09:04:26 -07:00
Matthew Flatt
dc047d8922
cs & thread: enforce custodian limit on immediate allocations
...
For large vector, string, and byte string allocations, check
for limits on the current custodian.
2019-01-19 17:24:05 -07:00
Matthew Flatt
e93088dd2c
cs: reject overlarge _array
type
...
x
2019-01-19 15:07:43 -07:00
Matthew Flatt
c55c922e44
cs: fix callbacks from arbitrary threads
...
The "wakeup" function needs to be retained from the place
that will run the callback.
2019-01-19 15:03:03 -07:00
Matthew Flatt
dc58fccc4c
cs: immutable string in seconds->date
result
2019-01-19 13:54:24 -07:00
Matthew Flatt
bf2fac74f2
io: use PWD
to initialize current-directory
2019-01-19 13:54:24 -07:00
Matthew Flatt
24121798bd
io: more repairs to subprocess
...
Fix backwards tratment of `force?` in `subprocess-kill`, and
check for subprocess as valid supplied group.
2019-01-19 13:54:24 -07:00
Matthew Flatt
b4cc2d849c
regexp: repair match results on large string
2019-01-19 13:54:24 -07:00