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
Slava Pestov
08d4a60203
alien.strings cleanup
2009-05-05 09:12:39 -05:00
Slava Pestov
c68e05d3d8
Fix some test failures
2009-05-04 09:44:26 -05:00
Slava Pestov
25f7ce92fa
Remove bogus alien.dlls directory
2009-05-04 06:44:55 -05:00
Slava Pestov
a776dffeb6
Split up tools.vocabs. Note that load-everything is now named load-all
2009-05-04 06:44:17 -05:00
Slava Pestov
4d438a3edd
Remove cruddy string encoding/decoding code from VM
2009-05-02 13:45:38 -05:00
Slava Pestov
b5b80cd0e9
Documentation updates
2009-04-14 20:36:10 -05:00
Slava Pestov
75dd35179b
Fix alien unit tests
2009-04-05 17:34:02 -05:00
Slava Pestov
1040426565
Fix alien hashcode for expired aliens
2009-04-04 20:21:41 -05:00
Slava Pestov
b4a74f55a3
Add hashcode method for simple-alien; improves performance of malloc and free
2009-04-04 19:57:48 -05:00
Doug Coleman
b771758ff7
fix load errors, help lint
2009-03-26 10:45:52 -05:00
Doug Coleman
8b7fcce399
update code for usages of add-library
2009-03-25 23:00:19 -05:00
Doug Coleman
4b275c2861
make add-library normalize-path, use libfactor-ffi-tests for testing ffi
2009-03-25 13:05:34 -05:00
Slava Pestov
be40bd33ee
New initialize-alien word
2009-02-20 20:51:13 -06:00
Slava Pestov
07caee3405
Update some existing code to use initialize
2009-02-10 16:16:12 -06:00
Slava Pestov
7ffbbb13e0
Specialized arrays can now be passed to alien functions directly, without calling underlying>> first
2009-02-06 04:36:17 -06:00
Slava Pestov
a91dee7810
Fix for native I/O backends that create callbacks in deployed apps; this affected tools.deploy.test[35] ever since run-loop multiplexer landed on OS X
2008-12-12 19:48:17 -06:00
Slava Pestov
8819f23312
Replace millis primitive with micros primitive
...
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Slava Pestov
f1286a353f
Fix typo
2008-10-10 13:43:58 -05:00
Slava Pestov
c19f2257f4
Fix permission bits
2008-10-02 08:34:49 -05:00
Slava Pestov
32c2543571
Documentation fixes
2008-09-06 05:12:28 -05:00
Doug Coleman
be2cebd94f
more alien docs
2008-09-04 19:09:46 -05:00
Doug Coleman
57d2e5d8a8
remove accessor
2008-08-29 15:49:23 -05:00
Slava Pestov
d66f887736
Create basis vocab root
2008-07-28 22:03:13 -05:00
Slava Pestov
9df1363d5b
Convert multiplication by power of 2 into a shift
2008-07-13 15:51:20 -05:00