]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 years agolocals.parser: new word with-lambda-scope to handle lexical variables
Björn Lindqvist [Mon, 22 Jun 2015 08:53:03 +0000 (10:53 +0200)]
locals.parser: new word with-lambda-scope to handle lexical variables
better, fixes #1338

By cloning the relevant parts of the manifest, you ensure that the
quotation with-lambda-scope runs can't "leak" local names in case of
restartable errors.

8 years agocompiler.tree.propagation: fix tests for bit? inlining.
John Benediktsson [Thu, 18 Jun 2015 03:52:05 +0000 (20:52 -0700)]
compiler.tree.propagation: fix tests for bit? inlining.

8 years agomath.integers: add some more tests for bit?.
John Benediktsson [Thu, 18 Jun 2015 03:23:21 +0000 (20:23 -0700)]
math.integers: add some more tests for bit?.

8 years agocpu: enable bit-test intrinsic for fixnum-bit?.
John Benediktsson [Thu, 18 Jun 2015 02:11:10 +0000 (19:11 -0700)]
cpu: enable bit-test intrinsic for fixnum-bit?.

8 years agomath.integers: simplify fixnum-bit?.
John Benediktsson [Thu, 18 Jun 2015 01:42:11 +0000 (18:42 -0700)]
math.integers: simplify fixnum-bit?.

8 years agomath.primes.erato: add some comments at the top.
John Benediktsson [Wed, 17 Jun 2015 17:19:00 +0000 (10:19 -0700)]
math.primes.erato: add some comments at the top.

8 years agopersistent.vectors: bring private back (broken in 4191882a686e90e84f0ad2bd4c7b5fa3dea...
John Benediktsson [Wed, 17 Jun 2015 15:23:34 +0000 (08:23 -0700)]
persistent.vectors: bring private back (broken in 4191882a686e90e84f0ad2bd4c7b5fa3dea7e14a).

8 years agomath.integers: fixnum-bit? should not use fixnum-shift-fast.
John Benediktsson [Wed, 17 Jun 2015 15:21:00 +0000 (08:21 -0700)]
math.integers: fixnum-bit? should not use fixnum-shift-fast.

8 years agopersistent.vectors: fix unbalanced private
Doug Coleman [Wed, 17 Jun 2015 05:16:49 +0000 (22:16 -0700)]
persistent.vectors: fix unbalanced private

8 years agocompiler.cfg.linear-scan.allocation: fix docs for free-position.
John Benediktsson [Wed, 17 Jun 2015 03:38:13 +0000 (20:38 -0700)]
compiler.cfg.linear-scan.allocation: fix docs for free-position.

8 years agogtk, opengl: try out update-library
Doug Coleman [Wed, 17 Jun 2015 01:44:29 +0000 (18:44 -0700)]
gtk, opengl: try out update-library

opengl.gl: Only find the opengl library if we are on unix and not on macosx.

8 years agoalien.libraries: Add update-library. See #1185
Doug Coleman [Wed, 17 Jun 2015 01:41:47 +0000 (18:41 -0700)]
alien.libraries: Add update-library. See #1185

8 years agofactor.sh: fix docs, bootstrap doesn't recompile.
Doug Coleman [Wed, 17 Jun 2015 01:35:59 +0000 (18:35 -0700)]
factor.sh: fix docs, bootstrap doesn't recompile.

8 years agogeneric.parser: fix unbalanced-private-declaration.
John Benediktsson [Wed, 17 Jun 2015 01:58:54 +0000 (18:58 -0700)]
generic.parser: fix unbalanced-private-declaration.

8 years agodlists: fix unbalanced-private-declaration.
John Benediktsson [Wed, 17 Jun 2015 01:51:25 +0000 (18:51 -0700)]
dlists: fix unbalanced-private-declaration.

8 years agovocabs.parser: error on unbalanced private declarations.
John Benediktsson [Wed, 17 Jun 2015 01:47:57 +0000 (18:47 -0700)]
vocabs.parser: error on unbalanced private declarations.

8 years agomath.primes.erato.fast: use literals to show how the wheel is calculated.
John Benediktsson [Wed, 17 Jun 2015 01:44:08 +0000 (18:44 -0700)]
math.primes.erato.fast: use literals to show how the wheel is calculated.

8 years agox86.64: change the register order so that RBX is allocated before RCX
Björn Lindqvist [Tue, 16 Jun 2015 15:49:29 +0000 (17:49 +0200)]
x86.64: change the register order so that RBX is allocated before RCX

8 years agocompiler.cfg.linear-scan.*: more tests and docs for allocation and state
Björn Lindqvist [Tue, 16 Jun 2015 13:25:26 +0000 (15:25 +0200)]
compiler.cfg.linear-scan.*: more tests and docs for allocation and state

8 years agocompiler.cfg.linear-scan.*: dont use a hashtable here, it fixes register
Björn Lindqvist [Tue, 16 Jun 2015 13:02:58 +0000 (15:02 +0200)]
compiler.cfg.linear-scan.*: dont use a hashtable here, it fixes register
allocation so it's always in the same order as machine-registers

8 years agomath.primes.erato: faster compressed sieve by two improvements:
John Benediktsson [Tue, 16 Jun 2015 15:26:48 +0000 (08:26 -0700)]
math.primes.erato: faster compressed sieve by two improvements:

1) fixnum math in unmark-multiples
2) 3 upper sqrt 2 <range> in sieve

