]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 years agoUse ParseCommandLineArgvw() on Windows again, instead of hand-rolled parser. Update...
Slava Pestov [Mon, 18 Jan 2010 12:12:04 +0000 (06:12 -0600)]
Use ParseCommandLineArgvw() on Windows again, instead of hand-rolled parser. Update Nmakefile to link in shell32.dll, where this function is defined

14 years agoDon't build the Factor dll twice on Windows
Doug Coleman [Mon, 18 Jan 2010 11:21:50 +0000 (05:21 -0600)]
Don't build the Factor dll twice on Windows

14 years agocompiler.tree.escape-analysis: make tests a bit more robust; a change to boa construc...
Slava Pestov [Mon, 18 Jan 2010 10:32:34 +0000 (23:32 +1300)]
compiler.tree.escape-analysis: make tests a bit more robust; a change to boa constructors recently meant dead curries were showing up on certain expansions, this was throwing off the escape-analysis test's unboxed allocation counting. Fix this by having the test run DCE first, and remove a few tests that no longer make sense now

14 years agoio.servers.connection: accept-loop doesn't need to be 'inline recursive'
Slava Pestov [Mon, 18 Jan 2010 09:23:57 +0000 (22:23 +1300)]
io.servers.connection: accept-loop doesn't need to be 'inline recursive'

14 years agoStop wearing monocle and use the term "entry point" instead of "XT" throughout VM...
Slava Pestov [Mon, 18 Jan 2010 07:51:27 +0000 (20:51 +1300)]
Stop wearing monocle and use the term "entry point" instead of "XT" throughout VM and compiler; also remove two unused relocation types

