]> gitweb.factorcode.org Git - factor.git/log
factor.git
47 hours agoscryfall: parse mtga deck format clean-linux-x86-32 clean-linux-x86-64 clean-macosx-x86-64 clean-windows-x86-32 clean-windows-x86-64 main master
Doug Coleman [Wed, 17 Apr 2024 03:26:12 +0000 (22:26 -0500)]
scryfall: parse mtga deck format

3 days agobuild-from-source.windows: fix download thing
John Benediktsson [Mon, 15 Apr 2024 22:23:26 +0000 (15:23 -0700)]
build-from-source.windows: fix download thing

3 days agoio.directories.windows: fix using
John Benediktsson [Mon, 15 Apr 2024 20:34:15 +0000 (13:34 -0700)]
io.directories.windows: fix using

3 days agoio.directories.windows: use MOVEFILE_REPLACE_EXISTING
John Benediktsson [Mon, 15 Apr 2024 20:28:33 +0000 (13:28 -0700)]
io.directories.windows: use MOVEFILE_REPLACE_EXISTING

3 days agoio.directories: test moving a file to overwrite an existing one
John Benediktsson [Mon, 15 Apr 2024 20:06:59 +0000 (13:06 -0700)]
io.directories: test moving a file to overwrite an existing one

3 days agobuild-from-source: remove ?download word, it's just download-once
Doug Coleman [Mon, 15 Apr 2024 18:43:29 +0000 (13:43 -0500)]
build-from-source: remove ?download word, it's just download-once

3 days agohttp.download: download to cwd like the docs say not "resource:"
Doug Coleman [Mon, 15 Apr 2024 18:43:10 +0000 (13:43 -0500)]
http.download: download to cwd like the docs say not "resource:"

3 days agocurl: add a curl-download
John Benediktsson [Mon, 15 Apr 2024 18:37:48 +0000 (11:37 -0700)]
curl: add a curl-download

4 days agohttp.download: fix up stack effects and write some docs
Doug Coleman [Sun, 14 Apr 2024 22:24:08 +0000 (17:24 -0500)]
http.download: fix up stack effects and write some docs

4 days agohttp.download: fix downloading into a directory if it didnt exist
Doug Coleman [Sun, 14 Apr 2024 21:00:29 +0000 (16:00 -0500)]
http.download: fix downloading into a directory if it didnt exist

rename some stuff for consistency

4 days agococoa.statusbar: a bit of refactoring
Doug Coleman [Sun, 14 Apr 2024 20:58:12 +0000 (15:58 -0500)]
cocoa.statusbar: a bit of refactoring

needs more work, this cleans up some stuff

6 days agoscryfall: add more oracle filtering, fix double-faced cards, shorten code
Doug Coleman [Sat, 13 Apr 2024 01:36:24 +0000 (20:36 -0500)]
scryfall: add more oracle filtering, fix double-faced cards, shorten code

6 days agoscryfall: better names, remove some duplication validate
Doug Coleman [Fri, 12 Apr 2024 03:19:08 +0000 (22:19 -0500)]
scryfall: better names, remove some duplication

6 days agoscryfall: add cheat sheet for instant/sneaky cards
Doug Coleman [Fri, 12 Apr 2024 02:59:29 +0000 (21:59 -0500)]
scryfall: add cheat sheet for instant/sneaky cards

7 days agoscryfall: fix four-colors to be only the four and not the missing color
Doug Coleman [Fri, 12 Apr 2024 01:54:37 +0000 (20:54 -0500)]
scryfall: fix four-colors to be only the four and not the missing color

7 days agowebsites.factorcode: use change-file-lines in example
John Benediktsson [Thu, 11 Apr 2024 19:41:14 +0000 (12:41 -0700)]
websites.factorcode: use change-file-lines in example

8 days agoscryfall: add more sorting
Doug Coleman [Wed, 10 Apr 2024 02:40:53 +0000 (21:40 -0500)]
scryfall: add more sorting

