Commit Graph

52 Commits

Author SHA1 Message Date
Matthew Flatt
fbb6a294f3 local-expand' allows a stop list to have only module*'
That is, when the sto plist contains only `module*', core
forms are not implicitly added to the stop list.
2012-06-08 16:08:55 +08:00
Matthew Flatt
09cb2a348f ffi/com: add 'variant type description
Used to prevent extra array dimensions and instead construct nested
arrays.
2012-05-26 06:38:02 -06:00
Matthew Flatt
ffea2b2c02 ffi/unsafe/com: infer 'any type for `com-omit' 2012-04-25 00:11:57 -06:00
Matthew Flatt
38e628be80 ffi/com: add support for type descriptions on values 2012-04-16 08:47:13 -06:00
Matthew Flatt
c695727aec ffi/unsafe/com: fix arrays of 'any 2012-04-11 19:12:32 -06:00
Matthew Flatt
89307edbce ffi/unsafe/com: avoid inclusion of no-error result code in error messages
Merge to 5.3
2012-04-11 17:55:12 -06:00
Matthew Flatt
bcb22a3adb ffi/unsafe/com: repair for optional `any' arguments
Merge to 5.3
2012-04-11 17:49:08 -06:00
Matthew Flatt
e62f812941 ffi/com: fix another GC problem, this time related to custodians 2012-04-04 07:16:50 -06:00
Matthew Flatt
522a92970e ffi/com: fix GC issue related to COM events 2012-04-04 07:00:25 -06:00
Matthew Flatt
89ef600b6e ffi/unsafe/com: com-object->eq?' implies equal?' 2012-04-03 18:36:27 -06:00
Matthew Flatt
cb7200295e ffi/unsafe/com: fix custodian and multi-instance problems 2012-04-02 14:36:23 -06:00
Matthew Flatt
2bf05a8df3 ffi/unsafe/com repairs 2012-04-01 12:58:16 -06:00
Matthew Flatt
11de33d4ff remove MysterX DLL, replace with wrapper around `ffi/com'
The ActiveX part of MysterX is gone. The `ffi/com' re-imeplemtnation
provides only core COM support.

The "mysssink" DLL is still needed, and its source is still
in the tree, but it is downloaded in the same way as other
pre-built DLLs. The DLL no longer needs to be registered with
regsvr32.
2012-02-17 06:37:19 -07:00
Matthew Flatt
b93eaa19f4 ffi/unsafe/alloc: releaser should be able to return a value 2012-02-17 06:36:23 -07:00
Matthew Flatt
084278fabc handle-evt' cannot wrap handle-evt'
The prohbition against `handle-evt' on `handle-evt' is as
document and as originally intended. I'm not sure why it
was allowed.

Existing programs that use `handle-evt' incorrectly
can break. I found and fixed one incorrect use and one
questionable use in the Racket tree (which is a small
minority of the uses of `handle-evt' in the tree).
2012-02-15 18:59:24 -07:00
Matthew Flatt
ff41a896bc add ffi/com', ffi/unsafe/com' 2012-01-10 18:35:32 -07:00
Matthew Flatt
be89a1c1c4 ffi/unsafe/objc: at least load on platforms without libobjc 2011-11-28 13:51:25 -07: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
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