]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoMerge branch 'master' of git://github.com/erikcharlebois/factor
Slava Pestov [Sun, 11 Apr 2010 01:01:19 +0000 (18:01 -0700)]
Merge branch 'master' of git://github.com/erikcharlebois/factor

14 years agovm: try a smaller call stack size on OpenBSD again, now that x86-32 stack frames...
Slava Pestov [Sun, 11 Apr 2010 00:26:56 +0000 (17:26 -0700)]
vm: try a smaller call stack size on OpenBSD again, now that x86-32 stack frames are smaller

14 years agoFixing load errors
Slava Pestov [Sun, 11 Apr 2010 00:24:44 +0000 (17:24 -0700)]
Fixing load errors

14 years agoMerge branch 'master' of github.com:erikcharlebois/factor
Erik Charlebois [Sun, 11 Apr 2010 00:07:44 +0000 (17:07 -0700)]
Merge branch 'master' of github.com:erikcharlebois/factor

14 years agoConvert image to binary form and remove debug code.
Erik Charlebois [Sun, 11 Apr 2010 00:07:05 +0000 (17:07 -0700)]
Convert image to binary form and remove debug code.

14 years agoalien: now that fastcall works better it doesn't need to be private
Slava Pestov [Sat, 10 Apr 2010 23:56:00 +0000 (16:56 -0700)]
alien: now that fastcall works better it doesn't need to be private

14 years agocpu.x86.32: cleanups and fixes to make fastcall and thiscall callbacks work
Slava Pestov [Sat, 10 Apr 2010 23:54:17 +0000 (16:54 -0700)]
cpu.x86.32: cleanups and fixes to make fastcall and thiscall callbacks work

14 years agoTypo in cairo ffi for C-ENUM change.
Erik Charlebois [Sat, 10 Apr 2010 08:26:26 +0000 (01:26 -0700)]
Typo in cairo ffi for C-ENUM change.

14 years agocompiler.tests.alien: fix typo
Slava Pestov [Sat, 10 Apr 2010 07:41:20 +0000 (00:41 -0700)]
compiler.tests.alien: fix typo

14 years agoForget to save some files for enum change
Erik Charlebois [Sat, 10 Apr 2010 07:12:59 +0000 (00:12 -0700)]
Forget to save some files for enum change

14 years agoMerge remote branch 'origin/abi-symbols' into fastcall-madness
Slava Pestov [Sat, 10 Apr 2010 07:10:33 +0000 (00:10 -0700)]
Merge remote branch 'origin/abi-symbols' into fastcall-madness

14 years agoFiddle with register assignments in non-optimizing x86-32 backend
Slava Pestov [Sat, 10 Apr 2010 04:13:48 +0000 (21:13 -0700)]
Fiddle with register assignments in non-optimizing x86-32 backend

14 years agoRemove empty quad vocabulary
Erik Charlebois [Sat, 10 Apr 2010 07:02:44 +0000 (00:02 -0700)]
Remove empty quad vocabulary

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor
Erik Charlebois [Sat, 10 Apr 2010 06:49:40 +0000 (23:49 -0700)]
Merge branch 'master' of git://github.com/slavapestov/factor

14 years agoChange C-ENUM: to always take a type. Use f for anonymous enums. Update all uses.
Erik Charlebois [Sat, 10 Apr 2010 06:48:22 +0000 (23:48 -0700)]
Change C-ENUM: to always take a type. Use f for anonymous enums. Update all uses.

14 years agoHelper words for elf
Erik Charlebois [Sat, 10 Apr 2010 06:45:21 +0000 (23:45 -0700)]
Helper words for elf

14 years agomason.child: update for Nmakefile change
Slava Pestov [Thu, 8 Apr 2010 23:40:51 +0000 (16:40 -0700)]
mason.child: update for Nmakefile change

14 years agoNmakefile: fix 32-bit build
Slava Pestov [Thu, 8 Apr 2010 23:06:22 +0000 (18:06 -0500)]
Nmakefile: fix 32-bit build

14 years agoNmakefile: support both 32-bit and 64-bit builds again
Slava Pestov [Thu, 8 Apr 2010 23:00:00 +0000 (18:00 -0500)]
Nmakefile: support both 32-bit and 64-bit builds again