9 days agoscryfall: parsing mana cost, bonus sheets, and better sort
Doug Coleman [Tue, 9 Apr 2024 04:04:04 +0000 (23:04 -0500)]
scryfall: parsing mana cost, bonus sheets, and better sort

9 days agosorting.specification: add quot to sort specs for working with json etc
Doug Coleman [Tue, 9 Apr 2024 03:51:40 +0000 (22:51 -0500)]
sorting.specification: add quot to sort specs for working with json etc

11 days agosequences.extras: Add a word to take the cartesian product of a sequence
Doug Coleman [Sun, 7 Apr 2024 03:43:59 +0000 (22:43 -0500)]
sequences.extras: Add a word to take the cartesian product of a sequence

add ?cut

11 days agomath.combinatorics: add a word to get unique combinations using a hash-set
Doug Coleman [Sun, 7 Apr 2024 03:43:23 +0000 (22:43 -0500)]
math.combinatorics: add a word to get unique combinations using a hash-set

2 weeks agodiscord: add intent slot to discord-bot-config
Doug Coleman [Wed, 3 Apr 2024 04:20:40 +0000 (23:20 -0500)]
discord: add intent slot to discord-bot-config

make gateway-identify-json work even without a discord-bot connected
for testing

2 weeks agodiscord: fix interaction create, add interaction edit
Val Packett [Wed, 3 Apr 2024 00:32:56 +0000 (21:32 -0300)]
discord: fix interaction create, add interaction edit

2 weeks agoscryfall: add some words to filter by power/toughness
Doug Coleman [Wed, 3 Apr 2024 03:26:41 +0000 (22:26 -0500)]
scryfall: add some words to filter by power/toughness

2 weeks agocodebase-analyzer: print clickable links, fix some formatting
Doug Coleman [Fri, 29 Mar 2024 02:02:30 +0000 (21:02 -0500)]
codebase-analyzer: print clickable links, fix some formatting

2 weeks ago.github: Re-enable auto-use on windows until error can be fixed
Giftpflanze [Wed, 3 Apr 2024 02:44:09 +0000 (04:44 +0200)]
.github: Re-enable auto-use on windows until error can be fixed

2 weeks agoeditors.notepadnext: support line numbers in newer bundle id
John Benediktsson [Wed, 3 Apr 2024 02:26:04 +0000 (19:26 -0700)]
editors.notepadnext: support line numbers in newer bundle id

2 weeks agoeditors.notepadnext: better formatting
Doug Coleman [Tue, 2 Apr 2024 22:04:48 +0000 (17:04 -0500)]
editors.notepadnext: better formatting

2 weeks agoeditors.notepadnext: add line number support
Doug Coleman [Tue, 2 Apr 2024 22:03:44 +0000 (17:03 -0500)]
editors.notepadnext: add line number support

Fixed in https://github.com/dail8859/NotepadNext/issues/528#issuecomment-2033175926

2 weeks ago.github: Fix typo and also add to test_branch.yml
Giftpflanze [Tue, 2 Apr 2024 20:39:51 +0000 (22:39 +0200)]
.github: Fix typo and also add to test_branch.yml

2 weeks ago.github: disable auto-use for load-all
John Benediktsson [Tue, 2 Apr 2024 19:55:02 +0000 (12:55 -0700)]
.github: disable auto-use for load-all

2 weeks agogrouping.extras: add using
John Benediktsson [Tue, 2 Apr 2024 17:06:02 +0000 (10:06 -0700)]
grouping.extras: add using

2 weeks agogrouping.extras: group-by docs: note consecutive behavior and link collect-by
Andy Kluger [Tue, 2 Apr 2024 16:48:31 +0000 (12:48 -0400)]
grouping.extras: group-by docs: note consecutive behavior and link collect-by

3 weeks agoscryfall: more words for filtering by types/subtypes
Doug Coleman [Fri, 29 Mar 2024 00:54:14 +0000 (19:54 -0500)]
scryfall: more words for filtering by types/subtypes