14 years agoFix minor typo in <server> docs
Doug Coleman [Mon, 18 Jan 2010 05:13:20 +0000 (23:13 -0600)]
Fix minor typo in <server> docs

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sun, 17 Jan 2010 07:15:02 +0000 (23:15 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agomethod-chains docs
Joe Groff [Sun, 17 Jan 2010 07:13:59 +0000 (23:13 -0800)]
method-chains docs

14 years agodocument game.loop
Joe Groff [Sun, 17 Jan 2010 07:07:11 +0000 (23:07 -0800)]
document game.loop

14 years agoadd begin-game-world and end-game-world generics so method-chains aren't needed just...
Joe Groff [Sun, 17 Jan 2010 07:06:54 +0000 (23:06 -0800)]
add begin-game-world and end-game-world generics so method-chains aren't needed just to do game setup and teardown at the right time

14 years agovm: fix command line parsing on Windows
Slava Pestov [Sun, 17 Jan 2010 06:04:49 +0000 (00:04 -0600)]
vm: fix command line parsing on Windows

14 years agoWork around gcc bug on openbsd
Doug Coleman [Sun, 17 Jan 2010 05:59:16 +0000 (23:59 -0600)]
Work around gcc bug on openbsd

14 years agoRemove generated file factor.res added by mistake
Slava Pestov [Sun, 17 Jan 2010 05:00:26 +0000 (18:00 +1300)]
Remove generated file factor.res added by mistake

14 years agoNmakefile: build factor.dll and link in resource file
Slava Pestov [Sun, 17 Jan 2010 04:41:17 +0000 (22:41 -0600)]
Nmakefile: build factor.dll and link in resource file

14 years agodocument game.worlds, tweak GAME: syntax
Joe Groff [Sat, 16 Jan 2010 21:13:13 +0000 (13:13 -0800)]
document game.worlds, tweak GAME: syntax

14 years ago"a block border" => "a black border"
Joe Groff [Sat, 16 Jan 2010 20:40:07 +0000 (12:40 -0800)]
"a block border" => "a black border"

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Sat, 16 Jan 2010 20:24:47 +0000 (12:24 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agoGAME: syntax for defining game entry point with game-loop attributes
Joe Groff [Sat, 16 Jan 2010 20:18:50 +0000 (12:18 -0800)]
GAME: syntax for defining game entry point with game-loop attributes

14 years agouse MAIN-WINDOW: for key-caps
Joe Groff [Sat, 16 Jan 2010 20:00:00 +0000 (12:00 -0800)]
use MAIN-WINDOW: for key-caps

14 years agoformatting ocd
Joe Groff [Sat, 16 Jan 2010 19:46:50 +0000 (11:46 -0800)]
formatting ocd

14 years agohurr semicolon
Joe Groff [Sat, 16 Jan 2010 19:45:20 +0000 (11:45 -0800)]
hurr semicolon

14 years agouse world-attributes pref-dim instead of world pref-dim* method where applicable
Joe Groff [Sat, 16 Jan 2010 19:44:58 +0000 (11:44 -0800)]
use world-attributes pref-dim instead of world pref-dim* method where applicable

14 years agolink MAIN-WINDOW: docs into UI docs
Joe Groff [Sat, 16 Jan 2010 19:04:57 +0000 (11:04 -0800)]
link MAIN-WINDOW: docs into UI docs

14 years agospheres can use MAIN-WINDOW: too
Joe Groff [Sat, 16 Jan 2010 18:46:23 +0000 (10:46 -0800)]
spheres can use MAIN-WINDOW: too

14 years agovm: Tweak Factor VM to compile with Microsoft Visual Studio on Windows, in addition...
Slava Pestov [Sat, 16 Jan 2010 14:43:22 +0000 (03:43 +1300)]
vm: Tweak Factor VM to compile with Microsoft Visual Studio on Windows, in addition to Mingw. Add an Nmakefile which can be used for this purpose. Rename Makefile to GNUmakefile.

14 years agoslots: fix declaration unit test
Slava Pestov [Sat, 16 Jan 2010 11:30:36 +0000 (00:30 +1300)]
slots: fix declaration unit test

14 years agoMerge branch 'mongodb-changes' of git://github.com/x6j8x/factor
Slava Pestov [Sat, 16 Jan 2010 11:27:18 +0000 (00:27 +1300)]
Merge branch 'mongodb-changes' of git://github.com/x6j8x/factor

14 years agoadjusted USING: - removed unix vocab
Sascha Matzke [Sat, 16 Jan 2010 10:46:00 +0000 (11:46 +0100)]
adjusted USING: - removed unix vocab

14 years agospecialized-arrays: don't define useless empty T-sequence mixin
Slava Pestov [Sat, 16 Jan 2010 07:19:35 +0000 (20:19 +1300)]
specialized-arrays: don't define useless empty T-sequence mixin

14 years agocompiler.tree.propagation: ensure that we don't call 'equal?' or 'hashcode' on litera...
Slava Pestov [Sat, 16 Jan 2010 07:00:48 +0000 (20:00 +1300)]
compiler.tree.propagation: ensure that we don't call 'equal?' or 'hashcode' on literals in words being compiled

14 years agoslots, classes.tuple: make 'integer'-declared slots call >integer on the new value...
Slava Pestov [Sat, 16 Jan 2010 06:29:19 +0000 (19:29 +1300)]
slots, classes.tuple: make 'integer'-declared slots call >integer on the new value before storing it in, and remove code duplication between type checks in writer methods and boa constructors

14 years agoio.buffers: fix buffer-until for iota (reported by Sascha Matzke)
Slava Pestov [Sat, 16 Jan 2010 05:42:33 +0000 (18:42 +1300)]
io.buffers: fix buffer-until for iota (reported by Sascha Matzke)

14 years agoui.gadgets.search-tables: fix breakage
Slava Pestov [Sat, 16 Jan 2010 05:36:33 +0000 (18:36 +1300)]
ui.gadgets.search-tables: fix breakage

14 years agoFix iota bug in io.files.info.windows
Doug Coleman [Sat, 16 Jan 2010 03:17:47 +0000 (21:17 -0600)]
Fix iota bug in io.files.info.windows

14 years agodocument MAIN-WINDOW:
Joe Groff [Sat, 16 Jan 2010 01:06:50 +0000 (17:06 -0800)]
document MAIN-WINDOW:

14 years agopry off some ui app boilerplate with a MAIN-WINDOW: syntax
Joe Groff [Sat, 16 Jan 2010 00:55:43 +0000 (16:55 -0800)]
pry off some ui app boilerplate with a MAIN-WINDOW: syntax

14 years agoallow window pref-dim to be provided in world-attributes
Joe Groff [Fri, 15 Jan 2010 23:33:37 +0000 (15:33 -0800)]
allow window pref-dim to be provided in world-attributes

14 years agogame-loop: change "tick-length" to more descriptive "tick-interval-micros"
Joe Groff [Fri, 15 Jan 2010 23:03:33 +0000 (15:03 -0800)]
game-loop: change "tick-length" to more descriptive "tick-interval-micros"

14 years agobump game demos up to 60fps. we have the technology
Joe Groff [Fri, 15 Jan 2010 22:36:45 +0000 (14:36 -0800)]
bump game demos up to 60fps. we have the technology

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Joe Groff [Fri, 15 Jan 2010 22:03:46 +0000 (14:03 -0800)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agosqueeze some TYPED: juice on gpu.*
Joe Groff [Fri, 15 Jan 2010 22:03:15 +0000 (14:03 -0800)]
squeeze some TYPED: juice on gpu.*

14 years agoMerge branch 'mongodb-changes' of git://github.com/x6j8x/factor
Doug Coleman [Fri, 15 Jan 2010 11:41:22 +0000 (05:41 -0600)]
Merge branch 'mongodb-changes' of git://github.com/x6j8x/factor

14 years agoHelp lint fixes for iota
Slava Pestov [Fri, 15 Jan 2010 04:04:14 +0000 (17:04 +1300)]
Help lint fixes for iota

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 14 Jan 2010 23:22:02 +0000 (17:22 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

Conflicts:
core/sequences/sequences-docs.factor

14 years agoFix a few integers-as-sequences in docs
Doug Coleman [Thu, 14 Jan 2010 23:20:43 +0000 (17:20 -0600)]
Fix a few integers-as-sequences in docs

14 years agoClean up a windows.time word
Doug Coleman [Thu, 14 Jan 2010 23:20:30 +0000 (17:20 -0600)]
Clean up a windows.time word

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 14 Jan 2010 21:06:08 +0000 (15:06 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agouse iota in retry combinator in mason
Slava Pestov [Thu, 14 Jan 2010 21:05:39 +0000 (15:05 -0600)]
use iota in retry combinator in mason

14 years agomath.parser: fix docs -- maximum radix is 16 not 36
Slava Pestov [Thu, 14 Jan 2010 19:36:40 +0000 (08:36 +1300)]
math.parser: fix docs -- maximum radix is 16 not 36

14 years agoparser: make 'CONSTANT: foo<newline>3' work in the listener
Slava Pestov [Thu, 14 Jan 2010 19:30:26 +0000 (08:30 +1300)]
parser: make 'CONSTANT: foo<newline>3' work in the listener

14 years agomath.functions: fix memory protection error if exp called on a complex number with...
Slava Pestov [Thu, 14 Jan 2010 19:23:48 +0000 (08:23 +1300)]
math.functions: fix memory protection error if exp called on a complex number with a rational real part (reported by prunedtree)

14 years agogeneric, sequences: update docs for iota
Slava Pestov [Thu, 14 Jan 2010 19:23:27 +0000 (08:23 +1300)]
generic, sequences: update docs for iota

14 years agoChange [0,b) usages to iota
Slava Pestov [Thu, 14 Jan 2010 19:05:50 +0000 (08:05 +1300)]
Change [0,b) usages to iota

14 years agostack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was...
Slava Pestov [Thu, 14 Jan 2010 19:04:14 +0000 (08:04 +1300)]
stack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was coming up a lot

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 14 Jan 2010 18:55:56 +0000 (12:55 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agostack-checker.errors.prettyprint: fix prettyprinting of unbalanced-branches-error
Slava Pestov [Thu, 14 Jan 2010 18:51:36 +0000 (07:51 +1300)]
stack-checker.errors.prettyprint: fix prettyprinting of unbalanced-branches-error

14 years agorandom is generic now -- iota random -> random
Doug Coleman [Thu, 14 Jan 2010 18:48:57 +0000 (12:48 -0600)]
random is generic now -- iota random -> random

14 years agoUpdate docs for random
Doug Coleman [Thu, 14 Jan 2010 18:45:30 +0000 (12:45 -0600)]
Update docs for random

14 years agobenchmarks: update for iota
Slava Pestov [Thu, 14 Jan 2010 18:08:22 +0000 (07:08 +1300)]
benchmarks: update for iota

14 years agoDon't rely on integers as sequences for unit tests
Doug Coleman [Thu, 14 Jan 2010 18:00:39 +0000 (12:00 -0600)]
Don't rely on integers as sequences for unit tests

14 years agoMake random a generic so it can still be called on integers
Doug Coleman [Thu, 14 Jan 2010 17:59:53 +0000 (11:59 -0600)]
Make random a generic so it can still be called on integers

14 years ago24-game: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:22:20 +0000 (06:22 +1300)]
24-game: update for iota

14 years agosudoku: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:22:12 +0000 (06:22 +1300)]
sudoku: update for iota

14 years agomaze: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:21:56 +0000 (06:21 +1300)]
maze: update for iota

14 years agojamshred: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:19:20 +0000 (06:19 +1300)]
jamshred: update for iota

14 years agoui.pens.gradient: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:19:13 +0000 (06:19 +1300)]
ui.pens.gradient: update for iota

14 years agotetris.gl: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:15:15 +0000 (06:15 +1300)]
tetris.gl: update for iota

