]> gitweb.factorcode.org Git - factor.git/log
factor.git
15 months agoeditors: Throw a restart with instructions on how to use SET-EDITOR: editors-idea 2755/head
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 agocore-foundation.fonts: my metadata files were there but i didnt commit them
Doug Coleman [Fri, 27 Jan 2023 23:18:16 +0000 (17:18 -0600)]
core-foundation.fonts: my metadata files were there but i didnt commit them

🧐

15 months agocore-foundation.fonts: adding platforms.txt
John Benediktsson [Fri, 27 Jan 2023 22:21:54 +0000 (14:21 -0800)]
core-foundation.fonts: adding platforms.txt

15 months agococoa: add NSFontManager and some words to use it
Doug Coleman [Fri, 27 Jan 2023 19:03:00 +0000 (13:03 -0600)]
cocoa: add NSFontManager and some words to use it

15 months agobootstrap.assembler.arm.windows: Need these symbols to bootstrap
Doug Coleman [Fri, 27 Jan 2023 00:37:09 +0000 (18:37 -0600)]
bootstrap.assembler.arm.windows: Need these symbols to bootstrap

15 months agocpu.arm.assembler: fix tests, add url to check arm64 opcode compilation
Doug Coleman [Thu, 26 Jan 2023 21:05:32 +0000 (15:05 -0600)]
cpu.arm.assembler: fix tests, add url to check arm64 opcode compilation

15 months agomodern.html: fix tests
Doug Coleman [Thu, 26 Jan 2023 20:05:06 +0000 (14:05 -0600)]
modern.html: fix tests

15 months agomodern.html: support cdata, support whitespace in child nodes
Doug Coleman [Thu, 26 Jan 2023 19:27:53 +0000 (13:27 -0600)]
modern.html: support cdata, support whitespace in child nodes

the following xml has a whitespace in the children that is significant:
`"resource:basis/xmode/modes/css.xml" utf8 [ string>html html>string ] rewrite-file`

15 months agoxmode.rules: throw error if there is no character for the string-matcher
Doug Coleman [Thu, 26 Jan 2023 18:18:53 +0000 (12:18 -0600)]
xmode.rules: throw error if there is no character for the string-matcher

good case before this:
<SEQ TYPE="NULL" DELEGATE="MAIN"> </SEQ>

bad case before this:
<SEQ TYPE="NULL" DELEGATE="MAIN"></SEQ>

Now both seem to work.

15 months agomodern: add a rewrite-file word
Doug Coleman [Thu, 26 Jan 2023 01:44:37 +0000 (19:44 -0600)]
modern: add a rewrite-file word

15 months agoARM64: Some more work
Giftpflanze [Thu, 26 Jan 2023 19:32:43 +0000 (19:32 +0000)]
ARM64: Some more work

bootstrap.assembler/arm.64:
Fix `jit-call`, `jit-call-quot` and retainstack primitives
Flesh out some more words

cpu.arm.assembler:
Fix branch instructions
64: Add `ADDr`, `LDRl32` and `MOVsp` instructions
opcodes: Delete ADDs-encode (does not exist)

vm/contexts.hpp: Align `callstack_bottom` to 16-byte boundary

15 months agowebapps.help: fix tabs on dark mode
John Benediktsson [Thu, 26 Jan 2023 19:25:57 +0000 (11:25 -0800)]
webapps.help: fix tabs on dark mode

15 months agohelp.tour: smaller channel ids
John Benediktsson [Thu, 26 Jan 2023 17:39:13 +0000 (09:39 -0800)]
help.tour: smaller channel ids

15 months agochannels.remote: 128 random-bits should be enough.
John Benediktsson [Thu, 26 Jan 2023 17:38:12 +0000 (09:38 -0800)]
channels.remote: 128 random-bits should be enough.

15 months agobase16/32/64: adding test cases from RFC 4648.
John Benediktsson [Thu, 26 Jan 2023 06:06:26 +0000 (22:06 -0800)]
base16/32/64: adding test cases from RFC 4648.

15 months agohelp.tour: specify mac keybindings
John Benediktsson [Thu, 26 Jan 2023 03:29:18 +0000 (19:29 -0800)]
help.tour: specify mac keybindings

15 months agowebapps.help: fix label width a different way
John Benediktsson [Thu, 26 Jan 2023 01:55:48 +0000 (17:55 -0800)]
webapps.help: fix label width a different way

