]> gitweb.factorcode.org Git - factor.git/log
factor.git
3 years agoRevert "ui.gadgets.editors: adding Ctrl-o for insert-newline-after cursor."
John Benediktsson [Wed, 31 Mar 2021 03:52:31 +0000 (20:52 -0700)]
Revert "ui.gadgets.editors: adding Ctrl-o for insert-newline-after cursor."

This reverts commit 4e40935ab906323e3e4533940a3233bd4e1867e8.

3 years agoui.gestures: action-modifier changed to M+ (but still Cmd) on macOS.
John Benediktsson [Wed, 31 Mar 2021 03:38:56 +0000 (20:38 -0700)]
ui.gestures: action-modifier changed to M+ (but still Cmd) on macOS.

3 years agoui.tools.listener: remove comment about readline bindings.
John Benediktsson [Wed, 31 Mar 2021 03:37:33 +0000 (20:37 -0700)]
ui.tools.listener: remove comment about readline bindings.

3 years agoui.gadgets.editors: adding Ctrl-o for insert-newline-after cursor.
John Benediktsson [Wed, 31 Mar 2021 03:36:13 +0000 (20:36 -0700)]
ui.gadgets.editors: adding Ctrl-o for insert-newline-after cursor.

3 years agoui.tools.operations: switch back to previous (non-shift) keybindings.
John Benediktsson [Wed, 31 Mar 2021 03:35:35 +0000 (20:35 -0700)]
ui.tools.operations: switch back to previous (non-shift) keybindings.

3 years agoui.gadgets.editors: remove readline bindings by default.
John Benediktsson [Wed, 31 Mar 2021 03:34:00 +0000 (20:34 -0700)]
ui.gadgets.editors: remove readline bindings by default.

There were too many conflicts and I want to keep our previous behavior
until we sort it out.  Readline bindings can now be configured per
editor-class by calling "readline-bindings".

3 years agoui: minor style tweaks/fixes.
John Benediktsson [Wed, 31 Mar 2021 03:22:20 +0000 (20:22 -0700)]
ui: minor style tweaks/fixes.

3 years agogeneric.parser: Show the bad effects in the error.
Doug Coleman [Tue, 30 Mar 2021 23:46:43 +0000 (18:46 -0500)]
generic.parser: Show the bad effects in the error.

3 years agoui.gadgets.editors: adding support for paragraph navigation.
John Benediktsson [Tue, 30 Mar 2021 22:25:59 +0000 (15:25 -0700)]
ui.gadgets.editors: adding support for paragraph navigation.

3 years agodocuments.elements: adding support for paragraph navigation.
John Benediktsson [Tue, 30 Mar 2021 22:25:37 +0000 (15:25 -0700)]
documents.elements: adding support for paragraph navigation.

3 years agoRevert "ui.gadgets.panes: only scroll down when we are at the bottom."
John Benediktsson [Tue, 30 Mar 2021 22:05:00 +0000 (15:05 -0700)]
Revert "ui.gadgets.panes: only scroll down when we are at the bottom."

This reverts commit 4781ef205cc8d1da91aebcbe3543eaa78c31b217.

3 years agoRevert "ui.gadgets: refactor scroll-at-bottom?."
John Benediktsson [Tue, 30 Mar 2021 22:03:35 +0000 (15:03 -0700)]
Revert "ui.gadgets: refactor scroll-at-bottom?."

This reverts commit ef06b2c54854b1e7d3143dcc10cc4d13dfa2635b.

3 years agoui.gadgets: refactor scroll-at-bottom?.
John Benediktsson [Tue, 30 Mar 2021 20:41:11 +0000 (13:41 -0700)]
ui.gadgets: refactor scroll-at-bottom?.

3 years agoui.gadgets.panes: only scroll down when we are at the bottom.
John Benediktsson [Tue, 30 Mar 2021 19:29:23 +0000 (12:29 -0700)]
ui.gadgets.panes: only scroll down when we are at the bottom.

3 years agoui.gadgets.editors: make readline only on mac for now.
John Benediktsson [Tue, 30 Mar 2021 19:24:06 +0000 (12:24 -0700)]
ui.gadgets.editors: make readline only on mac for now.

