]> gitweb.factorcode.org Git - factor.git/log
factor.git
3 years agomisc/vim: some minor fixes.
John Benediktsson [Tue, 29 Sep 2020 17:04:43 +0000 (10:04 -0700)]
misc/vim: some minor fixes.

- fix word definition to have dashes and other printables
- fix private to properly highlight and close the region

3 years agomisc/vim: remove TH{ syntax.
John Benediktsson [Mon, 28 Sep 2020 23:32:33 +0000 (16:32 -0700)]
misc/vim: remove TH{ syntax.

3 years agoRevert "core: Add TH{ for making assoc tuples."
John Benediktsson [Mon, 28 Sep 2020 23:29:43 +0000 (16:29 -0700)]
Revert "core: Add TH{ for making assoc tuples."

This reverts commit e93d8f82bcaee839d261235b85d42e2487feb2f4.

3 years agosequences.extras: fix stack effect for filter-all-subseqs.
John Benediktsson [Mon, 28 Sep 2020 19:30:15 +0000 (12:30 -0700)]
sequences.extras: fix stack effect for filter-all-subseqs.

3 years agobootstrap: rename layouts/layouts.factor to layouts.factor.
John Benediktsson [Sun, 27 Sep 2020 04:29:52 +0000 (21:29 -0700)]
bootstrap: rename layouts/layouts.factor to layouts.factor.

3 years agoclasses.tuple: speed up slots>tuple a bit.
John Benediktsson [Sat, 26 Sep 2020 19:22:02 +0000 (12:22 -0700)]
classes.tuple: speed up slots>tuple a bit.

Only get the initial values that are needed to supplement provided values.

3 years agotalks.tc-lisp-talk: fix typo.
John Benediktsson [Sat, 26 Sep 2020 18:58:03 +0000 (11:58 -0700)]
talks.tc-lisp-talk: fix typo.

3 years agovm: remove -console option, seems not necessary.
John Benediktsson [Sat, 26 Sep 2020 18:46:56 +0000 (11:46 -0700)]
vm: remove -console option, seems not necessary.

3 years agocommand-line: cleanup some documentation, change terminology slightly.
John Benediktsson [Sat, 26 Sep 2020 17:52:32 +0000 (10:52 -0700)]
command-line: cleanup some documentation, change terminology slightly.

Refer to "options" instead of "VM args" or "Factor arguments".

3 years agocompiler.tree.propagation.transforms: document not{ } as well.
John Benediktsson [Sat, 26 Sep 2020 17:29:42 +0000 (10:29 -0700)]
compiler.tree.propagation.transforms: document not{ } as well.

3 years agocompiler.tree.propagation.known-words: fix type in comment.
John Benediktsson [Sat, 26 Sep 2020 17:29:25 +0000 (10:29 -0700)]
compiler.tree.propagation.known-words: fix type in comment.

3 years agoclasses: update with quotation stack effects.
John Benediktsson [Sat, 26 Sep 2020 17:28:35 +0000 (10:28 -0700)]
classes: update with quotation stack effects.

3 years agohints: switch to using instance?.
John Benediktsson [Fri, 25 Sep 2020 18:11:52 +0000 (11:11 -0700)]
hints: switch to using instance?.

3 years agoclasses.builtin: remove bootstrap-type>class.
John Benediktsson [Thu, 24 Sep 2020 02:49:35 +0000 (19:49 -0700)]
classes.builtin: remove bootstrap-type>class.

Not currently used, if adding more builtins maybe useful.

3 years agoclasses.union: speed up instance? on unions of tuple-classes.
John Benediktsson [Thu, 24 Sep 2020 02:32:15 +0000 (19:32 -0700)]
classes.union: speed up instance? on unions of tuple-classes.

3 years agotools.completion: re-add chars-matching, not sure how i removed it.
John Benediktsson [Tue, 22 Sep 2020 20:23:06 +0000 (13:23 -0700)]
tools.completion: re-add chars-matching, not sure how i removed it.

3 years agofonts: simplify reverse-video-font
John Benediktsson [Tue, 22 Sep 2020 20:05:17 +0000 (13:05 -0700)]
fonts: simplify reverse-video-font

3 years agobenchmark.completion: fix use of name-completions.
John Benediktsson [Tue, 22 Sep 2020 18:32:52 +0000 (11:32 -0700)]
benchmark.completion: fix use of name-completions.

3 years agotools.completion: merge qualified and unqualified word completions.
John Benediktsson [Tue, 22 Sep 2020 18:30:43 +0000 (11:30 -0700)]
tools.completion: merge qualified and unqualified word completions.

3 years agotools.completion: allow fuzzy vocab name in qualified-matching.
John Benediktsson [Tue, 22 Sep 2020 18:24:04 +0000 (11:24 -0700)]
tools.completion: allow fuzzy vocab name in qualified-matching.

3 years agotools.completion: support qualified word completions.
John Benediktsson [Tue, 22 Sep 2020 18:12:52 +0000 (11:12 -0700)]
tools.completion: support qualified word completions.

3 years agomath.complex: update test using.
John Benediktsson [Tue, 15 Sep 2020 23:57:29 +0000 (16:57 -0700)]
math.complex: update test using.

3 years agomath.complex: move malformed-complex and parse-complex to math.complex.
John Benediktsson [Tue, 15 Sep 2020 20:24:17 +0000 (13:24 -0700)]
math.complex: move malformed-complex and parse-complex to math.complex.

They were incorrectly defined in syntax vocabulary.

3 years agobasis: removing unnecessary method stack effects.
John Benediktsson [Wed, 9 Sep 2020 21:41:17 +0000 (14:41 -0700)]
basis: removing unnecessary method stack effects.

3 years agocore: removing unnecessary method stack effects.
John Benediktsson [Wed, 9 Sep 2020 18:12:50 +0000 (11:12 -0700)]
core: removing unnecessary method stack effects.

3 years agoeditors.visual-studio-code: Prefer code-insiders on macOS.
Doug Coleman [Thu, 3 Sep 2020 00:07:46 +0000 (19:07 -0500)]
editors.visual-studio-code: Prefer code-insiders on macOS.

3 years agovscode: Prefer code-insiders version if installed.
Doug Coleman [Wed, 2 Sep 2020 22:46:32 +0000 (17:46 -0500)]
vscode: Prefer code-insiders version if installed.

3 years agocuda.libraries: remove duplicate definition of ?delete-at.
John Benediktsson [Tue, 1 Sep 2020 20:20:49 +0000 (13:20 -0700)]
cuda.libraries: remove duplicate definition of ?delete-at.

3 years agoREADME: minor style tweak.
John Benediktsson [Sun, 30 Aug 2020 23:58:16 +0000 (16:58 -0700)]
README: minor style tweak.

3 years agoassocs.extras: better implementation of rekey-new-assoc
Doug Coleman [Sun, 30 Aug 2020 00:06:22 +0000 (19:06 -0500)]
assocs.extras: better implementation of rekey-new-assoc

3 years agoassocs.extra: Add a word to keep only certain keys in an assoc to the same assoc...
Doug Coleman [Sat, 29 Aug 2020 23:43:10 +0000 (18:43 -0500)]
assocs.extra: Add a word to keep only certain keys in an assoc to the same assoc or to a new one.

3 years agobuild.sh: Warn if boot image url is nonexistent when falling back to master.
Doug Coleman [Sat, 29 Aug 2020 23:22:05 +0000 (18:22 -0500)]
build.sh: Warn if boot image url is nonexistent when falling back to master.

3 years agoRevert "build.sh: Fix boot image download to current branch."
Doug Coleman [Sat, 29 Aug 2020 23:04:11 +0000 (18:04 -0500)]
Revert "build.sh: Fix boot image download to current branch."

This reverts commit ec490587e7e4413736e25104cfd9be3da551c191.

I didn't read the code, but the odds of a random branch working with master boot image are pretty low.

3 years agobuild.sh: recognize arm64 linux
Doug Coleman [Thu, 27 Aug 2020 21:47:14 +0000 (16:47 -0500)]
build.sh: recognize arm64 linux

3 years agobuild.sh: Fix boot image download to current branch.
Doug Coleman [Thu, 27 Aug 2020 21:43:38 +0000 (16:43 -0500)]
build.sh: Fix boot image download to current branch.

3 years agodb: Fix using list for walker.
Doug Coleman [Thu, 27 Aug 2020 15:28:12 +0000 (10:28 -0500)]
db: Fix using list for walker.

3 years agoassocs: improve stack effect for delete-at* and ?delete-at.
John Benediktsson [Sun, 23 Aug 2020 20:00:02 +0000 (13:00 -0700)]
assocs: improve stack effect for delete-at* and ?delete-at.

3 years agosodium: add the "bindings" tag
Alexander Iljin [Tue, 4 Aug 2020 08:02:01 +0000 (10:02 +0200)]
sodium: add the "bindings" tag

3 years agomisc: update vim syntax for ?change-at.
John Benediktsson [Mon, 17 Aug 2020 17:14:13 +0000 (10:14 -0700)]
misc: update vim syntax for ?change-at.

3 years agoassocs: adding ?change-at.
John Benediktsson [Mon, 17 Aug 2020 17:08:41 +0000 (10:08 -0700)]
assocs: adding ?change-at.

3 years agocolors.hex: adding an invalid-hex-color error.
John Benediktsson [Mon, 17 Aug 2020 15:04:04 +0000 (08:04 -0700)]
colors.hex: adding an invalid-hex-color error.

3 years agocompiler.tree.escape-analysis.branches: no need for sift.
John Benediktsson [Fri, 14 Aug 2020 20:43:02 +0000 (13:43 -0700)]
compiler.tree.escape-analysis.branches: no need for sift.

3 years agomisc/vim: highlight predicate classes.
John Benediktsson [Fri, 14 Aug 2020 20:28:48 +0000 (13:28 -0700)]
misc/vim: highlight predicate classes.

3 years agomisc: more syntax tests.
John Benediktsson [Fri, 14 Aug 2020 20:22:34 +0000 (13:22 -0700)]
misc: more syntax tests.

3 years agovocabs.parser: faster name lookup.
John Benediktsson [Fri, 14 Aug 2020 18:58:50 +0000 (11:58 -0700)]
vocabs.parser: faster name lookup.

3 years agotools.profiler.sampling: fixing missed rename.
John Benediktsson [Fri, 14 Aug 2020 18:57:27 +0000 (11:57 -0700)]
tools.profiler.sampling: fixing missed rename.

3 years agoRevert "Revert "vm: Allow larger 32bit code heaps.""
John Benediktsson [Fri, 14 Aug 2020 17:47:18 +0000 (10:47 -0700)]
Revert "Revert "vm: Allow larger 32bit code heaps.""

This reverts commit 0c0647f12c30323bfcd9a6eef813147f9aa8d082.

3 years agovm: rename primitive_sampling_profiler to primitive_set_profiling.
John Benediktsson [Fri, 14 Aug 2020 17:40:54 +0000 (10:40 -0700)]
vm: rename primitive_sampling_profiler to primitive_set_profiling.

also rename the private primitives words in tools.profiler.sampling.

3 years agovm: add some allocates memory comments.
John Benediktsson [Fri, 14 Aug 2020 17:27:54 +0000 (10:27 -0700)]
vm: add some allocates memory comments.

3 years agovm: change some bools from cell to bool.
John Benediktsson [Fri, 14 Aug 2020 17:27:18 +0000 (10:27 -0700)]
vm: change some bools from cell to bool.

3 years agoRevert "vm: Allow larger 32bit code heaps."
John Benediktsson [Fri, 14 Aug 2020 17:14:18 +0000 (10:14 -0700)]
Revert "vm: Allow larger 32bit code heaps."

This reverts commit 723e0e2c1a3973e990a61fceaa808bb0b7261d6f.

3 years agoRevert "checksums.multi: make multi-checksum an instance of checksum"
John Benediktsson [Thu, 13 Aug 2020 23:09:31 +0000 (16:09 -0700)]
Revert "checksums.multi: make multi-checksum an instance of checksum"

This reverts commit fbeb409979677a445bedbefa48a47994c4ae9721.

3 years agotools.profiler.sampling: assert that profile-data is created.
John Benediktsson [Thu, 13 Aug 2020 21:50:52 +0000 (14:50 -0700)]
tools.profiler.sampling: assert that profile-data is created.

3 years agoxml.tests: fix USING.
John Benediktsson [Thu, 13 Aug 2020 16:57:29 +0000 (09:57 -0700)]
xml.tests: fix USING.

3 years agofurnace: require chloe-tags when loading furnace framework.
John Benediktsson [Thu, 13 Aug 2020 16:17:43 +0000 (09:17 -0700)]
furnace: require chloe-tags when loading furnace framework.

3 years agoxml.tests: require 8-bit encodings.
John Benediktsson [Thu, 13 Aug 2020 16:17:20 +0000 (09:17 -0700)]
xml.tests: require 8-bit encodings.

3 years agoalien.libraries.finder.macosx: fix test USING.
John Benediktsson [Wed, 12 Aug 2020 22:01:51 +0000 (15:01 -0700)]
alien.libraries.finder.macosx: fix test USING.

3 years agomath.bitwise: remove duplicate logic in bitfield.
John Benediktsson [Wed, 5 Aug 2020 22:57:27 +0000 (15:57 -0700)]
math.bitwise: remove duplicate logic in bitfield.

3 years agoalien.libraries.finder.linux: return fully-qualified path.
John Benediktsson [Wed, 5 Aug 2020 17:59:01 +0000 (10:59 -0700)]
alien.libraries.finder.linux: return fully-qualified path.

3 years agoalien.libraries.finder: cleanup, add windows tests.
John Benediktsson [Wed, 5 Aug 2020 17:58:43 +0000 (10:58 -0700)]
alien.libraries.finder: cleanup, add windows tests.

3 years agocommand-line.startup: print default values for parameters.
John Benediktsson [Tue, 4 Aug 2020 20:30:00 +0000 (13:30 -0700)]
command-line.startup: print default values for parameters.

3 years agoL-system: rename some words to new conventions
Alexander Iljin [Tue, 4 Aug 2020 07:38:53 +0000 (09:38 +0200)]
L-system: rename some words to new conventions

Move the angle brackets from tuple names to their <constructors>.

3 years agoL-system: reformat for brevity
Alexander Iljin [Tue, 4 Aug 2020 07:12:02 +0000 (09:12 +0200)]
L-system: reformat for brevity

3 years agoL-system: use named color constants
Alexander Iljin [Mon, 3 Aug 2020 22:41:22 +0000 (00:41 +0200)]
L-system: use named color constants

3 years agoL-system: fix compilation
Alexander Iljin [Mon, 3 Aug 2020 19:56:59 +0000 (21:56 +0200)]
L-system: fix compilation

3 years agoL-system: resurrect from unmaintained to extra
Alexander Iljin [Tue, 4 Aug 2020 07:42:12 +0000 (09:42 +0200)]
L-system: resurrect from unmaintained to extra

3 years agosyntax-docs: add description of the vocab:word syntax
Alexander Iljin [Sat, 1 Aug 2020 19:49:16 +0000 (21:49 +0200)]
syntax-docs: add description of the vocab:word syntax

3 years agosyntax-docs: fix a typo
Alexander Iljin [Sat, 1 Aug 2020 19:48:40 +0000 (21:48 +0200)]
syntax-docs: fix a typo

3 years agosyntax-docs: remove mention of a nonexistent error
Alexander Iljin [Sat, 1 Aug 2020 13:59:17 +0000 (15:59 +0200)]
syntax-docs: remove mention of a nonexistent error

3 years agototp[-docs]: accept TOTP keys in Base 32 encoding
Alexander Iljin [Wed, 29 Jul 2020 16:48:18 +0000 (18:48 +0200)]
totp[-docs]: accept TOTP keys in Base 32 encoding

Base 32 is the encoding, in which keys are given to Google Authenticator.

3 years agototp[-docs]: change default totp-hash value to SHA-1
Alexander Iljin [Wed, 29 Jul 2020 16:35:25 +0000 (18:35 +0200)]
totp[-docs]: change default totp-hash value to SHA-1

SHA-1 is the hash used by the Google Authenticator application, which this
vocab wanted to imitate in the first place.

3 years agochecksums: inherit checksum-state from disposable
Alexander Iljin [Wed, 29 Jul 2020 16:33:25 +0000 (18:33 +0200)]
checksums: inherit checksum-state from disposable

This allows the inherited tuples, including block-checksum-state, to be
treated like the normal disposable tuples, instead of imitating only part
of the interface.

3 years agochecksums.multi: make multi-checksum an instance of checksum
Alexander Iljin [Wed, 29 Jul 2020 15:08:36 +0000 (17:08 +0200)]
checksums.multi: make multi-checksum an instance of checksum

Previously it was declared to be an instance of block-checksum, which is
not necessarily the case, since the participating checksums don't have to
be block-checksums.

3 years agosequences.extras: move some words to assocs.extras.
John Benediktsson [Mon, 20 Jul 2020 03:18:15 +0000 (20:18 -0700)]
sequences.extras: move some words to assocs.extras.

3 years agosequences.extras: Add {filter,reject}-{keys,values}
Doug Coleman [Sun, 19 Jul 2020 15:40:27 +0000 (10:40 -0500)]
sequences.extras: Add {filter,reject}-{keys,values}

3 years agoio.pathnames-docs: fix a copy-paste error
Alexander Iljin [Mon, 13 Jul 2020 20:32:30 +0000 (22:32 +0200)]
io.pathnames-docs: fix a copy-paste error

3 years agomath-docs: fix `times` documentation
Alexander Iljin [Sat, 13 Jun 2020 11:33:41 +0000 (13:33 +0200)]
math-docs: fix `times` documentation

The word `each` used to loop over integers in the past, but it does not
anymore.

3 years agobuild.sh: Fix update-boot-image help
Doug Coleman [Fri, 3 Jul 2020 19:16:45 +0000 (14:16 -0500)]
build.sh: Fix update-boot-image help

3 years agounix: Add more posix_spawnp and rename fork-process to call-fork.
Doug Coleman [Wed, 1 Jul 2020 02:10:13 +0000 (21:10 -0500)]
unix: Add more posix_spawnp and rename fork-process to call-fork.

- spawn-process will call posix_spawn()
- fork-process will call fork()

The environment variable should be used or else apps like VSCode won't open because the display isn't set.

3 years agovocabs.hierarchy: use ensure-vocab-root/prefix.
John Benediktsson [Sat, 27 Jun 2020 03:19:24 +0000 (20:19 -0700)]
vocabs.hierarchy: use ensure-vocab-root/prefix.

3 years agovocabs.hierarchy: fix (disk-vocabs) on subvocabs.
John Benediktsson [Sat, 27 Jun 2020 03:12:40 +0000 (20:12 -0700)]
vocabs.hierarchy: fix (disk-vocabs) on subvocabs.

3 years agovocabs.hierarchy: Fix typo.
Doug Coleman [Sat, 27 Jun 2020 00:17:11 +0000 (19:17 -0500)]
vocabs.hierarchy: Fix typo.

Closes #2314.

3 years agounix.linux.proc: Add cpuinfo flag "vmx flags".
Doug Coleman [Sat, 27 Jun 2020 00:15:16 +0000 (19:15 -0500)]
unix.linux.proc: Add cpuinfo flag "vmx flags".

Fixes #2315.

I'm not sure how this would have stopped a vocabulary from loading.

cpuinfo flags are in linux kernel repo:
 arch/x86/kernel/cpu/proc.c

3 years agotools.dns.public: Add cloudflare dns
Doug Coleman [Tue, 23 Jun 2020 23:20:39 +0000 (18:20 -0500)]
tools.dns.public: Add cloudflare dns

3 years agosystem-info.macosx: 11.0
Doug Coleman [Mon, 22 Jun 2020 18:49:48 +0000 (13:49 -0500)]
system-info.macosx: 11.0

3 years agosystem-info.macosx: Big Sur
Doug Coleman [Mon, 22 Jun 2020 18:11:06 +0000 (13:11 -0500)]
system-info.macosx: Big Sur

3 years agobuild.sh: Recognize arm64 ipad/appletv.
Doug Coleman [Mon, 15 Jun 2020 22:09:45 +0000 (17:09 -0500)]
build.sh: Recognize arm64 ipad/appletv.

3 years agoRevert "ui.gadgets.borders: don't convert border-loc to fixnum."
John Benediktsson [Mon, 15 Jun 2020 14:35:14 +0000 (07:35 -0700)]
Revert "ui.gadgets.borders: don't convert border-loc to fixnum."

This reverts commit eb7aad96c07200fabbc146c7472c639af66df94a.

3 years agohelp.cookbook: Fix typo.
Doug Coleman [Sat, 13 Jun 2020 13:48:00 +0000 (08:48 -0500)]
help.cookbook: Fix typo.

Fixes #2307.

3 years agomath.bitwise: Fix example for bitfield*
Doug Coleman [Sat, 13 Jun 2020 00:34:25 +0000 (19:34 -0500)]
math.bitwise: Fix example for bitfield*

3 years agomath.bitwise: I can't implement ``bitfield*`` as ``reverse bitfield``
Doug Coleman [Sat, 13 Jun 2020 00:24:02 +0000 (19:24 -0500)]
math.bitwise: I can't implement ``bitfield*`` as ``reverse bitfield``

I don't really know why. Add some tests in the docs and document bitfield*

3 years agoui.backend.cocoa: fix bootstrap -- vocab does not exist.
Doug Coleman [Fri, 12 Jun 2020 23:43:01 +0000 (18:43 -0500)]
ui.backend.cocoa: fix bootstrap -- vocab does not exist.

3 years agovocabs: On use-vocab we should throw an error if the vocabulary does not exist.
Doug Coleman [Fri, 12 Jun 2020 23:23:45 +0000 (18:23 -0500)]
vocabs: On use-vocab we should throw an error if the vocabulary does not exist.

Also ui.pixel-formats.private does not exist so remove that.

Fixes #2298.

3 years agobuild.sh: Add OS detection for Haiku.
Doug Coleman [Wed, 10 Jun 2020 17:05:47 +0000 (17:05 +0000)]
build.sh: Add OS detection for Haiku.

3 years agovim/syntax: Even more fixups.
Dusk [Tue, 9 Jun 2020 21:41:02 +0000 (14:41 -0700)]
vim/syntax: Even more fixups.

|:syn-priority| is respected now, :syn-skip & :syn-keepend are used
when appropriate, newlines don't jank stuff up, comments don't extend
match regions, numbers are much more reliable, and stack effect error
highlights return.

A feature request has even been sent to Bram.
https://github.com/vim/vim/issues/872#issuecomment-641025231

3 years agomisc/vim: change stack effects to not highlight when required
John Benediktsson [Mon, 8 Jun 2020 19:03:54 +0000 (12:03 -0700)]
misc/vim: change stack effects to not highlight when required

This is due to optional requirement in some forms, for example M:.

3 years agoui.tools.listener: re-order emacs keybinding docs.
John Benediktsson [Mon, 8 Jun 2020 18:39:41 +0000 (11:39 -0700)]
ui.tools.listener: re-order emacs keybinding docs.

3 years agomisc/vim: fix NAN: highlighting, and private generic definitions.
John Benediktsson [Mon, 8 Jun 2020 18:38:30 +0000 (11:38 -0700)]
misc/vim: fix NAN: highlighting, and private generic definitions.

3 years agomisc: add private definitions to syntax-test file.
John Benediktsson [Mon, 8 Jun 2020 18:20:44 +0000 (11:20 -0700)]
misc: add private definitions to syntax-test file.

3 years agomisc/vim/syntax: fix private word highlights.
John Benediktsson [Mon, 8 Jun 2020 18:20:27 +0000 (11:20 -0700)]
misc/vim/syntax: fix private word highlights.