Commit Graph

32618 Commits

Author SHA1 Message Date
Robby Findler
fe2c796c41 fix use before definition bug from c8f3974a2 2014-04-09 19:30:36 -05:00
Jonathan Schuster
f175490639 Fix zsh auto-completion
The bash and zsh scripts expect different data from Racket: zsh expects
a list of collect roots and other parent directories of collections,
while bash expects a list of collection names
2014-04-09 16:00:42 -04:00
Matthew Flatt
7b172ac6d7 fix typed/test-engine 2014-04-09 08:15:31 -06:00
Matthew Flatt
145dc95b87 openssl: recognize version 1.0.1g
Merge to v6.0.1
2014-04-09 07:36:37 -06:00
Matthew Flatt
23cf3ba11e upgrade pre-built libraries for Windows and Mac OS X
Mostly upgrades the drawing stack to the latest Cairo, Pango, Glib,
etc., but also upgrades the OpenSSL library on Windows to 1.0.1g.

The new "racket/src/native-libs" directory provides scripts to
rebuild the libraries from source. Those script are fragile, because
library sources and configuration scripts are fragile. The
scripts at least archive some expertise/advice in a mostly executable
form.
2014-04-09 07:35:37 -06:00
Matthias Felleisen
fb34d4e76e fixed structure printing, added example to check-range 2014-04-09 09:41:24 +02:00
Matthias Felleisen
b82b8a6c24 added some student examples to check-within and check-error 2014-04-09 09:41:24 +02:00
Matthias Felleisen
73326c7c86 rewrite docs for check-random to make them student appropriate, ditto for check-expect 2014-04-09 09:41:24 +02:00
Matthias Felleisen
aec84f4a94 added David's check-random to test engine and teaching languages
this is somewhat experimental, but it helps with testing random functions
2014-04-09 09:41:24 +02:00
Asumu Takikawa
8c1206c063 Fix types in typed/file/gif
Thanks to WarGrey Gyoudmon Ju for reporting the bug

Please merge to v6.0.1
2014-04-08 22:45:47 -04:00
Asumu Takikawa
a11144c8f8 Fix internal-external name mapping for TR classes
Please merge to v6.0.1
2014-04-08 16:05:10 -04:00
Asumu Takikawa
5eb1110040 Fix identifier-binding docs and types
Closes PR 14262

Please merge to v6.0.1
2014-04-08 16:05:10 -04:00
Asumu Takikawa
52cc507aa5 Show a REPL type printing example in the TR guide
Please merge to v6.0.1
2014-04-08 16:05:10 -04:00
Vincent St-Amour
81e357d3ae Preserve source locations. 2014-04-08 15:31:22 -04:00
Matthew Flatt
83a573ccd8 racket/undefined: remove undefined? and check-not-undefined
The intent is to provide a minimal bridge between the current Racket
and one where `(letrec ([x x]) x)` no longer works.

