Slava Pestov
145e6428ba
Fixing load errors
2010-04-10 17:24:44 -07:00
Slava Pestov
0202c35d2a
alien: now that fastcall works better it doesn't need to be private
2010-04-10 16:57:07 -07:00
Slava Pestov
ed40eb4239
cpu.x86.32: cleanups and fixes to make fastcall and thiscall callbacks work
2010-04-10 16:54:17 -07:00
Slava Pestov
0aab7aa872
compiler.tests.alien: fix typo
2010-04-10 00:41:20 -07:00
Slava Pestov
46a1fb2646
Merge remote branch 'origin/abi-symbols' into fastcall-madness
2010-04-10 00:10:33 -07:00
Slava Pestov
f828f9fdaa
Fiddle with register assignments in non-optimizing x86-32 backend
2010-04-10 00:10:05 -07:00
Slava Pestov
618915a084
mason.child: update for Nmakefile change
2010-04-08 16:49:16 -07:00
Slava Pestov
ea81faffca
Nmakefile: fix 32-bit build
2010-04-08 18:06:22 -05:00
Slava Pestov
1019278474
Nmakefile: support both 32-bit and 64-bit builds again
2010-04-08 18:00:00 -05:00
Slava Pestov
e5e51c40a1
vm: implement frame-based SEH for 64-bit Windows
2010-04-08 10:32:14 -07:00
Slava Pestov
b330595c3b
ui.gadgets.grids: clarify docs
2010-04-08 10:22:59 -07:00
Slava Pestov
85f3c69c70
io.monitors.recursive: don't bomb if a dsubordinate monitor is disposed of
2010-04-07 20:40:13 -04:00
Joe Groff
12f187d0eb
Merge branch 'master' of factorcode.org:/git/factor
2010-04-06 15:21:51 -07:00
Joe Groff
aa7bf38e38
cursors: unify input-cursor and assoc-cursor, give all cursors a "key" concept
2010-04-06 15:20:56 -07:00
Slava Pestov
c931870cd7
vm: fix compile error under Cygwin
2010-04-06 16:30:41 -05:00
Joe Groff
e67a48d720
Merge branch 'master' of factorcode.org:/git/factor
2010-04-06 13:56:52 -07:00
Joe Groff
fe085c96d6
debugger: `` '' -> “ ”
2010-04-06 13:56:35 -07:00
Slava Pestov
0d00160f4c
combinators: fix load error
2010-04-06 16:48:30 -04:00
Slava Pestov
e0196da1c8
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
c3f8f5067e
catch merge conflicts in source and report them as such
2010-04-06 13:34:26 -07:00
Joe Groff
3e0d86f355
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
430a05dcea
Store stack bounds in TIB on win64 to make C++ exceptions work
2010-04-05 19:07:10 -04:00
Slava Pestov
d6fb134d5f
kernel: add examples for if, when, unless and if*
2010-04-05 19:07:10 -04:00
Doug Coleman
eac2849833
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
9ec94f242d
Dont use literals twice
2010-04-05 18:01:23 -05:00
Slava Pestov
ff0e084f94
vm: dllexport exception_handler for great justice
2010-04-05 15:48:09 -05:00
Slava Pestov
9b44451682
Safe SEH is better than abstinence
2010-04-05 15:02:32 -05:00
Slava Pestov
c0af678c5b
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
ce16c4ec2c
vm: fix callback heap code on 64-bit Windows
2010-04-04 17:46:36 -04:00
Sheepson Apprentice
cd05b1007d
Support unix-x86.32 and winnt-x86.32 boot images in factor.sh
2010-04-04 14:39:59 -05:00
Sheepson Apprentice
6e40b77a9f
When curl fails with a 404 error, don't write this error to disk
2010-04-04 14:30:29 -05:00
Slava Pestov
d70cf197f2
vm: fix compile error
2010-04-04 13:53:17 -05:00
Slava Pestov
52736dd94f
mason.child: fix unit test for boot image renaming
2010-04-04 12:20:56 -04:00
Slava Pestov
b16d91576c
cpu.x86.64: fix typo that caused bootstrap crash
2010-04-03 21:11:04 -04:00
Slava Pestov
74640b7f71
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
be024c228c
continuations: faster with-datastack
2010-04-03 19:10:21 -04:00
Joe Groff
2240520e2d
update some more doc examples using old abi strings
2010-04-02 23:16:53 -07:00
Slava Pestov
f86c9439e9
windows.errors: redundant USING: list entry
2010-04-02 15:58:47 -04:00
Slava Pestov
de4343eaf7
vm: re-organize context structure
2010-04-02 15:42:29 -04:00
Slava Pestov
68073831f9
mason.common: increase timeout because Windows is damn slow
2010-04-02 14:14:25 -04:00
Slava Pestov
b740a1fe5d
vm: use C++ exceptions instead of longjmp(), to make Windows crash more
2010-04-02 14:10:55 -04:00
Slava Pestov
d24ce84dde
vm: larger default callstack on PowerPC
2010-04-02 14:09:58 -04:00
Joe Groff
2d22a8eb49
tools.disassembler: allow aliens to be used in address pairs
2010-04-02 00:30:27 -07:00
Joe Groff
1c5f718e80
add tests for fastcall callbacks
2010-04-02 00:23:39 -07:00
Joe Groff
47f3ace5ac
test fastcall indirect struct return
2010-04-02 00:00:34 -07:00
Joe Groff
43d73dcd4d
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
5dcfb383a6
add tests for struct returns from fastcall
2010-04-01 23:52:56 -07:00
Joe Groff
69abcd4b9b
test indirect fastcalls
2010-04-01 23:43:55 -07:00
Joe Groff
fd0569e553
compiler.tests.alien: add back fastcall float and struct tests
2010-04-01 22:47:16 -07:00
Joe Groff
2c3fde412a
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