]> gitweb.factorcode.org Git - factor.git/log
factor.git
2 years agofuel: Incorporate refresh-and-test-all
timor [Wed, 26 May 2021 18:37:43 +0000 (20:37 +0200)]
fuel: Incorporate refresh-and-test-all

2 years agovocabs.refresh: Add variants of refresh(-all) that run unit-tests
timor [Wed, 26 May 2021 18:13:29 +0000 (20:13 +0200)]
vocabs.refresh: Add variants of refresh(-all) that run unit-tests

Bound to Shift-F2 per default in the UI Tools windows.

2 years agolists: Add 2leach, lreduce, and 2lreduce
Doug Coleman [Tue, 25 May 2021 13:52:04 +0000 (08:52 -0500)]
lists: Add 2leach, lreduce, and 2lreduce

2 years agoraylib.demo.mesh-picking: Implement official mesh picking example
timor [Sun, 23 May 2021 12:28:05 +0000 (14:28 +0200)]
raylib.demo.mesh-picking: Implement official mesh picking example

WIP

squash! WIP

2 years agoraylib.ffi: Fix wrong pointer argument
timor [Sun, 23 May 2021 20:55:15 +0000 (22:55 +0200)]
raylib.ffi: Fix wrong pointer argument

This was causing memory access faults.

2 years agoraylib.ffi: Re-order according to header file, fix fields, enums
timor [Sun, 23 May 2021 19:31:04 +0000 (21:31 +0200)]
raylib.ffi: Re-order according to header file, fix fields, enums

- LogType enum is replaced by TraceLogType
- sourceRec -> source in NPatchInfo
- slot order in ModelAnimation
- convert Color literals to constants

2 years agoraylib.ffi: Use CameraMode enum in function call
timor [Sun, 23 May 2021 12:27:25 +0000 (14:27 +0200)]
raylib.ffi: Use CameraMode enum in function call

2 years agoraylib.ffi: Use 3.5.0 MaterialMapType Enum
timor [Sun, 23 May 2021 12:26:58 +0000 (14:26 +0200)]
raylib.ffi: Use 3.5.0 MaterialMapType Enum

2 years agoraylib.ffi.util: Provide convenience for defining array accesses
timor [Sun, 23 May 2021 10:39:41 +0000 (12:39 +0200)]
raylib.ffi.util: Provide convenience for defining array accesses

This abstracts the pattern that raylib structures store arrays as pointers with
an associated length slot

2 years agoraylib.ffi: Implement sequence protocol for Vector types
timor [Sun, 23 May 2021 10:43:54 +0000 (12:43 +0200)]
raylib.ffi: Implement sequence protocol for Vector types

2 years agoraylib.ffi: Use destructors for unloading
timor [Sun, 23 May 2021 10:29:16 +0000 (12:29 +0200)]
raylib.ffi: Use destructors for unloading

2 years agoraylib.ffi: Fix typo
timor [Sun, 23 May 2021 10:24:35 +0000 (12:24 +0200)]
raylib.ffi: Fix typo

2 years agoraylib.ffi: Use CameraType enum
timor [Sun, 23 May 2021 10:23:10 +0000 (12:23 +0200)]
raylib.ffi: Use CameraType enum

2 years agohelp.cookbook: remove the dash for easier reading.
John Benediktsson [Mon, 17 May 2021 16:31:55 +0000 (09:31 -0700)]
help.cookbook: remove the dash for easier reading.

2 years agoio.directories: simplify iterate-directory-entries.
John Benediktsson [Mon, 17 May 2021 16:31:27 +0000 (09:31 -0700)]
io.directories: simplify iterate-directory-entries.

2 years agoio.directories: Fix weird issue with iterate-director-entries running out of retainst...
Doug Coleman [Sat, 15 May 2021 22:22:58 +0000 (17:22 -0500)]
io.directories: Fix weird issue with iterate-director-entries running out of retainstack when using locals.

Ugly code, maybe could be cleaned up by swapping the order?

