]> gitweb.factorcode.org Git - factor.git/log
factor.git
11 years agosequences: define a single "?set-nth" that is used.
John Benediktsson [Wed, 20 Feb 2013 18:42:21 +0000 (10:42 -0800)]
sequences: define a single "?set-nth" that is used.

11 years agosequences: fix uses of set-nth-unsafe.
John Benediktsson [Wed, 20 Feb 2013 16:01:06 +0000 (08:01 -0800)]
sequences: fix uses of set-nth-unsafe.

11 years agosequences: normalize all the "?set-nth" words, probably this should be a stdlib thing.
John Benediktsson [Wed, 20 Feb 2013 00:52:40 +0000 (16:52 -0800)]
sequences: normalize all the "?set-nth" words, probably this should be a stdlib thing.

11 years agotimers: use typed to speedup 10%.
John Benediktsson [Tue, 19 Feb 2013 23:40:45 +0000 (15:40 -0800)]
timers: use typed to speedup 10%.

11 years agobenchmark.timers: adding a timer benchmark.
John Benediktsson [Tue, 19 Feb 2013 23:39:50 +0000 (15:39 -0800)]
benchmark.timers: adding a timer benchmark.

11 years agocolors: Inline >rgba methods.
Doug Coleman [Tue, 19 Feb 2013 18:09:29 +0000 (10:09 -0800)]
colors: Inline >rgba methods.

11 years agomaze: Refactor to use fry + replicate.
Doug Coleman [Thu, 14 Feb 2013 22:36:11 +0000 (14:36 -0800)]
maze: Refactor to use fry + replicate.

11 years agomath.statistics: adding z-score.
John Benediktsson [Thu, 7 Feb 2013 23:50:34 +0000 (15:50 -0800)]
math.statistics: adding z-score.

11 years agorosetta-code.top-rank: Use collect-by instead of defining it as group-by.
Doug Coleman [Tue, 5 Feb 2013 17:41:18 +0000 (09:41 -0800)]
rosetta-code.top-rank: Use collect-by instead of defining it as group-by.

11 years agomath.statistics: Add docs for collect-by and collect-index-by.
Doug Coleman [Tue, 5 Feb 2013 17:28:37 +0000 (09:28 -0800)]
math.statistics: Add docs for collect-by and collect-index-by.

11 years agoio.backend.unix: Nobody uses (refill), remove it.
Doug Coleman [Tue, 29 Jan 2013 00:34:36 +0000 (16:34 -0800)]
io.backend.unix: Nobody uses (refill), remove it.

11 years agodebugger.unix: Make this vocab unix only.
Doug Coleman [Fri, 1 Feb 2013 21:38:11 +0000 (13:38 -0800)]
debugger.unix: Make this vocab unix only.

11 years agodebugger.unix: Get the signal name from a signal object too.
Doug Coleman [Fri, 1 Feb 2013 19:35:05 +0000 (11:35 -0800)]
debugger.unix: Get the signal name from a signal object too.

11 years agounix.ffi: Add the man 2 signal() function call.
Doug Coleman [Fri, 1 Feb 2013 19:25:51 +0000 (11:25 -0800)]
unix.ffi: Add the man 2 signal() function call.

11 years agounix.linux.proc: Add a parser for some of the /proc and /proc/[PID]/ files.
Doug Coleman [Fri, 1 Feb 2013 19:23:00 +0000 (11:23 -0800)]
unix.linux.proc: Add a parser for some of the /proc and /proc/[PID]/ files.

11 years agotwitter: Update API url.
Doug Coleman [Fri, 1 Feb 2013 15:13:08 +0000 (07:13 -0800)]
twitter: Update API url.

11 years agomath.functions: adding "round-to".
John Benediktsson [Wed, 30 Jan 2013 17:41:21 +0000 (09:41 -0800)]
math.functions: adding "round-to".

11 years agocompiler.tree.propagation.known-words: retry this change, some issue with use vocabs.
John Benediktsson [Tue, 22 Jan 2013 15:09:49 +0000 (07:09 -0800)]
compiler.tree.propagation.known-words: retry this change, some issue with use vocabs.

