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
David Van Horn
22e2f3061f
Various typo, spelling, and punctuation fixes in scribblings.
...
Signed-off-by: David Van Horn <dvanhorn@ccs.neu.edu>
2010-05-28 14:47:54 -06:00
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
Matthew Flatt
a26b334c67
proprocessor doc, merge scribblings and doc-categories fields
...
svn: r9414
2008-04-23 00:20:25 +00:00
Matthew Flatt
f3d74fa4c8
R6RS fixes; fix for <, >, <=, and >= with +nan.0 and a bignum or rational; compile two-byte regexp patterns (common for hand-rolled case-insensitivity, as in the R6RS parser) to a more compact and efficient representation
...
svn: r8898
2008-03-06 04:56:47 +00:00
Eli Barzilay
bb34f747b6
make all files terminate with a newline
...
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
6f0ce91461
add #:indent to verbatim
...
svn: r8707
2008-02-18 20:01:23 +00:00
Eli Barzilay
9c77909710
use @verbatim{...}
...
svn: r8699
2008-02-18 10:49:20 +00:00
Eli Barzilay
699c40643d
* Changed setup-plt to compile collections if they have an "info.ss"
...
file. (That is, it does not require the file to have a `name'
entry.)
* The name shown when setup works is the directory name, followed by
the `name' field from the info file when specified.
* This means that many `name's are no longer needed, so I'm removing
them. To see if you need a `name' entry, consider that the name
will be shown like this:
... foo (<your name here>)
This means that if the name is the same as the directory name, then
there is no point in having it. I also removed cases where the name
differed only in its capitalization for collections where the case
is obvious.
* Also, for subcollections, the name should clarify the name of the
subcollection in context. For example "Acknowledgments" explains
what scribbling/acks is, but there's no need to add the context name
as in "Scribblings: Acknowledgments".
* There may also be a point in keeping names for other uses. One such
example was in games, where the name field was used in the PLT Games
application. (This was changed to default on the directory name, so
it is no longer needed in most games.) Another example is in planet
packages.
svn: r8629
2008-02-12 10:33:01 +00:00
Eli Barzilay
3c72e71e24
switched info.ss files to #lang
...
svn: r8532
2008-02-04 23:00:35 +00:00
Eli Barzilay
cd2724534a
typos from Will Farr
...
svn: r8440
2008-01-28 08:18:58 +00:00
Matthew Flatt
04859fb2dd
normalize some doc titles
...
svn: r8336
2008-01-15 14:46:36 +00:00
Matthew Flatt
3162537b77
scribbled compiler/cffi
...
svn: r8325
2008-01-14 22:47:12 +00:00
Matthew Flatt
2c21778b0a
fix _f64vector, etc., docs
...
svn: r8309
2008-01-12 14:14:43 +00:00
Eli Barzilay
fff894d710
remove the now-redundant main-doc option
...
svn: r8288
2008-01-11 02:29:49 +00:00
Matthew Flatt
1e069dd2bc
doc build automatically go to main doc dir; added doc categories for start doc; fix locale-sensitive byte<->string ops to actually use the locale; other small edits
...
svn: r8286
2008-01-10 23:42:23 +00:00
Matthew Flatt
7fc41024c0
3.99.0.9: binding links in docs use nominal import sources
...
svn: r8196
2008-01-03 19:07:02 +00:00