8 years agomath.primes.erato.fast: some bignum fixes and more tests.
John Benediktsson [Tue, 16 Jun 2015 15:20:32 +0000 (08:20 -0700)]
math.primes.erato.fast: some bignum fixes and more tests.

8 years agomath.primes: fix "11 >bignum prime?".
John Benediktsson [Tue, 16 Jun 2015 06:02:39 +0000 (23:02 -0700)]
math.primes: fix "11 >bignum prime?".

8 years agosorting.quick: speedup by inline sort!.
John Benediktsson [Tue, 16 Jun 2015 03:44:26 +0000 (20:44 -0700)]
sorting.quick: speedup by inline sort!.

8 years agoeditors.brackets.windows: need USE: editors.brackets.
John Benediktsson [Tue, 16 Jun 2015 03:09:45 +0000 (20:09 -0700)]
editors.brackets.windows: need USE: editors.brackets.

8 years agomath.primes.erato.fast: adding fast Sieve of Eratosthenes.
John Benediktsson [Tue, 16 Jun 2015 02:51:02 +0000 (19:51 -0700)]
math.primes.erato.fast: adding fast Sieve of Eratosthenes.

8 years agoeditors.brackets: add support for Mac OS X.
John Benediktsson [Mon, 15 Jun 2015 16:45:23 +0000 (09:45 -0700)]
editors.brackets: add support for Mac OS X.

8 years agoRevert "Add Adobe Brackets highlight mode"
John Benediktsson [Mon, 15 Jun 2015 16:35:59 +0000 (09:35 -0700)]
Revert "Add Adobe Brackets highlight mode"

This reverts commit 94809b32a3f9ce6777db89359cc7184ea29d6512.

8 years agoAdd Adobe Brackets highlight mode
Dimage Sapelkin [Sun, 14 Jun 2015 00:46:55 +0000 (03:46 +0300)]
Add Adobe Brackets highlight mode

8 years agoCreate summary.txt
Dimage Sapelkin [Sun, 14 Jun 2015 00:38:05 +0000 (03:38 +0300)]
Create summary.txt

8 years agoCreate authors.txt
Dimage Sapelkin [Sun, 14 Jun 2015 00:37:44 +0000 (03:37 +0300)]
Create authors.txt

8 years agoCreate brackets.factor
Dimage Sapelkin [Sun, 14 Jun 2015 00:37:23 +0000 (03:37 +0300)]
Create brackets.factor

8 years agoCreate brackets-docs.factor
Dimage Sapelkin [Sun, 14 Jun 2015 00:36:57 +0000 (03:36 +0300)]
Create brackets-docs.factor

