Commit Graph

20423 Commits (8ae600124c378908b2a82c6d418881f61a2fcfff)

Author SHA1 Message Date
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
Erik Charlebois a91d7a0e7b Get fluids working on Mac 2010-04-05 01:38:39 -07:00
Erik Charlebois 6081abea04 Fix step effect 2010-04-04 20:52:09 -07:00
Erik Charlebois b9de2ca5c1 Merge branch 'master' of git://github.com/slavapestov/factor into techniques 2010-04-04 20:38:59 -07:00
Erik Charlebois 964f45fc77 Techniques work 2010-04-04 18:57:58 -07: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
Erik Charlebois 925d2c7e58 PGM image loading and saving 2010-04-04 03:23:04 -07: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
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