Commit Graph

21881 Commits

Author SHA1 Message Date
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
Carl Eastlund
6d79e54a4d Changed source-location->string and ->prefix to use
path->relative-string/library to produce collection and planet-relative source
names.
(cherry picked from commit 00a6442712)
2011-07-11 21:29:58 -04:00
Carl Eastlund
18e9e79aa0 Changed default blame formatter to report blame parties relative to collection
and planet directories where appropriate.  Added a test for this behavior.
(cherry picked from commit b3136095ea)
2011-07-11 21:29:56 -04:00
Carl Eastlund
0911365403 Corrected documentation of quote-module-name to indicate that it does not
produce collection and planet-relative paths on its own.  Deprecated
quote-module-path, and replaced existing uses of it with quote-module-name.
(cherry picked from commit 2e6a608539)
2011-07-11 21:29:54 -04:00
Eli Barzilay
bc607e96e9 New Racket version 5.1.1.900. 2011-07-11 15:03:05 -04:00
Matthew Flatt
6bbfbad6a7 export `step-count?'
Merge to 5.1.2
(cherry picked from commit 8271f7b182)
2011-07-11 14:56:24 -04:00
Matthew Flatt
2b05b96b50 fix dependency
(cherry picked from commit 50bd06af9a)
2011-07-11 14:56:12 -04:00
Guillaume Marceau
020469a716 Remove spurious printf left in 9053f8f9
(cherry picked from commit 3815862a81)
2011-07-11 14:55:55 -04:00
Guillaume Marceau
ec279b706e Fixed documentations bugs in scribblings/htdp-langs
(cherry picked from commit 9053f8f99b)
2011-07-11 14:55:51 -04:00
Guillaume Marceau
ec185e6072 Adding files missing in the previous commit.
(cherry picked from commit 9d465ed298)
2011-07-11 14:55:46 -04:00
Guillaume Marceau
cd153042db Merged htdp-lib.scblr and teachpacks/error-composition.scrbl into htdp/htdp.scrbl,
to form a single manual titled "Implementing HtDP Teachpacks, Libraries, and
Customized Teaching Languages"
(cherry picked from commit 2c075978fd)
2011-07-11 14:55:27 -04:00
Guillaume Marceau
ae6cf4da07 Little tweaks to the *SL documentation
(cherry picked from commit 91d5c92415)
2011-07-11 14:55:23 -04:00
Guillaume Marceau
f468769a75 Catches another way images prints.
(cherry picked from commit ff1ab35a12)
2011-07-11 14:55:20 -04:00
Ryan Culpepper
4fbf087e17 syntax/parse: add expr/c to main module
Merge to release branch
(cherry picked from commit 0aecbf97ff)
2011-07-11 14:55:13 -04:00
Ryan Culpepper
fe3ee8cbc5 removed merge conflict artifact
Merge to release branch
(cherry picked from commit 73230537ba)
2011-07-11 14:55:10 -04:00
Matthew Flatt
7d32a27700 update Racket release notes for v5.1.2
Merge to v5.1.2
(cherry picked from commit fb5c62d9d7)
2011-07-11 14:55:01 -04:00
Matthew Flatt
7fc99aa0b3 make weak taint table actually weak
(cherry picked from commit 4392ab7636)
2011-07-11 14:54:57 -04:00
Matthew Flatt
06f42651f5 optimizer repair; `unsafe-c{a,d}r' can be dropped
(cherry picked from commit 848bba80a3)
2011-07-11 14:54:49 -04:00
Ryan Culpepper
5ed722e144 Alpha version number for the v5.1.2 release 2011-07-07 23:37:24 -06:00
Kevin Tew
8128603b9b Fix non-places build 2011-07-07 17:14:01 -06:00
Kevin Tew
8ed62b715b Fix place-channel place-object race condition 2011-07-07 17:14:00 -06:00
Kevin Tew
5d66e52fcc Add identifier? check to place macro 2011-07-07 16:56:23 -06:00
Vincent St-Amour
3b33ed8c81 Abstract out magic numbers in the JIT. 2011-07-07 18:13:50 -04:00
Ryan Culpepper
8ebda770a6 restored Getting Started link 2011-07-07 14:00:22 -06:00
Ryan Culpepper
e66275c3f5 moved typed racket docs up within section 2011-07-07 14:00:22 -06:00
Ryan Culpepper
3b707c1e54 rackunit: fix require/expose to work on variable-like macros
(eg struct names, names w/ contracts, etc)
2011-07-07 14:00:22 -06:00
Matthew Flatt
9bee07b7c0 fix debugger for syntax taints 2011-07-07 13:38:14 -06:00
Kevin Tew
68d49e9f59 Add assertions to place-channel tests 2011-07-07 12:38:20 -06:00
Sam Tobin-Hochstadt
49444460d5 Add types for `check-in-{port,bytes,bytes-lines}'. 2011-07-07 14:24:28 -04:00
Sam Tobin-Hochstadt
e972c0c392 Have DrDr keep ignoring the random seeds. 2011-07-07 14:24:28 -04:00
Matthew Flatt
2840e2367b fix ASL `(begin0)' error message 2011-07-07 10:57:04 -06:00
Matthew Flatt
917d190877 more consistent *SL primitive descriptions 2011-07-07 10:45:43 -06:00
Matthew Flatt
6c3360c716 fix formating of duplicated syntax descriptions 2011-07-07 10:45:43 -06:00
Matthew Flatt
e1b02e08f7 generalize `defform' & co. to better support abstraction 2011-07-07 10:45:43 -06:00
Vincent St-Amour
2afff3d210 Add real->double-flonum to the JIT. 2011-07-07 12:04:24 -04:00
Vincent St-Amour
50974440f4 Fix test to avoid differences in printing. 2011-07-07 11:41:59 -04:00
Matthew Flatt
9ba6beacf5 fix non-futures, non-places build 2011-07-07 07:25:48 -06:00
Matthew Flatt
1dd7aa5889 avoid unnecessary syntax object 2011-07-07 07:25:48 -06:00
Matthew Flatt
e783d84268 move checking code out of macro expansion 2011-07-07 07:25:48 -06:00