Commit Graph

22496 Commits

Author SHA1 Message Date
Eli Barzilay
db7f2b4542 Add a new #:dont-re-require-enter' flag for enter!', to avoid
requiring itself into the entered namespace.

This makes it useful in some cases where this require leads to a
dependency cycle, eg (enter! racket/list).  It's obviously not useful
for use as-is, since you will not have a bound `enter!' to get out of
the namespace (and possibly no `require' to get it) -- but it is useful
for meta-tools like xrepl.  This is why the flag is verbose.  `xrepl'
now uses this flag.

Also, the check for valid keywords for the form is now done at runtime
rather than in the macro.  This doesn't matter in this case, since the
form is intended for interactive use anyway.

Also, separate the two parts of `enter-load/use-compiled' (it was
defined curried, but didn't use it).
2011-07-14 17:21:46 -04:00
Eli Barzilay
c544ebfe6c New `xrepl' collection. 2011-07-14 17:21:46 -04:00
Vincent St-Amour
adeef671cd Fix TR tests to use the new contract error message format.
If 7b9b3c371b is included in the release, this should be too.
2011-07-14 17:06:52 -04:00
Vincent St-Amour
111ef109c3 Add vectors to syntax->list. 2011-07-14 17:06:52 -04:00
Eric Dobson
e6030295ff Fix kernel-struct tests in TR. 2011-07-14 17:06:52 -04:00
Eric Dobson
30058a5a24 Document legacy form 'values'. Closes PR1145. 2011-07-14 17:06:52 -04:00
Eric Dobson
27ffe4cb6a Fixes error messages for unsupported provide forms 2011-07-14 17:06:52 -04:00
Eric Dobson
bf72db0f7b Clean up some contract errors and type->contract. Closes PR11756. 2011-07-14 17:06:52 -04:00
Eric Dobson
abc8e514d9 Fixed require typed struct 2011-07-14 17:06:52 -04:00
Eric Dobson
5e08f7a411 Fixes for inference. Closes PR10937. 2011-07-14 17:06:51 -04:00
Eric Dobson
f5e24ba163 Working on improving contracts in TR. 2011-07-14 17:06:51 -04:00
Eric Dobson
8a2c9b4682 TR: Produce better error messages with values. Closes PR11772. 2011-07-14 17:06:51 -04:00
Stephen Bloch
d510f6aecc Corrected signature of scene+line to match examples and actual behavior
(sixth argument can be a pen or color, not just a color).
2011-07-14 16:39:25 -04:00
Stephen Bloch
34f3fac6a5 Corrected the grammar in check-arg and check-result to follow the
English convention of "a" before a consonant and "an" before a vowel.
There will presumably be pathological cases, but this should cover 95%
of the situations.
2011-07-14 13:07:23 -04:00
Stephen Bloch
83fd1e968d Corrected an error message that said it wanted a real, but actually
expected an integer.
2011-07-14 13:01:11 -04:00
Kevin Tew
4d7584d9b7 fix indentation 2011-07-14 10:14:34 -06:00
Kevin Tew
8aca195b35 fix class names 2011-07-14 10:14:33 -06:00
Kevin Tew
a8fd86d780 Fix timeout for place-channel.rkt test 2011-07-14 10:14:33 -06:00
Kevin Tew
4ab64dc4c7 rename jobqueue and workqueue to work-queue 2011-07-14 10:14:33 -06:00
Eli Barzilay
318c4fedfc Shift typo. 2011-07-14 12:13:37 -04:00
Eli Barzilay
6e72bf2dad Added Guillaume's gmail address to mailmap 2011-07-14 12:06:01 -04:00
Eli Barzilay
69464bba91 Switch tcsh(!) and bash scripts to use /bin/sh.
(Satisfy some 3rd-party packaging linters.)
2011-07-14 12:06:00 -04:00
Matthias Felleisen
40948ee653 sk requested empty scenes with optional background color 2011-07-14 12:03:20 -04:00
Guillaume Marceau
da6e819b6f Fixed some missing links in the documentation. 2011-07-14 01:51:48 -04:00
Guillaume Marceau
793d7894f1 Better fix for the previous bug. 2011-07-14 00:12:47 -04:00
Guillaume Marceau
452f3a14fb Fixed that 'all contracts for primitives print as lists' bug in scribblings/htdp-langs. 2011-07-13 23:52:10 -04:00
Stephen Chang
3f79c37ce6 add make-lazy-proc to lazy stepper skipped fns list 2011-07-13 18:54:45 -04:00
Sam Tobin-Hochstadt
355050acde Docs for racket/kernel 2011-07-13 18:15:51 -04:00
Jon Rafkind
3e96a1e66e parse operators 2011-07-13 16:09:22 -06:00
Jon Rafkind
acb3bce1e7 add function as a macro 2011-07-13 16:09:21 -06:00
Matthias Felleisen
03dc212d61 small edit to doc of atan; Closes PR 12039 2011-07-13 18:00:35 -04:00
Asumu Takikawa
2fdc56db3a Use real contract in bitmap% docs 2011-07-13 15:35:38 -04:00
Vincent St-Amour
cf04739f93 Fix unsafe multiplication. 2011-07-13 12:52:47 -04:00
Matthew Flatt
0860e62bfa rebuild Mac x86 libraries to work with 10.4
Merge to 5.1.2
2011-07-13 10:45:19 -06:00
Matthew Flatt
007614fc9f add gradient transformation to `brush%' 2011-07-13 10:45:19 -06:00
Matthew Flatt
07a9cdd2a8 fix zo-parse of rename tables 2011-07-13 10:45:19 -06:00
Vincent St-Amour
e5314f945e Make index? faster. 2011-07-13 12:07:56 -04:00
Robby Findler
2fb03852b3 fix bad contract 2011-07-13 06:47:20 -06:00
Jon Rafkind
41b66d3fc2 fix requires 2011-07-12 23:21:45 -06:00
Robby Findler
7b9b3c371b adjusted the wording of the contract error messages to move away from <>'s and added more colons 2011-07-12 22:03:07 -06:00
John Clements
b14ac37d99 added automatic parens preference 2011-07-12 12:23:08 -07:00
Jon Rafkind
2737351c4a start new honu implementation 2011-07-12 10:37:23 -06:00
Stephen Bloch
52527d8a95 Fixed some more error messages. 2011-07-12 07:08:47 -04:00
Ryan Culpepper
5a10ef7550 updated docs for struct-type-contract/c 2011-07-11 16:12:27 -06:00
Vincent St-Amour
59a85b3eb2 Add list optimizations. 2011-07-11 15:55:07 -04:00
Vincent St-Amour
79ef8e889e Fix test for new contract error message format. 2011-07-11 15:35:49 -04:00
Vincent St-Amour
09b6616bfa Fix jitting of real->double-flonum.
Merge to 5.1.2.
2011-07-11 14:38:02 -04:00
Vincent St-Amour
427eaca513 Add tests for jitted real->*-flonum. 2011-07-11 14:21:41 -04:00
Vincent St-Amour
7dfe1f636f Revert "Add real->double-flonum to the JIT."
This reverts commit 2afff3d210.

This commit caused real->double-flonum to have a different behavior
when jitted as opposed to interpreted, and caused real->single-flonum
to break in some cases.

Merge to 5.1.2.
2011-07-11 13:54:06 -04:00
Matthew Flatt
09eab9c3eb fix JIT problem that can break futures
A recent (weeks-old) JIT change set one of a function's code
 pointers to NULL to indicate that JIT-compilation of the
 function is in progress, but that breaks futures. Set the
 code pointer to a different not-yet-ready function, instead.

 Merge to 5.1.2

 Closes PR 12037
2011-07-11 07:01:41 -06:00