8 years agocontinuations: make with-return use with-variable instead of with-scope.
John Benediktsson [Mon, 15 Jun 2015 16:11:35 +0000 (09:11 -0700)]
continuations: make with-return use with-variable instead of with-scope.

8 years agocompiler.cfg.ssa.destruction.coalescing: lookup variable once not twice.
John Benediktsson [Mon, 15 Jun 2015 16:11:16 +0000 (09:11 -0700)]
compiler.cfg.ssa.destruction.coalescing: lookup variable once not twice.

8 years agocpu.ppc: remove use of with-scope in favor of locals.
John Benediktsson [Mon, 15 Jun 2015 16:11:03 +0000 (09:11 -0700)]
cpu.ppc: remove use of with-scope in favor of locals.

8 years agocpu.x86: remove use of with-scope in favor of locals.
John Benediktsson [Mon, 15 Jun 2015 16:10:52 +0000 (09:10 -0700)]
cpu.x86: remove use of with-scope in favor of locals.

8 years agocompiler.cfg.ssa.destruction.coalescing: new vocab to refactor and 1361/head
Björn Lindqvist [Mon, 15 Jun 2015 08:44:53 +0000 (10:44 +0200)]
compiler.cfg.ssa.destruction.coalescing: new vocab to refactor and
simplify the prepare-insn code in compiler.cfg.ssa.destruction

8 years agocompiler.cfg.ssa.destruction: the natural-sort was malplaced, only sort
Björn Lindqvist [Mon, 15 Jun 2015 06:10:05 +0000 (08:10 +0200)]
compiler.cfg.ssa.destruction: the natural-sort was malplaced, only sort
inputs from ##phi, should fix remainder of #1345

8 years agocompiler.cfg.linear-scan.*: fix help-lint errors 1360/head
Björn Lindqvist [Sun, 14 Jun 2015 14:32:29 +0000 (16:32 +0200)]
compiler.cfg.linear-scan.*: fix help-lint errors

8 years agocompiler.cfg.*: lots of more compiler docs
Björn Lindqvist [Sun, 14 Jun 2015 06:59:03 +0000 (08:59 +0200)]
compiler.cfg.*: lots of more compiler docs

8 years agocompiler.cfg.linear-scan.*: change compute-live-intervals so that it
Björn Lindqvist [Sun, 14 Jun 2015 06:53:00 +0000 (08:53 +0200)]
compiler.cfg.linear-scan.*: change compute-live-intervals so that it
returns only one sequence, it makes some words a little simpler

8 years agocompiler.*: more compiler docs
Björn Lindqvist [Sun, 14 Jun 2015 05:40:17 +0000 (07:40 +0200)]
compiler.*: more compiler docs

8 years agocompiler.cfg.linear-scan.allocation.state: fix #1345 by adding vreg to
Björn Lindqvist [Sun, 14 Jun 2015 04:13:34 +0000 (06:13 +0200)]
compiler.cfg.linear-scan.allocation.state: fix #1345 by adding vreg to
the heap key

By having { start end vreg } as the key in the min-heap ordering is
guaranteed even if two intervals share the same start and end.

8 years agocompiler.codegen.gc-maps: simplies largest-spill-slot and refactors serialize-gc...
Björn Lindqvist [Sun, 14 Jun 2015 02:15:38 +0000 (04:15 +0200)]
compiler.codegen.gc-maps: simplies largest-spill-slot and refactors serialize-gc-maps

8 years agocompiler.cfg.ssa.destruction: try and sort the vreg pairs before
Björn Lindqvist [Sun, 14 Jun 2015 00:44:45 +0000 (02:44 +0200)]
compiler.cfg.ssa.destruction: try and sort the vreg pairs before
elimination, this way you always get the same leader info

8 years agocompiler.cfg.ssa.destruction: refactors maybe/must-eliminate-copy into
Björn Lindqvist [Sun, 14 Jun 2015 00:13:31 +0000 (02:13 +0200)]
compiler.cfg.ssa.destruction: refactors maybe/must-eliminate-copy into
one try-eliminate-copy

