]> gitweb.factorcode.org Git - factor.git/log
factor.git
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 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 '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 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 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 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 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

14 years agotypos in ffi tests
Joe Groff [Thu, 1 Apr 2010 10:02:36 +0000 (03:02 -0700)]
typos in ffi tests

14 years agocpu.architecture: alter param-regs to take abi as an (ignored for now) argument
Joe Groff [Thu, 1 Apr 2010 09:53:40 +0000 (02:53 -0700)]
cpu.architecture: alter param-regs to take abi as an (ignored for now) argument

14 years agoadd fastcall functions to ffi tests
Joe Groff [Thu, 1 Apr 2010 09:22:42 +0000 (02:22 -0700)]
add fastcall functions to ffi tests

14 years agocpu.ppc: updating optimizing compiler backend for recent changes (untested)
Slava Pestov [Thu, 1 Apr 2010 04:22:10 +0000 (00:22 -0400)]
cpu.ppc: updating optimizing compiler backend for recent changes (untested)

14 years agocpu.ppc: non-optimizing compiler backend fixes
Slava Pestov [Thu, 1 Apr 2010 04:21:41 +0000 (00:21 -0400)]
cpu.ppc: non-optimizing compiler backend fixes

14 years agoalien: add singletons for thiscall and fastcall
Joe Groff [Thu, 1 Apr 2010 03:30:04 +0000 (20:30 -0700)]
alien: add singletons for thiscall and fastcall

14 years agoremove redundant «stdcall?» word from cpu.x86.32
Joe Groff [Thu, 1 Apr 2010 02:57:29 +0000 (19:57 -0700)]
remove redundant «stdcall?» word from cpu.x86.32

14 years agoupdate alien.libraries docs to link cdecl/stdcall symbols
Joe Groff [Thu, 1 Apr 2010 02:57:04 +0000 (19:57 -0700)]
update alien.libraries docs to link cdecl/stdcall symbols

14 years ago"stdcall" -> stdcall
Joe Groff [Thu, 1 Apr 2010 02:29:04 +0000 (19:29 -0700)]
"stdcall" -> stdcall

14 years ago"mingw" -> mingw
Joe Groff [Thu, 1 Apr 2010 02:28:11 +0000 (19:28 -0700)]
"mingw" -> mingw

14 years ago"cdecl" -> cdecl
Joe Groff [Thu, 1 Apr 2010 02:20:35 +0000 (19:20 -0700)]
"cdecl" -> cdecl

14 years agoadd singletons for stdcall, cdecl, mingw abis
Joe Groff [Thu, 1 Apr 2010 02:17:06 +0000 (19:17 -0700)]
add singletons for stdcall, cdecl, mingw abis

14 years agocpu.x86.assembler: add segment override prefixes
Slava Pestov [Thu, 1 Apr 2010 00:47:13 +0000 (20:47 -0400)]
cpu.x86.assembler: add segment override prefixes

14 years agocpu.x86.64: eliminate useless instruction from primitive call sequence for a marginal...
Slava Pestov [Wed, 31 Mar 2010 21:06:50 +0000 (17:06 -0400)]
cpu.x86.64: eliminate useless instruction from primitive call sequence for a marginal to non-existent gain

14 years agoFix calendar docs
Doug Coleman [Wed, 31 Mar 2010 22:37:22 +0000 (17:37 -0500)]
Fix calendar docs

14 years agoAdd utiltity words for io.files.unique
Doug Coleman [Wed, 24 Mar 2010 22:52:28 +0000 (17:52 -0500)]
Add utiltity words for io.files.unique

14 years agoLink a word in math docs
Doug Coleman [Wed, 24 Mar 2010 08:04:48 +0000 (03:04 -0500)]
Link a word in math docs

14 years agoAlways do a leap year check when adding timestamps
Doug Coleman [Sat, 20 Mar 2010 23:38:23 +0000 (18:38 -0500)]
Always do a leap year check when adding timestamps

14 years agoMore constants and functions in windows.advapi32
Doug Coleman [Wed, 31 Mar 2010 12:25:07 +0000 (07:25 -0500)]
More constants and functions in windows.advapi32

14 years agoMake literals work with aliases, add flags{ parsing word to clean boilerplate with $[
Doug Coleman [Wed, 31 Mar 2010 12:24:00 +0000 (07:24 -0500)]
Make literals work with aliases, add flags{ parsing word to clean boilerplate with $[

14 years agoReport the Win32 error code along with the error message
Doug Coleman [Wed, 31 Mar 2010 12:23:19 +0000 (07:23 -0500)]
Report the Win32 error code along with the error message

14 years agocpu.ppc: updating non-optimizing compiler backend for green threads (untested)
Slava Pestov [Wed, 31 Mar 2010 19:19:14 +0000 (15:19 -0400)]
cpu.ppc: updating non-optimizing compiler backend for green threads (untested)

14 years agocpu.x86: remove useless crap from c-to-factor sub-primitive
Slava Pestov [Wed, 31 Mar 2010 19:19:00 +0000 (15:19 -0400)]
cpu.x86: remove useless crap from c-to-factor sub-primitive

14 years agotools.deploy.shaker: make sure an io-multiplex method remains even if C streams are...
Slava Pestov [Wed, 31 Mar 2010 17:29:44 +0000 (13:29 -0400)]
tools.deploy.shaker: make sure an io-multiplex method remains even if C streams are stripped out

14 years agotools.deploy.shaker: don't strip out io-thread, since new thread implementation requi...
Slava Pestov [Wed, 31 Mar 2010 14:27:24 +0000 (10:27 -0400)]
tools.deploy.shaker: don't strip out io-thread, since new thread implementation requires at least one thread to be runnable at any time

14 years agolocals: remove some dead code
Slava Pestov [Wed, 31 Mar 2010 01:56:51 +0000 (21:56 -0400)]
locals: remove some dead code