Slava Pestov
d7ff3faa0f
alien: now that fastcall works better it doesn't need to be private
2010-04-10 16:57:07 -07:00
Slava Pestov
4edf4f1519
cpu.x86.32: cleanups and fixes to make fastcall and thiscall callbacks work
2010-04-10 16:54:17 -07:00
Slava Pestov
fa810bc3b4
compiler.tests.alien: fix typo
2010-04-10 00:41:20 -07:00
Slava Pestov
0dc43a94bd
Merge remote branch 'origin/abi-symbols' into fastcall-madness
2010-04-10 00:10:33 -07:00
Slava Pestov
89f912fe74
Fiddle with register assignments in non-optimizing x86-32 backend
2010-04-10 00:10:05 -07:00
Slava Pestov
43f702849d
mason.child: update for Nmakefile change
2010-04-08 16:49:16 -07:00
Slava Pestov
abb0ff9116
Nmakefile: fix 32-bit build
2010-04-08 18:06:22 -05:00
Slava Pestov
2770ccd221
Nmakefile: support both 32-bit and 64-bit builds again
2010-04-08 18:00:00 -05:00
Slava Pestov
1f2f72de5e
vm: implement frame-based SEH for 64-bit Windows
2010-04-08 10:32:14 -07:00
Slava Pestov
7349447295
ui.gadgets.grids: clarify docs
2010-04-08 10:22:59 -07:00
Slava Pestov
e6ac562853
io.monitors.recursive: don't bomb if a dsubordinate monitor is disposed of
2010-04-07 20:40:13 -04:00
Joe Groff
355e9cd849
Merge branch 'master' of factorcode.org:/git/factor
2010-04-06 15:21:51 -07:00
Joe Groff
994ab1bcae
cursors: unify input-cursor and assoc-cursor, give all cursors a "key" concept
2010-04-06 15:20:56 -07:00
Slava Pestov
57f75e93ca
vm: fix compile error under Cygwin
2010-04-06 16:30:41 -05:00
Joe Groff
8eacf44c8c
Merge branch 'master' of factorcode.org:/git/factor
2010-04-06 13:56:52 -07:00
Joe Groff
5753157ae4
debugger: `` '' -> “ ”
2010-04-06 13:56:35 -07:00
Slava Pestov
cebbcee9f9
combinators: fix load error
2010-04-06 16:48:30 -04:00
Slava Pestov
67cc74c75e
combinators: call( now throws an error if a quotation that was declared as never returning actually returns
2010-04-06 16:42:30 -04:00
Joe Groff
e8dc04746e
catch merge conflicts in source and report them as such
2010-04-06 13:34:26 -07:00
Joe Groff
3b4f8758b5
Merge branch 'master' of git://factorcode.org/git/factor into abi-symbols
...
Conflicts:
basis/compiler/tests/alien.factor
2010-04-06 12:30:15 -07:00
Slava Pestov
b4ee322ea3
Store stack bounds in TIB on win64 to make C++ exceptions work
2010-04-05 19:07:10 -04:00
Slava Pestov
06ac80f098
kernel: add examples for if, when, unless and if*
2010-04-05 19:07:10 -04:00
Doug Coleman
43d7b7c863
Temporary fix for directx bindings until I revert flags{ patch or parsing words get redone
2010-04-05 18:01:25 -05:00
Doug Coleman
33f5563811
Dont use literals twice
2010-04-05 18:01:23 -05:00
Slava Pestov
e3b8f3661d
vm: dllexport exception_handler for great justice
2010-04-05 15:48:09 -05:00
Slava Pestov
3b0bc02e11
Safe SEH is better than abstinence
2010-04-05 15:02:32 -05:00
Slava Pestov
639a1f7043
cpu.x86.assembler: add support for absolute addressing on x86-64; [RIP+] now behaves like [] did, and [] now does absolute addressing just like in 32-bit mode
2010-04-04 19:42:57 -04:00
Slava Pestov
a30740ef64
vm: fix callback heap code on 64-bit Windows
2010-04-04 17:46:36 -04:00
Sheepson Apprentice
7df576ddf5
Support unix-x86.32 and winnt-x86.32 boot images in factor.sh
2010-04-04 14:39:59 -05:00
Sheepson Apprentice
f75e0eefbb
When curl fails with a 404 error, don't write this error to disk
2010-04-04 14:30:29 -05:00
Slava Pestov
e70a5a8cfc
vm: fix compile error
2010-04-04 13:53:17 -05:00
Slava Pestov
ad4ee0aa5d
mason.child: fix unit test for boot image renaming
2010-04-04 12:20:56 -04:00
Slava Pestov
44b3977c2b
cpu.x86.64: fix typo that caused bootstrap crash
2010-04-03 21:11:04 -04:00
Slava Pestov
cdc4fb3b62
Get green threads working on Windows
...
- store stack base and limit in TIB
- set up a frame-based structured exception handler in each context's callstack
- boot.x86.32.image has now been replaced by boot.winnt-x86.32.image and boot.unix-x86.32.image
2010-04-03 20:24:33 -04:00
Slava Pestov
30eae10898
continuations: faster with-datastack
2010-04-03 19:10:21 -04:00
Joe Groff
cd0ad27e46
update some more doc examples using old abi strings
2010-04-02 23:16:53 -07:00
Slava Pestov
fc5f7b822e
windows.errors: redundant USING: list entry
2010-04-02 15:58:47 -04:00
Slava Pestov
4e058a0f33
vm: re-organize context structure
2010-04-02 15:42:29 -04:00
Slava Pestov
412766810e
mason.common: increase timeout because Windows is damn slow
2010-04-02 14:14:25 -04:00
Slava Pestov
5509f1f71d
vm: use C++ exceptions instead of longjmp(), to make Windows crash more
2010-04-02 14:10:55 -04:00
Slava Pestov
5e61c327d6
vm: larger default callstack on PowerPC
2010-04-02 14:09:58 -04:00
Joe Groff
30be028d2e
tools.disassembler: allow aliens to be used in address pairs
2010-04-02 00:30:27 -07:00
Joe Groff
e2e562ab05
add tests for fastcall callbacks
2010-04-02 00:23:39 -07:00
Joe Groff
8384a9de68
test fastcall indirect struct return
2010-04-02 00:00:34 -07:00
Joe Groff
abfaabea5d
remove fastcall struct param tests because GCC appears to behave differently from VC++ here and again, who cares
2010-04-01 23:54:08 -07:00
Joe Groff
22bba39a75
add tests for struct returns from fastcall
2010-04-01 23:52:56 -07:00
Joe Groff
6d9d5df8e1
test indirect fastcalls
2010-04-01 23:43:55 -07:00
Joe Groff
a1ea6729ae
compiler.tests.alien: add back fastcall float and struct tests
2010-04-01 22:47:16 -07:00
Joe Groff
2d96bff203
cpu.x86.32: add load-return-regs methods for stack-params so callbacks can box the struct return pointer
2010-04-01 22:01:10 -07:00
Joe Groff
4ff42fd0ab
Merge branch 'master' of factorcode.org:/git/factor
2010-04-01 21:59:10 -07:00