Commit Graph

33925 Commits

Author SHA1 Message Date
Robby Findler
ec5ccb0a8b added pict-snip to the main-distribution pkg 2014-08-07 03:08:49 -05:00
Robby Findler
7714db3f0a added pict-snip pkgs 2014-08-07 03:08:49 -05:00
Robby Findler
8ec1fb6f7a remove dependency on racket/snip (use file/convertible instead
of a direct reference to bitmap-snip%)
2014-08-07 03:08:49 -05:00
Matthew Flatt
fd67feddab racket/draw and racket/snip: avoid some undefined-checking wrappers
The changes to `pen%` and `brush%` are related to the
`racket/class` repair of the previous commit, while the
`style%` change is because I didn't look at it before.
2014-08-06 08:48:19 +01:00
Matthew Flatt
f4c1d7ec03 racket/class: add missing check for #<unsafe-undefined>
When a superclass method is called before the superclass
is initialized, then all field accesses need to be guarded.

Robby found this one.
2014-08-06 08:46:51 +01:00
Matthew Flatt
698c22ef9d meta/new-web: handle versionless source variant
Although a versionless variant of the source bundle is available,
we leave it off the web page, because it's intended for automatic
processes.
2014-08-05 16:34:22 +01:00
Matthew Flatt
fe12e93192 bump version 2014-08-05 16:23:10 +01:00
Matthew Flatt
513ff77811 racket/gui: report AltGr combination for left Control plus right Alt
Use the new AltGr report to enable Control-Alt- combinations in
DrRacket (and other framework programs) when they do not intefere
with plain AltGr combinations.
2014-08-05 16:23:09 +01:00
Matthew Flatt
926e64f5f1 fix "fixing letrec" pass
Adjust the compiler pass to insert checks for #<unsafe-undefined>.
The chanegs amount to throwing out the old attempt to follow the
implementation sketched in "Fixing Letrec", and instead use a
simpler abstract interpretation.
2014-08-05 16:22:31 +01:00
Matthew Flatt
ac428f89fa use-before-definition analysis: fix checking of with-cont-mark form
Similar to the `set!` problem.
2014-08-05 16:00:19 +01:00
Matthew Flatt
6efac46b3f letrec-check analysis: remove no-op part of implementation
The `deferred_uvars` list is constucted so that it always
has the same length as `uvars`.
2014-08-05 16:00:19 +01:00
Matthew Flatt
837a55f484 use-before-definition analysis: fix handling of let[*]
Bindings in `let` and `let*` need to be tracked much the same
way as for `letrec`, so that

 (letrec ([b (let ([d (lambda () c)])
               (d))]
          [c 1])
   b)

raises an exception.
2014-08-05 16:00:19 +01:00
Matthew Flatt
7d85bccaa2 use-before-definition analysis: fix checking of set! form
Treat the RHS of `set!` as escaping to an unknown context, so
that any variables it references are treated as unprotected.
2014-08-05 16:00:19 +01:00
Matthew Flatt
3801fc0432 scribble: fix image metrics in HTML output for exact fractions
Avoid generating sizes such as `1003790/1581`.
2014-08-05 16:00:18 +01:00
Robby Findler
a9ce8bfd65 modernize stlc.rkt and eliminate ellipses so that well-typed generation works 2014-08-05 01:55:41 -05:00
Mike Sperber
106cd16d35 Synch German string constants with latest. 2014-08-03 20:17:02 +02:00
Robby Findler
e0351c07fc a little more extra info for drdr 2014-08-02 19:27:28 -05:00
Asumu Takikawa
d3057da2ac Use blueboxes cache in xrepl 2014-08-02 14:22:01 -04:00
Ryan Culpepper
7ba6c663cd v6.1 announcement text 2014-08-02 13:33:29 -04:00
Ryan Culpepper
7608125543 v6.1 installers info 2014-08-02 11:19:51 -04:00
Robby Findler
b77731617c add a will-executor example 2014-08-02 09:11:27 -05:00
Robby Findler
484f512965 add a little more info in the syntax check printouts for drdr 2014-08-02 09:11:27 -05:00
Matthias Felleisen
1bf4bf1872 signatures broke a while back and nobody uses then in *SL 2014-08-02 09:10:24 -04:00
Asumu Takikawa
ac93668a20 Show blueboxes info in xrepl with ,describe 2014-08-02 08:26:49 -04:00
Robby Findler
4315018ace change a hash so it doesn't map from syntax objects directly, but
instead constructs a suitable key
2014-08-02 06:22:28 -05:00
Robby Findler
bc5ab79910 add some debugging output to try to figure out what's different about drdr
when running the check syntax tests
2014-08-02 02:31:58 -05:00
Robby Findler
cad8331141 use scribble/blueboxes 2014-08-02 01:52:44 -05:00
Robby Findler
24ecd04563 add a scribble/blueboxes library to get the content of the
blueboxes in unstyled form

