Commit Graph

23645 Commits

Author SHA1 Message Date
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
Ryan Culpepper
a100395626 rackunit: prevent test case from killing test-runner thread
closes PR 11586
2011-10-07 19:40:48 -06:00
Ryan Culpepper
528c05b228 emphasize syntax/id-table over syntax/boundmap 2011-10-07 19:40:48 -06:00
Ryan Culpepper
00c6f91e7c db: fix use of lazy-require 2011-10-07 19:40:48 -06:00
Ryan Culpepper
f7a6c4a3b6 rackunit: all checks return void
closes PR 12001
2011-10-07 19:40:48 -06:00
Ryan Culpepper
e72b9cc3fd macro-debugger: removed simplify-marks
closes PR 12248
2011-10-07 19:40:48 -06:00
Ryan Culpepper
d3cb67b756 syntax/parse: fixed docs
closes PR 12255
2011-10-07 19:40:48 -06:00
Neil Toronto
a07af20658 Fixed >=/c contracts 2011-10-07 19:22:33 -06:00
Neil Toronto
c655cd0efb Contract and parameter doc pages 2011-10-07 19:09:04 -06:00
Neil Toronto
50cf71466e Reduced the number of plot-specific contracts 2011-10-07 18:05:54 -06:00
Neil Toronto
644abe30fe Reworked number formatting for plot labels 2011-10-07 17:29:27 -06:00
Matthew Flatt
9aa93ab5ae Revert "cocoa: change the way the app is initialied"
This reverts commit 60101618db.

While this changes fixes a 64-bit Lion problem, it creates a
worse problem of breaking file and print dialogs.
2011-10-07 15:25:31 -06:00
Neil Toronto
8a60e1816a Fixed contracts in documentation 2011-10-07 13:09:27 -06:00
Robby Findler
7aa6153da1 adjust the calls to paragraph-{start,end}-position to specify the default argument 2011-10-07 14:02:27 -05:00
Robby Findler
2339046554 shrink some long lines 2011-10-07 11:48:39 -05:00
Robby Findler
93c1d1dd36 add a 'find longest line' menu item to the edit menu 2011-10-07 11:48:39 -05:00
Robby Findler
e7197c4129 fix tooltip placement in online check syntax (only affects mac os x) 2011-10-07 11:48:24 -05:00
Robby Findler
a40f288e48 relaxed the restrictions on planet requires in the teaching languages to allow the new forms 2011-10-07 11:48:24 -05:00
Robby Findler
57deb86f7b don't invalidate the error ranges for online check syntax when there is no admin
I believe that this can go wrong in the case that you edit a buffer and switch tabs
before drracket fully finishes responding to the edited buffer (due to a queue-callback
that postpones some of the response to editing the buffer) for online expansion.
At least, this is how I guess that the error below happened:

send: target is not an object: #f for method: get-view

 === context ===
/Users/robby/git/exp/plt/collects/racket/private/class-internal.rkt:4602:0: obj-error
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1485:6: get-box method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1397:6: invalidate-online-error-ranges method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1387:6: clear-old-error method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/drracket/private/module-language.rkt:1177:6: buffer-modified method in .../module-language.rkt:1151:4
/Users/robby/git/exp/plt/collects/mred/private/wx/common/timer.rkt:34:38
/Users/robby/git/exp/plt/collects/mred/private/wx/common/queue.rkt:432:6
/Users/robby/git/exp/plt/collects/mred/private/wx/common/queue.rkt:472:32
/Users/robby/git/exp/plt/collects/mred/private/wx/common/queue.rkt:618:3
2011-10-07 11:48:24 -05:00
Matthew Flatt
b6a9330bf1 more `raco exe' cycle repairs 2011-10-07 10:32:49 -06:00
Matthew Flatt
f02ea92250 fix compiler bug related to `#%variable-reference' on local
The first compiler pass didn't properly shift the stack offset
when adjusting the context of a varref of a local.

Closes PR 12258
2011-10-07 09:42:33 -06:00
Eli Barzilay
f5230d858f Catch tcp failures in the http verification. 2011-10-07 11:05:15 -04:00
Eli Barzilay
a68ea14d8b Fix typo in symbol name, keep old one still.
Closes PR 12265.
2011-10-07 10:47:15 -04:00
Matthew Flatt
add50ab436 cocoa: undo hack of "-64" suffix on app names
Commit 60101618db seems to address the real problem.
2011-10-07 08:05:25 -06:00
Matthew Flatt
60101618db cocoa: change the way the app is initialied
Calling NSApplication's `run' works better than calling `finishLaunching'
directly, particularly in 64-bit Lion for some reason.

Relevant to PR 12102
Relevant to PR 12257
2011-10-07 08:05:15 -06:00
Neil Toronto
94a9a808ec Closes PR 12262. 2011-10-06 19:02:31 -06:00
Neil Toronto
55f71c9fa7 Finished doc page for plot/utils 2011-10-06 19:02:31 -06:00
Sam Tobin-Hochstadt
9cc2c441ee Add note on `match' semantics. 2011-10-06 18:32:05 -04:00
Sam Tobin-Hochstadt
463a34ec90 Revert "Fixing racket/match by removing errorneous optimization with test that shows it is broken"
This reverts commit 41307f1346.
2011-10-06 18:32:05 -04:00
Sam Tobin-Hochstadt
1d9ac41772 Use unsafe-vector* instead of unsafe-vector in a few benchmarks. 2011-10-06 18:17:45 -04:00
Rodolfo Carvalho
412201796a Fix typo in the documentation.
Affected section:
The Racket Guide > 17 Creating Languages
> 17.3 Defining new #lang Languages > 17.3.2 Using #lang reader
2011-10-06 17:08:22 -04:00