Merge to v6.0.1
2014-04-08 11:26:22 -06:00
Matthew Flatt
e9b97c494c raco decompile: fix for #%foreign
Merge to v6.0.1
2014-04-08 10:22:47 -06:00
Vincent St-Amour
d713a08cb5 Allow functions with rest args in with-handlers. 2014-04-08 11:14:22 -04:00
Ryan Culpepper
152cf764a0 Post-release version for the v6.0.1 release 2014-04-08 08:47:35 -04:00
Robby Findler
a3d77986cb fix object/c & fields that just have to exist
closes PR 14437
2014-04-07 22:19:03 -05:00
Max New
74a2b677e8 Use mixed fair and finite list/e and delete unused test file 2014-04-07 21:37:45 -05:00
Max New
6c618efddd Implement fast fair boxy list/e 2014-04-07 21:37:45 -05:00
Max New
11bf21420c Explicitly distinguish between cantor and box pairing vec/e and list/e 2014-04-07 21:37:45 -05:00
Max New
074d762d34 Implement efficient n-tupling decode (not very efficient tho...) 2014-04-07 21:37:44 -05:00
Max New
69a2821290 Add cantor n-tupling vec/e with slow but correct decode 2014-04-07 21:37:44 -05:00
Max New
7c2e7e39b4 Add initial failing fair vec/e tests 2014-04-07 21:37:44 -05:00
Sam Tobin-Hochstadt
d273f3130b Revert "Add output of a few front page examples in explanations."
This reverts commit a5bc367b89.
2014-04-07 17:49:33 -04:00
Asumu Takikawa
5055a61a56 Make parse-type errors align with new Racket style 2014-04-07 16:23:41 -04:00
Asumu Takikawa
e692edc180 Catch #:row-var parsing problems in TR
Closes PR 14434
2014-04-07 16:23:41 -04:00
Sam Tobin-Hochstadt
a5bc367b89 Add output of a few front page examples in explanations. 2014-04-07 15:46:51 -04:00
Robby Findler
c90538d249 fix scale so it cooperates with the dc's current transformation
closes PR 14424
2014-04-06 20:40:37 -05:00
Robby Findler
980e957407 Improve DrRacket .plt installation functionality so that it prints
out the file it tried to unpack when it fails
2014-04-06 17:49:22 -05:00
Robby Findler
e08ffde1b5 fix 2htdp/image for text-only mode and add a test case that
covers improvements from 8fb8f56
2014-04-06 08:38:26 -05:00
Neil Toronto
56d0aad9fc Weaken exception testing for DrDr 2014-04-06 01:15:32 -06:00
Neil Toronto
eae9d4f9b0 Avoid allocations in BSP build and pens/brushes; most 3D plots are 5%-15% faster 2014-04-06 01:13:07 -06:00
Neil Toronto
cd293eb379 Allow plots with 0-length axes
Closes PR 14053
2014-04-05 20:05:09 -06:00
Robby Findler
c8f3974a20 avoid calling pkg-directory so much
by making the assumption that pkg-directory's results
(for a given input) don't change within a since "Run"
in DrRacket
2014-04-05 20:56:36 -05:00
Matthew Butterick
481d19fbdd missing semicolon in Scribble CSS 2014-04-05 19:25:06 -06:00
Matthew Flatt
40027e8b1d pkg/path: fix for when the argument = a pkgs install directory 2014-04-05 16:40:43 -06:00
Matthew Butterick
7a1fe139a5 further dehackify .toptoclink style in Scribble CSS 2014-04-05 16:30:35 -06:00
Matthew Flatt
5193e37f0b racket/gui cocoa: toolbar-button is for 10.6 and earlier, only
In particular, 'toobar-button (before 10.7) and 'fullscreen-button
(10.7 and later) do not get along, so use only one of them.
2014-04-05 16:26:31 -06:00
Neil Toronto
32374df556 Create plot frames in current eventspace; fix plot snip resize override
As suggested by Robby and Eli here:

  http://lists.racket-lang.org/users/archive/2013-March/056771.html

both `plot-frame' and `plot' (when `plot-new-window?' is #t) now create
frames in the caller's eventspace. Doing so fixes the problem talked
about in that thread, and seems like good behavior overall.

Plots created a separate eventspace because of the issue raised here:

  http://lists.racket-lang.org/users/archive/2012-April/051485.html

in which a user was flummoxed by the fact that framed plots don't draw
during read loops in which events can't be processed, and the suggested
solution wasn't easy or obvious. Users may get Plot's old behavior by

  (parameterize ([current-eventspace  (make-eventspace)])
    (plot ...))

which, though still not obvious, is at least easy.

Related to PR 13535: from the user's feedback, plots having their own
eventspaces may cause framed plots to render at the wrong size
initially, and may partly cause them to not redraw when their frame
is resized. Hopefully the eventspace change fixes one or both
problems.

If not, maybe this will: 2d-plot-snip% and 3d-plot-snip%, which
descend from image-snip%, now properly call the superclass method
within their `resize' overrides, so their editors will be notified
of the change and hopefully redraw them.
2014-04-05 16:04:47 -06:00
Neil Toronto
f939725950 Fix internal lock issue in snip canvas by wrapping erase+insert in an edit sequence 2014-04-05 14:07:44 -06:00
Neil Toronto
6a73b6b9ec Fix wrongly raised exception when 3D rectangles are entirely clipped out 2014-04-05 11:47:32 -06:00
Neil Toronto
f00da37186 Remove redundant tests; speeds up contour plots by about 15% 2014-04-05 11:47:32 -06:00
Neil Toronto
1f60dbf57e Currency tick formatting: round before splitting into whole and fractional parts
Fixes erroneous formatting of numbers close to whole numbers; e.g.
0.9999 used to be formatted as "$0.00".
2014-04-05 11:47:32 -06:00
Robby Findler
66c5ac2904 enable fullscreen for drracket in mac os x 2014-04-05 11:54:50 -05:00
Matthew Flatt
cc26a86cb1 scribble manual style: remove toc hack
At mbutterick's recommendation:

 it's causing a strange display problem in TOC listings when the
 cursor is hovering over the link (namely, the underlined space
 dangling from the right edge)
2014-04-05 08:07:48 -06:00
Matthew Flatt
bd1dafdd17 fix package dependencies of "typed-racket-doc" 2014-04-05 08:04:31 -06:00
Matthew Flatt
15630b5245 avoid compiler warning 2014-04-05 07:31:58 -06:00
Matthew Flatt
6d54632319 places on Windows: fix OS thread identification
The bug particularly broke `#:async-apply` handling for an FFI callback,
causing the current thread always to be equated with the target thread.
For example, the teachpack documentation (which now renders images
to SVG) kept crashing on a multi-place build due to callbacks getting
invoked in the wrong place.
2014-04-05 07:13:28 -06:00