James Swaine
e9460282ac
Deleted junk code that was commented out in the futures test suite
2011-07-14 19:44:19 -06:00
James Swaine
32a3828a2e
Made continuation-mark-set-first future-safe. Fixed a rarely occurring bug with lightweight continuation capture for futures.
2011-07-14 19:30:52 -06:00
Matthew Flatt
7be0c8236f
fix `procedure-reduce-keyword-arity' checking
...
and clarify need for distinct keywords in parts of the
documentation
2011-07-14 17:07:18 -06:00
Jon Rafkind
3736571ad0
fix sequences
2011-07-14 16:54:26 -06:00
Jon Rafkind
a29d64b44a
enable #lang honu
2011-07-14 16:54:26 -06:00
Jon Rafkind
57a759c383
fix parsing for operators
2011-07-14 16:54:26 -06:00
Vincent St-Amour
937d0ad722
Fix unbalanced curly brackets.
2011-07-14 18:51:13 -04:00
Asumu Takikawa
6c3284a828
Fix a few framework contracts to match code
2011-07-14 18:15:48 -04:00
Eli Barzilay
95f6eb4f3e
Use the new `set-port-next-location!' instead of the previous hack.
...
(But something might still be off -- I thought that its use in readline
would render the whole thing redundant.)
2011-07-14 17:21:46 -04:00
Eli Barzilay
db7f2b4542
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).
2011-07-14 17:21:46 -04:00
Eli Barzilay
c544ebfe6c
New `xrepl' collection.
2011-07-14 17:21:46 -04:00
Vincent St-Amour
adeef671cd
Fix TR tests to use the new contract error message format.
...
If 7b9b3c371b
is included in the release, this should be too.
2011-07-14 17:06:52 -04:00
Vincent St-Amour
111ef109c3
Add vectors to syntax->list.
2011-07-14 17:06:52 -04:00
Eric Dobson
e6030295ff
Fix kernel-struct tests in TR.
2011-07-14 17:06:52 -04:00
Eric Dobson
30058a5a24
Document legacy form 'values'. Closes PR1145.
2011-07-14 17:06:52 -04:00
Eric Dobson
27ffe4cb6a
Fixes error messages for unsupported provide forms
2011-07-14 17:06:52 -04:00
Eric Dobson
bf72db0f7b
Clean up some contract errors and type->contract. Closes PR11756.
2011-07-14 17:06:52 -04:00
Eric Dobson
abc8e514d9
Fixed require typed struct
2011-07-14 17:06:52 -04:00
Eric Dobson
5e08f7a411
Fixes for inference. Closes PR10937.
2011-07-14 17:06:51 -04:00
Eric Dobson
f5e24ba163
Working on improving contracts in TR.
2011-07-14 17:06:51 -04:00
Eric Dobson
8a2c9b4682
TR: Produce better error messages with values. Closes PR11772.
2011-07-14 17:06:51 -04:00
Stephen Bloch
d510f6aecc
Corrected signature of scene+line to match examples and actual behavior
...
(sixth argument can be a pen or color, not just a color).
2011-07-14 16:39:25 -04:00
Stephen Bloch
34f3fac6a5
Corrected the grammar in check-arg and check-result to follow the
...
English convention of "a" before a consonant and "an" before a vowel.
There will presumably be pathological cases, but this should cover 95%
of the situations.
2011-07-14 13:07:23 -04:00
Stephen Bloch
83fd1e968d
Corrected an error message that said it wanted a real, but actually
...
expected an integer.
2011-07-14 13:01:11 -04:00
Kevin Tew
4d7584d9b7
fix indentation
2011-07-14 10:14:34 -06:00
Kevin Tew
8aca195b35
fix class names
2011-07-14 10:14:33 -06:00
Kevin Tew
a8fd86d780
Fix timeout for place-channel.rkt test
2011-07-14 10:14:33 -06:00
Kevin Tew
4ab64dc4c7
rename jobqueue and workqueue to work-queue
2011-07-14 10:14:33 -06:00
Eli Barzilay
318c4fedfc
Shift typo.
2011-07-14 12:13:37 -04:00
Eli Barzilay
69464bba91
Switch tcsh(!) and bash scripts to use /bin/sh.
...
(Satisfy some 3rd-party packaging linters.)
2011-07-14 12:06:00 -04:00
Matthias Felleisen
40948ee653
sk requested empty scenes with optional background color
2011-07-14 12:03:20 -04:00
Guillaume Marceau
da6e819b6f
Fixed some missing links in the documentation.
2011-07-14 01:51:48 -04:00
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
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
427eaca513
Add tests for jitted real->*-flonum.
2011-07-11 14:21:41 -04: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
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
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
089201b49b
doc typo fixes
2011-07-09 06:16:10 -06: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
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
5e49e0adea
improve decompiler handling of syntax object
2011-07-08 06:22:40 -06:00
Kevin Tew
5d66e52fcc
Add identifier? check to place macro
2011-07-07 16:56:23 -06: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