]> gitweb.factorcode.org Git - factor.git/log
factor.git
14 months agocore: push-if -> push-when, refactoring sequence words
Doug Coleman [Sat, 6 Aug 2022 22:55:18 +0000 (17:55 -0500)]
core: push-if -> push-when, refactoring sequence words

14 months agomath.extras: tweak weighted-randoms add vose alias method
John Benediktsson [Sun, 26 Feb 2023 22:37:28 +0000 (14:37 -0800)]
math.extras: tweak weighted-randoms add vose alias method

14 months agodice: fix for recent random refactoring
John Benediktsson [Sun, 26 Feb 2023 22:17:10 +0000 (14:17 -0800)]
dice: fix for recent random refactoring

14 months agorandom: implement a generic random* to speed up randoms
John Benediktsson [Sun, 26 Feb 2023 21:58:26 +0000 (13:58 -0800)]
random: implement a generic random* to speed up randoms

14 months agocommand-line.startup: remove extra space
John Benediktsson [Sun, 26 Feb 2023 21:53:09 +0000 (13:53 -0800)]
command-line.startup: remove extra space

14 months agorandom.mersenne-twister: slightly faster random-32*
John Benediktsson [Sat, 25 Feb 2023 03:59:49 +0000 (19:59 -0800)]
random.mersenne-twister: slightly faster random-32*

14 months agomath.extras: adding weighted-randoms
John Benediktsson [Sat, 18 Feb 2023 00:56:08 +0000 (16:56 -0800)]
math.extras: adding weighted-randoms

14 months agoeditors.pulsar: adding Pulsar text editor support
John Benediktsson [Fri, 17 Feb 2023 20:37:42 +0000 (12:37 -0800)]
editors.pulsar: adding Pulsar text editor support

14 months agoeditors.zed: add support for the Zed text editor
John Benediktsson [Fri, 17 Feb 2023 16:58:00 +0000 (08:58 -0800)]
editors.zed: add support for the Zed text editor

14 months agowebapps.mason: more padding
John Benediktsson [Thu, 16 Feb 2023 20:43:23 +0000 (12:43 -0800)]
webapps.mason: more padding

14 months agogithub: add more github api calls
Doug Coleman [Fri, 10 Feb 2023 03:25:22 +0000 (21:25 -0600)]
github: add more github api calls

14 months agonamespaces.extras: Add `required` word which ensures a variable is set
Doug Coleman [Fri, 10 Feb 2023 03:24:45 +0000 (21:24 -0600)]
namespaces.extras: Add `required` word which ensures a variable is set

also add ?xor and one-of which ensures one of two variables is set

14 months agomime.types: adding resources.txt for deploy
John Benediktsson [Fri, 10 Feb 2023 00:35:11 +0000 (16:35 -0800)]
mime.types: adding resources.txt for deploy

14 months agosorting: add an alias for temporary backwards compatibility
John Benediktsson [Thu, 9 Feb 2023 17:46:39 +0000 (09:46 -0800)]
sorting: add an alias for temporary backwards compatibility

15 months agosorting: fix help-lint (again)
John Benediktsson [Wed, 8 Feb 2023 16:51:25 +0000 (08:51 -0800)]
sorting: fix help-lint (again)

15 months agosorting: fix help-lint
John Benediktsson [Wed, 8 Feb 2023 16:01:01 +0000 (08:01 -0800)]
sorting: fix help-lint

15 months agovocabs.files: fix help-lint
John Benediktsson [Wed, 8 Feb 2023 16:00:54 +0000 (08:00 -0800)]
vocabs.files: fix help-lint

15 months agojson: forgot to re-add the tests
John Benediktsson [Wed, 8 Feb 2023 06:24:26 +0000 (22:24 -0800)]
json: forgot to re-add the tests

15 months agoRename and add sorting words
Giftpflanze [Wed, 1 Feb 2023 17:27:34 +0000 (17:27 +0000)]
Rename and add sorting words

sorting:
natural-sort → sort
sort → sort-with
sort-with → sort-by
+ inv-sort
+ inv-sort-with
inv-sort-with → inv-sort-by
+ inv-sort-keys
+ inv-sort-values

sorting.slots → sorting.specification:
compare-slots → compare-with-spec
sort-by → sort-with-spec
sort-by-with → sort-with-spec-by
sort-keys-by → sort-keys-with-spec
sort-values-by → sort-values-with-spec