Related to #2464.

2 years agoGNUmakefile: Fix check for fsanitize..
Doug Coleman [Sat, 15 May 2021 22:20:56 +0000 (17:20 -0500)]
GNUmakefile: Fix check for fsanitize..

2 years agoGNUmakefile: Add support for -fsanitize=address etc option.
Doug Coleman [Sat, 15 May 2021 20:56:40 +0000 (15:56 -0500)]
GNUmakefile: Add support for -fsanitize=address etc option.

2 years agovm: Fix a warning found by -Wextra
Doug Coleman [Fri, 7 May 2021 14:31:21 +0000 (09:31 -0500)]
vm: Fix a warning found by -Wextra

The code probably can't actually fall through to the next case
since the true branch is an error case, but it looks cleaner this way.

2 years agoGNUmakefile: Enable -Wextra
Doug Coleman [Fri, 7 May 2021 14:31:03 +0000 (09:31 -0500)]
GNUmakefile: Enable -Wextra

2 years agoclasses.struct.tests: Set margin prettyprinter control to default
timor [Thu, 6 May 2021 11:18:11 +0000 (13:18 +0200)]
classes.struct.tests: Set margin prettyprinter control to default

2 years agofuel-autodoc.el: Fix typo
timor [Thu, 6 May 2021 13:45:41 +0000 (15:45 +0200)]
fuel-autodoc.el: Fix typo

2 years agowebsites.factorcode: formatting.
John Benediktsson [Wed, 5 May 2021 17:31:32 +0000 (10:31 -0700)]
websites.factorcode: formatting.

2 years agowebsites.factorcode: adding slack group.
John Benediktsson [Wed, 5 May 2021 17:29:37 +0000 (10:29 -0700)]
websites.factorcode: adding slack group.

2 years agogemini: identify links more liberally.
John Benediktsson [Wed, 5 May 2021 15:50:35 +0000 (08:50 -0700)]
gemini: identify links more liberally.

This makes it work with "Station", the new Gemini social network.

gemini://station.martinrue.com/

2 years agoimages.loader.cocoa: Fix images on older macOS.
Doug Coleman [Wed, 5 May 2021 13:58:04 +0000 (08:58 -0500)]
images.loader.cocoa: Fix images on older macOS.

There is probably a better version than 11 to check for.

2 years agohttp2: move briefly to extra/ due to dependency on io.streams.peek.
John Benediktsson [Wed, 5 May 2021 04:00:58 +0000 (21:00 -0700)]
http2: move briefly to extra/ due to dependency on io.streams.peek.

2 years agocompiler.cfg.copy-prop: cleanup using.
John Benediktsson [Wed, 5 May 2021 00:01:24 +0000 (17:01 -0700)]
compiler.cfg.copy-prop: cleanup using.

2 years agoopenssl: cleanup using.
John Benediktsson [Wed, 5 May 2021 00:00:12 +0000 (17:00 -0700)]
openssl: cleanup using.

2 years agoopenssl: move some things around for bootstrap.
John Benediktsson [Tue, 4 May 2021 23:53:41 +0000 (16:53 -0700)]
openssl: move some things around for bootstrap.

2 years agoSquashed commit of the following:
John Benediktsson [Tue, 4 May 2021 17:04:22 +0000 (10:04 -0700)]
Squashed commit of the following:

commit b2e1b6401c12b493433eda3a89be9bfbd5060245
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Wed Apr 21 17:27:42 2021 -0700

    tests added

commit 03daa1c9cf16b6ec8d8f0d256804fcc422e45c1d
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Wed Apr 21 16:58:14 2021 -0700

    copyright

commit ffdef5975c7406ebaa95d294ea36ee601e7389e2
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Wed Apr 21 16:55:29 2021 -0700

    final touches

commit 2c3bce15fc97bb503235a042a4aa0f62bd6b6307
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Tue Apr 20 14:39:59 2021 -0700

    dynamic compression works!

