]>
gitweb.factorcode.org Git - factor.git/log
Doug Coleman [Mon, 25 Mar 2024 16:59:12 +0000 (11:59 -0500)]
core: remove ?string>number in favor of ?if
Doug Coleman [Mon, 25 Mar 2024 16:58:45 +0000 (11:58 -0500)]
scryfall: rename words for consistency
Doug Coleman [Mon, 25 Mar 2024 16:43:46 +0000 (11:43 -0500)]
geo-ip: site is down, fix db from github
Doug Coleman [Mon, 25 Mar 2024 14:50:52 +0000 (09:50 -0500)]
http.download: fix for new changes
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.
Doug Coleman [Mon, 25 Mar 2024 00:45:30 +0000 (19:45 -0500)]
scryfall: sort dragons
Doug Coleman [Mon, 25 Mar 2024 00:45:04 +0000 (19:45 -0500)]
http.download: fix bug in deleting zero-sized files word
Doug Coleman [Mon, 25 Mar 2024 00:27:11 +0000 (19:27 -0500)]
scryfall: add mtg vocab and some words to filter through cards
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
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
Doug Coleman [Sun, 24 Mar 2024 21:17:29 +0000 (16:17 -0500)]
editors.textwrangler: hopefully clarify text
Doug Coleman [Sun, 24 Mar 2024 20:59:10 +0000 (15:59 -0500)]
http.download: move download words to their own vocabulary
Doug Coleman [Sun, 24 Mar 2024 20:57:36 +0000 (15:57 -0500)]
math.parser: add a variant ?string>number for use with `if`
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
Doug Coleman [Sun, 24 Mar 2024 17:12:49 +0000 (12:12 -0500)]
opengl.annotations: use dupd
Doug Coleman [Sun, 24 Mar 2024 17:11:28 +0000 (12:11 -0500)]
shuffle: Add dupdd
Giftpflanze [Wed, 20 Mar 2024 11:07:32 +0000 (12:07 +0100)]
combinators.extras: Fix 3tri*
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
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
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`
Giftpflanze [Thu, 7 Mar 2024 20:33:55 +0000 (21:33 +0100)]
libc: Add setlocale and LC_* constants
Giftpflanze [Tue, 5 Mar 2024 14:54:38 +0000 (15:54 +0100)]
unix.signals: Signal constants are in the libc vocab
John Benediktsson [Mon, 4 Mar 2024 17:05:48 +0000 (09:05 -0800)]
gilded-rose: fix help-lint
Alexander Ilin [Sun, 3 Mar 2024 20:59:00 +0000 (21:59 +0100)]
gilded-rose: fix a mistranslated condition
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
Giftpflanze [Sun, 3 Mar 2024 09:45:56 +0000 (10:45 +0100)]
rlgl: Fix vocab tags
Alexander Ilin [Fri, 1 Mar 2024 23:27:36 +0000 (00:27 +0100)]
README: remove an obsolete command-line option
Doug Coleman [Tue, 27 Feb 2024 20:06:19 +0000 (14:06 -0600)]
db.sqlite.lib: fix test
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
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
Doug Coleman [Mon, 26 Feb 2024 18:21:00 +0000 (12:21 -0600)]
db.sqlite.ffi: add more api
John Benediktsson [Sun, 25 Feb 2024 23:48:02 +0000 (15:48 -0800)]
misc/vim: update syntax
John Benediktsson [Sun, 25 Feb 2024 23:47:13 +0000 (15:47 -0800)]
sequences.generalizations: adding lastn, set-lastn, ?lastn.
John Benediktsson [Sun, 25 Feb 2024 21:58:14 +0000 (13:58 -0800)]
sequences: faster last2 and some tests
Alexander Ilin [Sun, 25 Feb 2024 16:46:15 +0000 (17:46 +0100)]
ui.backend.windows: double the default vertical scrolling speed
Alexander Ilin [Sun, 25 Feb 2024 16:41:47 +0000 (17:41 +0100)]
ui.backend.windows: scroll 10 times faster with Shift
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.
Alexander Ilin [Sun, 25 Feb 2024 14:39:25 +0000 (15:39 +0100)]
ui.backend.windows: support horizontal scroll wheel
Giftpflanze [Sun, 25 Feb 2024 08:39:22 +0000 (09:39 +0100)]
Delete empty test files
Ikko Eltociear Ashimine [Sun, 25 Feb 2024 15:06:34 +0000 (00:06 +0900)]
help.tour: fix typo in tour.factor
refering -> referring
Giftpflanze [Sat, 24 Feb 2024 10:18:31 +0000 (11:18 +0100)]
Make -roots=<paths> known to the documentation
Alexander Ilin [Fri, 23 Feb 2024 22:12:23 +0000 (23:12 +0100)]
splitting.monotonic-docs: fix a copy-paste error
Alexander Ilin [Fri, 23 Feb 2024 22:12:02 +0000 (23:12 +0100)]
grouping-docs: fix a typo a code example
Doug Coleman [Thu, 22 Feb 2024 03:19:33 +0000 (21:19 -0600)]
io.encodings.string: ensure encoded string is a byte-array
Doug Coleman [Tue, 20 Feb 2024 19:55:36 +0000 (13:55 -0600)]
compiler.tree: link to all of the high-level IR nodes
Alexander Ilin [Mon, 19 Feb 2024 21:36:29 +0000 (22:36 +0100)]
sequences: move last2 to the sequences vocab
razetime [Mon, 19 Feb 2024 15:37:42 +0000 (23:37 +0800)]
help.handbook: add convention for destructors
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 %
Giftpflanze [Sat, 17 Feb 2024 11:23:00 +0000 (12:23 +0100)]
ctags: Fix character encoding error
Giftpflanze [Tue, 29 Aug 2023 18:14:19 +0000 (20:14 +0200)]
misc/vim/ftplugin: Add autopairs, colorcolumn instead of margin error
Giftpflanze [Thu, 15 Feb 2024 01:11:16 +0000 (02:11 +0100)]
calendar: Add sunrise, sunset, solar-noon
Closes #2510
Doug Coleman [Wed, 14 Feb 2024 04:11:32 +0000 (22:11 -0600)]
build.sh: reenable curl if we need it
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
Doug Coleman [Tue, 13 Feb 2024 18:16:40 +0000 (12:16 -0600)]
build.sh: fix some style issues and trailing semicolons
John Benediktsson [Tue, 13 Feb 2024 23:55:32 +0000 (15:55 -0800)]
math.parser: use append! and suffix!
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
John Benediktsson [Tue, 13 Feb 2024 01:53:33 +0000 (17:53 -0800)]
formatting: cleanup using
John Benediktsson [Tue, 13 Feb 2024 01:44:19 +0000 (17:44 -0800)]
math.parser: move (format-float) to formatting.private
John Benediktsson [Tue, 13 Feb 2024 01:38:19 +0000 (17:38 -0800)]
calendar.format: use printf for ss.SSSSSS
John Benediktsson [Mon, 12 Feb 2024 23:17:09 +0000 (15:17 -0800)]
Revert "webapps.planet: css for hr"
This reverts commit
9cfc8a754d1b84d0e69280d6f35967cd5c1c02f9 .
John Benediktsson [Mon, 12 Feb 2024 22:40:09 +0000 (14:40 -0800)]
webapps.planet: css for hr
John Benediktsson [Mon, 12 Feb 2024 22:23:11 +0000 (14:23 -0800)]
sequence.extras: fix docs spacing for arg-where
John Benediktsson [Mon, 12 Feb 2024 18:42:08 +0000 (10:42 -0800)]
math.parser: require hex-string>bytes to have even digits
John Benediktsson [Mon, 12 Feb 2024 18:20:25 +0000 (10:20 -0800)]
math.affine-transforms: fix help-lint on win32
John Benediktsson [Mon, 12 Feb 2024 18:15:24 +0000 (10:15 -0800)]
vm: remove format.cpp
John Benediktsson [Mon, 12 Feb 2024 16:35:20 +0000 (08:35 -0800)]
math.parser: fix edge case for float>dec
0x1.5c17bbc13570bp-3 should print as 0.
16996714290024104
but instead prints as 1.
6996714290024104e -1
John Benediktsson [Mon, 12 Feb 2024 03:26:30 +0000 (19:26 -0800)]
toml: fix for integer float representation
John Benediktsson [Mon, 12 Feb 2024 02:52:28 +0000 (18:52 -0800)]
misc: update vim syntax
John Benediktsson [Mon, 12 Feb 2024 02:52:17 +0000 (18:52 -0800)]
io: rename some private words
John Benediktsson [Mon, 12 Feb 2024 02:50:26 +0000 (18:50 -0800)]
math.parser: rename some private words
John Benediktsson [Mon, 12 Feb 2024 01:41:54 +0000 (17:41 -0800)]
Nmakefile: remove format.obj
John Benediktsson [Mon, 12 Feb 2024 01:36:28 +0000 (17:36 -0800)]
sequences.parser: remove duplicate using
John Benediktsson [Mon, 12 Feb 2024 00:46:43 +0000 (16:46 -0800)]
math.parser: tweak dragonbox by not using case/cond
Some kind of interaction between locals (perhaps shadowing other words)
and using case/cond causes this error in bootstrap:
Cannot apply ‘case’ to a run-time computed value
Giftpflanze [Sun, 11 Feb 2024 12:42:33 +0000 (13:42 +0100)]
math.parser: Add Dragonbox float representation algorithm
* Remove fmtlib
* Simplify `format-float`, rename to `format-float*`
* Change format:
- no trailing zeroes in exponential format
- no plus in exponents
- no exponential format if the decimal representation of the significand
has 17 digits or less
John Benediktsson [Thu, 8 Feb 2024 02:33:06 +0000 (18:33 -0800)]
compiler.tests.codegen: make a note about platform differences
John Benediktsson [Thu, 8 Feb 2024 02:32:58 +0000 (18:32 -0800)]
math.affine-transforms: slight different on windows
John Benediktsson [Thu, 8 Feb 2024 01:26:39 +0000 (17:26 -0800)]
compiler.tests.codegen: fix two more tests
John Benediktsson [Thu, 8 Feb 2024 01:25:14 +0000 (17:25 -0800)]
math.parser: add a few more tests for number>string
John Benediktsson [Thu, 8 Feb 2024 00:23:29 +0000 (16:23 -0800)]
compiler.tests.codegen: fix fcos test
John Benediktsson [Wed, 7 Feb 2024 22:29:08 +0000 (14:29 -0800)]
build.sh: fix rm checksums.txt files
John Benediktsson [Wed, 7 Feb 2024 22:07:01 +0000 (14:07 -0800)]
Revert "compiler.tests: update float constant"
This reverts commit
9b122262ebc43f13cb5468acedc31758f2473d19 .
John Benediktsson [Wed, 7 Feb 2024 22:00:47 +0000 (14:00 -0800)]
compiler.tests: update float constant
John Benediktsson [Wed, 7 Feb 2024 21:10:05 +0000 (13:10 -0800)]
math: fix help-lint
John Benediktsson [Wed, 7 Feb 2024 19:36:13 +0000 (11:36 -0800)]
math.statistics: fix help-lint
John Benediktsson [Wed, 7 Feb 2024 19:03:30 +0000 (11:03 -0800)]
NMakefile: adding format.obj
John Benediktsson [Wed, 7 Feb 2024 18:51:06 +0000 (10:51 -0800)]
vm: forgot format.cpp
John Benediktsson [Wed, 7 Feb 2024 18:47:15 +0000 (10:47 -0800)]
vm: use the ``fmt`` library to fix shortest decimal representation issue.
Before:
IN: scratchpad 0x1.1ffffffffffffp7 .
144.0
IN: scratchpad 0x1.2p7 .
144.0
IN: scratchpad 0x1.2000000000001p7 .
144.0
After:
IN: scratchpad 0x1.1ffffffffffffp7 .
143.
99999999999997
IN: scratchpad 0x1.2p7 .
144.0
IN: scratchpad 0x1.2000000000001p7 .
144.
00000000000003
Perhaps we should implement the Dragonbox algorithm ourselves at some point.
John Benediktsson [Wed, 7 Feb 2024 05:14:30 +0000 (21:14 -0800)]
math.functions: change { float integer } ^ to use fpow
Dave Carlton [Fri, 31 Mar 2023 11:27:58 +0000 (06:27 -0500)]
Added LIKE" for creating 'WHERE column LIKE' queries
(cherry picked from commit
0ea3d948ff5fe4bf60f03a14854e02a06267fe23 )
(cherry picked from commit
a6f6ddfb724c1ec02c6d6c807fd8ae3c4f61bbf4 )
John Benediktsson [Mon, 5 Feb 2024 19:11:17 +0000 (11:11 -0800)]
xmode.catalog: adding qdoc and sparql
John Benediktsson [Sun, 4 Feb 2024 21:08:33 +0000 (13:08 -0800)]
macho: update mach-o/loader.h
John Benediktsson [Sun, 4 Feb 2024 19:54:27 +0000 (11:54 -0800)]
basis/extra: use some vocab: paths
John Benediktsson [Sun, 4 Feb 2024 19:16:27 +0000 (11:16 -0800)]
vm: min-macos-version 11.0
John Benediktsson [Sun, 4 Feb 2024 19:16:15 +0000 (11:16 -0800)]
Revert "alien.libraries.finder.macosx: use shared cache on big sur"
This reverts commit
57c65966cc9e8b41d2a959b6ac3c2d38048747fb .
John Benediktsson [Sun, 4 Feb 2024 19:08:23 +0000 (11:08 -0800)]
alien.libraries.finder.macosx: use shared cache on big sur
John Benediktsson [Sat, 3 Feb 2024 19:14:45 +0000 (11:14 -0800)]
extra: use try-process instead of "run-process drop"
John Benediktsson [Sat, 3 Feb 2024 19:06:54 +0000 (11:06 -0800)]
zoneinfo: update to tzdata-2024a
John Benediktsson [Thu, 1 Feb 2024 04:50:22 +0000 (20:50 -0800)]
crontab: simplify
Doug Coleman [Thu, 1 Feb 2024 03:29:21 +0000 (21:29 -0600)]
build-from-source: don't build zstd 1.5.5-kernel tag
Doug Coleman [Fri, 26 Jan 2024 02:11:19 +0000 (20:11 -0600)]
codebase-analyzer: split up c header/src words