]> gitweb.factorcode.org Git - factor.git/log
factor.git
9 years agosudoku: some cleanup.
John Benediktsson [Tue, 10 Jun 2014 22:46:54 +0000 (15:46 -0700)]
sudoku: some cleanup.

9 years agohelp.tutorial: make it more clear how the tests work, thanks @ambimorph!
John Benediktsson [Tue, 10 Jun 2014 22:06:28 +0000 (15:06 -0700)]
help.tutorial: make it more clear how the tests work, thanks @ambimorph!

9 years agomath.statistics: use if-zero in mean-ddof.
John Benediktsson [Tue, 10 Jun 2014 20:06:42 +0000 (13:06 -0700)]
math.statistics: use if-zero in mean-ddof.

9 years agosequences.extras: adding count* which returns % of counted items.
John Benediktsson [Tue, 10 Jun 2014 20:06:02 +0000 (13:06 -0700)]
sequences.extras: adding count* which returns % of counted items.

9 years agoio.launcher.windows.tests: many of the tests can result in utf8-encoded strings
Björn Lindqvist [Tue, 10 Jun 2014 12:59:07 +0000 (14:59 +0200)]
io.launcher.windows.tests: many of the tests can result in utf8-encoded strings

9 years agosorting.quick: faster by using stack variables not mutable locals.
John Benediktsson [Tue, 10 Jun 2014 00:53:16 +0000 (17:53 -0700)]
sorting.quick: faster by using stack variables not mutable locals.

9 years agostack-checker.alien: fix help-lint.
John Benediktsson [Mon, 9 Jun 2014 21:15:18 +0000 (14:15 -0700)]
stack-checker.alien: fix help-lint.

9 years agosorting.quick: adding tags.txt.
John Benediktsson [Mon, 9 Jun 2014 18:34:16 +0000 (11:34 -0700)]
sorting.quick: adding tags.txt.

9 years agosorting.quick: adding a Quicksort implementation.
John Benediktsson [Mon, 9 Jun 2014 18:17:07 +0000 (11:17 -0700)]
sorting.quick: adding a Quicksort implementation.

9 years agoextra: use ?download-to in a few more places.
John Benediktsson [Mon, 9 Jun 2014 16:18:58 +0000 (09:18 -0700)]
extra: use ?download-to in a few more places.

9 years agospelling: use ?download-to.
John Benediktsson [Mon, 9 Jun 2014 15:58:05 +0000 (08:58 -0700)]
spelling: use ?download-to.

9 years agohttp.client: adding version of download-to that checks file exists.
John Benediktsson [Mon, 9 Jun 2014 15:57:45 +0000 (08:57 -0700)]
http.client: adding version of download-to that checks file exists.

9 years agotools.coverage: add tests, fixes #433
Jon Harper [Mon, 9 Jun 2014 14:16:35 +0000 (16:16 +0200)]
tools.coverage: add tests, fixes #433

9 years agotest-coverage-recursively: remove private and tests vocabs
Jon Harper [Mon, 9 Jun 2014 14:04:15 +0000 (16:04 +0200)]
test-coverage-recursively: remove private and tests vocabs

private vocabs are already covered when testing the main vocab.
test vocabs don't need coverage.

9 years agocompiler.cfg: fix some docs.
John Benediktsson [Mon, 9 Jun 2014 01:20:27 +0000 (18:20 -0700)]
compiler.cfg: fix some docs.

9 years agoopengl.capabilities: fix docs.
John Benediktsson [Mon, 9 Jun 2014 01:14:20 +0000 (18:14 -0700)]
opengl.capabilities: fix docs.

9 years agohelp.lint.checks: allow $slot to be used with struct-class.
John Benediktsson [Mon, 9 Jun 2014 01:12:26 +0000 (18:12 -0700)]
help.lint.checks: allow $slot to be used with struct-class.

9 years agoalien.libraries.finder: fix docs.
John Benediktsson [Mon, 9 Jun 2014 01:08:26 +0000 (18:08 -0700)]
alien.libraries.finder: fix docs.

