Commit Graph

21611 Commits

Author SHA1 Message Date
Matthew Flatt
5a5430f91e revert unnecessary refactoring
--- intended to avoid creating a dependency that already exists

 Merge 5.1.2
(cherry picked from commit ab0e78122c)
2011-07-19 11:23:19 -04:00
Matthew Flatt
bc46623eca restore deinprogramm reader module suffix
(cherry picked from commit fc914dfac8)
2011-07-19 11:23:16 -04:00
Matthew Flatt
ed4185cae9 don't compile test file with image constant
(cherry picked from commit bd10ccc1b7)
2011-07-19 11:23:05 -04:00
Matthew Flatt
9e3ee9e2f8 fix cm to configure reader when reading .dep files
Merge to 5.1.2
(cherry picked from commit 7af5d490ad)
2011-07-19 11:22:53 -04:00
Matthew Flatt
34b3045b9b fix SGC
Merge to 5.1.2
(cherry picked from commit 3f0914080b)
2011-07-19 11:22:47 -04:00
Matthew Flatt
af3db4d9fe change GDK_POINTER_MOTION_HINT_MASK back to GDK_POINTER_MOTION_MASK
because HINT doesn't works as expected, and the problem it
 seemed to solve at one time (slow resize in DrRacket) seems
 to have been fixed some other way. GDK_MOUSE_MOTION_MASK
 isn't needed, since GDK_POINTER_MOTION_MASK covers it.

 Merge to 5.1.2
(cherry picked from commit 5edc0c70af)
2011-07-19 11:22:42 -04:00
Matthew Flatt
b560fc83aa fix taint behavior of some syntax operations
`syntax-local-get-shadower' and
 `syntax-make-delta-introducer' both taint their
 results when a given syntax object is tainted