It conflicts on both linux and windows with keybindings like Ctrl-A for
select-all.

3 years agoui.tools: merge mac and other config.
John Benediktsson [Tue, 30 Mar 2021 19:23:46 +0000 (12:23 -0700)]
ui.tools: merge mac and other config.

3 years agoui.tools: remove C+q for quit.
John Benediktsson [Mon, 29 Mar 2021 22:04:25 +0000 (15:04 -0700)]
ui.tools: remove C+q for quit.

3 years agoui.tools: fix toggle-fullscreen on windows/linux.
John Benediktsson [Mon, 29 Mar 2021 22:01:55 +0000 (15:01 -0700)]
ui.tools: fix toggle-fullscreen on windows/linux.

3 years agoui: better platform-specific keybindings.
John Benediktsson [Mon, 29 Mar 2021 21:35:41 +0000 (14:35 -0700)]
ui: better platform-specific keybindings.

Some major changes include on macOS we pass M+ for Command and A+ for
Option, which matches some of the documentation, but now requires us to
have some OS-specific code in the define-command-map usage.

3 years agoassocs: making unzip generic to be faster on hashtables.
John Benediktsson [Mon, 29 Mar 2021 18:16:15 +0000 (11:16 -0700)]
assocs: making unzip generic to be faster on hashtables.

3 years agoui.gadgets.editors: make readline-bindings only on unix.
John Benediktsson [Fri, 26 Mar 2021 14:32:08 +0000 (07:32 -0700)]
ui.gadgets.editors: make readline-bindings only on unix.

For now, we need to think a bit about cross-platform keybindings.

3 years agoui: standard readline style keybindings.
John Benediktsson [Wed, 24 Mar 2021 23:12:02 +0000 (16:12 -0700)]
ui: standard readline style keybindings.

This results in some awkward ui.tools keybindings that now are
Ctrl-Shift, but perhaps we can make those better.

Using A+ for ui.tools would be nice but Cmd-H, Cmd-W, Cmd-M conflict on
MacOS.

3 years agoui.tools.listener: change set-listener-font to modify style-stream.
John Benediktsson [Wed, 24 Mar 2021 05:22:37 +0000 (22:22 -0700)]
ui.tools.listener: change set-listener-font to modify style-stream.

3 years agoui.tools.listener: cleanup using.
John Benediktsson [Wed, 24 Mar 2021 04:31:02 +0000 (21:31 -0700)]
ui.tools.listener: cleanup using.

3 years agoui.tools.listener: enable font increase and decrease.
John Benediktsson [Wed, 24 Mar 2021 04:28:17 +0000 (21:28 -0700)]
ui.tools.listener: enable font increase and decrease.

3 years agomath.blas.config: use f2c-abi on >= 10.7.
John Benediktsson [Wed, 24 Mar 2021 02:13:04 +0000 (19:13 -0700)]
math.blas.config: use f2c-abi on >= 10.7.

3 years agoqtkit: comment them all out.
John Benediktsson [Wed, 24 Mar 2021 00:28:50 +0000 (17:28 -0700)]
qtkit: comment them all out.

3 years agoRevert "qtkit: disable movie-attributes."
John Benediktsson [Wed, 24 Mar 2021 00:27:03 +0000 (17:27 -0700)]
Revert "qtkit: disable movie-attributes."

This reverts commit 21a4c6f091278c3b19eb7ed7295d8efec5f03189.

3 years agoqtkit: disable movie-attributes.
John Benediktsson [Wed, 24 Mar 2021 00:23:16 +0000 (17:23 -0700)]
qtkit: disable movie-attributes.

3 years agotools.memory: Fix deploy test 23
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.

3 years agoui.backend.gtk: Trim null bytes for linux copy.
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.

3 years agosequences.extras: forgot the -docs for subseq change.
John Benediktsson [Tue, 23 Mar 2021 18:53:01 +0000 (11:53 -0700)]
sequences.extras: forgot the -docs for subseq change.

3 years agotools: fix some docs uses.
John Benediktsson [Tue, 23 Mar 2021 17:37:31 +0000 (10:37 -0700)]
tools: fix some docs uses.

