Commit Graph

214 Commits (c28d5589a2daa66b6e273f03fbff272278a9fb15)

Author SHA1 Message Date
Slava Pestov 7d792778f5 FFI rewrite part 7: compile callback bodies with the optimizing compiler 2010-07-28 00:49:26 -04:00
Slava Pestov bb0579ecf9 Updating tests for recent compiler changes 2010-05-03 17:34:30 -04:00
Joe Groff b0cd256b0f document FUNCTION-ALIAS: 2010-04-14 16:14:33 -07:00
Slava Pestov df0f21c48d compiler.codegen: need to do name decoration with fastcall as well 2010-04-12 18:10:25 -05:00
Slava Pestov 8e1afbd650 Fixing load errors 2010-04-10 17:24:44 -07:00
Slava Pestov d7ff3faa0f alien: now that fastcall works better it doesn't need to be private 2010-04-10 16:57:07 -07:00
Joe Groff cd0ad27e46 update some more doc examples using old abi strings 2010-04-02 23:16:53 -07:00
Joe Groff 259d45600b update alien docs to mention abi symbols 2010-04-01 19:25:24 -07:00
Joe Groff d6ad21bcc6 make "fastcall" symbol private since it doesn't really work in all cases 2010-04-01 18:34:15 -07:00
Joe Groff 2890a190a4 alien: add singletons for thiscall and fastcall 2010-03-31 20:30:04 -07:00
Joe Groff 06168b3667 add singletons for stdcall, cdecl, mingw abis 2010-03-31 19:17:06 -07:00
Slava Pestov adeb6fb68f vm: actually use context callstacks when running code 2010-03-26 22:44:43 -04:00
Slava Pestov af573bd022 Add context-specific special object table, generalizing catchstack_save and current_callback_save fields of context struct 2010-03-18 22:06:00 +13:00
Daniel Ehrenberg 1b61e2e5cf Merge branch 'bags' of git://github.com/littledan/Factor
Conflicts:

	basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
	basis/furnace/auth/auth.factor
	basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Joe Groff dd825806da more help-lint 2010-03-09 21:02:43 -08:00
Daniel Ehrenberg 4f1819f632 Merge branch 'master' of git://factorcode.org/git/factor into bags 2010-03-02 17:04:45 -05:00
Joe Groff 3db1955a93 record the C++ compiler version in the VM, and expose it with a vm-compiler word 2010-03-01 13:32:07 -08:00
Daniel Ehrenberg 2b5af07494 Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05: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 721f9018b1 fix typos in alien docs 2010-02-23 11:56:10 -08:00
Joe Groff dff7d09055 update docs about pointer types 2010-02-23 11:03:48 -08:00
Slava Pestov 63365bd3ea native-thread-test: clean up 2010-02-21 17:48:05 +13:00
Slava Pestov 2d57c9d815 Clean up some tags 2010-02-17 00:12:55 +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 e5a10469a2 alien: fix help lint 2010-01-07 20:54:27 +13:00
Slava Pestov 39ef6544f2 alien: document alien-assembly 2010-01-07 17:57:48 +13:00
Slava Pestov 1e2c0327ee Add alien-assembly form for inline assembler, works like alien-invoke except calls a user-supplied quotation instead of generating a subroutine call. Replaces FPU status control, SSE detection and read timestamp routines in vm/cpu-x86.*S 2010-01-07 17:39:22 +13:00
Doug Coleman 3323072613 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman b1e83cdb33 update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Slava Pestov 0f84d38a83 core: bootstrap fixes 2009-11-02 20:21:10 -06:00
Slava Pestov d65296b334 vm: 4 bit tags, new representation of alien objects makes unbox-any-c-ptr more efficient (work in progress) 2009-11-02 04:25:54 -06:00
Doug Coleman b5fd809209 memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Joe Groff cee5862b69 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Doug Coleman 6fa23d7ea4 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Slava Pestov 030d035e94 vm: code heap compaction at runtime using compact-gc primitive 2009-10-16 11:39:35 -05:00
Slava Pestov c934602a44 alien.syntax: add C-GLOBAL: for defining words to access global variables, and remove the gimpy one from core-text.utilities 2009-10-09 04:46:29 -05:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Joe Groff 5ab16ba62a change CALLBACK: to use the ABI of the current LIBRARY: and get rid of STDCALL-CALLBACK: 2009-09-28 19:27:28 -05:00
Slava Pestov f08521bf83 Fixing various test failures caused by C type parser change, and clarify C type docs some more 2009-09-28 08:48:39 -05:00
Slava Pestov 1b26a1c87c alien: improve documentation 2009-09-26 21:28:11 -05:00
Joe Groff 3613e6838c update alien docs to talk about C types as words 2009-09-21 13:20:01 -05:00
Joe Groff 4a1422e7fe move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Slava Pestov 7aac0d69d6 ALIEN: now reads a hexadecimal integer instead of a decimal one, since in general hex is more useful for addresses 2009-09-12 21:17:53 -05:00
Doug Coleman e85324b5da put a method on M\ tuple string>alien that calls underlying>> 2009-08-29 19:55:27 -05:00
Joe Groff 12d55f1332 allow alien.strings:alien>string to take an object with underlying>> slot 2009-08-26 09:13:30 -05:00
Slava Pestov bee6fa641e Add inline declarations for various assorted methods 2009-08-17 22:32:21 -05:00
Slava Pestov a82ee418d2 alien.libraries: add remove-library word, fix dlclose and dll-valid? VM primitives 2009-07-09 06:51:31 -05:00
Slava Pestov 5eb74d1d8d alien.strings: fix symbol>string for Windows 2009-05-05 14:41:38 -05:00
Slava Pestov 280b50891d alien.strings: fix native-string>alien on Windows 2009-05-05 11:40:28 -05:00