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
Matthew Flatt
74b34c210d
io: fix decoding in get-output-bytes
2019-01-19 13:54:24 -07:00
Matthew Flatt
09b3b2fb3c
io: fix file-stream?
to always return a boolean
2019-01-19 13:54:24 -07:00
Matthew Flatt
cd56b670ca
io: fix subprocess
group creation
2019-01-19 13:54:24 -07:00
Matthew Flatt
21712fecc9
cs: print results of -e
command-line expressions
...
Also, wrap an individual prompt around each evaluation.
2019-01-19 13:54:24 -07:00
Matthew Flatt
2fe2b7a8a7
cs: fix thread initial prompt and parameterization
...
The initial parameterization needs to be inside the initial prompt,
not outside.
2019-01-19 13:54:24 -07:00
Matthew Flatt
a2b1fbea3f
io: speed up read-line
a little
2019-01-19 13:54:24 -07:00
Robby Findler
962c7d4397
fix a bug in define/merge-cache
...
please include on the release branch
2019-01-18 21:08:36 +00:00
Jay McCarthy
7c08ded63b
Fixes #2440
2019-01-18 16:20:47 +00:00
Matthew Flatt
8d64a0ad50
adjust some tests for cs
...
Avoid some over-sensitive or non-applicable tests.
2019-01-18 07:55:41 -07:00
Matthew Flatt
422d5579b3
atan: exception on exact 0+1i or 0-1i, exact 0 on positive x
...
Change from treating exact 0+1i and 0-1i like the corresponding
inexact values.
Also, change from treating `(atan 0 x)` as exact 0 only when x is
exact. That's consistent with `angle` producing exact 0 for a positive
real number.
2019-01-17 20:08:49 -07:00
Matthew Flatt
f27c9330a5
magnitude: return +inf.0 for a complex with [+-]inf.0
...
... even if the oyther component is +nan.0. This change makes
`magnitude` consistent with the hypot() C-library function.
2019-01-17 19:58:39 -07:00
Matthew Flatt
4ccbd7fcad
doc: fill gaps in spec for expt
...
There's no good answer for `expt` in the vicinity of `(expt 0 0)`, and
I went in circles trying to redecide how things should work. Given
that RnRS defines `(expt 0 0)` to be 1, though, the status quo seems
as good as anything.
2019-01-17 19:58:39 -07:00
Matthew Flatt
f5babc4246
cs: more divide-by-zero exception conversions
2019-01-17 19:58:39 -07:00
Matthew Flatt
22b721be8a
io: require absolute path for current-load-relative-directory
2019-01-16 21:29:01 -07:00
Matthew Flatt
a044c2ad05
io: conform to print-vector-length
and print-struct
2019-01-16 21:15:34 -07:00
Matthew Flatt
11f12d69bd
cs: fix hashing on vector cycles
2019-01-16 20:50:41 -07:00
Matthew Flatt
b5cce5fcab
cs: adjust some tests to pass
2019-01-16 20:41:04 -07:00
Matthew Flatt
cddcd57267
regexp: fix O(size) behavior for large strings
2019-01-16 20:39:23 -07:00
Matthew Flatt
6c8ba483a1
regexp: fix consumption of bytes from a port
2019-01-16 20:39:19 -07:00
Matthew Flatt
b19671f0f5
regexp: fix matching on port given prefix bytes
2019-01-16 18:23:57 -07:00
Matthew Flatt
2840347cb8
fix submodule tests to not rely on order
2019-01-16 16:24:49 -07:00
Matthew Flatt
be19996953
read and string->number: fix large-exponent cutoff and # in fractions
...
The cutoff point for large-magnitude exponents (forcing a +inf,0 or
0.0 result) was wrong for bases below 10, and its did not take into
account the mantissa magnitude for some number forms.
Also, change the parsing of numbers with both `/` and `#` to be more
consistent. A `#` anywhere in the number should trigger an inexact
teratment 0 in the denominator (so inifnity or not-a-number instead of
divide-by-zero), even if `#` is only in the numerator. Meanwhile,
setting `read-decimal-as-inexact` to #f should count `#`s as `0`s and
not trigger inexact treatment.
2019-01-16 14:50:02 -07:00
Matthew Flatt
345339990f
cs: repair some number-test failures
2019-01-15 20:30:53 -07:00
Matthew Flatt
349207d19f
cs: repair procedure name, arity, and error-message support
...
The "procs.rktl" tests now pass.
2019-01-15 20:30:53 -07:00
Gustavo Massaccesi
c5a74c173e
fix typos in error messages
2019-01-15 15:52:48 -03:00
Matthew Flatt
0aa2fdc476
cs: fix Mac OS install to include "Starter.app"
2019-01-14 20:04:44 -07:00
Matthew Flatt
32b97e2536
makefile: fix creation of racket/src/build
2019-01-14 18:45:17 -07:00
Matthew Flatt
95367b4b52
schmify: add some unsafe conversions
...
Explicitly substitute unsafe some non-primitives, which won't be
automatically substitued in Chez Scheme by compiling in unsafe mode.
2019-01-14 18:38:46 -07:00
Matthew Flatt
94a4f6d703
io: streamline bytes output port
2019-01-14 18:16:27 -07:00
Matthew Flatt
0e6c441f37
thread: break-suspend as a faster virtual register
...
Slightly speeds up atomic mode for io.
2019-01-14 18:03:21 -07:00
Matthew Flatt
ad2c0624b5
cs: fix struct proc names from make-struct-type
2019-01-14 14:53:49 -07:00
Matthew Flatt
40bc59d512
schemify: fix handling of #<void> as 'inferred-name
...
It's not supposed to suppress a srcloc-based name.
2019-01-14 09:07:42 -07:00
Matthew Flatt
8b9525f1c9
io: fix udp-set-receive-buffer-size!
error reporting
2019-01-14 08:56:57 -07:00
Spencer Florence
75550e79cc
fix finding first argument of make-pipe when more than one argument is provided
2019-01-14 08:45:47 -06:00
Matthew Flatt
2fe5f40dd7
io: fix logger bugs
2019-01-13 21:04:15 -07:00
Matthew Flatt
0602c7e21b
cs: fix prop:chaperone-unsafe-undefined
-triggered error
2019-01-13 18:13:14 -07:00
Matthew Flatt
9b2431e670
repair some submodule tests
...
Fix tests that depended on a particular sorting of module
name or compile-file directory.
2019-01-13 17:40:22 -07:00
Matthew Flatt
4c53d3c380
cs: add missing unsafe-struct*-cas!
2019-01-13 09:42:50 -07:00
Matthew Flatt
f287f21ab2
cs: fix unsafe-[us]16vector-{set,set!}
2019-01-13 09:38:51 -07:00
Matthew Flatt
e9593749eb
fix procedure names on syntax-source
and related
2019-01-13 09:26:41 -07:00
Matthew Flatt
df93054d18
cs: dsiable srclocs for Rumble in stack trace by default
2019-01-13 08:41:53 -07:00
Matthew Flatt
6b52f9eedb
cs: fill in procedure-name and srcloc interaction
...
Infer procedure names based on source locations, and suppress a
procedure name when it has #<void> for its 'inferred-name property.
Threading this information through the Chez Scheme layer involves a
hack, where a name starting with "[" indicates either "no name" or
"inferred from path".
2019-01-13 08:41:53 -07:00
Matthew Flatt
3b76e44730
cs: path adjustments on write and read of compiled code
...
Use `current-write-relative-directory`, etc.
2019-01-13 08:41:53 -07:00
Matthew Flatt
56846a9ca2
cs: guard against cyclic quoted constants
...
But only mutable hash tables and prefabs are relevant, since
no other serializable data has cycles and can get through
`datum->syntax`.
2019-01-12 14:25:58 -07:00
Matthew Flatt
a039248b9f
cs: unbreak unsafe-get-place-table
2019-01-11 20:10:43 -07:00
Matthew Flatt
11120977b8
cs: add PLT_LINKLET_SHOW_CP0
2019-01-11 20:09:17 -07:00
Ben Greenman
bec6b55671
doc: small collapsible edits ( #2428 )
...
- briefly explain "node" and "leaf"
- cite collapsible & eidetic papers
- use the collapsible `deftech` in 2 places
- fix a typo, rename a free variable
- add links to 'tree node' and 'tree leaves'
2019-01-10 23:13:22 -05:00
Winny
7edd07fe83
Change stream-take description from "list" to "stream" ( #2449 )
2019-01-10 11:19:10 -05:00