]> gitweb.factorcode.org Git - factor.git/log
factor.git
8 months agolcd: fix initial window size by adding one extra space on the right
Alexander Ilin [Wed, 16 Aug 2023 23:43:02 +0000 (01:43 +0200)]
lcd: fix initial window size by adding one extra space on the right

The added space balances the space on the left of every digit, which makes
for the symmetric initial window size.

8 months agolcd: fix alignment of digits 1, 2 and 3
Alexander Ilin [Wed, 16 Aug 2023 23:41:22 +0000 (01:41 +0200)]
lcd: fix alignment of digits 1, 2 and 3

The 1, 3 and 7 only _look_ like the have too much whitespace to the left
because their leftmost segments are empty. This appearance lead to
incorrect placement of 1 and 3 in the constants.

8 months agotimers-docs: fix wording in an article
Alexander Ilin [Wed, 16 Aug 2023 11:28:54 +0000 (13:28 +0200)]
timers-docs: fix wording in an article

8 months agosequences.extras: add more parameter range checks to exchange-subseq
Alexander Ilin [Wed, 16 Aug 2023 01:32:49 +0000 (03:32 +0200)]
sequences.extras: add more parameter range checks to exchange-subseq

Make sure negative values are not accepted for sequence indices.

8 months agosequences.extras: add exchange-subseq
Alexander Ilin [Wed, 16 Aug 2023 01:01:50 +0000 (03:01 +0200)]
sequences.extras: add exchange-subseq

8 months agoui.gadgets.flex-borders: add documentation
Alexander Ilin [Tue, 15 Aug 2023 12:22:54 +0000 (14:22 +0200)]
ui.gadgets.flex-borders: add documentation

8 months agowipe.ui: tag the vocab with the windows platform
Alexander Ilin [Mon, 14 Aug 2023 22:45:55 +0000 (00:45 +0200)]
wipe.ui: tag the vocab with the windows platform

8 months agowipe-docs: fix an issue detected by help-lint
Alexander Ilin [Mon, 14 Aug 2023 22:09:34 +0000 (00:09 +0200)]
wipe-docs: fix an issue detected by help-lint

8 months agowipe: update copyright year
Alexander Ilin [Mon, 14 Aug 2023 21:48:56 +0000 (23:48 +0200)]
wipe: update copyright year

8 months agowipe.windows: move Windows-specific functionality to the new vocab
Alexander Ilin [Mon, 14 Aug 2023 21:41:27 +0000 (23:41 +0200)]
wipe.windows: move Windows-specific functionality to the new vocab

8 months agoopenssl.libssl: update test
Doug Coleman [Mon, 14 Aug 2023 21:33:01 +0000 (16:33 -0500)]
openssl.libssl: update test

8 months agowipe: remove the obsolete "findus" subsystem name
Alexander Ilin [Mon, 14 Aug 2023 21:01:06 +0000 (23:01 +0200)]
wipe: remove the obsolete "findus" subsystem name

8 months agowipe: new vocab for wiping file contents
Alexander Ilin [Mon, 14 Aug 2023 20:52:30 +0000 (22:52 +0200)]
wipe: new vocab for wiping file contents

8 months agoui.windows.drop-target: new vocab
Alexander Ilin [Mon, 14 Aug 2023 20:49:36 +0000 (22:49 +0200)]
ui.windows.drop-target: new vocab

8 months agoui.gadgets.flex-border: new vocab
Alexander Ilin [Mon, 14 Aug 2023 20:49:01 +0000 (22:49 +0200)]
ui.gadgets.flex-border: new vocab

8 months agoAdd: cpu.arm.64
Giftpflanze [Mon, 14 Aug 2023 20:11:16 +0000 (22:11 +0200)]
Add: cpu.arm.64

8 months agoformat-using: fix test
John Benediktsson [Mon, 14 Aug 2023 19:02:10 +0000 (12:02 -0700)]
format-using: fix test

8 months agohtml.streams: describe test case should check result
John Benediktsson [Mon, 14 Aug 2023 18:06:21 +0000 (11:06 -0700)]
html.streams: describe test case should check result

8 months agohtml: adding some tests
John Benediktsson [Mon, 14 Aug 2023 17:55:03 +0000 (10:55 -0700)]
html: adding some tests

8 months agohtml: fix over-encoding already encoded urls
John Benediktsson [Mon, 14 Aug 2023 17:50:29 +0000 (10:50 -0700)]
html: fix over-encoding already encoded urls

