Joe Groff
|
ca9614e746
|
Merge branch 'master' into abi-symbols
|
2010-04-01 15:28:36 -07:00 |
Joe Groff
|
505e24acf0
|
update alien.libraries docs to link cdecl/stdcall symbols
|
2010-03-31 19:57:04 -07:00 |
Joe Groff
|
1d06be5021
|
"stdcall" -> stdcall
|
2010-03-31 19:29:04 -07:00 |
Joe Groff
|
d951be1832
|
"cdecl" -> cdecl
|
2010-03-31 19:20:35 -07:00 |
Slava Pestov
|
64cbe8b80b
|
Document (free), move it out of libc.private and mention it in the "c-strings" help article (reported by Blei)
|
2010-03-30 17:32:51 -04:00 |
Slava Pestov
|
3ef79a67ac
|
alien.debugger: fix USING: form
|
2010-03-17 19:35:12 +13:00 |
Slava Pestov
|
747ddf5173
|
debugger: Untangle some dodgy dependencies that were loading locals before prettyprint, resulting in locals.prettyprint not being loaded
|
2010-03-17 19:19:43 +13:00 |
Joe Groff
|
92af7cc3d2
|
cut commas off of FUNCTION: parameter names in stack effects again
|
2010-02-28 19:29:53 -08:00 |
Joe Groff
|
904f30f454
|
alien.parser: refactor FUNCTION: parsing to read from the source incrementally. parse errors in FUNCTION: should now correspond to their location within the definition
|
2010-02-28 16:20:45 -08:00 |
Slava Pestov
|
2dde82ffff
|
Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array
|
2010-02-25 04:50:31 +13:00 |
Slava Pestov
|
c1e7a3ffc2
|
Specialized arrays, structs and other objects responding to the >c-ptr / byte-length protocol can now be written to binary streams
|
2010-02-24 20:18:41 +13:00 |
Joe Groff
|
7ba1dcebf5
|
typo in alien.data docs
|
2010-02-23 12:20:47 -08:00 |
Joe Groff
|
e49dcf2c83
|
"pointer-c-type" word-prop hack is now unnecessary since all pointer types behave uniformly now
|
2010-02-23 12:07:55 -08:00 |
Joe Groff
|
d7720a2b2d
|
typo in alien.parser test
|
2010-02-23 11:59:53 -08:00 |
Joe Groff
|
721f9018b1
|
fix typos in alien docs
|
2010-02-23 11:56:10 -08:00 |
Joe Groff
|
96ab4492d2
|
rename current string-mangling "char*" to "c-string". char* is now just a boring old pointer to char
|
2010-02-23 11:42:02 -08:00 |
Joe Groff
|
dff7d09055
|
update docs about pointer types
|
2010-02-23 11:03:48 -08:00 |
Joe Groff
|
760effdfac
|
have TYPEDEF:, STRUCT: etc. throw an error if you try to define a c type name ending with asterisk
|
2010-02-23 10:16:18 -08:00 |
Joe Groff
|
941ad782e3
|
if any typedef in the chain has a pointer-c-type, use it
|
2010-02-23 08:09:33 -08:00 |
Slava Pestov
|
071836b059
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2010-02-23 20:26:41 +13:00 |
Joe Groff
|
298a3b2fa8
|
alien.fortran: update tests to reflect new pointer c-type objects
|
2010-02-22 21:58:18 -08:00 |
Erik Charlebois
|
a221fa05a3
|
Revert change to make-callback-type cause Slava already fixed it in parse-arglist
|
2010-02-22 19:34:34 -08:00 |
Joe Groff
|
d5c6ae5d36
|
don't box struct pointer values when they're null
|
2010-02-22 19:08:43 -08:00 |
Joe Groff
|
4875169d0c
|
alien.arrays/classes.struct: ensure specialized array types for struct array slots get instantiated at parse time
|
2010-02-22 12:21:29 -08:00 |
Joe Groff
|
9015711322
|
alien.parser: properly generate return type name for FUNCTION: stack effects
|
2010-02-22 11:25:01 -08:00 |
Erik Charlebois
|
915a90657e
|
Merge alien/parser/parser.factor
|
2010-02-22 10:53:19 -08:00 |
Erik Charlebois
|
8e4a333fae
|
Fix CALLBACK: effect return type also not a string. Added accompanying unit test.
|
2010-02-22 10:48:21 -08:00 |
Joe Groff
|
b435b2b84b
|
Merge branch 'master' into new-alien-pointers
Conflicts:
basis/alien/c-types/c-types.factor
basis/stack-checker/dependencies/dependencies.factor
|
2010-02-22 10:32:59 -08:00 |
Slava Pestov
|
316b831208
|
alien: some code cleanups and fixes
|
2010-02-23 01:28:56 +13:00 |
Slava Pestov
|
33f3fee57d
|
alien.c-types: remove void? word
|
2010-02-22 21:31:41 +13:00 |
Joe Groff
|
a77edb8156
|
Merge branch 'master' of git://factorcode.org/git/factor into new-alien-pointers
|
2010-02-21 23:14:08 -08:00 |
Joe Groff
|
2ec050665e
|
alien.arrays: typedef special char* symbol so it still works as expected
|
2010-02-21 23:11:59 -08:00 |
Slava Pestov
|
c1657739df
|
Merge branch 'master' of git://github.com/erikcharlebois/factor
|
2010-02-22 20:09:20 +13:00 |
Joe Groff
|
2238c04f82
|
alien.prettyprint: pprint pointer objects as "type*" in c-type contexts
|
2010-02-21 21:32:34 -08:00 |
Joe Groff
|
e15784ed94
|
alien.parser: favor parsing "foo*" as pointer-to-foo now
|
2010-02-21 21:06:00 -08:00 |
Joe Groff
|
77ea9f1160
|
more implementation of pointer c-types. make it so that { char* binary } acts like a real pointer to char instead of stringifying, and add byte* typedef for { char* binary }
|
2010-02-21 20:58:21 -08:00 |
Joe Groff
|
64e6f08b59
|
use a "pointer" wrapper tuple to indicate pointer types instead of the current slipshod approach
|
2010-02-21 16:27:36 -08:00 |
Joe Groff
|
866f6ada18
|
ditch string c-types
|
2010-02-21 10:58:21 -08:00 |
Erik Charlebois
|
36dc85043a
|
Unit test checking the stack effects from FUNCTION:.
|
2010-02-20 21:15:47 -08:00 |
Erik Charlebois
|
9adbbc8f98
|
The return values in the stack effects of FUNCTION: words were c-types rather than strings. This was causing scaffold-help to fail on vocabularies with FUNCTION:.
|
2010-02-20 03:02:56 -08:00 |
Joe Groff
|
ab0b7e078b
|
alien.libraries: add a "deploy-library" word that marks a library to have its dll deployed with applications that use it. add support to tools.deploy to find and copy deployed libraries into target bundle
|
2010-02-16 13:32:58 -08:00 |
Slava Pestov
|
45ff20f132
|
cpu.architecture: rep-length now works in deployed images
|
2010-02-11 18:11:47 +13:00 |
Slava Pestov
|
f4cfb63023
|
alien.syntax: save source location for TYPEDEF:, raise error on redefinition
|
2010-02-05 20:52:20 +13:00 |
Joe Groff
|
b14f477c9b
|
missed an alien.fortran test
|
2010-02-02 00:13:13 -08:00 |
Joe Groff
|
e5f8c19d19
|
wrap alien.fortran c-type conversion tests in with-manifest
|
2010-02-01 22:03:51 -08:00 |
Joe Groff
|
82f2e67914
|
alien.fortran: convert fortran types to word c-types
|
2010-02-01 12:06:10 -08:00 |
Slava Pestov
|
59f0e7a197
|
alien.c-types: ensure that long and ulong types are defined with define-primitive-type and not typedef
|
2010-01-23 00:15:08 +13:00 |
Slava Pestov
|
56af2bb5dc
|
alien.c-types: clean up and fix for win64
|
2010-01-22 23:14:20 +13:00 |
Slava Pestov
|
790674cf89
|
Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side
|
2010-01-13 18:08:18 +13:00 |
Slava Pestov
|
8f449f1a82
|
Get optimizing compiler working without global register variables in VM
|
2009-12-22 15:42:49 +13:00 |