]> gitweb.factorcode.org Git - factor.git/log
factor.git
9 years agoformatting: support space prefix for numbers.
John Benediktsson [Sat, 18 Apr 2015 00:50:00 +0000 (17:50 -0700)]
formatting: support space prefix for numbers.

9 years agomime.multipart: use header, some cleanup.
John Benediktsson [Sat, 18 Apr 2015 00:41:56 +0000 (17:41 -0700)]
mime.multipart: use header, some cleanup.

9 years agobackticks: adding backtick syntax experiment.
John Benediktsson [Sat, 18 Apr 2015 00:40:12 +0000 (17:40 -0700)]
backticks: adding backtick syntax experiment.

9 years agorosetta-code.dice7: adding some docs for the problem being solved.
John Benediktsson [Fri, 17 Apr 2015 01:34:59 +0000 (18:34 -0700)]
rosetta-code.dice7: adding some docs for the problem being solved.

9 years agorosetta-code.dice7: some cleanup from @erg.
John Benediktsson [Sun, 12 Apr 2015 01:30:07 +0000 (18:30 -0700)]
rosetta-code.dice7: some cleanup from @erg.

9 years agorosetta-code.dice7: moving to proper location, dos2unix.
John Benediktsson [Sun, 12 Apr 2015 01:23:20 +0000 (18:23 -0700)]
rosetta-code.dice7: moving to proper location, dos2unix.

9 years agoAdd 'dice7' implementation for RosettaCode.org.
Alexander Iljin [Tue, 7 Apr 2015 13:48:55 +0000 (20:48 +0700)]
Add 'dice7' implementation for RosettaCode.org.

http://rosettacode.org/wiki/Seven-sided_dice_from_five-sided_dice#Factor
http://rosettacode.org/wiki/Verify_distribution_uniformity/Naive#Factor

9 years agoenglish: words for working with english language text.
John Benediktsson [Sat, 11 Apr 2015 17:06:00 +0000 (10:06 -0700)]
english: words for working with english language text.

9 years agoopengl.capabilities: Make it more explicit that you should put the
Doug Coleman [Thu, 9 Apr 2015 20:05:20 +0000 (15:05 -0500)]
opengl.capabilities: Make it more explicit that you should put the
directory that contains opengl not the library name itself.

9 years agotext-to-speech: enable use from command-line.
John Benediktsson [Thu, 9 Apr 2015 17:44:18 +0000 (10:44 -0700)]
text-to-speech: enable use from command-line.

9 years agocurl: enable use from command-line.
John Benediktsson [Thu, 9 Apr 2015 17:44:03 +0000 (10:44 -0700)]
curl: enable use from command-line.

9 years agobrainfuck: enable use from command-line.
John Benediktsson [Thu, 9 Apr 2015 17:43:54 +0000 (10:43 -0700)]
brainfuck: enable use from command-line.

9 years agotools.ps: enable use from command-line.
John Benediktsson [Thu, 9 Apr 2015 17:43:43 +0000 (10:43 -0700)]
tools.ps: enable use from command-line.

9 years agotools.hexdump: enable use from command-line.
John Benediktsson [Thu, 9 Apr 2015 17:43:20 +0000 (10:43 -0700)]
tools.hexdump: enable use from command-line.

9 years agomath.extras: change kelly criterion tests to use ratios.
John Benediktsson [Thu, 2 Apr 2015 15:03:49 +0000 (08:03 -0700)]
math.extras: change kelly criterion tests to use ratios.

9 years agomath.extras: adding the Kelly criterion.
John Benediktsson [Thu, 2 Apr 2015 04:34:54 +0000 (21:34 -0700)]
math.extras: adding the Kelly criterion.

9 years agoeditors.emacs: fix doc typo.
John Benediktsson [Wed, 1 Apr 2015 22:56:43 +0000 (15:56 -0700)]
editors.emacs: fix doc typo.

9 years agoio.launcher.windows tests: Use unique-file instead of temp-file. Fixes
Doug Coleman [Wed, 1 Apr 2015 22:42:54 +0000 (15:42 -0700)]
io.launcher.windows tests: Use unique-file instead of temp-file. Fixes

