]> gitweb.factorcode.org Git - factor.git/log
factor.git
10 years agoVM: Refactor debug.cpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:57:14 +0000 (21:57 -0400)]
VM: Refactor debug.cpp to Factor style

10 years agoVM: Refactor data_roots.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:56:42 +0000 (21:56 -0400)]
VM: Refactor data_roots.hpp to Factor style

10 years agoVM: Refactor data_heap* to Factor style
Erik Charlebois [Sun, 12 May 2013 01:56:29 +0000 (21:56 -0400)]
VM: Refactor data_heap* to Factor style

10 years agoVM: Refactor cpu-* to Factor style
Erik Charlebois [Sun, 12 May 2013 01:55:50 +0000 (21:55 -0400)]
VM: Refactor cpu-* to Factor style

10 years agoVM: Refactor copying_collector.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:53:30 +0000 (21:53 -0400)]
VM: Refactor copying_collector.hpp to Factor style

10 years agoVM: Refactor contexts to Factor style
Erik Charlebois [Sun, 12 May 2013 01:53:18 +0000 (21:53 -0400)]
VM: Refactor contexts to Factor style

10 years agoVM: Refactor compaction.cpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:52:44 +0000 (21:52 -0400)]
VM: Refactor compaction.cpp to Factor style

10 years agoVM: Refactor collector.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:52:27 +0000 (21:52 -0400)]
VM: Refactor collector.hpp to Factor style

10 years agoVM: Refactor code_roots to Factor style
Erik Charlebois [Sun, 12 May 2013 01:52:05 +0000 (21:52 -0400)]
VM: Refactor code_roots to Factor style

10 years agoVM: Refactor code_heap to Factor style
Erik Charlebois [Sun, 12 May 2013 01:51:54 +0000 (21:51 -0400)]
VM: Refactor code_heap to Factor style

10 years agoVM: Refactor code_blocks to Factor style
Erik Charlebois [Sun, 12 May 2013 01:50:21 +0000 (21:50 -0400)]
VM: Refactor code_blocks to Factor style

10 years agoVM: Refactor callstack to Factor style
Erik Charlebois [Sun, 12 May 2013 01:47:34 +0000 (21:47 -0400)]
VM: Refactor callstack to Factor style

10 years agoVM: Refactor callbacks to Factor style
Erik Charlebois [Sun, 12 May 2013 01:47:11 +0000 (21:47 -0400)]
VM: Refactor callbacks to Factor style

10 years agoVM: Refactor byte_arrays to Factor style
Erik Charlebois [Sun, 12 May 2013 01:46:08 +0000 (21:46 -0400)]
VM: Refactor byte_arrays to Factor style

10 years agoVM: Refactor bump_allocator.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:45:44 +0000 (21:45 -0400)]
VM: Refactor bump_allocator.hpp to Factor style

10 years agoVM: Refactor booleans.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:45:20 +0000 (21:45 -0400)]
VM: Refactor booleans.hpp to Factor style

10 years agoVM: Refactor bitwise_hacks to Factor style
Erik Charlebois [Sun, 12 May 2013 01:45:05 +0000 (21:45 -0400)]
VM: Refactor bitwise_hacks to Factor style

10 years agoVM: Refactor bignum to Factor style
Erik Charlebois [Sun, 12 May 2013 01:44:20 +0000 (21:44 -0400)]
VM: Refactor bignum to Factor style

10 years agoVM: Refactor atomic.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:43:20 +0000 (21:43 -0400)]
VM: Refactor atomic.hpp to Factor style

10 years agoVM: Refactor atomic-* to Factor style
Erik Charlebois [Sun, 12 May 2013 01:43:04 +0000 (21:43 -0400)]
VM: Refactor atomic-* to Factor style

10 years agoVM: Refactor assert.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:42:22 +0000 (21:42 -0400)]
VM: Refactor assert.hpp to Factor style

10 years agoVM: Refactor arrays.cpp/hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:41:14 +0000 (21:41 -0400)]
VM: Refactor arrays.cpp/hpp to Factor style

10 years agoVM: Refactor allot.hpp to Factor style
Erik Charlebois [Sun, 12 May 2013 02:32:45 +0000 (22:32 -0400)]
VM: Refactor allot.hpp to Factor style

10 years agoVM: Refactor alien.cpp to Factor style
Erik Charlebois [Sun, 12 May 2013 01:40:43 +0000 (21:40 -0400)]
VM: Refactor alien.cpp to Factor style