14 years agovm: implement frame-based SEH for 64-bit Windows
Slava Pestov [Thu, 8 Apr 2010 17:32:14 +0000 (10:32 -0700)]
vm: implement frame-based SEH for 64-bit Windows

14 years agoui.gadgets.grids: clarify docs
Slava Pestov [Thu, 8 Apr 2010 17:22:59 +0000 (10:22 -0700)]
ui.gadgets.grids: clarify docs

14 years agoio.monitors.recursive: don't bomb if a dsubordinate monitor is disposed of
Slava Pestov [Thu, 8 Apr 2010 00:40:13 +0000 (20:40 -0400)]
io.monitors.recursive: don't bomb if a dsubordinate monitor is disposed of

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Tue, 6 Apr 2010 22:21:51 +0000 (15:21 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agocursors: unify input-cursor and assoc-cursor, give all cursors a "key" concept
Joe Groff [Tue, 6 Apr 2010 22:20:56 +0000 (15:20 -0700)]
cursors: unify input-cursor and assoc-cursor, give all cursors a "key" concept

14 years agovm: fix compile error under Cygwin
Slava Pestov [Tue, 6 Apr 2010 21:30:41 +0000 (16:30 -0500)]
vm: fix compile error under Cygwin

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Tue, 6 Apr 2010 20:56:52 +0000 (13:56 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agodebugger: `` '' -> “ ”
Joe Groff [Tue, 6 Apr 2010 20:56:35 +0000 (13:56 -0700)]
debugger: `` '' -> “ ”

14 years agocombinators: fix load error
Slava Pestov [Tue, 6 Apr 2010 20:48:30 +0000 (16:48 -0400)]
combinators: fix load error

14 years agocombinators: call( now throws an error if a quotation that was declared as never...
Slava Pestov [Tue, 6 Apr 2010 20:42:30 +0000 (16:42 -0400)]
combinators: call( now throws an error if a quotation that was declared as never returning actually returns

14 years agocatch merge conflicts in source and report them as such
Joe Groff [Tue, 6 Apr 2010 20:34:26 +0000 (13:34 -0700)]
catch merge conflicts in source and report them as such

14 years agoMerge branch 'techniques'
Erik Charlebois [Tue, 6 Apr 2010 20:12:37 +0000 (13:12 -0700)]
Merge branch 'techniques'

14 years agoMore work on fluids
Erik Charlebois [Tue, 6 Apr 2010 20:12:10 +0000 (13:12 -0700)]
More work on fluids

14 years agoHelper words for ELF parsing
Erik Charlebois [Tue, 6 Apr 2010 19:59:46 +0000 (12:59 -0700)]
Helper words for ELF parsing

14 years agoSyntax highlighting for TYPED::
Erik Charlebois [Tue, 6 Apr 2010 19:58:37 +0000 (12:58 -0700)]
Syntax highlighting for TYPED::

14 years agoMerge branch 'master' of git://factorcode.org/git/factor into abi-symbols
Joe Groff [Tue, 6 Apr 2010 19:30:15 +0000 (12:30 -0700)]
Merge branch 'master' of git://factorcode.org/git/factor into abi-symbols

Conflicts:
basis/compiler/tests/alien.factor

14 years agoExtend C-ENUM: to allow specifying the constant vvalues like in C. Add C-TYPED-ENUM...
Erik Charlebois [Tue, 6 Apr 2010 09:46:23 +0000 (02:46 -0700)]
Extend C-ENUM: to allow specifying the constant vvalues like in C. Add C-TYPED-ENUM: to automatically typedef a type.

14 years agoMach-O FFI constants and data structures.
Erik Charlebois [Tue, 6 Apr 2010 09:44:57 +0000 (02:44 -0700)]
Mach-O FFI constants and data structures.

14 years agoStore stack bounds in TIB on win64 to make C++ exceptions work
Slava Pestov [Mon, 5 Apr 2010 23:06:51 +0000 (19:06 -0400)]
Store stack bounds in TIB on win64 to make C++ exceptions work

14 years agokernel: add examples for if, when, unless and if*
Slava Pestov [Mon, 5 Apr 2010 21:19:43 +0000 (17:19 -0400)]
kernel: add examples for if, when, unless and if*

14 years agoTemporary fix for directx bindings until I revert flags{ patch or parsing words get...
Doug Coleman [Mon, 5 Apr 2010 22:57:18 +0000 (17:57 -0500)]
Temporary fix for directx bindings until I revert flags{ patch or parsing words get redone

14 years agoDont use literals twice
Doug Coleman [Mon, 5 Apr 2010 08:07:03 +0000 (03:07 -0500)]
Dont use literals twice

14 years agovm: dllexport exception_handler for great justice
Slava Pestov [Mon, 5 Apr 2010 20:48:09 +0000 (15:48 -0500)]
vm: dllexport exception_handler for great justice

14 years agoSafe SEH is better than abstinence
Slava Pestov [Mon, 5 Apr 2010 19:49:32 +0000 (14:49 -0500)]
Safe SEH is better than abstinence

14 years agoGet fluids working on Mac
Erik Charlebois [Mon, 5 Apr 2010 08:38:39 +0000 (01:38 -0700)]
Get fluids working on Mac

14 years agoFix step effect
Erik Charlebois [Mon, 5 Apr 2010 03:52:09 +0000 (20:52 -0700)]
Fix step effect

14 years agoMerge branch 'master' of git://github.com/slavapestov/factor into techniques
Erik Charlebois [Mon, 5 Apr 2010 03:38:59 +0000 (20:38 -0700)]
Merge branch 'master' of git://github.com/slavapestov/factor into techniques

14 years agoTechniques work
Erik Charlebois [Mon, 5 Apr 2010 01:57:58 +0000 (18:57 -0700)]
Techniques work

14 years agocpu.x86.assembler: add support for absolute addressing on x86-64; [RIP+] now behaves...
Slava Pestov [Sun, 4 Apr 2010 23:42:57 +0000 (19:42 -0400)]
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

14 years agovm: fix callback heap code on 64-bit Windows
Slava Pestov [Sun, 4 Apr 2010 21:46:36 +0000 (17:46 -0400)]
vm: fix callback heap code on 64-bit Windows

14 years agoSupport unix-x86.32 and winnt-x86.32 boot images in factor.sh
Sheepson Apprentice [Sun, 4 Apr 2010 19:39:59 +0000 (14:39 -0500)]
Support unix-x86.32 and winnt-x86.32 boot images in factor.sh

14 years agoWhen curl fails with a 404 error, don't write this error to disk
Sheepson Apprentice [Sun, 4 Apr 2010 19:30:29 +0000 (14:30 -0500)]
When curl fails with a 404 error, don't write this error to disk

14 years agovm: fix compile error
Slava Pestov [Sun, 4 Apr 2010 18:53:17 +0000 (13:53 -0500)]
vm: fix compile error

14 years agomason.child: fix unit test for boot image renaming
Slava Pestov [Sun, 4 Apr 2010 16:20:56 +0000 (12:20 -0400)]
mason.child: fix unit test for boot image renaming

14 years agoPGM image loading and saving
Erik Charlebois [Sun, 4 Apr 2010 10:23:04 +0000 (03:23 -0700)]
PGM image loading and saving

14 years agocpu.x86.64: fix typo that caused bootstrap crash
Slava Pestov [Sun, 4 Apr 2010 01:11:04 +0000 (21:11 -0400)]
cpu.x86.64: fix typo that caused bootstrap crash

14 years agoGet green threads working on Windows
Slava Pestov [Sun, 4 Apr 2010 00:24:33 +0000 (20:24 -0400)]
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

14 years agocontinuations: faster with-datastack
Slava Pestov [Sat, 3 Apr 2010 23:10:21 +0000 (19:10 -0400)]
continuations: faster with-datastack

14 years agoupdate some more doc examples using old abi strings
Joe Groff [Sat, 3 Apr 2010 06:16:53 +0000 (23:16 -0700)]
update some more doc examples using old abi strings

14 years agowindows.errors: redundant USING: list entry
Slava Pestov [Fri, 2 Apr 2010 19:58:47 +0000 (15:58 -0400)]
windows.errors: redundant USING: list entry

14 years agovm: re-organize context structure
Slava Pestov [Fri, 2 Apr 2010 19:42:29 +0000 (15:42 -0400)]
vm: re-organize context structure

14 years agomason.common: increase timeout because Windows is damn slow
Slava Pestov [Fri, 2 Apr 2010 18:14:25 +0000 (14:14 -0400)]
mason.common: increase timeout because Windows is damn slow

14 years agovm: use C++ exceptions instead of longjmp(), to make Windows crash more
Slava Pestov [Fri, 2 Apr 2010 18:10:55 +0000 (14:10 -0400)]
vm: use C++ exceptions instead of longjmp(), to make Windows crash more

14 years agovm: larger default callstack on PowerPC
Slava Pestov [Fri, 2 Apr 2010 18:09:58 +0000 (14:09 -0400)]
vm: larger default callstack on PowerPC

14 years agoAdd syntax highlighting for BEFORE: and AFTER:
Erik Charlebois [Fri, 2 Apr 2010 07:47:37 +0000 (00:47 -0700)]
Add syntax highlighting for BEFORE: and AFTER:

14 years agotools.disassembler: allow aliens to be used in address pairs
Joe Groff [Fri, 2 Apr 2010 07:30:27 +0000 (00:30 -0700)]
tools.disassembler: allow aliens to be used in address pairs

14 years agoadd tests for fastcall callbacks
Joe Groff [Fri, 2 Apr 2010 07:23:39 +0000 (00:23 -0700)]
add tests for fastcall callbacks

14 years agotest fastcall indirect struct return
Joe Groff [Fri, 2 Apr 2010 07:00:34 +0000 (00:00 -0700)]
test fastcall indirect struct return

14 years agoremove fastcall struct param tests because GCC appears to behave differently from...
Joe Groff [Fri, 2 Apr 2010 06:54:08 +0000 (23:54 -0700)]
remove fastcall struct param tests because GCC appears to behave differently from VC++ here and again, who cares

14 years agoadd tests for struct returns from fastcall
Joe Groff [Fri, 2 Apr 2010 06:52:56 +0000 (23:52 -0700)]
add tests for struct returns from fastcall

14 years agotest indirect fastcalls
Joe Groff [Fri, 2 Apr 2010 06:43:55 +0000 (23:43 -0700)]
test indirect fastcalls

14 years agocompiler.tests.alien: add back fastcall float and struct tests
Joe Groff [Fri, 2 Apr 2010 05:47:16 +0000 (22:47 -0700)]
compiler.tests.alien: add back fastcall float and struct tests

14 years agocpu.x86.32: add load-return-regs methods for stack-params so callbacks can box the...
Joe Groff [Fri, 2 Apr 2010 05:01:10 +0000 (22:01 -0700)]
cpu.x86.32: add load-return-regs methods for stack-params so callbacks can box the struct return pointer

14 years agoMerge branch 'master' of factorcode.org:/git/factor
Joe Groff [Fri, 2 Apr 2010 04:59:10 +0000 (21:59 -0700)]
Merge branch 'master' of factorcode.org:/git/factor

14 years agoupdate nmakefile to statically link VM to exe just like GNUmakefile
Joe Groff [Fri, 2 Apr 2010 04:59:02 +0000 (21:59 -0700)]
update nmakefile to statically link VM to exe just like GNUmakefile

14 years agovm: smaller default callstack size on OpenBSD
Slava Pestov [Fri, 2 Apr 2010 04:36:45 +0000 (00:36 -0400)]
vm: smaller default callstack size on OpenBSD

14 years agovm: oops
Slava Pestov [Fri, 2 Apr 2010 04:22:16 +0000 (00:22 -0400)]
vm: oops

14 years agovm: don't try loading Factor VM DLL anymore
Slava Pestov [Fri, 2 Apr 2010 04:03:26 +0000 (00:03 -0400)]
vm: don't try loading Factor VM DLL anymore

14 years agovm: pre-allocate context alien
Slava Pestov [Fri, 2 Apr 2010 02:12:45 +0000 (22:12 -0400)]
vm: pre-allocate context alien

14 years agoflatten non-integral types to (stack-value) on x86.32
Joe Groff [Fri, 2 Apr 2010 03:56:43 +0000 (20:56 -0700)]
flatten non-integral types to (stack-value) on x86.32

14 years agoFix typo in webkit demo
Doug Coleman [Fri, 2 Apr 2010 03:24:46 +0000 (22:24 -0500)]
Fix typo in webkit demo

14 years agocpu.ppc: fix optimizing compiler backend
Slava Pestov [Fri, 2 Apr 2010 02:41:13 +0000 (21:41 -0500)]
cpu.ppc: fix optimizing compiler backend

14 years agocpu.ppc: stick old stack pointer in a register for use by callbacks
Slava Pestov [Fri, 2 Apr 2010 02:39:46 +0000 (22:39 -0400)]
cpu.ppc: stick old stack pointer in a register for use by callbacks

14 years agoupdate alien docs to mention abi symbols
Joe Groff [Fri, 2 Apr 2010 02:25:24 +0000 (19:25 -0700)]
update alien docs to mention abi symbols

14 years agoadd a test that multiple stdcalls or fastcalls in the same word behave correctly
Joe Groff [Fri, 2 Apr 2010 01:48:12 +0000 (18:48 -0700)]
add a test that multiple stdcalls or fastcalls in the same word behave correctly

14 years agomake "fastcall" symbol private since it doesn't really work in all cases
Joe Groff [Fri, 2 Apr 2010 01:34:15 +0000 (18:34 -0700)]
make "fastcall" symbol private since it doesn't really work in all cases

14 years agoretire mixed int/float fastcall tests because who cares
Joe Groff [Fri, 2 Apr 2010 01:25:56 +0000 (18:25 -0700)]
retire mixed int/float fastcall tests because who cares

14 years agoupdate %load-param-reg, %save-param-reg, and %cleanup to take register args into...
Joe Groff [Fri, 2 Apr 2010 00:36:09 +0000 (17:36 -0700)]
update %load-param-reg, %save-param-reg, and %cleanup to take register args into account

14 years agocompiler: new set-special-object intrinsic; more efficient special-object intrinsic
Slava Pestov [Fri, 2 Apr 2010 00:06:18 +0000 (20:06 -0400)]
compiler: new set-special-object intrinsic; more efficient special-object intrinsic

14 years agoSome minor pointless optimizations
Slava Pestov [Fri, 2 Apr 2010 00:05:32 +0000 (20:05 -0400)]
Some minor pointless optimizations

14 years agoFix bootstrap on windows
Doug Coleman [Thu, 1 Apr 2010 23:48:25 +0000 (18:48 -0500)]
Fix bootstrap on windows

14 years agoMerge branch 'master' into abi-symbols
Joe Groff [Thu, 1 Apr 2010 22:28:36 +0000 (15:28 -0700)]
Merge branch 'master' into abi-symbols

14 years agoadd note to deploy docs that «deploy» creates a bundle directory with all the parts...
Joe Groff [Thu, 1 Apr 2010 22:23:29 +0000 (15:23 -0700)]
add note to deploy docs that «deploy» creates a bundle directory with all the parts, and «deploy-image-only» deploys only the image

14 years agotools.deploy: add a «deploy-image-only» word that only builds the image file to a...
Joe Groff [Thu, 1 Apr 2010 22:11:52 +0000 (15:11 -0700)]
tools.deploy: add a «deploy-image-only» word that only builds the image file to a specified location

14 years agotools.deploy.macosx: make sure Contents/Frameworks dir still gets created for apps...
Joe Groff [Thu, 1 Apr 2010 21:44:18 +0000 (14:44 -0700)]
tools.deploy.macosx: make sure Contents/Frameworks dir still gets created for apps that deploy third-party libraries

14 years agoupdate deploy backends not to include dll in deployed apps
Joe Groff [Thu, 1 Apr 2010 21:26:56 +0000 (14:26 -0700)]
update deploy backends not to include dll in deployed apps

14 years agostatically link factor executable to VM so dylib is only needed for embedding
Joe Groff [Thu, 1 Apr 2010 21:25:02 +0000 (14:25 -0700)]
statically link factor executable to VM so dylib is only needed for embedding

14 years agocheck gc after fastcall ffi tests like stdcall tests
Joe Groff [Thu, 1 Apr 2010 21:15:34 +0000 (14:15 -0700)]
check gc after fastcall ffi tests like stdcall tests

14 years agoFix bootstrap
Doug Coleman [Thu, 1 Apr 2010 20:37:57 +0000 (15:37 -0500)]
Fix bootstrap

14 years agoUse flags{ instead of flags all over the place
Doug Coleman [Thu, 1 Apr 2010 19:43:27 +0000 (14:43 -0500)]
Use flags{ instead of flags all over the place

14 years agoupdate M\ int-regs param-regs for x86-32 to give input regs for thiscall/fastcall
Joe Groff [Thu, 1 Apr 2010 10:35:37 +0000 (03:35 -0700)]
update M\ int-regs param-regs for x86-32 to give input regs for thiscall/fastcall