9 years agostack-checker.known-words: adding bignum>fixnum-strict.
John Benediktsson [Mon, 9 Jun 2014 01:02:16 +0000 (18:02 -0700)]
stack-checker.known-words: adding bignum>fixnum-strict.

9 years agollvm.engine: fix using.
John Benediktsson [Mon, 9 Jun 2014 01:02:04 +0000 (18:02 -0700)]
llvm.engine: fix using.

9 years agoRevert "vm: fix bignum_to_fixnum_strict for BIGNUM_ZERO."
John Benediktsson [Sun, 8 Jun 2014 23:32:35 +0000 (16:32 -0700)]
Revert "vm: fix bignum_to_fixnum_strict for BIGNUM_ZERO."

This reverts commit 0a66016c7db3c8c02af609d7c46411dc05a7b0dd.

9 years agocompiler.tree.modular-arithmetic: strict versions shouldn't be here.
John Benediktsson [Sun, 8 Jun 2014 23:16:24 +0000 (16:16 -0700)]
compiler.tree.modular-arithmetic: strict versions shouldn't be here.

9 years agovm: fix bignum_to_fixnum_strict for BIGNUM_ZERO.
John Benediktsson [Sun, 8 Jun 2014 23:05:36 +0000 (16:05 -0700)]
vm: fix bignum_to_fixnum_strict for BIGNUM_ZERO.

9 years agollvm.engine: use find-library, although I think looking for "LLVM-3" might be better.
John Benediktsson [Sun, 8 Jun 2014 20:43:49 +0000 (13:43 -0700)]
llvm.engine: use find-library, although I think looking for "LLVM-3" might be better.

9 years agoalien.libraries.finder: fix tests for @erg's recent change.
John Benediktsson [Sun, 8 Jun 2014 20:41:38 +0000 (13:41 -0700)]
alien.libraries.finder: fix tests for @erg's recent change.

9 years agocompiler.tree: teaching it bignum>fixnum-strict.
John Benediktsson [Sun, 8 Jun 2014 20:40:38 +0000 (13:40 -0700)]
compiler.tree: teaching it bignum>fixnum-strict.

9 years agoalien.libraries.finder.macosx: adding some tests.
John Benediktsson [Sun, 8 Jun 2014 20:38:35 +0000 (13:38 -0700)]
alien.libraries.finder.macosx: adding some tests.

9 years agoalien.libraries.finder.linux: add some tests.
John Benediktsson [Sun, 8 Jun 2014 20:37:10 +0000 (13:37 -0700)]
alien.libraries.finder.linux: add some tests.

9 years agoalien.libraries.finder.linux: make "m" find-library work.
John Benediktsson [Sun, 8 Jun 2014 20:30:54 +0000 (13:30 -0700)]
alien.libraries.finder.linux: make "m" find-library work.

9 years agoalien.libraries.finder.linux: sigh.
John Benediktsson [Sun, 8 Jun 2014 20:25:51 +0000 (13:25 -0700)]
alien.libraries.finder.linux: sigh.

9 years agoalien.libraries.finder: whoops.
John Benediktsson [Sun, 8 Jun 2014 20:23:43 +0000 (13:23 -0700)]
alien.libraries.finder: whoops.

9 years agocpu.architecture: fix using from bad conflict merge.
John Benediktsson [Sun, 8 Jun 2014 18:47:29 +0000 (11:47 -0700)]
cpu.architecture: fix using from bad conflict merge.

9 years agoDocs: docs for compiler-related words
Björn Lindqvist [Mon, 26 May 2014 11:26:00 +0000 (13:26 +0200)]
Docs: docs for compiler-related words

9 years agoDocs: for compiler.cfg.* vocabs
Björn Lindqvist [Thu, 22 May 2014 17:01:57 +0000 (19:01 +0200)]
Docs: for compiler.cfg.* vocabs

9 years agoDocs: for compiler, vm and combinators
Björn Lindqvist [Sun, 18 May 2014 17:48:08 +0000 (19:48 +0200)]
Docs: for compiler, vm and combinators