8 months agoio.sockets.secure.openssl: don't ignore-unexpected-eof on macos
John Benediktsson [Mon, 14 Aug 2023 17:19:43 +0000 (10:19 -0700)]
io.sockets.secure.openssl: don't ignore-unexpected-eof on macos

8 months agoclasses.struct.prettyprint: adding vocabs.prettyprint for pprint-; change
John Benediktsson [Mon, 14 Aug 2023 17:04:00 +0000 (10:04 -0700)]
classes.struct.prettyprint: adding vocabs.prettyprint for pprint-; change

8 months agoprettyprint.sections: add default long-section implementation
Alexander Ilin [Sun, 13 Aug 2023 19:21:54 +0000 (21:21 +0200)]
prettyprint.sections: add default long-section implementation

Make all section descendants call short-section in the default
implementation of the long-section. This removes some redundant
definitions.

8 months agoformat-using: avoid creating unused strings
Alexander Ilin [Sun, 13 Aug 2023 16:08:50 +0000 (18:08 +0200)]
format-using: avoid creating unused strings

Simply get the length if that's all that is needed.

8 months agosee, vocabs.prettyprint: move pprint-; between vocabs
Alexander Ilin [Sun, 13 Aug 2023 15:49:35 +0000 (17:49 +0200)]
see, vocabs.prettyprint: move pprint-; between vocabs

8 months agoformat-using: use the prettyprint configuration for indent and width-limit
Alexander Ilin [Sun, 13 Aug 2023 13:29:00 +0000 (15:29 +0200)]
format-using: use the prettyprint configuration for indent and width-limit

8 months agoformat-using: add a couple of trivial unit-tests
Alexander Ilin [Sun, 13 Aug 2023 12:07:18 +0000 (14:07 +0200)]
format-using: add a couple of trivial unit-tests

8 months agoformat-using: inline a word
Alexander Ilin [Sun, 13 Aug 2023 11:50:29 +0000 (13:50 +0200)]
format-using: inline a word

Replace "bi@ =" with "same?" as suggested by lint.

8 months agoformat-using: factor out some repeated code
Alexander Ilin [Sun, 13 Aug 2023 11:36:12 +0000 (13:36 +0200)]
format-using: factor out some repeated code

8 months agoformat-using: remove an extra space character
Alexander Ilin [Sun, 13 Aug 2023 11:34:43 +0000 (13:34 +0200)]
format-using: remove an extra space character

8 months agoformat-using: add a big unit-test
Alexander Ilin [Sat, 12 Aug 2023 22:23:55 +0000 (00:23 +0200)]
format-using: add a big unit-test

8 months agoformat-using: rename add-costs to cost+
Alexander Ilin [Sat, 12 Aug 2023 22:23:13 +0000 (00:23 +0200)]
format-using: rename add-costs to cost+

8 months agoformat-using: new vocab
Alexander Ilin [Sat, 12 Aug 2023 21:41:41 +0000 (23:41 +0200)]
format-using: new vocab

8 months agowords-docs: fix table formatting
Alexander Ilin [Sat, 12 Aug 2023 17:15:54 +0000 (19:15 +0200)]
words-docs: fix table formatting

8 months agoopenssl.libssl: add to test and make it not care how long the array is
Doug Coleman [Sat, 12 Aug 2023 17:05:37 +0000 (12:05 -0500)]
openssl.libssl: add to test and make it not care how long the array is

8 months agoio.sockets.secure.openssl: better name for adding a flag, add clear flag
Doug Coleman [Sat, 12 Aug 2023 17:05:16 +0000 (12:05 -0500)]
io.sockets.secure.openssl: better name for adding a flag, add clear flag

8 months agosequences: add link to none? and related-words it
Doug Coleman [Sat, 12 Aug 2023 17:04:37 +0000 (12:04 -0500)]
sequences: add link to none? and related-words it

8 months agoeditors.nova: fix opening to line number
John Benediktsson [Sat, 12 Aug 2023 15:25:10 +0000 (08:25 -0700)]
editors.nova: fix opening to line number

8 months agoio.sockets.secure.unix: fix using and disable test
Doug Coleman [Sat, 12 Aug 2023 05:46:40 +0000 (00:46 -0500)]
io.sockets.secure.unix: fix using and disable test

8 months agoio.sockets.secure: call ERR_clear_error before some SSL functions
Doug Coleman [Sat, 12 Aug 2023 05:36:43 +0000 (00:36 -0500)]
io.sockets.secure: call ERR_clear_error before some SSL functions

Apparently you should do this all the time?

https://stackoverflow.com/questions/18179128/how-to-manage-the-error-queue-in-openssl-ssl-get-error-and-err-get-error

