Commit Graph

26470 Commits

Author SHA1 Message Date
Robby Findler
ce8d8eb763 fix the way check syntax traverses #%require expressions that it sees
(the way things currently stand, check syntax needs more information
 from the fully expanded form, but at least now it has a better chance
 to actually use that information, if it were there ...)

related to PR 7815
related to PR 10455
related to PR 10788
2012-09-29 22:09:02 -05:00
Matthew Flatt
14e276094a improve source correlation on `require' expansion 2012-09-29 08:59:10 -06:00
Matthew Flatt
4809c11548 doc fix 2012-09-29 08:59:10 -06:00
Robby Findler
60a035889f make tooltips go away if the drracket window isn't
the top-level window (and make them not appear in
that case, too)

closes PR 13139
2012-09-28 23:09:16 -05:00
Robby Findler
e958c33739 make a bunch of unmutated private fields bound to procedures into private methods
(the usual (define f ...) in a class confusion)
2012-09-28 22:44:27 -05:00
Robby Findler
34bd9bfa72 add a note about the red boxes
related to PR 13080
2012-09-28 15:54:51 -05:00
Robby Findler
e0c4e4055d make color and pen from 2htdp/image be structs in the sense
that 'color' and 'pen' have compile-time info saying that
they are structs

closes PR 13146
2012-09-28 15:09:29 -05:00
Robby Findler
8971cb5981 adjust define-primitive so that it cooperates with struct-info.
Specifically, if there is a third argument to define-primitive, then
it uses the prop:struct-info setup, using that third argument
as the struct-info (in the list format).
2012-09-28 15:09:25 -05:00
Eli Barzilay
679c308c53 Improve setperms example. 2012-09-28 09:31:53 -04:00
Sam Tobin-Hochstadt
3b37d64936 Document ~e from racket/format. 2012-09-27 18:29:55 -04:00
Sam Tobin-Hochstadt
d84631bc6f Don't provide internal identifier. 2012-09-27 18:29:43 -04:00
Eric Dobson
8a8dc66a19 Replace uses of Type? in contracts with Type/c. 2012-09-27 18:10:38 -04:00
Sam Tobin-Hochstadt
cab90c16d5 Test for appropriate predicates for invariant structs. 2012-09-27 17:26:32 -04:00
Sam Tobin-Hochstadt
ee4ba2e3dd Fix define-typed-struct/exec to pass struct-info. 2012-09-27 17:08:49 -04:00
Sam Tobin-Hochstadt
d066a5c1d2 Fix error message pattern for use of cons/c. 2012-09-27 16:39:16 -04:00
Sam Tobin-Hochstadt
c07852eaf1 Ensure that identifiers defined by struct are registered as being defined in the correct module. 2012-09-27 16:22:22 -04:00
Eric Dobson
cf4d43c04f Made free-variance have less special cases. 2012-09-27 16:22:22 -04:00
Eric Dobson
ffe45ecce4 Working covariant applications. 2012-09-27 16:22:22 -04:00
Eric Dobson
40809e768d WIP on fixing free-variance. 2012-09-27 16:22:22 -04:00
Eric Dobson
e3743b446c Split adding the struct type and the bindings. 2012-09-27 16:22:22 -04:00
Eric Dobson
40236a3b26 Cleanup define-struct parsing. 2012-09-27 16:22:22 -04:00
Eric Dobson
8ea7502c12 More cleanup of struct type registration. 2012-09-27 16:22:21 -04:00
Eric Dobson
d84391b695 More struct work 2012-09-27 16:22:21 -04:00
Eric Dobson
626f807f00 Removed cert value. 2012-09-27 16:22:21 -04:00
Eric Dobson
8226b6764c Cleanup of tc-struct and tc-toplevel. 2012-09-27 16:22:21 -04:00
Eric Dobson
d54a573494 Removed unused constructor-return argument. 2012-09-27 16:22:21 -04:00
Eric Dobson
54401182bb Make tc-struct no longer have long lines. 2012-09-27 16:22:21 -04:00
Eric Dobson
12233600c1 Fix -struct to use the right number of arguments to make-Struct. 2012-09-27 16:22:21 -04:00
Eric Dobson
6fe850ce39 Clean up contracts in TR. 2012-09-27 16:22:21 -04:00
Eric Dobson
2a8512ed72 Removed unused fields in Struct 2012-09-27 16:22:21 -04:00
Eric Dobson
745403a88e Make struct type contracts better 2012-09-27 16:22:21 -04:00
Eric Dobson
9e1cf579a4 Fix type->contract on structures. Now uses struct/c. 2012-09-27 16:22:21 -04:00
Ryan Culpepper
8ba835a3c9 added unstable/custom-write 2012-09-27 12:45:55 -04:00
Ryan Culpepper
d8296a31f5 syntax/parse/experimental/template: make errors consistent with 'syntax' 2012-09-27 12:45:55 -04:00
Robby Findler
d9a58e5a6d fix rectangle computation for shortcircuiting drawing
in the module browser

closes PR 13080
2012-09-27 11:16:35 -05:00
Robby Findler
fa891703a8 clean up indentation and move arrows to the front, while I'm here 2012-09-27 11:13:26 -05:00
Robby Findler
28c1c16ed5 fix module browser's red coloring of boxes in the
case that a file is required as x.ss, but its name
is actually x.rkt (and similar situations)

related to PR 13080

Also, Rackety
2012-09-27 10:57:26 -05:00
Robby Findler
c5b5c6f9b5 fixes suggested by latest reviewer of the hosc submission 2012-09-27 09:48:35 -05:00
Matthew Flatt
3f59309634 ffi/unsafe doc repairs
Closes PR 13143
2012-09-27 08:12:56 -06:00
Matthew Flatt
afeeb56fe8 fix doc bug for `gauge%' 2012-09-27 08:12:56 -06:00
Matthew Flatt
dd4dc53e82 when PLTPICTBOX is set, include "Insert Pict Box" in DrRacket
Works well enoough for demos, at least.
2012-09-27 08:12:56 -06:00
Carl Eastlund
7f1cb44b7e Moved default location for compiled-root for easier tab-completion of "collects/". 2012-09-26 14:50:31 -04:00
Robby Findler
9b0eb1ab78 fix redex pdf generation when a string is passed 2012-09-25 15:32:38 -05:00
Jay McCarthy
a5acdb473f Squelching port-closed error messages 2012-09-25 10:21:20 -06:00
Mike Sperber
b420e40b0e Synch German string constants with latest. 2012-09-25 09:51:01 +02:00
Asumu Takikawa
646552b2c4 Reference: fix interface example typo 2012-09-25 01:48:56 -04:00
Robby Findler
ec6408b343 Adjust the web download phase of the install .plt file
menu item in drracket so that it first checks to see if
the downloaded file matches a .plt archive and, if not,
try to put some friendlier message in front of the gzip error

closes PR 9425
closes PR 13129
2012-09-24 14:11:21 -05:00
Ryan Culpepper
008d1f7f1b syntax/parse/experimental/template: quasitemplate, template/loc 2012-09-24 13:31:03 -04:00
Matthew Flatt
44e55689a2 Scribble overview: mention tables comments, and pictures 2012-09-23 11:53:30 -05:00
Matthew Flatt
3fb12b4ff4 raco exe: handle failing submodule search correctly
An attempt to detect a submodule could trigger the original module
name resolver when the would-be enclosing module would be handled
by the embedding-specific resolver. When a submodule is not found
but its would-be enclosing module is embedded, then assume that
the default resolver wouldn't find the submodule, eithe --- and
therefore avoid a potential "collection not found" error.
2012-09-23 10:47:24 -05:00