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
Guillaume Marceau
9d465ed298
Adding files missing in the previous commit.
2011-07-08 18:36:24 -04:00
Guillaume Marceau
2c075978fd
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"
2011-07-08 18:23:17 -04:00
Guillaume Marceau
91d5c92415
Little tweaks to the *SL documentation
2011-07-08 18:23:16 -04:00
Guillaume Marceau
ff1ab35a12
Catches another way images prints.
2011-07-08 18:23:15 -04:00
Ryan Culpepper
0aecbf97ff
syntax/parse: add expr/c to main module
...
Merge to release branch
2011-07-08 15:34:59 -06:00
Ryan Culpepper
73230537ba
removed merge conflict artifact
...
Merge to release branch
2011-07-08 15:34:59 -06:00
Robby Findler
fbccf38d50
completed the planet library documentation and, in the process,
...
cleaned up various dependencies and exports from some of the libraries
2011-07-08 15:51:05 -05:00
Matthew Flatt
b98e1b189a
change semantic of internal definitions
...
and `letrec-syntaxes+values' --- allowing `let' in place
of `letrec', which in turn lets the compiler optimize
away location allocation
2011-07-08 14:00:41 -06:00
Matthew Flatt
fb5c62d9d7
update Racket release notes for v5.1.2
...
Merge to v5.1.2
2011-07-08 13:52:08 -06:00
Matthew Flatt
4392ab7636
make weak taint table actually weak
2011-07-08 06:28:43 -06:00
Matthew Flatt
0e95d49ddb
allow more expression reordering, especially unsafe ops
2011-07-08 06:23:29 -06:00
Matthew Flatt
65b1a569a0
add `unsafe-list-{ref,set}'
...
Use the new functions in `syntax-case'; the benefit is small, and
it's mostly useful as hint to the optimizer that the operation
can be dropped if the result isn't used
2011-07-08 06:23:29 -06:00
Matthew Flatt
848bba80a3
optimizer repair; `unsafe-c{a,d}r' can be dropped
2011-07-08 06:22:40 -06:00