9 years agoDocs: more docs for stack-checker.* words
Björn Lindqvist [Sun, 18 May 2014 17:46:57 +0000 (19:46 +0200)]
Docs: more docs for stack-checker.* words

9 years agoDocs: more docs for compiler.cfg.* words
Björn Lindqvist [Sun, 18 May 2014 17:45:09 +0000 (19:45 +0200)]
Docs: more docs for compiler.cfg.* words

9 years agoDocs: for compiler.cfg.regsters
Björn Lindqvist [Sun, 18 May 2014 17:03:37 +0000 (19:03 +0200)]
Docs: for compiler.cfg.regsters

9 years agoDocs: documentation for stack-checker.* and compiler.* vocabs
Björn Lindqvist [Fri, 16 May 2014 16:15:14 +0000 (18:15 +0200)]
Docs: documentation for stack-checker.* and compiler.* vocabs

9 years agoDocs: for cpu.architecture words
Björn Lindqvist [Sun, 11 May 2014 22:28:26 +0000 (00:28 +0200)]
Docs: for cpu.architecture words

9 years agoDocs: for cpu.x86
Björn Lindqvist [Sun, 11 May 2014 11:12:56 +0000 (13:12 +0200)]
Docs: for cpu.x86

9 years agoDocs: for compiler.cfg and cpu.architecture words
Björn Lindqvist [Sun, 11 May 2014 11:02:00 +0000 (13:02 +0200)]
Docs: for compiler.cfg and cpu.architecture words

Conflicts:
basis/cpu/architecture/architecture-docs.factor

9 years agoDocs: new stub documentation for vocabs in compiler.cfg
Björn Lindqvist [Sun, 11 May 2014 11:01:13 +0000 (13:01 +0200)]
Docs: new stub documentation for vocabs in compiler.cfg

9 years agoalien.libraries.finder.linux: some fixes to allow "LLVM-3.4" to find "LLVM-3.4.1".
John Benediktsson [Sun, 8 Jun 2014 18:43:15 +0000 (11:43 -0700)]
alien.libraries.finder.linux: some fixes to allow "LLVM-3.4" to find "LLVM-3.4.1".

9 years agoopengl.capabilities: Try to throw linux Radeon users a bone for getting around having...
Doug Coleman [Sun, 8 Jun 2014 06:06:25 +0000 (23:06 -0700)]
opengl.capabilities: Try to throw linux Radeon users a bone for getting around having two libGL.so installed.
See http://ubuntuforums.org/showthread.php?t=2228534&p=13044229#post13044229
(Does anyone know the best fix for this!?)

9 years agoopengl.capabilities: Apply @jonenst's suggestions for gl-version failures with mesa...
Doug Coleman [Sun, 8 Jun 2014 04:22:29 +0000 (21:22 -0700)]
opengl.capabilities: Apply @jonenst's suggestions for gl-version failures with mesa opengl.

9 years agoalien.libraries.finder: Make find-library return the string passed in instead of...
Doug Coleman [Sun, 8 Jun 2014 03:48:09 +0000 (20:48 -0700)]
alien.libraries.finder: Make find-library return the string passed in instead of f if the library is not found. We want vocabularies to load no matter what instead of throwing a missing library error. Also, print dlerror in the error message and take away the redundant line about possible missing libraries. Fixes #986.

9 years agollvm.core: use find-library.
John Benediktsson [Sat, 7 Jun 2014 22:39:06 +0000 (15:39 -0700)]
llvm.core: use find-library.

9 years agogtk.ffi: fixed.
John Benediktsson [Sat, 7 Jun 2014 20:45:20 +0000 (13:45 -0700)]
gtk.ffi: fixed.

9 years agovm: change some push/pop to replace/peek.
John Benediktsson [Sat, 7 Jun 2014 19:16:43 +0000 (12:16 -0700)]
vm: change some push/pop to replace/peek.