sorting.quick:
natural-sort! → sort!
sort! → sort-with!
sort-with! → sort-by!
+ inv-sort!
+ inv-sort-with!
inv-sort-with! → inv-sort-by!

sorting.bubble:
natural-bubble-sort! → bubble-sort!
bubble-sort! → bubble-sort-with!

15 months agohipku: "Autumn colors" not "Autumn Colors"
John Benediktsson [Wed, 8 Feb 2023 04:13:12 +0000 (20:13 -0800)]
hipku: "Autumn colors" not "Autumn Colors"

15 months agohipku: cleanup using
John Benediktsson [Tue, 7 Feb 2023 22:46:15 +0000 (14:46 -0800)]
hipku: cleanup using

15 months agohipku: implement the hipku algorithm.
John Benediktsson [Tue, 7 Feb 2023 22:22:04 +0000 (14:22 -0800)]
hipku: implement the hipku algorithm.

15 months agoproquint: change the interface to have >quint take bits
John Benediktsson [Tue, 7 Feb 2023 20:38:43 +0000 (12:38 -0800)]
proquint: change the interface to have >quint take bits

15 months agoproquint: fix using
John Benediktsson [Tue, 7 Feb 2023 19:38:23 +0000 (11:38 -0800)]
proquint: fix using

15 months agoproquint: adding quint-password
John Benediktsson [Tue, 7 Feb 2023 19:22:38 +0000 (11:22 -0800)]
proquint: adding quint-password

15 months agobech32: fix tests using
John Benediktsson [Tue, 7 Feb 2023 18:07:08 +0000 (10:07 -0800)]
bech32: fix tests using

15 months agoproquint: adding the Proquint encoding/decoding
John Benediktsson [Tue, 7 Feb 2023 17:16:18 +0000 (09:16 -0800)]
proquint: adding the Proquint encoding/decoding

15 months agoip-parser: adding ipv6-aton and ipv6-ntoa
John Benediktsson [Tue, 7 Feb 2023 17:11:32 +0000 (09:11 -0800)]
ip-parser: adding ipv6-aton and ipv6-ntoa

15 months agobech32: to use alphabet, we need << >>
John Benediktsson [Tue, 7 Feb 2023 04:52:52 +0000 (20:52 -0800)]
bech32: to use alphabet, we need << >>

15 months agohelp.html: go back to previous code colors
John Benediktsson [Tue, 7 Feb 2023 04:46:57 +0000 (20:46 -0800)]
help.html: go back to previous code colors

15 months agobech32: use alphabet-inverse
John Benediktsson [Tue, 7 Feb 2023 04:34:21 +0000 (20:34 -0800)]
bech32: use alphabet-inverse

15 months agobech32: adding Bech32 and Bech32m encoding/decoding
John Benediktsson [Tue, 7 Feb 2023 04:31:30 +0000 (20:31 -0800)]
bech32: adding Bech32 and Bech32m encoding/decoding

15 months agowebsites.concatenative: adding a static
John Benediktsson [Mon, 6 Feb 2023 20:14:47 +0000 (12:14 -0800)]
websites.concatenative: adding a static

15 months agotools.test.fuzz: add documentation
razetime [Mon, 6 Feb 2023 08:07:58 +0000 (13:37 +0530)]
tools.test.fuzz: add documentation

15 months agowebsites.concatenative: placeholder favicon and robots.txt
razetime [Sun, 5 Feb 2023 05:00:18 +0000 (10:30 +0530)]
websites.concatenative: placeholder favicon and robots.txt

15 months agoAdd robots.txt for factorcode website
razetime [Sun, 5 Feb 2023 03:31:44 +0000 (09:01 +0530)]
Add robots.txt for factorcode website

15 months agoui.tools: adding a "Browse New" command
John Benediktsson [Fri, 3 Feb 2023 17:53:05 +0000 (09:53 -0800)]
ui.tools: adding a "Browse New" command

15 months agoresolv-conf: Add more options
Giftpflanze [Fri, 3 Feb 2023 04:37:08 +0000 (04:37 +0000)]
resolv-conf: Add more options

15 months agoresolv-conf: Allow multiple options per line
Giftpflanze [Thu, 2 Feb 2023 03:34:55 +0000 (03:34 +0000)]
resolv-conf: Allow multiple options per line

15 months agohelp.html: switch to light gray code blocks
John Benediktsson [Thu, 2 Feb 2023 04:36:37 +0000 (20:36 -0800)]
help.html: switch to light gray code blocks

