]> gitweb.factorcode.org Git - factor.git/log
factor.git
13 months agomemoize: change zero-input memoize to store { called output }
John Benediktsson [Thu, 6 Apr 2023 03:09:25 +0000 (20:09 -0700)]
memoize: change zero-input memoize to store { called output }

13 months agocli.git: fix stack effect
Doug Coleman [Thu, 6 Apr 2023 02:32:48 +0000 (21:32 -0500)]
cli.git: fix stack effect

13 months agotools.completion: adding EDITOR: tab completion
John Benediktsson [Wed, 5 Apr 2023 22:33:56 +0000 (15:33 -0700)]
tools.completion: adding EDITOR: tab completion

13 months agomemoize: fix a few more zero input cases
John Benediktsson [Wed, 5 Apr 2023 22:24:24 +0000 (15:24 -0700)]
memoize: fix a few more zero input cases

13 months agocrontab: fix 2/26 * * * *
John Benediktsson [Wed, 5 Apr 2023 22:23:49 +0000 (15:23 -0700)]
crontab: fix 2/26 * * * *

13 months agomemoize: add another test case, only ( -- ) was broken
John Benediktsson [Tue, 4 Apr 2023 20:58:48 +0000 (13:58 -0700)]
memoize: add another test case, only ( -- ) was broken

13 months agomemoize: fix memoization of no-arg words
John Benediktsson [Tue, 4 Apr 2023 20:52:56 +0000 (13:52 -0700)]
memoize: fix memoization of no-arg words

13 months agogenerators: fix docs help-lint
Doug Coleman [Tue, 4 Apr 2023 00:55:21 +0000 (19:55 -0500)]
generators: fix docs help-lint

13 months agobuild-from-source.windows: add openal to build all
Doug Coleman [Sun, 2 Apr 2023 17:12:28 +0000 (12:12 -0500)]
build-from-source.windows: add openal to build all

13 months agoAdd generator article
Keldan Chapman [Sat, 1 Apr 2023 10:43:55 +0000 (12:43 +0200)]
Add generator article

13 months agobuild-from-source: do not copy renamed libssl DLLs
Benjamin Pollack [Mon, 3 Apr 2023 17:15:01 +0000 (13:15 -0400)]
build-from-source: do not copy renamed libssl DLLs

We were copying the DLLs build by the OpenSSL build process to the old
names we depended on in the Factor source code.  But since we're no
longer doing that, these steps are no longer needed.

13 months agoopenssl: use proper DLL names for Windows
Benjamin Pollack [Mon, 3 Apr 2023 17:11:23 +0000 (13:11 -0400)]
openssl: use proper DLL names for Windows

The preferred DLL name for OpenSSL appears to have pivoted to be
"libssl-3-<platform>.dll" at some point, and likewise for libcrypto.
We need to look for them with the new name; otherwise, we end up
needing two separate copies of libcrypto with slightly different names
to avoid giving ourselves DLL hell.

13 months agocrypto.xor: fix path
Doug Coleman [Tue, 28 Mar 2023 06:18:43 +0000 (01:18 -0500)]
crypto.xor: fix path

13 months agocrypto.xor: move to basis for websockets
Doug Coleman [Tue, 28 Mar 2023 05:23:33 +0000 (00:23 -0500)]
crypto.xor: move to basis for websockets

13 months agohttp.client: fix docs
Doug Coleman [Tue, 28 Mar 2023 05:21:17 +0000 (00:21 -0500)]
http.client: fix docs

13 months agohttp.client: move <PRIVATE section
Doug Coleman [Tue, 28 Mar 2023 04:57:12 +0000 (23:57 -0500)]
http.client: move <PRIVATE section

13 months agodiscord: add basic discord bot support
Doug Coleman [Tue, 28 Mar 2023 04:06:25 +0000 (23:06 -0500)]
discord: add basic discord bot support

- go to discord developer portal https://discord.com/developers/applications
- make a discord application
- add a bot to that app
-- enable PRESENCE INTENT, SERVER MEMBERS INTENT, MESSAGE CONTENT INTENT (as desired)

! For websockets
t{ discord-bot-config
    { token "...from discord developer portal..." }
    { application-id "10885523740" } ! from developer portal
    { guild-id "1357300335" }        ! from "developer mode" in discord client, right click the server and "copy id"
    { channel-id "1089175837623" }   ! from "developer mode", right click channel and "copy id"
    { permissions 2048 }             ! intentions (2048 is send messages)
}
discord-connect

