Matthew Flatt
a01b12e5ef
optimizer: don't move expressions into a with-continuation-mark
...
... unless the optimizer can prove that the expression doesn't
inspect continuation marks.
2014-04-19 11:14:37 -06:00
Matthew Flatt
6112d337b3
r{5,6}rs: change letrec
to signal use-before-definition errors
...
The old `letrec` implementation used the R5RS macro with `undefined`,
which differents from Racket's `letrec` in that no variable is
initialized until all right-hand sides are evaluated. It turns out
to be simpler and produce the same effect to use `letrec-values`
with a single clause: `(letrec ([x e1] [y e2]) ....)` ->
`(letrec-values ([(x y) (values e1 e2)]) ....)`.
2014-04-19 11:14:37 -06:00
Matthew Flatt
4216f3b666
fix references to subdirectories of a rendered manual
...
For example, fix the resolution of a link to a binding in the R5RS
or R6RS spec.
2014-04-19 11:14:37 -06:00
Robby Findler
b219121a14
fix drracket-specific keybindings to work with alt-as-meta preference
2014-04-19 09:44:50 -05:00
Asumu Takikawa
b2f9bf6e9e
Improve code for checking init args for TR classes
2014-04-19 00:08:28 -04:00
Asumu Takikawa
39aacf8239
Adjust TR class error messages
...
Use the new error message format for most cases.
Convert some internal errors to use int-err.
2014-04-19 00:08:28 -04:00
Asumu Takikawa
e3349674a6
Improve source location tracking for TR classes
...
Closes PR 14400
2014-04-19 00:08:28 -04:00
Stephen Bloch
dbf0206fb2
Merge branch 'master' of pltgit:plt
2014-04-18 22:12:47 -04:00
Stephen Bloch
c066040f8d
Replaced JPG file with PNG, so future renderer changes don't break test
...
cases. Please merge to release branch.
2014-04-18 22:11:31 -04:00
John Clements
870057ab19
Update HISTORY.txt for stepper
...
Please merge to 6.0.1 release
2014-04-18 10:25:56 -07:00
Jay McCarthy
2846764a93
Clarify Datalog/Racket interaction re Matthias
2014-04-18 10:09:21 -06:00
Asumu Takikawa
9e7b013a7d
Fix typecheck-fail
in TR
...
Closes PR 14449
2014-04-18 11:15:35 -04:00
Robby Findler
34abe306e3
fix a non-buggy set!-before-initialization in syntax-browser
...
What appears to be happening is that the fields path and next-push
are state variables on this class that are initialized and then used
only during the dynamic-extent of syntax-object->datum/record-paths
and of the pretty-printing code.
So, before the check was in place, they were initialized and used
before the 'path' field was initialized, but by the time the path
field was initialized, the value was junk (not going to be used again)
but it still raised an error
2014-04-18 06:57:45 -05:00
Robby Findler
9d9a1cd054
add some debugging information into the module language test suite
...
specifically, when tests fail and there is an error icon in the REPL,
then go find the stack associated with it and print it out
2014-04-18 06:57:45 -05:00
Mike Sperber
cfb45e91e3
Sync German string constants with latest.
2014-04-18 09:47:02 +02:00
Robby Findler
ccefa53af3
add missing release notes
...
Please include in 6.0.1
2014-04-17 22:38:42 -05:00
Robby Findler
a9f46ade9e
make the teaching languages cooperate with the new undefined semantics
2014-04-17 19:47:35 -05:00
Robby Findler
0372249eba
update Redex to cooperate with the new undefined semantics
2014-04-17 16:51:18 -05:00
Robby Findler
1cb1ff284b
some work on random generation from contracts
2014-04-17 16:51:17 -05:00
Asumu Takikawa
0ce0abb2c2
More TR class adjustments for expansion changes
2014-04-17 15:34:58 -04:00
Matthew Flatt
4bf1f90c3c
racket/class: fix empty define-values
...
Closes PR 14451
2014-04-17 10:48:16 -06:00
Robby Findler
72bc8ffd56
fix redex docs
...
closes PR 14450
2014-04-17 11:34:29 -05:00
Matthias Felleisen
f4f925d4d1
fixing how to count
2014-04-17 10:51:23 -04:00
Sam Tobin-Hochstadt
4872bdfb2f
Fix mzlib/unit tests for new undefined handling.
2014-04-17 10:05:29 -04:00
Matthew Flatt
46a66819cc
add 'undefined-error-name property for letrec
bindings
2014-04-17 06:58:01 -06:00
Matthew Flatt
13db06d5df
racket/draw Cocoa: fix (again!) surroate-pair patch for Pango
2014-04-17 06:37:15 -06:00
Matthew Flatt
f36e575735
add Claire to acks
2014-04-17 06:37:15 -06:00
Matthew Flatt
22b48e03c8
make assignment-before-initialization an error
...
Recent changes made use-before-initialization an error for
`letrec` bindings, `class` fields, and `unit` definitions.
Now, assignment-before-initialization is also an error.
2014-04-17 06:37:15 -06:00
Matthew Flatt
52ea013f87
add static
annotations on local functions
2014-04-17 06:37:14 -06:00
Claire Alvis
a6ea577869
make indentation match other files
...
(Actually by Matthew, but setting Claire as the author so
that it will be easier to see via `git blame` in the future
if I mangle Claire's code.)
2014-04-17 06:37:14 -06:00
Robby Findler
9a017a789f
fix use before definition bug
2014-04-17 07:34:03 -05:00
Robby Findler
b08a831fc9
accidentally pushed a commit I didn't intend to
...
Revert "IN PROGRESS: started on redex undefined check update"
This reverts commit 3859a6f69e
.
2014-04-16 22:07:01 -05:00
Robby Findler
3859a6f69e
IN PROGRESS: started on redex undefined check update
2014-04-16 22:06:04 -05:00
Robby Findler
80c27cd3b4
bring contract tests up to date with changes to undefined
2014-04-16 22:06:04 -05:00
Robby Findler
5db4514004
update correct answer for mac os x redex bitmap test
2014-04-16 22:06:03 -05:00
Asumu Takikawa
4d7703770f
Minor fix for TR docs for struct
...
Please merge to v6.0.1
2014-04-16 17:48:08 -04:00
Jay McCarthy
d881e0cc60
increase pkg timeout
2014-04-16 15:37:34 -06:00
Jay McCarthy
4e6ce98823
have drdr ignore stderr that doesn't matter
2014-04-16 15:37:34 -06:00
Jay McCarthy
ccacb3ac11
fix srcloc
2014-04-16 15:37:34 -06:00
Jay McCarthy
df3a082d1e
fix initialization error
2014-04-16 15:37:34 -06:00
Jay McCarthy
62466ddf9e
repair props
2014-04-16 15:37:34 -06:00
Asumu Takikawa
e3f7aa4df2
Fix TR reference docs for for
...
Please merge to v6.0.1
2014-04-16 17:30:19 -04:00
Vincent St-Amour
80bf6a93e5
Fix shapes with borders to work with pen styles.
2014-04-16 15:14:02 -04:00
Jay McCarthy
744fde1fa8
Demonstrate Racket/Datalog interop more and add unsyntax
2014-04-16 12:59:08 -06:00
Asumu Takikawa
d6a3d27e54
Mark class support as experimental in the TR docs
...
Please merge to v6.0.1
2014-04-16 14:58:48 -04:00
Matthew Flatt
d212fc7eba
racket/draw Cocoa: fix surroate-pair patch for Pango
2014-04-16 12:53:07 -06:00
Jay McCarthy
004957bcd6
Add FAQ section
2014-04-16 12:30:11 -06:00
Jay McCarthy
1df71a96e0
typo
2014-04-16 10:22:41 -06:00
Jay McCarthy
445189bcfa
fix typo
2014-04-16 10:22:41 -06:00
Matthew Flatt
047b3d0f28
fix use-before-definition bug in HtDP language implementation
...
Closes PR 14447
2014-04-16 08:04:36 -06:00