3 weeks agoscryfall: add some set words
Doug Coleman [Thu, 28 Mar 2024 19:24:26 +0000 (14:24 -0500)]
scryfall: add some set words

3 weeks agoeditors.notepadnext: add support for NotepadNext
Doug Coleman [Thu, 28 Mar 2024 19:23:46 +0000 (14:23 -0500)]
editors.notepadnext: add support for NotepadNext

it doesn't seem to open to line numbers in files

3 weeks agohttp.download: use ``path`` not ``file`` in stack effect
John Benediktsson [Tue, 26 Mar 2024 22:00:24 +0000 (15:00 -0700)]
http.download: use ``path`` not ``file`` in stack effect

3 weeks agoscryfall: clean up some code, add text summary printing
Doug Coleman [Tue, 26 Mar 2024 16:19:53 +0000 (11:19 -0500)]
scryfall: clean up some code, add text summary printing

3 weeks agocore: remove ?string>number in favor of ?if
Doug Coleman [Mon, 25 Mar 2024 16:59:12 +0000 (11:59 -0500)]
core: remove ?string>number in favor of ?if

3 weeks agoscryfall: rename words for consistency
Doug Coleman [Mon, 25 Mar 2024 16:58:45 +0000 (11:58 -0500)]
scryfall: rename words for consistency

3 weeks agogeo-ip: site is down, fix db from github
Doug Coleman [Mon, 25 Mar 2024 16:43:46 +0000 (11:43 -0500)]
geo-ip: site is down, fix db from github

3 weeks agohttp.download: fix for new changes
Doug Coleman [Mon, 25 Mar 2024 14:50:52 +0000 (09:50 -0500)]
http.download: fix for new changes

3 weeks agohttp.download: ?download-to -> download-to-once
Doug Coleman [Mon, 25 Mar 2024 04:46:53 +0000 (23:46 -0500)]
http.download: ?download-to -> download-to-once

Hopefully better name for a word that caches the download instead
of downloading every time.

3 weeks agoscryfall: sort dragons
Doug Coleman [Mon, 25 Mar 2024 00:45:30 +0000 (19:45 -0500)]
scryfall: sort dragons

3 weeks agohttp.download: fix bug in deleting zero-sized files word
Doug Coleman [Mon, 25 Mar 2024 00:45:04 +0000 (19:45 -0500)]
http.download: fix bug in deleting zero-sized files word

3 weeks agoscryfall: add mtg vocab and some words to filter through cards scryfall
Doug Coleman [Mon, 25 Mar 2024 00:27:11 +0000 (19:27 -0500)]
scryfall: add mtg vocab and some words to filter through cards

3 weeks agofactor: update download to return path and using lists
Doug Coleman [Sun, 24 Mar 2024 21:21:30 +0000 (16:21 -0500)]
factor: update download to return path and using lists

fix dead url for unixdict.txt

3 weeks agoio.files.unique: add a word that opens a temp file and gives you a write stream
Doug Coleman [Sun, 24 Mar 2024 21:20:57 +0000 (16:20 -0500)]
io.files.unique: add a word that opens a temp file and gives you a write stream

3 weeks agoeditors.textwrangler: hopefully clarify text
Doug Coleman [Sun, 24 Mar 2024 21:17:29 +0000 (16:17 -0500)]
editors.textwrangler: hopefully clarify text

3 weeks agohttp.download: move download words to their own vocabulary
Doug Coleman [Sun, 24 Mar 2024 20:59:10 +0000 (15:59 -0500)]
http.download: move download words to their own vocabulary

3 weeks agomath.parser: add a variant ?string>number for use with `if`
Doug Coleman [Sun, 24 Mar 2024 20:57:36 +0000 (15:57 -0500)]
math.parser: add a variant ?string>number for use with `if`