! For REST api
T{ discord-bot-config
    { client-id "bot id from dev portal" }
    { client-secret "from dev portal" }
}

13 months agohttp.client: support upgrading to websockets
Doug Coleman [Tue, 28 Mar 2023 03:55:15 +0000 (22:55 -0500)]
http.client: support upgrading to websockets

13 months agobuild-from-source.windows: build openal
Doug Coleman [Sat, 25 Mar 2023 04:42:15 +0000 (23:42 -0500)]
build-from-source.windows: build openal

13 months agobuild-from-source.windows: build blas and use more qw{}
Doug Coleman [Sat, 25 Mar 2023 04:14:16 +0000 (23:14 -0500)]
build-from-source.windows: build blas and use more qw{}

sadly can't use qw{ } for blas..

13 months agocli.git: add a way to git fetch and git reset hard instead of just a
Doug Coleman [Sat, 25 Mar 2023 00:35:44 +0000 (19:35 -0500)]
cli.git: add a way to git fetch and git reset hard instead of just a
regular pull

13 months agoio.launcher: Add run-processes and docs
Doug Coleman [Sat, 25 Mar 2023 00:35:25 +0000 (19:35 -0500)]
io.launcher: Add run-processes and docs

13 months agosequences.extras: simplify fry-map-as
Doug Coleman [Fri, 24 Mar 2023 23:11:06 +0000 (18:11 -0500)]
sequences.extras: simplify fry-map-as

13 months agobuild-from-source.windows: use jom for parallel openssl compilation
Doug Coleman [Tue, 21 Mar 2023 08:34:28 +0000 (03:34 -0500)]
build-from-source.windows: use jom for parallel openssl compilation

it's much faster

13 months agobuild-from-source.windows: don't find freetype2 in strawberry perl
Doug Coleman [Tue, 21 Mar 2023 07:46:32 +0000 (02:46 -0500)]
build-from-source.windows: don't find freetype2 in strawberry perl

force a build from submodules. can't do this from all of them because
gperf didnt seem to work like this

13 months agobuild-from-source: create the temp directory
Doug Coleman [Tue, 21 Mar 2023 06:13:43 +0000 (01:13 -0500)]
build-from-source: create the temp directory

13 months agoboostrap.image.upload: if we are in master or main, upload boot images to both
Doug Coleman [Thu, 16 Mar 2023 23:39:28 +0000 (18:39 -0500)]
boostrap.image.upload: if we are in master or main, upload boot images to both

13 months agotools.test: rename TEST: to DEFINE-TEST-WORD:
Doug Coleman [Wed, 15 Mar 2023 02:20:09 +0000 (21:20 -0500)]
tools.test: rename TEST: to DEFINE-TEST-WORD:

13 months agobasis, extra: remove unfinished changes from #2774
razetime [Wed, 15 Mar 2023 06:26:03 +0000 (11:56 +0530)]
basis, extra: remove unfinished changes from #2774

13 months agoMerge pull request #2774 from factor/w4-warnings
Raghu R [Wed, 15 Mar 2023 05:24:22 +0000 (10:54 +0530)]
Merge pull request #2774 from factor/w4-warnings

correct nmakefile to remove /W4

13 months agovm:remove w4 from nmakefile w4-warnings 2774/head
razetime [Wed, 15 Mar 2023 05:23:33 +0000 (10:53 +0530)]
vm:remove w4 from nmakefile

13 months agovm: nmakefile \W4 warning related changes
razetime [Wed, 15 Mar 2023 05:22:36 +0000 (10:52 +0530)]
vm: nmakefile \W4 warning related changes

13 months agovm: nmakefile \W4 warning related changes
Raghu R [Wed, 15 Mar 2023 04:29:28 +0000 (09:59 +0530)]
vm: nmakefile \W4 warning related changes

13 months agosequences: clarify some mutable vs resizeable notes in sequence docs
Doug Coleman [Wed, 15 Mar 2023 00:49:51 +0000 (19:49 -0500)]
sequences: clarify some mutable vs resizeable notes in sequence docs

13 months agoFix example
Dave Carlton [Tue, 14 Mar 2023 22:28:25 +0000 (17:28 -0500)]
Fix example

Added same note for other destrucives.

