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

10 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

10 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

10 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.

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

10 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...

10 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.

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

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

10 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

10 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.

10 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.

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

10 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.

10 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.

10 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>.

10 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.

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

10 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.

10 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/.

10 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.

10 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.

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

10 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.

10 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>
10 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!

11 years agoterminfo: parser for terminfo database files.
John Benediktsson [Fri, 26 Apr 2013 03:00:54 +0000 (20:00 -0700)]
terminfo: parser for terminfo database files.

11 years agolistener: choose dark foreground on light background.
John Benediktsson [Thu, 25 Apr 2013 23:18:11 +0000 (16:18 -0700)]
listener: choose dark foreground on light background.

11 years agotools.ps.linux: fix USE: tools.ps.
John Benediktsson [Thu, 25 Apr 2013 23:01:30 +0000 (16:01 -0700)]
tools.ps.linux: fix USE: tools.ps.

11 years agotools.ps.linux: fix USE: system.
John Benediktsson [Thu, 25 Apr 2013 22:59:25 +0000 (15:59 -0700)]
tools.ps.linux: fix USE: system.

11 years agoparser: add invalid-word-name, use it to check for redefining quotes.
John Benediktsson [Thu, 25 Apr 2013 22:41:20 +0000 (15:41 -0700)]
parser: add invalid-word-name, use it to check for redefining quotes.

11 years agomath.matrices.laplace: adding Laplace expansion.
John Benediktsson [Thu, 25 Apr 2013 22:04:16 +0000 (15:04 -0700)]
math.matrices.laplace: adding Laplace expansion.

11 years agomath.matrices: add tests for square-matrix?.
John Benediktsson [Thu, 25 Apr 2013 21:48:16 +0000 (14:48 -0700)]
math.matrices: add tests for square-matrix?.

11 years agorandom.rdrand: adding RDRAND random generator.
John Benediktsson [Thu, 25 Apr 2013 21:39:38 +0000 (14:39 -0700)]
random.rdrand: adding RDRAND random generator.

11 years agorandom.c: adding summary.
John Benediktsson [Thu, 25 Apr 2013 21:39:24 +0000 (14:39 -0700)]
random.c: adding summary.

11 years agoFix some copyrights, sorry "Your name".
John Benediktsson [Thu, 25 Apr 2013 20:26:36 +0000 (13:26 -0700)]
Fix some copyrights, sorry "Your name".

11 years agotools.ps: sort-by-pid and print headers.
John Benediktsson [Thu, 25 Apr 2013 17:05:57 +0000 (10:05 -0700)]
tools.ps: sort-by-pid and print headers.

11 years agotools.ps: implemented on macosx.
John Benediktsson [Thu, 25 Apr 2013 16:12:42 +0000 (09:12 -0700)]
tools.ps: implemented on macosx.

11 years agoclasses.struct: factoring struct-size out.
John Benediktsson [Thu, 25 Apr 2013 04:00:37 +0000 (21:00 -0700)]
classes.struct: factoring struct-size out.

11 years agohtml.parser.analyzer: fix help-lint errors.
John Benediktsson [Wed, 24 Apr 2013 20:39:16 +0000 (13:39 -0700)]
html.parser.analyzer: fix help-lint errors.

11 years agounix.linux.proc: /proc/cpuinfo is updated in real time and can change based on thrott...
Doug Coleman [Wed, 24 Apr 2013 20:38:09 +0000 (13:38 -0700)]
unix.linux.proc: /proc/cpuinfo is updated in real time and can change based on throttling options. Don't cache it.

11 years agoDocs moved to own file and ? instead of if.
bjourne@gmail.com [Wed, 24 Apr 2013 19:57:56 +0000 (21:57 +0200)]
Docs moved to own file and ? instead of if.

11 years agohtml.parser.analyzer: make find-between* work on nested tags.
bjourne@gmail.com [Wed, 24 Apr 2013 18:40:28 +0000 (20:40 +0200)]
html.parser.analyzer: make find-between* work on nested tags.

11 years agosystem-info.linux: Implement the system-report. word.
Doug Coleman [Wed, 24 Apr 2013 19:05:51 +0000 (12:05 -0700)]
system-info.linux: Implement the system-report. word.

11 years agomath.functions: implement ldexp.
John Benediktsson [Wed, 24 Apr 2013 18:19:03 +0000 (11:19 -0700)]
math.functions: implement ldexp.

11 years agocalendar.format: run dos2unix on calendar.format
Doug Coleman [Wed, 24 Apr 2013 15:22:33 +0000 (08:22 -0700)]
calendar.format: run dos2unix on calendar.format

11 years agocalendar.format: Fix timestamp parsing when there is no timezone. Fixes #861.
Doug Coleman [Wed, 24 Apr 2013 15:20:48 +0000 (08:20 -0700)]
calendar.format: Fix timestamp parsing when there is no timezone. Fixes #861.

11 years agosets.extras: few more words.
John Benediktsson [Wed, 24 Apr 2013 14:58:50 +0000 (07:58 -0700)]
sets.extras: few more words.

11 years agoUpdate version in GNUmakefile.
John Benediktsson [Wed, 24 Apr 2013 14:44:06 +0000 (07:44 -0700)]
Update version in GNUmakefile.

11 years agopreparing FUEL for MELPA
mcandre [Wed, 24 Apr 2013 13:27:02 +0000 (09:27 -0400)]
preparing FUEL for MELPA

11 years agomirrors: fix tests.
John Benediktsson [Tue, 23 Apr 2013 14:56:58 +0000 (07:56 -0700)]
mirrors: fix tests.

11 years agomirrors: fix assoc-size for non-tuple-classes.
John Benediktsson [Tue, 23 Apr 2013 14:55:03 +0000 (07:55 -0700)]
mirrors: fix assoc-size for non-tuple-classes.