Commit Graph

40432 Commits

Author SHA1 Message Date
Matthew Flatt
d1c65f7067 reference: repair for module->exports et al.
Update documentation for some functions that accept a module path
index in addition to a module path or resolved module path.
2019-11-05 19:49:38 -07:00
Matthew Flatt
ebd7cec834 expander: fix higher-phase variable/syntax provide tracking
The check for whether a provided identifier is syntax or a variable
cuold incorrectly inspect a module that is not yet prepared for the
relevant phase.
2019-11-05 19:36:41 -07:00
Matthew Flatt
b0e5cc8c35 build guide: fix typesetting for some flags 2019-11-05 19:36:41 -07:00
Ben Greenman
0c6f50d57d rebuild 'build.md' 2019-11-03 14:45:20 -05:00
Ben Greenman
6779995485 doc: racket-build-guide, fix small typos 2019-11-03 09:56:18 -05:00
Ben Greenman
5651b36b65 remove root CONTRIBUTING.md
There's already a file `.github/CONTRIBUTING.md`
2019-11-03 09:45:35 -05:00
Ben Greenman
3628df837a doc: partially revert eb20dc44
Bring back the exists gotcha, but not the references to the
`racket/exists' language.
2019-11-03 09:41:35 -05:00
Matthew Flatt
3f94fab01b README tweak 2019-11-03 06:13:16 -07:00
David K. Storrs
68aac8caf0 Added a 'CONTRIBUTING.md' file (#2523)
* Added a 'CONTRIBUTING.md' file

* Update CONTRIBUTING.md

Added link to blog post based on euhmeuh's suggestion

Co-Authored-By: dstorrs <david.storrs@gmail.com>

* propose shorter guide

* add link "About Pull Requests"

Add a link to a GitHub guide on pull requests (thanks to @spdegabrielle)

Remove some text & links to make the un-rendered file easier to read. The missing links are easy to find from the remaining ones.
2019-11-02 23:04:27 -04:00
Ben Greenman
d08e9134ed doc: lambda, move margin-note up, close #2863 2019-11-02 23:14:12 -04:00
Ben Greenman
fd34039c8d doc: replace keyword with argument name 2019-11-02 22:03:34 -04:00
Stephen De Gabrielle
c19e7b65cf changed get-lib-dirs to get-lib-search-dirs (#2625)
* changed get-lib-dirs to get-lib-search-dirs

@racket[get-lib-dirs] does not exist -replaced with get-lib-search-dirs
https://docs.racket-lang.org/search/index.html?q=get-lib-

https://docs.racket-lang.org/raco/dirs.html?q=get-lib-dirs#%28def._%28%28lib._setup%2Fdirs..rkt%29._get-lib-search-dirs%29%29

* Update libs.scrbl

corrected

* Update libs.scrbl

removed misconception
edited for clarity

* typo

* clarity
2019-11-02 21:41:39 -04:00
Sage Gerard
eb20dc4463 Delete racket/exists paragraph (#2873)
* Delete racket/exists paragraph

* Remove @ctc-link for exists-gotcha
2019-11-02 21:36:14 -04:00
Jay McCarthy
2edea7db0d Fix typo 2019-11-02 13:45:16 -04:00
Sorawee Porncharoenwase
73250ae23e only do it for attributes 2019-11-02 10:52:10 -04:00
Sorawee Porncharoenwase
45968e8a3c Fix #2885: convert number entity to character 2019-11-02 10:52:10 -04:00
Matthew Flatt
e8f5501e29 module->exports: add information about defined name
Include the defined name (in addition to the provided name) in the
result of `module->exports` and `module-compiled-exports` --- but for
backward compatibility, only if the new optional `verbosity` argument
is 'defined-names.
2019-10-31 19:35:29 -06:00
Sam Tobin-Hochstadt
e82c60a0e1 Use racketvalfont to avoid LaTeX problem.
Error reported by @rfindler.
2019-10-31 14:06:52 -04:00
Matthew Flatt
6073602c8e udp test: avoid 0 as TTL, because that's not always allowed by the OS 2019-10-30 10:07:24 -06:00
Jay McCarthy
87551667c9 increase timeout 2019-10-30 11:06:48 -04:00
Alex Muscar
966399dec6 Fix gen:dict methods for alists with duplicate keys (#2846)
* Fix gen:dict methods for alists with duplicate keys

This fixes https://github.com/racket/racket/issues/2803.

Note that while this works, the implementation is not particlarly fast.
Especially for iterators.

* Fix tabs

* Make code more efficient

* Fix function definition order

* Import set library

* Preserve order

* Use immutable hash sets

* Remove unused import and remove duplicate checks

* Fix syntax error
2019-10-30 11:04:40 -04:00
Matthew Flatt
5e0be0d672 update "base" version number 2019-10-29 19:23:05 -06:00
Matthew Flatt
c5a7d0e38a finish udp-ttl and udp-set-ttl!
Add tests, documentation, and fixes for rktio and Racket CS.
2019-10-29 18:34:03 -06:00
David K. Storrs
24ec75fd03 added udp-ttl and udp-set-ttl! 2019-10-29 15:35:58 -04:00
Matthew Flatt
c34538c58f cs & thread: fix sync shortcut and handle-evt
A shortcut meant to speed up `sync` on values such as semaphores
caused `handle-evt` handlers to sometimes not run in tail position.
2019-10-28 19:05:31 -06:00
Jay McCarthy
6510ebb565 Turn off demod tests for CS 2019-10-28 16:37:48 -04:00
Matthew Flatt
7d58a92af1 unbreak benchmark starters 2019-10-28 14:02:27 -06:00
Matthew Flatt
a81f9c1c6d /: repair for complex inexact
For a division c+di, when c is less than d, and when (/ d c) produces
infinity, then the sign on the imaginary part of the result was
backwards. For example, `(/ -1.0e-9-1.0e+300i)` produced `-0.0-0.0i`
instead of `-0.0+0.0i`.
2019-10-28 14:02:27 -06:00
Fred Fu
1439fc0e85 fix a typo in comments (#2876) 2019-10-28 10:25:09 -04:00
Sam Tobin-Hochstadt
44895a0027
Relicense this repository under Apache 2.0/MIT. (#2871)
Note: the traditional Racket executable continues to incorporate
LGPLv3 code and thus modifications to it must be released under
that license. However, all Racket code in this repository, as well
as the Racket-on-Chez excutable, are more permissively licensed.

Thanks in particular to @otherjoel and @zyrolasting for their work
on this project.
2019-10-28 09:17:56 -04:00
Dan Holtby
42c897a75f fix for (setup) when (current-library-collection-links) contains hash tables 2019-10-28 06:06:59 -06:00
Matthew Flatt
238cd527f4 revert accidental change to setup/main 2019-10-27 13:49:29 -06:00
Matthew Flatt
2a9a901caa benchmarks: allow specification of alternate executable 2019-10-27 10:38:45 -06:00
Matthew Flatt
0965e5ad6c cs: fix internal procedure-arity-includes/c macro
Repair to 5345fd294c.
2019-10-27 10:38:45 -06:00
Matthew Flatt
bee4a92251 cs-bootstrap: updates to work with recent Chez Scheme changes 2019-10-27 10:38:45 -06:00
Matthew Flatt
47f47d187a guide: correct and improve information on packages
Update the "More Libraries" section.
2019-10-24 15:00:16 -04:00
Matthew Flatt
0263b50c17 reference: add examples for in-directory 2019-10-24 15:00:16 -04:00
Sam Tobin-Hochstadt
01f33de537 Revert "provide example for in-directory"
This reverts commit 348cd7976f.
2019-10-24 15:00:16 -04:00
Sam Tobin-Hochstadt
460ca285b9 Revert "update packges sources"
This reverts commit 6fe8f635e4.
2019-10-24 15:00:16 -04:00
Matthew Flatt
f26181dd84 racket/date: add correctly spelled scaliger functions 2019-10-24 15:00:16 -04:00
Matthew Flatt
b1cae06897 openssl: use OPENSSL_sk_num when no sk_num, etc.
OpenSSL 1.1 adds `OPENSSL_` to the front of some names.
2019-10-24 15:00:16 -04:00
Sam Tobin-Hochstadt
2f8207e7c9 Revert "scalinger -> scaliger"
This reverts commit de0fbf2648.
2019-10-24 14:58:59 -04:00
Sam Tobin-Hochstadt
8f579af413 Revert "Handle symbol changes between openssl-1.0 and 1.1"
This reverts commit 822938d9ae.
2019-10-24 14:58:59 -04:00
Matthew Flatt
fb38db3b84 cs: more direct application of continuations 2019-10-24 07:33:24 -06:00
Matthew Flatt
5345fd294c cs: faster internal procedure-arity-includes/c 2019-10-24 06:25:20 -06:00
Matthew Flatt
487277ad02 cs & thread: fix use of custodian weak reference
Commit 77023aeaba made the reference from a custodian-managed
value to the custodian weak, and that could cause a crash in
certain shutdown cases.

Relevant to #2867
2019-10-23 17:32:57 -06:00
Matthew Flatt
79c27ece6f cs: use improved Chez Scheme call/cc
Just bumping the version number here to make sure the improved
`call/cc` is used. The improvement saves about 10% on ctak by avoiding
a layer of closure allocation.
2019-10-23 17:32:57 -06:00
Matthew Flatt
5bce9e822f cs: improve composable continuation
Refactor to move some composable-continuation support out of the
way of prompts, and add a shortcut for simple composition cases.

Also, fix stack traces with continuation barriers and composable
composition, which could show sections of a trace duplicated.
2019-10-23 17:32:57 -06:00
Sam Tobin-Hochstadt
f01a561c47 Small typos in guide. 2019-10-21 21:27:10 -04:00
Sam Tobin-Hochstadt
b55cc89166 Revert "Guide proofread" and "Guide typos".
This reverts commit 75d5b42640.
This reverts commit 9835bc2f7b.

The author of these commits wishes not to relicense their changes.
2019-10-21 21:26:20 -04:00