Commit Graph

30594 Commits

Author SHA1 Message Date
Jay McCarthy
8090a2d23a Moving planet-compat to S3 2013-10-11 16:37:23 -06:00
Jay McCarthy
4ff41fdea2 Including test from PR14064 2013-10-11 16:37:23 -06:00
Vincent St-Amour
b282436a7a Fix pkg documentation to reflect implementation. 2013-10-11 18:21:38 -04:00
baoti
d9f0d52c8a Fix path-replace-suffix' and path-add-suffix' on path for some system 2013-10-11 16:09:30 -06:00
Matthew Flatt
7e42ee2003 fix custodian-related memory-management problem
The problem mainly affected `register-custodian-shutdown`
from `ffi/unsafe/custodian`, which is used by `math/bigfloat`
and `ffi/unsafe/com`.

When a value is registered with a custodian, the value is held
weakly, but the shutdown procedure is intended to be held
strongly. At the C API level, the data associated with a shutdown
function pointer is intended to be held strongly.

A custodian itself, however, is retained weakly by other custodians
in its family, so that custodians can be GCed and their elements
transferred to a parent custodian. Since the custodian itself may
be held only weakly, the callback & data in a custodian was effectively
held weakly --- which, in turn, can break assumptions in code such
as `ffi/unsafe/custodian` that expects strong references to prevent
finalizers from running.

Fix the problem by registering a reference to callback data as
data in a custodian's finalizer, which makes the data strongly
retained no matter how the custodian is retained.
2013-10-11 13:11:13 -06:00
Matthew Flatt
a22fd9e7ac slideshow: fix clipping for 4-up mode and for printing 2013-10-11 13:11:13 -06:00
Matthew Flatt
23f4a8e56e racket/runtime-path: fix ".ss" vs. ".rkt" search for lib paths
The package split exposed another place where searching
is needed, because the fallback in `collection-file-path`
to `collection-path` didn't work after the split.
2013-10-11 13:11:13 -06:00
Matthew Flatt
e8605a7181 avoid internal error on misconfigured executable 2013-10-11 13:11:12 -06:00
Stephen Chang
9695098bbb fix math/number-theory docs, permutations example 2013-10-11 00:32:46 -04:00
Matthew Flatt
ca002494e3 fix an inconsistency in free-identifier=?
Closes PR 13982
2013-10-10 18:16:47 -06:00
Matthew Flatt
9a74e633ae macro expander: restore a minor shortcut lost in a previous commit
The commit c352ef8f lost a shortcut that is used for looking up
certain bindings in an environment during expansion/compilation.
2013-10-10 18:16:46 -06:00
Matthew Flatt
500b1fbeaa slideshow: another attempt to fix letter box clipping
The workaround in 16552e9a67 wasn't right. This commit fixes
the bug, which was that the clipping region wasn't reset correctly,
instead f trying to work around it.
2013-10-10 18:16:46 -06:00
Vincent St-Amour
d6372ef2dc TR for clause specialization: Report specialization failures. 2013-10-10 17:18:03 -04:00
Vincent St-Amour
456f32b77f TR for clause specialization: More detailed message. 2013-10-10 17:18:03 -04:00
Vincent St-Amour
cef7348e8d TR for clause specialization: log syntax objects with location info. 2013-10-10 17:18:03 -04:00
J. Ian Johnson
0be82aee0a Make references to fast-X in prose match fast-X in code. 2013-10-10 15:12:03 -04:00
Asumu Takikawa
697ac8dc42 Fix RacketCon link
(now that the main con link just aggregates the
 year pages, the old behavior is not useful)
2013-10-10 14:06:28 -04:00
Neil Toronto
ae4f9c5ff2 Fix props 2013-10-09 20:23:55 -06:00
Neil Toronto
0bb6f256dd Use new plot/pict module for math docs 2013-10-09 18:44:02 -06:00
Neil Toronto
aeeb691337 Split "math" package into "math", "math-lib", "math-doc" and "math-test" 2013-10-09 18:16:25 -06:00
Neil Toronto
384ff2aa36 Removed dependency on "plot-compat" from "plot" package 2013-10-09 17:51:05 -06:00
Neil Toronto
0edd7e0f40 Split "plot" package into five packages 2013-10-09 17:40:41 -06:00
Neil Toronto
f6a4881347 Plot source reorg before separating "plot" into multiple packages
Also added plot/pict and plot/bitmap (and typed versions)
2013-10-09 15:20:44 -06:00
Matthew Flatt
70b6f6464f fix .zo marshal of a syntax object containing a hash table in a list
Also, fix `zo-parse` unmarshaling of syntax-object hash tables.