3 weeks agoio.files: implement (file-writer-secure)
Doug Coleman [Sun, 24 Mar 2024 17:14:11 +0000 (12:14 -0500)]
io.files: implement (file-writer-secure)

We want a way to open a temp file securely and return the stream.
Opening a file to reserve the filename is not enough in some cases according
to https://tldp.org/HOWTO/Secure-Programs-HOWTO/avoid-race.html

3 weeks agoopengl.annotations: use dupd
Doug Coleman [Sun, 24 Mar 2024 17:12:49 +0000 (12:12 -0500)]
opengl.annotations: use dupd

3 weeks agoshuffle: Add dupdd
Doug Coleman [Sun, 24 Mar 2024 17:11:28 +0000 (12:11 -0500)]
shuffle: Add dupdd

4 weeks agocombinators.extras: Fix 3tri*
Giftpflanze [Wed, 20 Mar 2024 11:07:32 +0000 (12:07 +0100)]
combinators.extras: Fix 3tri*

5 weeks agosequences: Fix documentation
Giftpflanze [Mon, 11 Mar 2024 07:01:52 +0000 (08:01 +0100)]
sequences: Fix documentation

Arguments m and n do not exist in move and check-slice

5 weeks agoio.serial.linux.ffi: Move M: linux lookup-baud to io.serial.linux
Giftpflanze [Fri, 8 Mar 2024 17:02:12 +0000 (18:02 +0100)]
io.serial.linux.ffi: Move M: linux lookup-baud to io.serial.linux

6 weeks agocurses: Updates and fixes
Giftpflanze [Thu, 7 Mar 2024 20:38:46 +0000 (21:38 +0100)]
curses: Updates and fixes

* Fix color constants
* Add `A_ITALIC`
* Add mouse button 5 (scroll down)
* Add `nodelay` config option
* Rename `wccbox` to `wcbox`
* Add `set-escdelay` to set `ESCDELAY`

6 weeks agolibc: Add setlocale and LC_* constants
Giftpflanze [Thu, 7 Mar 2024 20:33:55 +0000 (21:33 +0100)]
libc: Add setlocale and LC_* constants

6 weeks agounix.signals: Signal constants are in the libc vocab
Giftpflanze [Tue, 5 Mar 2024 14:54:38 +0000 (15:54 +0100)]
unix.signals: Signal constants are in the libc vocab

6 weeks agogilded-rose: fix help-lint
John Benediktsson [Mon, 4 Mar 2024 17:05:48 +0000 (09:05 -0800)]
gilded-rose: fix help-lint

6 weeks agogilded-rose: fix a mistranslated condition
Alexander Ilin [Sun, 3 Mar 2024 20:59:00 +0000 (21:59 +0100)]
gilded-rose: fix a mistranslated condition

6 weeks agogilded-rose: new vocab 2956/head
Alexander Ilin [Sun, 3 Mar 2024 20:34:34 +0000 (21:34 +0100)]
gilded-rose: new vocab

Translated from:
https://github.com/emilybache/GildedRose-Refactoring-Kata/blob/main/Delphi/GildedRose.pas
https://github.com/emilybache/GildedRose-Refactoring-Kata/blob/main/Delphi/TextTestFixture.dpr

6 weeks agorlgl: Fix vocab tags
Giftpflanze [Sun, 3 Mar 2024 09:45:56 +0000 (10:45 +0100)]
rlgl: Fix vocab tags

6 weeks agoREADME: remove an obsolete command-line option 2955/head
Alexander Ilin [Fri, 1 Mar 2024 23:27:36 +0000 (00:27 +0100)]
README: remove an obsolete command-line option

7 weeks agodb.sqlite.lib: fix test
Doug Coleman [Tue, 27 Feb 2024 20:06:19 +0000 (14:06 -0600)]
db.sqlite.lib: fix test

7 weeks agodb.sqlite.lib: there is no u64 type in sqlite and i'm tired of pretending
Doug Coleman [Tue, 27 Feb 2024 16:38:40 +0000 (10:38 -0600)]
db.sqlite.lib: there is no u64 type in sqlite and i'm tired of pretending

