Robby Findler
f24273d7ef
bring down below 102 columns
2017-10-15 21:25:46 -05:00
Robby Findler
4354488453
add some more popular keys, based on TR's contract generation
2017-10-15 17:50:05 -05:00
Alexis King
00d438cfbe
Make splicing-syntax-parameterize recur into module* without a mod-path
2017-10-15 15:53:59 -06:00
Matthew Flatt
0f425f2029
fix "subprocess.rktl" test to run in quiet mode
2017-10-12 17:45:04 -06:00
Matthew Flatt
402bf2173d
subprocess: fix problems with adding subprocess to a group
2017-10-12 14:40:23 -06:00
Matthew Flatt
1cc55f30fe
subprocess: support adding to an existing subprocess group
2017-10-12 12:37:21 -06:00
Matthew Flatt
9f5e9c8db3
fix documented contract for {absolute,relative,complete}-path?
...
They accept any string, instead of just path strings.
2017-10-12 12:37:20 -06:00
Matthew Flatt
afc5f919f1
ffi/unsafe/schedule: expose some scheduler internals
...
These internals are needed for `racket/gui`, which currently
accesses them via C functions.
2017-10-12 12:37:15 -06:00
Vincent St-Amour
fadf0d4a7d
Post-release version for the v6.11 release
2017-10-12 13:15:45 -05:00
Justin Slepak
3935824922
Fix bug in hash-table key-value match pattern ( #1532 )
...
Match pattern allowed `(hash-table)' to match on non-empty hashes
2017-10-12 01:11:00 -04:00
Andrew Gwozdziewycz
0130662581
Update syntax/readerr documentation to match code. ( #1838 )
...
* Update syntax/readerr documentation to match code.
This change simply updates the documentation to match the contract that's actually enforced on `raise-read-eof-error` and `raise-read-error`.
Fixes #1837 .
* Fix additional typo noticed by @bennn
2017-10-10 15:24:08 -04:00
Robby Findler
404539c894
only do the in-tail-position contract elimination with chaperone (or flat)
...
contracts
closes #1829
2017-10-06 13:30:05 -05:00
Robby Findler
ce30687ec6
fix construction of test case failure message
2017-10-06 13:30:00 -05:00
Matthew Flatt
c7c8f6da7e
fix expand
corner to be consistent with eval
...
Repairs a problem reported by Laurent Orseau, where running the
following program with errotrace enabled reports an error:
#lang racket/base
(require racket/class)
(new object%)
(define-namespace-anchor nsa)
(define ns (namespace-anchor->namespace nsa))
(eval '(new object%) ns)
I haven't been able to make a standalone test, yet, but I'll keep
trying.
2017-10-05 10:41:19 -06:00
Matthew Butterick
43caae97b7
Doc typo
2017-10-04 21:14:12 -04:00
Daniel Feltey
3b56866fc1
Fix object/c contract-stronger?
2017-10-02 15:12:17 -05:00
Ben Greenman
c02d91d174
contract-stronger: swap order of cases
...
Check that the input to the default `contract-stronger?` is
not an impersonator before calling `equal?` on it
2017-10-02 02:11:52 -04:00
Daniel Feltey
ed5911e531
make contract-stronger?
return #f for impersonator contracts that don't implement stronger
2017-09-29 15:57:56 -05:00
Robby Findler
39dea70732
fix promise/c in the case of multiple values coming out of the promise
...
closes #1821
2017-09-29 07:11:48 -05:00
Leif Andersen
e5a14c4f9d
Add make-serialize-info example.
2017-09-28 13:53:19 -04:00
Ben Greenman
56443e76a9
doc: remove extra '}'
2017-09-28 00:48:51 -04:00
Ben Greenman
7d2e23dc28
setup-scribblings: guard against missing 'scribblings
...
Since `get-info/full` may return a function that is undefined
for the symbol 'scribblings, pass a failure thunk.
The function can be undefined for 'scribblings if:
1. Install a package with a `scribblings` in its info.rkt
2. Remove `scribblings` from the info file
3. Run `raco setup`
2017-09-25 22:20:32 -04:00
Ben Greenman
f29d77d3d8
doc: swap takef / dropf codomain contracts
...
The codomain for `takef-right` didn't match `take-right`.
Same for `dropf-right`.
2017-09-25 16:35:39 -04:00
Ben Greenman
1933501658
doc: fix hash-union contracts
...
Changed to match `hash-set` and `hash-set!` contracts
- `hash-can-functional-set?` => `immutable?
- `hash-mutable?` => `(not/c immutable?)`
2017-09-25 16:35:23 -04:00
Vincent St-Amour
23fb09a806
Fix error message for takef-right and co.
2017-09-25 14:06:49 -05:00
Matthew Flatt
d4f2f01c80
ffi/unsafe: add void/reference-sink
2017-09-24 08:27:48 -06:00
Matthew Flatt
fb312df90e
openssl: remove 'sslv2 from supported-protocols list
...
The 'sslv2 mode shouldn't be used and it seems available but fails on
modern OpenSSL builds, so just never claim that it's available.
2017-09-23 17:12:32 -06:00
Eric Dobson
2825d4bebb
Fix duplicate doc of atomic mode.
2017-09-23 16:57:38 -06:00
Leif Andersen
5e3a23886a
Make compute-offsets public. ( #1814 )
...
Make compute-offsets public.
2017-09-22 23:15:28 -04:00
Ben Greenman
807ce8d495
typo: 'namesapce'
2017-09-18 15:14:52 -04:00
Michael Ballantyne
7c3ff9da18
Improve namespace-attach-module
example
...
The current example fails to illustrate the complete use, as the final evaluation of `apple` would succeed even without the `namespace-attach-module` call. This updated example demonstrates that `namespace-require` is still needed after the module is attached, and also shows how the behavior differs from `namespace-attach-module-declaration`.
2017-09-18 14:57:41 -04:00
Vincent St-Amour
c68f42a1ef
Update raco pkg new
for v6.10.1.
...
(cherry picked from commit 006ec1bfc993c4b59657882c8a07aae3d896c81d)
2017-09-12 16:38:33 -05:00
gus-massa
93112c4557
fix typos
2017-09-10 21:26:28 -04:00
Matthew Flatt
e819b58461
raco setup: fix dependency checking for extensions like ".a60"
2017-09-09 19:48:20 -06:00
Matthew Flatt
c8ecb5e5fe
fix URL parsing in search-in-context browser trampoline
...
Use the `URL` class in JavaScript instead of manually parsing a URL
string.
Related to #1798
2017-09-09 19:48:20 -06:00
Vincent St-Amour
bc3e661181
Post-release version for the v6.10.1 release
2017-09-08 13:45:54 -05:00
Matthew Flatt
425d08c8e2
optimizer: improve hashing of variables during inlining
...
When creating a copy of a variable in the process of inlining, make
sure the copy has its own `eq?` hash code.
2017-09-07 17:54:11 +01:00
Matthew Flatt
1f02cf226e
fix eq[v]?
hashing with many collisions
...
Normally, it's impossible to generate lots of `eq?`-hashing
collisions, but when the compiler inlines a function, it can duplicate
variables in a way that gives each copy the same `eq?` hash code. The
immutable-hash tree implementation failed when more than 32 collisions
occurred (which triggers a subtree in the collision node).
It's similarly very difficult to generate > 32 values that collide on
`eqv?` hashes but are not `eqv?` (although it must be possible using
exact rationals or complex numbers).
2017-09-07 17:42:29 +01:00
Matthew Flatt
94cee519e1
re-unbreak handling of symlinks on Windows
...
The repair from commit 046503de88
was lost in 98a78add9f
.
2017-09-07 09:01:07 +01:00
Jay McCarthy
0d59486839
Remove inline style
2017-09-05 15:15:38 +01:00
Jay McCarthy
db82df1295
Make decision on helper text dynamically
2017-09-05 11:13:01 +01:00
Jay McCarthy
d325e03782
Redirect users attention to local vs global documentation search distinction
2017-09-05 09:42:29 +01:00
Milo Turner
361442c197
require racket/contract/base in generic.scrbl to fix label links
2017-09-04 10:50:40 -05:00
Royall Spence
e991dd5ccb
Move rackunit-lib to build-deps instead of deps
...
This should only needed for development purposes and not at runtime for the typical package.
2017-09-01 00:17:25 -04:00
Ben Greenman
b743544806
doc: example recursive-contract ( #1785 )
2017-08-28 16:15:51 -04:00
Sam Tobin-Hochstadt
3dd17c73ed
Clarify current-future. ( #1780 )
2017-08-23 16:58:52 -04:00
Ryan Culpepper
e9f2c084eb
db/sqlite3: use {start,end}-atomic instead of call-as-atomic
...
On my machine, this reduces the running time of the sqlite3
tests by about 1/4 (~3.2s to ~2.4s).
Other things I tried that didn't make as big a difference:
- coalesce A regions
- fast path for call-with-lock
2017-08-23 12:30:48 -04:00
Ryan Culpepper
2df51c4d19
db: add strict dependency on prepared-statement module
...
Otherwise, lazy-require can make the finalizer thread
get the wrong initial custodian.
2017-08-23 02:39:19 -04:00
Ryan Culpepper
09e90c65dc
db: remove custodian registration on disconnect
2017-08-23 02:39:12 -04:00
Ryan Culpepper
e61d8aa1b2
syntax/parse template: update docs
2017-08-23 02:01:27 -04:00