11 years agoRevert "compiler.tree.propagation.known-words: adding known outputs for some words."
John Benediktsson [Tue, 22 Jan 2013 14:42:58 +0000 (06:42 -0800)]
Revert "compiler.tree.propagation.known-words: adding known outputs for some words."

This reverts commit 16d8e6555b9f82ec55bbb9f9e57ad638bae04b7c.

11 years agocompiler.tree.propagation.known-words: adding known outputs for some words.
John Benediktsson [Tue, 22 Jan 2013 04:28:17 +0000 (20:28 -0800)]
compiler.tree.propagation.known-words: adding known outputs for some words.

11 years agoio.streams.peek: use namespaces.
John Benediktsson [Tue, 22 Jan 2013 02:09:40 +0000 (18:09 -0800)]
io.streams.peek: use namespaces.

11 years agoio.streams.peek: Implement peek and peek1.
Doug Coleman [Mon, 21 Jan 2013 23:33:57 +0000 (15:33 -0800)]
io.streams.peek: Implement peek and peek1.

11 years agofactor.sh: Allow bootstrap on other branches for commands that don't pull from git.
Doug Coleman [Mon, 21 Jan 2013 21:17:01 +0000 (13:17 -0800)]
factor.sh: Allow bootstrap on other branches for commands that don't pull from git.

11 years agoui.backend.cocoa.views: add platforms.txt.
John Benediktsson [Wed, 16 Jan 2013 22:28:32 +0000 (14:28 -0800)]
ui.backend.cocoa.views: add platforms.txt.

11 years agoui.backend.cocoa.views: fix build error on older OSX versions.
John Benediktsson [Wed, 16 Jan 2013 18:46:39 +0000 (10:46 -0800)]
ui.backend.cocoa.views: fix build error on older OSX versions.

11 years agoX11, give same input as gtk when pressing shift, tab, alt..
Jon Harper [Tue, 30 Oct 2012 23:29:22 +0000 (00:29 +0100)]
X11, give same input as gtk when pressing shift, tab, alt..

11 years agoX11 XK_ISO_Left_Tab is shift tab
Jon Harper [Tue, 30 Oct 2012 23:02:06 +0000 (00:02 +0100)]
X11 XK_ISO_Left_Tab is shift tab

11 years agotools.which: cleanup code a little.
John Benediktsson [Fri, 11 Jan 2013 19:37:59 +0000 (11:37 -0800)]
tools.which: cleanup code a little.

11 years agotools.which: adding some docs and cleanup.
John Benediktsson [Fri, 11 Jan 2013 18:20:19 +0000 (10:20 -0800)]
tools.which: adding some docs and cleanup.

11 years agotools.deploy.windows.ico: Throw an error if the .ico is a unsupported
Doug Coleman [Tue, 8 Jan 2013 23:51:26 +0000 (15:51 -0800)]
tools.deploy.windows.ico: Throw an error if the .ico is a unsupported
format.

11 years agocompression.zlib: fix help-lint warning, add a bit to the article.
John Benediktsson [Tue, 8 Jan 2013 15:03:56 +0000 (07:03 -0800)]
compression.zlib: fix help-lint warning, add a bit to the article.

11 years agocompression.zlib: add basic documentation
Benjamin Pollack [Tue, 8 Jan 2013 01:33:19 +0000 (20:33 -0500)]
compression.zlib: add basic documentation

11 years agogoogle.search: these moved to classes.tuple.
John Benediktsson [Fri, 4 Jan 2013 17:12:41 +0000 (09:12 -0800)]
google.search: these moved to classes.tuple.

11 years agopeg: Qualify use of replace. Fix some spacing.
Doug Coleman [Fri, 4 Jan 2013 02:33:20 +0000 (18:33 -0800)]
peg: Qualify use of replace. Fix some spacing.

11 years agopeg.ebnf: fix usage of replace.
John Benediktsson [Fri, 4 Jan 2013 02:13:20 +0000 (18:13 -0800)]
peg.ebnf: fix usage of replace.

