Commit Graph

69 Commits

Author SHA1 Message Date
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Eli Barzilay
c4f67b3e74 Small typos, some reformatting.
Fixes PR10920
2010-05-21 16:30:16 -04:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Matthew Flatt
1a5e662433 doc corrections and completions 2010-05-08 11:46:14 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
b7c184632b racket/unsafe/ffi -> ffi/unsafe, etc. 2010-04-26 18:05:29 -06:00
Matthew Flatt
4acba84b5b reorganize and extend FFI under racket/unsafe/ffi 2010-04-26 17:10:55 -06:00
Matthew Flatt
c7e723eef7 somewhat rackety core docs 2010-04-22 15:10:25 -06:00
Matthew Flatt
d7e4db3efd fix some tests and docs after racket move 2010-04-20 17:28:07 -06:00
Matthew Flatt
6f0d6b28de some mz and ffi changes from the mr2 branch
svn: r18099
2010-02-16 17:55:28 +00:00
Matthew Flatt
2dcfe69763 fix doc typo
svn: r17673
2010-01-16 14:23:16 +00:00
Eli Barzilay
6daf99c7bf added keywords: to the custom _fun thing
svn: r17378
2009-12-21 08:52:44 +00:00
Eli Barzilay
64b11991c1 typo; clarify what happens on non-windows when 'windows is used
svn: r17372
2009-12-21 05:39:00 +00:00
Eli Barzilay
b6887adfe8 minor tweaking
svn: r17310
2009-12-15 18:09:44 +00:00
Matthew Flatt
87f05fed95 add #:save-errno option for foreign-function types
svn: r17299
2009-12-14 23:52:23 +00:00
John Clements
d18403a303 added simple example of _fun
svn: r17245
2009-12-09 00:06:13 +00:00
Matthew Flatt
21c6e08e4d fix typo
svn: r16784
2009-11-15 14:26:32 +00:00
Matthew Flatt
c49b22fa2c change _pointer to mean a reference to non-GCed memory; add _gcpointer (v4.2.2.6)
svn: r16546
2009-11-04 19:28:04 +00:00
Matthew Flatt
e704cc05cd add a note about cwd with _path description
svn: r15150
2009-06-12 01:39:56 +00:00
Eli Barzilay
4288c6c2c7 The Scribble reader was improved to make it pull out the syntax
punctuations outside of the form, as it does with quote punctuations.
So things like this

  #, @foo{...}

that required the space to make the @foo read as a scribble form are
now better written as

  @#,foo{...}