9 years agovm: generate a to_fixnum_strict to workaround an odd io.monitors issue.
John Benediktsson [Sat, 7 Jun 2014 19:06:03 +0000 (12:06 -0700)]
vm: generate a to_fixnum_strict to workaround an odd io.monitors issue.

9 years agomath.parser: fix docs for >base and base>.
John Benediktsson [Sat, 7 Jun 2014 19:05:52 +0000 (12:05 -0700)]
math.parser: fix docs for >base and base>.

9 years agoalien.libraries.finder: using find-library for some often missing libs
Björn Lindqvist [Tue, 10 Dec 2013 21:53:26 +0000 (22:53 +0100)]
alien.libraries.finder: using find-library for some often missing libs

9 years agokernel: remove ?execute, not used much, and a little bit confusing.
John Benediktsson [Sat, 7 Jun 2014 16:56:47 +0000 (09:56 -0700)]
kernel: remove ?execute, not used much, and a little bit confusing.

9 years agomath: remove out-of-fixnum-range error.
John Benediktsson [Sat, 7 Jun 2014 16:50:50 +0000 (09:50 -0700)]
math: remove out-of-fixnum-range error.

9 years agoclasses.tuple: fix test-case.
John Benediktsson [Sat, 7 Jun 2014 16:50:26 +0000 (09:50 -0700)]
classes.tuple: fix test-case.

9 years agovm: using bignum>fixnum-strict in integer>fixnum-strict.
John Benediktsson [Sat, 7 Jun 2014 16:46:05 +0000 (09:46 -0700)]
vm: using bignum>fixnum-strict in integer>fixnum-strict.

9 years agoVM: CELL_TO_FOO macro-magic in the same spirit as BIGNUM_TO_FOO
Björn Lindqvist [Sat, 7 Jun 2014 15:04:27 +0000 (17:04 +0200)]
VM: CELL_TO_FOO macro-magic in the same spirit as BIGNUM_TO_FOO

Now also factor_vm::to_cell doesn't piggyback on
factor_vm::to_fixnum's (strict) conversion.

9 years agocompiler.cfg.intrinsics.simd: the ulonglong case is correct, it just shouldn't conver...
Björn Lindqvist [Sat, 7 Jun 2014 15:00:52 +0000 (17:00 +0200)]
compiler.cfg.intrinsics.simd: the ulonglong case is correct, it just shouldn't convert the value to a fixnum

9 years agocompiler.cfg.intrinsics.simd: remove a case in sign-bit-mask that is probably unused
Björn Lindqvist [Sat, 7 Jun 2014 12:39:19 +0000 (14:39 +0200)]
compiler.cfg.intrinsics.simd: remove a case in sign-bit-mask that is probably unused

9 years agokernel.private: add ERROR-OUT-OF-FIXNUM-RANGE on the Factor side
Björn Lindqvist [Sat, 7 Jun 2014 12:36:53 +0000 (14:36 +0200)]
kernel.private: add ERROR-OUT-OF-FIXNUM-RANGE on the Factor side

9 years agoVM: better version of bignum_to_fixnum_strict that doesn't allocate
Björn Lindqvist [Sat, 7 Jun 2014 11:09:00 +0000 (13:09 +0200)]
VM: better version of bignum_to_fixnum_strict that doesn't allocate

9 years agoVM: tests that rely on the integer values of the vm_error_type needs to be updated
Björn Lindqvist [Tue, 3 Jun 2014 21:45:38 +0000 (23:45 +0200)]
VM: tests that rely on the integer values of the vm_error_type needs to be updated

9 years agoVM: bignum_to_fixnum_strict and an accompanying vm error in case the conversion fails
Björn Lindqvist [Tue, 3 Jun 2014 16:52:38 +0000 (18:52 +0200)]
VM: bignum_to_fixnum_strict and an accompanying vm error in case the conversion fails

9 years agoVM: allot_array_1, allot_array_2 are unused and primitive_array should use allot_array
Björn Lindqvist [Thu, 29 May 2014 17:22:43 +0000 (19:22 +0200)]
VM: allot_array_1, allot_array_2 are unused and primitive_array should use allot_array

