Commit Graph

21672 Commits

Author SHA1 Message Date
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
Stephen Bloch
904ef63ce2 Fixed some more error messages. 2011-07-11 07:25:46 -04:00
Stephen Bloch
d3df33b023 Improved error messages to specify actual argument as well as expected
type.  Still produces one check-error failure because of bug in
make-color.
2011-07-11 07:25:46 -04:00
Eli Barzilay
ac139c5dcb New Racket version 5.1.2.3. 2011-07-11 03:50:16 -04:00
Matthew Flatt
cc6f3f69ab add `port-set-next-location!'; make prompt read handler use it
Closes PR 12035
2011-07-10 08:36:47 -06:00
Eli Barzilay
ebe9453e73 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
2011-07-10 06:53:44 -04:00
Sam Tobin-Hochstadt
79ed93a925 Add `racket/kernel' as language with very low startup time. 2011-07-09 22:49:50 -04:00
Sam Tobin-Hochstadt
64d42fa0d3 Fix capitalization of HtDP.
Merge to 5.1.2.
2011-07-09 22:49:49 -04:00
Matthew Flatt
b5bb703b48 fix cross reference
Merge to 5.1.2
2011-07-09 20:28:46 -06:00
Matthew Flatt
e765231dad 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
2011-07-09 20:12:59 -06:00
John Clements
35c9bd90ab preserve user origin field... it may be useful 2011-07-09 17:18:13 -07:00
John Clements
3030fd3f4a test-engine now sets current-directory before running tests 2011-07-09 17:17:49 -07:00
John Clements
a1cc083737 preserve origin field 2011-07-09 16:19:16 -07:00
John Clements
9cdeda1e04 added purpose statement to expand-teaching-program 2011-07-09 16:19:16 -07:00
John Clements
592f28382b refactoring, no semantic changes 2011-07-09 16:19:15 -07:00
John Clements
2cebd8f4cb retabbing, dumping a 'local', no longer using parenthesized module form 2011-07-09 16:19:15 -07:00
John Clements
53db721ee9 retabbing only 2011-07-09 16:19:15 -07:00
John Clements
ba82f46a07 retabbing and dead code removal only 2011-07-09 16:19:15 -07:00
Matthew Flatt
3d03e8f884 fix define-primitive' and provide-primitive'
Allow the implement to follow the `define-primitive'
 or `provide-primitive' declaration.
2011-07-09 16:57:56 -06:00
Matthew Flatt
0acf9834f7 make ISL local' and letrec' expand more the old way
That is, force expansion to use a single `letrec',
 instead of a mixture of `let' and `letrec' that an
 internal-definition expansion would now use.
2011-07-09 16:57:09 -06:00
Carl Eastlund
d5b852c386 Updated unit contract tests to not rely on a specific format for names of
blamed modules in contract error messages.
2011-07-09 17:28:04 -04:00
Carl Eastlund
00a6442712 Changed source-location->string and ->prefix to use
path->relative-string/library to produce collection and planet-relative source
names.
2011-07-09 14:48:14 -04:00
Carl Eastlund
b3136095ea Changed default blame formatter to report blame parties relative to collection
and planet directories where appropriate.  Added a test for this behavior.
2011-07-09 14:48:14 -04:00
Carl Eastlund
2e6a608539 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.
2011-07-09 14:46:58 -04:00
Matthew Flatt
584a96a4e0 fix define-primitive' and porvide-primitive' to check binding
Closes PR 12031
2011-07-09 08:54:36 -06:00