15 months agohelp.html: a bit more padding
John Benediktsson [Thu, 2 Feb 2023 04:30:34 +0000 (20:30 -0800)]
help.html: a bit more padding

15 months agohelp.html: fix nav header padding
John Benediktsson [Thu, 2 Feb 2023 04:20:20 +0000 (20:20 -0800)]
help.html: fix nav header padding

15 months agohelp.html: tweak styles
John Benediktsson [Thu, 2 Feb 2023 02:48:43 +0000 (18:48 -0800)]
help.html: tweak styles

15 months agowebapps: tweak styles
John Benediktsson [Thu, 2 Feb 2023 02:48:10 +0000 (18:48 -0800)]
webapps: tweak styles

15 months agoui.tools.common: remove using
John Benediktsson [Thu, 2 Feb 2023 00:51:56 +0000 (16:51 -0800)]
ui.tools.common: remove using

15 months agowebapps: tweak monospace padding
John Benediktsson [Thu, 2 Feb 2023 00:49:23 +0000 (16:49 -0800)]
webapps: tweak monospace padding

15 months agohelp.html: tweak markup
John Benediktsson [Thu, 2 Feb 2023 00:45:39 +0000 (16:45 -0800)]
help.html: tweak markup

15 months agohelp.markup: tweak ($code) again
John Benediktsson [Wed, 1 Feb 2023 23:21:04 +0000 (15:21 -0800)]
help.markup: tweak ($code) again

15 months agolistener: remove extra $nl
John Benediktsson [Wed, 1 Feb 2023 23:11:25 +0000 (15:11 -0800)]
listener: remove extra $nl

