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

8 years agocom.wrapper: create -> create-word
Doug Coleman [Mon, 8 Jun 2015 20:21:24 +0000 (13:21 -0700)]
com.wrapper: create -> create-word

8 years agowindows: fix words -> vocab-words
Doug Coleman [Mon, 8 Jun 2015 20:07:12 +0000 (13:07 -0700)]
windows: fix words -> vocab-words

8 years agocore: Rename create to create-word, create-in to create-word-in.
Doug Coleman [Mon, 8 Jun 2015 19:38:38 +0000 (12:38 -0700)]
core: Rename create to create-word, create-in to create-word-in.

8 years agocore/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because...
Doug Coleman [Mon, 8 Jun 2015 19:02:25 +0000 (12:02 -0700)]
core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise.

8 years agounicode.breaks: Rename words to unicode-words
Doug Coleman [Mon, 8 Jun 2015 18:48:13 +0000 (11:48 -0700)]
unicode.breaks: Rename words to unicode-words

8 years agovocabs.refresh: Trying to clean up some vocabs code.
Doug Coleman [Sun, 7 Jun 2015 23:12:20 +0000 (16:12 -0700)]
vocabs.refresh: Trying to clean up some vocabs code.

8 years agoFUEL: improved highlighting of some syntax words: PRIMITIVE, MAIN, INSTANCE
Björn Lindqvist [Sun, 7 Jun 2015 22:59:12 +0000 (00:59 +0200)]
FUEL: improved highlighting of some syntax words: PRIMITIVE, MAIN, INSTANCE

8 years agoFUEL: make it so $complex-shuffle words (like -rot) are rendered correctly
Björn Lindqvist [Sun, 7 Jun 2015 22:03:35 +0000 (00:03 +0200)]
FUEL: make it so $complex-shuffle words (like -rot) are rendered correctly

8 years agoFUEL: better way to font-lock comments.
Björn Lindqvist [Sun, 7 Jun 2015 18:36:34 +0000 (20:36 +0200)]
FUEL: better way to font-lock comments.

just setting the comment property of the string in the
syntax-propertize-rules regexp appears to generate best results

8 years agoFUEL: the web reference have next and prev links for each word, let's add them to...
Björn Lindqvist [Sun, 7 Jun 2015 02:16:23 +0000 (04:16 +0200)]
FUEL: the web reference have next and prev links for each word, let's add them to the fuel
help too

8 years agobenchmark.sieve: calculating the number of primes in [1,100,000,000].
John Benediktsson [Sun, 7 Jun 2015 18:30:04 +0000 (11:30 -0700)]
benchmark.sieve: calculating the number of primes in [1,100,000,000].

8 years agomath.integers: speedup to fixnum-bit?.
John Benediktsson [Sun, 7 Jun 2015 18:07:58 +0000 (11:07 -0700)]
math.integers: speedup to fixnum-bit?.

8 years agobootstrap.primitives: fix stack effect names for bignum-bit?.
John Benediktsson [Sun, 7 Jun 2015 18:07:34 +0000 (11:07 -0700)]
bootstrap.primitives: fix stack effect names for bignum-bit?.

8 years agomason: rename some vague words like build to do-build, build? to
Doug Coleman [Sun, 7 Jun 2015 00:04:30 +0000 (17:04 -0700)]
mason: rename some vague words like build to do-build, build? to
should-build? for clarity and because they're too generic and conflict
with kernel:build.

8 years agowindows.com: Prevent release from being called with f, which causes a
Doug Coleman [Sun, 7 Jun 2015 00:04:02 +0000 (17:04 -0700)]
windows.com: Prevent release from being called with f, which causes a
segfault.

8 years agochecksums.sha: remove trailing whitespace.
John Benediktsson [Sat, 6 Jun 2015 16:27:19 +0000 (09:27 -0700)]
checksums.sha: remove trailing whitespace.

8 years agometar: simplify <taf-report>.
John Benediktsson [Sat, 6 Jun 2015 16:27:09 +0000 (09:27 -0700)]
metar: simplify <taf-report>.

8 years agoformatting: use nappend-as in sprintf.
John Benediktsson [Sat, 6 Jun 2015 16:26:17 +0000 (09:26 -0700)]
formatting: use nappend-as in sprintf.

8 years agosequences.generalizations: use concat-as in nappend-as.
John Benediktsson [Sat, 6 Jun 2015 16:25:58 +0000 (09:25 -0700)]
sequences.generalizations: use concat-as in nappend-as.

8 years agosequences: make concat-as inline and don't special-case empty.
John Benediktsson [Sat, 6 Jun 2015 16:24:56 +0000 (09:24 -0700)]
sequences: make concat-as inline and don't special-case empty.