3 years agosequences.extras: reverse stack effect for start-all/count-subseq.
John Benediktsson [Tue, 23 Mar 2021 16:49:54 +0000 (09:49 -0700)]
sequences.extras: reverse stack effect for start-all/count-subseq.

3 years agosplitting: faster split-when.
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.

3 years agoDo not use deprecated marker api
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>
3 years agoPass optional file arg to fule-mode-code-file
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>
3 years agouse cl-remove-if instead of remove-if
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>
3 years agoUse lexical scoping in all fuel sources
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>
3 years agomisc: adding some strings to syntax test.
John Benediktsson [Tue, 23 Mar 2021 03:26:54 +0000 (20:26 -0700)]
misc: adding some strings to syntax test.

3 years agoextra: using keepd instead of "2keep drop".
John Benediktsson [Tue, 23 Mar 2021 03:26:38 +0000 (20:26 -0700)]
extra: using keepd instead of "2keep drop".

3 years agogeneralizations: cleanup using.
John Benediktsson [Tue, 23 Mar 2021 03:26:21 +0000 (20:26 -0700)]
generalizations: cleanup using.

3 years agomath.runge-kutta: fix help-lint.
John Benediktsson [Tue, 23 Mar 2021 00:31:51 +0000 (17:31 -0700)]
math.runge-kutta: fix help-lint.

3 years agomisc/vim: fix "{ 1 2 3 }" and [[{ 1 2 3 }]].
John Benediktsson [Tue, 23 Mar 2021 00:29:25 +0000 (17:29 -0700)]
misc/vim: fix "{ 1 2 3 }" and [[{ 1 2 3 }]].

3 years agomath.combinatorics: adding all-unique-permutations.
John Benediktsson [Tue, 23 Mar 2021 00:25:56 +0000 (17:25 -0700)]
math.combinatorics: adding all-unique-permutations.

3 years agomason.child: Up the codeheap size on Windows-x86.64 mason tests.
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.

3 years agovocabs.metadata: change vocab-summary to just be summary.
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

3 years agocore/basis: metadata instead of meta-data.
John Benediktsson [Mon, 22 Mar 2021 20:02:59 +0000 (13:02 -0700)]
core/basis: metadata instead of meta-data.

3 years agosplitting: simplify (split1).
John Benediktsson [Mon, 22 Mar 2021 19:36:17 +0000 (12:36 -0700)]
splitting: simplify (split1).

3 years agolocals.rewrite: need to like after [nsequence].
John Benediktsson [Mon, 22 Mar 2021 04:26:59 +0000 (21:26 -0700)]
locals.rewrite: need to like after [nsequence].

3 years agosequences.generalizations: move to basis from core.
John Benediktsson [Mon, 22 Mar 2021 04:08:15 +0000 (21:08 -0700)]
sequences.generalizations: move to basis from core.

3 years agolocals.rewrite: use [nsequence] instead of nsequence.
John Benediktsson [Mon, 22 Mar 2021 04:07:53 +0000 (21:07 -0700)]
locals.rewrite: use [nsequence] instead of nsequence.

3 years agodb.sqlite.lib: stop using sequences.extras.
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.

3 years agolocals.parser: use parse-time compilation to make tests run properly.
John Benediktsson [Mon, 22 Mar 2021 02:31:32 +0000 (19:31 -0700)]
locals.parser: use parse-time compilation to make tests run properly.

3 years agohttp: Use Uppercase For Header Names
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.

3 years agovocabs: Show vocab metadata in help and fix ctrl-e for private vocab
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

3 years agovocabs.metadata: Show vocab root in listener vocab info row
Doug Coleman [Sat, 20 Mar 2021 21:10:29 +0000 (16:10 -0500)]
vocabs.metadata: Show vocab root in listener vocab info row

3 years agofactor: map-zip -> zip-with
Doug Coleman [Sun, 21 Mar 2021 18:51:04 +0000 (13:51 -0500)]
factor: map-zip -> zip-with

3 years agocore/basis/extras: use zip-with in a few places.
John Benediktsson [Sat, 20 Mar 2021 15:59:00 +0000 (08:59 -0700)]
core/basis/extras: use zip-with in a few places.

