Commit Graph

111 Commits

Author SHA1 Message Date
Matthew Flatt
55d3647965 fix _string/utf-16 terminator handling 2010-09-20 12:29:51 -06:00
Matthew Flatt
3e5c7fefdd add scheme_add_gc_callback() hook for gc notification in a way that lets you describe a foreign function to call without allocating or the call; the allowed protocols are contrained and ad hoc, but it will be enough for GRacket2 2010-09-14 09:21:47 -06:00
Matthew Flatt
6ac15688b2 add alignment option to ffi's cstruct support 2010-09-10 06:59:52 -06:00
Matthew Flatt
b32a0b8401 fix ffi extraction of substruct from GC-managed struct 2010-08-15 11:02:31 -06:00
Matthew Flatt
cf9912c811 fix malloc-immobile-cell 2010-08-15 11:02:30 -06:00
Matthew Flatt
15aeee98e9 fix some file exe permissions 2010-07-14 08:04:20 -06:00
Matthew Flatt
a530109d17 adjust libffi hacks that avoid warnings 2010-07-14 06:24:49 -06:00
Matthew Flatt
90b586365f upgrade to latest libffi from git repo (between v3.0.9 and v3.0.10) 2010-07-13 21:12:59 -06:00
Matthew Flatt
a306a646e6 fix build for disabled FFI 2010-07-13 16:07:03 -06:00
Matthew Flatt
768a3721f9 add async-apply support to FFI 2010-07-11 14:59:40 -06:00
Matthew Flatt
7f2d57e827 build changes aimed at making Sun tools work
Merge to v5.0
2010-05-28 07:17:24 -06:00
Jay McCarthy
387f915f24 Adding local change note 2010-05-24 11:33:16 -06:00
Eli Barzilay
c64704742c Fixing some tab damage from Jay's commit 2010-05-21 21:10:53 -04:00
Jay McCarthy
b5ee4ac21b Observing ftruncate results to remove error, adding comments to have better eyes look at a better way to recover from the problems 2010-05-21 16:04:11 -06:00
Eli Barzilay
285e9b5279 Use ".rktc" for the C-generated foreign file. 2010-05-17 01:48:39 -04:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Eli Barzilay
6b664e0308 More mzscheme -> racket changes. 2010-05-15 18:52:46 -04:00
Matthew Flatt
202b38a4f4 rackety readme 2010-05-10 06:35:47 -06:00
Kevin Tew
e3e8a54ee9 [Places] THREAD_LOCAL opened_libs 2010-05-04 15:49:36 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
3f8d1dc34d more scheme -> racket source renaming 2010-04-20 09:22:29 -06:00
Matthew Flatt
590c7514da build configure script correctly this time; probably merge to 4.2.5
svn: r18573
2010-03-18 13:23:05 +00:00
Matthew Flatt
9a21c31000 another try at fixing Solaris build; probably merge to 4.2.5
svn: r18572
2010-03-18 13:16:02 +00:00
Matthew Flatt
4795b4ae27 rewind attempted fix for Solaris 10, because it doesn't work for Linux
svn: r18568
2010-03-17 19:30:44 +00:00
Matthew Flatt
06f25d1359 Solaris patches from Johan Coppieters
svn: r18561
2010-03-17 17:38:49 +00:00
Matthew Flatt
e713e27eee fix allocation bug in ffi
svn: r18530
2010-03-13 16:03:27 +00:00
Eli Barzilay
a8ac086430 libffi moved: gcc -> github
svn: r18355
2010-02-26 19:42:24 +00:00
Sam Tobin-Hochstadt
6dee10e090 handle datarootdir to avoid warnings
svn: r18350
2010-02-26 14:47:39 +00:00
Eli Barzilay
cda2d12914 better text generation
svn: r17373
2009-12-21 05:46:16 +00:00
Matthew Flatt
87f05fed95 add #:save-errno option for foreign-function types
svn: r17299
2009-12-14 23:52:23 +00:00
Matthew Flatt
c880b2119c fix problems with recent FFI changes
svn: r16565
2009-11-05 20:29:18 +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
Eli Barzilay
6da4f18dab Two more places that needed to change with the @foo@bar change
svn: r15626
2009-07-29 19:41:41 +00:00
Eli Barzilay
4239d22ded rename verbatim and unverbatim to disable-prefix and restore-prefix
svn: r15411
2009-07-08 21:28:55 +00:00
Kevin Tew
02c658eaba Foreign.ssc comment
svn: r15057
2009-06-02 17:43:14 +00:00
Eli Barzilay
6562b6ac6f change foreign.ssc to match foreign.c
svn: r15054
2009-06-02 17:08:51 +00:00
Kevin Tew
27215bcbca Move global foreign creations to before MASTER GC switchout
svn: r15049
2009-06-02 16:24:19 +00:00
Eli Barzilay
e9bcf8b15f work around xform parsing issue
svn: r14766
2009-05-09 23:21:13 +00:00
Eli Barzilay
cd6fbedfa8 dont take sizeof(void), fix function typecase (both PR10234), fix error message
svn: r14764
2009-05-09 19:39:17 +00:00
Eli Barzilay
d39ff7e079 fix other comment terminator in .ssc, reflow comment
svn: r14163
2009-03-17 22:41:13 +00:00
Matthew Flatt
e8dba7c7b1 fix comment closer: merge to 4.1.5
svn: r14159
2009-03-17 20:49:04 +00:00
Eli Barzilay
0373964141 Finally a version that uses the new preprocessor language.
svn: r14079
2009-03-12 19:02:16 +00:00
Eli Barzilay
c20a9ab7a8 yet more formattings
svn: r14078
2009-03-12 18:59:37 +00:00
Eli Barzilay
e59b597753 minor change to an error message
svn: r14070
2009-03-12 09:07:41 +00:00
Eli Barzilay
813e16489e more minor formattings
svn: r14069
2009-03-12 08:48:04 +00:00
Eli Barzilay
60a421e9ab reformatting, moving some undefs, etc -- preparing for a new preprocessor version
svn: r14067
2009-03-12 05:51: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
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
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