Ryan Culpepper
ecb88ffd45
Revert "db: use channel instead of semaphore + result variable"
...
Using a sync. channel breaks kill-safety.
This reverts commit 8363db9258
.
2012-08-28 22:04:05 -04:00
Matthew Flatt
d953bc27ba
fix `ffi/unsafe/nsalloc'
...
Using `call-as-atomic' isn't right, because that allows an escape
via `call-as-nonatomic'. Assuming that `call-as-nonatomic' isn't
used, it seems like `call-as-atomic' should be ok, anyway, but
somehow its leads to unbalanced `end-atomic' calls.
2012-08-28 18:45:55 -06:00
Matthew Flatt
003613395d
fix `font%' amnipulation to work in atomic mode
2012-08-28 17:27:14 -06:00
Matthew Flatt
dba3c14746
fix editor-canvas%' internal
on-size' handling
...
The `on-size' method is called in atomic mode,
and we can't call into the editor's sizing functions
in atomic mode.
Watch out for refresh and/or window-sizing problems.
2012-08-28 17:21:45 -06:00
Matthew Flatt
b61f3f751c
port position-tracking clean-ups
...
Add `file-position*', which can return #f instead of raising
an exception when a port's position is unknown. Change
`make-input-port' and `make-output-port' to accept more
kinds of values as the initial position.
These changes make it possible to synchronize a port's
position with a `port-commit-peeked' action. It's ugly,
which I think reflect something broken about position
tracking in the port protocol (which seems difficult to fix
without breaking compaibility).
2012-08-28 16:04:41 -06:00
Asumu Takikawa
466b4e2c60
racket/generic: eliminate ctc dependency in private interface
...
Closes PR 13051
2012-08-28 17:54:35 -04:00
Robby Findler
496bfd3b57
add anote about C-F6 and a pointer to how to search in
...
the keybindings window for more such bindings
2012-08-28 16:30:33 -05:00
Robby Findler
fc03ab6c69
add a mention of the flat/chaperone/impersonator contract hierarchy to the contract docs
2012-08-28 13:19:05 -05:00
Matthew Flatt
763882f651
add port shortcut for `make-{input,output}-port'
...
Providing a port instead of a reading or writing procedure
redirects the read/write to the specified port. This shortcut
is kind of a hack, but the run-time system can easily streamline
the redirection when it's exposed this way.
Using the new redirection feature reduces overhead in
`with-output-to-bytes' and `pretty-print'.
2012-08-28 08:54:26 -06:00
John Clements
2c93ccdf18
failed to include test file for example
2012-08-27 23:47:44 -07:00
John Clements
f107c4d265
finish adding stepper external interface
2012-08-27 22:23:27 -07:00
John Clements
f933535639
adding external interface
2012-08-27 22:23:26 -07:00
Matthew Flatt
fe1cc4f009
doc repair
2012-08-27 20:17:06 -06:00
Matthew Flatt
7e2bcfd994
change -e to flush aftering printing a result
...
Previously, the use of `pretty-print' for `print' by `racket/main'
and the use of `transplant-output-port' by `pretty-print' caused
a flush to happen.
This problem highlights a potential general issue, which is that
`pretty-print' happened to always flush its output before, and
some programs may accidentally depend on that behavior.
2012-08-27 20:15:43 -06:00
Matthew Flatt
85b99de7b1
ffi/unsafe/objc: more support for loading in unsupported contexts
2012-08-27 19:47:44 -06:00
Matthew Flatt
cb95a99d68
change `transplant-{input,output}-port' to propagate buffering
...
Affects derived functions, such as `dup-output-port' and
`relocate-output-port', and uses in `pretty-print'.
2012-08-27 19:44:06 -06:00
Matthew Flatt
704cb4bd01
make-output-port': fix
enable-break?' argument to callbacks
2012-08-27 19:44:06 -06:00
Matthew Flatt
310945ee73
racket/pretty: replace internal table with `prop:output-port' structs
2012-08-27 19:44:05 -06:00
Robby Findler
8a4567f5aa
adjust the tooltip position so it goes to the end of the line where the arrowhead sits
2012-08-27 20:13:49 -05:00
Robby Findler
9934f202c9
avoid allocating a bunch of boxes (instead use ones already lying around)
2012-08-27 20:13:49 -05:00
Jay McCarthy
9fdb0ac507
correct cut implementation without mutation
2012-08-27 15:13:18 -06:00
John Clements
614ff235fc
remove dependencies on mz-testing.rkt
2012-08-27 13:35:38 -07:00
Sam Tobin-Hochstadt
514c1c5921
Refactoring of new tc-app
.
2012-08-27 14:46:30 -04:00
Eric Dobson
1e15d4496e
Fix errors in tc/app-hetero, cleanup tc/app.
2012-08-27 14:43:45 -04:00
Eric Dobson
5c7ed4a21d
Cleaned up special cases by adding macros to reduce duplication.
2012-08-27 14:43:45 -04:00
Eric Dobson
ba7647d7e2
Moved the rest of special cases to reified syntax classes.
2012-08-27 14:43:45 -04:00
Eric Dobson
dda1d60211
Rough draft of syntax classes for tc-app.
2012-08-27 14:43:45 -04:00
Eric Dobson
020d053e0a
Add back template require.
2012-08-27 14:43:45 -04:00
Eric Dobson
6c2be05749
Removed dependencies from tc-app-hetero.
2012-08-27 14:43:44 -04:00
Eric Dobson
d8c9a581f2
Remove unneeded requires
2012-08-27 14:43:44 -04:00
Eric Dobson
7005f12f0d
Cleanup of tc-app refactor.
2012-08-27 14:43:44 -04:00
Eric Dobson
54d49d0ec1
Moved last special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
67c7e3537b
Moved lambda special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
51671fcec4
Moved eq? et al. special casing out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
73bd7da049
Moved object special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
c2ab21c5a5
Moved keyword special cases out of tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
6034423472
Split out special cases for apply and values from tc-app.rkt.
2012-08-27 14:43:44 -04:00
Eric Dobson
fcb06ac433
Move TR list special cases to tc-app-list.rkt.
2012-08-27 14:43:44 -04:00
Matthew Flatt
7b49ad088a
ffi/unsafe/objc: `objc_lookUpClass' produces #f when unavailable
...
This change allows `ffi/unsafe/nsstring', for example, to at least load
on all platforms.
2012-08-27 10:29:55 -06:00
Matthew Flatt
2504eec834
fix condense-mode slide counting in `with-steps'
2012-08-27 10:29:55 -06:00
Matthew Flatt
a523270025
ffi/com: repair for DCOM instance creation
2012-08-27 08:57:01 -06:00
Robby Findler
e44835117b
move the baseline comment to image-baseline from the y-place? docs
2012-08-25 19:23:29 -05:00
Robby Findler
38ca627788
attempt to clarify the composition properties of empty-image
2012-08-25 19:13:07 -05:00
Ryan Culpepper
c5472fbf3e
db: eliminate some copying from postgresql message reading
2012-08-25 19:04:24 -04:00
Ryan Culpepper
8363db9258
db: use channel instead of semaphore + result variable
2012-08-25 19:02:18 -04:00
Ryan Culpepper
01e19983da
db: split example logs into one per scribble file to make drdr happy
2012-08-25 19:02:18 -04:00
Ryan Culpepper
81b022a3b8
db: fixed bug in db docs
2012-08-25 19:02:18 -04:00
Ryan Culpepper
7da5063782
db: added variations of concurrency test
2012-08-25 19:02:18 -04:00
Ryan Culpepper
7c395e9c7c
db: updated to new error convention (mostly)
2012-08-25 19:02:18 -04:00
Ryan Culpepper
325293ceea
added tests for racket/syntax
2012-08-24 18:14:40 -04:00