9 years agoFactor.app: update copyright.
John Benediktsson [Wed, 1 Apr 2015 21:59:23 +0000 (14:59 -0700)]
Factor.app: update copyright.

9 years agorobohash: adding a robot-based hashing tool.
John Benediktsson [Wed, 1 Apr 2015 21:56:23 +0000 (14:56 -0700)]
robohash: adding a robot-based hashing tool.

9 years agotools.echo: adding "echo" tool.
John Benediktsson [Wed, 1 Apr 2015 21:51:32 +0000 (14:51 -0700)]
tools.echo: adding "echo" tool.

9 years agotools.grep: adding "grep" tool.
John Benediktsson [Wed, 1 Apr 2015 21:41:41 +0000 (14:41 -0700)]
tools.grep: adding "grep" tool.

9 years agotools.uniq: adding "uniq" tool.
John Benediktsson [Wed, 1 Apr 2015 21:37:53 +0000 (14:37 -0700)]
tools.uniq: adding "uniq" tool.

9 years agotools.tree: adding "tree" tool.
John Benediktsson [Wed, 1 Apr 2015 21:37:39 +0000 (14:37 -0700)]
tools.tree: adding "tree" tool.

9 years agotools.seq: adding "seq" tool.
John Benediktsson [Wed, 1 Apr 2015 21:37:00 +0000 (14:37 -0700)]
tools.seq: adding "seq" tool.

9 years agotools.move: adding "move" tool.
John Benediktsson [Wed, 1 Apr 2015 21:31:02 +0000 (14:31 -0700)]
tools.move: adding "move" tool.

9 years agotools.copy: adding "copy" tool.
John Benediktsson [Wed, 1 Apr 2015 21:30:49 +0000 (14:30 -0700)]
tools.copy: adding "copy" tool.

9 years agotools.cat: adding "cat" tool.
John Benediktsson [Wed, 1 Apr 2015 21:26:22 +0000 (14:26 -0700)]
tools.cat: adding "cat" tool.

9 years agotools.which: enable use from command-line.
John Benediktsson [Wed, 1 Apr 2015 21:22:11 +0000 (14:22 -0700)]
tools.which: enable use from command-line.

9 years agotools.dns: enable use from command-line.
John Benediktsson [Wed, 1 Apr 2015 21:18:31 +0000 (14:18 -0700)]
tools.dns: enable use from command-line.

9 years agometar: adding METAR and TAF weather parsers.
John Benediktsson [Wed, 1 Apr 2015 21:07:40 +0000 (14:07 -0700)]
metar: adding METAR and TAF weather parsers.

9 years agotext-to-speech: simple cross-platform text-to-speech.
John Benediktsson [Wed, 1 Apr 2015 21:05:55 +0000 (14:05 -0700)]
text-to-speech: simple cross-platform text-to-speech.

9 years agotext-to-pdf: simple text to pdf utility
John Benediktsson [Wed, 1 Apr 2015 21:05:01 +0000 (14:05 -0700)]
text-to-pdf: simple text to pdf utility

9 years agopicomath: implementation of picomath.org small math words.
John Benediktsson [Wed, 1 Apr 2015 21:03:53 +0000 (14:03 -0700)]
picomath: implementation of picomath.org small math words.

9 years agoflip-text: fun with text flipping.
John Benediktsson [Wed, 1 Apr 2015 21:03:09 +0000 (14:03 -0700)]
flip-text: fun with text flipping.

9 years agoenigma: implementation of Enigma cipher machine.
John Benediktsson [Wed, 1 Apr 2015 20:57:25 +0000 (13:57 -0700)]
enigma: implementation of Enigma cipher machine.

9 years agocolors.flex-hex: implementation of "flex hex" color algorithm.
John Benediktsson [Wed, 1 Apr 2015 20:55:39 +0000 (13:55 -0700)]
colors.flex-hex: implementation of "flex hex" color algorithm.