8 years agocompiler.cfg.ssa.destruction: small refactoring which removes
Björn Lindqvist [Sat, 13 Jun 2015 17:26:07 +0000 (19:26 +0200)]
compiler.cfg.ssa.destruction: small refactoring which removes
class-elements and maybe-eliminate-copy-later

8 years agocompiler.cfg.ssa.destruction: a bunch of new docs
Björn Lindqvist [Sat, 13 Jun 2015 17:25:31 +0000 (19:25 +0200)]
compiler.cfg.ssa.destruction: a bunch of new docs

8 years agocompiler.cfg.ssa.destruction.tests: a bunch of new tests
Björn Lindqvist [Sat, 13 Jun 2015 17:24:47 +0000 (19:24 +0200)]
compiler.cfg.ssa.destruction.tests: a bunch of new tests

8 years agoRevert "hashtables: make hash-combine use fixnum primitives."
John Benediktsson [Fri, 12 Jun 2015 03:33:47 +0000 (20:33 -0700)]
Revert "hashtables: make hash-combine use fixnum primitives."

This reverts commit 390dd23261ab6c31bfd38a85048095ca22020643.

8 years agovocabs: remove little used words.
John Benediktsson [Fri, 12 Jun 2015 03:04:01 +0000 (20:04 -0700)]
vocabs: remove little used words.

vocabs:vocab-name* => editors.private:public-vocab-name.

8 years agomath.parser: slightly faster ((pow)).
John Benediktsson [Fri, 12 Jun 2015 03:00:53 +0000 (20:00 -0700)]
math.parser: slightly faster ((pow)).

8 years agojson.writer: add an explicit error when serializing fp-specials
Jon Harper [Fri, 2 Jan 2015 18:39:14 +0000 (19:39 +0100)]
json.writer: add an explicit error when serializing fp-specials

8 years agojson.reader: read Infinity, -Infinity and NaN
Jon Harper [Wed, 10 Jun 2015 22:46:56 +0000 (00:46 +0200)]
json.reader: read Infinity, -Infinity and NaN

8 years agojson.reader: read UTF-16 surrogate pairs
Jon Harper [Wed, 10 Jun 2015 22:25:19 +0000 (00:25 +0200)]
json.reader: read UTF-16 surrogate pairs

8 years agomason.child: fix test in a better way.
Doug Coleman [Thu, 11 Jun 2015 02:56:11 +0000 (19:56 -0700)]
mason.child: fix test in a better way.

8 years agoNmakefile: Set the /SUBSYSTEM for 5.01 (win32), or 5.02 (x64) to allow
Doug Coleman [Thu, 11 Jun 2015 02:11:38 +0000 (19:11 -0700)]
Nmakefile: Set the /SUBSYSTEM for 5.01 (win32), or 5.02 (x64) to allow
running on Windows XP. In x86-32-vista mode, don't set it.

real information:
https://software.intel.com/en-us/articles/linking-applications-using-visual-studio-2012-to-run-on-windows-xp

Fixes #1257.

8 years agomason.git: rename git-pull to git-clone-or-pull since that's what it does.
Doug Coleman [Thu, 11 Jun 2015 01:52:53 +0000 (18:52 -0700)]
mason.git: rename git-pull to git-clone-or-pull since that's what it does.

8 years agomason.child: Fix unit test for Windows.
Doug Coleman [Thu, 11 Jun 2015 00:59:43 +0000 (17:59 -0700)]
mason.child: Fix unit test for Windows.

8 years agococoa: windows -> ui-windows
Doug Coleman [Wed, 10 Jun 2015 23:05:11 +0000 (16:05 -0700)]
cocoa: windows -> ui-windows

8 years agomason.child: On Windows, commands launch relative to parent process
Doug Coleman [Wed, 10 Jun 2015 22:35:10 +0000 (15:35 -0700)]
mason.child: On Windows, commands launch relative to parent process
binary location instead of cwd. Launch factor.com with full path to get
the correct binary location.
Rename "test" and friends.

8 years agoui: rename windows to ui-windows
Doug Coleman [Wed, 10 Jun 2015 22:20:55 +0000 (15:20 -0700)]
ui: rename windows to ui-windows