13 months agoMake reference to resizable more explict.
Dave Carlton [Tue, 14 Mar 2023 21:18:29 +0000 (16:18 -0500)]
Make reference to resizable more explict.

13 months agoassocs.extras: add delete-keys-of
Doug Coleman [Wed, 8 Mar 2023 03:31:54 +0000 (21:31 -0600)]
assocs.extras: add delete-keys-of

13 months agohttp: add set-headers utility word
Doug Coleman [Wed, 8 Mar 2023 03:31:38 +0000 (21:31 -0600)]
http: add set-headers utility word

13 months agodocs: fix spacing
Doug Coleman [Sat, 11 Mar 2023 13:12:10 +0000 (07:12 -0600)]
docs: fix spacing

13 months agohelp: switch IRC links to Discord change-the-chat-url 2770/head
Benjamin Pollack [Thu, 9 Mar 2023 21:44:14 +0000 (16:44 -0500)]
help: switch IRC links to Discord

The IRC server, while it still exists, has extremely low traffic, and isn't
reliably checked by the developers.  This switches those references to
instead be our Discord, which is quite active.

13 months agosequences.extras: Fix map-product documentation
Giftpflanze [Sun, 12 Mar 2023 19:10:08 +0000 (20:10 +0100)]
sequences.extras: Fix map-product documentation

14 months agowebsites.factorcode: add link to cgit
John Benediktsson [Wed, 8 Mar 2023 21:52:25 +0000 (13:52 -0800)]
websites.factorcode: add link to cgit

14 months agoRevert "webapps.mason: make docs/dev"
John Benediktsson [Wed, 8 Mar 2023 20:45:55 +0000 (12:45 -0800)]
Revert "webapps.mason: make docs/dev"

This reverts commit b6bb1863f11a71ef6794e878ecb011dd9b0280c5.

14 months agoRevert "webapps.mason: different approach"
John Benediktsson [Wed, 8 Mar 2023 20:45:53 +0000 (12:45 -0800)]
Revert "webapps.mason: different approach"

This reverts commit 5431edcea1bef2e0345cd1aa517843ba5971d1cc.

14 months agohashtables.wrapped: fix help-lint
John Benediktsson [Wed, 8 Mar 2023 20:43:24 +0000 (12:43 -0800)]
hashtables.wrapped: fix help-lint

14 months agohashtables.wrapped: fix help-lint
John Benediktsson [Wed, 8 Mar 2023 19:14:38 +0000 (11:14 -0800)]
hashtables.wrapped: fix help-lint

14 months agowebapps.mason: different approach
John Benediktsson [Wed, 8 Mar 2023 18:07:52 +0000 (10:07 -0800)]
webapps.mason: different approach

14 months agowebapps.mason: make docs/dev
John Benediktsson [Wed, 8 Mar 2023 17:55:14 +0000 (09:55 -0800)]
webapps.mason: make docs/dev

14 months agohashtables.wrapped: add protocol documentation
razetime [Wed, 8 Mar 2023 16:49:10 +0000 (22:19 +0530)]
hashtables.wrapped: add protocol documentation

14 months agovocabs.platforms: add some more switches
Doug Coleman [Wed, 8 Mar 2023 01:27:53 +0000 (19:27 -0600)]
vocabs.platforms: add some more switches

14 months agobootstrap.image.upload: generate sha256 checksums as well for checksums.txt
Doug Coleman [Wed, 8 Mar 2023 00:50:26 +0000 (18:50 -0600)]
bootstrap.image.upload: generate sha256 checksums as well for checksums.txt

14 months agolocals: Add newlines to :> syntax block
Giftpflanze [Tue, 7 Mar 2023 21:15:08 +0000 (22:15 +0100)]
locals: Add newlines to :> syntax block

14 months agogeneric.standard: need coffee
Doug Coleman [Sun, 5 Mar 2023 14:25:10 +0000 (08:25 -0600)]
generic.standard: need coffee

14 months agohttp.client: fix docs for http-patch accepting a body
Doug Coleman [Sun, 5 Mar 2023 14:14:39 +0000 (08:14 -0600)]
http.client: fix docs for http-patch accepting a body

14 months agogeneric: finish renaming order to dispatch-order
Doug Coleman [Sun, 5 Mar 2023 14:13:19 +0000 (08:13 -0600)]
generic: finish renaming order to dispatch-order

