Joe Groff
ab8abeaee4
Merge branch 'master' into c-type-words
2009-09-15 19:14:41 -05:00
Joe Groff
4d16c569f0
struct classes now make their own C type without help from alien.structs. remove alien.structs dependencies from everywhere outside of alien and compiler, and have the FFI handle both alien.structs and classes.struct c-types
2009-09-15 17:38:49 -05:00
Joe Groff
ac41416953
create words for c-types
2009-09-15 15:18:54 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Joe Groff
b8978446d9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:51:15 -05:00
Joe Groff
e85925153c
deprecate C-STRUCT:, C-UNION:, and old-school struct accessors
2009-08-27 21:51:08 -05:00
Slava Pestov
7cf4e608e5
alien: move code for supporting CONSTANT: foo 123 { "int" foo } C types into one place instead of the old scattershot approach
2009-08-27 21:49:25 -05:00
Joe Groff
53b7729f76
require struct-arrays after alien.structs is loaded
2009-08-26 22:24:55 -05:00
Joe Groff
24c2eaae01
box elements of struct-arrays when a struct class is used as the element type
2009-08-26 17:19:30 -05:00
Joe Groff
a2518377e3
support <c-type-array> of structs using struct-arrays
2009-08-25 20:43:48 -05:00
Joe Groff
8aa9327dcc
support <c-type-array> on complex ffi types
2009-08-25 19:58:04 -05:00
Slava Pestov
9fb0dcd9bd
alien: need to differentiate between the type of the result before and after boxing; the former is used by propagation for #alien-invoke nodes and the latter is used by specialized arrays. This fixes FFI unit test failures
2009-08-10 16:17:33 -05:00
Slava Pestov
d19c403fee
alien.structs: struct-type now has a class slot; fix specialized complex-float/double arrays
2009-08-09 16:10:11 -05:00
Slava Pestov
52cac7fd4e
alien.structs: simplify logic and remove dead code
2009-03-22 17:47:48 -05:00
Slava Pestov
215127e9f6
Merge branch 'master' of git://factorcode.org/git/factor
2009-02-12 09:20:35 -06:00
Slava Pestov
2c88d339d0
Improve type inference for struct returns
2009-02-12 09:20:32 -06:00
sheeple
3c1ddde1f9
Fix complex float support on NetBSD
2009-02-12 08:10:21 -06:00
sheeple
facd455e92
Working on complex float support in FFI on NetBSD
2009-02-12 06:25:07 -06:00
U-SLAVA-DFB8FF805\Slava
a4a6885189
Fix setters for value struct slots and add unit test for this case; this fixes an io.mmap regression on Windows
2009-01-28 01:58:57 -06:00
Joe Groff
da05150686
Merge branch 'master' into fortran
2009-02-06 10:07:35 -06:00
Slava Pestov
7bb0e78314
Add support for C99 complex float and complex double types to FFI
...
They are named complex-float and complex-double in the Factor world
2009-02-06 04:02:00 -06:00
Joe Groff
7b1f16ae5e
fortran records
2009-02-05 18:51:50 -06:00
slava
e29f18a2f4
Trying to fix a bad merge...
...
Revert "Merge branch 'master' of git://factorcode.org/git/factor"
This reverts commit da639739bd
, reversing
changes made to 346a61f497
.
2009-02-03 00:27:34 -06:00
Slava Pestov
192a164ef4
Fix some bugs
2008-12-02 00:24:00 -06:00
Slava Pestov
f51708386d
Fix conflicts
2008-12-01 20:39:43 -06:00
Doug Coleman
57e34e9d6c
remove >r r> from alien
2008-11-29 13:37:38 -06:00
Slava Pestov
e8a69a3aea
Fix conflict
2008-11-29 05:14:49 -06:00
Slava Pestov
f72f9a8f45
Add required methods
2008-11-29 04:59:29 -06:00
Slava Pestov
281657dd82
Fix conflict
2008-11-18 22:18:14 -06:00
Slava Pestov
20f5541d35
Refactoring FFI for Win64
2008-11-17 13:34:37 -06:00
Slava Pestov
2fe364a7bb
Specialized arrays work in progress
2008-11-14 20:18:16 -06:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
722cacddb4
Fixing some problems with returning structs by value in x86.64 FFI
2008-09-13 20:28:13 -05:00
Slava Pestov
fdf75fe110
Remove slots.deprecated, remove unused slots from slot-spec tuple; last vestiges of old accessors are now gone forever
2008-09-03 18:47:52 -05:00
Slava Pestov
0c304b8fc6
Removing old accessor usages from core and basis
2008-08-31 07:45:33 -05:00
Doug Coleman
9760f3dc58
update old slot accessors to new accessors
2008-08-30 12:42:35 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00