Commit Graph

23075 Commits

Author SHA1 Message Date
Matthew Flatt
c74bce598b fix Ctl-C problems in parallel `raco setup'
The main problem was that when a place catches an exception,
it would continue in breaks-disabled mode. Also improve
`parallel-do' to detects additional breaks when waiting on
places and propagate them, in case a place was running something
that ate the initial break.
2011-10-11 15:54:22 -06:00
Matthew Flatt
fe9e34f938 skip future mutex if no futures started
Skipping the check makes a measurable difference when
several places are running.
2011-10-11 15:09:23 -06:00
Matthew Flatt
a9b1a38f34 reduce place-channel allocation 2011-10-11 15:09:22 -06:00
Matthew Flatt
04e75dd82a revert GC block cache to reasonable size 2011-10-11 14:36:53 -06:00
Matthew Flatt
5c0956d7b1 more memory accounting fixes for places
Fix memory accounting to detect when messages pile up in a
place channel and when shared values (such as the result of
`make-shared-bytes') pile up. Also fix problems where a GC
or free-page purge needs to be triggered.

The implementation causes a minor API change, which is that
a place channel sent multiple times as a message generates
values that are `equal?' but no longer eq?'.

Closes PR 12273

[Do not merge to 5.2]
2011-10-11 11:26:11 -06:00
Robby Findler
4d00b13ce0 adjust the autosave gui so that closing the window doesn't cause drracket to
exit (this only happened on non-mac os x platforms)

include in 5.2
2011-10-11 10:44:00 -05:00
Robby Findler
95e29376fd error message typo
include in 5.2
2011-10-11 10:43:37 -05:00
Robby Findler
10d19bf8d5 adjust 2htdp/image library so that it doesn't create arbitrarily large
bitmaps when rendering images

closes PR 12277 (except I didn't fix the make-bitmap contract)

include in 5.2
2011-10-11 08:33:50 -05:00
Matthew Flatt
32b5390ad2 add missing GC registration for places
Merge to 5.2
2011-10-11 06:45:14 -06:00
Matthew Flatt
dc912ee6de third attempt to fix 64-bit Lion hidden-window problem
After all the previous attempts, the problem seems almost trivial:
although Apple documents `NSAnyEventMask' as the constant #xFFFFFFFF,
it's actually NSUIntegerMax (and the difference matters in 64-bit
mode).

Merge to 5.2.
2011-10-10 15:48:30 -06:00
Matthew Flatt
9fd11ac92c Revert "another attempt to fix the 64-bit Lion hidden-window problem"
This reverts commit f6e5468dbb.

Merge to 5.2
2011-10-10 15:38:42 -06:00
Matthew Flatt
5724aa1d1b doc clarifications
Merge to 5.2
2011-10-10 14:45:53 -06:00
Matthew Flatt
6aaa0d44c0 fix argument-error report
Merge to 5.2
2011-10-10 14:18:40 -06:00
Neil Toronto
a0e2401cbe Fixed error: attempt to divide by (void) when axis bounds' length is a multiple of 1000
Please merge into 5.2
2011-10-10 13:28:36 -06:00
Robby Findler
90304687f1 improve the strategy for check syntax's tail arrow information collection
In particular, instead of trying to collect all of the arrows and do some kind
of a smart transitive closure (that tries to avoid adding links that would "skip"
expressions but doesn't always manage it), the new code tries instead to build
the right links directly while traversing the fully expanded expression

This also seems to have been a minor performance improvement. When running the
information collection phase of check syntax (ie, not counting the time for
expansion) on a 1.8 GHz core i7, for collects/framework/private/text.rkt,
the times went from:

cpu time: 7347 real time: 7413 gc time: 211
cpu time: 7328 real time: 7393 gc time: 239
cpu time: 7356 real time: 7418 gc time: 240

to:

cpu time: 7562 real time: 7632 gc time: 265
cpu time: 7555 real time: 7618 gc time: 269
cpu time: 7552 real time: 7617 gc time: 262

closes PR 11835

do not include in 5.2
2011-10-10 14:18:01 -05:00
Robby Findler
fa98274aed add a checkbox to the 'evaluation terminated' dialog to avoid seeing that dialog
closes PR 6575

don't include in 5.2
2011-10-10 14:18:01 -05:00
Eli Barzilay
ca64179b63 "half-screen" -> "right-half-screen".
(I don't know why this was needed, but calling it "half-screen" looks
like it's asking for future trouble.)
2011-10-10 13:35:00 -04:00
Eli Barzilay
e9db4df6c3 Clearer question about running an existing uninstaller. 2011-10-10 13:30:04 -04:00
Eli Barzilay
de40798d49 Rename "$WHERE1" -> "$BASE". 2011-10-10 13:30:03 -04:00
Kevin Tew
1a2d425ece Fix QNX merge to 5.2 2011-10-10 11:07:29 -06:00
Kevin Tew
abc0af81d2 Slideshow --half-screen 2011-10-10 11:07:29 -06:00
Kevin Tew
58b1f86326 pr 12268 fix merge to 5.2 2011-10-10 11:07:29 -06:00
Rodolfo Carvalho
a3890f7e32 Fix typo in Slideshow documentation 2011-10-10 11:49:24 -04:00
Vincent St-Amour
90aa9c9d75 Typoes. 2011-10-10 11:40:51 -04:00
Jay McCarthy
b20ffdbe95 Fixing breakage from push 23693 2011-10-10 08:27:34 -06:00
Jay McCarthy
354283132d Fixing PR 12271 2011-10-10 06:45:42 -06:00
Matthew Flatt
c805728d3e fix compiler confusion: non-mutating vs reorderable unsafe ops
Reordering `unsafe-vector-ref' past an `unsafe-vector-set!' was
particularly bad. Meanwhile, some non-mutating operations like
`unsafe-mcar' were treated too conservatively.

Merge to 5.2
2011-10-09 19:46:24 -06:00
Matthias Felleisen
051649fc13 history for release 2011-10-09 20:16:50 -04:00
Matthew Flatt
b377cafdac mark OS jmpbuf as GC-ignored
This change is intended to make the QNX port work, but it
should also future-proof Racket a little for other platforms.
2011-10-09 10:45:24 -06:00
Matthew Flatt
e2bcbb0dfb fix QNX sconfig entry
Merge to 5.2
2011-10-09 10:34:40 -06:00
Matthew Flatt
8f0fa96d69 docs and release notes for `set-icon' change
Merge to 5.2
2011-10-09 09:45:42 -06:00
Sam Tobin-Hochstadt
1b69d742bd Change basic-top-level-window% to support `set-icon', and use to set icon for splash screen.
Closes 12241

Merge to 5.2
2011-10-09 09:43:32 -06:00
Matthew Flatt
8bd81f4806 fix ffi retain of callbacks
The FFI's weak table of callback procedures (to map Racket procedures
to FFI callback objects) suffered from the classic key-in-value
problem.

Closes PR 12228, probably

Merge to 5.2
2011-10-09 09:01:15 -06:00
Mike Sperber
334bf53bb9 Synch German string constants with latest. 2011-10-09 15:21:00 +02:00
Eli Barzilay
ceacfe5ef5 New Racket version 5.2.0.1. 2011-10-09 03:50:16 -04:00
Matthew Flatt
bf3f09a3c1 cocoa: fix `show #f' on already unshown frame shows it briefly
Merge to 5.2
2011-10-08 16:47:19 -06:00
Matthew Flatt
1bc80310e3 fix compiler bug that could cause infinite inlining loop
The bug was that a procedure could be incorrectly marked as
a "leaf" procedure, which could in turn cause the compiler
to keep inlining a very small procedure that calls itself.

Closes PR 12270

Merge to 5.2
2011-10-08 16:40:34 -06:00
Robby Findler
5db48b3e73 avoid calling the show method for tooltips unless the frame is shown.
please include in 5.2
2011-10-08 16:50:21 -05:00
Stephen Chang
79dd7df945 fix lazy stepper bug: annota of non-identifier fns
- fix lazy stepper bug where delaying of non-identifier fns
  wasnt being properly hidden
- add test case for this bug

include in 5.2
2011-10-08 15:59:32 -04:00
Robby Findler
fcc720f43e adjust uses of after-load-file to use the success? flag 2011-10-08 10:50:27 -05:00
Matthew Flatt
ed38297c97 editor<%> doc fixes 2011-10-08 09:12:31 -06:00
Matthew Flatt
379991c5bb fix text% `get-paragraph-{start,end}-position' bug and doc bugs
Merge to 5.2
2011-10-08 09:12:30 -06:00
Robby Findler
d362bda6d3 adjust the way languages are chosen when opening a file.
Specifically, in the case that we're inheriting a language setting
from some earlier preference or something and the language we're
inheriting is one that saves prefixes, and the current file being
opened does not match any of the possible prefixes, then revert
to the not-a-language language, instead of using the value from
the preference

Also: finish the removal of the EoPL language level from the
DrRacket langauge dialog, and clean up the 'get guidance' dialog

Please cherrypick this commit to the 5.2 release branch
2011-10-08 09:46:06 -05:00
Matthew Flatt
41b18e3608 windows: add sqlite3.dll
Merge to 5.2
2011-10-08 07:18:49 -06:00
Robby Findler
1eaf53d4cb adjust the module lexer so that it treats the entire range that
'read-language' uses as a single token in the case that read-language
fails. This helps it to deal with things like s-exp and at-exp
properly

closes PR 12260
2011-10-08 08:08:36 -05:00
Matthew Flatt
f6e5468dbb another attempt to fix the 64-bit Lion hidden-window problem
This fix uses the same`run'-vs-`finishLaunch' technique as before,
but patches up the modal-dialog problem by calling `run' again
with a callback to start a modal loop.

Merge to 5.2.
2011-10-08 06:12:17 -06:00
Eli Barzilay
7d1b00ff69 Typo in error message detection 2011-10-08 03:02:20 -04:00
Ryan Culpepper
ecd7519f56 Post-release version for the v5.2 release 2011-10-07 22:10:32 -06:00
Ryan Culpepper
192e039e66 fix docs (eval) for syntax/keyword 2011-10-07 19:40:48 -06:00
Ryan Culpepper
a1009bbf26 syntax/parse: add begin-for-syntax to kernel-literals 2011-10-07 19:40:48 -06:00