Eric Hanchrow
23d38b14a4
Add missing word
2011-10-22 20:58:56 -04:00
Matthew Flatt
e71abf5aba
Add a tutorial to the FFI overview
2011-10-21 20:34:51 -06:00
Matthew Flatt
5724aa1d1b
doc clarifications
...
Merge to 5.2
2011-10-10 14:45:53 -06:00
Matthew Flatt
f38e57ff68
add #:get-lib-dirs and #:fail args to `ffi-lib'
...
Not currently used, because an experiment that used the additions
was abandoned, but another use in the future seems likely.
2011-10-05 06:28:30 -06:00
John Clements
9b91d37032
added entry for cstruct->list converter
2011-09-06 10:05:42 -07:00
Kevin Tew
d5d28d3357
fix [] to {}
2011-08-30 11:27:18 -06:00
Kevin Tew
07c5c076e2
Fix cpointer and cstruct tag text
2011-08-30 09:52:06 -06:00
Kevin Tew
a810b30b87
remove underscore from cpointer key
2011-08-29 08:44:32 -06:00
Kevin Tew
0f595f4882
docs cpointers over place-channels
2011-08-23 14:02:01 -06:00
Matthew Flatt
345b06838d
FFI: add C arrays and unions
2011-08-20 10:24:32 -06:00
Matthew Flatt
9a14b47ccc
doc typo
...
Closes PR 12006
2011-08-02 17:15:23 -06:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
59731368fc
add ffi/winapi; use it in mzlib/os
...
Closes PR 12007
2011-07-01 10:42:17 -06:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -06:00
Eli Barzilay
a38f384a00
Finish converting scheme' ->
racket'.
...
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
f34a31cac9
"under <platform>" -> "on <platform>"; "X" -> "Unix"
...
I originally picked "under" as the preposition to go before
a platform name, but obviously you should build "on" a
platform, and "under" suddenly annoys me. The choice of "on"
is now codified in the documentation style guide. Meanwhile,
"Unix" insted of "X" seems more clear and consistent in the
`racket/gui' docs.
More usefully, this patch also fixes a few out-of-date
platform-specific claims.
2011-06-17 18:54:43 -06:00
Matthew Flatt
49aadc599a
ffi: add `#:in-original-place?' to deal with thread-unsafe libs
...
and use it for Pango, which is not thread-safe at the C level
2011-05-13 08:55:04 -06:00
Matthew Flatt
3bf438f580
rewrite `ffi-lib' docs with better guidance on versions
2011-05-03 13:16:21 -06:00
Jon Rafkind
cdb63b9c77
show an example of define-fun-syntax and using the keywords
2011-04-18 17:27:21 -06: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
Matthew Flatt
ff0a591b7b
change FFI `_float' to coerce to Racket double-precision flonum
2011-01-31 19:33:07 -07:00
Matthew Flatt
2c0a034792
doc typo fixes from Eric Hanchrow
2011-01-27 19:20:13 -07:00
Robby Findler
519eb580b2
typo
2010-12-24 13:36:31 -06:00
Matthew Flatt
7f5ac2b7f9
restore Win64 fix to FFI
...
that I had improperly added to "foreign.c" instead of the source
2010-12-14 07:53:19 -07:00
Matthew Flatt
116d88577e
restore old behavior of _fixint' and
_ufixint'
...
Closes PR 11492
2010-12-03 14:20:38 -07:00
Matthew Flatt
8b8dd77ad6
change nearly all long's to
intptr_t'
...
and also changed vector, string, and byte string counts to
`intptr_t' instead of `int'.
Except for the vector count, etc. change, this is not really a
change for any currently supported platform, where `intptr_t'
is the same as `long'. It's a step to suporting Win64, though,
where `long' is the same as `int' instead of `intptr_t'.
2010-12-03 08:48:33 -07:00
Matthew Flatt
bd28f2ab54
make `equal?' equate C pointers that refer to the same address
2010-11-24 13:41:11 -07:00
John Clements
b2edac3179
edited async-apply description
2010-11-16 17:56:13 -08:00
Eli Barzilay
b8bbed6eb4
Throw an error when translating an unknown enum integer to a symbol.
...
Also, add a keyword argument that can be used to get the old behavior
back.
Also, improve the way the `_enum' and `_bitmask' functions are wrapped.
2010-11-16 15:19:38 -05:00
Matthew Flatt
a8b318da7a
fix ffi issue with pointer vs. gcpointer
...
- don't put a non-gcpointer into a pointer array during ffi call setup
- fix GCness of pointers to structs inside of structs
2010-11-14 15:54:17 -07:00
Eli Barzilay
615d8f1329
Add _intptr etc; closes PR11311.
2010-10-12 20:58:08 -04:00
Matthew Flatt
337ace3847
add u8vector->cpointer for consistency; document ->cpointer, etc.
2010-09-27 06:08:58 -04:00
John Clements
c0e34a7166
minor doc update to ffi/cvector
2010-09-25 17:19:03 -07:00
Matthew Flatt
17cdb9eb3b
move #:alignment option for `define-cstruct' to end
...
to make it consistent with options for `struct' and `define-struct'
2010-09-10 08:06:41 -06:00
Matthew Flatt
6ac15688b2
add alignment option to ffi's cstruct support
2010-09-10 06:59:52 -06:00
John Clements
c636aeb840
added docs for 'type' argument to memset
2010-08-27 16:42:32 -07:00
Matthew Flatt
2a387ebba2
try to clarify the async-apply protocol for callbacks
2010-08-25 14:58:27 -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
9dda6f5d6b
doc clarification
2010-08-14 13:52:09 -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
4d1e97ec8d
change start-atomic and end-atomic to disable breaks
2010-08-07 20:40:32 -05:00
John Clements
f86edf3c8e
added message about OS behavior on (non-)reload of library
2010-08-06 20:44:14 -04:00
Matthew Flatt
fd5213b0ef
typo in foreignobjc docs
...
Closes PR 11038
2010-07-16 20:43:22 -06:00
Matthew Flatt
768a3721f9
add async-apply support to FFI
2010-07-11 14:59:40 -06:00
Matthew Flatt
5592dd1489
doc corrections
...
Merge to 5.0
2010-05-31 13:17:11 -06:00
Matthew Flatt
f94b727118
Fix one "PLT" that should be "Racket"
...
Merge to v5.0 if convenient
2010-05-28 16:55:25 -06:00