8 months agoio.sockets.secure.openssl: ignore unexpected eof error
Doug Coleman [Sat, 12 Aug 2023 05:32:45 +0000 (00:32 -0500)]
io.sockets.secure.openssl: ignore unexpected eof error

some web servers close the socket early. we want to not error out
if this happens. there is a potential of a truncation attack;
we should investigate that.

fixes #2806

8 months agoopenssl.libssl: add more flags like SSL_OP_IGNORE_UNEXPECTED_EOF
Doug Coleman [Sat, 12 Aug 2023 05:32:05 +0000 (00:32 -0500)]
openssl.libssl: add more flags like SSL_OP_IGNORE_UNEXPECTED_EOF

8 months agobson: remove an unnecessary if* call
Alexander Ilin [Thu, 10 Aug 2023 23:38:51 +0000 (01:38 +0200)]
bson: remove an unnecessary if* call

`f length 0 =` anyway.

8 months agohash-sets: add intern
Alexander Ilin [Fri, 11 Aug 2023 23:27:57 +0000 (01:27 +0200)]
hash-sets: add intern

8 months agoDisable DYLD validation
Alexandre Rousseau [Fri, 11 Aug 2023 04:29:25 +0000 (00:29 -0400)]
Disable DYLD validation

8 months agoAllow dynamic linker environment variable usage
Alexandre Rousseau [Fri, 11 Aug 2023 01:23:35 +0000 (21:23 -0400)]
Allow dynamic linker environment variable usage

8 months agoUpdating links to use https
John Benediktsson [Thu, 10 Aug 2023 23:38:21 +0000 (16:38 -0700)]
Updating links to use https

8 months agohelp.tour: fix typos: "ahouls" -> "should"
Alexander Ilin [Wed, 9 Aug 2023 17:02:51 +0000 (19:02 +0200)]
help.tour: fix typos: "ahouls" -> "should"

9 months agorosetta-code.balanced-brackets: add full task implementation
Alexander Ilin [Tue, 8 Aug 2023 03:00:21 +0000 (05:00 +0200)]
rosetta-code.balanced-brackets: add full task implementation

Add the random string generation according to the task description, and the
sample result output. Reimplement the solution without using locals.

9 months agoui.gadgets.tables: adds ctrl-p/n for row selection
inivekin [Sat, 5 Aug 2023 09:33:38 +0000 (17:33 +0800)]
ui.gadgets.tables: adds ctrl-p/n for row selection

9 months agoGNUmakefile: add 'help' to the list of phony targets
Alexander Ilin [Fri, 4 Aug 2023 20:05:13 +0000 (22:05 +0200)]
GNUmakefile: add 'help' to the list of phony targets

9 months agoio.sockets.scure.openssl: refactor some openssl code
Doug Coleman [Mon, 31 Jul 2023 04:17:22 +0000 (23:17 -0500)]
io.sockets.scure.openssl: refactor some openssl code

9 months agoopenssl.libssl: more constants
Doug Coleman [Mon, 31 Jul 2023 02:55:17 +0000 (21:55 -0500)]
openssl.libssl: more constants

9 months agoopenai.ui: fix help-lint warning
John Benediktsson [Sun, 30 Jul 2023 23:08:53 +0000 (16:08 -0700)]
openai.ui: fix help-lint warning

9 months agoio.crlf: tweak the interface slightly
John Benediktsson [Sun, 30 Jul 2023 22:56:53 +0000 (15:56 -0700)]
io.crlf: tweak the interface slightly

9 months agoio.crlf: add use-crlf to support output streams with CRLF for EOL
Alexander Ilin [Thu, 22 Jun 2023 16:58:43 +0000 (18:58 +0200)]
io.crlf: add use-crlf to support output streams with CRLF for EOL

9 months agoreference the stack-height requirement in unbalanced-branches-error
Alex Maestas [Sat, 2 Apr 2022 01:40:22 +0000 (01:40 +0000)]
reference the stack-height requirement in unbalanced-branches-error

this partially addresses issue #2600

9 months agoopenai.gui: move to openai.ui and fix usings
John Benediktsson [Sun, 30 Jul 2023 20:39:34 +0000 (13:39 -0700)]
openai.gui: move to openai.ui and fix usings

9 months agoui.tools.listener.log: move to extra/
John Benediktsson [Sun, 30 Jul 2023 20:37:16 +0000 (13:37 -0700)]
ui.tools.listener.log: move to extra/

