]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Mon, 10 Jan 2022 18:57:13 +0000 (10:57 -0800)]
webapps.help: better relative links.
John Benediktsson [Mon, 10 Jan 2022 18:29:10 +0000 (10:29 -0800)]
webapps.help: prevent duplicate styles in template
John Benediktsson [Mon, 10 Jan 2022 18:13:25 +0000 (10:13 -0800)]
Revert "alien: better resetting and forgetting."
This reverts commit
db4d090b1046e59b99cfba20e35abdb8fd6252c2 .
John Benediktsson [Mon, 10 Jan 2022 18:10:44 +0000 (10:10 -0800)]
webapps.help: fix silly typo.
John Benediktsson [Mon, 10 Jan 2022 18:10:04 +0000 (10:10 -0800)]
webapps.help: need boilerplate for t:style support
John Benediktsson [Mon, 10 Jan 2022 17:53:38 +0000 (09:53 -0800)]
webapps.help: use the same CSS.
John Benediktsson [Mon, 10 Jan 2022 17:28:46 +0000 (09:28 -0800)]
alien: better resetting and forgetting.
John Benediktsson [Mon, 10 Jan 2022 16:36:24 +0000 (08:36 -0800)]
webapps.wiki: setting no-follow by default
John Benediktsson [Mon, 10 Jan 2022 16:34:13 +0000 (08:34 -0800)]
farkup: fix check-url reversed comparison
John Benediktsson [Mon, 10 Jan 2022 04:05:04 +0000 (20:05 -0800)]
Revert "webapps.wiki: print absolute urls as no-follow by default."
This reverts commit
15d539765ebff8dee38ec5094e7a47637d01641e .
John Benediktsson [Mon, 10 Jan 2022 03:56:28 +0000 (19:56 -0800)]
farkup: invalid absolute urls don't need nofollow
John Benediktsson [Mon, 10 Jan 2022 03:49:43 +0000 (19:49 -0800)]
webapps.wiki: print absolute urls as no-follow by default.
John Benediktsson [Mon, 10 Jan 2022 03:46:27 +0000 (19:46 -0800)]
farkup: only absolute urls should be no-follow.
John Benediktsson [Mon, 10 Jan 2022 03:23:06 +0000 (19:23 -0800)]
editors: use reload instead of require
this lets you re-run top-level code which currently sets the editor
class as a side effect.
John Benediktsson [Mon, 10 Jan 2022 00:18:10 +0000 (16:18 -0800)]
binhex: initial version of BinHex 4.0 encoding/decoding
Doug Coleman [Sun, 9 Jan 2022 19:53:35 +0000 (13:53 -0600)]
jamshred: Don't (move-player) in a tight loop.
Add ESC as quit
Fixes #1910
John Benediktsson [Sun, 9 Jan 2022 17:48:59 +0000 (09:48 -0800)]
vm: macosx re-add the else/if block for symlinked executable
John Benediktsson [Sun, 9 Jan 2022 17:42:26 +0000 (09:42 -0800)]
vm: only set cwd when not on a terminal
Rudi Grinberg [Sun, 9 Jan 2022 07:53:46 +0000 (00:53 -0700)]
add xdg-state-dir
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
ps-id:
F8159B75 -B5E7-4700-8D15-
ABA1DD27EF1B
Rudi Grinberg [Sun, 9 Jan 2022 05:23:09 +0000 (22:23 -0700)]
add PATCH http method
ps-id:
4B1F8D46 -147C-4C89-8318-
074F328E564D
John Benediktsson [Sun, 9 Jan 2022 04:29:00 +0000 (20:29 -0800)]
vm: setting current directory when launching Factor.app
John Benediktsson [Sun, 9 Jan 2022 03:45:53 +0000 (19:45 -0800)]
words: use remove-word-prop instead of f set-word-prop.
John Benediktsson [Sun, 9 Jan 2022 03:39:20 +0000 (19:39 -0800)]
words.constant: store true for "constant" word prop
Fixes ``CONSTANT: foo f``
John Benediktsson [Sun, 9 Jan 2022 03:39:08 +0000 (19:39 -0800)]
unix.scheduler.macosx: fix stack effect for help-lint
Cat Stevens [Sun, 9 Jan 2022 02:08:59 +0000 (21:08 -0500)]
unix.scheduler: small new vocab to get Unix scheduler info
The unix.scheduler vocabulary currently implements a subset
of the functions specified by POSIX to exist in the
<sched.h> header.
This subset is needed to provide important functionality to
the upcoming posix-spawn backend for io.launcher and
the <process> interface.
John Benediktsson [Sun, 9 Jan 2022 02:54:12 +0000 (18:54 -0800)]
vocabs.cache: reset all-authors and all-tags also.
Doug Coleman [Sun, 9 Jan 2022 01:32:51 +0000 (19:32 -0600)]
vocabs.cache: Reset the all-disk-vocabs-recursive memoized every time a vocab is loaded.
Test case if "fuel.pprint" is not loaded:
all-disk-vocabs-recursive filter-vocabs [ vocab-name "fuel.pprint" = ] filter
"fuel.pprint" load
all-disk-vocabs-recursive filter-vocabs [ vocab-name "fuel.pprint" = ] filter
! vocab-link
! vocab
Fixes #2545
John Benediktsson [Sat, 8 Jan 2022 22:05:14 +0000 (14:05 -0800)]
ui.tools.listener.completion: fix color for vocab completions
Doug Coleman [Sat, 8 Jan 2022 21:28:29 +0000 (15:28 -0600)]
windows.errors: remove one more unused error function
Doug Coleman [Sat, 8 Jan 2022 21:23:59 +0000 (15:23 -0600)]
windows.erros: Remove some unused error handling words.
John Benediktsson [Sat, 8 Jan 2022 17:04:14 +0000 (09:04 -0800)]
memoize: fix pprint of IDENTITY-MEMO: words
John Benediktsson [Sat, 8 Jan 2022 00:59:32 +0000 (16:59 -0800)]
math.extras: adding Stein's algorithm
Doug Coleman [Thu, 6 Jan 2022 16:24:51 +0000 (10:24 -0600)]
vocabs.loader: fix vocab:path to use an existing path
This particular path would have been found in core/ if it did
not exist in basis/ already.
Fixes bootstrap
Doug Coleman [Thu, 6 Jan 2022 05:21:02 +0000 (23:21 -0600)]
io.pathnames: Allow vocab: to find paths that do not exist as long as the vocab exists.
`"benchmark/sum-file/sum-file.txt" vocab-path` can now reference a file
in a vocab.
Add `has-path-extension?` word which ensures a path is not a
directory (does not end in / or any path-separator), and if
that's the case then it is true if there's a dot in the file name.
The cases we check in vocab-path (triggered with vocab:)
- if path ends in /, we assume it must be a vocab that exists
-- you can't create a vocab that doesn't exist with vocab:foo syntax
because there the root is ambiguous
- if path has extension, we assume it's a file name and allow it
to look up if the parent vocabulary exists
- finally we just try the current behavior, e.g. the vocab has
to exist
Added a lot of tests, please file bugs if you disagree!
Fixes #592.
John Benediktsson [Thu, 6 Jan 2022 01:27:52 +0000 (17:27 -0800)]
ui.gadgets.scrollers: use relayout-1 in scroll>* methods
Doug Coleman [Thu, 6 Jan 2022 03:53:44 +0000 (21:53 -0600)]
vocabs.loader: Delete errors after using list is fixed with restarts.
If a vocabulary needs restarts to fix its using list and that
vocabulary is used from another vocabulary that then recompiles,
the restarts were left in the `errorlist` hash even if they were
fixed. This caused that error to be again thrown and parsing to
resume at the end of the file.
The fix is to remove the errors from the errorlist whenever a
vocabulary finishes loading successfully.
Related to #444.
John Benediktsson [Wed, 5 Jan 2022 15:54:46 +0000 (07:54 -0800)]
Revert "html.templates: remove the stream-copy version of call-template*"
This reverts commit
a52dd48b04e9131dacf944e6af32798e9779ccf1 .
John Benediktsson [Wed, 5 Jan 2022 04:15:02 +0000 (20:15 -0800)]
html.templates: remove the stream-copy version of call-template*
John Benediktsson [Wed, 5 Jan 2022 04:10:20 +0000 (20:10 -0800)]
misc/vim: update generated syntax.
John Benediktsson [Wed, 5 Jan 2022 03:43:16 +0000 (19:43 -0800)]
html.templates: call-template* should not dispose the streams
we may want to write to the output-stream after calling the template.
Doug Coleman [Wed, 5 Jan 2022 01:27:24 +0000 (19:27 -0600)]
io.sockets.secure.openssl: fix when SSL_read returns 0.
SSL_read returns 0 which is an error condition, and SSL_get_error
returns 6 which is SSL_ERROR_ZERO_RETURN. In this case, we just need
to do nothing instead of setting ``f >>connected`` which would cause
the socket to attempt a reconnect.
test case:
USE: gemini
"gemini://gemini.circumlunar.space" gemini.
Fixes #2540
John Benediktsson [Tue, 4 Jan 2022 23:34:44 +0000 (15:34 -0800)]
benchmark.fib6: assert result
John Benediktsson [Tue, 4 Jan 2022 23:28:31 +0000 (15:28 -0800)]
ui.backend.cocoa.views: leave prepareOpenGL for now
John Benediktsson [Tue, 4 Jan 2022 23:08:59 +0000 (15:08 -0800)]
ui.backend.cocoa.views: fix retina in deploy images
this is a workaround for some kind of issue using globals
in the objc alien callbacks inside of deployed images.
John Benediktsson [Tue, 4 Jan 2022 23:07:59 +0000 (15:07 -0800)]
fixups: add init-namespaces.
John Benediktsson [Tue, 4 Jan 2022 23:07:11 +0000 (15:07 -0800)]
namespaces: rename init-namespaces to init-namestack
John Benediktsson [Tue, 4 Jan 2022 21:19:20 +0000 (13:19 -0800)]
ui.backend.cocoa.views: clear cached-lines in windowDidChangeBackingProperties:
Alexander Ilin [Tue, 4 Jan 2022 00:11:58 +0000 (01:11 +0100)]
boolean-expr: add some more expression simplification rules
Add some tests and comments.
Alexander Ilin [Mon, 3 Jan 2022 21:55:50 +0000 (22:55 +0100)]
boolean-expr: fix the implication implementation
John Benediktsson [Mon, 3 Jan 2022 20:47:10 +0000 (12:47 -0800)]
ui.gadgets.borders: round border-pref-dim
John Benediktsson [Mon, 3 Jan 2022 20:32:55 +0000 (12:32 -0800)]
basis/extra: use remove in a few places
John Benediktsson [Mon, 3 Jan 2022 20:32:03 +0000 (12:32 -0800)]
core-text: remove retina? flag in favor of gl-scale-factor
Alexander Ilin [Mon, 3 Jan 2022 20:12:22 +0000 (21:12 +0100)]
boolean-expr: eliminate double negations
Alexander Ilin [Wed, 30 Dec 2020 17:18:58 +0000 (18:18 +0100)]
io.launcher-docs: fix example code to match its description
Alexander Ilin [Wed, 30 Dec 2020 19:07:39 +0000 (20:07 +0100)]
contributors: add a contributor alias
Alexander Ilin [Thu, 31 Dec 2020 08:20:15 +0000 (09:20 +0100)]
hello-unicode: change Russian greeting to informal to match the other ones
Alexander Ilin [Mon, 3 Jan 2022 18:44:42 +0000 (19:44 +0100)]
totp: add 2022 to the copyright years
Alexander Ilin [Sun, 2 Jan 2022 01:53:14 +0000 (02:53 +0100)]
totp: ignore spaces in the key string
John Benediktsson [Mon, 3 Jan 2022 19:44:25 +0000 (11:44 -0800)]
Revert "Revert "math.parser: faster hex-string conversions with less bounds checking.""
This reverts commit
44d403230f8ccca79c95116ee57504a134e9e502 .
John Benediktsson [Mon, 3 Jan 2022 18:52:38 +0000 (10:52 -0800)]
Revert "math.parser: faster hex-string conversions with less bounds checking."
This reverts commit
89a8817c170c1539a735fa6f3e6ab302d9674e5a .
John Benediktsson [Mon, 3 Jan 2022 15:46:06 +0000 (07:46 -0800)]
basis/extra: removing unnecessary IN: statements.
John Benediktsson [Mon, 3 Jan 2022 15:26:13 +0000 (07:26 -0800)]
math.parser: faster hex-string conversions with less bounds checking.
John Benediktsson [Mon, 3 Jan 2022 15:24:30 +0000 (07:24 -0800)]
calendar: adding days-since.
John Benediktsson [Mon, 3 Jan 2022 04:57:12 +0000 (20:57 -0800)]
images.processing.rotation: fix "separate" typo.
John Benediktsson [Mon, 3 Jan 2022 04:53:08 +0000 (20:53 -0800)]
ui.tools.traceback: fix use of error-in-pprint.
John Benediktsson [Mon, 3 Jan 2022 04:43:06 +0000 (20:43 -0800)]
prettyprint.sections: better pprint-error.
Doug Coleman [Mon, 3 Jan 2022 04:41:03 +0000 (22:41 -0600)]
syntax: auto-use should set the global namespace so it works with the
command-line listener
John Benediktsson [Mon, 3 Jan 2022 04:39:20 +0000 (20:39 -0800)]
prettyprint: change how we trap pprint errors.
Doug Coleman [Mon, 3 Jan 2022 03:54:04 +0000 (21:54 -0600)]
command-line: Clear errors for rc files before running.
Dont' forget to notify observers or else the f3 window will be clear
but the Listener window bottom banner will still show the errors.
Fixes #2537.
Doug Coleman [Mon, 3 Jan 2022 03:29:25 +0000 (21:29 -0600)]
ui.tools: make alt-f4 only close one window at a time.
Fixes #2538.
John Benediktsson [Mon, 3 Jan 2022 01:53:53 +0000 (17:53 -0800)]
tools.completion: fix help-lint warning.
John Benediktsson [Mon, 3 Jan 2022 00:57:52 +0000 (16:57 -0800)]
ui.tools.listener: no-delay on completion tooltip.
John Benediktsson [Mon, 3 Jan 2022 00:56:47 +0000 (16:56 -0800)]
tools.completion: slightly faster.
John Benediktsson [Sun, 2 Jan 2022 23:46:06 +0000 (15:46 -0800)]
splitting.monotonic: slightly faster.
John Benediktsson [Sun, 2 Jan 2022 20:09:47 +0000 (12:09 -0800)]
tools.completion: adding some test cases for complete-pathname?.
John Benediktsson [Sun, 2 Jan 2022 19:59:28 +0000 (11:59 -0800)]
tools.completion: make P"~/" complete properly.
John Benediktsson [Sun, 2 Jan 2022 19:24:12 +0000 (11:24 -0800)]
ui.tools.listener.completion: make accept-completion easier to understand.
John Benediktsson [Sun, 2 Jan 2022 19:18:19 +0000 (11:18 -0800)]
ui.tools.listener: need to check vocab and manifest not vocab and word.
John Benediktsson [Sun, 2 Jan 2022 18:30:07 +0000 (10:30 -0800)]
ui.tools.listener.completion: sigh.
John Benediktsson [Sun, 2 Jan 2022 18:05:23 +0000 (10:05 -0800)]
ui.backend.cocoa: disable theme switching temporarily.
(trying to understand a deploy test failure).
John Benediktsson [Sun, 2 Jan 2022 17:21:57 +0000 (09:21 -0800)]
ui.tools.listener.completion: fix completion for P".
John Benediktsson [Sun, 2 Jan 2022 17:05:20 +0000 (09:05 -0800)]
misc/vim: adding underscore number syntax support.
John Benediktsson [Sun, 2 Jan 2022 17:00:50 +0000 (09:00 -0800)]
ui.theme: remove delegate protocol for now.
John Benediktsson [Sun, 2 Jan 2022 16:44:54 +0000 (08:44 -0800)]
listener: fix call effect names for error-hook.
Doug Coleman [Sun, 2 Jan 2022 15:28:30 +0000 (09:28 -0600)]
unix.types.linux: fix using
Doug Coleman [Sun, 2 Jan 2022 06:04:31 +0000 (00:04 -0600)]
unix: Fix sigset_t for linux/macos.
Related to #2535
Doug Coleman [Sun, 2 Jan 2022 02:20:53 +0000 (20:20 -0600)]
fuel/strange-syntax: Add underscore numbers
Doug Coleman [Sun, 2 Jan 2022 04:04:30 +0000 (22:04 -0600)]
unix.process: define the posix_spawnattr_t and sigset_t types
We would like these structs to be opaque, but since we have
to pass them into functions for initialization we have to define
them.
Note: sigset_t is a ulong on macOS.
Related to #2535
John Benediktsson [Sun, 2 Jan 2022 03:35:26 +0000 (19:35 -0800)]
misc/vim: update vim syntax.
John Benediktsson [Sun, 2 Jan 2022 03:32:03 +0000 (19:32 -0800)]
help.markup: adding $vocab-subsections which renders nicer.
John Benediktsson [Sun, 2 Jan 2022 03:22:30 +0000 (19:22 -0800)]
ui.backend.cocoa.views: trap and print errors in drawRect.
John Benediktsson [Sun, 2 Jan 2022 01:45:39 +0000 (17:45 -0800)]
colors: change color class to a mixin.
John Benediktsson [Sun, 2 Jan 2022 01:45:07 +0000 (17:45 -0800)]
syntax: document underscore numbers.
John Benediktsson [Sun, 2 Jan 2022 00:51:17 +0000 (16:51 -0800)]
ui.render: use gl-clear.
John Benediktsson [Sun, 2 Jan 2022 00:49:46 +0000 (16:49 -0800)]
Revert "ui.backend.cocoa: disable appearance changing temporarily."
This reverts commit
551608a8d7bb5b5d0d7b0357738e79a54efc4754 .
John Benediktsson [Sun, 2 Jan 2022 00:49:21 +0000 (16:49 -0800)]
colors: need to have alpha>>.
John Benediktsson [Sun, 2 Jan 2022 00:35:14 +0000 (16:35 -0800)]
ui.backend.cocoa: disable appearance changing temporarily.
John Benediktsson [Sat, 1 Jan 2022 23:52:48 +0000 (15:52 -0800)]
endian: adding endian docs.
John Benediktsson [Sat, 1 Jan 2022 23:52:34 +0000 (15:52 -0800)]
colors: merge colors.constants and colors.hex.
John Benediktsson [Sat, 1 Jan 2022 20:34:11 +0000 (12:34 -0800)]
colors.hex: better prettyprinting of HEXCOLOR: colors.