9 years agoforestdb.ffi: Update for latest ffi changes.
Doug Coleman [Fri, 27 Mar 2015 20:32:48 +0000 (13:32 -0700)]
forestdb.ffi: Update for latest ffi changes.

9 years agohttp.parsers: parse a "simple request".
John Benediktsson [Thu, 12 Mar 2015 00:48:03 +0000 (17:48 -0700)]
http.parsers: parse a "simple request".

9 years agogrowable: Multiply growable size by 2 instead of 3 when growing.
Doug Coleman [Wed, 11 Mar 2015 23:53:20 +0000 (16:53 -0700)]
growable: Multiply growable size by 2 instead of 3 when growing.
http://stackoverflow.com/questions/1100311/what-is-the-ideal-growth-rate-for-a-dynamically-allocated-array
Fixes #1284.

9 years agogobject.ffi: fix windows dll name.
John Benediktsson [Sun, 8 Mar 2015 15:51:53 +0000 (08:51 -0700)]
gobject.ffi: fix windows dll name.

9 years agowebsites.factorcode: fix <br> so maybe our string>xml example works.
John Benediktsson [Tue, 3 Mar 2015 15:12:22 +0000 (07:12 -0800)]
websites.factorcode: fix <br> so maybe our string>xml example works.

9 years agoxml.writer: adding a test for pprint-xml fix.
John Benediktsson [Sun, 1 Mar 2015 00:40:13 +0000 (16:40 -0800)]
xml.writer: adding a test for pprint-xml fix.

9 years agoxml.data: fix issue with empty tags not being printed use shortened <tag/> format.
John Benediktsson [Sun, 1 Mar 2015 00:00:00 +0000 (16:00 -0800)]
xml.data: fix issue with empty tags not being printed use shortened <tag/> format.

9 years agoxml.data: adding tests for tags assoc protocol.
John Benediktsson [Sat, 28 Feb 2015 23:37:06 +0000 (15:37 -0800)]
xml.data: adding tests for tags assoc protocol.

9 years agoxml.data: make tags support assoc protocol as documented.
John Benediktsson [Sat, 28 Feb 2015 23:34:24 +0000 (15:34 -0800)]
xml.data: make tags support assoc protocol as documented.

9 years agoVM: new function visit_object to replace trace_object
Björn Lindqvist [Sat, 28 Feb 2015 20:43:48 +0000 (20:43 +0000)]
VM: new function visit_object to replace trace_object

9 years agoVM: refactoring to remove redundancy in retainstack|datastack_to_array
Björn Lindqvist [Sat, 28 Feb 2015 19:41:32 +0000 (19:41 +0000)]
VM: refactoring to remove redundancy in retainstack|datastack_to_array

9 years agoVM: cleanup of some infrequently used functions that can be replaced with direct...
Björn Lindqvist [Mon, 23 Feb 2015 16:11:09 +0000 (16:11 +0000)]
VM: cleanup of some infrequently used functions that can be replaced with direct code

also replacing some bitshifts with easier to understand multiplies and
divides, they are equally fast nowadays

9 years agoVM: splits out the little ugly scan_next-object + goto-loop into a function trace_card()
Björn Lindqvist [Mon, 23 Feb 2015 13:40:48 +0000 (13:40 +0000)]
VM: splits out the little ugly scan_next-object + goto-loop into a function trace_card()

9 years agoVM: simplification of the trace_partial_objects function
Björn Lindqvist [Sun, 22 Feb 2015 18:38:05 +0000 (18:38 +0000)]
VM: simplification of the trace_partial_objects function

9 years agoVM: the unmarker classes are not needed, easier to just send the unmask pattern to...
Björn Lindqvist [Sat, 21 Feb 2015 13:08:40 +0000 (13:08 +0000)]
VM: the unmarker classes are not needed, easier to just send the unmask pattern to the trace_cards function directly

9 years agoVM: new function visit_mark_stack() to factor out the mark stack iteration
Björn Lindqvist [Thu, 19 Feb 2015 13:43:54 +0000 (13:43 +0000)]
VM: new function visit_mark_stack() to factor out the mark stack iteration