9 years agoVM: refactored factor_vm::unbox_array_size()
Björn Lindqvist [Thu, 29 May 2014 17:08:01 +0000 (19:08 +0200)]
VM: refactored factor_vm::unbox_array_size()

9 years agoio.streams.ansi: adding ANSI color streams.
John Benediktsson [Sat, 7 Jun 2014 00:10:44 +0000 (17:10 -0700)]
io.streams.ansi: adding ANSI color streams.

9 years agovm: optionally set CC and CXX on macosx.
John Benediktsson [Fri, 6 Jun 2014 22:13:48 +0000 (15:13 -0700)]
vm: optionally set CC and CXX on macosx.

9 years agobuild-support: allow CC and CXX to be overridden.
John Benediktsson [Fri, 6 Jun 2014 22:06:48 +0000 (15:06 -0700)]
build-support: allow CC and CXX to be overridden.

9 years agohelp.lint.checks: better error message for non-unique $see-also.
John Benediktsson [Fri, 6 Jun 2014 21:46:10 +0000 (14:46 -0700)]
help.lint.checks: better error message for non-unique $see-also.

9 years agomath.bits: Clean up the docs some more.
Doug Coleman [Fri, 6 Jun 2014 21:45:30 +0000 (14:45 -0700)]
math.bits: Clean up the docs some more.

9 years agohelp.lint.checks: maybe clearer error message.
John Benediktsson [Fri, 6 Jun 2014 21:39:15 +0000 (14:39 -0700)]
help.lint.checks: maybe clearer error message.

9 years agomath.bits: Clarify docs. Don't support negative numbers for make-bits. Fixes #893.
Doug Coleman [Fri, 6 Jun 2014 21:24:39 +0000 (14:24 -0700)]
math.bits: Clarify docs. Don't support negative numbers for make-bits. Fixes #893.

9 years agoopenssl: less usings.
John Benediktsson [Fri, 6 Jun 2014 21:18:24 +0000 (14:18 -0700)]
openssl: less usings.

9 years agoopenssl: define a startup-hook so that openssl initializes automatically
Björn Lindqvist [Sun, 16 Mar 2014 14:24:36 +0000 (15:24 +0100)]
openssl: define a startup-hook so that openssl initializes automatically