10 years agoVM: Refactor aging_space to Factor style
Erik Charlebois [Sun, 12 May 2013 01:40:14 +0000 (21:40 -0400)]
VM: Refactor aging_space to Factor style

10 years agoVM: Refactor aging_collector to Factor style
Erik Charlebois [Sun, 12 May 2013 01:39:48 +0000 (21:39 -0400)]
VM: Refactor aging_collector to Factor style

10 years agoVM: Remove empty source files
Erik Charlebois [Sun, 12 May 2013 01:15:02 +0000 (21:15 -0400)]
VM: Remove empty source files

10 years agoFUEL: Tweak package description
Erik Charlebois [Sun, 12 May 2013 17:22:41 +0000 (13:22 -0400)]
FUEL: Tweak package description

11 years agoVM: Remove exec bit from VM source files
Erik Charlebois [Sat, 11 May 2013 21:04:23 +0000 (17:04 -0400)]
VM: Remove exec bit from VM source files

11 years agoFUEL: fuel-pkg.el file for MELPA metadata
Erik Charlebois [Sat, 11 May 2013 21:02:27 +0000 (17:02 -0400)]
FUEL: fuel-pkg.el file for MELPA metadata

11 years agorosetta-code.pascals-triangle: adding a coefficients method.
John Benediktsson [Wed, 8 May 2013 04:06:00 +0000 (21:06 -0700)]
rosetta-code.pascals-triangle: adding a coefficients method.

11 years agoFUEL: Documentation fixes
Erik Charlebois [Wed, 8 May 2013 02:28:42 +0000 (22:28 -0400)]
FUEL: Documentation fixes

11 years agomath.combinators: fix help-lint warnings I introduced...
John Benediktsson [Tue, 7 May 2013 15:18:20 +0000 (08:18 -0700)]
math.combinators: fix help-lint warnings I introduced...

11 years agoio.streams.random: fix USE: again.
John Benediktsson [Tue, 7 May 2013 13:18:50 +0000 (06:18 -0700)]
io.streams.random: fix USE: again.

11 years agosequences: fix test case.
John Benediktsson [Tue, 7 May 2013 13:18:13 +0000 (06:18 -0700)]
sequences: fix test case.

11 years agosequences.extras: adding remove-last.
John Benediktsson [Tue, 7 May 2013 13:15:02 +0000 (06:15 -0700)]
sequences.extras: adding remove-last.

11 years agoFUEL: Fix Emacs package metadata for MELPA recipe
Erik Charlebois [Tue, 7 May 2013 06:03:26 +0000 (02:03 -0400)]
FUEL: Fix Emacs package metadata for MELPA recipe

11 years agoLarge reorg of FUEL codebase
Erik Charlebois [Sun, 5 May 2013 04:48:12 +0000 (00:48 -0400)]
Large reorg of FUEL codebase

* Modernize the FUEL elisp code for Emacs 24.3. Emacs 24.3 deprecated
the old 'cl lib and standardized a new 'cl-lib lib to put the name
clash issues to rest once and for all. This version of FUEL now requires
24.3.
* Move FUEL code that was needed by factor-mode into factor-mode and
rename appropriately. factor-mode and FUEL are now clearly separated
and FUEL depends on factor-mode.
* Set up FUEL with appropriate autoloads so that it's Emacs 24 package
manager friendly. FUEL can now be uploaded to MELPA or some similar
package manager.
* Changed the Factor faces for font locking to inherit from the default
Emacs faces rather than defaulting to other colors. This means that
Emacs themes will work for Factor code out of the box. Further
tailoring of Factor-specific faces can be done by users themselves.
* Cleaned up a lot of code to use Emacs conventions
(define-defined-mode, define-minor-mode, indent-function, etc) and added
a propery syntax table so that paren matching works, and word/symbol
skipping works.
* Added a new minor mode, fuel-autohelp-mode, that displays the help for
the symbol under point in another window. A fusion of fuel-autodoc-mode
and fuel-help-mode that's quite handy for reading Factor code.

11 years agosequences: change binary-reduce not to be row-polymorphic until #879 is fixed.
John Benediktsson [Mon, 6 May 2013 23:17:57 +0000 (16:17 -0700)]
sequences: change binary-reduce not to be row-polymorphic until #879 is fixed.

11 years agoio.streams.random: fix USE:.
John Benediktsson [Mon, 6 May 2013 23:17:39 +0000 (16:17 -0700)]
io.streams.random: fix USE:.