8 years agoFix tests broken by word hashcode change.
John Benediktsson [Wed, 10 Jun 2015 03:37:55 +0000 (20:37 -0700)]
Fix tests broken by word hashcode change.

8 years agoio.streams.sequence: use stream-exempler here.
John Benediktsson [Wed, 10 Jun 2015 03:24:42 +0000 (20:24 -0700)]
io.streams.sequence: use stream-exempler here.

8 years agohashtables: remove the 2hashcode word for now.
John Benediktsson [Tue, 9 Jun 2015 23:46:02 +0000 (16:46 -0700)]
hashtables: remove the 2hashcode word for now.

8 years agohashtables: make hash-combine use fixnum primitives.
John Benediktsson [Tue, 9 Jun 2015 23:30:04 +0000 (16:30 -0700)]
hashtables: make hash-combine use fixnum primitives.

8 years agowords: change word hash to do less work.
John Benediktsson [Tue, 9 Jun 2015 23:08:48 +0000 (16:08 -0700)]
words: change word hash to do less work.

8 years agowords: rename reset-props to remove-word-props.
John Benediktsson [Tue, 9 Jun 2015 18:53:46 +0000 (11:53 -0700)]
words: rename reset-props to remove-word-props.

8 years agocompiler.units: simplify remember-class.
John Benediktsson [Tue, 9 Jun 2015 18:04:11 +0000 (11:04 -0700)]
compiler.units: simplify remember-class.

8 years agocompiler.units: add typedef for new-words.
John Benediktsson [Tue, 9 Jun 2015 17:30:05 +0000 (10:30 -0700)]
compiler.units: add typedef for new-words.

8 years agovocabs.parser: cleanup update-manifest, make update-search-vocabs a little faster.
John Benediktsson [Tue, 9 Jun 2015 17:29:44 +0000 (10:29 -0700)]
vocabs.parser: cleanup update-manifest, make update-search-vocabs a little faster.

8 years agoinfix: fix bug with recent locals refactor.
John Benediktsson [Tue, 9 Jun 2015 16:59:29 +0000 (09:59 -0700)]
infix: fix bug with recent locals refactor.

8 years agolocals.parser: use qualified-vocabs.
John Benediktsson [Tue, 9 Jun 2015 16:59:19 +0000 (09:59 -0700)]
locals.parser: use qualified-vocabs.

8 years agovocabs.parser: make a "qualified-vocabs" word for re-use.
John Benediktsson [Tue, 9 Jun 2015 16:58:49 +0000 (09:58 -0700)]
vocabs.parser: make a "qualified-vocabs" word for re-use.

8 years agosequences.deep: adding a test for deep-reduce.
John Benediktsson [Tue, 9 Jun 2015 16:16:40 +0000 (09:16 -0700)]
sequences.deep: adding a test for deep-reduce.

8 years agotools.coverage: cleanup and use deep-reduce in count-callables.
John Benediktsson [Tue, 9 Jun 2015 15:43:51 +0000 (08:43 -0700)]
tools.coverage: cleanup and use deep-reduce in count-callables.

8 years agosequences.deep: adding deep-reduce.
John Benediktsson [Tue, 9 Jun 2015 15:42:54 +0000 (08:42 -0700)]
sequences.deep: adding deep-reduce.

8 years agolcs.diff2html: fix refactor bug.
John Benediktsson [Tue, 9 Jun 2015 15:04:03 +0000 (08:04 -0700)]
lcs.diff2html: fix refactor bug.

8 years agotools.coverage: fix refactor bug.
John Benediktsson [Tue, 9 Jun 2015 15:03:35 +0000 (08:03 -0700)]
tools.coverage: fix refactor bug.

8 years agolocals.parser.tests: fixing the tcs so they work 1348/head
Björn Lindqvist [Tue, 9 Jun 2015 10:59:04 +0000 (12:59 +0200)]
locals.parser.tests: fixing the tcs so they work