Closes PR 14087
2013-10-09 07:09:36 -06:00
Matthew Flatt
f649599681 repair for 5eee14032f
This repair needs a test case, but I think the test will require a lot
of scaffolding to set up a package configuration, so I'm leaving that
part on my todo list for now.
2013-10-08 16:48:31 -06:00
Matthew Flatt
94e767cfa9 pict: restore use of loaded mask, if any, by bitmap
In case a `bitmap%` object with a mask is passed to `bitmap`.
2013-10-08 16:11:17 -06:00
Matthew Flatt
16552e9a67 slideshow: fix letterbox clipping by avoiding offscreen mode 2013-10-08 16:11:17 -06:00
Asumu Takikawa
8df734048c Fix error message for misuse of #:methods
Closes PR 14069
2013-10-08 14:32:34 -04:00
Asumu Takikawa
f6d62b2813 Make : error on unbound identifiers
Closes PR 13298
2013-10-08 12:06:58 -04:00
J. Ian Johnson
075803c090 Filled out pin-arrow-label-line interface to match pin-arrow-line. 2013-10-08 11:36:37 -04:00
Vincent St-Amour
72c18c7e3f Fix docs for pin-arrow-line. 2013-10-08 11:36:37 -04:00
Ryan Culpepper
80b3f33b67 updated tests 2013-10-07 09:31:21 -04:00
Ryan Culpepper
c4ba293c7e better "expected more terms" messages in some cases
Still need docs, make constant stxclass descriptions available
2013-10-07 09:23:11 -04:00
Ryan Culpepper
a086943b7c fix typo 2013-10-07 09:23:11 -04:00
Sam Tobin-Hochstadt
4b203646e1 Increse timeouts. 2013-10-06 23:27:04 -04:00
Matthew Flatt
2728c5fb21 fix test for previous commit 2013-10-06 17:57:11 -06:00
Matthew Flatt
5eee14032f raco setup et al.: fix problem with relative paths that exit a collection
Closes PR 14063
2013-10-06 17:23:51 -06:00
Robby Findler
a13aed7420 fix name of struct constructor built by struct-out
closes PR 14073
2013-10-06 08:21:40 -05:00
Ryan Culpepper
007d563a41 fix attr check for ~optional defaults
closes PR 14076
2013-10-05 15:20:04 -04:00
Ryan Culpepper
383c363c68 fix dict-empty?
closes PR 14075
2013-10-05 15:20:04 -04:00
Sam Tobin-Hochstadt
7dd3b82d1b Fix props for cext-lib pkg. 2013-10-05 13:15:39 -04:00
Matthias Felleisen
bae9caf977 fix bug with boolean result check in stop-when, Rackety 2013-10-05 12:03:06 -04:00
Matthias Felleisen
72a574c108 fix persistent bug in terminating universe via clock limit 2013-10-05 12:03:05 -04:00
Neil Toronto
876995d52c Added `point-label3d', notion of layers (back, area, front) to 3D plots 2013-10-04 13:57:41 -06:00
Matthias Felleisen
bbe1cc9ab6 fixed test with display line 2013-10-04 15:11:15 -04:00
Matthias Felleisen
e9ee4c4504 test for stop-when problem with booleans 2013-10-04 15:11:15 -04:00
Robby Findler
88871caf6e fix image list coercion
unbreaks place-image in the case that it gets bitmaps directly

Also, bring test-image.rkt down below 102 columns
2013-10-04 10:09:47 -05:00
Vincent St-Amour
ba9873b0a0 Fix TR constructor detection.
Was accidentally turning #%expression into #%plain-app in some cases.
2013-10-04 10:18:44 -04:00
Robby Findler
16778910f5 fix the conversion to a [0,360) interval for angles in 2htdp/image
closes PR 14071
2013-10-03 19:07:36 -05:00
Sam Tobin-Hochstadt
c88e536c46 Add (very simple) type for hash. 2013-10-03 13:14:02 -04:00