11 years agosequences: implement sum on iota-tuple.
John Benediktsson [Mon, 6 May 2013 23:02:49 +0000 (16:02 -0700)]
sequences: implement sum on iota-tuple.

11 years agomath.ranges: implement sum on ranges.
John Benediktsson [Mon, 6 May 2013 23:01:29 +0000 (16:01 -0700)]
math.ranges: implement sum on ranges.

11 years agomath.extras: change moving-median to use <clumps>.
John Benediktsson [Mon, 6 May 2013 17:41:21 +0000 (10:41 -0700)]
math.extras: change moving-median to use <clumps>.

11 years agomath.statistics: change kth-object to properly clone underlying sequence first.
John Benediktsson [Mon, 6 May 2013 17:40:53 +0000 (10:40 -0700)]
math.statistics: change kth-object to properly clone underlying sequence first.

11 years agomath.statistics: faster cum-mean.
John Benediktsson [Mon, 6 May 2013 16:12:40 +0000 (09:12 -0700)]
math.statistics: faster cum-mean.

11 years agoRevert "math.statistics: change cum-mean to use v/."
John Benediktsson [Mon, 6 May 2013 16:08:11 +0000 (09:08 -0700)]
Revert "math.statistics: change cum-mean to use v/."

This reverts commit 9df2235d8983da67d106a6d5fb297134e5e2a58e.

11 years agomath.statistics: change cum-mean to use v/.
John Benediktsson [Mon, 6 May 2013 15:59:02 +0000 (08:59 -0700)]
math.statistics: change cum-mean to use v/.

11 years agomath.combinators: adding unless-positive and unless-negative.
John Benediktsson [Mon, 6 May 2013 15:45:29 +0000 (08:45 -0700)]
math.combinators: adding unless-positive and unless-negative.

11 years agoRevert "math.extras: change to <clumps> to match other moving- words."
John Benediktsson [Mon, 6 May 2013 15:38:07 +0000 (08:38 -0700)]
Revert "math.extras: change to <clumps> to match other moving- words."

This reverts commit 4c3d15e01a89a3383e77192ebcf969c2a17e7aa8.

11 years agoio.streams.random: slightly faster.
John Benediktsson [Mon, 6 May 2013 15:35:03 +0000 (08:35 -0700)]
io.streams.random: slightly faster.

11 years agomath.combinators: fix help-lint errors.
John Benediktsson [Mon, 6 May 2013 15:34:32 +0000 (08:34 -0700)]
math.combinators: fix help-lint errors.

11 years agowhen-negative / when-positive
lorynj [Sun, 5 May 2013 00:08:48 +0000 (10:08 +1000)]
when-negative / when-positive

Convenience combinators to encapsulate testing numbers for being negative or positive, followed by call to a true quotation.

Signed-off-by: lorynj <lorynj@gmail.com>
11 years agocum-mean
lorynj [Sun, 5 May 2013 00:12:59 +0000 (10:12 +1000)]
cum-mean

Added a word to calculate cumulative mean.

Signed-off-by: lorynj <lorynj@gmail.com>
11 years agomath.extras: change to <clumps> to match other moving- words.
John Benediktsson [Thu, 2 May 2013 23:50:30 +0000 (16:50 -0700)]
math.extras: change to <clumps> to match other moving- words.

11 years agosets.extras: adding non-repeating.
John Benediktsson [Thu, 2 May 2013 23:36:43 +0000 (16:36 -0700)]
sets.extras: adding non-repeating.

11 years agozoneinfo: Add a basic test.
Doug Coleman [Sat, 27 Apr 2013 20:44:59 +0000 (13:44 -0700)]
zoneinfo: Add a basic test.

11 years agosequences.extras: adding remove-first.
John Benediktsson [Thu, 2 May 2013 15:23:25 +0000 (08:23 -0700)]
sequences.extras: adding remove-first.

11 years agosequences.windowed: faster windows and rolling words.
John Benediktsson [Thu, 2 May 2013 05:18:26 +0000 (22:18 -0700)]
sequences.windowed: faster windows and rolling words.

11 years agomath.extras: adding monotonic-count and max-monotonic-count.
John Benediktsson [Thu, 2 May 2013 04:56:34 +0000 (21:56 -0700)]
math.extras: adding monotonic-count and max-monotonic-count.

11 years agomath.finance: adding performance.
John Benediktsson [Thu, 2 May 2013 04:24:09 +0000 (21:24 -0700)]
math.finance: adding performance.