add a way to get the db filename that is in use

7 weeks agodb.sqlite.ffi: use the libclang output with some fixups
Doug Coleman [Tue, 27 Feb 2024 16:37:38 +0000 (10:37 -0600)]
db.sqlite.ffi: use the libclang output with some fixups

bind functions take void* instead of int

7 weeks agodb.sqlite.ffi: add more api
Doug Coleman [Mon, 26 Feb 2024 18:21:00 +0000 (12:21 -0600)]
db.sqlite.ffi: add more api

7 weeks agomisc/vim: update syntax
John Benediktsson [Sun, 25 Feb 2024 23:48:02 +0000 (15:48 -0800)]
misc/vim: update syntax

7 weeks agosequences.generalizations: adding lastn, set-lastn, ?lastn.
John Benediktsson [Sun, 25 Feb 2024 23:47:13 +0000 (15:47 -0800)]
sequences.generalizations: adding lastn, set-lastn, ?lastn.

7 weeks agosequences: faster last2 and some tests
John Benediktsson [Sun, 25 Feb 2024 21:58:14 +0000 (13:58 -0800)]
sequences: faster last2 and some tests

7 weeks agoui.backend.windows: double the default vertical scrolling speed
Alexander Ilin [Sun, 25 Feb 2024 16:46:15 +0000 (17:46 +0100)]
ui.backend.windows: double the default vertical scrolling speed

7 weeks agoui.backend.windows: scroll 10 times faster with Shift
Alexander Ilin [Sun, 25 Feb 2024 16:41:47 +0000 (17:41 +0100)]
ui.backend.windows: scroll 10 times faster with Shift

7 weeks agoui.backend.windows: fix mouse-scroll implementation
Alexander Ilin [Sun, 25 Feb 2024 14:56:26 +0000 (15:56 +0100)]
ui.backend.windows: fix mouse-scroll implementation

The lo-word should be ignored: it contains flags that should not affect the
scroll direction vector.

7 weeks agoui.backend.windows: support horizontal scroll wheel
Alexander Ilin [Sun, 25 Feb 2024 14:39:25 +0000 (15:39 +0100)]
ui.backend.windows: support horizontal scroll wheel

7 weeks agoDelete empty test files
Giftpflanze [Sun, 25 Feb 2024 08:39:22 +0000 (09:39 +0100)]
Delete empty test files

7 weeks agohelp.tour: fix typo in tour.factor
Ikko Eltociear Ashimine [Sun, 25 Feb 2024 15:06:34 +0000 (00:06 +0900)]
help.tour: fix typo in tour.factor

refering -> referring

7 weeks agoMake -roots=<paths> known to the documentation
Giftpflanze [Sat, 24 Feb 2024 10:18:31 +0000 (11:18 +0100)]
Make -roots=<paths> known to the documentation

7 weeks agosplitting.monotonic-docs: fix a copy-paste error
Alexander Ilin [Fri, 23 Feb 2024 22:12:23 +0000 (23:12 +0100)]
splitting.monotonic-docs: fix a copy-paste error

7 weeks agogrouping-docs: fix a typo a code example
Alexander Ilin [Fri, 23 Feb 2024 22:12:02 +0000 (23:12 +0100)]
grouping-docs: fix a typo a code example

8 weeks agoio.encodings.string: ensure encoded string is a byte-array
Doug Coleman [Thu, 22 Feb 2024 03:19:33 +0000 (21:19 -0600)]
io.encodings.string: ensure encoded string is a byte-array

8 weeks agocompiler.tree: link to all of the high-level IR nodes
Doug Coleman [Tue, 20 Feb 2024 19:55:36 +0000 (13:55 -0600)]
compiler.tree: link to all of the high-level IR nodes