11 years agosequences: Add join-as, which takes an exemplar. Move split-subseq and replace from...
Doug Coleman [Fri, 4 Jan 2013 00:42:34 +0000 (16:42 -0800)]
sequences: Add join-as, which takes an exemplar. Move split-subseq and replace from unicode.case to splitting and fix an infinite loop with split-subseq. Add docs/tests.

11 years agounicode.case: fix stack effect for replace.
John Benediktsson [Thu, 3 Jan 2013 23:33:19 +0000 (15:33 -0800)]
unicode.case: fix stack effect for replace.

11 years agowebapps.mason: fix for new 2x logo.
John Benediktsson [Thu, 3 Jan 2013 19:32:06 +0000 (11:32 -0800)]
webapps.mason: fix for new 2x logo.

11 years agomath.vectors: Don't use macro with locals and cond in vif. Stack-checker/locals/macro...
Doug Coleman [Thu, 3 Jan 2013 17:45:57 +0000 (09:45 -0800)]
math.vectors: Don't use macro with locals and cond in vif. Stack-checker/locals/macros/smart-combinators all need some work (a rewrite?), but meanwhile don't let it get in the way. Add tests.

11 years agomath.vectors: Fix spacing.
Doug Coleman [Wed, 2 Jan 2013 07:10:00 +0000 (23:10 -0800)]
math.vectors: Fix spacing.

11 years agocompiler.tree.propagation.recursive: Generalizing intervals in the propagation pass...
Doug Coleman [Wed, 2 Jan 2013 02:47:23 +0000 (18:47 -0800)]
compiler.tree.propagation.recursive: Generalizing intervals in the propagation pass ignored types. Fixes #770.

11 years agocompiler.cfg.liveness: Break the infinite loop--add the base-pointer as f to start...
Doug Coleman [Tue, 1 Jan 2013 22:47:54 +0000 (14:47 -0800)]
compiler.cfg.liveness: Break the infinite loop--add the base-pointer as f to start with, and replace it with the real one if there's not a circular chain. Fixes #22 again.

11 years agocompiler.cfg.liveness: Add parallel-copy method for lookup-base-pointer*. Adjust...
Doug Coleman [Tue, 1 Jan 2013 22:16:51 +0000 (14:16 -0800)]
compiler.cfg.liveness: Add parallel-copy method for lookup-base-pointer*. Adjust lookup-base-pointer* stack effect to take two parameters. Still retain stack overflows, but more correct now...

11 years agobasis: Re-enable some things I commented out. Fixes #22. Thanks @ajvondrak!
Doug Coleman [Mon, 31 Dec 2012 19:44:28 +0000 (11:44 -0800)]
basis: Re-enable some things I commented out. Fixes #22. Thanks @ajvondrak!

11 years agocompiler.cfg.renaming.functor: fix ##parallel-copy methods
Alex Vondrak [Sun, 30 Dec 2012 02:33:25 +0000 (18:33 -0800)]
compiler.cfg.renaming.functor: fix ##parallel-copy methods

11 years agocompiler.cfg.ssa.destruction.leaders: break off leader-map to resolve circular depend...
Alex Vondrak [Mon, 31 Dec 2012 18:30:17 +0000 (10:30 -0800)]
compiler.cfg.ssa.destruction.leaders: break off leader-map to resolve circular dependencies (oops)