14 months agogithub: add more api calls like creating/updating issues/prs
Doug Coleman [Sat, 4 Mar 2023 04:46:33 +0000 (22:46 -0600)]
github: add more api calls like creating/updating issues/prs

14 months agoassocs.extras: add collect-index-by
Doug Coleman [Sat, 4 Mar 2023 04:43:48 +0000 (22:43 -0600)]
assocs.extras: add collect-index-by

14 months agosequences.extras: add mismatch-last
Doug Coleman [Sat, 4 Mar 2023 04:43:29 +0000 (22:43 -0600)]
sequences.extras: add mismatch-last

14 months agohttp.client: PATCH should usually take a body
Doug Coleman [Sat, 4 Mar 2023 03:44:14 +0000 (21:44 -0600)]
http.client: PATCH should usually take a body

14 months agogeneric: rename order to dispatch-order. nothing uses this
Doug Coleman [Thu, 2 Mar 2023 23:48:59 +0000 (17:48 -0600)]
generic: rename order to dispatch-order. nothing uses this

14 months agosequences.extras: use accumulate0-as
Doug Coleman [Thu, 2 Mar 2023 23:48:33 +0000 (17:48 -0600)]
sequences.extras: use accumulate0-as

14 months agovm: more descriptive renames 2762/head
Razetime [Tue, 28 Feb 2023 17:26:46 +0000 (22:56 +0530)]
vm: more descriptive renames

14 months agosequences.extras: add more words from the bqn language
Doug Coleman [Tue, 28 Feb 2023 06:26:22 +0000 (00:26 -0600)]
sequences.extras: add more words from the bqn language

14 months agoassocs.extras: Add ?set-once-at returning the value it set or looked up
Doug Coleman [Tue, 28 Feb 2023 06:17:50 +0000 (00:17 -0600)]
assocs.extras: Add ?set-once-at returning the value it set or looked up

14 months agofactor: fix some whitespace
Doug Coleman [Tue, 28 Feb 2023 02:18:30 +0000 (20:18 -0600)]
factor: fix some whitespace

14 months agofactor: fix some docs/tests from recent merge
Doug Coleman [Mon, 27 Feb 2023 01:54:05 +0000 (19:54 -0600)]
factor: fix some docs/tests from recent merge

14 months agomath.extras: faster vose alias
John Benediktsson [Mon, 27 Feb 2023 01:19:12 +0000 (17:19 -0800)]
math.extras: faster vose alias

14 months agoseq: fix usings
Doug Coleman [Sun, 26 Feb 2023 23:54:09 +0000 (17:54 -0600)]
seq: fix usings

14 months agosemver: fix load
Doug Coleman [Sun, 26 Feb 2023 23:50:17 +0000 (17:50 -0600)]
semver: fix load

14 months agofactor: remove extra whitespace refactor-sequences 2669/head
Doug Coleman [Sun, 26 Feb 2023 22:24:27 +0000 (16:24 -0600)]
factor: remove extra whitespace

14 months agocombinators.extras: add quad, 2quad
Doug Coleman [Sun, 26 Feb 2023 22:02:33 +0000 (16:02 -0600)]
combinators.extras: add quad, 2quad

14 months agokernel: add transmute and some use cases
Doug Coleman [Sat, 25 Feb 2023 23:46:53 +0000 (17:46 -0600)]
kernel: add transmute and some use cases

14 months agovocabs: use ?unless
Doug Coleman [Sat, 25 Feb 2023 23:36:52 +0000 (17:36 -0600)]
vocabs: use ?unless

14 months agonamespaces.extras: clean up
Doug Coleman [Sat, 25 Feb 2023 23:36:32 +0000 (17:36 -0600)]
namespaces.extras: clean up

14 months agoextras: fix using/deleted word
Doug Coleman [Sat, 25 Feb 2023 23:14:36 +0000 (17:14 -0600)]
extras: fix using/deleted word

14 months agokernel: fix ?if stack effect
Doug Coleman [Sat, 25 Feb 2023 22:03:44 +0000 (16:03 -0600)]
kernel: fix ?if stack effect

14 months agokernel: document ?if ?when ?unless
Doug Coleman [Sat, 25 Feb 2023 21:14:38 +0000 (15:14 -0600)]
kernel: document ?if ?when ?unless

