Commit Graph

21859 Commits

Author SHA1 Message Date
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
Matthew Flatt
8271f7b182 export `step-count?'
Merge to 5.1.2
2011-07-09 08:47:21 -06:00
Matthew Flatt
efd1fa51bd change `find-method/send' back to one result
The 2-result implementation is not needed now that contracts
 are implemented via impersonators
2011-07-09 07:08:32 -06:00
Matthew Flatt
8decf99f34 move error reporting out of `define-syntax-rule' expansion 2011-07-09 06:32:41 -06:00
Matthew Flatt
5452a16479 fix arity check on `current-module-name-resolver' 2011-07-09 06:16:11 -06:00
Matthew Flatt
34a5c400ba remove some macro abuses 2011-07-09 06:16:11 -06:00
Matthew Flatt
121145be73 prune unused imports 2011-07-09 06:16:11 -06:00
Matthew Flatt
9e694ce5cb share modidx for module imported into multiple phases 2011-07-09 06:16:10 -06:00
Matthew Flatt
50bd06af9a fix dependency 2011-07-09 06:16:10 -06:00
Matthew Flatt
089201b49b doc typo fixes 2011-07-09 06:16:10 -06:00
Matthew Flatt
d49a1e1fa1 JIT-inline `path?' 2011-07-09 06:16:10 -06:00
Eli Barzilay
1ba2d85004 New Racket version 5.1.2.2. 2011-07-09 03:50:09 -04:00
Guillaume Marceau
3815862a81 Remove spurious printf left in 9053f8f9 2011-07-09 01:39:17 -04:00
Guillaume Marceau
9053f8f99b Fixed documentations bugs in scribblings/htdp-langs 2011-07-08 23:34:29 -04:00