8 years agocompiler.tree: renaming is hard. cleanup -> cleanup-tree
Doug Coleman [Sat, 6 Jun 2015 06:18:43 +0000 (23:18 -0700)]
compiler.tree: renaming is hard. cleanup -> cleanup-tree

8 years agocompiler.tree.debugger: more "cleanup"
Doug Coleman [Sat, 6 Jun 2015 06:03:42 +0000 (23:03 -0700)]
compiler.tree.debugger: more "cleanup"

8 years agoformatting: Welcome to the sprintf club, MSVC 2015. Fixes #1337.
Doug Coleman [Sat, 6 Jun 2015 12:52:35 +0000 (05:52 -0700)]
formatting: Welcome to the sprintf club, MSVC 2015. Fixes #1337.

8 years agocompiler.tree.cleanup: Fix docs
Doug Coleman [Sat, 6 Jun 2015 04:22:50 +0000 (21:22 -0700)]
compiler.tree.cleanup: Fix docs

8 years agobit-arrays: rename clean-up to zero-end-bits
Doug Coleman [Sat, 6 Jun 2015 04:09:57 +0000 (21:09 -0700)]
bit-arrays: rename clean-up to zero-end-bits

8 years agocompiler: rename cleanup to cleanup-tree, cleanup* to cleanup-tree*
Doug Coleman [Sat, 6 Jun 2015 04:08:18 +0000 (21:08 -0700)]
compiler: rename cleanup to cleanup-tree, cleanup* to cleanup-tree*

8 years agoalien.libraries.finder: Allow library to match just by name. Related to #1099.
Doug Coleman [Sat, 6 Jun 2015 00:05:57 +0000 (17:05 -0700)]
alien.libraries.finder: Allow library to match just by name. Related to #1099.
Add some more unit tests. Fix a typo fidner->finder.

8 years agoplatform.hpp: Indent so I can see wtf is going on with the preprocessor control flow.
Doug Coleman [Fri, 5 Jun 2015 17:53:02 +0000 (10:53 -0700)]
platform.hpp: Indent so I can see wtf is going on with the preprocessor control flow.
Look for ``__linux__`` on linux instead of ``linux`` because compiling with
-std=c++11 removes the ``linux`` preprocessor symbol.

8 years agoRevert "GNUmakefile: Don't compile.gch with -std=c++11"
Doug Coleman [Fri, 5 Jun 2015 17:52:48 +0000 (10:52 -0700)]
Revert "GNUmakefile: Don't compile.gch with -std=c++11"
This wasn't the problem.

This reverts commit e97e74b682aa1692fd72fe63f22b991176bb3e4e.

8 years agoGNUmakefile: Don't compile.gch with -std=c++11
Doug Coleman [Fri, 5 Jun 2015 17:35:03 +0000 (10:35 -0700)]
GNUmakefile: Don't compile.gch with -std=c++11

8 years agoGNUmakefile: add -std=c++11 to CXXFLAGS
Doug Coleman [Fri, 5 Jun 2015 17:31:49 +0000 (10:31 -0700)]
GNUmakefile: add -std=c++11 to CXXFLAGS

8 years agoffi_test.c: Casting a 32bit int to a 64bit pointer is invalid. Instead,
Doug Coleman [Fri, 5 Jun 2015 17:21:20 +0000 (10:21 -0700)]
ffi_test.c: Casting a 32bit int to a 64bit pointer is invalid. Instead,
cast it to a 64bit int then to the pointer. Found with visual studio 2015.

8 years agoutilities.hpp: Use auto pointer instead of gcc extension typeof().
Doug Coleman [Fri, 5 Jun 2015 17:20:32 +0000 (10:20 -0700)]
utilities.hpp: Use auto pointer instead of gcc extension typeof().
Fixes #1336.

8 years agodeques: use fry to simplify.
John Benediktsson [Fri, 5 Jun 2015 06:15:51 +0000 (23:15 -0700)]
deques: use fry to simplify.

8 years agoVM: fixes so that raw_fread and safe_fread returns a size_t again 1334/head
Björn Lindqvist [Fri, 5 Jun 2015 00:11:28 +0000 (02:11 +0200)]
VM: fixes so that raw_fread and safe_fread returns a size_t again

8 years agoVM: make FACTOR_FOR_EACH not call .end() more than once
Björn Lindqvist [Thu, 4 Jun 2015 15:30:36 +0000 (17:30 +0200)]
VM: make FACTOR_FOR_EACH not call .end() more than once

8 years agoVM: safe_fread needs to return an int so you can return -1 on error
Björn Lindqvist [Sun, 31 May 2015 22:21:32 +0000 (00:21 +0200)]
VM: safe_fread needs to return an int so you can return -1 on error

