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
Matthew Flatt
231b352bec
fix NSProcessInfo arguments hack
...
The target of the change is actually `hack-argument-replacement' in
`mred/private/coco/queue'. The replaced method can get called in
a different OS-level thread than the main thread.
Closes PR 12086
2011-09-09 22:27:34 -06:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Ryan Culpepper
9bc3457bbd
renamed ffi/unsafe/security to ffi/file
2011-04-15 14:47:29 -06:00
Ryan Culpepper
a19a0340aa
added ffi/unsafe/security
2011-04-07 09:47:20 -06:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
Matthew Flatt
cbea645284
fix try-atomic bug related to cont-mark-set-first and recent prompt fix
2011-01-20 07:10:05 -07:00
Matthew Flatt
4d008e3021
fix for pre-v2.0 Objective-C
2010-12-27 16:12:36 -07:00
Matthew Flatt
4a6af2a81e
another try-atomic repair
2010-12-22 19:09:21 -07:00
Matthew Flatt
78b2e47541
fix more try-atomic problems
2010-12-21 18:45:36 -07:00
Matthew Flatt
1a190c08f6
remove debugging log message
2010-12-14 14:53:00 -07:00
Matthew Flatt
ea789fc481
further avoid nested try-atomics
...
to avoid the possibility of deadlock when, for example,
`yield' is called during a try-atomic callback
2010-12-14 11:49:23 -07:00
Matthew Flatt
1d0adfd8f2
fix problem with nested try-atomic regions
2010-12-14 11:49:23 -07:00
Matthew Flatt
3479f5fb92
cocoa: hack around NSApplication's handling of command-line arguments
2010-12-02 11:53:18 -07:00
Matthew Flatt
ca8b32725e
fix bloking operations during a try-atomic
...
and remove old delim-cont support used by gr1
2010-11-30 15:08:16 -07:00
Matthew Flatt
0d6d285423
clear objc ivar on `dealloc'
...
so that a field is not incorrectly used if the super `dealloc' triggers
callbacks
2010-11-24 07:08:54 -07:00
Matthew Flatt
af6cad4913
destroy windows via finalization outside of the event loop
2010-11-05 15:54:52 -06:00
Matthew Flatt
20ab31743d
fix yet another mistake in atomic-mode implementation
2010-11-05 15:54:47 -06:00
Matthew Flatt
d2275f4179
level-2 finalization from ffi/unsafe and late-weak references
2010-11-05 15:54:47 -06:00
Matthew Flatt
40a65a46d2
overhaul GC finalization
2010-11-05 15:54:47 -06:00
Matthew Flatt
3294d3427a
fix nested atomic escape
2010-11-05 15:54:46 -06:00
Matthew Flatt
2cebc60eca
ppc cocoa
2010-11-05 15:54:45 -06:00
Matthew Flatt
391cbe1315
more pre-2.0 objc fixes
2010-11-05 15:54:45 -06:00
Matthew Flatt
8c5db384d4
more obj-c pre-2.0 fixes
2010-11-05 15:54:45 -06:00
Matthew Flatt
789563f82b
support pre-2.0 Objective-C
2010-11-05 15:54:45 -06:00
Matthew Flatt
10455daf54
allowed nested try-atomics
2010-11-05 15:54:27 -06:00
Matthew Flatt
82f102bfd8
fix bug in objc-mixin #:protocols
2010-09-03 15:44:34 -06:00
Matthew Flatt
9c0c42f24a
fix ffi/unsafe/try-atomic interaction with exns and prompt tags
2010-08-15 11:02:30 -06:00
Matthew Flatt
6c8a914c80
support for speculatively atomic calls in ffi/unsafe/try-atomic
2010-08-07 20:49:23 -05:00
Matthew Flatt
8df33b629e
fix default #:keep argument of _cprocedure
2010-08-07 20:40:42 -05:00
Matthew Flatt
4d1e97ec8d
change start-atomic and end-atomic to disable breaks
2010-08-07 20:40:32 -05:00
Matthew Flatt
95dd131e93
use msg-send table atomically
2010-07-13 16:07:02 -06:00
Matthew Flatt
9597810a99
fix objc ABI for 64-bit Darwin
2010-06-11 15:18:00 -04:00
Matthew Flatt
f85b25f59f
fix another typo like the one in dynext
...
Merge to v5.0
2010-05-26 17:07:08 -06:00
Matthew Flatt
b7c184632b
racket/unsafe/ffi -> ffi/unsafe, etc.
2010-04-26 18:05:29 -06:00