11 years agomath.extras: add fill-nans.
John Benediktsson [Thu, 2 May 2013 04:22:27 +0000 (21:22 -0700)]
math.extras: add fill-nans.

11 years agocombinators.extras: adding 3bi* and 3bi@.
John Benediktsson [Thu, 2 May 2013 01:34:27 +0000 (18:34 -0700)]
combinators.extras: adding 3bi* and 3bi@.

11 years agotools.ps.windows: Add read-peb and my-peb.
Doug Coleman [Thu, 2 May 2013 01:14:23 +0000 (18:14 -0700)]
tools.ps.windows: Add read-peb and my-peb.

11 years agowindows.ntdll: Use the real field names for all the BYTE and reserved
Doug Coleman [Thu, 2 May 2013 01:11:34 +0000 (18:11 -0700)]
windows.ntdll: Use the real field names for all the BYTE and reserved
dummy fields.

11 years agosequences.extras: fix test for arg-where.
John Benediktsson [Thu, 2 May 2013 00:19:02 +0000 (17:19 -0700)]
sequences.extras: fix test for arg-where.

11 years agosequences.extras: faster arg-max, arg-min, arg-where, cleanup.
John Benediktsson [Wed, 1 May 2013 21:31:14 +0000 (14:31 -0700)]
sequences.extras: faster arg-max, arg-min, arg-where, cleanup.

11 years agosequences.extras: cleanup, make reverse-as faster.
John Benediktsson [Wed, 1 May 2013 21:09:34 +0000 (14:09 -0700)]
sequences.extras: cleanup, make reverse-as faster.

11 years agosequences.extras: adding cut-slice*.
John Benediktsson [Wed, 1 May 2013 21:03:58 +0000 (14:03 -0700)]
sequences.extras: adding cut-slice*.

11 years agounix.linux.proc: Handle a unified processor-info object for linux 2.6 and on. Add...
Doug Coleman [Wed, 1 May 2013 19:25:00 +0000 (12:25 -0700)]
unix.linux.proc: Handle a unified processor-info object for linux 2.6 and on. Add unit tests. Fixes #877.

11 years agoinfix: update docs for recent changes.
John Benediktsson [Wed, 1 May 2013 18:57:20 +0000 (11:57 -0700)]
infix: update docs for recent changes.

11 years agorosetta-code.josephus-problem: change to use josephus-2 if k=2.
John Benediktsson [Wed, 1 May 2013 18:25:40 +0000 (11:25 -0700)]
rosetta-code.josephus-problem: change to use josephus-2 if k=2.

11 years agomath.combinatorics: faster by using hints for the array common case.
John Benediktsson [Wed, 1 May 2013 18:18:17 +0000 (11:18 -0700)]
math.combinatorics: faster by using hints for the array common case.

11 years agorosetta-code.josephus-problem: adding solution for josephus problem.
John Benediktsson [Wed, 1 May 2013 18:16:01 +0000 (11:16 -0700)]
rosetta-code.josephus-problem: adding solution for josephus problem.

11 years agounix.linux.proc: Pad tail with f for cpu-info. Fixes #877.
Doug Coleman [Tue, 30 Apr 2013 23:47:09 +0000 (16:47 -0700)]
unix.linux.proc: Pad tail with f for cpu-info. Fixes #877.

11 years agowindows.ntdll: Make this Windows-only.
Doug Coleman [Sat, 27 Apr 2013 09:47:52 +0000 (02:47 -0700)]
windows.ntdll: Make this Windows-only.

11 years agotools.ps.windows: Implement ps. for Windows!
Doug Coleman [Sat, 27 Apr 2013 04:14:32 +0000 (21:14 -0700)]
tools.ps.windows: Implement ps. for Windows!

11 years agowindows: Add ntdll and bind to more process listing functions.
Doug Coleman [Sat, 27 Apr 2013 04:14:03 +0000 (21:14 -0700)]
windows: Add ntdll and bind to more process listing functions.

11 years agocolors.ryb: adding RYB colors.
John Benediktsson [Sat, 27 Apr 2013 01:52:01 +0000 (18:52 -0700)]
colors.ryb: adding RYB colors.

11 years agocolors: fix minor TYpo in docs.
John Benediktsson [Sat, 27 Apr 2013 01:51:06 +0000 (18:51 -0700)]
colors: fix minor TYpo in docs.