15 months agographviz.render: ?delete-file already exists
Doug Coleman [Thu, 26 Jan 2023 00:11:17 +0000 (18:11 -0600)]
graphviz.render: ?delete-file already exists

15 months agobuild-from-source: delete some output files when we copy *.dll
Doug Coleman [Thu, 26 Jan 2023 00:11:03 +0000 (18:11 -0600)]
build-from-source: delete some output files when we copy *.dll

15 months agobuild-from-source.windows: build cairo as part of building all
Doug Coleman [Wed, 25 Jan 2023 22:46:08 +0000 (16:46 -0600)]
build-from-source.windows: build cairo as part of building all

15 months agobuild-from-source.windows: use dll names as the libraries themselves
Doug Coleman [Wed, 25 Jan 2023 20:58:06 +0000 (14:58 -0600)]
build-from-source.windows: use dll names as the libraries themselves
build them

15 months agoffi: remove lib from names since they build that way
Doug Coleman [Wed, 25 Jan 2023 20:50:39 +0000 (14:50 -0600)]
ffi: remove lib from names since they build that way

15 months agobuild-from-source.windows: compile cairo dll
Doug Coleman [Wed, 25 Jan 2023 20:48:36 +0000 (14:48 -0600)]
build-from-source.windows: compile cairo dll

15 months agoeditors.visual-studio-code: last one loaded wins
Doug Coleman [Wed, 25 Jan 2023 20:46:58 +0000 (14:46 -0600)]
editors.visual-studio-code: last one loaded wins

my win32 load-all loaded the vscode-exploration version and i was
stuck with it til i debugged

15 months agowebapps.planet: less blockquote margins on mobile
John Benediktsson [Thu, 26 Jan 2023 00:38:04 +0000 (16:38 -0800)]
webapps.planet: less blockquote margins on mobile

15 months agomongodb: fix bson usings
John Benediktsson [Thu, 26 Jan 2023 00:29:43 +0000 (16:29 -0800)]
mongodb: fix bson usings

15 months agowebapps.help: tabs on mobile are better
John Benediktsson [Thu, 26 Jan 2023 00:26:41 +0000 (16:26 -0800)]
webapps.help: tabs on mobile are better

15 months agojson: fix a few usings
John Benediktsson [Thu, 26 Jan 2023 00:04:32 +0000 (16:04 -0800)]
json: fix a few usings

15 months agobase64: use while*
John Benediktsson [Thu, 26 Jan 2023 00:04:06 +0000 (16:04 -0800)]
base64: use while*

15 months agoquiz: slightly rename
John Benediktsson [Wed, 25 Jan 2023 23:22:35 +0000 (15:22 -0800)]
quiz: slightly rename

15 months agoci.run-process: rename to process-autopsy
John Benediktsson [Wed, 25 Jan 2023 19:18:37 +0000 (11:18 -0800)]
ci.run-process: rename to process-autopsy

15 months agoci.docker: move to docker vocab
John Benediktsson [Wed, 25 Jan 2023 19:12:04 +0000 (11:12 -0800)]
ci.docker: move to docker vocab

15 months agojson: merging reader/writer for simplicity
John Benediktsson [Wed, 25 Jan 2023 19:10:23 +0000 (11:10 -0800)]
json: merging reader/writer for simplicity

15 months agoquiz: some cleanup, adding country-name quizzes
John Benediktsson [Wed, 25 Jan 2023 19:09:48 +0000 (11:09 -0800)]
quiz: some cleanup, adding country-name quizzes

15 months agobson: merging reader/writer for simplicity
John Benediktsson [Wed, 25 Jan 2023 19:03:36 +0000 (11:03 -0800)]
bson: merging reader/writer for simplicity

15 months agounicode.flags: adding country>flag and flag>country
John Benediktsson [Wed, 25 Jan 2023 18:38:25 +0000 (10:38 -0800)]
unicode.flags: adding country>flag and flag>country

15 months agowrite_barrier: fix typo
Doug Coleman [Wed, 25 Jan 2023 15:37:30 +0000 (09:37 -0600)]
write_barrier: fix typo

15 months agoslot_visitor: oops case statement
Doug Coleman [Wed, 25 Jan 2023 15:37:21 +0000 (09:37 -0600)]
slot_visitor: oops case statement