3 years agomisc/vim: update core words.
John Benediktsson [Sat, 20 Mar 2021 15:58:14 +0000 (08:58 -0700)]
misc/vim: update core words.

3 years agosequences.extras: remove map-zip in favor of assocs:zip-with.
John Benediktsson [Sat, 20 Mar 2021 15:50:40 +0000 (08:50 -0700)]
sequences.extras: remove map-zip in favor of assocs:zip-with.

3 years agobasis: use zip-with in a few places.
John Benediktsson [Sat, 20 Mar 2021 15:50:26 +0000 (08:50 -0700)]
basis: use zip-with in a few places.

3 years agoassocs: adding zip-with.
John Benediktsson [Sat, 20 Mar 2021 15:48:50 +0000 (08:48 -0700)]
assocs: adding zip-with.

3 years agolocals.rewrite: need this!
John Benediktsson [Sat, 20 Mar 2021 04:12:19 +0000 (21:12 -0700)]
locals.rewrite: need this!

3 years agolocals.rewrite: merge all locals.rewrite.* code...
John Benediktsson [Sat, 20 Mar 2021 03:59:22 +0000 (20:59 -0700)]
locals.rewrite: merge all locals.rewrite.* code...

3 years agoFixes complex shuffle words, Fixes complex array instantiation
inivekin [Sat, 20 Mar 2021 03:58:32 +0000 (11:58 +0800)]
Fixes complex shuffle words, Fixes complex array instantiation

3 years agoFixes runge-kutta docs example USE errors
inivekin [Sat, 20 Mar 2021 02:31:21 +0000 (10:31 +0800)]
Fixes runge-kutta docs example USE errors

3 years agoAdds runge-kutta implementation for n dimensions
inivekin [Sat, 20 Mar 2021 02:23:11 +0000 (10:23 +0800)]
Adds runge-kutta implementation for n dimensions

3 years agolocals.parser: adding IN: (needed for first couple tests).
John Benediktsson [Sat, 20 Mar 2021 03:43:44 +0000 (20:43 -0700)]
locals.parser: adding IN: (needed for first couple tests).

3 years agolocals.parser: fix docs.
John Benediktsson [Fri, 19 Mar 2021 23:15:46 +0000 (16:15 -0700)]
locals.parser: fix docs.

3 years agolocals.parser: cleanup using.
John Benediktsson [Fri, 19 Mar 2021 23:14:10 +0000 (16:14 -0700)]
locals.parser: cleanup using.

3 years agolocals: simplify by merging def and multi-def (again).
John Benediktsson [Fri, 19 Mar 2021 23:11:09 +0000 (16:11 -0700)]
locals: simplify by merging def and multi-def (again).

3 years agolocals.parser: try and remove previously broken syntax.
John Benediktsson [Fri, 19 Mar 2021 23:02:09 +0000 (16:02 -0700)]
locals.parser: try and remove previously broken syntax.

3 years agolocals: use "f <word>".
John Benediktsson [Fri, 19 Mar 2021 22:38:05 +0000 (15:38 -0700)]
locals: use "f <word>".

3 years agomultiline: removing bad-heredoc.
John Benediktsson [Fri, 19 Mar 2021 22:01:46 +0000 (15:01 -0700)]
multiline: removing bad-heredoc.

3 years agoRevert "locals: simplify by merging <def> and <multi-def>."
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.

3 years agolocals: simplify by merging <def> and <multi-def>.
John Benediktsson [Fri, 19 Mar 2021 21:53:45 +0000 (14:53 -0700)]
locals: simplify by merging <def> and <multi-def>.

3 years agolocals: simplify point-free using multi-def.
John Benediktsson [Fri, 19 Mar 2021 21:08:38 +0000 (14:08 -0700)]
locals: simplify point-free using multi-def.

3 years agomisc: add more syntax to the syntax-test.factor.
John Benediktsson [Fri, 19 Mar 2021 18:24:30 +0000 (11:24 -0700)]
misc: add more syntax to the syntax-test.factor.

