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
William Schlieper
39f066726c
Added mouse support to game.input on Linux
2010-04-03 08:48:15 -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
Erik Charlebois
77e63550a7
Add syntax highlighting for BEFORE: and AFTER:
2010-04-02 00:47:37 -07: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
Joe Groff
3ea0a490fb
Merge branch 'master' of factorcode.org:/git/factor
2010-04-01 21:59:10 -07:00
Joe Groff
fa49520cbf
update nmakefile to statically link VM to exe just like GNUmakefile
2010-04-01 21:59:02 -07:00
Slava Pestov
279ff3a7d3
vm: smaller default callstack size on OpenBSD
2010-04-02 00:36:45 -04:00
Slava Pestov
fa9b6e086b
vm: oops
2010-04-02 00:22:16 -04:00
Slava Pestov
d9d12ab8fb
vm: don't try loading Factor VM DLL anymore
2010-04-02 00:03:26 -04:00
Slava Pestov
0faa3bcf4a
vm: pre-allocate context alien
2010-04-02 00:02:21 -04:00
Joe Groff
88fbcba067
flatten non-integral types to (stack-value) on x86.32
2010-04-01 20:56:43 -07:00
Doug Coleman
0c0935dfc1
Fix typo in webkit demo
2010-04-01 22:25:07 -05:00
Slava Pestov
044171e6b9
cpu.ppc: fix optimizing compiler backend
2010-04-01 21:41:13 -05:00
Slava Pestov
2cab0bb86c
cpu.ppc: stick old stack pointer in a register for use by callbacks
2010-04-01 22:39:46 -04:00
Joe Groff
c12424f834
update alien docs to mention abi symbols
2010-04-01 19:25:24 -07:00
Joe Groff
88da92543c
add a test that multiple stdcalls or fastcalls in the same word behave correctly
2010-04-01 18:48:12 -07:00
Joe Groff
553b9fcd93
make "fastcall" symbol private since it doesn't really work in all cases
2010-04-01 18:34:15 -07:00
Joe Groff
9c1a9158be
retire mixed int/float fastcall tests because who cares
2010-04-01 18:25:56 -07:00
Joe Groff
666081f155
update %load-param-reg, %save-param-reg, and %cleanup to take register args into account
2010-04-01 17:36:09 -07:00
Slava Pestov
eceabbc57e
compiler: new set-special-object intrinsic; more efficient special-object intrinsic
2010-04-01 20:09:14 -04:00
Slava Pestov
1b4b1a180c
Some minor pointless optimizations
2010-04-01 20:09:14 -04:00
Doug Coleman
51fd5e34e8
Fix bootstrap on windows
2010-04-01 18:48:41 -05:00
Joe Groff
ef884ef7f2
Merge branch 'master' into abi-symbols
2010-04-01 15:28:36 -07:00
Joe Groff
7a5a6c779e
add note to deploy docs that «deploy» creates a bundle directory with all the parts, and «deploy-image-only» deploys only the image
2010-04-01 15:25:08 -07:00
Joe Groff
bbe6b729bf
tools.deploy: add a «deploy-image-only» word that only builds the image file to a specified location
2010-04-01 15:11:52 -07:00
Joe Groff
6bc8beb070
tools.deploy.macosx: make sure Contents/Frameworks dir still gets created for apps that deploy third-party libraries
2010-04-01 14:44:18 -07:00
Joe Groff
6fdba565a1
update deploy backends not to include dll in deployed apps
2010-04-01 14:26:56 -07:00
Joe Groff
6d8c30ad98
statically link factor executable to VM so dylib is only needed for embedding
2010-04-01 14:25:02 -07:00
Joe Groff
c743608456
check gc after fastcall ffi tests like stdcall tests
2010-04-01 14:15:34 -07:00
Doug Coleman
8a46a201fc
Fix bootstrap
2010-04-01 15:37:57 -05:00
Doug Coleman
026499e64f
Use flags{ instead of flags all over the place
2010-04-01 14:44:03 -05:00
Joe Groff
615c64443b
update M\ int-regs param-regs for x86-32 to give input regs for thiscall/fastcall
2010-04-01 03:35:37 -07:00
Joe Groff
a191937c47
typos in ffi tests
2010-04-01 03:02:36 -07:00
Joe Groff
4fd61f0b5c
cpu.architecture: alter param-regs to take abi as an (ignored for now) argument
2010-04-01 02:53:40 -07:00
Joe Groff
fca8ba3d0a
add fastcall functions to ffi tests
2010-04-01 02:22:42 -07:00
Erik Charlebois
116c8850ac
PPM image loading and saving
2010-04-01 00:44:32 -07:00