Commit Graph

42299 Commits

Author SHA1 Message Date
Matthew Flatt
c103184272 repairs for unboxing
Fix nested-loop handling with union find, and fix unboxing check
to properly account for a primitive's arity.

original commit: af2f8784d96f09624b97476fb7b674a77097f9d0
2020-06-04 09:18:53 -06:00
Sam Tobin-Hochstadt
0938ae8e33 Print random state in datum-intern stress test. 2020-06-04 10:52:09 -04:00
Matthew Flatt
c9f2d1e156 i3 repairs related to fp unboxing
original commit: 0f33056b6503013237b26c09c2e9baba4377a750
2020-06-03 16:29:26 -06:00
Matthew Flatt
a1def58a46 test corrections
original commit: df411ac716894d9354448d9b53ab96ec165b33dd
2020-06-03 15:27:07 -06:00
Matthew Flatt
6d65be6234 fix places where a lambda name was fumbled
original commit: 7fc5a6c5c6ce9f7979ca88e71c79521b5f5ad408
2020-06-03 11:08:58 -06:00
Paulo Matos
31c5644cf5
Consolidate current racket-ci images into a single one (#3230)
This simplifies jobs (like PR jobs) that have to build and test in a
single container and cannot choose between build or test images.
2020-06-03 18:34:20 +02:00
Matthew Flatt
f508bb25ab cs & threads: fix replace-evt leading to choice-evt
Closes #3229
2020-06-03 09:48:48 -06:00
Matthew Flatt
b53e6a990c fix broken use of state in cp0 for single-value and names
Preinfo recoreds were mutated under the incorrect assumption that they
were specific to a `lambda` form, which is not true, especially after
some inlining.

original commit: 489b4c732d7359b1c7c4558d41d5e6ba3a9abafa
2020-06-03 06:12:29 -06:00
Robby Findler
8908496ba1 tighten promised contract of denominator 2020-06-02 17:57:48 -05:00
Sam Tobin-Hochstadt
8b8e3913a8 Fix snapshot paths 2020-06-02 13:44:10 -04:00
Sam Tobin-Hochstadt
257eb13e29 use new bucket for ci snapshots 2020-06-02 12:04:41 -04:00
Matthew Flatt
e496805f82 makefile: add win32-also-cs, etc. 2020-06-02 08:28:10 -06:00
Matthew Flatt
774bfd9139 windows: repair command parsing, especially when building with MinGW
Related #3277
2020-06-02 08:05:08 -06:00
Matthew Flatt
606a8c52aa doc correction: --skip-implies -> --update-implies
Also, clarify the interaction of implied packages with `--deps` and
`--update-deps`.
2020-06-01 19:06:29 -06:00
Matthew Flatt
17d60e479f unbreak 3m glib testing support 2020-06-01 14:22:10 -06:00
Matthew Flatt
3499e79377 cs: fix glib logging callback
Allow a NULL domain string.

Related to #3216
2020-06-01 14:14:43 -06:00
Matthew Flatt
11f4a0048b thread: fix scheduler's handling of async callbacks
If the callback takes too long to run, then a second copy was
scheduled --- which likely schedules a third copy, and so on. This
problem could lead DrRacket to get stuck in a GC cycle, for example.
2020-06-01 13:25:00 -06:00
Matthew Flatt
f3209ca63c fix fl comparison with more than inline-args-limit arguments
original commit: 0efbfb50b372009d0974edc01e6194179d7300ef
2020-06-01 06:59:03 -06:00
Matthew Flatt
43e2bc0327 unbreak Windows build
original commit: 999d4e9fc8b9cbeedc58b625f814a1db8172a259
2020-05-31 19:10:13 -06:00
Matthew Flatt
613155a317 doc: repair example in Inside 2020-05-31 17:17:17 -06:00
Matthew Flatt
d5024cf595 schemify: keep simple loop patterrns intact
In Schemify's lifting pass, avoid disturbing loop patterns that Chez
Scheme will recognize. Keeping the loops intact is helpful for
floating-point unboxing, where (currently) unbxoing is supported
across loop iterations but not across function boundaries in general.
2020-05-31 17:17:17 -06:00
Matthew Flatt
58282cbb5f correct GC problem with mark mode
The problem especially affects `enable-object-counts`, where mark mode
can update an old rtd instead of a copy that is already made.

original commit: 31e2df63894d39b005c6b9984745b44409198d02
2020-05-31 17:09:07 -06:00
Matthew Flatt
7768b09118 unbox local floating-point arithmetic
Avoid allocating a flonum object for floating-opint calculations
that are consumed only by other floating-point caculations.

For this first cut, unboxing applies only to fl+, fl-, fl*, fl/,
flabs, fl<, fl<=, fl=, fl>, fl>=, bytevector-ieee-double-[native-]ref,
and bytevector-ieee-double-[native-]set!. Local variables can be
unboxed in the same way as implicit temporaries, and loop arguments
can be unboxed, but values in a closure and function-call arguments
are always boxed.

arm32 support is mostly in place, but not yet right. ppc32 support is
not yet implemented.

This commit includes a small change that is incompatible with previous
Chez Scheme versions: `(fl= +nan.0)` (and similar for other
comparisons) produces true instead of false.

original commit: 36459e43f10705aa3e383376ca7d54cf2998b7ee
2020-05-31 17:08:38 -06:00
Paulo Matos
aa0cfd0557
Fix typo in comment 2020-05-30 08:42:01 +02:00
frogbird
f44877bf4b added in-list 2020-05-28 14:06:52 -05:00
frogbird
2cca55c38b moved up coerce-contract check 2020-05-28 14:05:00 -05:00
Paulo Matos
bb4317e545
Improve Windows CI Testing (#3220)
Build and Test 3m and CS under Windows 10

This improves testing considerably on Windows.
For both PRs and Pushes, build 3m and CS on Windows and run tests.
2020-05-28 14:19:50 +02:00
Sam Tobin-Hochstadt
72ef9f8b6b Avoid empty prototype list.
Related to github/codeql#3535.
2020-05-26 13:17:57 -04:00
Paulo Matos
6e4bbcb4b9
Non-split build/test workflow on Windows10 for push commits (#3218) 2020-05-26 19:06:31 +02:00
Paulo Matos
3657b096d6
Run CI jobs inside containers (#3134)
Also splits Linux and MacOS push workflows, since they cannot share a
matrix. Updates several checkout, upload/download-artifact actions to v2.
2020-05-26 17:53:58 +02:00
Matthew Flatt
e4485d1e11 doc: more notes on dynamic-require examples
Suggested by Shriram.
2020-05-25 07:49:15 -06:00
Sorawee Porncharoenwase
83d9e56296 doc: body-expr -> body 2020-05-24 14:22:38 -06:00
Matthew Flatt
406a67def6 cs: fix resolve-path to preserve directory separator
Closes #3212
2020-05-24 13:48:35 -06:00
Matthew Flatt
f0c79b6b16 doc: fix evaluation order for parameterize
Closes #3211
2020-05-24 13:23:23 -06:00
Matthew Flatt
f66fff1ca9 setup/xref: fix load-collections-xref for multple uses
When the result of `load-collections-xref` is used in multiple
document renderings (e.g., multiple calls to `render`), then an
intenal cache behaved the wrong way. Fixing the problem required an
extension to `scribble/xref`.
2020-05-24 11:05:53 -06:00
Matthew Flatt
462a4f5c37 adjust test to avoid port leaks 2020-05-24 07:38:56 -06:00
Matthew Flatt
9d8e048e04 unbreak test (that no longer has a timeout) 2020-05-24 07:21:43 -06:00
Matthew Flatt
2434bb3a0c avoid an unnecessary timeout in a test 2020-05-24 07:19:46 -06:00
Matthew Flatt
b297271a5c doc clarification on continuation-mark-set-first performance 2020-05-24 07:13:14 -06:00
Matthew Flatt
0473bd52f8 bc: fix use of fsemaphores in the main thread
Fix a locking mistake in the implementation of fsemaphores.
2020-05-23 19:21:56 -06:00
Sorawee Porncharoenwase
eba1798c8a doc: replace taint with dye pack 2020-05-23 15:02:56 -06:00
Matthew Flatt
3473a2eeb2 raco setup: accomodate arbitrary files names when checking dependencies 2020-05-23 14:30:06 -06:00
Matthew Flatt
75f287befd cp0: repair move of non-tail into 'effect context
Kent noticed the bug, where `make-nontail` used `ignored` where it
should have used `effect`. Also, Kent points out that `make-nontail`
can skip the `$values` wrapped in `effect` contexts in unsafe mode.

original commit: edd9ba3d656f3bd712e5e235b77225f756397077
2020-05-23 06:30:02 -06:00
Robby Findler
d590eee0c7 add more checking to the bst/c example 2020-05-22 20:57:25 -05:00
Robby Findler
cc9514c290 add missing argument to raise-syntax-error 2020-05-22 20:56:45 -05:00
Sam Tobin-Hochstadt
8b629a329b Mark a few more simple expressions as pure in the expander.
Related to #3204.
2020-05-22 13:57:54 -04:00
Bogdan Popa
617f9e9bd6 net/uri-codec: fix contracts for ->alist and ->alist fns
The behavior was already correct, but the contracts in the
documentation did not reflect it.
2020-05-22 10:30:36 -04:00
Paulo Matos
0bb8b735c7
Only rebuild docker images if changes are done in master branch (#3209) 2020-05-22 15:30:05 +02:00
Paulo Matos
35724362fa Fix GitHub Actions Workflow name 2020-05-22 14:58:38 +02:00
Paulo Matos
b1fedc5c38
Build Docker Images from GitHub Actions (#3206) 2020-05-22 14:47:53 +02:00