Matthew Flatt
e7b52bf10f
fix ffi handling of non-GCable pointers with offsets
...
Closes PR 11567
2010-12-25 09:34:07 -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
3b4a1c4e94
fix some GC-related problems
...
due to pointer fields in GC-allocated structures that do not refer
to GC-allocated memory; if the corresponding memory is free()ed and
then the GC later takes over the same page of memory, then bad
things can happen; some of the problems were crashing the Windows
port while running the 2htdp image tests
2010-12-14 05:53:48 -07:00
Matthew Flatt
5065f39dec
win64: racket3m
2010-12-03 22:35:38 -07:00
Matthew Flatt
7319b539f0
win64: initial CGC build
2010-12-03 20:11:53 -07:00
Matthew Flatt
8388f28f33
switch windows build to main libffi sources
2010-12-03 14:21:31 -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
Matthew Flatt
142cdb800f
fix GC interaction for non-Racket thread and #:async-apply callbacks
2010-11-23 09:39:38 -07: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
Matthew Flatt
58e1e37734
fix bug in ffi struct alignment
2010-11-05 15:54:51 -06:00
Matthew Flatt
d2275f4179
level-2 finalization from ffi/unsafe and late-weak references
2010-11-05 15:54:47 -06:00
Matthew Flatt
40a65a46d2
overhaul GC finalization
2010-11-05 15:54:47 -06:00
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