commit 2a3faff918d4a0c859898101b93a8827de18022a
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Mon Apr 19 08:50:47 2021 -0700

    dynamic compression working on some examples, but not on others

commit f066fd0597381fe740ed5296e7ac5bc587a3b03f
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Sun Apr 18 20:53:08 2021 -0700

    dynamic bughunting

commit 266af144d5e0a985f7cdc010c4a09034430f5bf5
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Wed Apr 14 09:27:03 2021 -0700

    bug fixes that got static compression working

commit fefdfd46923dc73dcbf80300b817d4164db107cb
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Sun Apr 11 23:36:38 2021 -0700

    bug-hunting

commit 698e2cd378dc3c497febb1eaf03fd472a451ba6d
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Wed Apr 7 20:32:10 2021 -0700

    complete pipeline words

commit 263a5694d516ce2affac3ca6d77f31859c961fe8
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Sun Apr 4 16:10:47 2021 -0700

    writing to byte arrays

commit ad8bbec84c2d0571247a12f42931c7343a88c861
Author: Jacob Fischer <jfischer@g.hmc.edu>
Date:   Tue Mar 16 22:16:24 2021 -0700

    added ability to combine and rev a seq of bits

commit b80578f34dfa8dccd0f370c0f818894c2e526fe7
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Sun Mar 28 17:35:02 2021 -0700

    dynamic blocks built

commit 68284c64f8810751cafcc0e40c34d11d067ab059
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Tue Mar 23 21:03:54 2021 -0700

    dictionary embedding progress

commit 5df1a37ed3071d316315de557d5775510be52b40
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Wed Mar 3 10:30:32 2021 -0800

    fixed typo

commit 9ef6ef3b7431d68c5b54d43d9915534b50142d3b
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Wed Mar 3 10:05:26 2021 -0800

    canonical codes, kinda

commit b144c8bb607450ce7c33027aedde89e9ac6d4dc9
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Mon Mar 1 08:32:37 2021 -0800

    huffman trees generated

commit a0d194388f2d128fe431fa4fdf99bbc10113d903
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Sun Feb 28 12:35:53 2021 -0800

    fixed length huffman to bit arrays

commit 77878991cc48ccb86e4b246d2d5d21027a70ef95
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Sun Feb 14 23:15:56 2021 -0800

    static tables done

commit a70ae1f1ed6ffe2485b15763cd4e1c022f79d526
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Sun Feb 14 22:20:25 2021 -0800

    static compression table

commit 357e6f263a46bc1d18592727b6a41f0f051f3ee8
Author: Jacob Fischer <jfischer@g.hmc.edu>
Date:   Sun Feb 7 22:52:59 2021 -0800

    added create header and started huffman encoding

commit 33c6ee3a5b1d91926bfe25d9796312a011cabf51
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Sun Feb 7 21:12:00 2021 -0800

    header modification

commit 3ad9bfe1016b5c2f47fce3b69079dc0ad0490f01
Author: Abtin Molavi <amolavi@hmc.edu>
Date:   Tue Nov 24 12:15:08 2020 -0700

    commiting major changes for this semester

commit d1eab817360174e4f4256021fb4cd036fe1ac826
Author: Jacob Fischer <jfischer@g.hmc.edu>
Date:   Wed Nov 11 21:10:13 2020 -0800

    added deflate lz77 helper to make triples

2 years agotools.test: Fix documentation
Giftpflanze [Fri, 19 Mar 2021 12:09:48 +0000 (12:09 +0000)]
tools.test: Fix documentation

2 years agoMake both-fixnums? foldable, hashcode* flushable
timor [Sat, 3 Apr 2021 13:33:37 +0000 (15:33 +0200)]
Make both-fixnums? foldable, hashcode* flushable

2 years agoTLS alpn code clean up.
David Flores [Mon, 26 Apr 2021 04:07:15 +0000 (21:07 -0700)]
TLS alpn code clean up.