15 months agounrolled-lists: fix empty list popping (#2729)
razetime [Wed, 1 Feb 2023 04:53:26 +0000 (10:23 +0530)]
unrolled-lists: fix empty list popping (#2729)
Added documentation for the unrolled-list class,
and added new tests for the issue fix.

15 months agohelp.markup: tests for $code change
John Benediktsson [Tue, 31 Jan 2023 21:01:43 +0000 (13:01 -0800)]
help.markup: tests for $code change

15 months agohelp: minor doc fixes
John Benediktsson [Tue, 31 Jan 2023 19:46:14 +0000 (11:46 -0800)]
help: minor doc fixes

15 months agohelp.html: more default html output
John Benediktsson [Tue, 31 Jan 2023 19:40:46 +0000 (11:40 -0800)]
help.html: more default html output

15 months agohelp.markup: add more spacing around $code
John Benediktsson [Tue, 31 Jan 2023 19:35:41 +0000 (11:35 -0800)]
help.markup: add more spacing around $code

15 months agohelp.tour: minor formatting
John Benediktsson [Tue, 31 Jan 2023 19:34:31 +0000 (11:34 -0800)]
help.tour: minor formatting

15 months agohelp.tutorial: remove unnecessary $nl
John Benediktsson [Tue, 31 Jan 2023 19:29:06 +0000 (11:29 -0800)]
help.tutorial: remove unnecessary $nl

15 months agoRevert "html.streams: make more spans"
John Benediktsson [Tue, 31 Jan 2023 16:17:10 +0000 (08:17 -0800)]
Revert "html.streams: make more spans"

This reverts commit 554b2834debc1a4fe7d529b5b05db5ef17d6abd4.

15 months agocpu.arm.assembler: Optimize shifting immediates, qualify immediates
Giftpflanze [Tue, 31 Jan 2023 17:16:09 +0000 (17:16 +0000)]
cpu.arm.assembler: Optimize shifting immediates, qualify immediates

15 months agohelp.html: some table fixes
John Benediktsson [Tue, 31 Jan 2023 07:02:47 +0000 (23:02 -0800)]
help.html: some table fixes

15 months agohelp.html: some style fixes
John Benediktsson [Tue, 31 Jan 2023 06:09:58 +0000 (22:09 -0800)]
help.html: some style fixes

15 months agohtml.streams: make more spans
John Benediktsson [Tue, 31 Jan 2023 05:54:49 +0000 (21:54 -0800)]
html.streams: make more spans

15 months agohelp.vocabs: just code-style for files.
John Benediktsson [Tue, 31 Jan 2023 05:46:56 +0000 (21:46 -0800)]
help.vocabs: just code-style for files.

15 months agocpu.arm.assembler: Fix instructions
Giftpflanze [Tue, 31 Jan 2023 02:53:38 +0000 (02:53 +0000)]
cpu.arm.assembler: Fix instructions

Bump SIGNAL_HANDLER_STACK_FRAME_SIZE

15 months agovm/os-macosx-arm64: add the same arm64 fields as linux to make it compile on mac
Doug Coleman [Tue, 31 Jan 2023 01:51:41 +0000 (19:51 -0600)]
vm/os-macosx-arm64: add the same arm64 fields as linux to make it compile on mac

We might just put these in the arm64 file if they're the same.

15 months agovm/os-linux-arm.64.hpp: Update constants
Giftpflanze [Tue, 31 Jan 2023 00:20:35 +0000 (01:20 +0100)]
vm/os-linux-arm.64.hpp: Update constants

15 months agovm/quotations.hpp: Fix arm64 segfault
Giftpflanze [Tue, 31 Jan 2023 00:19:09 +0000 (01:19 +0100)]
vm/quotations.hpp: Fix arm64 segfault

15 months agoARM64: Simplify, refactor, reorder
Giftpflanze [Mon, 30 Jan 2023 19:37:33 +0000 (19:37 +0000)]
ARM64: Simplify, refactor, reorder

15 months agoui.tools: tweak the ui-cocoa article
John Benediktsson [Mon, 30 Jan 2023 16:42:22 +0000 (08:42 -0800)]
ui.tools: tweak the ui-cocoa article

15 months agoui.backend.cocoa.tools: use auto-use and eval-with-stack in "Evalute Selection".
John Benediktsson [Mon, 30 Jan 2023 16:40:33 +0000 (08:40 -0800)]
ui.backend.cocoa.tools: use auto-use and eval-with-stack in "Evalute Selection".

15 months agohelp.html: inverse dashed colors
John Benediktsson [Mon, 30 Jan 2023 06:53:37 +0000 (22:53 -0800)]
help.html: inverse dashed colors

15 months agococoa.messages: add a word to get all objc class names
Doug Coleman [Mon, 30 Jan 2023 00:49:52 +0000 (18:49 -0600)]
cocoa.messages: add a word to get all objc class names

15 months agohelp.html: fix css whoops
John Benediktsson [Mon, 30 Jan 2023 00:41:36 +0000 (16:41 -0800)]
help.html: fix css whoops

15 months agococoa.message: better unknown objc type with class/method names
Doug Coleman [Sun, 29 Jan 2023 22:34:04 +0000 (16:34 -0600)]
cocoa.message: better unknown objc type with class/method names

15 months agowebapps.wiki: remove unnecessary font-size change in dark theme
John Benediktsson [Sun, 29 Jan 2023 19:35:44 +0000 (11:35 -0800)]
webapps.wiki: remove unnecessary font-size change in dark theme

15 months agohelp.html: make search box bigger
John Benediktsson [Sun, 29 Jan 2023 19:34:11 +0000 (11:34 -0800)]
help.html: make search box bigger

15 months agotools.crossref: using short-circuit
John Benediktsson [Sun, 29 Jan 2023 18:56:57 +0000 (10:56 -0800)]
tools.crossref: using short-circuit

15 months agocompiler: some cleanup
John Benediktsson [Sun, 29 Jan 2023 18:56:46 +0000 (10:56 -0800)]
compiler: some cleanup

15 months agoranges: add some slot types
John Benediktsson [Sun, 29 Jan 2023 18:56:36 +0000 (10:56 -0800)]
ranges: add some slot types

15 months agoARM64: Finish implementation
Giftpflanze [Sun, 29 Jan 2023 06:40:04 +0000 (06:40 +0000)]
ARM64: Finish implementation

15 months agococoa.messages: fix typo and print to stderr
John Benediktsson [Sun, 29 Jan 2023 04:18:20 +0000 (20:18 -0800)]
cocoa.messages: fix typo and print to stderr

15 months agofurnace.auth.login: Username
John Benediktsson [Sun, 29 Jan 2023 04:15:42 +0000 (20:15 -0800)]
furnace.auth.login: Username

15 months agotools.scaffold: minor tweak
John Benediktsson [Sun, 29 Jan 2023 02:02:32 +0000 (18:02 -0800)]
tools.scaffold: minor tweak

15 months agococoa.messages: with-out-parameters has a local alloc error, so don't use it..
Doug Coleman [Sun, 29 Jan 2023 03:43:37 +0000 (21:43 -0600)]
cocoa.messages: with-out-parameters has a local alloc error, so don't use it..

15 months agococoa.messages: Don't import if we don't know the type
Doug Coleman [Sun, 29 Jan 2023 03:33:57 +0000 (21:33 -0600)]
cocoa.messages: Don't import if we don't know the type

cmi_simdInt2ValueForKey:defaultValue:found: supposedly returns type "4" which is not published

when bootstrapping, NSDictionary imports 193 methods. when reloading, it imports 460, some of which aren't googleable

just punt if we don't understand the types

! To see the bad type, do this:

"NSDictionary" objc-class
[ nip dup . [ method-name dup "cmi_simdInt2ValueForKey:defaultValue:found:" = [ B ] when . ] [ method-arg-types . ] [ method-return-type . ] tri nl ] each-method-in-class

Related to #2754

15 months agotools.scaffold: using io.pathnames words now
John Benediktsson [Sun, 29 Jan 2023 01:56:40 +0000 (17:56 -0800)]
tools.scaffold: using io.pathnames words now

15 months agoeditors: adding some platforms files
John Benediktsson [Sun, 29 Jan 2023 01:51:36 +0000 (17:51 -0800)]
editors: adding some platforms files

15 months agoio.pathnames: adding home-path and >pathname
John Benediktsson [Sun, 29 Jan 2023 01:48:51 +0000 (17:48 -0800)]
io.pathnames: adding home-path and >pathname

15 months agoio.streams.ansi: simplify
John Benediktsson [Sun, 29 Jan 2023 01:47:07 +0000 (17:47 -0800)]
io.streams.ansi: simplify

15 months agoio.streams.256color: simplify
John Benediktsson [Sun, 29 Jan 2023 01:46:59 +0000 (17:46 -0800)]
io.streams.256color: simplify

15 months agoio.streams.256color: fix test
John Benediktsson [Sun, 29 Jan 2023 01:45:53 +0000 (17:45 -0800)]
io.streams.256color: fix test

15 months agoeditors: only supported-platforms are available-editors
John Benediktsson [Sun, 29 Jan 2023 01:28:36 +0000 (17:28 -0800)]
editors: only supported-platforms are available-editors

15 months agoeditors: refactor print note
Doug Coleman [Sat, 28 Jan 2023 05:15:39 +0000 (23:15 -0600)]
editors: refactor print note

15 months agoeditors: SET-EDITOR: -> EDITOR:, use SINGLETON: again
Doug Coleman [Sat, 28 Jan 2023 04:56:22 +0000 (22:56 -0600)]
editors: SET-EDITOR: -> EDITOR:, use SINGLETON: again

15 months agoeditors: Throw a restart with instructions on how to use SET-EDITOR:
Doug Coleman [Sat, 28 Jan 2023 04:39:32 +0000 (22:39 -0600)]
editors: Throw a restart with instructions on how to use SET-EDITOR:

15 months agotools.scaffold: refactor to get a home-path word to use in editors
Doug Coleman [Sat, 28 Jan 2023 04:39:14 +0000 (22:39 -0600)]
tools.scaffold: refactor to get a home-path word to use in editors

15 months agoparser.notes: Use `if` instead of `drop` after
Doug Coleman [Sat, 28 Jan 2023 04:33:11 +0000 (22:33 -0600)]
parser.notes: Use `if` instead of `drop` after

15 months agoeditors: use EDITOR: to register editors.
Doug Coleman [Sat, 28 Jan 2023 01:34:46 +0000 (19:34 -0600)]
editors: use EDITOR: to register editors.

loading an EDITOR: does not set it as your editor; calling SET-EDITOR: does this.

"editors.ui" run ! will also set/change your editor

Recommended editor setup:

scaffold-factor-boot-rc

USE: editors
SET-EDITOR: visual-studio-code

15 months agoeditors: define EDITOR: and SET-EDITOR:
Doug Coleman [Sat, 28 Jan 2023 01:04:59 +0000 (19:04 -0600)]
editors: define EDITOR: and SET-EDITOR:

15 months agosyntax: redo INITIALIZE: as INITIALIZED-SYMBOL:
Doug Coleman [Sat, 28 Jan 2023 00:22:14 +0000 (18:22 -0600)]
syntax: redo INITIALIZE: as INITIALIZED-SYMBOL:

INITIALIZE: doesn't make much sense to me, but `INITIALIZED-SYMBOL: foo [ 10 ]`
seems better

15 months agofurnace.auth: add padding
John Benediktsson [Sat, 28 Jan 2023 03:32:45 +0000 (19:32 -0800)]
furnace.auth: add padding