Commit Graph

42125 Commits

Author SHA1 Message Date
Sorawee Porncharoenwase
6e6166ef95 Fixes #2264: remove incorrect description of the body metavariable 2020-05-07 07:20:14 -04:00
Sorawee Porncharoenwase
b0cb1adda6 Fixes #2219: correct the contract for rem
I didn't use the suggested fix by either @Syntacticlosure or @mfelleisen
because there's another usage of `not-has?` which is correct already, so
changing `not-has?` would break it.
2020-05-07 07:19:10 -04:00
Sorawee Porncharoenwase
f6f5cafed1 Fixes #1858: document list* as an alias of list-rest 2020-05-07 07:16:15 -04:00
Sam Tobin-Hochstadt
74600748d9 Specify log file location 2020-05-07 06:45:08 -04:00
Sam Tobin-Hochstadt
97e66c86f5 Don't use Racket as installed by setup-racket in building 2020-05-07 06:43:50 -04:00
Sam Tobin-Hochstadt
5befc7f2ec Build RacketCS Snapshots on GHA. 2020-05-06 22:18:37 -04:00
Matthew Flatt
0d225f5505 x86_64: fix popcount without POPCNT
Commit 68b2f597ec moved the argument from RDI to RCX, but the
`popcount-slow` function wasn't updated.

Related to racket/racket#3150