This changes all such occurrences.  (In case you see this change in
your files and are worried that there might be changes: I mechanically
verified that the result of `read'ing the modified files is identical
to the previous version.)

svn: r15111
2009-06-07 10:12:32 +00:00
Matthew Flatt
146f909afd clarify version handling in ffi-lib docs
svn: r14734
2009-05-06 20:22:09 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Matthew Flatt
7dc8e077ed add 'not-provide-all-defined and 'nonimal-id suport for rename transformers; fix scheme/foreign and foreign docs to use it
svn: r14195
2009-03-20 16:59:28 +00:00
Matthew Flatt
2109cec2f4 free-id=? propagation through module exports; add 'not-free-identifier=? syntax property to disable free-id=? propagation; add prop:rename-transformer and prop:set-transformer; fix scheme/local so that local syntax bindings are visible to later definitions (v4.1.5.3)
svn: r14191
2009-03-19 20:22:18 +00:00
Eli Barzilay
078a8a2424 obviously that wasnt correct
svn: r13347
2009-02-01 09:22:55 +00:00
Eli Barzilay
eac9eb42ae typo (I hope I got it right)
svn: r13344
2009-02-01 03:02:19 +00:00
Matthew Flatt
6c77acf6f1 fix Scribble output of multi-line error messages, especially when they contain a blank line; minor doc repairs
svn: r13325
2009-01-30 16:41:42 +00:00
Matthew Flatt
0663588ee1 change _string/utf-16 and _string/ucs-4 so that #f = NULL (for consistency with other pointer types), and drop the /null variants
svn: r13031
2009-01-07 17:49:14 +00:00
Matthew Flatt
090c73647f atomic mode for objc methods; doc tweaks
svn: r13022
2009-01-06 19:52:40 +00:00
Matthew Flatt
cfbd48a4a4 clarify atomic-function responsibilities
svn: r13018
2009-01-06 14:29:00 +00:00
Matthew Flatt
61685c72f9 revised Mac OS X sleeping; optional atomic mode for FFI callbacks
svn: r13016
2009-01-06 13:07:45 +00:00
Matthew Flatt
d596401804 scheme/foreign: allow #f as NULL function pointer, allow callback as cpointer
svn: r12992
2009-01-03 18:51:15 +00:00
Matthew Flatt
9f5976e46b scheme/foreign doc fixes related to _fpointer
svn: r12966
2009-01-01 21:54:06 +00:00
Matthew Flatt
82ead03b92 change _fpointer handling to work with function pointers in structs and other such uses; add 'function-ptr' casting operation
svn: r12913
2008-12-20 05:09:35 +00:00
Matthew Flatt
7dc56df949 add FFI types _string/utf-16/null and _string/ucs-4/null
svn: r12911
2008-12-19 23:59:33 +00:00
Matthew Flatt
e3f008c691 doc ffi/objc
svn: r12895
2008-12-19 02:06:50 +00:00
Matthew Flatt
2c95f77c31 ctype->layout in scheme/foreign; prototype Objective-C binding in ffi collection
svn: r12890
2008-12-18 20:05:21 +00:00
Eli Barzilay
c1123547e4 document basetype change
svn: r12883
2008-12-18 06:49:51 +00:00
Matthew Flatt
f830ee6184 reference and ffi corrections and clarifications
svn: r12880
2008-12-18 02:52:45 +00:00
Matthew Flatt
077e5a4666 change reference and some other docs to use #f instead of false/c and or/c insteda of one-of/c
svn: r12023
2008-10-13 19:45:37 +00:00
Eli Barzilay
8d06e0c707 rename holder -> keep
svn: r11932
2008-10-04 19:10:38 +00:00
Eli Barzilay
2886a95318 * Exported `cvector-ptr'
* Added `#:hold' to `_fun' for callbacks (will be changed to `#:keep'
  soon, but better to have a checkpoint)
* _cprocedure also has a `hold' argument, and is now using keyword
  arguments (it was getting crowded in the optional arguments
  department)
* Documented everything that changed, with a longish descrption for
  options for holding callback values.
* More tests, including tests for callbacks that would crash if the
  callback values are not held.

svn: r11931
2008-10-04 19:01:17 +00:00
Matthew Flatt
d6ba5a2820 minor typos in FFI doc
svn: r11914
2008-09-30 14:37:46 +00:00
Eli Barzilay
493cd78170 documented abi arguments
svn: r11547
2008-09-04 23:24:38 +00:00
Eli Barzilay
e0a89b16e0 typo
svn: r11499
2008-08-31 18:17:51 +00:00
Matthew Flatt
9453aaaccf assign authors to manuals
svn: r11287
2008-08-15 20:16:06 +00:00
Matthew Flatt
2c813c53c5 fix '(nonnegative|positive)-exact-integer?' contracts (moving 'exact-' to the front where it belongs)
svn: r10960
2008-07-29 12:56:05 +00:00
Matthew Flatt
6f8dbf0ec5 make tech links gray; fix-ups in reference manual
svn: r10430
2008-06-23 21:03:10 +00:00
Matthew Flatt
ec714113a4 fix uses of _ in foreign docs, and document the _ escape in 'schemblock'
svn: r10189
2008-06-08 11:46:07 +00:00