]> gitweb.factorcode.org Git - factor.git/log
factor.git
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 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 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 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 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 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 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 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 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 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 agoPPM image loading and saving
Erik Charlebois [Thu, 1 Apr 2010 07:44:32 +0000 (00:44 -0700)]
PPM image loading and saving

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 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

14 years agothreads: delete old contexts immediately instead of handing them off to a 'context...
Slava Pestov [Wed, 31 Mar 2010 01:47:48 +0000 (21:47 -0400)]
threads: delete old contexts immediately instead of handing them off to a 'context recycler' thread

14 years agomodels.product: fix example (reported by Muzzleflash)
Slava Pestov [Tue, 30 Mar 2010 21:33:08 +0000 (17:33 -0400)]
models.product: fix example (reported by Muzzleflash)

14 years agoDocument (free), move it out of libc.private and mention it in the "c-strings" help...
Slava Pestov [Tue, 30 Mar 2010 21:31:41 +0000 (17:31 -0400)]
Document (free), move it out of libc.private and mention it in the "c-strings" help article (reported by Blei)

14 years agovalidators: fix v-default (reported by Niklas Waern)
Slava Pestov [Tue, 30 Mar 2010 19:35:36 +0000 (15:35 -0400)]
validators: fix v-default (reported by Niklas Waern)

14 years agoconcurrency.distributed: fix for removal of 'thread' word
Slava Pestov [Tue, 30 Mar 2010 05:17:39 +0000 (01:17 -0400)]
concurrency.distributed: fix for removal of 'thread' word

14 years agosets, hash-sets, bit-sets: fix some typos in the documentation
Slava Pestov [Tue, 30 Mar 2010 05:10:39 +0000 (01:10 -0400)]
sets, hash-sets, bit-sets: fix some typos in the documentation

14 years agothreads: use context-switching primitives
Slava Pestov [Tue, 30 Mar 2010 00:40:17 +0000 (20:40 -0400)]
threads: use context-switching primitives

14 years agoui.gadgets.buttons: fix incorrect parameter order in <radio-controls>
Slava Pestov [Mon, 29 Mar 2010 19:08:15 +0000 (15:08 -0400)]
ui.gadgets.buttons: fix incorrect parameter order in <radio-controls>

14 years agobootstrap.compiler: fix joint dependencies declared here
Slava Pestov [Mon, 29 Mar 2010 17:14:26 +0000 (13:14 -0400)]
bootstrap.compiler: fix joint dependencies declared here

14 years agovm: fix typos
Slava Pestov [Mon, 29 Mar 2010 06:27:45 +0000 (02:27 -0400)]
vm: fix typos

14 years agovm: split up TLS code and add a dummy implementation for a dummy OS known as NetBSD
Slava Pestov [Mon, 29 Mar 2010 06:23:21 +0000 (02:23 -0400)]
vm: split up TLS code and add a dummy implementation for a dummy OS known as NetBSD

14 years agovm: callstack errors were flipped
Slava Pestov [Mon, 29 Mar 2010 05:53:20 +0000 (01:53 -0400)]
vm: callstack errors were flipped

14 years agovariables: typed vars, globals
Joe Groff [Mon, 29 Mar 2010 04:25:49 +0000 (21:25 -0700)]
variables: typed vars, globals

14 years ago"variables" vocab with uniform-access global, dynamic, and local vars
Joe Groff [Mon, 29 Mar 2010 02:27:34 +0000 (19:27 -0700)]
"variables" vocab with uniform-access global, dynamic, and local vars

14 years agoremove old, unused 'vars' vocab
Joe Groff [Mon, 29 Mar 2010 02:26:24 +0000 (19:26 -0700)]
remove old, unused 'vars' vocab

14 years agosomeone screwed up the kernel-error codes in debugger
Joe Groff [Mon, 29 Mar 2010 01:31:11 +0000 (18:31 -0700)]
someone screwed up the kernel-error codes in debugger

14 years agoMerge branch 'master' into conditional
Daniel Ehrenberg [Sun, 28 Mar 2010 23:49:32 +0000 (19:49 -0400)]
Merge branch 'master' into conditional