9 years agotools.deprecation: make deprecation warnings not fatal (so they don't clutter the...
John Benediktsson [Fri, 6 Jun 2014 21:10:32 +0000 (14:10 -0700)]
tools.deprecation: make deprecation warnings not fatal (so they don't clutter the UI forever).

9 years agomason: change stack effect of mason.
John Benediktsson [Fri, 6 Jun 2014 20:57:39 +0000 (13:57 -0700)]
mason: change stack effect of mason.

9 years agoeffects: fix expected and got in bad-stack-effect (were backwards).
John Benediktsson [Fri, 6 Jun 2014 18:16:43 +0000 (11:16 -0700)]
effects: fix expected and got in bad-stack-effect (were backwards).

9 years agocore: Throw an error when defining MAIN: with a stack effect other than ( -- ). Fixes...
Doug Coleman [Fri, 6 Jun 2014 17:54:57 +0000 (10:54 -0700)]
core: Throw an error when defining MAIN: with a stack effect other than ( -- ). Fixes #1060.

9 years agomath: adding a simple test for bignum_square.
John Benediktsson [Fri, 6 Jun 2014 17:58:58 +0000 (10:58 -0700)]
math: adding a simple test for bignum_square.

9 years agovm: adding a fast path for bignum sq.
John Benediktsson [Fri, 6 Jun 2014 17:45:09 +0000 (10:45 -0700)]
vm: adding a fast path for bignum sq.

9 years agohelp.lint: help-lint should not be a MAIN: word.
John Benediktsson [Fri, 6 Jun 2014 17:36:05 +0000 (10:36 -0700)]
help.lint: help-lint should not be a MAIN: word.

9 years agotools.coverage: add docs for test-coverage-recursively.
John Benediktsson [Fri, 6 Jun 2014 17:22:37 +0000 (10:22 -0700)]
tools.coverage: add docs for test-coverage-recursively.

9 years agoextra: use map-sum in a few places.
John Benediktsson [Fri, 6 Jun 2014 16:49:56 +0000 (09:49 -0700)]
extra: use map-sum in a few places.

9 years agoconcurrency: Rename wait-timeout to timed-out-error for clarity. Add the timer that...
Doug Coleman [Fri, 6 Jun 2014 17:10:09 +0000 (10:10 -0700)]
concurrency: Rename wait-timeout to timed-out-error for clarity. Add the timer that timed out to the error tuple.

9 years agotools.ps.macosx: fix for recent change to system-info.macosx.
John Benediktsson [Fri, 6 Jun 2014 04:01:30 +0000 (21:01 -0700)]
tools.ps.macosx: fix for recent change to system-info.macosx.

9 years agocontributors: simplify using histogram.
John Benediktsson [Thu, 5 Jun 2014 23:01:52 +0000 (16:01 -0700)]
contributors: simplify using histogram.

9 years agoeditors: adding some summary.txt.
John Benediktsson [Thu, 5 Jun 2014 22:57:34 +0000 (15:57 -0700)]
editors: adding some summary.txt.

9 years agoalien.libraries: Change <library> to be just a constructor. Replace with make-library...
Doug Coleman [Thu, 5 Jun 2014 21:26:38 +0000 (14:26 -0700)]
alien.libraries: Change <library> to be just a constructor. Replace with make-library and try-make-library so that we throw better errors.

9 years agomath.ratios: faster abs and neg? on ratios.
John Benediktsson [Thu, 5 Jun 2014 17:53:02 +0000 (10:53 -0700)]
math.ratios: faster abs and neg? on ratios.

9 years agokernel: change errors to be in kernel.private.
John Benediktsson [Wed, 4 Jun 2014 21:33:02 +0000 (14:33 -0700)]
kernel: change errors to be in kernel.private.

9 years agokernel: symbolic constants for the various kernel errors
Björn Lindqvist [Wed, 4 Jun 2014 14:51:26 +0000 (16:51 +0200)]
kernel: symbolic constants for the various kernel errors

9 years agomath.transforms.fft: hah, once-power-of-2, always-power-of-2.
John Benediktsson [Wed, 4 Jun 2014 19:28:59 +0000 (12:28 -0700)]
math.transforms.fft: hah, once-power-of-2, always-power-of-2.

9 years agofftw: fix for ifft1d.
John Benediktsson [Wed, 4 Jun 2014 19:16:11 +0000 (12:16 -0700)]
fftw: fix for ifft1d.

9 years agofftw: adding some bindings to fftw3.
John Benediktsson [Wed, 4 Jun 2014 19:10:18 +0000 (12:10 -0700)]
fftw: adding some bindings to fftw3.

9 years agomath.transforms.fft: fix Cooley-Tukey only works for powers of two.
John Benediktsson [Wed, 4 Jun 2014 19:06:45 +0000 (12:06 -0700)]
math.transforms.fft: fix Cooley-Tukey only works for powers of two.

9 years agolistener: extract a loaded-vocab? word.
John Benediktsson [Wed, 4 Jun 2014 16:52:51 +0000 (09:52 -0700)]
listener: extract a loaded-vocab? word.

9 years agoio: change stream-bl to use write1.
John Benediktsson [Wed, 4 Jun 2014 16:13:21 +0000 (09:13 -0700)]
io: change stream-bl to use write1.

9 years agoextra: use bl when possible instead of ``" " write``.
John Benediktsson [Wed, 4 Jun 2014 16:10:36 +0000 (09:10 -0700)]
extra: use bl when possible instead of ``" " write``.

9 years agolint: some more trivial-defs.
John Benediktsson [Wed, 4 Jun 2014 16:10:23 +0000 (09:10 -0700)]
lint: some more trivial-defs.