8 weeks agosequences: move last2 to the sequences vocab
Alexander Ilin [Mon, 19 Feb 2024 21:36:29 +0000 (22:36 +0100)]
sequences: move last2 to the sequences vocab

8 weeks agohelp.handbook: add convention for destructors
razetime [Mon, 19 Feb 2024 15:37:42 +0000 (23:37 +0800)]
help.handbook: add convention for destructors

2 months agomisc/vim/ftplugin: Improvements
Giftpflanze [Sat, 17 Feb 2024 11:24:04 +0000 (12:24 +0100)]
misc/vim/ftplugin: Improvements

* Remove ColorColumn highlight, highlights are global
* Fix comments
* Add commentstring for comment plugins
* Add <PRIVATE PRIVATE> pattern for the standard matchit plugin:
  lets you jump between both tokens with %

2 months agoctags: Fix character encoding error
Giftpflanze [Sat, 17 Feb 2024 11:23:00 +0000 (12:23 +0100)]
ctags: Fix character encoding error

2 months agomisc/vim/ftplugin: Add autopairs, colorcolumn instead of margin error
Giftpflanze [Tue, 29 Aug 2023 18:14:19 +0000 (20:14 +0200)]
misc/vim/ftplugin: Add autopairs, colorcolumn instead of margin error

2 months agocalendar: Add sunrise, sunset, solar-noon
Giftpflanze [Thu, 15 Feb 2024 01:11:16 +0000 (02:11 +0100)]
calendar: Add sunrise, sunset, solar-noon

Closes #2510

2 months agobuild.sh: reenable curl if we need it
Doug Coleman [Wed, 14 Feb 2024 04:11:32 +0000 (22:11 -0600)]
build.sh: reenable curl if we need it

2 months agobuild.sh: Fix some issues with the downloader not overwriting files
Doug Coleman [Tue, 13 Feb 2024 18:17:54 +0000 (12:17 -0600)]
build.sh: Fix some issues with the downloader not overwriting files

it would save checksums.txt.1 if checksums.txt existed. change some
boot image info / check commands

2 months agobuild.sh: fix some style issues and trailing semicolons
Doug Coleman [Tue, 13 Feb 2024 18:16:40 +0000 (12:16 -0600)]
build.sh: fix some style issues and trailing semicolons

2 months agomath.parser: use append! and suffix!
John Benediktsson [Tue, 13 Feb 2024 23:55:32 +0000 (15:55 -0800)]
math.parser: use append! and suffix!

2 months agomath.parser: Improve performance
Giftpflanze [Tue, 13 Feb 2024 02:41:22 +0000 (03:41 +0100)]
math.parser: Improve performance

Add + in exponents back in, you can easily overlook them

2 months agoformatting: cleanup using
John Benediktsson [Tue, 13 Feb 2024 01:53:33 +0000 (17:53 -0800)]
formatting: cleanup using

2 months agomath.parser: move (format-float) to formatting.private
John Benediktsson [Tue, 13 Feb 2024 01:44:19 +0000 (17:44 -0800)]
math.parser: move (format-float) to formatting.private

2 months agocalendar.format: use printf for ss.SSSSSS
John Benediktsson [Tue, 13 Feb 2024 01:38:19 +0000 (17:38 -0800)]
calendar.format: use printf for ss.SSSSSS

2 months agoRevert "webapps.planet: css for hr"
John Benediktsson [Mon, 12 Feb 2024 23:17:09 +0000 (15:17 -0800)]
Revert "webapps.planet: css for hr"

This reverts commit 9cfc8a754d1b84d0e69280d6f35967cd5c1c02f9.

2 months agowebapps.planet: css for hr
John Benediktsson [Mon, 12 Feb 2024 22:40:09 +0000 (14:40 -0800)]
webapps.planet: css for hr

2 months agosequence.extras: fix docs spacing for arg-where
John Benediktsson [Mon, 12 Feb 2024 22:23:11 +0000 (14:23 -0800)]
sequence.extras: fix docs spacing for arg-where