]> gitweb.factorcode.org Git - factor.git/log
factor.git
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

15 months agosyntax: mark QUALIFIED: as deprecated
razetime [Sat, 21 Jan 2023 10:01:05 +0000 (15:31 +0530)]
syntax: mark QUALIFIED: as deprecated

15 months agomason.release.sign: try and upload only the binaries
John Benediktsson [Sat, 21 Jan 2023 05:06:34 +0000 (21:06 -0800)]
mason.release.sign: try and upload only the binaries

15 months agorandom.pcg: adding 64-bit tests
John Benediktsson [Sat, 21 Jan 2023 00:59:55 +0000 (16:59 -0800)]
random.pcg: adding 64-bit tests

15 months agotldr: replace args syntax
John Benediktsson [Sat, 21 Jan 2023 00:40:24 +0000 (16:40 -0800)]
tldr: replace args syntax

15 months agorandom.pcg: add a unit-test
Alexander Ilin [Sat, 21 Jan 2023 00:44:49 +0000 (01:44 +0100)]
random.pcg: add a unit-test

Check the first and the millionth number of the 32-bit generator for the
seed (1, 1).

15 months agorandom.pcg-vec: delete the vocab
Alexander Ilin [Sat, 21 Jan 2023 00:30:44 +0000 (01:30 +0100)]
random.pcg-vec: delete the vocab

The "vectorized" implementation is slower than the tuple-based one in the
random.pcg vocab, and it has extra memory load, see 4array in rot-state.

15 months agotldr: download before memoizing index
John Benediktsson [Sat, 21 Jan 2023 00:05:05 +0000 (16:05 -0800)]
tldr: download before memoizing index

15 months agotools.test: simplify by adding test-root
John Benediktsson [Sat, 21 Jan 2023 00:01:20 +0000 (16:01 -0800)]
tools.test: simplify by adding test-root

15 months agohelp.lint: simplify by adding help-lint-root
John Benediktsson [Sat, 21 Jan 2023 00:01:09 +0000 (16:01 -0800)]
help.lint: simplify by adding help-lint-root

15 months agomason.release.sign: integrate notary-tool on macos
John Benediktsson [Fri, 20 Jan 2023 23:10:48 +0000 (15:10 -0800)]
mason.release.sign: integrate notary-tool on macos

15 months agomacho: removing files that notarytool doesn't like
John Benediktsson [Fri, 20 Jan 2023 22:36:22 +0000 (14:36 -0800)]
macho: removing files that notarytool doesn't like

15 months agorandom.pcg: fix 32-bit
John Benediktsson [Fri, 20 Jan 2023 22:23:53 +0000 (14:23 -0800)]
random.pcg: fix 32-bit

15 months agorandom.pcg: add 32-bit implementation
Alexander Ilin [Tue, 4 Jan 2022 21:24:23 +0000 (22:24 +0100)]
random.pcg: add 32-bit implementation

15 months agoRename random.pcg-mwc[-vec] to random.pcg[-vec]
Alexander Ilin [Tue, 4 Jan 2022 19:01:17 +0000 (20:01 +0100)]
Rename random.pcg-mwc[-vec] to random.pcg[-vec]

15 months agorandom.pcg-mwc[-vec]: improve performance
Alexander Ilin [Tue, 4 Jan 2022 18:37:57 +0000 (19:37 +0100)]
random.pcg-mwc[-vec]: improve performance

Use TUPLE instead of STURCT, cache unused 32 bits between calls.

15 months agorandom.pcg-mwc[-vec]: new vocabs to choose from
Alexander Ilin [Tue, 4 Jan 2022 03:21:03 +0000 (04:21 +0100)]
random.pcg-mwc[-vec]: new vocabs to choose from

15 months agohttp.client: revert https
John Benediktsson [Fri, 20 Jan 2023 21:17:08 +0000 (13:17 -0800)]
http.client: revert https

15 months agoimages.png: revert https change
John Benediktsson [Fri, 20 Jan 2023 20:14:11 +0000 (12:14 -0800)]
images.png: revert https change

15 months agoyahoo: update tests for https
John Benediktsson [Fri, 20 Jan 2023 20:13:15 +0000 (12:13 -0800)]
yahoo: update tests for https

15 months agowikipedia: update tests for https change
John Benediktsson [Fri, 20 Jan 2023 20:12:45 +0000 (12:12 -0800)]
wikipedia: update tests for https change

15 months agorobots: revert https
John Benediktsson [Fri, 20 Jan 2023 20:12:24 +0000 (12:12 -0800)]
robots: revert https

15 months agoxml.tests: revert https
John Benediktsson [Fri, 20 Jan 2023 20:11:42 +0000 (12:11 -0800)]
xml.tests: revert https

15 months agohtml.templates.chloe.syntax: revert to http for now
John Benediktsson [Fri, 20 Jan 2023 20:10:20 +0000 (12:10 -0800)]
html.templates.chloe.syntax: revert to http for now

15 months agoraylib: fix get-ray-collision-model
John Benediktsson [Fri, 20 Jan 2023 19:49:15 +0000 (11:49 -0800)]
raylib: fix get-ray-collision-model

15 months agoraylib: fix get-ray-collision-ground
John Benediktsson [Fri, 20 Jan 2023 19:43:16 +0000 (11:43 -0800)]
raylib: fix get-ray-collision-ground

15 months agoraylib: update to 4.2.0
John Benediktsson [Fri, 20 Jan 2023 19:38:16 +0000 (11:38 -0800)]
raylib: update to 4.2.0

15 months agounicode: keep only the files we need locally
John Benediktsson [Fri, 20 Jan 2023 18:26:15 +0000 (10:26 -0800)]
unicode: keep only the files we need locally

15 months agomason.release.sign: use hardened runtime
John Benediktsson [Fri, 20 Jan 2023 17:59:09 +0000 (09:59 -0800)]
mason.release.sign: use hardened runtime

15 months agohelp.tips: use https
John Benediktsson [Fri, 20 Jan 2023 17:58:35 +0000 (09:58 -0800)]
help.tips: use https

15 months agoSwitch to https urls
John Benediktsson [Fri, 20 Jan 2023 17:37:44 +0000 (09:37 -0800)]
Switch to https urls

15 months agobunny.model: moved to downloads.factorcode.org
John Benediktsson [Fri, 20 Jan 2023 17:33:51 +0000 (09:33 -0800)]
bunny.model: moved to downloads.factorcode.org

15 months agogpu.demos.bunny: host on downloads.factorcode.org
John Benediktsson [Fri, 20 Jan 2023 17:32:58 +0000 (09:32 -0800)]
gpu.demos.bunny: host on downloads.factorcode.org

15 months agomason.release.sign: sign some other files on macos.
John Benediktsson [Fri, 20 Jan 2023 17:22:02 +0000 (09:22 -0800)]
mason.release.sign: sign some other files on macos.