11 years agotools.test: allow testing from the command-line.
John Benediktsson [Sat, 27 Apr 2013 00:43:39 +0000 (17:43 -0700)]
tools.test: allow testing from the command-line.

11 years agoadding some summary.txt files.
John Benediktsson [Sat, 27 Apr 2013 00:43:24 +0000 (17:43 -0700)]
adding some summary.txt files.

11 years agocompiler.tree.propagation.simple: check output types length.
John Benediktsson [Sat, 27 Apr 2013 00:21:22 +0000 (17:21 -0700)]
compiler.tree.propagation.simple: check output types length.

11 years agococoa.messages: name sender-stubs by signature since they are cached that way.
John Benediktsson [Fri, 26 Apr 2013 23:56:53 +0000 (16:56 -0700)]
cocoa.messages: name sender-stubs by signature since they are cached that way.

11 years agotools.ps.macosx: use trim-head-slice, simpler.
John Benediktsson [Fri, 26 Apr 2013 23:23:32 +0000 (16:23 -0700)]
tools.ps.macosx: use trim-head-slice, simpler.

11 years agomath.text: make it only work with integers.
John Benediktsson [Fri, 26 Apr 2013 23:08:11 +0000 (16:08 -0700)]
math.text: make it only work with integers.

11 years agowindows.winmm: adding platforms.txt.
John Benediktsson [Fri, 26 Apr 2013 22:53:26 +0000 (15:53 -0700)]
windows.winmm: adding platforms.txt.

11 years agoterminfo: separate string-offset word.
John Benediktsson [Fri, 26 Apr 2013 18:36:25 +0000 (11:36 -0700)]
terminfo: separate string-offset word.

11 years agoterminfo: interpret shorts as signed integer and test if negative
Jon Harper [Fri, 26 Apr 2013 18:05:39 +0000 (21:05 +0300)]
terminfo: interpret shorts as signed integer and test if negative

11 years agoterminfo: 1 head* is but-last
Jon Harper [Fri, 26 Apr 2013 17:57:54 +0000 (20:57 +0300)]
terminfo: 1 head* is but-last

11 years agowindows.winmm: Add binding to play mp3s.
Doug Coleman [Fri, 26 Apr 2013 18:06:49 +0000 (11:06 -0700)]
windows.winmm: Add binding to play mp3s.

11 years agogoogle.translate: adding translate-tts.
John Benediktsson [Fri, 26 Apr 2013 17:42:50 +0000 (10:42 -0700)]
google.translate: adding translate-tts.

11 years agoterminfo: probably fix a bug where 0xfeff should be ignored also?
John Benediktsson [Fri, 26 Apr 2013 15:55:57 +0000 (08:55 -0700)]
terminfo: probably fix a bug where 0xfeff should be ignored also?

11 years agoterminfo: cleanup a little, separate the align-even-bytes.
John Benediktsson [Fri, 26 Apr 2013 15:55:39 +0000 (08:55 -0700)]
terminfo: cleanup a little, separate the align-even-bytes.

11 years agoterminfo: cleaner, use %c on linux.
John Benediktsson [Fri, 26 Apr 2013 14:10:40 +0000 (07:10 -0700)]
terminfo: cleaner, use %c on linux.

11 years agoterminfo: hex only on macosx.
John Benediktsson [Fri, 26 Apr 2013 14:09:15 +0000 (07:09 -0700)]
terminfo: hex only on macosx.

11 years agoterminfo: parse all the capabilities.
John Benediktsson [Fri, 26 Apr 2013 14:02:46 +0000 (07:02 -0700)]
terminfo: parse all the capabilities.

11 years agoterminfo: simplify a bit.
John Benediktsson [Fri, 26 Apr 2013 04:29:05 +0000 (21:29 -0700)]
terminfo: simplify a bit.

11 years agosequences.extras: cleanup reduce's a little.
John Benediktsson [Fri, 26 Apr 2013 03:48:04 +0000 (20:48 -0700)]
sequences.extras: cleanup reduce's a little.

11 years agosequences.extras: adding subseq-as.
John Benediktsson [Fri, 26 Apr 2013 03:38:07 +0000 (20:38 -0700)]
sequences.extras: adding subseq-as.

11 years agoprettyprint: fix off-by-one, thanks @adjvondrak!
John Benediktsson [Fri, 26 Apr 2013 03:19:12 +0000 (20:19 -0700)]
prettyprint: fix off-by-one, thanks @adjvondrak!