]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 years agobase64: simplify (encode-base64).
John Benediktsson [Thu, 16 Jul 2015 14:30:58 +0000 (07:30 -0700)]
base64: simplify (encode-base64).

8 years agomason.release.archive: not sure which directory we are in for release
Doug Coleman [Thu, 16 Jul 2015 07:55:28 +0000 (00:55 -0700)]
mason.release.archive: not sure which directory we are in for release

8 years agobase64: big speedup and cleanup.
John Benediktsson [Thu, 16 Jul 2015 05:34:15 +0000 (22:34 -0700)]
base64: big speedup and cleanup.

8 years agobase64: include alphabet-inverse in compilation unit
Doug Coleman [Thu, 16 Jul 2015 03:17:52 +0000 (20:17 -0700)]
base64: include alphabet-inverse in compilation unit

8 years agobase85: same as base64 patch.
Doug Coleman [Thu, 16 Jul 2015 03:04:19 +0000 (20:04 -0700)]
base85: same as base64 patch.

8 years agobase64: Fix load error. $[ and ${ run at parse-time currently, so they can't call...
Doug Coleman [Thu, 16 Jul 2015 03:03:26 +0000 (20:03 -0700)]
base64: Fix load error. $[ and ${ run at parse-time currently, so they can't call words that haven't been compiled yet.

8 years agobase85: use literals to compute the inverse array instead of hardcoding.
John Benediktsson [Thu, 16 Jul 2015 01:20:35 +0000 (18:20 -0700)]
base85: use literals to compute the inverse array instead of hardcoding.

8 years agobase64: use literals to compute the inverse array instead of hardcoding.
John Benediktsson [Thu, 16 Jul 2015 01:19:59 +0000 (18:19 -0700)]
base64: use literals to compute the inverse array instead of hardcoding.

8 years agochecksums.sha: benchmark.sha1 is 15% faster.
John Benediktsson [Wed, 15 Jul 2015 23:54:33 +0000 (16:54 -0700)]
checksums.sha: benchmark.sha1 is 15% faster.

8 years agomason.release.archive: use code-array literal
Doug Coleman [Wed, 15 Jul 2015 21:31:38 +0000 (14:31 -0700)]
mason.release.archive: use code-array literal

8 years agomason.release.archive: Sign the .app if ~/config/mac_app.cer exists.
Doug Coleman [Wed, 15 Jul 2015 20:11:08 +0000 (13:11 -0700)]
mason.release.archive: Sign the .app if ~/config/mac_app.cer exists.

8 years agoFix some tests broken by optimized? rename.
John Benediktsson [Wed, 15 Jul 2015 18:47:03 +0000 (11:47 -0700)]
Fix some tests broken by optimized? rename.

8 years agovm: rename emit_quot to emit_quotation.
John Benediktsson [Wed, 15 Jul 2015 18:21:20 +0000 (11:21 -0700)]
vm: rename emit_quot to emit_quotation.

8 years agovm: rename some primitives, and some cleanup.
John Benediktsson [Wed, 15 Jul 2015 18:13:52 +0000 (11:13 -0700)]
vm: rename some primitives, and some cleanup.

* quot-compiled? => quotation-compiled?
* optimized? => word-optimized?

8 years agomisc/vim: syntax highlight PRIMITIVE:.
John Benediktsson [Wed, 15 Jul 2015 16:28:32 +0000 (09:28 -0700)]
misc/vim: syntax highlight PRIMITIVE:.

8 years agomath.parser: okay time for sleep, maybe this works, sorry git history.
John Benediktsson [Wed, 15 Jul 2015 05:48:08 +0000 (22:48 -0700)]
math.parser: okay time for sleep, maybe this works, sorry git history.

8 years agoio.encodings.ascii: make sure encode-string gets a string.
John Benediktsson [Wed, 15 Jul 2015 05:18:12 +0000 (22:18 -0700)]
io.encodings.ascii: make sure encode-string gets a string.

8 years agomath.parser: fix a regression.
John Benediktsson [Wed, 15 Jul 2015 05:05:25 +0000 (22:05 -0700)]
math.parser: fix a regression.

8 years agohashtables: fix docs differently.
John Benediktsson [Wed, 15 Jul 2015 04:51:02 +0000 (21:51 -0700)]
hashtables: fix docs differently.

8 years agoFix some things broken by hashtable capacity changes.
John Benediktsson [Wed, 15 Jul 2015 04:45:39 +0000 (21:45 -0700)]
Fix some things broken by hashtable capacity changes.

8 years agoproject-euler.150: use cum-sum.
John Benediktsson [Wed, 15 Jul 2015 03:55:43 +0000 (20:55 -0700)]
project-euler.150: use cum-sum.

8 years agoopencl: cleanup strings>char*-array and fix cl-queue-read-buffer.
John Benediktsson [Wed, 15 Jul 2015 03:45:13 +0000 (20:45 -0700)]
opencl: cleanup strings>char*-array and fix cl-queue-read-buffer.

8 years agodice: little bit faster this way.
John Benediktsson [Wed, 15 Jul 2015 03:35:10 +0000 (20:35 -0700)]
dice: little bit faster this way.

8 years agomath.parser: fix ``"-.5" dec>``.
John Benediktsson [Wed, 15 Jul 2015 03:16:34 +0000 (20:16 -0700)]
math.parser: fix ``"-.5" dec>``.

8 years agomath.parser: fix "most-negative-fixnum number>string string>number fixnum?".
John Benediktsson [Wed, 15 Jul 2015 03:03:33 +0000 (20:03 -0700)]
math.parser: fix "most-negative-fixnum number>string string>number fixnum?".

8 years agomisc/atom: more readme updates.
John Benediktsson [Wed, 15 Jul 2015 02:49:46 +0000 (19:49 -0700)]
misc/atom: more readme updates.

8 years agomisc/atom: minor update to readme.
John Benediktsson [Wed, 15 Jul 2015 02:49:06 +0000 (19:49 -0700)]
misc/atom: minor update to readme.

8 years agomisc/atom: adding an Atom bundle for syntax highlighting.
John Benediktsson [Wed, 15 Jul 2015 02:47:31 +0000 (19:47 -0700)]
misc/atom: adding an Atom bundle for syntax highlighting.

8 years agohash-sets: make sure capacity and growth use same load factor.
John Benediktsson [Wed, 15 Jul 2015 01:35:14 +0000 (18:35 -0700)]
hash-sets: make sure capacity and growth use same load factor.

8 years agohashtables: make sure capacity and growth use same load factor.
John Benediktsson [Wed, 15 Jul 2015 01:32:40 +0000 (18:32 -0700)]
hashtables: make sure capacity and growth use same load factor.

8 years agovocabs: fix help lint error.
John Benediktsson [Wed, 15 Jul 2015 01:17:28 +0000 (18:17 -0700)]
vocabs: fix help lint error.

8 years agoopengl.textures: fix merge whoops.
John Benediktsson [Wed, 15 Jul 2015 00:54:14 +0000 (17:54 -0700)]
opengl.textures: fix merge whoops.

8 years agopack: whoops, need to dup result.
John Benediktsson [Wed, 15 Jul 2015 00:50:26 +0000 (17:50 -0700)]
pack: whoops, need to dup result.

8 years agoopengl.textures: use cum-sum0 from math.statistics.
John Benediktsson [Wed, 15 Jul 2015 00:49:12 +0000 (17:49 -0700)]
opengl.textures: use cum-sum0 from math.statistics.

8 years agopack: use cum-sum0 from math.statistics.
John Benediktsson [Wed, 15 Jul 2015 00:49:04 +0000 (17:49 -0700)]
pack: use cum-sum0 from math.statistics.

8 years agomath.primes: commas look better.
John Benediktsson [Wed, 15 Jul 2015 00:35:52 +0000 (17:35 -0700)]
math.primes: commas look better.

8 years agoFUEL: lets have a menu for the neat scaffolding system so it becomes discoverable
Björn Lindqvist [Mon, 13 Jul 2015 04:34:58 +0000 (06:34 +0200)]
FUEL: lets have a menu for the neat scaffolding system so it becomes discoverable

8 years agoFUEL: fix the lookup of user name for copyright headers
Björn Lindqvist [Mon, 13 Jul 2015 04:28:26 +0000 (06:28 +0200)]
FUEL: fix the lookup of user name for copyright headers

first ask Factor, then fuel-scaffold-developer-name then user-full-name
and lastly "Your name"

8 years agoFUEL: font-lock errors the same as tuples -- it looks much better
Björn Lindqvist [Mon, 13 Jul 2015 00:18:53 +0000 (02:18 +0200)]
FUEL: font-lock errors the same as tuples -- it looks much better

8 years agoFUEL: a few unused font faces
Björn Lindqvist [Mon, 13 Jul 2015 00:17:35 +0000 (02:17 +0200)]
FUEL: a few unused font faces

8 years agoFUEL: better hl of a lot of syntax like RENAME: FROM: EXCLUDE:
Björn Lindqvist [Mon, 13 Jul 2015 00:04:27 +0000 (02:04 +0200)]
FUEL: better hl of a lot of syntax like RENAME: FROM: EXCLUDE:

8 years agoFUEL: colorize :>
Björn Lindqvist [Sun, 12 Jul 2015 23:30:59 +0000 (01:30 +0200)]
FUEL: colorize :>

8 years agoimages: adding an "each-pixel" that iterates over pixels by row.
John Benediktsson [Wed, 15 Jul 2015 00:19:04 +0000 (17:19 -0700)]
images: adding an "each-pixel" that iterates over pixels by row.

8 years agolists: adding deeplist>array.
John Benediktsson [Tue, 14 Jul 2015 23:35:59 +0000 (16:35 -0700)]
lists: adding deeplist>array.

8 years agomisc: fix factor.vim.fgen for words->vocab-words refactor.
John Benediktsson [Tue, 14 Jul 2015 23:29:28 +0000 (16:29 -0700)]
misc: fix factor.vim.fgen for words->vocab-words refactor.

8 years agoimages.viewer.prettyprint: don't default to prettyprinting images this way, make...
John Benediktsson [Tue, 14 Jul 2015 23:21:35 +0000 (16:21 -0700)]
images.viewer.prettyprint: don't default to prettyprinting images this way, make it configurable.

8 years agoxkcd: save the comic number with XKCD: syntax.
John Benediktsson [Tue, 14 Jul 2015 23:17:17 +0000 (16:17 -0700)]
xkcd: save the comic number with XKCD: syntax.

8 years agomath.matrices.elimination: avoid double length call.
John Benediktsson [Tue, 14 Jul 2015 22:59:24 +0000 (15:59 -0700)]
math.matrices.elimination: avoid double length call.

8 years agounits.reduction: avoid double length calls in find-unit-suffix.
John Benediktsson [Tue, 14 Jul 2015 22:58:23 +0000 (15:58 -0700)]
units.reduction: avoid double length calls in find-unit-suffix.

8 years agoUse $sequence in a few places.
John Benediktsson [Tue, 14 Jul 2015 22:57:18 +0000 (15:57 -0700)]
Use $sequence in a few places.

8 years agohelp.markup: adding $sequence for describing sequence values.
John Benediktsson [Tue, 14 Jul 2015 22:55:18 +0000 (15:55 -0700)]
help.markup: adding $sequence for describing sequence values.

8 years agoui.gadgets.buttons: simplify.
John Benediktsson [Tue, 14 Jul 2015 22:43:58 +0000 (15:43 -0700)]
ui.gadgets.buttons: simplify.

8 years agoui.gadgets.status-bar: use color constants.
John Benediktsson [Tue, 14 Jul 2015 22:29:25 +0000 (15:29 -0700)]
ui.gadgets.status-bar: use color constants.

8 years agoui.gadgets.buttons: add button quot effect.
John Benediktsson [Tue, 14 Jul 2015 22:29:06 +0000 (15:29 -0700)]
ui.gadgets.buttons: add button quot effect.

8 years agotools.image-analyzer.gc-info.tests: the test for scrub-bits was
Björn Lindqvist [Sun, 12 Jul 2015 22:54:48 +0000 (00:54 +0200)]
tools.image-analyzer.gc-info.tests: the test for scrub-bits was
completey baked, remove it

8 years agotools.image-analyzer.data-heap-reader: payload should be unsigned bytes
Björn Lindqvist [Sun, 12 Jul 2015 22:54:12 +0000 (00:54 +0200)]
tools.image-analyzer.data-heap-reader: payload should be unsigned bytes
not chars

8 years ago.gitignore: ignore the code signature directory
Doug Coleman [Sun, 12 Jul 2015 21:45:03 +0000 (14:45 -0700)]
.gitignore: ignore the code signature directory

8 years agoVM: let's merge (save-image) and (save-image-and-exit) into one 3 1385/head
Björn Lindqvist [Sun, 12 Jul 2015 19:08:39 +0000 (21:08 +0200)]
VM: let's merge (save-image) and (save-image-and-exit) into one 3
arg (save-image). it's good not to have to many similar primitives

8 years agoVM: get_entry_point is unused
Björn Lindqvist [Sun, 12 Jul 2015 19:02:41 +0000 (21:02 +0200)]
VM: get_entry_point is unused

8 years agoVM: move the paths out of gc memory so that they arent unnecessarily
Björn Lindqvist [Sun, 12 Jul 2015 04:37:54 +0000 (06:37 +0200)]
VM: move the paths out of gc memory so that they arent unnecessarily
added to the image

8 years agoFactor.app: delete the .dummy file. It requires signing with --deep and why have...
Doug Coleman [Sat, 11 Jul 2015 00:13:57 +0000 (17:13 -0700)]
Factor.app: delete the .dummy file. It requires signing with --deep and why have it in the first place?

8 years agoredis: fix using.
John Benediktsson [Fri, 10 Jul 2015 21:28:50 +0000 (14:28 -0700)]
redis: fix using.

8 years agobloom-filters: adding a working url.
John Benediktsson [Fri, 10 Jul 2015 21:17:09 +0000 (14:17 -0700)]
bloom-filters: adding a working url.

8 years agoui.gadgets.labels: trigger relayout when string changes.
John Benediktsson [Fri, 10 Jul 2015 21:06:53 +0000 (14:06 -0700)]
ui.gadgets.labels: trigger relayout when string changes.

8 years agoprettyprint.stylesheet: use assoc-union! and set-at when possible.
John Benediktsson [Fri, 10 Jul 2015 19:37:31 +0000 (12:37 -0700)]
prettyprint.stylesheet: use assoc-union! and set-at when possible.

8 years agoredis: adding a read timeout to the socket.
John Benediktsson [Fri, 10 Jul 2015 16:31:21 +0000 (09:31 -0700)]
redis: adding a read timeout to the socket.

8 years agomisc: fix syntax error in Factor.tmbundle.
John Benediktsson [Fri, 10 Jul 2015 16:19:40 +0000 (09:19 -0700)]
misc: fix syntax error in Factor.tmbundle.

8 years agoinit: cleaner using "initialize" instead of "global [ ... ] cache".
John Benediktsson [Fri, 10 Jul 2015 02:06:19 +0000 (19:06 -0700)]
init: cleaner using "initialize" instead of "global [ ... ] cache".

8 years agotools.image-analyzer.*: fix the loading of the .32 and .64 vocabs 1383/head
Björn Lindqvist [Fri, 10 Jul 2015 00:23:16 +0000 (02:23 +0200)]
tools.image-analyzer.*: fix the loading of the .32 and .64 vocabs

8 years agotools.image-analyzer.*: fixes so that the vocab should work both on 32
Björn Lindqvist [Thu, 9 Jul 2015 16:45:56 +0000 (18:45 +0200)]
tools.image-analyzer.*: fixes so that the vocab should work both on 32
and 64 bit

8 years agotools.image-analyzer.gc-info: ported the docs so now tools.gc-decode is
Björn Lindqvist [Thu, 9 Jul 2015 13:54:55 +0000 (15:54 +0200)]
tools.image-analyzer.gc-info: ported the docs so now tools.gc-decode is
not needed anymore

8 years agotools.image-analyzer.*: support for callstack reading
Björn Lindqvist [Thu, 9 Jul 2015 13:41:03 +0000 (15:41 +0200)]
tools.image-analyzer.*: support for callstack reading

8 years agotools.image-analyzer.gc-info.tests: "translates" all the tests from tools.gc-decode...
Björn Lindqvist [Wed, 8 Jul 2015 13:11:43 +0000 (15:11 +0200)]
tools.image-analyzer.gc-info.tests: "translates" all the tests from tools.gc-decode.tests

8 years agotools.image-analyzer: new set of vocabs for reading and analyzing factor images
Björn Lindqvist [Tue, 7 Jul 2015 14:42:58 +0000 (16:42 +0200)]
tools.image-analyzer: new set of vocabs for reading and analyzing factor images

8 years agoshuffle: Simpler definition imo.
Doug Coleman [Thu, 9 Jul 2015 21:45:41 +0000 (14:45 -0700)]
shuffle: Simpler definition imo.

8 years agotools.scaffold: use vocabs:check-vocab-name.
John Benediktsson [Thu, 9 Jul 2015 18:02:09 +0000 (11:02 -0700)]
tools.scaffold: use vocabs:check-vocab-name.

8 years agodebugger: give bad-vocab-name a better summary.
John Benediktsson [Thu, 9 Jul 2015 18:00:03 +0000 (11:00 -0700)]
debugger: give bad-vocab-name a better summary.

8 years agotools.scaffold: check vocab name in scaffold-vocab.
John Benediktsson [Thu, 9 Jul 2015 17:51:44 +0000 (10:51 -0700)]
tools.scaffold: check vocab name in scaffold-vocab.

8 years agosystem-info.macosx: adding OS X 10.11 "El Capitan".
John Benediktsson [Thu, 9 Jul 2015 17:39:01 +0000 (10:39 -0700)]
system-info.macosx: adding OS X 10.11 "El Capitan".

8 years ago.gitignore: ignore more vim temp files. not sure why i'm getting so many extensions...
Doug Coleman [Thu, 9 Jul 2015 17:24:39 +0000 (10:24 -0700)]
.gitignore: ignore more vim temp files. not sure why i'm getting so many extensions...

8 years agohash-sets: need to define M\ hash-set hashcode*.
John Benediktsson [Thu, 9 Jul 2015 15:35:43 +0000 (08:35 -0700)]
hash-sets: need to define M\ hash-set hashcode*.

8 years agolocals.parser: fix tests for now so we get clean builds.
John Benediktsson [Wed, 8 Jul 2015 18:26:59 +0000 (11:26 -0700)]
locals.parser: fix tests for now so we get clean builds.

8 years agocompiler.cfg.value-numbering: tests need to have this loaded.
Doug Coleman [Tue, 7 Jul 2015 05:44:36 +0000 (22:44 -0700)]
compiler.cfg.value-numbering: tests need to have this loaded.

8 years agovm: bring back FACTOR_ASSERT.
John Benediktsson [Mon, 6 Jul 2015 22:18:09 +0000 (15:18 -0700)]
vm: bring back FACTOR_ASSERT.

8 years agoVM: more changes of structs to lambda functions 1380/head
Björn Lindqvist [Mon, 6 Jul 2015 17:12:21 +0000 (19:12 +0200)]
VM: more changes of structs to lambda functions

8 years agoVM: move changes of structs to lambda functions
Björn Lindqvist [Mon, 6 Jul 2015 16:31:44 +0000 (18:31 +0200)]
VM: move changes of structs to lambda functions

8 years agoVM: change lot of visitation objects to use cool lambda functions instead
Björn Lindqvist [Mon, 6 Jul 2015 15:49:55 +0000 (17:49 +0200)]
VM: change lot of visitation objects to use cool lambda functions instead

8 years agoVM: replace binary_payload_start() with slot_count()
Björn Lindqvist [Sat, 4 Jul 2015 18:57:02 +0000 (20:57 +0200)]
VM: replace binary_payload_start() with slot_count()

This should simplify a little the address calculations when visiting
slots of an object

8 years agoVM: merge strings.hpp and tuples.hpp into layouts.hpp, because those
Björn Lindqvist [Fri, 3 Jul 2015 17:12:57 +0000 (19:12 +0200)]
VM: merge strings.hpp and tuples.hpp into layouts.hpp, because those
header files were so tiny

8 years agoVM: split the size() method into base_size() and aligned_size()
Björn Lindqvist [Fri, 3 Jul 2015 16:47:33 +0000 (18:47 +0200)]
VM: split the size() method into base_size() and aligned_size()

8 years agofactor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
Doug Coleman [Fri, 3 Jul 2015 16:39:59 +0000 (09:39 -0700)]
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test

8 years agoyaml.conversion: Use the R" syntax. No big deal, just easier to parse....
Doug Coleman [Fri, 3 Jul 2015 15:43:31 +0000 (08:43 -0700)]
yaml.conversion: Use the R" syntax. No big deal, just easier to parse....

8 years agoalien.parser: add a couple of commas
Doug Coleman [Fri, 3 Jul 2015 00:29:12 +0000 (17:29 -0700)]
alien.parser: add a couple of commas

8 years agofactor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
Doug Coleman [Fri, 3 Jul 2015 00:28:17 +0000 (17:28 -0700)]
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.

8 years agounix.ffi: Fix syntax for FUNCTION:
Doug Coleman [Fri, 3 Jul 2015 00:27:18 +0000 (17:27 -0700)]
unix.ffi: Fix syntax for FUNCTION:

8 years agomath.floats.env: Make sure answers are array. So much metapgramming in these unit...
Doug Coleman [Thu, 2 Jul 2015 22:58:51 +0000 (15:58 -0700)]
math.floats.env: Make sure answers are array. So much metapgramming in these unit tests.

8 years agomultiline: trailing space is necessary. new parser handles this case now.
Doug Coleman [Thu, 2 Jul 2015 22:29:41 +0000 (15:29 -0700)]
multiline: trailing space is necessary. new parser handles this case now.

8 years agoextra: regularizing some unit tests. removing a """ literal..
Doug Coleman [Thu, 2 Jul 2015 22:06:08 +0000 (15:06 -0700)]
extra: regularizing some unit tests. removing a """ literal..

8 years agotests: prefer ${ } instead of 1array
Doug Coleman [Thu, 2 Jul 2015 21:56:14 +0000 (14:56 -0700)]
tests: prefer ${ } instead of 1array

8 years agoRevert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring...
Doug Coleman [Thu, 2 Jul 2015 20:37:42 +0000 (13:37 -0700)]
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc28240d384ca71529dab464ea9cddbabf07.