14 months agotools.scaffold: make scaffold-docs work on strings, seqs, words
Doug Coleman [Sat, 25 Feb 2023 21:14:02 +0000 (15:14 -0600)]
tools.scaffold: make scaffold-docs work on strings, seqs, words

14 months agostack-checker.visitor.dummy: use 5drop
Doug Coleman [Sat, 25 Feb 2023 19:54:05 +0000 (13:54 -0600)]
stack-checker.visitor.dummy: use 5drop

14 months agoalien.c-types: fix bad use of ?when
Doug Coleman [Sat, 25 Feb 2023 19:39:41 +0000 (13:39 -0600)]
alien.c-types: fix bad use of ?when

14 months agoextras: remove circular dependency
Doug Coleman [Sat, 25 Feb 2023 19:15:47 +0000 (13:15 -0600)]
extras: remove circular dependency

14 months agoparser: fix bad refactor
Doug Coleman [Sat, 25 Feb 2023 19:13:29 +0000 (13:13 -0600)]
parser: fix bad refactor

14 months agosequences.extas: use spind
Doug Coleman [Sat, 25 Feb 2023 18:37:34 +0000 (12:37 -0600)]
sequences.extas: use spind

14 months agofactor: whitespace only
Doug Coleman [Sat, 25 Feb 2023 18:29:56 +0000 (12:29 -0600)]
factor: whitespace only

14 months agoshuffle: clean up some shuffles
Doug Coleman [Sat, 25 Feb 2023 18:21:03 +0000 (12:21 -0600)]
shuffle: clean up some shuffles

14 months agoassocs: move some -of words to extras
Doug Coleman [Sat, 25 Feb 2023 18:20:42 +0000 (12:20 -0600)]
assocs: move some -of words to extras

14 months agofactor: use ?call
Doug Coleman [Sat, 25 Feb 2023 15:08:13 +0000 (09:08 -0600)]
factor: use ?call

14 months agonamespaces.extras: rename ?xor to xor* and add inline
Doug Coleman [Sat, 25 Feb 2023 15:05:21 +0000 (09:05 -0600)]
namespaces.extras: rename ?xor to xor* and add inline

14 months agokernel: use ?call
Doug Coleman [Sat, 25 Feb 2023 14:58:31 +0000 (08:58 -0600)]
kernel: use ?call

14 months agosequences: move ??nth
Doug Coleman [Sat, 25 Feb 2023 05:20:14 +0000 (23:20 -0600)]
sequences: move ??nth

14 months agolint: add a lint for keep
Doug Coleman [Sat, 25 Feb 2023 04:58:09 +0000 (22:58 -0600)]
lint: add a lint for keep

14 months agosequences.extras: move ??nth
Doug Coleman [Sat, 25 Feb 2023 04:57:35 +0000 (22:57 -0600)]
sequences.extras: move ??nth

14 months agokernel: ?call and simplify
Doug Coleman [Fri, 24 Feb 2023 22:49:13 +0000 (16:49 -0600)]
kernel: ?call and simplify

14 months agokernel: ?if-old is just `[ or* ] 2dip if`
Doug Coleman [Fri, 24 Feb 2023 01:41:05 +0000 (19:41 -0600)]
kernel: ?if-old is just `[ or* ] 2dip if`

14 months agosequences.extras: make a word inline
Doug Coleman [Wed, 22 Feb 2023 14:08:07 +0000 (08:08 -0600)]
sequences.extras: make a word inline

14 months agocompiler/vm: Allow words made of curry/compose to compile
Doug Coleman [Wed, 22 Feb 2023 14:06:49 +0000 (08:06 -0600)]
compiler/vm: Allow words made of curry/compose to compile

put back the `[ ] like`

fixes #2763

14 months agococoa.pasteboard: use correct ?transmute
Doug Coleman [Tue, 21 Feb 2023 05:36:45 +0000 (23:36 -0600)]
cocoa.pasteboard: use correct ?transmute

14 months agosequences: fix docs
Doug Coleman [Tue, 21 Feb 2023 05:29:04 +0000 (23:29 -0600)]
sequences: fix docs

14 months agofixups: ?if changed effects not renamed
Doug Coleman [Tue, 21 Feb 2023 03:26:46 +0000 (21:26 -0600)]
fixups: ?if changed effects not renamed

14 months agosorting: still use <copier>
Doug Coleman [Tue, 21 Feb 2023 03:17:13 +0000 (21:17 -0600)]
sorting: still use <copier>