]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Tue, 23 Mar 2021 21:57:48 +0000 (14:57 -0700)]
tools.memory: Fix deploy test 23
It complains about ``room.`` not existing, there's probably
another issue to fix here.
Doug Coleman [Tue, 23 Mar 2021 21:51:21 +0000 (14:51 -0700)]
ui.backend.gtk: Trim null bytes for linux copy.
check-string errors if there are any null bytes, but linux will
append \0\0\0\0\0\0 to some long strings from the factor ui
trim them and it copies without loss off data.
John Benediktsson [Tue, 23 Mar 2021 18:53:01 +0000 (11:53 -0700)]
sequences.extras: forgot the -docs for subseq change.
John Benediktsson [Tue, 23 Mar 2021 17:37:31 +0000 (10:37 -0700)]
tools: fix some docs uses.
John Benediktsson [Tue, 23 Mar 2021 16:49:54 +0000 (09:49 -0700)]
sequences.extras: reverse stack effect for start-all/count-subseq.
John Benediktsson [Tue, 23 Mar 2021 16:08:37 +0000 (09:08 -0700)]
splitting: faster split-when.
The old way would accumulate in a vector and then add the last item on
by copying to a new array.
The new way accumulates in a vector including the last item and then
returns an array.
Rudi Grinberg [Tue, 23 Mar 2021 06:22:01 +0000 (23:22 -0700)]
Do not use deprecated marker api
Use xref-push-marker-stack to push find-tag-marker-ring
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Rudi Grinberg [Tue, 23 Mar 2021 06:21:27 +0000 (23:21 -0700)]
Pass optional file arg to fule-mode-code-file
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Rudi Grinberg [Tue, 23 Mar 2021 06:21:02 +0000 (23:21 -0700)]
use cl-remove-if instead of remove-if
The latter is an alias. Also require hte library that provides this
function.
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
Rudi Grinberg [Tue, 23 Mar 2021 06:20:24 +0000 (23:20 -0700)]
Use lexical scoping in all fuel sources
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
John Benediktsson [Tue, 23 Mar 2021 03:26:54 +0000 (20:26 -0700)]
misc: adding some strings to syntax test.
John Benediktsson [Tue, 23 Mar 2021 03:26:38 +0000 (20:26 -0700)]
extra: using keepd instead of "2keep drop".
John Benediktsson [Tue, 23 Mar 2021 03:26:21 +0000 (20:26 -0700)]
generalizations: cleanup using.
John Benediktsson [Tue, 23 Mar 2021 00:31:51 +0000 (17:31 -0700)]
math.runge-kutta: fix help-lint.
John Benediktsson [Tue, 23 Mar 2021 00:29:25 +0000 (17:29 -0700)]
misc/vim: fix "{ 1 2 3 }" and [[{ 1 2 3 }]].
John Benediktsson [Tue, 23 Mar 2021 00:25:56 +0000 (17:25 -0700)]
math.combinatorics: adding all-unique-permutations.
John Benediktsson [Tue, 23 Mar 2021 00:05:24 +0000 (17:05 -0700)]
mason.child: Up the codeheap size on Windows-x86.64 mason tests.
John Benediktsson [Mon, 22 Mar 2021 20:20:43 +0000 (13:20 -0700)]
vocabs.metadata: change vocab-summary to just be summary.
Have a separate word that is used in M\ vocab summary
John Benediktsson [Mon, 22 Mar 2021 20:02:59 +0000 (13:02 -0700)]
core/basis: metadata instead of meta-data.
John Benediktsson [Mon, 22 Mar 2021 19:36:17 +0000 (12:36 -0700)]
splitting: simplify (split1).
John Benediktsson [Mon, 22 Mar 2021 04:26:59 +0000 (21:26 -0700)]
locals.rewrite: need to like after [nsequence].
John Benediktsson [Mon, 22 Mar 2021 04:08:15 +0000 (21:08 -0700)]
sequences.generalizations: move to basis from core.
John Benediktsson [Mon, 22 Mar 2021 04:07:53 +0000 (21:07 -0700)]
locals.rewrite: use [nsequence] instead of nsequence.
John Benediktsson [Mon, 22 Mar 2021 03:57:05 +0000 (20:57 -0700)]
db.sqlite.lib: stop using sequences.extras.
Unfortunately, this temporarily results in slightly worse looking code.
John Benediktsson [Mon, 22 Mar 2021 02:31:32 +0000 (19:31 -0700)]
locals.parser: use parse-time compilation to make tests run properly.
Doug Coleman [Sun, 21 Mar 2021 15:05:57 +0000 (10:05 -0500)]
http: Use Uppercase For Header Names
They get normalized anyway but most clients seem to use Upper Case.
Doug Coleman [Sat, 20 Mar 2021 21:11:47 +0000 (16:11 -0500)]
vocabs: Show vocab metadata in help and fix ctrl-e for private vocab
USE: alien.private [ctrl-e] now works
Listing files for alien.private now lists the files for alien
Doug Coleman [Sat, 20 Mar 2021 21:10:29 +0000 (16:10 -0500)]
vocabs.metadata: Show vocab root in listener vocab info row
Doug Coleman [Sun, 21 Mar 2021 18:51:04 +0000 (13:51 -0500)]
factor: map-zip -> zip-with
John Benediktsson [Sat, 20 Mar 2021 15:59:00 +0000 (08:59 -0700)]
core/basis/extras: use zip-with in a few places.
John Benediktsson [Sat, 20 Mar 2021 15:58:14 +0000 (08:58 -0700)]
misc/vim: update core words.
John Benediktsson [Sat, 20 Mar 2021 15:50:40 +0000 (08:50 -0700)]
sequences.extras: remove map-zip in favor of assocs:zip-with.
John Benediktsson [Sat, 20 Mar 2021 15:50:26 +0000 (08:50 -0700)]
basis: use zip-with in a few places.
John Benediktsson [Sat, 20 Mar 2021 15:48:50 +0000 (08:48 -0700)]
assocs: adding zip-with.
John Benediktsson [Sat, 20 Mar 2021 04:12:19 +0000 (21:12 -0700)]
locals.rewrite: need this!
John Benediktsson [Sat, 20 Mar 2021 03:59:22 +0000 (20:59 -0700)]
locals.rewrite: merge all locals.rewrite.* code...
inivekin [Sat, 20 Mar 2021 03:58:32 +0000 (11:58 +0800)]
Fixes complex shuffle words, Fixes complex array instantiation
inivekin [Sat, 20 Mar 2021 02:31:21 +0000 (10:31 +0800)]
Fixes runge-kutta docs example USE errors
inivekin [Sat, 20 Mar 2021 02:23:11 +0000 (10:23 +0800)]
Adds runge-kutta implementation for n dimensions
John Benediktsson [Sat, 20 Mar 2021 03:43:44 +0000 (20:43 -0700)]
locals.parser: adding IN: (needed for first couple tests).
John Benediktsson [Fri, 19 Mar 2021 23:15:46 +0000 (16:15 -0700)]
locals.parser: fix docs.
John Benediktsson [Fri, 19 Mar 2021 23:14:10 +0000 (16:14 -0700)]
locals.parser: cleanup using.
John Benediktsson [Fri, 19 Mar 2021 23:11:09 +0000 (16:11 -0700)]
locals: simplify by merging def and multi-def (again).
John Benediktsson [Fri, 19 Mar 2021 23:02:09 +0000 (16:02 -0700)]
locals.parser: try and remove previously broken syntax.
John Benediktsson [Fri, 19 Mar 2021 22:38:05 +0000 (15:38 -0700)]
locals: use "f <word>".
John Benediktsson [Fri, 19 Mar 2021 22:01:46 +0000 (15:01 -0700)]
multiline: removing bad-heredoc.
John Benediktsson [Fri, 19 Mar 2021 21:58:03 +0000 (14:58 -0700)]
Revert "locals: simplify by merging <def> and <multi-def>."
This reverts commit
49f09dee42dcd2b66279d9393add51fd9285a912 .
John Benediktsson [Fri, 19 Mar 2021 21:53:45 +0000 (14:53 -0700)]
locals: simplify by merging <def> and <multi-def>.
John Benediktsson [Fri, 19 Mar 2021 21:08:38 +0000 (14:08 -0700)]
locals: simplify point-free using multi-def.
John Benediktsson [Fri, 19 Mar 2021 18:24:30 +0000 (11:24 -0700)]
misc: add more syntax to the syntax-test.factor.
John Benediktsson [Fri, 19 Mar 2021 18:22:31 +0000 (11:22 -0700)]
misc/vim: fix SYNTAX: highlighting.
John Benediktsson [Fri, 19 Mar 2021 18:17:53 +0000 (11:17 -0700)]
math.text.english: adding some ap-style number conversions.
John Benediktsson [Fri, 19 Mar 2021 18:12:26 +0000 (11:12 -0700)]
sequences: simplify flip using fry and map-reduce.
John Benediktsson [Fri, 19 Mar 2021 18:03:37 +0000 (11:03 -0700)]
formatting: simplify strftime.
John Benediktsson [Fri, 19 Mar 2021 18:03:11 +0000 (11:03 -0700)]
editors.ultraedit: support ultraedit on the mac.
Giftpflanze [Fri, 19 Mar 2021 17:44:59 +0000 (17:44 +0000)]
help.markup: Fix documentation
John Benediktsson [Fri, 19 Mar 2021 17:39:18 +0000 (10:39 -0700)]
ui.tools.listener.completion: display glyph for CHAR: completions.
John Benediktsson [Fri, 19 Mar 2021 17:09:48 +0000 (10:09 -0700)]
tools.scaffold: choose a vocab-root for scaffold-vocab with a restart.
For now, don't guess the right vocab-root to put it in since that is a
little bit off for math.foobar and other core vocabs.
John Benediktsson [Fri, 19 Mar 2021 04:18:29 +0000 (21:18 -0700)]
syntax: don't mark-top-level-syntax.
John Benediktsson [Fri, 19 Mar 2021 04:09:45 +0000 (21:09 -0700)]
crypto.aes: better sbox literals.
John Benediktsson [Fri, 19 Mar 2021 03:50:02 +0000 (20:50 -0700)]
multiline: remove HEREDOC:
It wasn't used and our new multiline strings are better.
John Benediktsson [Fri, 19 Mar 2021 03:41:03 +0000 (20:41 -0700)]
linked-assocs: rollback to old clone method.
John Benediktsson [Thu, 18 Mar 2021 20:03:43 +0000 (13:03 -0700)]
decimals: change pprint* to not use formatting.private:format-decimal.
John Benediktsson [Thu, 18 Mar 2021 19:47:37 +0000 (12:47 -0700)]
decimals: adding prettyprint.
John Benediktsson [Thu, 18 Mar 2021 19:20:35 +0000 (12:20 -0700)]
regexp.classes: inline bi* = instead of shadowing "same?".
John Benediktsson [Thu, 18 Mar 2021 19:16:52 +0000 (12:16 -0700)]
regexp.classes: rename substitute to (substitute).
John Benediktsson [Thu, 18 Mar 2021 19:13:19 +0000 (12:13 -0700)]
lru-cache: adding lifo-cache.
John Benediktsson [Thu, 18 Mar 2021 19:12:38 +0000 (12:12 -0700)]
linked-assocs: change clone to use (clone).
John Benediktsson [Thu, 18 Mar 2021 18:45:57 +0000 (11:45 -0700)]
lru-cache: adding fifo-cache.
John Benediktsson [Thu, 18 Mar 2021 18:32:16 +0000 (11:32 -0700)]
lru-cache: initialize assoc with max-size.
John Benediktsson [Thu, 18 Mar 2021 18:28:28 +0000 (11:28 -0700)]
tools.scaffold: fix "protocols.foobar" case.
John Benediktsson [Thu, 18 Mar 2021 18:10:55 +0000 (11:10 -0700)]
syslog: client for Syslog protocol.
John Benediktsson [Thu, 18 Mar 2021 18:03:21 +0000 (11:03 -0700)]
extra: moving named-tuples to basis.
John Benediktsson [Thu, 18 Mar 2021 18:03:01 +0000 (11:03 -0700)]
urls: normalize paths when creating urls from strings.
John Benediktsson [Thu, 18 Mar 2021 17:29:55 +0000 (10:29 -0700)]
extra: move ini-file, oauth1, oauth2 to basis.
John Benediktsson [Thu, 18 Mar 2021 17:26:55 +0000 (10:26 -0700)]
ini-file: stop using xml.entities.
John Benediktsson [Thu, 18 Mar 2021 17:07:55 +0000 (10:07 -0700)]
extra: moving etc-hosts and resolv-conf to basis.
John Benediktsson [Thu, 18 Mar 2021 17:04:57 +0000 (10:04 -0700)]
verbal-expressions: human-readable regular expressions.
John Benediktsson [Thu, 18 Mar 2021 16:52:57 +0000 (09:52 -0700)]
tldr: adding a lightweight tool to render tldr.sh pages.
John Benediktsson [Thu, 18 Mar 2021 02:08:26 +0000 (19:08 -0700)]
extra: moving constructors to basis.
John Benediktsson [Wed, 17 Mar 2021 04:51:01 +0000 (21:51 -0700)]
extra: move dns, ntp to basis.
John Benediktsson [Wed, 17 Mar 2021 04:45:38 +0000 (21:45 -0700)]
extra: moving bloom-filters, cuckoo-filters to basis.
John Benediktsson [Wed, 17 Mar 2021 04:42:42 +0000 (21:42 -0700)]
extra: moving cbor, msgpack, toml, uu to basis.
John Benediktsson [Wed, 17 Mar 2021 04:39:07 +0000 (21:39 -0700)]
compiler.tree.propagation.transforms: sigh.
John Benediktsson [Wed, 17 Mar 2021 04:30:58 +0000 (21:30 -0700)]
compiler.tree.propagation.transforms: maybe better code for zero bignum case.
John Benediktsson [Wed, 17 Mar 2021 04:30:29 +0000 (21:30 -0700)]
extra/talks: removing to a "factor-talks" repo.
John Benediktsson [Wed, 17 Mar 2021 04:21:53 +0000 (21:21 -0700)]
Revert "math.intervals: workaround possible compiler bug by widening interval-bitor."
This reverts commit
e256a4ba18fbb7916db2a22ead55cbcbf7cf920d .
John Benediktsson [Wed, 17 Mar 2021 04:14:05 +0000 (21:14 -0700)]
checksums: add specialized-arrays.
John Benediktsson [Wed, 17 Mar 2021 04:10:10 +0000 (21:10 -0700)]
compiler.tree.propagation: add some tests.
John Benediktsson [Wed, 17 Mar 2021 03:52:37 +0000 (20:52 -0700)]
compiler.tree.propagation.transforms: fix redundant-bitand?.
When removing a redundant bitand (for example, in ``W*`` which does ``64
on-bits bitand``) make sure that we leave the ``>bignum`` to convert the
input integer to a bignum since the output type propagation assumes that
to be the case and we compiled the following code wrong.
: mult ( a b -- x ) [ 32 bits ] bi@ W* ;
Before:
\ mult optimized.
[
>R
4294967295 >R integer>fixnum R> fixnum-bitand
R>
4294967295 >R integer>fixnum R> fixnum-bitand fixnum*
]
After:
\ mult optimized.
[
>R
4294967295 >R integer>fixnum R> fixnum-bitand
R>
4294967295 >R integer>fixnum R> fixnum-bitand fixnum*
>bignum
]
Doug Coleman [Wed, 17 Mar 2021 03:20:35 +0000 (22:20 -0500)]
compiler.tree.propagation: Use ... for example
John Benediktsson [Wed, 17 Mar 2021 03:15:26 +0000 (20:15 -0700)]
compiler.tree.propagation: fix docs to show expected output line.
John Benediktsson [Tue, 16 Mar 2021 23:59:59 +0000 (16:59 -0700)]
compiler.cfg.builder: need to define the 'id' slot.
John Benediktsson [Tue, 16 Mar 2021 22:08:53 +0000 (15:08 -0700)]
wrap.strings: preserve leading whitespace when wrapping.
John Benediktsson [Tue, 16 Mar 2021 21:54:44 +0000 (14:54 -0700)]
checksums.wyhash: implement the wyhash algorithm.
John Benediktsson [Tue, 16 Mar 2021 21:44:33 +0000 (14:44 -0700)]
sequences: adding cut-slice*.
John Benediktsson [Tue, 16 Mar 2021 15:13:21 +0000 (08:13 -0700)]
hashcash: change available-chars to a constant.
John Benediktsson [Tue, 16 Mar 2021 15:13:04 +0000 (08:13 -0700)]
audio.aiff: one liner.
John Benediktsson [Tue, 16 Mar 2021 15:12:47 +0000 (08:12 -0700)]
fuel: fix for scaffold-vocab-in.
timor [Tue, 16 Mar 2021 14:55:38 +0000 (15:55 +0100)]
shell.nix: Define gdk pixbuf loaders from build dependencies.
This resolves a problem when the wrapped Factor binary is executed with
`GDK_PIXBUF_MODULE_FILE` set to an incompatible version. This happens if e.g.
Factor is run from within an Emacs that uses newer gdk versions.
Related NixOS issue: https://github.com/NixOS/nixpkgs/issues/54278
In the long run, this should be replaced by a derivation which correctly runs
through all the phases correctly to set up `wrapGAppsHook` correctly. Even
then, the correct behavior would probably be to have the surrounding
environment (e.g. Emacs) restore the default variable value in it's
sub-environments.