(cherry picked from commit 4307bcace5)
2011-07-19 11:13:20 -04:00
Matthew Flatt
f4bb576511 limit build parallelism to 4 on a 32-bit machine
Merge to 5.1.2
(cherry picked from commit e57b7b9e54)
2011-07-19 11:13:00 -04:00
Robby Findler
4e5ac3c261 typo
(cherry picked from commit 9e0a866969)
2011-07-19 11:12:54 -04:00
Matthew Flatt
9f5ad021f1 fix errortrace
The `eq?'ness of syntax objects used to reconstruct the result
 was broken by disarming. The solution is to reconstruct based
 on the disarmed syntax object instead of the original.

 Merge to 5.1.2.
(cherry picked from commit 0f61d62ea1)
2011-07-19 11:12:48 -04:00
Ryan Culpepper
a0ccf20b30 macro-stepper: disable taint display until correct
Merge to release branch
(cherry picked from commit 91a2e283a6)
2011-07-19 11:12:42 -04:00
Matthias Felleisen
fecc46f97d adjusted expected error messages to accommodate Stephen's change
(cherry picked from commit 6c51155fec)
2011-07-19 11:12:24 -04:00
Matthias Felleisen
0372e02294 documented error reporting functions
(Cherry picked from 9193203, and slightly edited for conflicts due to
code shuffling.)
2011-07-19 11:11:01 -04:00
Matthias Felleisen
14cd4ae26c fixed bug in exception handling for drawing; Closes PR 12044
(cherry picked from commit 562252f589)
2011-07-18 12:43:19 -04:00
Guillaume Marceau
29e8c44ba9 Roll back the "expr -> expression" change in the grammar documentation of the
teaching languages. The extra width was breaking some browsers.
(cherry picked from commit 7134d67921)
2011-07-18 12:43:16 -04:00
Guillaume Marceau
8c54e212da Standartize the vocabulary to "the function returns" and "set! mutates"
(cherry picked from commit c31d352f2b)
2011-07-18 12:43:12 -04:00
Matthew Flatt
f790a77e40 places: fix printing of symbol resolved module paths
(cherry picked from commit 62acb298bd)
2011-07-18 12:43:09 -04:00
Matthew Flatt
e1dbfe67e3 remove obsolete reference to '#%mred-kernel
(cherry picked from commit 1c4722eaee)
2011-07-18 12:43:06 -04:00
Matthew Flatt
c4ca803955 fix typo; eliminate "this" as a noun; otherminor improvements
(cherry picked from commit 5e5172baab)
2011-07-18 12:43:03 -04:00
Vincent St-Amour
be3aa544ad Fix unbalanced curly brackets.
(cherry picked from commit 937d0ad722)
2011-07-18 12:42:49 -04:00
Asumu Takikawa
2c70c98228 Fix a few framework contracts to match code
(cherry picked from commit 6c3284a828)
2011-07-18 12:42:46 -04:00
Eli Barzilay
225f563bda 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).
(cherry picked from commit db7f2b4542)
2011-07-18 12:42:42 -04:00
Eli Barzilay
0b0de351fd New `xrepl' collection.
(cherry picked from commit c544ebfe6c)
2011-07-14 17:29:53 -04:00
Stephen Bloch
14ed19da09 Corrected signature of scene+line to match examples and actual behavior
(sixth argument can be a pen or color, not just a color).
(cherry picked from commit d510f6aecc)
2011-07-14 17:29:43 -04:00
Stephen Bloch
3a2e4969e9 Corrected an error message that said it wanted a real, but actually
expected an integer.
(cherry picked from commit 83fd1e968d)
2011-07-14 17:29:31 -04:00
Eli Barzilay
a606c3a988 Shift typo.
(cherry picked from commit 318c4fedfc)
2011-07-14 17:29:27 -04:00
Eli Barzilay
533293c666 Added Guillaume's gmail address to mailmap
(cherry picked from commit 6e72bf2dad)
2011-07-14 17:29:24 -04:00
Eli Barzilay
4b3c7d0aec Switch tcsh(!) and bash scripts to use /bin/sh.
(Satisfy some 3rd-party packaging linters.)
(cherry picked from commit 69464bba91)
2011-07-14 17:29:20 -04:00
Matthias Felleisen
f5923dd748 sk requested empty scenes with optional background color
(cherry picked from commit 40948ee653)
2011-07-14 17:29:16 -04:00
Guillaume Marceau
ef167bb249 Fixed some missing links in the documentation.
(cherry picked from commit da6e819b6f)
2011-07-14 17:29:12 -04:00
Guillaume Marceau
fd6d7de506 Better fix for the previous bug.
(cherry picked from commit 793d7894f1)
2011-07-14 17:29:08 -04:00
Guillaume Marceau
72a81a7c12 Fixed that 'all contracts for primitives print as lists' bug in scribblings/htdp-langs.
(cherry picked from commit 452f3a14fb)
2011-07-14 17:29:02 -04:00
Matthias Felleisen
7f7618dd07 small edit to doc of atan; Closes PR 12039
(cherry picked from commit 03dc212d61)
2011-07-14 17:23:57 -04:00
Asumu Takikawa
60f3e79bb8 Use real contract in bitmap% docs
(cherry picked from commit 2fdc56db3a)
2011-07-14 17:23:55 -04:00
Matthew Flatt
8d0d481d63 rebuild Mac x86 libraries to work with 10.4
Merge to 5.1.2
(cherry picked from commit 0860e62bfa)
2011-07-14 17:23:49 -04:00
Robby Findler
95ed19b91f fix bad contract
(cherry picked from commit 2fb03852b3)
2011-07-14 17:23:44 -04:00
Stephen Bloch
4f794fe496 Fixed some more error messages.
(cherry picked from commit 52527d8a95)
2011-07-14 17:23:38 -04:00
Ryan Culpepper
289e82b0b7 updated docs for struct-type-contract/c
(cherry picked from commit 5a10ef7550)
2011-07-11 23:13:49 -04:00
Vincent St-Amour
6ca28bc60c Fix test for new contract error message format.
(cherry picked from commit 79ef8e889e)
2011-07-11 23:13:45 -04:00
Vincent St-Amour
0751111011 Fix jitting of real->double-flonum.
Merge to 5.1.2.
(cherry picked from commit 09b6616bfa)
2011-07-11 23:13:42 -04:00
Vincent St-Amour
73fb46b42b Add tests for jitted real->*-flonum.
(cherry picked from commit 427eaca513)
2011-07-11 23:13:39 -04:00
Vincent St-Amour
cef91e1527 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.
(cherry picked from commit 7dfe1f636f)
2011-07-11 23:13:35 -04:00
Matthew Flatt
036f7bec06 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
(cherry picked from commit 09eab9c3eb)
2011-07-11 23:13:31 -04:00
Stephen Bloch
097df98b3d Fixed some more error messages.
(cherry picked from commit 904ef63ce2)
2011-07-11 23:13:26 -04:00
Stephen Bloch
ede736ff84 Improved error messages to specify actual argument as well as expected
type.  Still produces one check-error failure because of bug in
make-color.
(cherry picked from commit d3df33b023)
2011-07-11 23:13:22 -04:00
Eli Barzilay
2490b0711c Fix the path relative functions to return a string for a path input,
clarify the documentation, add a few tests.

Fixes pr 12032
Fixes pr 12034
(cherry picked from commit ebe9453e73)
2011-07-11 21:30:18 -04:00
Sam Tobin-Hochstadt
177fff49e6 Fix capitalization of HtDP.
Merge to 5.1.2.
(cherry picked from commit 64d42fa0d3)
2011-07-11 21:30:16 -04:00
Matthew Flatt
64cac3e13c fix cross reference
Merge to 5.1.2
(cherry picked from commit b5bb703b48)
2011-07-11 21:30:13 -04:00
Matthew Flatt
94770d3a08 fix hash-ref' bugs on immutable eq?'-based tables
There were two:
   * new: after finding a hash code, the key wasn't
          always checked to be `eq?' to the desired key
   * old: the hash code wan't downshifted by 2, so
          changes in the low two bits (like when a pair
          is determined to start a list) could break
          lookup

 Merge to 5.1.2
(cherry picked from commit e765231dad)
2011-07-11 21:30:11 -04:00
Carl Eastlund
d7fcd2f149 Updated unit contract tests to not rely on a specific format for names of
blamed modules in contract error messages.
(cherry picked from commit d5b852c386)
2011-07-11 21:30:00 -04:00