Commit Graph

32618 Commits

Author SHA1 Message Date
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
Matthew Flatt
50bea642b2 adjust errortrace to record potential use-before-definition sites
Formerly, reference to a local variable could never raise an
exception.
2014-04-16 07:02:50 -06:00
Matthew Flatt
6ce5e3d34a optimizer repair related to use-before-defined
Don't optimize away a use-before-definition in an early compiler
pass. (More specifically, adjust the meaning of a flag within an
optimization helper function so that it works for decisions before the
letrec-fixing pass.)
2014-04-16 07:02:50 -06:00
Asumu Takikawa
6c400adce0 Update HISTORY file for mzlib/class100 removal 2014-04-16 00:33:37 -04:00
Asumu Takikawa
5711e9002f Remove the mzlib/class100 library.
Uses of mzlib/class100 have already been removed. The library's
removal was promised in the release notes for Racket v5.3.2.
2014-04-16 00:28:55 -04:00
Matthew Flatt
9fb6f1947b racket/shared: fix test 2014-04-15 20:15:06 -06:00
Matthew Flatt
bc47a58e1d racket/sandbox: fix use-before-definition bug 2014-04-15 20:15:06 -06:00
Matthew Flatt
6452568753 fix test for check-not-unsafe-undefined 2014-04-15 20:15:05 -06:00
Matthew Flatt
2b63977f24 avoid compiler warnings 2014-04-15 20:15:05 -06:00
Matthew Flatt
b4c99eba17 mzlib/unit200: fix for undefined 2014-04-15 20:15:05 -06:00
Asumu Takikawa
9aaaf98b32 Fix TR class support for new class expansion
Also add a type for `check-not-unsafe-undefined` which shows
up in the expanded code now.
2014-04-15 21:18:04 -04:00
Matthew Flatt
aa43797b63 redex: temporary fix for undefined change
Allows `redex` to start, but the check for an undefined value needs
to be removed or adjusted.
2014-04-15 16:39:14 -06:00
Matthew Flatt
df436b0c88 racket/class: add expression to optimizer log message 2014-04-15 16:24:59 -06:00
Claire Alvis
a283f3d804 removing dead code in fun.c 2014-04-15 15:06:41 -06:00
Matthew Flatt
1c0c24cb8f fix for Gtk back-end 2014-04-15 15:06:41 -06:00
Matthew Flatt
d4cf4f4ee8 remove unnecessary "return;"s
Some compilers particularly dislike

 return function_that_returns_void();
2014-04-15 15:06:41 -06:00
Matthew Flatt
0fcde57817 fix Windows projects for new file 2014-04-15 15:06:41 -06:00
Robby Findler
be39851374 adjust DrRacket to work with the new undefined semantics
by completely cheating and initializing the troublesome fields
with a new variation on undefined and turning the definitions
into set!s.
2014-04-15 15:06:29 -06:00
Matthew Flatt
4c947f188d reduce racket/undefined to just undefined 2014-04-15 15:06:28 -06:00
Matthew Flatt
60a1b78070 adjust some classes to avoid chaperones 2014-04-15 15:06:28 -06:00
Matthew Flatt
574b8a5d3b move internal undefined to unsafe-undefined 2014-04-15 15:06:28 -06:00
Robby Findler
f8813474d4 adjust drracket frame startup to conform to new checks
I don't think that there was a bug behind this change. There may
have been and it is probably now easier to reason about this code
than it was before, but I think that this code was probably using
object?, not checking directly with undefined) properly.
2014-04-15 15:06:27 -06:00
Robby Findler
7f7428b1e6 fix a bug in the handling/setup of definitions-canvas 2014-04-15 15:06:26 -06:00
Matthew Flatt
1f7f0af1f3 doc tweaks 2014-04-15 15:06:26 -06:00
Claire Alvis
fbb419a9fa removing debugging code 2014-04-15 15:06:26 -06:00
Matthew Flatt
36cdfcb77a install test suite 2014-04-15 15:06:26 -06:00
Matthew Flatt
714ac04b55 JIT-inline check-not-undefined 2014-04-15 15:06:25 -06:00