8 years agolocals.parser: fix for #1340, write locals directly to the manifest
Björn Lindqvist [Tue, 9 Jun 2015 09:39:55 +0000 (11:39 +0200)]
locals.parser: fix for #1340, write locals directly to the manifest

The locals parser used to parse and store locals in the 'locals'
variable which was an alias to 'manifest get qualified-vocabs>> last
words>>'. For some reason, after a restart they become distinct
objects. An easy fix is to not alias the hash in the first place.

8 years agolocals.types: stub unit tests
Björn Lindqvist [Tue, 9 Jun 2015 08:03:20 +0000 (10:03 +0200)]
locals.types: stub unit tests

8 years agolocals.parser: small refactorings and unit tests
Björn Lindqvist [Mon, 8 Jun 2015 11:53:59 +0000 (13:53 +0200)]
locals.parser: small refactorings and unit tests

8 years agoparser: added helper word use-first-word? to simplify no-word
Björn Lindqvist [Mon, 8 Jun 2015 04:57:23 +0000 (06:57 +0200)]
parser: added helper word use-first-word? to simplify no-word

8 years agoSome more general fixes for recent refactors.
John Benediktsson [Tue, 9 Jun 2015 02:15:29 +0000 (19:15 -0700)]
Some more general fixes for recent refactors.

8 years agoeditors: fix bug i introduced. need a rename tool asap...
Doug Coleman [Tue, 9 Jun 2015 01:07:42 +0000 (18:07 -0700)]
editors: fix bug i introduced. need a rename tool asap...

8 years agofactor.sh: More precise docs
Doug Coleman [Tue, 9 Jun 2015 01:02:00 +0000 (18:02 -0700)]
factor.sh: More precise docs

8 years agovm: differentiate which strerror is printing the message.
Doug Coleman [Tue, 9 Jun 2015 00:58:00 +0000 (17:58 -0700)]
vm: differentiate which strerror is printing the message.

8 years agowebapps.wiki: fix lcs
Doug Coleman [Tue, 9 Jun 2015 00:51:11 +0000 (17:51 -0700)]
webapps.wiki: fix lcs

8 years agofurnace.auth: rename profile to current-profile
Doug Coleman [Tue, 9 Jun 2015 00:29:48 +0000 (17:29 -0700)]
furnace.auth: rename profile to current-profile

8 years agohtml.components: use lcs-diff
Doug Coleman [Tue, 9 Jun 2015 00:29:36 +0000 (17:29 -0700)]
html.components: use lcs-diff

8 years agoextra: be more explicit about which 'run'
Doug Coleman [Tue, 9 Jun 2015 00:24:59 +0000 (17:24 -0700)]
extra: be more explicit about which 'run'

8 years agowebapps.benchmark: rename generically named word.
Doug Coleman [Tue, 9 Jun 2015 00:22:32 +0000 (17:22 -0700)]
webapps.benchmark: rename generically named word.

8 years agobacktrack: rename generically named require
Doug Coleman [Tue, 9 Jun 2015 00:19:32 +0000 (17:19 -0700)]
backtrack: rename generically named require

8 years agolcs: rename generic "diff" to lcs-diff
Doug Coleman [Tue, 9 Jun 2015 00:16:42 +0000 (17:16 -0700)]
lcs: rename generic "diff" to lcs-diff

8 years agobenchmark: oops, used wrong word. so confusing.
Doug Coleman [Tue, 9 Jun 2015 00:00:08 +0000 (17:00 -0700)]
benchmark: oops, used wrong word. so confusing.

8 years agocore: fix word link.
Doug Coleman [Mon, 8 Jun 2015 23:53:54 +0000 (16:53 -0700)]
core: fix word link.
extra: fix word

8 years agographviz.notation: missed a create -> create-word
Doug Coleman [Mon, 8 Jun 2015 22:22:58 +0000 (15:22 -0700)]
graphviz.notation: missed a create -> create-word

8 years agoFix two places that should be "all-disk-vocabs-recursive".
John Benediktsson [Mon, 8 Jun 2015 21:37:36 +0000 (14:37 -0700)]
Fix two places that should be "all-disk-vocabs-recursive".