9 years agoVM: it's confusing that slot_visitors are called "workhorse" sometimes, let's standar...
Björn Lindqvist [Thu, 19 Feb 2015 04:51:45 +0000 (04:51 +0000)]
VM: it's confusing that slot_visitors are called "workhorse" sometimes, let's standardize the name "visitor"

9 years agoVM: visit_roots and visit_contexts where always called in tandem, make a new method...
Björn Lindqvist [Thu, 19 Feb 2015 04:43:53 +0000 (04:43 +0000)]
VM: visit_roots and visit_contexts where always called in tandem, make a new method visit_all_roots that calls them both

9 years agoAdding help for <model-field> and <action-field>.
Mark Green [Sat, 21 Feb 2015 20:45:01 +0000 (20:45 +0000)]
Adding help for <model-field> and <action-field>.

9 years agoimages.tiff: Fix partial refactor rollback and offeset typo.
Doug Coleman [Sat, 14 Feb 2015 04:53:36 +0000 (20:53 -0800)]
images.tiff: Fix partial refactor rollback and offeset typo.

9 years agoimages.tiff: Fix infinite loop bug exposed by AFL test suite. IDFs are found at certa...
Doug Coleman [Fri, 13 Feb 2015 22:58:18 +0000 (14:58 -0800)]
images.tiff: Fix infinite loop bug exposed by AFL test suite. IDFs are found at certain offsets, then the next offset is after the IDF. If a next-offset is its own previous offset, then it would loop. Now we record the offset and stop if it would loop.

9 years agoalien.libraries: Cannot include alien.libraries.finder here for docs.
Doug Coleman [Fri, 13 Feb 2015 19:31:56 +0000 (11:31 -0800)]
alien.libraries: Cannot include alien.libraries.finder here for docs.

9 years agoExplicitly reference find-library in alien docs
Benjamin Pollack [Wed, 11 Feb 2015 12:21:50 +0000 (07:21 -0500)]
Explicitly reference find-library in alien docs

Factor 0.98 added a great find-library library, but unless you already know it
exists, you're probably not going to discover it.  This attempts to help with
that by adding a few cross-references with the add-library word and the main
alien article.

9 years agoFix typo in hash-set documentation
Benjamin Pollack [Wed, 11 Feb 2015 01:30:40 +0000 (20:30 -0500)]
Fix typo in hash-set documentation

9 years agoopencl: remove <size_t> (use size_t <ref> instead).
John Benediktsson [Sun, 8 Feb 2015 23:45:42 +0000 (15:45 -0800)]
opencl: remove <size_t> (use size_t <ref> instead).

9 years agoforestdb.ffi: Update ffi.
Doug Coleman [Tue, 10 Feb 2015 22:52:33 +0000 (14:52 -0800)]
forestdb.ffi: Update ffi.

9 years agoforestdb: Embrace the forestdb handle vs kvs handle idiom. Update tests.
Doug Coleman [Tue, 10 Feb 2015 22:21:21 +0000 (14:21 -0800)]
forestdb: Embrace the forestdb handle vs kvs handle idiom. Update tests.

9 years agostack-checker.state: Fix error in docs. Tweak doc grammar.
Doug Coleman [Thu, 5 Feb 2015 21:49:14 +0000 (13:49 -0800)]
stack-checker.state: Fix error in docs. Tweak doc grammar.

9 years agobootstrap.image.upload: Use pscp on Windows for uploading boot images
Doug Coleman [Thu, 5 Feb 2015 21:43:49 +0000 (13:43 -0800)]
bootstrap.image.upload: Use pscp on Windows for uploading boot images
since c:\ paths are treated as hostnames and the command fails.

9 years agostack-checker: minor help-lint fixes.
John Benediktsson [Thu, 5 Feb 2015 15:22:15 +0000 (07:22 -0800)]
stack-checker: minor help-lint fixes.

9 years agocompiler.tree.*: more compiler tree docs 1280/head
Björn Lindqvist [Thu, 5 Feb 2015 10:49:39 +0000 (10:49 +0000)]
compiler.tree.*: more compiler tree docs

