Commit Graph

53 Commits

Author SHA1 Message Date
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
Matthew Flatt
20f2e32f99 adjust handling of version numbers with dylib suffix
svn: r13476
2009-02-06 23:46:29 +00:00
Eli Barzilay
cc6ff9d5d7 use the cstruct type directly, not via ctype-basetype
svn: r13345
2009-02-01 03:31:41 +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
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
ec600c59bb fine-tune typechecking index entry
svn: r12920
2008-12-21 13:57:46 +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
Eli Barzilay
a62b6a3128 fix _-identifier? typo
svn: r12912
2008-12-20 03:06:59 +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
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
6283205982 ctype-basetype now holds:
* a symbol naming the type for primitive types
* a list of ctypes for cstruct types
* another ctype for user-defined ctypes

svn: r12882
2008-12-18 06:48:10 +00:00
Eli Barzilay
987b164478 better syntax error message when define-cstruct gets an identifier without a _
svn: r12420
2008-11-13 02:18:16 +00:00
Matthew Flatt
8b666c1710 streamline srfi-4 index-argument check
svn: r12155
2008-10-28 12:12:09 +00:00
Eli Barzilay
2bd0019110 register-finalizer is not unsafe
svn: r11994
2008-10-12 06:13:46 +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
Eli Barzilay
c8be2b6f57 make _cpointer types return the result of the scheme->c function, if any
svn: r11888
2008-09-27 06:35:08 +00:00
Eli Barzilay
ade8dfad31 added #:abi keyword spec to _fun
svn: r11542
2008-09-04 22:05:10 +00:00
Eli Barzilay
ecfc0cd104 fix misuse of _
svn: r10569
2008-07-03 00:49:52 +00:00
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Eli Barzilay
3c29bbda9d * Moved the srfi-4 functionality back into the foreign library, so its
available from there instead of only from srfi/4
* Added scheme/modspec-forms with `matching-identifiers-in' for a
  generic regexp-based selection of identifiers
* Used this new form to get make srfi/4 reprovide the relevant stuff
  from foreign
* Did the same for srfi/66 (and added the missing renames etc to
  foreign)

svn: r8944
2008-03-11 13:06:29 +00:00
Noel Welsh
a53d243e99 I have changed the SRFI-4 implementation so structure types are exported for types except u8. This allows developers to subtype the SRFI-4 structures. I have also refactored the code, leading to a significantly simpler implementation
svn: r8918
2008-03-07 16:24:06 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Matthew Flatt
74062d996f weak hash table for cstructs needs ephemerons
svn: r8353
2008-01-16 23:19:07 +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
Matthew Flatt
415cd0bf15 lazy, force, delay in scheme/promise and scheme; clean up mzscheme some, and clean up the docs some
svn: r8053
2007-12-18 21:37:23 +00:00
Matthew Flatt
d7e8371254 finish FFI scribbling
svn: r7944
2007-12-11 00:32:41 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Matthew Flatt
e9385a910e 370.2
svn: r6369
2007-05-29 03:26:32 +00:00
Eli Barzilay
26ab4af5f7 made it possible to try several versions, use it in readline and openssl
svn: r6138
2007-05-04 06:08:48 +00:00
Eli Barzilay
bf8cd534cd u8vector is implemented using bytes
svn: r5921
2007-04-11 06:46:17 +00:00
Eli Barzilay
492733aa40 make-cvector with 0 args
svn: r5619
2007-02-15 20:39:17 +00:00
Matthew Flatt
4b765cfa5a 369.8
svn: r5594
2007-02-14 02:41:49 +00:00
Matthew Flatt
91add0453f 369.4
svn: r5327
2007-01-12 07:09:56 +00:00
Eli Barzilay
e56e336194 check identifiers
svn: r5135
2006-12-18 05:08:01 +00:00
Eli Barzilay
b04926284f fix c->scheme for structs: set all tags
svn: r4799
2006-11-07 04:25:04 +00:00
Eli Barzilay
b123c4b394 typo
svn: r4448
2006-09-27 19:12:26 +00:00
Eli Barzilay
6c2343f20c added _bytes/eof
svn: r4447
2006-09-27 19:11:45 +00:00
Eli Barzilay
412a8b8cb3 error message typo
svn: r4295
2006-09-10 16:36:43 +00:00
Matthew Flatt
0dca64f8f4 missing conversion to internal version of get-ffi-lib
svn: r3539
2006-06-29 14:10:41 +00:00
Eli Barzilay
ed80f4a945 redoing proper changes
svn: r3533
2006-06-28 21:01:38 +00:00
Matthew Flatt
788d291b13 unwind apparently accidental commit
svn: r3520
2006-06-28 11:40:24 +00:00
Eli Barzilay
8d9e8b852a get-ffi-lib does not expect an ffi-lib input
svn: r3515
2006-06-28 01:14:14 +00:00
Eli Barzilay
f4386a4598 sort comments
svn: r3074
2006-05-26 13:19:23 +00:00
Matthew Flatt
4a0d8018b1 fixed typo
svn: r3071
2006-05-26 12:12:26 +00:00
Eli Barzilay
c4e52e3919 dont use get-lib-search-dirs if the input path is absolute
svn: r3058
2006-05-25 16:14:17 +00:00
Matthew Flatt
c727afef04 301.15: new install tree for Unix, moved docs, moved teachpacks, added config.ss
svn: r2962
2006-05-18 15:03:05 +00:00
Eli Barzilay
4edd6f5b4f typo
svn: r2739
2006-04-23 00:53:23 +00:00
Eli Barzilay
9b3965f900 typo in list->cblock (PR7990)
svn: r2611
2006-04-05 22:18:16 +00:00