9 months agoAdded a simple GUI interface for openai (#2787)
Dave Carlton [Sun, 30 Jul 2023 20:36:28 +0000 (15:36 -0500)]
Added a simple GUI interface for openai (#2787)

* Added a simple GUI interface for openai

* Change >B to use .s

Redo sloppy code

* Renamed openai-gui to gui

* Added logging to a listener window for debugging when walker is not available.

* Ignore git-id file created by save-git-id in mason.build

9 months agobrain-flak vocabulary
olus2000 [Sun, 30 Jul 2023 18:11:45 +0000 (20:11 +0200)]
brain-flak vocabulary

9 months agoproject-euler.508: ranges
John Benediktsson [Sun, 30 Jul 2023 14:55:10 +0000 (07:55 -0700)]
project-euler.508: ranges

9 months ago*-docs: spell "co-ordinate" without the hyphen
Alexander Ilin [Sun, 30 Jul 2023 10:40:34 +0000 (12:40 +0200)]
*-docs: spell "co-ordinate" without the hyphen

9 months agoproject-euler.508: fix ranges
John Benediktsson [Sun, 30 Jul 2023 06:11:09 +0000 (23:11 -0700)]
project-euler.508: fix ranges

9 months agoproject-euler.508: [space] not [tab]
John Benediktsson [Sun, 30 Jul 2023 01:33:12 +0000 (18:33 -0700)]
project-euler.508: [space] not [tab]

9 months agoproject-euler.508: fix using
John Benediktsson [Sun, 30 Jul 2023 01:13:42 +0000 (18:13 -0700)]
project-euler.508: fix using

9 months agoAdded solution to Project Euler problem 508
RibozymeR [Sat, 29 Jul 2023 21:57:11 +0000 (23:57 +0200)]
Added solution to Project Euler problem 508

9 months agoChanged a spelling
RibozymeR [Sat, 29 Jul 2023 21:30:57 +0000 (23:30 +0200)]
Changed a spelling

9 months agoAdded a solution to Project Euler problem 463 to vocabulary `project-euler`
Cecilia Knäbchen [Sat, 29 Jul 2023 21:21:20 +0000 (23:21 +0200)]
Added a solution to Project Euler problem 463 to vocabulary `project-euler`

9 months agoraylib.demo: allow diagonal movement
Doug Coleman [Sat, 29 Jul 2023 21:04:46 +0000 (16:04 -0500)]
raylib.demo: allow diagonal movement

9 months agoraylib: SetCameraMode was removed, update api
Doug Coleman [Sat, 29 Jul 2023 20:53:39 +0000 (15:53 -0500)]
raylib: SetCameraMode was removed, update api

9 months agobuild-from-source.windows: build raygui.dll
Doug Coleman [Sat, 29 Jul 2023 20:39:06 +0000 (15:39 -0500)]
build-from-source.windows: build raygui.dll

9 months agoCONTRIBUTING: fix run-together bullet points
Josh Holland [Wed, 12 Jul 2023 18:14:14 +0000 (19:14 +0100)]
CONTRIBUTING: fix run-together bullet points

9 months agowindows.dragdrop-listener-docs: fix documentation and add $code samples
Alexander Ilin [Mon, 24 Jul 2023 22:16:56 +0000 (00:16 +0200)]
windows.dragdrop-listener-docs: fix documentation and add $code samples

9 months agocombinators.extras: Fix Incorrect Stack Effects
Capital-EX [Mon, 24 Jul 2023 03:16:27 +0000 (23:16 -0400)]
combinators.extras: Fix Incorrect Stack Effects

The stack effect for `4quad@`, `3quad@`, `2quad@`, and `3tri@` were incorrect.

9 months agoio.backend.unix.multiplexors.kqueue: change remove-output-callbacks
John Benediktsson [Sat, 22 Jul 2023 23:29:04 +0000 (16:29 -0700)]
io.backend.unix.multiplexors.kqueue: change remove-output-callbacks

I think it should call-next-method before doing kevent

9 months agoio.backend.unix: Try again when we get ENOBUFS
Doug Coleman [Sat, 22 Jul 2023 16:32:57 +0000 (11:32 -0500)]
io.backend.unix: Try again when we get ENOBUFS

My understanding is the tcp buffers can fill up and we get notified
with ENOBUFS. After some time they should be free again.

This makes the parallel-map read more reliable

related to #2771

9 months agorefactor: remove duplicate word
Rudi Grinberg [Sat, 22 Jul 2023 13:11:45 +0000 (15:11 +0200)]
refactor: remove duplicate word

[no-key] already exists in hashtables.factor

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
9 months ago.gitattributes: more eol=lf
John Benediktsson [Fri, 21 Jul 2023 17:08:06 +0000 (10:08 -0700)]
.gitattributes: more eol=lf

9 months agoio.ports: make sure read/write is to a pinned alien
John Benediktsson [Thu, 20 Jul 2023 19:07:55 +0000 (12:07 -0700)]
io.ports: make sure read/write is to a pinned alien

9 months agoFix some English spelling: outputted -> output
Alexander Ilin [Mon, 17 Jul 2023 16:23:50 +0000 (18:23 +0200)]
Fix some English spelling: outputted -> output

Same for "inputted".

9 months agojson.prettyprint: need to fix this
John Benediktsson [Wed, 19 Jul 2023 21:12:25 +0000 (14:12 -0700)]
json.prettyprint: need to fix this

9 months agojson: use linked-assocs for order preservation
John Benediktsson [Wed, 19 Jul 2023 16:13:53 +0000 (09:13 -0700)]
json: use linked-assocs for order preservation

9 months agolinked-assocs: fix new-assoc for linked-assocs
John Benediktsson [Wed, 19 Jul 2023 16:13:33 +0000 (09:13 -0700)]
linked-assocs: fix new-assoc for linked-assocs

9 months agoeditors.zed: support opening to file:line
John Benediktsson [Thu, 13 Jul 2023 23:04:36 +0000 (16:04 -0700)]
editors.zed: support opening to file:line

9 months agotoml: reorganize words a bit to remove DEFER:
John Benediktsson [Thu, 13 Jul 2023 21:05:27 +0000 (14:05 -0700)]
toml: reorganize words a bit to remove DEFER:

9 months agobootstrap.image.primitives: remove unused set-extra-props
John Benediktsson [Thu, 13 Jul 2023 21:02:16 +0000 (14:02 -0700)]
bootstrap.image.primitives: remove unused set-extra-props

9 months agolistener: adding ranges to interactive-vocabs
John Benediktsson [Thu, 13 Jul 2023 21:01:25 +0000 (14:01 -0700)]
listener: adding ranges to interactive-vocabs

9 months agographviz.render.windows: rename program-files-directories.
John Benediktsson [Thu, 13 Jul 2023 03:54:34 +0000 (20:54 -0700)]
graphviz.render.windows: rename program-files-directories.

9 months agoparser: fix test and docs
Doug Coleman [Thu, 13 Jul 2023 00:50:29 +0000 (19:50 -0500)]
parser: fix test and docs

9 months agoio.standard-paths: Add application-directories word
Doug Coleman [Tue, 9 Aug 2022 04:29:26 +0000 (23:29 -0500)]
io.standard-paths: Add application-directories word

10 months agoparser: fix using for tests
Doug Coleman [Sun, 9 Jul 2023 15:08:21 +0000 (10:08 -0500)]
parser: fix using for tests

10 months agoparser: fix location word
Doug Coleman [Sun, 9 Jul 2023 14:16:04 +0000 (09:16 -0500)]
parser: fix location word

10 months agodiscord: drop "discriminator" feature
Doug Coleman [Thu, 29 Jun 2023 23:52:58 +0000 (18:52 -0500)]
discord: drop "discriminator" feature

10 months agohttp.client: add a ?download-update-to and file-too-old? for updating cached files
Doug Coleman [Thu, 29 Jun 2023 23:44:50 +0000 (18:44 -0500)]
http.client: add a ?download-update-to and file-too-old? for updating cached files

10 months agotools.directory-to-file: use canonicalize-path
Doug Coleman [Thu, 29 Jun 2023 23:43:31 +0000 (18:43 -0500)]
tools.directory-to-file: use canonicalize-path

10 months agocalendar: use ago instead of `now swap time-`
Doug Coleman [Fri, 16 Jun 2023 16:37:37 +0000 (12:37 -0400)]
calendar: use ago instead of `now swap time-`

10 months agofeature(linux): pipe2 bindings
Rudi Grinberg [Sat, 8 Jul 2023 15:29:11 +0000 (17:29 +0200)]
feature(linux): pipe2 bindings

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
10 months agoUse https rather than git protocol in download instructions
Konrad Hinsen [Mon, 3 Jul 2023 15:35:33 +0000 (15:35 +0000)]
Use https rather than git protocol in download instructions

Only project members can clone via the git protocol.

10 months agofeature: canonical s-expressions
Rudi Grinberg [Sun, 2 Jul 2023 15:59:18 +0000 (17:59 +0200)]
feature: canonical s-expressions

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>