9 years agostack-checker.*: misc doc additions
Björn Lindqvist [Thu, 5 Feb 2015 10:36:44 +0000 (10:36 +0000)]
stack-checker.*: misc doc additions

9 years agostack-checker.known-words: docs and tests
Björn Lindqvist [Thu, 5 Feb 2015 10:35:35 +0000 (10:35 +0000)]
stack-checker.known-words: docs and tests

9 years agostack-checker.values: docs and tests
Björn Lindqvist [Thu, 5 Feb 2015 10:21:07 +0000 (10:21 +0000)]
stack-checker.values: docs and tests

9 years agostack-checker.state: docs and tests
Björn Lindqvist [Thu, 5 Feb 2015 10:07:35 +0000 (10:07 +0000)]
stack-checker.state: docs and tests

9 years agostack-checker.backend: docs and tests
Björn Lindqvist [Thu, 5 Feb 2015 09:58:36 +0000 (09:58 +0000)]
stack-checker.backend: docs and  tests

9 years agoMake fuel more discoverable when browsing Factor help
Benjamin Pollack [Tue, 3 Feb 2015 23:00:20 +0000 (18:00 -0500)]
Make fuel more discoverable when browsing Factor help

9 years agoAdd more documentation to sequences.extras 1277/head
Benjamin Pollack [Tue, 3 Feb 2015 01:11:30 +0000 (20:11 -0500)]
Add more documentation to sequences.extras

9 years agotools.gc-decode: Remove duplicate line/dumb fix, maybe it was bootstrapping that...
Doug Coleman [Sat, 31 Jan 2015 23:11:57 +0000 (15:11 -0800)]
tools.gc-decode: Remove duplicate line/dumb fix, maybe it was bootstrapping that actually
 fixed it.

9 years agoFix some minor errors in help-lint.
John Benediktsson [Fri, 30 Jan 2015 21:34:37 +0000 (13:34 -0800)]
Fix some minor errors in help-lint.

9 years agoAdd more documentation for math.statistics
Benjamin Pollack [Fri, 30 Jan 2015 13:20:50 +0000 (08:20 -0500)]
Add more documentation for math.statistics

9 years agoAdd more documentation for sequences.extras
Benjamin Pollack [Fri, 30 Jan 2015 12:50:43 +0000 (07:50 -0500)]
Add more documentation for sequences.extras

9 years agogc-decode: Fix test for win64.
Doug Coleman [Fri, 30 Jan 2015 23:50:53 +0000 (15:50 -0800)]
gc-decode: Fix test for win64.

9 years agoui: cleanup some using lists.
John Benediktsson [Thu, 29 Jan 2015 19:41:18 +0000 (11:41 -0800)]
ui: cleanup some using lists.

9 years agoVM: better error message in case factor_vm::store_external_address fails 1274/head
Björn Lindqvist [Wed, 28 Jan 2015 14:40:12 +0000 (14:40 +0000)]
VM: better error message in case factor_vm::store_external_address fails

9 years agoVM: fix the debug printing so that instead of always printing to std::cout, you suppl...
Björn Lindqvist [Wed, 28 Jan 2015 13:27:20 +0000 (13:27 +0000)]
VM: fix the debug printing so that instead of always printing to std::cout, you supply the stream to print to

9 years agotools.gc-decode.tests: make test case work on 32 bit
Björn Lindqvist [Wed, 28 Jan 2015 08:38:12 +0000 (08:38 +0000)]
tools.gc-decode.tests: make test case work on 32 bit

9 years agoforestdb.lib: Forestdb currently doesn't compile on Windows x86.
Doug Coleman [Sat, 24 Jan 2015 03:43:47 +0000 (19:43 -0800)]
forestdb.lib: Forestdb currently doesn't compile on Windows x86.
https://groups.google.com/forum/#!topic/forestdb/V9dwLOLCyCg