(moved from DrRacket here)
2014-08-02 01:52:44 -05:00
Matthias Felleisen
e4c6d76269 bring back structure type w/o re-enabling broken signatures 2014-08-01 22:58:03 -04:00
Matthias Felleisen
6782f7a85f I broke this test; I am not sure why it worked in the first place -- to be checked 2014-08-01 21:42:39 -04:00
Matthias Felleisen
42426272c2 disabled signatures instead of allowing renaming because they are not working anyway (?) 2014-08-01 21:17:40 -04:00
Matthias Felleisen
1d227b5a6d some Racket-y, mostly focused on 102 2014-08-01 13:54:13 -04:00
Matthias Felleisen
8a0cdb83de improved syntax check for check-satisfied 2014-08-01 10:08:21 -04:00
Matthias Felleisen
e430753b6c some Racket-y (102); arrows and renaming for define-struct in teaching languages; need to find and run lang tests 2014-08-01 09:00:51 -04:00
Matthew Flatt
a57734d7ae racket/gui cocoa: revive make-gl-bitmap for Mac OS X 10.7 and up
Port from AppleGL to CoreGL, and implement offscreen drawing through
a framebuffer instead of CGLSetOffScreen() for 10.7 and later.
2014-07-31 14:47:30 +01:00
Matthew Flatt
efd7593097 meta/pkg-build: minor repair to status messages 2014-07-31 10:28:19 +01:00
Matthew Flatt
30d30ce74c win32: fix 32-bit get-seconds 2014-07-31 09:53:07 +01:00
Robby Findler
459a8cbe71 fix link to drracket docs 2014-07-31 01:34:41 -05:00
Sam Tobin-Hochstadt
6a62717b8d Shorten strings shown in C-S-o 2014-07-30 17:00:40 -07:00
Sam Tobin-Hochstadt
c24a864986 Remove long lines in typecheck-tests.rkt 2014-07-30 16:07:20 -07:00
Sam Tobin-Hochstadt
5bda93dfd5 Don't allow nullary functions under Any to be called.
Closes PR 14173.
2014-07-30 16:07:19 -07:00
Sam Tobin-Hochstadt
9eaae1f93e Close holes in what values can be thrown.
- Don't allow 3d-syntax in the exprs field of `exn:fail:syntax`
- Don't allow throwing arbitrary higher-order values
2014-07-30 16:07:19 -07:00
Asumu Takikawa
597c62949b Fix typo for syntax-shift-phase-level docs
Closes PR 14665
2014-07-30 14:46:29 -04:00
Asumu Takikawa
c140308603 Export editor stream base classes in TR GUI 2014-07-30 14:46:29 -04:00
Matthias Felleisen
dc7a3da60f clean up doc
it is still worrisome that I am documenting something from here that students should never, ever see
2014-07-30 13:21:24 -04:00
Matthias Felleisen
92ac062511 clean up requires 2014-07-30 13:20:46 -04:00
Matthias Felleisen
6a18525eba how to add a new check- feature to test-engine 2014-07-30 11:26:13 -04:00
Matthias Felleisen
eb8fb04baa check-satisfied: the basic functionality, the display in repl and test suite gui, plus the communication among these modules; missing: language constant 2014-07-30 11:26:13 -04:00
Matthias Felleisen
08f32b1a6e check-satisfied: added tests for test success and failure; todo (in general): error message checks 2014-07-30 11:26:12 -04:00
Matthias Felleisen
fd99525638 check-satisfied: added feature to the htdp languages 2014-07-30 11:26:12 -04:00