15 months agoslot_visitor: back to how we found it yesterday
Doug Coleman [Wed, 25 Jan 2023 15:26:14 +0000 (09:26 -0600)]
slot_visitor: back to how we found it yesterday

15 months agolayouts.hpp: Fix off-by-on comment; header is 6bits, hashcode is the rest
Doug Coleman [Wed, 25 Jan 2023 14:58:08 +0000 (08:58 -0600)]
layouts.hpp: Fix off-by-on comment; header is 6bits, hashcode is the rest

(don't skip a bit)

15 months agovocabs.prettyprint: minor aesthetics
John Benediktsson [Wed, 25 Jan 2023 14:40:27 +0000 (06:40 -0800)]
vocabs.prettyprint: minor aesthetics

15 months agoPrint auto-use message to stderr
Bubbler-4 [Wed, 25 Jan 2023 06:38:55 +0000 (06:38 +0000)]
Print auto-use message to stderr

15 months agocpu.arm.assembler: move the tests around to 64bit arm
Doug Coleman [Wed, 25 Jan 2023 14:17:34 +0000 (08:17 -0600)]
cpu.arm.assembler: move the tests around to 64bit arm

15 months agobootstrap.assembler.arm.64: use 0xabcd instead of 9999 to see it in lldb
Doug Coleman [Wed, 25 Jan 2023 05:17:06 +0000 (23:17 -0600)]
bootstrap.assembler.arm.64: use 0xabcd instead of 9999 to see it in lldb

workflow from intel factor to qemu mac (set up ssh key):

USE: qw
"unix-arm.64" make-image
qw{ scp boot.unix-arm.64.image erg@192.168.64.4:factor } try-process

workflow on qemu mac:
lldb ./factor
run -i=boot.unix-arm.64.image

15 months agoarm: update gifti's changes to not have the "64" suffix
Doug Coleman [Wed, 25 Jan 2023 05:07:45 +0000 (23:07 -0600)]
arm: update gifti's changes to not have the "64" suffix

15 months agobootstrap: update for new arm64 conventions
Doug Coleman [Wed, 25 Jan 2023 04:44:24 +0000 (22:44 -0600)]
bootstrap: update for new arm64 conventions

15 months agocpu.arm.assembler: common code goes here, 32/64-specific code is in its own files
Doug Coleman [Wed, 25 Jan 2023 04:35:46 +0000 (22:35 -0600)]
cpu.arm.assembler: common code goes here, 32/64-specific code is in its own files

As suggested by gifti, we can have names for the assembler that correspond
to the opcodes and we can further remove the 32/64 split since most code
should only use one or the other.

15 months agocpu.arm.assembler.opcodes: there's is only one version of the LDPSW opcode not 32/64
Doug Coleman [Wed, 25 Jan 2023 04:34:25 +0000 (22:34 -0600)]
cpu.arm.assembler.opcodes: there's is only one version of the LDPSW opcode not 32/64

15 months agoit now compiles to something sensible
Giftpflanze [Wed, 25 Jan 2023 01:36:47 +0000 (01:36 +0000)]
it now compiles to something sensible

15 months agoMake it compile
Giftpflanze [Tue, 24 Jan 2023 15:37:36 +0000 (15:37 +0000)]
Make it compile

15 months agoCALLBACK-STUB: some literal translations
Giftpflanze [Mon, 23 Jan 2023 20:57:30 +0000 (20:57 +0000)]
CALLBACK-STUB: some literal translations

15 months agoslot_visitor: reorder to layouts.hpp order
Doug Coleman [Wed, 25 Jan 2023 00:02:55 +0000 (18:02 -0600)]
slot_visitor: reorder to layouts.hpp order

15 months agovm: Some of the slot_counts() are obviously wrong?
Doug Coleman [Wed, 25 Jan 2023 00:01:05 +0000 (18:01 -0600)]
vm: Some of the slot_counts() are obviously wrong?

15 months agoRevert "vm/slot_visitor: handle F_TYPE, the only unhandled type"
Doug Coleman [Tue, 24 Jan 2023 23:02:18 +0000 (17:02 -0600)]
Revert "vm/slot_visitor: handle F_TYPE, the only unhandled type"

This reverts commit f62df26e9463f718a2ed61fd704f167867871e80.

15 months agoRevert "vm/slot_visitor: also handle FIXNUM_TYPE"
Doug Coleman [Tue, 24 Jan 2023 23:02:12 +0000 (17:02 -0600)]
Revert "vm/slot_visitor: also handle FIXNUM_TYPE"

This reverts commit f28442bd9f1df68c3e0493b6554bdecbadea5f90.

15 months agosemver: tweak tests
John Benediktsson [Tue, 24 Jan 2023 22:31:11 +0000 (14:31 -0800)]
semver: tweak tests

15 months agosemver: nicer api
John Benediktsson [Tue, 24 Jan 2023 22:29:17 +0000 (14:29 -0800)]
semver: nicer api

15 months agosemver: default to -# prerelease releases
John Benediktsson [Tue, 24 Jan 2023 22:10:38 +0000 (14:10 -0800)]
semver: default to -# prerelease releases

15 months agocompression.inflate: use <array> instead of replicate
John Benediktsson [Tue, 24 Jan 2023 21:25:28 +0000 (13:25 -0800)]
compression.inflate: use <array> instead of replicate

15 months agosemver: more tests, some cleanup, simplify
John Benediktsson [Tue, 24 Jan 2023 21:24:54 +0000 (13:24 -0800)]
semver: more tests, some cleanup, simplify

15 months agobuild-from-source.windows: use human-sort
John Benediktsson [Tue, 24 Jan 2023 21:01:03 +0000 (13:01 -0800)]
build-from-source.windows: use human-sort

15 months agosemantic-versioning: removing in favor of semver vocab
John Benediktsson [Tue, 24 Jan 2023 20:57:51 +0000 (12:57 -0800)]
semantic-versioning: removing in favor of semver vocab

15 months agosorting.extras: fix docs for compare-with
John Benediktsson [Tue, 24 Jan 2023 20:51:48 +0000 (12:51 -0800)]
sorting.extras: fix docs for compare-with

15 months agoassocs.extras: implement zip-longest with pad-longest
John Benediktsson [Tue, 24 Jan 2023 20:51:23 +0000 (12:51 -0800)]
assocs.extras: implement zip-longest with pad-longest

15 months agosorting.human: adding human-sort for convenience
John Benediktsson [Tue, 24 Jan 2023 20:50:54 +0000 (12:50 -0800)]
sorting.human: adding human-sort for convenience

15 months agosorting: move compare-with back to sorting.extras
John Benediktsson [Tue, 24 Jan 2023 19:12:47 +0000 (11:12 -0800)]
sorting: move compare-with back to sorting.extras

15 months agoFactor.app: bump copyright
John Benediktsson [Mon, 23 Jan 2023 04:26:31 +0000 (20:26 -0800)]
Factor.app: bump copyright

15 months agovm/slot_visitor: also handle FIXNUM_TYPE
Doug Coleman [Tue, 24 Jan 2023 18:42:39 +0000 (12:42 -0600)]
vm/slot_visitor: also handle FIXNUM_TYPE

related to #2749

15 months agovm/slot_visitor: handle F_TYPE, the only unhandled type
Doug Coleman [Tue, 24 Jan 2023 16:34:23 +0000 (10:34 -0600)]
vm/slot_visitor: handle F_TYPE, the only unhandled type

related to #2749

before this patch, the bad type can be F_TYPE, or corruption (values 14, 15 which refer to no types)
https://github.com/factor/factor/issues/2749#issuecomment-1402222977

15 months agocombinators.extras: fix using..
Doug Coleman [Tue, 24 Jan 2023 15:34:31 +0000 (09:34 -0600)]
combinators.extras: fix using..

15 months agocombinators.extras: Add a closure-limit word that takes a maximum number of recursions
Doug Coleman [Tue, 24 Jan 2023 15:03:05 +0000 (09:03 -0600)]
combinators.extras: Add a closure-limit word that takes a maximum number of recursions

15 months agoraylib: update the api
Doug Coleman [Mon, 23 Jan 2023 19:16:52 +0000 (13:16 -0600)]
raylib: update the api

15 months agobuild-from-source.windows: build raygui.dll from factor
Doug Coleman [Mon, 23 Jan 2023 18:42:36 +0000 (12:42 -0600)]
build-from-source.windows: build raygui.dll from factor

15 months agoraygui: raygui was split into its own library in aug 2022
Doug Coleman [Mon, 23 Jan 2023 18:41:13 +0000 (12:41 -0600)]
raygui: raygui was split into its own library in aug 2022

fix typo int -> uint
fix typo in gui-load-style function name
add some new functions to raygui

15 months agocommand-line: Fix -exclude docs
Giftpflanze [Mon, 23 Jan 2023 14:29:06 +0000 (14:29 +0000)]
command-line: Fix -exclude docs

15 months agozoneinfo: update to 2022g
John Benediktsson [Mon, 23 Jan 2023 04:25:15 +0000 (20:25 -0800)]
zoneinfo: update to 2022g

15 months agopcre.ffi: just use pcre.dll.
John Benediktsson [Sun, 22 Jan 2023 21:37:14 +0000 (13:37 -0800)]
pcre.ffi: just use pcre.dll.

If we want to support pcre2, we need a pcre2 vocab.

15 months agoglfw.ffi: adding wrapper for glfw
John Benediktsson [Sun, 22 Jan 2023 21:32:50 +0000 (13:32 -0800)]
glfw.ffi: adding wrapper for glfw

15 months agorandom.pcg: simplify and don't shadow the "cache" word
John Benediktsson [Sun, 22 Jan 2023 18:25:13 +0000 (10:25 -0800)]
random.pcg: simplify and don't shadow the "cache" word

15 months agoassocs.extras: adding zip-longest
John Benediktsson [Sun, 22 Jan 2023 16:59:28 +0000 (08:59 -0800)]
assocs.extras: adding zip-longest

15 months agomath.extras: fix weighted-random by using float random
John Benediktsson [Sun, 22 Jan 2023 15:34:07 +0000 (07:34 -0800)]
math.extras: fix weighted-random by using float random

15 months agogrouping.extras: minor refactor
John Benediktsson [Sun, 22 Jan 2023 06:47:22 +0000 (22:47 -0800)]
grouping.extras: minor refactor

15 months agogrouping.extras: update tests
John Benediktsson [Sun, 22 Jan 2023 06:43:43 +0000 (22:43 -0800)]
grouping.extras: update tests

15 months agogrouping.extras: refactor words, complete documentation
razetime [Sun, 22 Jan 2023 06:24:28 +0000 (11:54 +0530)]
grouping.extras: refactor words, complete documentation

15 months agokernel: Improve description for `with`
razetime [Sun, 22 Jan 2023 02:59:00 +0000 (08:29 +0530)]
kernel: Improve description for `with`

15 months agoqw: more docs
John Benediktsson [Sun, 22 Jan 2023 02:56:04 +0000 (18:56 -0800)]
qw: more docs

15 months agoqw: change example
John Benediktsson [Sun, 22 Jan 2023 02:54:31 +0000 (18:54 -0800)]
qw: change example

15 months agomath.cardinality: fix flaky test
Doug Coleman [Sun, 22 Jan 2023 01:05:01 +0000 (19:05 -0600)]
math.cardinality: fix flaky test

https://github.com/factor/factor/issues/2746

15 months agoio.monitors: fix test by disposing then pumping events
Doug Coleman [Sat, 21 Jan 2023 21:58:40 +0000 (15:58 -0600)]
io.monitors: fix test by disposing then pumping events

fixes #2746

15 months agomason.release.sign: fix typo
John Benediktsson [Sat, 21 Jan 2023 21:37:47 +0000 (13:37 -0800)]
mason.release.sign: fix typo

15 months agomason.release.sign: revert the smaller upload, just submit dmg
John Benediktsson [Sat, 21 Jan 2023 21:24:38 +0000 (13:24 -0800)]
mason.release.sign: revert the smaller upload, just submit dmg

15 months agomason.release.sign: fix using
John Benediktsson [Sat, 21 Jan 2023 19:16:14 +0000 (11:16 -0800)]
mason.release.sign: fix using

15 months agomason.release.sign: make notary-args a symbol
John Benediktsson [Sat, 21 Jan 2023 17:53:34 +0000 (09:53 -0800)]
mason.release.sign: make notary-args a symbol

15 months agomason.release.sign: fix the zip-the-binaries step
John Benediktsson [Sat, 21 Jan 2023 15:18:36 +0000 (07:18 -0800)]
mason.release.sign: fix the zip-the-binaries step

15 months agohelp.tour: map does not work on linked lists
razetime [Sat, 21 Jan 2023 10:06:30 +0000 (15:36 +0530)]
help.tour: map does not work on linked lists