11 years agocompiler.cfg.liveness: still kill defs by leaders, but keep original
Alex Vondrak [Mon, 31 Dec 2012 16:30:03 +0000 (08:30 -0800)]
compiler.cfg.liveness: still kill defs by leaders, but keep original
vregs in the live-sets so accurate info (e.g., representations) can
still be looked up (issue #22)

11 years agocompiler.cfg.ssa.destruction: alien-call-insns are too hairy to coalesce (issue #22)
Alex Vondrak [Sat, 29 Dec 2012 19:15:12 +0000 (11:15 -0800)]
compiler.cfg.ssa.destruction: alien-call-insns are too hairy to coalesce (issue #22)

11 years agocompiler.cfg.liveness: look up leaders (if possible) so liveness analysis doesn't...
Alex Vondrak [Sat, 29 Dec 2012 18:59:25 +0000 (10:59 -0800)]
compiler.cfg.liveness: look up leaders (if possible) so liveness analysis doesn't break after leaving SSA (issue #22)

11 years agocompiler.cfg.parallel-copy: make sure new vregs used to break cycles in parallel...
Alex Vondrak [Fri, 28 Dec 2012 16:51:16 +0000 (08:51 -0800)]
compiler.cfg.parallel-copy: make sure new vregs used to break cycles in parallel-copy-rep update the leader-map (issue #22)

11 years agocompiler.cfg.ssa.interference.live-ranges: fix kill-indices for ##parallel-copy ...
Alex Vondrak [Fri, 28 Dec 2012 16:49:24 +0000 (08:49 -0800)]
compiler.cfg.ssa.interference.live-ranges: fix kill-indices for ##parallel-copy (issue #22)

11 years agocompiler.cfg.ssa.cssa: split the definitions of ##phis so live-ranges don't interfere...
Alex Vondrak [Tue, 25 Dec 2012 17:19:35 +0000 (09:19 -0800)]
compiler.cfg.ssa.cssa: split the definitions of ##phis so live-ranges don't interfere (issue #22)

See the explanation after the proof of Lemma 1 in "Revisiting Out-of-SSA
Translation for Correctness, Code Quality, and Efficiency" (Boissinot et
al.) for why this is necessary.

11 years agostarting point - Fix bootstrap; I broke it in merging. Disable environment variables...
Doug Coleman [Sun, 6 May 2012 19:06:59 +0000 (12:06 -0700)]
starting point - Fix bootstrap; I broke it in merging. Disable environment variables because the compiler isn't loaded yet and can't call C ffi functions, and tools.test loads this vocab.
Disable intrinsics in cpu.x86.64 for now, since they invoke the compiler
Fix ##branch renaming to ##branch,
To work on this branch:
./factor -include=math -i=boot.image
./factor -run=listener
USE: compiler USE: tools.test save
enable-optimizer

Error message is now:
T{ vregs-shouldn't-interfere f 409 424 }

11 years agoWIP
Slava Pestov [Mon, 17 Jan 2011 23:16:17 +0000 (15:16 -0800)]
WIP

11 years agorandom: Add poisson-random-float.
Doug Coleman [Fri, 7 Dec 2012 17:29:48 +0000 (09:29 -0800)]
random: Add poisson-random-float.

11 years agoui.gadgets.editors: fix stack effect of change-caret quotation.
John Benediktsson [Sat, 29 Dec 2012 01:01:32 +0000 (17:01 -0800)]
ui.gadgets.editors: fix stack effect of change-caret quotation.

11 years agoxml.traversal: adding deep-children>string.
John Benediktsson [Mon, 17 Dec 2012 19:58:30 +0000 (11:58 -0800)]
xml.traversal: adding deep-children>string.

11 years agoui.baseline-alignment: fix float shift on retina.
John Benediktsson [Mon, 17 Dec 2012 19:43:05 +0000 (11:43 -0800)]
ui.baseline-alignment: fix float shift on retina.

11 years agohelp.pdf: add some more help pdfs.
John Benediktsson [Mon, 17 Dec 2012 01:10:02 +0000 (17:10 -0800)]
help.pdf: add some more help pdfs.

11 years agoui.text.core-text: fix jumping "def".
John Benediktsson [Tue, 11 Dec 2012 16:06:02 +0000 (08:06 -0800)]
ui.text.core-text: fix jumping "def".

11 years agomachine-learning: Add transform protocol. Add label-encoder, label-binarizer.
Doug Coleman [Tue, 4 Dec 2012 19:43:48 +0000 (11:43 -0800)]
machine-learning: Add transform protocol. Add label-encoder, label-binarizer.

11 years agomachine-learning.data-sets: cleanup a little.
John Benediktsson [Tue, 4 Dec 2012 18:29:11 +0000 (10:29 -0800)]
machine-learning.data-sets: cleanup a little.

11 years agomachine-learning.data-sets: adding the linnerud dataset.
John Benediktsson [Tue, 4 Dec 2012 18:21:04 +0000 (10:21 -0800)]
machine-learning.data-sets: adding the linnerud dataset.

11 years agomachine-learning.data-sets: load commonly used test data sets.
John Benediktsson [Tue, 4 Dec 2012 18:00:02 +0000 (10:00 -0800)]
machine-learning.data-sets: load commonly used test data sets.

11 years agomath.extras: return new arrays to protect users from others.
John Benediktsson [Tue, 4 Dec 2012 17:06:30 +0000 (09:06 -0800)]
math.extras: return new arrays to protect users from others.

11 years agomath.statistics: just use accumulate for now.
John Benediktsson [Tue, 4 Dec 2012 16:56:21 +0000 (08:56 -0800)]
math.statistics: just use accumulate for now.

11 years agomisc/icons: renaming to old convention, adding 48x48.
John Benediktsson [Sat, 1 Dec 2012 17:30:33 +0000 (09:30 -0800)]
misc/icons: renaming to old convention, adding 48x48.

11 years agoio.files: fix testcase for renamed icon file.
John Benediktsson [Sat, 1 Dec 2012 02:27:36 +0000 (18:27 -0800)]
io.files: fix testcase for renamed icon file.

11 years agowebapps.mason.version.data: Already inside a transaction, don't make another.
Mighty Sheeple [Fri, 30 Nov 2012 23:52:30 +0000 (18:52 -0500)]
webapps.mason.version.data: Already inside a transaction, don't make another.

11 years agowebsites.factorcode: higher resolution logo for retina.
John Benediktsson [Fri, 30 Nov 2012 23:38:23 +0000 (15:38 -0800)]
websites.factorcode: higher resolution logo for retina.

11 years agoNew icons for Factor.
John Benediktsson [Fri, 30 Nov 2012 23:26:21 +0000 (15:26 -0800)]
New icons for Factor.

11 years agoRevert "ui.backend.cocoa.views: make compatible with 10.6."
John Benediktsson [Fri, 30 Nov 2012 02:43:19 +0000 (18:43 -0800)]
Revert "ui.backend.cocoa.views: make compatible with 10.6."

This reverts commit 7f6f742fc3f2c295d18dbca1f8cba42cc22f58d0.

11 years agomachine-learning: Add stratified-samples for getting multiple samples.
Doug Coleman [Wed, 28 Nov 2012 17:13:16 +0000 (09:13 -0800)]
machine-learning: Add stratified-samples for getting multiple samples.

11 years agobasis: Try to fix the build. My profiler is hanging, but I can't figure out why....
Doug Coleman [Tue, 27 Nov 2012 18:47:05 +0000 (12:47 -0600)]
basis: Try to fix the build. My profiler is hanging, but I can't figure out why. See if the build farm has the same is
sue.

11 years agoui.backend.cocoa.views: make compatible with 10.6.
John Benediktsson [Mon, 26 Nov 2012 22:48:42 +0000 (14:48 -0800)]
ui.backend.cocoa.views: make compatible with 10.6.

11 years agowinapi window resize
Jon Harper [Mon, 26 Nov 2012 22:11:48 +0000 (23:11 +0100)]
winapi window resize

11 years agoOSX window resize
Jon Harper [Sun, 25 Nov 2012 22:21:24 +0000 (23:21 +0100)]
OSX window resize

11 years agoX11 window resize
Jon Harper [Sun, 28 Oct 2012 22:49:51 +0000 (23:49 +0100)]
X11 window resize

11 years agoAdd resize-window and relayout-window
Jon Harper [Sat, 8 Sep 2012 12:33:22 +0000 (14:33 +0200)]
Add resize-window and relayout-window

11 years agomachine-learning.rebalancing: Don't use a distribution for equal rebalancing.
Doug Coleman [Sat, 17 Nov 2012 20:52:55 +0000 (12:52 -0800)]
machine-learning.rebalancing: Don't use a distribution for equal rebalancing.

11 years agomachine-learning.rebalancing: Add a way to rebalance an X,y dataset to N samples...
Doug Coleman [Sat, 17 Nov 2012 20:38:52 +0000 (12:38 -0800)]
machine-learning.rebalancing: Add a way to rebalance an X,y dataset to N samples with an equal or skewed distribution.

11 years agomath.statistics: Add a variant of histogram that can see the sequence index.
Doug Coleman [Sat, 17 Nov 2012 20:38:12 +0000 (12:38 -0800)]
math.statistics: Add a variant of histogram that can see the sequence index.

11 years agomath.statistics: Add back std as sample-std.
Doug Coleman [Thu, 15 Nov 2012 16:27:41 +0000 (08:27 -0800)]
math.statistics: Add back std as sample-std.

11 years agoarrays.shaped: First stab at an n-dimensional array class.
Doug Coleman [Thu, 15 Nov 2012 06:42:45 +0000 (22:42 -0800)]
arrays.shaped: First stab at an n-dimensional array class.

11 years agomath.statistics: Make you think about which std you want--population or sample. Hopef...
Doug Coleman [Mon, 5 Nov 2012 22:40:14 +0000 (14:40 -0800)]
math.statistics: Make you think about which std you want--population or sample. Hopefully use the right words everywhere.

11 years agomath.statistics: Rename full-* to population-*. Full, while somewhat descriptive...
Doug Coleman [Mon, 5 Nov 2012 16:43:46 +0000 (08:43 -0800)]
math.statistics: Rename full-* to population-*. Full, while somewhat descriptive of using the entire dataset, is not a technical term, while population is used in Mathematica and stats books.

11 years agomath.matrices: Add m+n, m-n, n+m, n-m, words.
Doug Coleman [Mon, 5 Nov 2012 16:42:50 +0000 (08:42 -0800)]
math.matrices: Add m+n, m-n, n+m, n-m, words.

11 years agomath.extras: adding unique-indices.
John Benediktsson [Thu, 8 Nov 2012 01:05:06 +0000 (17:05 -0800)]
math.extras: adding unique-indices.

11 years agosequences.extras: adding flatten1.
John Benediktsson [Thu, 8 Nov 2012 01:02:22 +0000 (17:02 -0800)]
sequences.extras: adding flatten1.

11 years agoassocs.extras: adding assoc-invert.
John Benediktsson [Thu, 8 Nov 2012 01:01:37 +0000 (17:01 -0800)]
assocs.extras: adding assoc-invert.

11 years agomath.statistics: rename full-* to population-*.
John Benediktsson [Tue, 6 Nov 2012 15:16:20 +0000 (07:16 -0800)]
math.statistics: rename full-* to population-*.

11 years agoopengl: properly scale viewports.
John Benediktsson [Fri, 2 Nov 2012 00:12:13 +0000 (17:12 -0700)]
opengl: properly scale viewports.

11 years agoui.backend.cocoa.views: only set gl-scale-factor if > 1.0.
John Benediktsson [Thu, 1 Nov 2012 23:59:45 +0000 (16:59 -0700)]
ui.backend.cocoa.views: only set gl-scale-factor if > 1.0.

11 years agoimages: don't truncate in image-dim.
John Benediktsson [Thu, 1 Nov 2012 23:48:44 +0000 (16:48 -0700)]
images: don't truncate in image-dim.

11 years agoopengl: make sure to reset the scale factor at startup.
John Benediktsson [Thu, 1 Nov 2012 23:46:56 +0000 (16:46 -0700)]
opengl: make sure to reset the scale factor at startup.

11 years agocore-text: better check.
John Benediktsson [Thu, 1 Nov 2012 23:43:26 +0000 (16:43 -0700)]
core-text: better check.

11 years agocap: make screenshots work on retina.
John Benediktsson [Thu, 1 Nov 2012 23:30:20 +0000 (16:30 -0700)]
cap: make screenshots work on retina.

11 years agocore-text: retina displays should use "2x" fonts.
John Benediktsson [Thu, 1 Nov 2012 23:28:33 +0000 (16:28 -0700)]
core-text: retina displays should use "2x" fonts.

11 years agoopengl.textures: render 2x images.
John Benediktsson [Thu, 1 Nov 2012 23:14:55 +0000 (16:14 -0700)]
opengl.textures: render 2x images.

11 years agoimages: adding "2x" images.
John Benediktsson [Thu, 1 Nov 2012 23:11:55 +0000 (16:11 -0700)]
images: adding "2x" images.