Matthew Flatt
99453ac506
ffi/unsafe/objc: weaken cache of method-invoke functions
...
A non-weak table meant that on Cocoa, every key press leaked a
foreign-funciton stub.
2013-03-29 08:09:57 -06:00
Matthew Flatt
81a0451849
ffi/unsafe/objc
...
Avoid crash on duplicate Objective-C class declaration.
2013-03-07 21:46:48 -07:00
Eli Barzilay
672910f27b
Lots of bad TAB eliminations.
...
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.
If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces. For example, to see
per-line authors, use "git blame -w <file>". Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Matthew Flatt
85b99de7b1
ffi/unsafe/objc: more support for loading in unsupported contexts
2012-08-27 19:47:44 -06: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
be89a1c1c4
ffi/unsafe/objc: at least load on platforms without libobjc
2011-11-28 13:51:25 -07: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
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
Matthew Flatt
4d008e3021
fix for pre-v2.0 Objective-C
2010-12-27 16:12:36 -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
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
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
82f102bfd8
fix bug in objc-mixin #:protocols
2010-09-03 15:44:34 -06: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