14 years agovm: don't use sigaltstack() on OpenBSD because OpenBSD sucks
Doug Coleman [Sun, 28 Mar 2010 23:26:39 +0000 (18:26 -0500)]
vm: don't use sigaltstack() on OpenBSD because OpenBSD sucks

14 years agokernel: don't test callstack overflow on OpenBSD or Windows
Slava Pestov [Sun, 28 Mar 2010 22:58:05 +0000 (17:58 -0500)]
kernel: don't test callstack overflow on OpenBSD or Windows

14 years agovm: fix SEH on Windows
Slava Pestov [Sun, 28 Mar 2010 22:57:47 +0000 (17:57 -0500)]
vm: fix SEH on Windows

14 years agovm: fix OpenBSD compilation
Slava Pestov [Sun, 28 Mar 2010 16:53:01 +0000 (12:53 -0400)]
vm: fix OpenBSD compilation

14 years agovm: fix compilation on FreeBSD
Slava Pestov [Sun, 28 Mar 2010 16:52:16 +0000 (12:52 -0400)]
vm: fix compilation on FreeBSD

14 years agothreads: fix thread-local variables
Slava Pestov [Sun, 28 Mar 2010 16:33:41 +0000 (12:33 -0400)]
threads: fix thread-local variables

14 years agovm: use sigaltstack to handle callstack overflow properly
Slava Pestov [Sun, 28 Mar 2010 15:37:28 +0000 (11:37 -0400)]
vm: use sigaltstack to handle callstack overflow properly

14 years agocpu.x86.bootstrap: fix jit-profiling regression
Slava Pestov [Sun, 28 Mar 2010 11:30:58 +0000 (07:30 -0400)]
cpu.x86.bootstrap: fix jit-profiling regression

14 years agothreads: simplify 'suspend' combinator
Slava Pestov [Sat, 27 Mar 2010 16:03:06 +0000 (12:03 -0400)]
threads: simplify 'suspend' combinator

14 years agovm: fix factor_vm::dispatch_signal()
Slava Pestov [Sun, 28 Mar 2010 12:29:10 +0000 (08:29 -0400)]
vm: fix factor_vm::dispatch_signal()

14 years agoDebug rendering vocabulary
Erik Charlebois [Sat, 27 Mar 2010 21:31:24 +0000 (14:31 -0700)]
Debug rendering vocabulary

14 years agoFFI structs for manipulating ELF objects.
Erik Charlebois [Sat, 27 Mar 2010 21:21:28 +0000 (14:21 -0700)]
FFI structs for manipulating ELF objects.

14 years agovm: fix compilation on various Unices
Slava Pestov [Sat, 27 Mar 2010 13:44:20 +0000 (09:44 -0400)]
vm: fix compilation on various Unices

14 years agoset-context and start-context primitives can now pass parameters around
Slava Pestov [Sat, 27 Mar 2010 12:13:57 +0000 (08:13 -0400)]
set-context and start-context primitives can now pass parameters around

14 years agovm: report callstack overflow
Slava Pestov [Sat, 27 Mar 2010 11:45:11 +0000 (07:45 -0400)]
vm: report callstack overflow

14 years agovm: signal handling cleanup
Slava Pestov [Sat, 27 Mar 2010 11:33:28 +0000 (07:33 -0400)]
vm: signal handling cleanup

14 years agospelling: John Benediktsson's port of Peter Norvig's spelling corrector
Slava Pestov [Sat, 27 Mar 2010 10:25:47 +0000 (06:25 -0400)]
spelling: John Benediktsson's port of Peter Norvig's spelling corrector

14 years agovm: clean up TLS usage
Slava Pestov [Sat, 27 Mar 2010 07:44:40 +0000 (03:44 -0400)]
vm: clean up TLS usage

14 years agovm: fix ridiculous default callstack size
Slava Pestov [Sat, 27 Mar 2010 07:35:10 +0000 (03:35 -0400)]
vm: fix ridiculous default callstack size