14 years agonoise: update for iota
Slava Pestov [Thu, 14 Jan 2010 17:13:42 +0000 (06:13 +1300)]
noise: update for iota

14 years agoRemoving integers-as-sequences
Slava Pestov [Thu, 14 Jan 2010 15:10:13 +0000 (04:10 +1300)]
Removing integers-as-sequences

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Thu, 14 Jan 2010 17:18:34 +0000 (11:18 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agouse clamp
Doug Coleman [Thu, 14 Jan 2010 17:18:10 +0000 (11:18 -0600)]
use clamp

14 years agoFix input-classes of /i and mod, and add some regression tests with various reduction...
Slava Pestov [Thu, 14 Jan 2010 05:15:47 +0000 (18:15 +1300)]
Fix input-classes of /i and mod, and add some regression tests with various reductions of the original test-case from the terrain demo

14 years agovm: fix compilation on 64-bit platforms
Slava Pestov [Wed, 13 Jan 2010 13:18:49 +0000 (02:18 +1300)]
vm: fix compilation on 64-bit platforms

14 years agocompiler.codegen.fixup: cache symbol names, reducing image size by ~200Kb
Slava Pestov [Wed, 13 Jan 2010 10:18:43 +0000 (23:18 +1300)]
compiler.codegen.fixup: cache symbol names, reducing image size by ~200Kb

14 years agovm: rework platform.hpp so that it is no longer necessary to pass -DFACTOR_64 and...
Slava Pestov [Wed, 13 Jan 2010 10:06:45 +0000 (23:06 +1300)]
vm: rework platform.hpp so that it is no longer necessary to pass -DFACTOR_64 and -DWINDOWS when compiling VM

14 years agoRework min and max so that behavior with floats and NaNs is consistent between generi...
Slava Pestov [Wed, 13 Jan 2010 09:20:16 +0000 (22:20 +1300)]
Rework min and max so that behavior with floats and NaNs is consistent between generic arithmetic and open-coded float intrinsics

14 years agoRename kernel.private:getenv/setenv to special-object/set-special-object to mirror...
Slava Pestov [Wed, 13 Jan 2010 05:08:18 +0000 (18:08 +1300)]
Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side

14 years agoPowerPC optimizing compiler backend fixes
Slava Pestov [Tue, 12 Jan 2010 14:02:10 +0000 (08:02 -0600)]
PowerPC optimizing compiler backend fixes

14 years agoMore PowerPC non-optimizing compiler backend fixes
Slava Pestov [Tue, 12 Jan 2010 14:09:43 +0000 (03:09 +1300)]
More PowerPC non-optimizing compiler backend fixes

14 years agounwind-stack-frames didn't load VM pointer into the VM register on PowerPC and x86...
Slava Pestov [Tue, 12 Jan 2010 03:31:10 +0000 (16:31 +1300)]
unwind-stack-frames didn't load VM pointer into the VM register on PowerPC and x86-64, and so if C code had clobbered this register it would crash

14 years agoUse the bash path instead of /bin/sh for running a bash script
Doug Coleman [Mon, 11 Jan 2010 04:42:26 +0000 (22:42 -0600)]
Use the bash path instead of /bin/sh for running a bash script

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Mon, 11 Jan 2010 03:17:30 +0000 (21:17 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.ppc: fix some typos in non-optimizing backend
Slava Pestov [Mon, 11 Jan 2010 01:15:41 +0000 (14:15 +1300)]
cpu.ppc: fix some typos in non-optimizing backend

14 years agosome minor bson performance improvements
Sascha Matzke [Sun, 10 Jan 2010 11:04:16 +0000 (12:04 +0100)]
some minor bson performance improvements

14 years agoadded mongodb connection pool responder
Sascha Matzke [Thu, 7 Jan 2010 07:31:32 +0000 (08:31 +0100)]
added mongodb connection pool responder

14 years agoremoved generic words; added kill-cursor + filter-fields words
Sascha Matzke [Wed, 6 Jan 2010 14:56:38 +0000 (15:56 +0100)]
removed generic words; added kill-cursor + filter-fields words

14 years agofixed result calculation; added ops/s value
Sascha Matzke [Wed, 25 Nov 2009 08:37:50 +0000 (09:37 +0100)]
fixed result calculation; added ops/s value

14 years agoadded filter-fields word which sets the returnfields slot in the current query object
Sascha Matzke [Sun, 27 Dec 2009 12:29:24 +0000 (13:29 +0100)]
added filter-fields word which sets the returnfields slot in the current query object

14 years agoStore VM object in a register on x86-64
Slava Pestov [Sun, 10 Jan 2010 12:20:32 +0000 (01:20 +1300)]
Store VM object in a register on x86-64

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Sat, 9 Jan 2010 07:09:47 +0000 (01:09 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocpu.x86: c-to-factor needs to deal with the fact that vm-reg might have been clobbered
Slava Pestov [Sat, 9 Jan 2010 06:09:48 +0000 (19:09 +1300)]
cpu.x86: c-to-factor needs to deal with the fact that vm-reg might have been clobbered

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Doug Coleman [Fri, 8 Jan 2010 10:17:00 +0000 (04:17 -0600)]
Merge branch 'master' of git://factorcode.org/git/factor

14 years agocompression.zlib: -1 * is neg
Slava Pestov [Fri, 8 Jan 2010 06:51:38 +0000 (19:51 +1300)]
compression.zlib: -1 * is neg

14 years agoFix zlib-error-message to include human-readable version
Alec Berryman [Tue, 29 Dec 2009 02:05:09 +0000 (20:05 -0600)]
Fix zlib-error-message to include human-readable version

The error string is looked up in an array, but because zlib
error codes are negative, the error's string was always "f".

14 years agobuild-support/factor.sh: allow user to specify NO_UI
Alec Berryman [Wed, 2 Dec 2009 16:34:37 +0000 (10:34 -0600)]
build-support/factor.sh: allow user to specify NO_UI

14 years agoStarting to update PowerPC backend for recent VM changes (untested)
Slava Pestov [Fri, 8 Jan 2010 06:46:27 +0000 (19:46 +1300)]
Starting to update PowerPC backend for recent VM changes (untested)

14 years agovm: remove some unused #defines
Slava Pestov [Thu, 7 Jan 2010 08:33:19 +0000 (21:33 +1300)]
vm: remove some unused #defines

14 years agoalien: fix help lint
Slava Pestov [Thu, 7 Jan 2010 07:54:27 +0000 (20:54 +1300)]
alien: fix help lint

14 years agomath.floats.env.x86: split off 32 and 64-bit code into sub-vocabularies
Slava Pestov [Thu, 7 Jan 2010 07:44:28 +0000 (20:44 +1300)]
math.floats.env.x86: split off 32 and 64-bit code into sub-vocabularies

14 years agoMerge branch 'master' of git://factorcode.org/git/factor
Slava Pestov [Thu, 7 Jan 2010 07:16:34 +0000 (20:16 +1300)]
Merge branch 'master' of git://factorcode.org/git/factor