8 years agoVM: move free_list_allocator<Block>::next_allocated_block_after to
Björn Lindqvist [Sat, 30 May 2015 18:07:16 +0000 (20:07 +0200)]
VM: move free_list_allocator<Block>::next_allocated_block_after to
tenured_space::next_allocated_object_after, because it's only used there

8 years agoVM: new functions raw_fclose and raw_fread
Björn Lindqvist [Sat, 30 May 2015 00:29:57 +0000 (02:29 +0200)]
VM: new functions raw_fclose and raw_fread

These need to be used when the image is loaded because there is no
context so you can't throw io errors yet.

8 years agoVM: macro FACTOR_FOR_EACH used in more places to drive iteration
Björn Lindqvist [Fri, 29 May 2015 10:25:12 +0000 (12:25 +0200)]
VM: macro FACTOR_FOR_EACH used in more places to drive iteration

8 years agoVM: macro FACTOR_FOR_EACH to make stl container iteration easier to express
Björn Lindqvist [Fri, 29 May 2015 00:03:37 +0000 (02:03 +0200)]
VM: macro FACTOR_FOR_EACH to make stl container iteration easier to express

8 years agovm: Only call fclose() once. Rename io_error() to io_error_if_not_EINTR() to be more...
Doug Coleman [Wed, 3 Jun 2015 21:35:48 +0000 (14:35 -0700)]
vm: Only call fclose() once. Rename io_error() to io_error_if_not_EINTR() to be more explicit.
Fixes #1335.

8 years agoassocs.extras: minor changes to assoc-merge.
John Benediktsson [Wed, 3 Jun 2015 15:59:41 +0000 (08:59 -0700)]
assocs.extras: minor changes to assoc-merge.

8 years agomath.functions: some silly cleanup.
John Benediktsson [Tue, 2 Jun 2015 18:54:05 +0000 (11:54 -0700)]
math.functions: some silly cleanup.

8 years agobenchmark.backtrack: some cleanup.
John Benediktsson [Tue, 2 Jun 2015 02:46:40 +0000 (19:46 -0700)]
benchmark.backtrack: some cleanup.

8 years agogame.models.obj: some cleanup.
John Benediktsson [Tue, 2 Jun 2015 02:46:15 +0000 (19:46 -0700)]
game.models.obj: some cleanup.

8 years agobacktrack: some cleanup.
John Benediktsson [Tue, 2 Jun 2015 02:46:08 +0000 (19:46 -0700)]
backtrack: some cleanup.

8 years agoeditors.sublime: keep Sublime Text 2 support like we do on OS X.
John Benediktsson [Mon, 1 Jun 2015 22:34:11 +0000 (15:34 -0700)]
editors.sublime: keep Sublime Text 2 support like we do on OS X.

8 years agoio.files.unique: Better docs for with-unique-directory.
Doug Coleman [Mon, 1 Jun 2015 22:22:05 +0000 (15:22 -0700)]
io.files.unique: Better docs for with-unique-directory.

8 years agoeditors.sublime: Fix sublime for windows.
Doug Coleman [Mon, 1 Jun 2015 22:00:10 +0000 (15:00 -0700)]
editors.sublime: Fix sublime for windows.

8 years agoRevert "io.standard-paths: adding support for PATHEXT."
John Benediktsson [Mon, 1 Jun 2015 21:59:36 +0000 (14:59 -0700)]
Revert "io.standard-paths: adding support for PATHEXT."

This reverts commit be9bff0e5bc77e3998bfc92257dcee9d8ee5728b.

8 years agoio.standard-paths: adding support for PATHEXT.
John Benediktsson [Mon, 1 Jun 2015 21:57:47 +0000 (14:57 -0700)]
io.standard-paths: adding support for PATHEXT.

8 years agoeditors: bunch of cleanup.
John Benediktsson [Mon, 1 Jun 2015 21:39:30 +0000 (14:39 -0700)]
editors: bunch of cleanup.

8 years agoio.standard-paths: add ?find-in-path.
John Benediktsson [Mon, 1 Jun 2015 21:26:38 +0000 (14:26 -0700)]
io.standard-paths: add ?find-in-path.

8 years agoio.standard-paths.windows: use map-find.
John Benediktsson [Mon, 1 Jun 2015 21:26:27 +0000 (14:26 -0700)]
io.standard-paths.windows: use map-find.

8 years agotools.which: add a convenience for "which or".
John Benediktsson [Mon, 1 Jun 2015 16:11:19 +0000 (09:11 -0700)]
tools.which: add a convenience for "which or".

8 years agocalendar.format: Add a word to output times in the format that git uses. Rename a...
Doug Coleman [Sun, 31 May 2015 22:08:51 +0000 (15:08 -0700)]
calendar.format: Add a word to output times in the format that git uses. Rename a paren word.