3 years agomisc/vim: fix SYNTAX: highlighting.
John Benediktsson [Fri, 19 Mar 2021 18:22:31 +0000 (11:22 -0700)]
misc/vim: fix SYNTAX: highlighting.

3 years agomath.text.english: adding some ap-style number conversions.
John Benediktsson [Fri, 19 Mar 2021 18:17:53 +0000 (11:17 -0700)]
math.text.english: adding some ap-style number conversions.

3 years agosequences: simplify flip using fry and map-reduce.
John Benediktsson [Fri, 19 Mar 2021 18:12:26 +0000 (11:12 -0700)]
sequences: simplify flip using fry and map-reduce.

3 years agoformatting: simplify strftime.
John Benediktsson [Fri, 19 Mar 2021 18:03:37 +0000 (11:03 -0700)]
formatting: simplify strftime.

3 years agoeditors.ultraedit: support ultraedit on the mac.
John Benediktsson [Fri, 19 Mar 2021 18:03:11 +0000 (11:03 -0700)]
editors.ultraedit: support ultraedit on the mac.

3 years agohelp.markup: Fix documentation
Giftpflanze [Fri, 19 Mar 2021 17:44:59 +0000 (17:44 +0000)]
help.markup: Fix documentation

3 years agoui.tools.listener.completion: display glyph for CHAR: completions.
John Benediktsson [Fri, 19 Mar 2021 17:39:18 +0000 (10:39 -0700)]
ui.tools.listener.completion: display glyph for CHAR: completions.

3 years agotools.scaffold: choose a vocab-root for scaffold-vocab with a restart.
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.

3 years agosyntax: don't mark-top-level-syntax.
John Benediktsson [Fri, 19 Mar 2021 04:18:29 +0000 (21:18 -0700)]
syntax: don't mark-top-level-syntax.

3 years agocrypto.aes: better sbox literals.
John Benediktsson [Fri, 19 Mar 2021 04:09:45 +0000 (21:09 -0700)]
crypto.aes: better sbox literals.

3 years agomultiline: remove HEREDOC:
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.

3 years agolinked-assocs: rollback to old clone method.
John Benediktsson [Fri, 19 Mar 2021 03:41:03 +0000 (20:41 -0700)]
linked-assocs: rollback to old clone method.

3 years agodecimals: change pprint* to not use formatting.private:format-decimal.
John Benediktsson [Thu, 18 Mar 2021 20:03:43 +0000 (13:03 -0700)]
decimals: change pprint* to not use formatting.private:format-decimal.

3 years agodecimals: adding prettyprint.
John Benediktsson [Thu, 18 Mar 2021 19:47:37 +0000 (12:47 -0700)]
decimals: adding prettyprint.

3 years agoregexp.classes: inline bi* = instead of shadowing "same?".
John Benediktsson [Thu, 18 Mar 2021 19:20:35 +0000 (12:20 -0700)]
regexp.classes: inline bi* = instead of shadowing "same?".

3 years agoregexp.classes: rename substitute to (substitute).
John Benediktsson [Thu, 18 Mar 2021 19:16:52 +0000 (12:16 -0700)]
regexp.classes: rename substitute to (substitute).

3 years agolru-cache: adding lifo-cache.
John Benediktsson [Thu, 18 Mar 2021 19:13:19 +0000 (12:13 -0700)]
lru-cache: adding lifo-cache.

3 years agolinked-assocs: change clone to use (clone).
John Benediktsson [Thu, 18 Mar 2021 19:12:38 +0000 (12:12 -0700)]
linked-assocs: change clone to use (clone).

3 years agolru-cache: adding fifo-cache.
John Benediktsson [Thu, 18 Mar 2021 18:45:57 +0000 (11:45 -0700)]
lru-cache: adding fifo-cache.

3 years agolru-cache: initialize assoc with max-size.
John Benediktsson [Thu, 18 Mar 2021 18:32:16 +0000 (11:32 -0700)]
lru-cache: initialize assoc with max-size.

3 years agotools.scaffold: fix "protocols.foobar" case.
John Benediktsson [Thu, 18 Mar 2021 18:28:28 +0000 (11:28 -0700)]
tools.scaffold: fix "protocols.foobar" case.