Matthew Flatt
bfc256270b
ffi/com: fix potential interaction of finalization and custodians
...
Includes new `#:manage?' optional argument to `make-com-object'
and better management of internally created objects.
Merge to v5.3
(cherry picked from commit 38ce4997a9
)
2012-08-03 02:33:53 -04:00
Matthew Flatt
6ea2c86b88
ffi/com: thread safety
...
Protect internal data structures via atomic mode.
Merge to v5.3
(cherry picked from commit 572252daec
)
2012-08-03 02:33:50 -04:00
Matthew Flatt
9313bfde31
ffi/com: adjust order in object release
...
Release type descriptors before type infos, and release type
infos before objects. (This reordering shouldn't matter if
referencing counting does its usual job, but maybe it's better
to use the obvious order.)
Merge to v5.3
(cherry picked from commit 286efface0
)
2012-08-03 02:33:45 -04:00
Robby Findler
7cb2bfa0f8
adjust DMdA languages so they do the same error rewriting that the HtDP
...
languages are doing. This seems to make the error messages in DMdA
behave like they did in 5.2.1 (and so I'm pushing this to see how DrDr
reacts)
(cherry picked from commit 44161d73c8
)
2012-08-03 02:33:41 -04:00
Matthew Flatt
bf8072cb1f
ffi/com: remove stray quote
...
Merge to v5.3
(cherry picked from commit 38167dd4fa
)
2012-08-03 02:33:37 -04:00
Robby Findler
f64438371f
add a test case for check-expect expressions where the first position has an error
...
test case for commit 87a8f70148
related to PR 12943
(cherry picked from commit 2032aaf341
)
2012-08-03 02:33:32 -04:00
Robby Findler
fc9da78f41
adjust check-expect so it rewrites the error messages
...
like they are rewritten in the repl
closes PR 12943
(cherry picked from commit 87a8f70148
)
2012-08-03 02:33:26 -04:00
Matthew Flatt
d68afc364d
ffi/com: fix clean-up of type descriptors
...
Merge to v5.3
(cherry picked from commit 9b1db14328
)
2012-07-30 11:11:30 -04:00
Vincent St-Amour
c9b834353a
Fix type for add-between.
...
(cherry picked from commit b1577bd307
)
2012-07-30 11:11:24 -04:00
Vincent St-Amour
5590615edb
Fix parametric require/typed in typed/racket/base.
...
Closes PR12951.
Please merge to release.
(cherry picked from commit dd02f5eeda
)
2012-07-30 11:11:20 -04:00
Eli Barzilay
e6b3030797
Add "download-libs.rkt" to the core sources.
...
(cherry picked from commit a0e6892d3e
)
2012-07-30 11:11:16 -04:00
Ryan Culpepper
98a4002c64
syntax/parse: fix bug in specialized code for ellipsis patterns
...
The result of 'stx->list' is not always either a list or #f.
Merge to 5.3.
(cherry picked from commit e10951024f
)
2012-07-30 11:11:12 -04:00
Ryan Culpepper
c0b1c96850
fix name of function in docs
...
Closes PR 12950
(cherry picked from commit d19137c998
)
2012-07-30 11:11:09 -04:00
Matthew Flatt
e475d92910
fix interaction of place-channel receive and GC
...
Avoid holding onto a pointer into a place-message page beyond
receipt of the message.
Merge to v5.3
(cherry picked from commit 8fc008c569
)
2012-07-30 11:11:05 -04:00
Eli Barzilay
751e20b3ea
Adjust for new error mesage style.
...
(This is in part a temporary solution since the ",bt" command is now used
to show a backtrace as well as any "foo...:" hidden fields.)
(cherry picked from commit c2bea19d1b
)
2012-07-30 11:11:01 -04:00
Eli Barzilay
ac75555ecb
Minor fix for the installer tests.
...
The last "xrepl" might be at the BOL, with no preceding space.
(cherry picked from commit 5b501da131
)
2012-07-30 11:10:57 -04:00
Robby Findler
c909785f6d
add some simpler exercises to start
...
and link to existing introductory Racket
tutorials
(cherry picked from commit 63dc751450
)
2012-07-30 11:10:54 -04:00
Eli Barzilay
12349ed6e2
Put the main work in a `main' sub-module.
...
This should avoid re-checking the zo file at the end, leading to an
error when it's not there if it moved.
(cherry picked from commit c408dfb03b
)
2012-07-27 14:16:16 -04:00
Eli Barzilay
135aba7dbc
Update self-test checksup for revized "racket -h" text.
...
(cherry picked from commit 7e4e373919
)
2012-07-27 14:16:12 -04:00
John Clements
98282ae667
rewording of release notes message.
...
Merge to 5.3.
(cherry picked from commit a5ebf8181b
)
2012-07-27 00:02:59 -04:00
Matthew Flatt
7a49919608
fix for bytecode validator
...
Fix tchecking for a rest argument to a function that
is lifted by closure conversion so that one of its
arguments is a mutable local variable's location.
Also reject bytecode that would pass too many arguments
to a lifted function, since that would trigger an arity
error that might try to use a location as a value.
Merge to v5.3
(cherry picked from commit 9d6f0e96ba
)
2012-07-27 00:02:56 -04:00
John Clements
19acbbf4bc
release notes update for stepper.
...
please merge to 5.3 release.
(cherry picked from commit 8ba976c035
)
2012-07-27 00:02:50 -04:00
Matthew Flatt
2827a3e280
another repair to `subprocess' test
...
Merge to v5.3
(cherry picked from commit 100212cd53
)
2012-07-26 13:03:32 -04:00
Ryan Culpepper
808ef6e286
Revert "Use unstable/lazy-require
to dynamically-load the compile-time of match
."
...
This reverts commit 8358420fcc
.
2012-07-26 12:16:25 -04:00
Ryan Culpepper
eb5f4bb6df
Revert "revert use of lazy-require' in
racket/match' implementation"
...
This reverts commit 949d12e2c6
.
2012-07-26 12:16:19 -04:00
Matthew Flatt
09a51a9b35
fix a `subprocess' test
...
Merge to v5.3
(cherry picked from commit 8c10dc1579
)
2012-07-26 11:57:02 -04:00
Matthew Flatt
06439ad77f
fix bug in `sync'
...
When `guard-evt' or `nack-guard-evt' is used, `sync' didn't
account for the possibility that a channel or semaphore
action might complete during the call to the guard, in which
case it might fail to select the event that has already
completed.
Merge to v5.3
(cherry picked from commit 880f84b24f
)
2012-07-26 11:56:57 -04:00
Matthew Flatt
76306744ba
racket/port: possible repair for `read-bytes-evt'
...
Also restore and add some tests.
Merge to v5.3
(cherry picked from commit 70ef4e6e57
)
Conflicts:
collects/racket/port.rkt
2012-07-26 11:56:44 -04:00
Matthew Flatt
662ffe7b02
racket/port: fix `make-limited-input-port' handling of progress evts
...
Merge to v5.3
(cherry picked from commit ca3272bd45
)
Conflicts:
collects/racket/port.rkt
2012-07-26 11:52:10 -04:00
Matthew Flatt
d444800018
fix `current-subprocess-custodian-mode'
...
An 'interrupt setting was treated as a 'kill setting.
Merge to v5.3
(cherry picked from commit d8461837f9
)
2012-07-26 11:46:50 -04:00
Matthew Flatt
e209e9c671
windows: fix `subprocess' for an empty argument
...
An empty argument must be quoted at the CreateProcess() level.
Merge to v5.3
(cherry picked from commit df4fed7011
)
2012-07-26 11:46:45 -04:00
Matthew Flatt
b3d6a4f3af
Note require' of a
main' submodule for -t',
-l', and `-p'
...
In the output of `racket -h' and in the command-line docs.
Merge to v5.3
(cherry picked from commit 7d894bfb63
)
2012-07-26 11:46:41 -04:00
Robby Findler
798ee0a3c5
bring drracket history file up to date
...
merge to the release branch, please
(cherry picked from commit fe9cdc0756
)
2012-07-25 11:26:24 -04:00
Robby Findler
20b741538a
brought up to date with version number
...
merge to release branch, please
(cherry picked from commit aa645e9650
)
2012-07-25 11:26:20 -04:00
Vincent St-Amour
70b114b45c
Update TR history.
...
(cherry picked from commit c5b49066a8
)
2012-07-25 11:26:12 -04:00
John Clements
2e8cc1510d
repair hack for beginner-proc names
...
(cherry picked from commit 4e47c669ca
)
2012-07-25 11:26:07 -04:00
Eli Barzilay
6e7afe454b
Use string-no-nuls?' and
bytes-no-nuls?' in more docs & error messages.
...
Also use `byte?' instead of (integer-in 0 255).
(This commit will most likely require some proof-reading.)
(cherry picked from commit a6b20f01da
)
2012-07-25 11:25:58 -04:00
Matthew Flatt
c9d0319a11
add missing `super-new' from class100 conversion
...
Also, move relevant tests to a better place.
Merge to v5.3
(cherry picked from commit 289ae98c8e
)
2012-07-24 12:28:32 -04:00
Eli Barzilay
9c25910c8b
tex2page is gone, update installer tests.
...
(cherry picked from commit d7f0314c74
)
2012-07-24 12:28:28 -04:00
Eli Barzilay
350c8045d7
Update with new "scribble" flag.
...
(cherry picked from commit bc0e46227f
)
2012-07-24 12:28:24 -04:00
Robby Findler
f68f5f6fdb
finish removing the check-expect dock/undock menu items
...
(cherry picked from commit be2c7d7ada
)
2012-07-24 12:28:20 -04:00
Matthew Flatt
7b32c83cbd
normalize module rename info to vector in ".zo" format
...
This is related to the receent repairs for submodules and
`variable-reference->namespace'.
Merge to v5.3
(cherry picked from commit 5a1bc5ad40
)
2012-07-24 12:28:15 -04:00
Robby Findler
07dd4500f5
fix debugger for the case when it decides not to annotate a file
...
related to PR 12937
This doesn't seem to fix the PR since the debugger is currently ignoring
the TR programs (not annotating them) but at least it does not crash now
Please merge to 5.3
(cherry picked from commit fadd1d9714
)
2012-07-24 11:13:00 -04:00
Matthew Flatt
214aeb4810
fix `subprocess' test
...
Merge to v5.3
(cherry picked from commit 22960b9c75
)
2012-07-24 11:12:52 -04:00
Eli Barzilay
31029f9c77
Make some web server example code use a valid URL.
...
(cherry picked from commit 8e889cfdb1
)
2012-07-24 11:12:47 -04:00
Matthias Felleisen
e8ea686340
addex index entry for add/plus, multiply, and friends
...
Closes PR12895 -- well, except that index points to htdp-langs for all five occurrences of each (to be fixed)
merge to v5.3
(cherry picked from commit f9724f389d
)
2012-07-24 11:12:40 -04:00
Asumu Takikawa
87b5e83c6b
Fix guide description of when
...
Closes PR 12445
Merge to v5.3
(cherry picked from commit 2b173612e6
)
2012-07-24 11:12:34 -04:00
Matthew Flatt
1150423fff
ffi/com: AddRef on IUnknown arguments to COM methods
...
Merge to v5.3
(cherry picked from commit cd90510f07
)
2012-07-24 11:12:26 -04:00
Asumu Takikawa
915deb2266
Doc fixes reported by Gary Baumgartner
...
The typo on 'redex.racket-lang.org' still remains.
Relevant to PR 12680
Merge to v5.3
(cherry picked from commit ea1636d4f1
)
2012-07-24 11:12:13 -04:00
Asumu Takikawa
87cfa42c6d
Fix GUI doc typo reported by Kieron Hardy
...
Closes PR 12830
Merge to v5.3
(cherry picked from commit e0e5f7dd28
)
2012-07-24 11:12:09 -04:00