original commit: 80ffa4eea197a885cd647fcfb76dda720b64781d
2020-05-06 12:18:36 -06:00
Sam Tobin-Hochstadt
2ae63d957d
Update README.md 2020-05-06 10:20:25 -04:00
yurkobb
76d8a0ef44
docs: for/stream: mention multiple values (#3147)
* docs: for/stream: mention multiple values

A minimal improvement to the for/stream docs mentioning it doesn't support multiple values per iteration.

* docs: for/stream: mention stream/values package

* docs: for/stream: remove mention of external packages

* docs: for/stream: improve spelling, fix link to multiple values
2020-05-06 10:17:28 -04:00
Paulo Matos
ec93652cf9
Remove gitlab CI (#3160)
After #3159 is merged, gitlab CI files can be removed.
2020-05-06 14:24:28 +02:00
Matthew Flatt
1bef5a6927 openssl: defer erorr logging when no x509 root sources are not found
Instead of logging an error when the `openssl` module is loaded, defer
a complaint until procedures that would depend on the configuration is
called. Otherwise, errors can get printed in programs that depend on
the `openssl` library but do not always need OpenSSL support at run
time.
2020-05-05 07:05:28 -06:00
Matthew Flatt
83f27f637b openssl: ssl-dh4096-param-path -> ssl-dh4096-param-bytes
This is a backward-incompatible changed, but no packages currently
registered at pkgs.racket-lang.org refer to `ssl-dh4096-param-path`.

Providing `ssl-dh4096-param-bytes`, instead, avoids carrying along an
extra file with any stand-alone executable that depends on `openssl`.
2020-05-05 07:05:15 -06:00
Paulo Matos
5f6269cb19
Do not run static analysis on PRs 2020-05-05 14:42:02 +02:00
Paulo Matos
e64c680b60
Move static analysis jobs to their own CI file to split workflows (#3157)
Move jobs doing static analysis to its own workflow. 

RacketCGC is needed so perform a speed build (takes 3mins) before the static analysis on each job that requires it.
2020-05-05 14:40:01 +02:00
Matthew Turland
3934dfd760 Fix typo in quote example from section 2.4.1 2020-05-05 07:42:13 -04:00
Paulo Matos
65a1aa9cb3
Only create snapshots when action is ran from main repo (#3152) 2020-05-05 11:14:04 +02:00
Matthew Flatt
f57aa0b90f improve docs and raco distribute about stand-alone executables
The `--orig-exe` flag is more useful than the documentation suggested,
and `raco distribute` now treats those executables better.
2020-05-04 15:10:15 -06:00
Sam Tobin-Hochstadt
850aefe8fe Add more packages to testing Docker image. 2020-05-04 16:43:38 -04:00
Matthew Flatt
126e8dacb5 add regression test for futures
Tries to provoke the crash fixed by c59f72f101.

Related to #3145
2020-05-04 08:22:39 -06:00
Matthew Flatt
cf4691ee87 cs: fix allocation mode for _string/utf-16
Closes #3153
2020-05-04 07:18:05 -06:00
Matthew Flatt
6feb9c1095 makefile: add SERVER_URL_SCHEME to support https 2020-05-03 16:09:55 -06:00
Matthew Flatt
cdc32cdfeb cs: repair build via source distribution 2020-05-03 13:41:04 -06:00
Matthew Flatt
17a5711dbb makefile: fix addition of --disable-lib
When potentially adding the `--disable-lib` flag, don't drop existing
extra configure flags. Specifically, the `--enable-crossany` flag
from distro-build could get lost, which breaks a soutrce distribution
with built packages.
2020-05-03 09:40:36 -06:00
Sorawee Porncharoenwase
9465cbd7e6 Update documentation contribution guide 2020-05-03 07:57:22 -06:00
Matthew Flatt
c59f72f101 bc: reserve GC parking spaces for place-main thread
Don't try to park values when allocating a weak box or pair in a
future thread, since that creates a race on the parking spaces. A
future thread can't run a GC, so it's doesn't need to park.

Touching a future in a future allocates a weak box, so this bug could
have been responsible for many crahses.

Related to #3145
2020-05-02 08:45:14 -06:00
Sam Tobin-Hochstadt
303b410bc7 Recent GMP is under LGPL v3.
Update GMP license statment following 392dc33ceb which comes from
a recent GMP version.

This does not affect the overall license situation of Racket BC,
which includes other LGPL v3 code, or of Racket CS, which does not
use GMP.
2020-05-01 22:26:25 -04:00
Matthew Flatt
61cefe693a cs: support raco exe --embed-dlls on Windows
Uses a MemoryModule PR by @DaLynX to fix a setjmp/longjmp
interaction with embedded DLLs.
2020-05-01 20:07:24 -06:00
Matthew Flatt
fffdeeddd2 move known-done subprocess from custodian
The `call-with-deep-time-limit` function in `racket/sandbox` expects a
subprocess to be removed from its custodian when the subprocess is
done. CS wasn't doing that at all, leaving custodian removal to a
finalizer. BC was doing delaying a remove until `subprocess-status` is
used (which happened to work for existing uses of
`call-with-deep-time-limit`, apparently.)

Relevant to #3140
2020-05-01 11:17:49 -06:00
Sam Tobin-Hochstadt
ea43027252 actions/checkout v2 avoids the detached head problem 2020-04-30 10:18:15 -04:00
Sam Tobin-Hochstadt
49153de07d Update .github/workflows/ci-snapshot.yml 2020-04-30 10:10:05 -04:00
Paulo Matos
8c8c41e379 Move snapshot generation to different workflow
Only run snapshot generation on push events to master.
2020-04-30 10:10:05 -04:00
Paulo Matos
c724cd130e
Remove pull_request from on tag for ci-push
For debug reasons I added pull_request to the on tag in #3119 but forgot to remove it and it went in cd096e0e6b
2020-04-30 14:43:03 +02:00
Paulo Matos
0eb9a2a1c4
Rename installer creation job
Now it is also generating CS snapshots
2020-04-30 14:39:33 +02:00
Sam Tobin-Hochstadt
eea9a851e3 Remove trailing whitespace. 2020-04-29 17:31:40 -04:00
Sam Tobin-Hochstadt
3ebcf80026 Improve CI snapshot creation, and build packages and Racket CS. 2020-04-29 17:31:27 -04:00
Matthew Flatt
d358a4135b cs: prinitng for unsafe-undefined
Although `unsafe-undefined` should never arrive at a printing
function, handle it a little better if it smoehow does.
2020-04-29 09:34:25 -06:00
Matthew Flatt
1646d294fd schemify: fix potential "optimization" of too-early use
The part of schemify that checks for simple bindings was not keeping
track of when it should be checking for only simple procedure forms.
2020-04-29 08:55:17 -06:00
Matthew Flatt
58371b95d4 ffi/unsafe: add malloc-mode option to _list and _vector 2020-04-28 16:19:33 -06:00
Matthew Flatt
d7f0809490 cs: react to (collection-garbage 'incremental)
When incremental mode is enabled, adjust garbage collection to avoid
promoting objects from the next-to-oldest generation into the oldest
generation. This change produces a good approximation to incremental
collection for game-like programs (although probably not server-like
programs with large, temporary jobs).
2020-04-28 13:25:54 -06:00
Georges Dupéron
ee73a550aa Changed "Report a Bug" url in the documentation 2020-04-28 12:31:39 -04:00
Matthew Flatt
c7f4261611 fix ephemerons when dirty and reachable during counting
Part of the repair makes it ok to re-sweep an ephemeron, which is more
consistent with evertything else.

original commit: 2c11bb39129b1492108390a704eb08deaa5d6bcc
2020-04-28 09:02:44 -06:00
Matthew Flatt
a4b5fe5b78 cs & regexp: fix incorrect request for extra bytes
When trying to match "\r\n" on an input port, for example, don't
insist on peeking a second byte if the first one already isn't "\r".

Closes #3132
2020-04-27 15:00:14 -06:00
Sam Tobin-Hochstadt
4662141ffc Built Racket BC installer in CI, upload to S3. 2020-04-27 13:02:59 -04:00
Paulo Matos
689a3f8abc Merge pull request #22 from pmatos/actions-ci
Move to GitHub Actions CI
original commit: 548af4b5bcc7d1201d5aabfdeb477248a65b86f2
2020-04-27 16:11:11 +02:00
Matthew Flatt
a9e37d0548 sync simpler handling of tc U, V, W, X, Y
They apparently don't need to be preserved across a GC.

original commit: 830d176bdaf0c19c44e5f4037da0de621d3d9957
2020-04-26 20:13:54 -06:00
Matthew Flatt
8eab18465c update "racket/HISTORY.txt" for v7.7 2020-04-26 08:47:05 -06:00
Paulo Matos
ea2454ec7b Remove broken archs
original commit: 443c99decdffb016b6b048904f854bd183b66efc
2020-04-26 14:33:29 +02:00
Paulo Matos
63239e5d78 Fix libs
original commit: 257e00f48932fa02cf3f507adf482345edc2adc4
2020-04-26 14:15:49 +02:00
Paulo Matos
00bb57300b Install libs
original commit: 716f0eec0d1d00905e92237401aaa5bf524a4a47
2020-04-26 14:12:15 +02:00
Paulo Matos
d2fc1f4235 Fix syntax
original commit: fb2afff12c3924889a8dab383fb655f7fe726bba
2020-04-26 13:55:09 +02:00