9 years agocompiler.tests.optimizer: Re-enable the minor-gc test case that was
Doug Coleman [Thu, 22 Jan 2015 21:03:28 +0000 (13:03 -0800)]
compiler.tests.optimizer: Re-enable the minor-gc test case that was
failing until bjourne's latest commits.

9 years agocompiler.cfg.stacks.clearing: Fix help-lint-all.
Doug Coleman [Thu, 22 Jan 2015 20:30:49 +0000 (12:30 -0800)]
compiler.cfg.stacks.clearing: Fix help-lint-all.

9 years agocompiler.cfg.stacks.*: more docs
Björn Lindqvist [Mon, 19 Jan 2015 13:08:37 +0000 (13:08 +0000)]
compiler.cfg.stacks.*: more docs

9 years agocompiler.cfg.stacks.*: updated tests to match
Björn Lindqvist [Mon, 19 Jan 2015 10:09:46 +0000 (10:09 +0000)]
compiler.cfg.stacks.*: updated tests to match

9 years agocompiler.cfg.stacks.*: use insn# as the key in the stack-record instead of the insn...
Björn Lindqvist [Mon, 19 Jan 2015 10:08:06 +0000 (10:08 +0000)]
compiler.cfg.stacks.*: use insn# as the key in the stack-record instead of the insn tuple itself

9 years agocompiler.cfg.stacks.*: many new and fixed tests
Björn Lindqvist [Thu, 1 Jan 2015 15:14:14 +0000 (16:14 +0100)]
compiler.cfg.stacks.*: many new and fixed tests

9 years agocompiler.cfg.stacks.*: vacant-peek checking readded
Björn Lindqvist [Thu, 1 Jan 2015 15:13:47 +0000 (16:13 +0100)]
compiler.cfg.stacks.*: vacant-peek checking readded

9 years agocompiler.cfg.*: new step in finalization: clear-uninitialized
Björn Lindqvist [Thu, 1 Jan 2015 10:12:58 +0000 (11:12 +0100)]
compiler.cfg.*: new step in finalization: clear-uninitialized

this step is supposed to analyze the cfg, find where there are peeks
that can cause stack underflow, and insert replace-imm instructions so
that there are no uninitialized stack locations if they do. could fix #1187

9 years agocompiler.cfg.stacks.map: new vocab for creating an assoc that contains the stack...
Björn Lindqvist [Wed, 31 Dec 2014 22:27:59 +0000 (23:27 +0100)]
compiler.cfg.stacks.map: new vocab for creating an assoc that contains the stack state for each instruction in a cfg

9 years agocompiler.cfg.*: detached the normalize-height and schedule-instructions passes
Björn Lindqvist [Wed, 31 Dec 2014 20:51:15 +0000 (21:51 +0100)]
compiler.cfg.*: detached the normalize-height and schedule-instructions passes

those stages cause uninitialized "holes" in the stacks which in turn
causes gc errors if stack underflows occur

9 years agocore-foundation.run-loop: make sure to reset when switching between UI and NO_UI.
John Benediktsson [Sun, 18 Jan 2015 00:40:21 +0000 (16:40 -0800)]
core-foundation.run-loop: make sure to reset when switching between UI and NO_UI.

9 years agoui.backend.cocoa: fix reset of thread-timer.
John Benediktsson [Sat, 17 Jan 2015 23:58:57 +0000 (15:58 -0800)]
ui.backend.cocoa: fix reset of thread-timer.

9 years agocombinators: fix broken optimization that made floats work for integer keys.
John Benediktsson [Sat, 17 Jan 2015 23:46:04 +0000 (15:46 -0800)]
combinators: fix broken optimization that made floats work for integer keys.

9 years agocore-foundation.run-loop: cleanup timer-thread code.
John Benediktsson [Sat, 17 Jan 2015 22:16:24 +0000 (14:16 -0800)]
core-foundation.run-loop: cleanup timer-thread code.

9 years agocompiler: Fix help-lint for @bjourne's recent awesome docs.
Doug Coleman [Sat, 17 Jan 2015 22:02:59 +0000 (14:02 -0800)]
compiler: Fix help-lint for @bjourne's recent awesome docs.