2 years agoAttempt to add TLS ALPN extension (RFC 7301)
David Flores [Fri, 23 Apr 2021 22:11:16 +0000 (15:11 -0700)]
Attempt to add TLS ALPN extension (RFC 7301)

2 years agoHTTP/2 Server Framework (#2457)
David Mindlin [Tue, 4 May 2021 17:04:54 +0000 (10:04 -0700)]
HTTP/2 Server Framework (#2457)

* Framework for http2 server.

* Added some pseudocode to http2 servers.

* added start connection word to http2 server

* add a check for the http secure connection or not

* Added more framework and pseudocode.

* Quick fix to hpack context for http2.

* defaulting to http/1 in insecure case

* fixed misplaced bracket

* insecure no upgrade case

* moved handle-client-error to more appropriate place

* added word to create server

* Commented out line for checking for connection prefix, as it messes up
the stream.

Co-authored-by: David Flores <dflores0818@gmail.com>
2 years agotools.annotations: Optionally re-annotate silently, add reset-all
timor [Fri, 23 Apr 2021 08:38:45 +0000 (10:38 +0200)]
tools.annotations: Optionally re-annotate silently, add reset-all

Introduces variable `override-annotations`.  If set to `t`, annotating a word
twice will not throw an error, but reset the word and apply the new annotation.

The new word `reset-all` is provided as convenience to reset all known
annotations.

3 years agoquiz: Rename math-quiz, add support for true-false questions
Doug Coleman [Fri, 23 Apr 2021 21:49:19 +0000 (16:49 -0500)]
quiz: Rename math-quiz, add support for true-false questions

3 years agomath-quiz: Better quiz framework.
Doug Coleman [Fri, 16 Apr 2021 23:21:47 +0000 (18:21 -0500)]
math-quiz: Better quiz framework.

3 years agomath-quiz: allow Ctrl-D to quit the loop.
John Benediktsson [Wed, 21 Apr 2021 15:31:57 +0000 (08:31 -0700)]
math-quiz: allow Ctrl-D to quit the loop.

3 years agomath-quiz: Add a basic quiz framework with some math questions.
Doug Coleman [Fri, 16 Apr 2021 14:59:19 +0000 (09:59 -0500)]
math-quiz: Add a basic quiz framework with some math questions.

3 years agococoa: Ask the OS for which image file extensions are supported.
Doug Coleman [Fri, 16 Apr 2021 04:21:30 +0000 (23:21 -0500)]
cocoa: Ask the OS for which image file extensions are supported.

3 years agopeg.ebnf: remove un-necessary ebnf-ignore-repeat{0,1}.
John Benediktsson [Wed, 14 Apr 2021 18:37:28 +0000 (11:37 -0700)]
peg.ebnf: remove un-necessary ebnf-ignore-repeat{0,1}.

3 years agovocabs.parser: add eval-in-current( ) word for funktors.
Doug Coleman [Tue, 28 Jun 2016 07:23:30 +0000 (00:23 -0700)]
vocabs.parser: add eval-in-current( ) word for funktors.

3 years agosorting: moving compare-with from sorting.extras.
John Benediktsson [Wed, 14 Apr 2021 15:26:40 +0000 (08:26 -0700)]
sorting: moving compare-with from sorting.extras.

3 years agosequences.abbrev: more efficient.
John Benediktsson [Mon, 12 Apr 2021 19:38:34 +0000 (12:38 -0700)]
sequences.abbrev: more efficient.

3 years agosequences.abbrev: use assoc-collapse from assocs.extras
timor [Mon, 12 Apr 2021 11:23:27 +0000 (13:23 +0200)]
sequences.abbrev: use assoc-collapse from assocs.extras

3 years agoassocs.extras: Combinator for merging two assocs, rename assoc-merge
timor [Mon, 5 Apr 2021 22:22:15 +0000 (00:22 +0200)]
assocs.extras: Combinator for merging two assocs, rename assoc-merge

Renamed `assoc-merge` to `assoc-collect`, and introduced `assoc-merge` as
combinator to combine two assocs, specifying a quotation in case there is a
value for a certain key in both. `assoc-collapse` is the reducing version.

3 years agomodern.html: Add comment support. peek-from -> peek1-from
Doug Coleman [Sun, 11 Apr 2021 23:34:38 +0000 (18:34 -0500)]
modern.html: Add comment support. peek-from -> peek1-from

3 years agomodern.html: add some tests, fix some bugs, implement write-html
Doug Coleman [Sun, 11 Apr 2021 20:36:54 +0000 (15:36 -0500)]
modern.html: add some tests, fix some bugs, implement write-html

3 years agomodern.html: yet another html parser
Doug Coleman [Sun, 11 Apr 2021 16:05:13 +0000 (11:05 -0500)]
modern.html: yet another html parser

- does not handle typos
- not html5 compliant (that is a larger project, see html5 branch)
- meant to use with chloe templates when i figure out the template compiler works

3 years agomodern.slices: Add some more slice words
Doug Coleman [Sun, 11 Apr 2021 15:59:04 +0000 (10:59 -0500)]
modern.slices: Add some more slice words

3 years agocursors2: Delete for now
Doug Coleman [Sun, 11 Apr 2021 15:58:40 +0000 (10:58 -0500)]
cursors2: Delete for now

3 years agocursors2: Different implementation and add filter
Doug Coleman [Sun, 11 Apr 2021 15:57:39 +0000 (10:57 -0500)]
cursors2: Different implementation and add filter

I'm going to delete this vocab for now because it's not done and I did not mean to commit it to master.

3 years agocrypto.jwt: Add a library to encode/decode jwt web tokens.
Doug Coleman [Fri, 9 Apr 2021 14:57:16 +0000 (09:57 -0500)]
crypto.jwt: Add a library to encode/decode jwt web tokens.

https://tools.ietf.org/html/rfc7519

online tester at https://jwt.io/#debugger

- we don't have a way to minify json (remove spaces from the final payload)
- had to add a word in base64 that urlencodes and removes trailing = signs
- only sha-256 is supported

3 years agobase64: Add a version of url-base64 that trims trailing === for jwt.
Doug Coleman [Fri, 9 Apr 2021 14:23:28 +0000 (09:23 -0500)]
base64: Add a version of url-base64 that trims trailing === for jwt.

See https://tools.ietf.org/html/rfc7519
and
https://stackoverflow.com/questions/49082844/how-could-firebase-send-a-jwt-token-which-payload-contains-an-underscore-charact

3 years agocursors2: yet another stab at immutable cursors
Doug Coleman [Thu, 8 Apr 2021 00:23:06 +0000 (19:23 -0500)]
cursors2: yet another stab at immutable cursors

3 years agointerval-sets: changed tests and docs for interval-in?.
John Benediktsson [Mon, 5 Apr 2021 03:57:07 +0000 (20:57 -0700)]
interval-sets: changed tests and docs for interval-in?.

3 years agointerval-sets: rename in? to interval-in?.
John Benediktsson [Mon, 5 Apr 2021 03:26:57 +0000 (20:26 -0700)]
interval-sets: rename in? to interval-in?.

Previously this word conflicted with sets:in?.

3 years agobasis: fix @ typo.
John Benediktsson [Mon, 5 Apr 2021 03:18:22 +0000 (20:18 -0700)]
basis: fix @ typo.

3 years agobasis: remove calls on combinators.extras for now.
John Benediktsson [Mon, 5 Apr 2021 03:17:46 +0000 (20:17 -0700)]
basis: remove calls on combinators.extras for now.

3 years agomath.intervals: Add [0,b] and [0,b), use in a couple of places
timor [Sun, 4 Apr 2021 14:02:42 +0000 (16:02 +0200)]
math.intervals: Add [0,b] and [0,b), use in a couple of places

This replicates the `[0,b]` and `[0,b)` words from `math.ranges`.

3 years agocombinators.smart: simpler smart-loop definition.
John Benediktsson [Sun, 4 Apr 2021 14:10:25 +0000 (07:10 -0700)]
combinators.smart: simpler smart-loop definition.

3 years agohttp2.hpack: fix help-lint.
John Benediktsson [Sun, 4 Apr 2021 04:31:16 +0000 (21:31 -0700)]
http2.hpack: fix help-lint.

3 years agoHPack for HTTP/2 (#2447)
David Mindlin [Sun, 4 Apr 2021 04:29:12 +0000 (21:29 -0700)]
HPack for HTTP/2 (#2447)

* created framework for hpack

* Started working on decoding hpack.

* Creating helper words for hpack decoding.

* Continued work on hpack, finished static table.

* Small updates to hpack

* Some rearranging and implementing string and integer decoding.

* Refactored the integer method, and added some of the gluing together
code for decoding hpack.

* Added some tests for the string and integer decoding of hpack.

* Added some more tests for hpack decoding

* Added dynamic-table managment to hpack decoding.

* Added some errors for hpack decoding

* Added an additional test from the rfc for hpack decoding.

* ain function for hpack encode, trying to make similar to decode

* Quick fix to hpack-decode and clean up for the test file.

* Compilation changes

* Changed to use utf 8 decoding for strings in hpack decoding.

* Renamed decode-context to hpack-context, and moved all the definitions
to one place.

* removed unnecessary function

* Created hpack string and integer encoding.
Also minor optimization to integer decoding.

* Updated default hpack dynamic table max size.

* Fixed off by 1 error in indexing, and changed the output object to an
array.

* Added some large tests for the hpack-decode word.

* Small refactoring of hpack decode-string.

* working on encode

* changed encode stack effect

* Minor update to hpack integer encoding for consistent output data
structure

* Added tests for hpack encoding, including integers, strings, individual
fields, and entire header block sequences.
Integers and strings checks the outputed byte array
individual fields and header lists checks by decoding and ensuring the
same result out, and checking that the contexts (dynamic tables) are the
same.
Individual fields also check that the entire block is consumed.

* main encode function

* table searching

* Some minor rewrites for better style in hpack code.

* Some more code edits for style to hpack context handling.

* Added huffman compression decoding for strings in hpack.
The implementation may not be the fastest, but it works.

* Implemented huffman encoding for hpack strings

* working on encode

* completed hpack encode

* Some improvements to hpack huffman decoding for style and performance
improvements.

* Cleaned up hpack encoding and decoding.

* Added new version of decoding an hpack encoded integer.

* Minor changes to decoding huffman encoded strings so the file compiles
correctly on first load.

* Minor change to hpack huffman compression.

* Added some light documentation for the hpack vocabulary.

Co-authored-by: David Flores <dflores0818@gmail.com>
3 years agocombinators.extras: move back to extra/
John Benediktsson [Sun, 4 Apr 2021 04:01:56 +0000 (21:01 -0700)]
combinators.extras: move back to extra/

3 years agobasis/extra: using smart-loop.
John Benediktsson [Sun, 4 Apr 2021 04:00:55 +0000 (21:00 -0700)]
basis/extra: using smart-loop.

3 years agocombinators.smart: adding smart-loop.
John Benediktsson [Sun, 4 Apr 2021 04:00:41 +0000 (21:00 -0700)]
combinators.smart: adding smart-loop.

3 years agocombinators.extras: move to basis
Doug Coleman [Fri, 2 Apr 2021 15:03:42 +0000 (10:03 -0500)]
combinators.extras: move to basis

3 years agoretries: Swap the order of args to retries combinator
Doug Coleman [Thu, 1 Apr 2021 04:00:41 +0000 (23:00 -0500)]
retries: Swap the order of args to retries combinator

[ "/bin" XATTR_NOFOLLOW swapd list-xattrs-impl ]
<immediate> { 2 4 100000 } retries .

    [ 2 = [ "not 2!" throw ] unless ]
    10 20 <random-wait> 3 retries

looks better than

    [ 2 = [ "not 2!" throw ] unless ]
    3 10 20 <random-wait> retries ! old

3 years agounicode.breaks: Another fix for bootstrap
Doug Coleman [Thu, 1 Apr 2021 03:49:39 +0000 (22:49 -0500)]
unicode.breaks: Another fix for bootstrap

3 years agounicode.breaks: Compile word before using with literal syntax
Doug Coleman [Thu, 1 Apr 2021 03:39:48 +0000 (22:39 -0500)]
unicode.breaks: Compile word before using with literal syntax

3 years agoio.streams.counting: Add a stream type that counts bytes.
Doug Coleman [Thu, 1 Apr 2021 03:18:19 +0000 (22:18 -0500)]
io.streams.counting: Add a stream type that counts bytes.

I would like for this to be more composable and output the counts in a better way.

3 years agounix.xattrs: Add basic support for xaddrs on macOS
Doug Coleman [Thu, 1 Apr 2021 03:13:02 +0000 (22:13 -0500)]
unix.xattrs: Add basic support for xaddrs on macOS

3 years agoretries: Add a retry vocabulary that tries n times or each element of a sequence...
Doug Coleman [Thu, 1 Apr 2021 03:12:44 +0000 (22:12 -0500)]
retries: Add a retry vocabulary that tries n times or each element of a sequence and collects errors

3 years agocombinators.extras: Add loop1 which outputs an object
Doug Coleman [Thu, 1 Apr 2021 02:50:26 +0000 (21:50 -0500)]
combinators.extras: Add loop1 which outputs an object

3 years agoio.files.acls: Fix bitrot in acls and add a test to ensure it doesn't fail.
Doug Coleman [Thu, 1 Apr 2021 02:48:41 +0000 (21:48 -0500)]
io.files.acls: Fix bitrot in acls and add a test to ensure it doesn't fail.

3 years agocombinators.extra: Add with-output-variable
Doug Coleman [Thu, 1 Apr 2021 02:41:55 +0000 (21:41 -0500)]
combinators.extra: Add with-output-variable

3 years agounicode.script: need to use literals.
John Benediktsson [Wed, 31 Mar 2021 20:59:08 +0000 (13:59 -0700)]
unicode.script: need to use literals.

3 years agounicode: cleanup by using literals and CONSTANT:.
John Benediktsson [Wed, 31 Mar 2021 20:39:16 +0000 (13:39 -0700)]
unicode: cleanup by using literals and CONSTANT:.

3 years agodocuments.elements: more tests.
John Benediktsson [Wed, 31 Mar 2021 15:37:07 +0000 (08:37 -0700)]
documents.elements: more tests.

3 years agoRevert "ui.gadgets.editors: adding Ctrl-o for insert-newline-after cursor."
John Benediktsson [Wed, 31 Mar 2021 03:52:31 +0000 (20:52 -0700)]
Revert "ui.gadgets.editors: adding Ctrl-o for insert-newline-after cursor."

This reverts commit 4e40935ab906323e3e4533940a3233bd4e1867e8.

3 years agoui.gestures: action-modifier changed to M+ (but still Cmd) on macOS.
John Benediktsson [Wed, 31 Mar 2021 03:38:56 +0000 (20:38 -0700)]
ui.gestures: action-modifier changed to M+ (but still Cmd) on macOS.

3 years agoui.tools.listener: remove comment about readline bindings.
John Benediktsson [Wed, 31 Mar 2021 03:37:33 +0000 (20:37 -0700)]
ui.tools.listener: remove comment about readline bindings.

3 years agoui.gadgets.editors: adding Ctrl-o for insert-newline-after cursor.
John Benediktsson [Wed, 31 Mar 2021 03:36:13 +0000 (20:36 -0700)]
ui.gadgets.editors: adding Ctrl-o for insert-newline-after cursor.

3 years agoui.tools.operations: switch back to previous (non-shift) keybindings.
John Benediktsson [Wed, 31 Mar 2021 03:35:35 +0000 (20:35 -0700)]
ui.tools.operations: switch back to previous (non-shift) keybindings.

3 years agoui.gadgets.editors: remove readline bindings by default.
John Benediktsson [Wed, 31 Mar 2021 03:34:00 +0000 (20:34 -0700)]
ui.gadgets.editors: remove readline bindings by default.

There were too many conflicts and I want to keep our previous behavior
until we sort it out.  Readline bindings can now be configured per
editor-class by calling "readline-bindings".

3 years agoui: minor style tweaks/fixes.
John Benediktsson [Wed, 31 Mar 2021 03:22:20 +0000 (20:22 -0700)]
ui: minor style tweaks/fixes.

3 years agogeneric.parser: Show the bad effects in the error.
Doug Coleman [Tue, 30 Mar 2021 23:46:43 +0000 (18:46 -0500)]
generic.parser: Show the bad effects in the error.

3 years agoui.gadgets.editors: adding support for paragraph navigation.
John Benediktsson [Tue, 30 Mar 2021 22:25:59 +0000 (15:25 -0700)]
ui.gadgets.editors: adding support for paragraph navigation.

3 years agodocuments.elements: adding support for paragraph navigation.
John Benediktsson [Tue, 30 Mar 2021 22:25:37 +0000 (15:25 -0700)]
documents.elements: adding support for paragraph navigation.

3 years agoRevert "ui.gadgets.panes: only scroll down when we are at the bottom."
John Benediktsson [Tue, 30 Mar 2021 22:05:00 +0000 (15:05 -0700)]
Revert "ui.gadgets.panes: only scroll down when we are at the bottom."

This reverts commit 4781ef205cc8d1da91aebcbe3543eaa78c31b217.

3 years agoRevert "ui.gadgets: refactor scroll-at-bottom?."
John Benediktsson [Tue, 30 Mar 2021 22:03:35 +0000 (15:03 -0700)]
Revert "ui.gadgets: refactor scroll-at-bottom?."

This reverts commit ef06b2c54854b1e7d3143dcc10cc4d13dfa2635b.

3 years agoui.gadgets: refactor scroll-at-bottom?.
John Benediktsson [Tue, 30 Mar 2021 20:41:11 +0000 (13:41 -0700)]
ui.gadgets: refactor scroll-at-bottom?.

3 years agoui.gadgets.panes: only scroll down when we are at the bottom.
John Benediktsson [Tue, 30 Mar 2021 19:29:23 +0000 (12:29 -0700)]
ui.gadgets.panes: only scroll down when we are at the bottom.

3 years agoui.gadgets.editors: make readline only on mac for now.
John Benediktsson [Tue, 30 Mar 2021 19:24:06 +0000 (12:24 -0700)]
ui.gadgets.editors: make readline only on mac for now.

It conflicts on both linux and windows with keybindings like Ctrl-A for
select-all.

3 years agoui.tools: merge mac and other config.
John Benediktsson [Tue, 30 Mar 2021 19:23:46 +0000 (12:23 -0700)]
ui.tools: merge mac and other config.

3 years agoui.tools: remove C+q for quit.
John Benediktsson [Mon, 29 Mar 2021 22:04:25 +0000 (15:04 -0700)]
ui.tools: remove C+q for quit.

3 years agoui.tools: fix toggle-fullscreen on windows/linux.
John Benediktsson [Mon, 29 Mar 2021 22:01:55 +0000 (15:01 -0700)]
ui.tools: fix toggle-fullscreen on windows/linux.

3 years agoui: better platform-specific keybindings.
John Benediktsson [Mon, 29 Mar 2021 21:35:41 +0000 (14:35 -0700)]
ui: better platform-specific keybindings.

Some major changes include on macOS we pass M+ for Command and A+ for
Option, which matches some of the documentation, but now requires us to
have some OS-specific code in the define-command-map usage.