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

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

2 months 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

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

2 months 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

2 months 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

2 months 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

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

2 months 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.

2 months 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

2 months 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

2 months 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

2 months 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.

2 months 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

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

2 months 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

2 months 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

2 months 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

2 months 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

2 months 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

2 months 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

2 months 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

2 months 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

2 months agomath.parser: require hex-string>bytes to have even digits
John Benediktsson [Mon, 12 Feb 2024 18:42:08 +0000 (10:42 -0800)]
math.parser: require hex-string>bytes to have even digits

2 months agomath.affine-transforms: fix help-lint on win32
John Benediktsson [Mon, 12 Feb 2024 18:20:25 +0000 (10:20 -0800)]
math.affine-transforms: fix help-lint on win32

2 months agovm: remove format.cpp
John Benediktsson [Mon, 12 Feb 2024 18:15:24 +0000 (10:15 -0800)]
vm: remove format.cpp

2 months agomath.parser: fix edge case for float>dec
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

2 months agotoml: fix for integer float representation
John Benediktsson [Mon, 12 Feb 2024 03:26:30 +0000 (19:26 -0800)]
toml: fix for integer float representation

2 months agomisc: update vim syntax
John Benediktsson [Mon, 12 Feb 2024 02:52:28 +0000 (18:52 -0800)]
misc: update vim syntax

2 months agoio: rename some private words
John Benediktsson [Mon, 12 Feb 2024 02:52:17 +0000 (18:52 -0800)]
io: rename some private words

2 months agomath.parser: rename some private words
John Benediktsson [Mon, 12 Feb 2024 02:50:26 +0000 (18:50 -0800)]
math.parser: rename some private words

2 months agoNmakefile: remove format.obj
John Benediktsson [Mon, 12 Feb 2024 01:41:54 +0000 (17:41 -0800)]
Nmakefile: remove format.obj

2 months agosequences.parser: remove duplicate using
John Benediktsson [Mon, 12 Feb 2024 01:36:28 +0000 (17:36 -0800)]
sequences.parser: remove duplicate using

2 months agomath.parser: tweak dragonbox by not using case/cond
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

2 months agomath.parser: Add Dragonbox float representation algorithm 2943/head
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

2 months agocompiler.tests.codegen: make a note about platform differences
John Benediktsson [Thu, 8 Feb 2024 02:33:06 +0000 (18:33 -0800)]
compiler.tests.codegen: make a note about platform differences

2 months agomath.affine-transforms: slight different on windows
John Benediktsson [Thu, 8 Feb 2024 02:32:58 +0000 (18:32 -0800)]
math.affine-transforms: slight different on windows

2 months agocompiler.tests.codegen: fix two more tests
John Benediktsson [Thu, 8 Feb 2024 01:26:39 +0000 (17:26 -0800)]
compiler.tests.codegen: fix two more tests

2 months agomath.parser: add a few more tests for number>string
John Benediktsson [Thu, 8 Feb 2024 01:25:14 +0000 (17:25 -0800)]
math.parser: add a few more tests for number>string

2 months agocompiler.tests.codegen: fix fcos test
John Benediktsson [Thu, 8 Feb 2024 00:23:29 +0000 (16:23 -0800)]
compiler.tests.codegen: fix fcos test

2 months agobuild.sh: fix rm checksums.txt files
John Benediktsson [Wed, 7 Feb 2024 22:29:08 +0000 (14:29 -0800)]
build.sh: fix rm checksums.txt files

2 months agoRevert "compiler.tests: update float constant"
John Benediktsson [Wed, 7 Feb 2024 22:07:01 +0000 (14:07 -0800)]
Revert "compiler.tests: update float constant"

This reverts commit 9b122262ebc43f13cb5468acedc31758f2473d19.

2 months agocompiler.tests: update float constant
John Benediktsson [Wed, 7 Feb 2024 22:00:47 +0000 (14:00 -0800)]
compiler.tests: update float constant

2 months agomath: fix help-lint
John Benediktsson [Wed, 7 Feb 2024 21:10:05 +0000 (13:10 -0800)]
math: fix help-lint

2 months agomath.statistics: fix help-lint
John Benediktsson [Wed, 7 Feb 2024 19:36:13 +0000 (11:36 -0800)]
math.statistics: fix help-lint

2 months agoNMakefile: adding format.obj
John Benediktsson [Wed, 7 Feb 2024 19:03:30 +0000 (11:03 -0800)]
NMakefile: adding format.obj

2 months agovm: forgot format.cpp
John Benediktsson [Wed, 7 Feb 2024 18:51:06 +0000 (10:51 -0800)]
vm: forgot format.cpp

2 months agovm: use the ``fmt`` library to fix shortest decimal representation issue.
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.

2 months agomath.functions: change { float integer } ^ to use fpow
John Benediktsson [Wed, 7 Feb 2024 05:14:30 +0000 (21:14 -0800)]
math.functions: change { float integer } ^ to use fpow

2 months agoAdded LIKE" for creating 'WHERE column LIKE' queries
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)

2 months agoxmode.catalog: adding qdoc and sparql
John Benediktsson [Mon, 5 Feb 2024 19:11:17 +0000 (11:11 -0800)]
xmode.catalog: adding qdoc and sparql

2 months agomacho: update mach-o/loader.h
John Benediktsson [Sun, 4 Feb 2024 21:08:33 +0000 (13:08 -0800)]
macho: update mach-o/loader.h

2 months agobasis/extra: use some vocab: paths
John Benediktsson [Sun, 4 Feb 2024 19:54:27 +0000 (11:54 -0800)]
basis/extra: use some vocab: paths

2 months agovm: min-macos-version 11.0
John Benediktsson [Sun, 4 Feb 2024 19:16:27 +0000 (11:16 -0800)]
vm: min-macos-version 11.0

2 months agoRevert "alien.libraries.finder.macosx: use shared cache on big sur"
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.

2 months agoalien.libraries.finder.macosx: use shared cache on big sur
John Benediktsson [Sun, 4 Feb 2024 19:08:23 +0000 (11:08 -0800)]
alien.libraries.finder.macosx: use shared cache on big sur

2 months agoextra: use try-process instead of "run-process drop"
John Benediktsson [Sat, 3 Feb 2024 19:14:45 +0000 (11:14 -0800)]
extra: use try-process instead of "run-process drop"

2 months agozoneinfo: update to tzdata-2024a
John Benediktsson [Sat, 3 Feb 2024 19:06:54 +0000 (11:06 -0800)]
zoneinfo: update to tzdata-2024a

2 months agocrontab: simplify
John Benediktsson [Thu, 1 Feb 2024 04:50:22 +0000 (20:50 -0800)]
crontab: simplify

2 months agobuild-from-source: don't build zstd 1.5.5-kernel tag
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

2 months agocodebase-analyzer: split up c header/src words
Doug Coleman [Fri, 26 Jan 2024 02:11:19 +0000 (20:11 -0600)]
codebase-analyzer: split up c header/src words

3 months agocore/basis/extra: update some stack effects
John Benediktsson [Wed, 31 Jan 2024 23:39:37 +0000 (15:39 -0800)]
core/basis/extra: update some stack effects

3 months agoextra: minor combinator cleanup
John Benediktsson [Wed, 31 Jan 2024 22:26:12 +0000 (14:26 -0800)]
extra: minor combinator cleanup

3 months agogenerators: reduce overhead for take/take-all/yield-from operations.
John Benediktsson [Wed, 31 Jan 2024 21:41:46 +0000 (13:41 -0800)]
generators: reduce overhead for take/take-all/yield-from operations.

3 months agocrontab: minor tweaks
John Benediktsson [Wed, 31 Jan 2024 18:10:49 +0000 (10:10 -0800)]
crontab: minor tweaks

3 months agomath: some docs tweaks for gcd and mod-inv
John Benediktsson [Wed, 31 Jan 2024 00:47:38 +0000 (16:47 -0800)]
math: some docs tweaks for gcd and mod-inv

3 months agomath: fix docs for gcd
John Benediktsson [Wed, 31 Jan 2024 00:35:42 +0000 (16:35 -0800)]
math: fix docs for gcd

3 months agoui.commands: adding update-command-map
John Benediktsson [Tue, 30 Jan 2024 19:24:01 +0000 (11:24 -0800)]
ui.commands: adding update-command-map

3 months agolibclang: add word to get an array from an array of ptrs
Doug Coleman [Tue, 23 Jan 2024 19:12:19 +0000 (13:12 -0600)]
libclang: add word to get an array from an array of ptrs

3 months agotools.dns.public: cloudflare has more dns servers
Doug Coleman [Tue, 23 Jan 2024 18:32:14 +0000 (12:32 -0600)]
tools.dns.public: cloudflare has more dns servers

3 months agoNo tabs
nomennescio [Mon, 22 Jan 2024 13:15:04 +0000 (14:15 +0100)]
No tabs

3 months agoAdd version information
nomennescio [Mon, 22 Jan 2024 13:09:54 +0000 (14:09 +0100)]
Add version information

Contains non-ASCII character 0xA9(©) in Codepage 0x04E4 (1252)

3 months agoInitialize sampler_thread field in constructor too
nomennescio [Mon, 22 Jan 2024 10:31:56 +0000 (11:31 +0100)]
Initialize sampler_thread field in constructor too

This now initializes all Windows specific fields

3 months agoFix most compiler warnings on Windows
nomennescio [Fri, 19 Jan 2024 16:51:43 +0000 (17:51 +0100)]
Fix most compiler warnings on Windows

3 months agocontainers: experimental container syntax
John Benediktsson [Sun, 21 Jan 2024 20:39:32 +0000 (12:39 -0800)]
containers: experimental container syntax

3 months agoio.random: fix typo
John Benediktsson [Sat, 20 Jan 2024 18:43:24 +0000 (10:43 -0800)]
io.random: fix typo

3 months agoReformat output to align MD5 hashes for easier comparison
nomennescio [Fri, 19 Jan 2024 16:51:43 +0000 (17:51 +0100)]
Reformat output to align MD5 hashes for easier comparison

3 months agoio.random: fix using
Doug Coleman [Fri, 19 Jan 2024 15:37:37 +0000 (09:37 -0600)]
io.random: fix using

3 months agoRemove implicit dependency on gcc for preprocessing, which is not needed.
nomennescio [Fri, 19 Jan 2024 13:53:32 +0000 (14:53 +0100)]
Remove implicit dependency on gcc for preprocessing, which is not needed.

This fixes the build on Cygwin and any other platform that uses crosscompilation.

3 months agoflamegraph: fix typo
John Benediktsson [Wed, 17 Jan 2024 22:55:10 +0000 (14:55 -0800)]
flamegraph: fix typo

3 months agoflamegraph: adding a flamegraph tool
John Benediktsson [Wed, 17 Jan 2024 22:53:04 +0000 (14:53 -0800)]
flamegraph: adding a flamegraph tool

3 months agofactor.entitlements: add JIT entitlement for aarch64
John Benediktsson [Tue, 16 Jan 2024 20:08:19 +0000 (12:08 -0800)]
factor.entitlements: add JIT entitlement for aarch64

3 months agoio.random: adding random-file-line(s)
John Benediktsson [Tue, 16 Jan 2024 19:09:26 +0000 (11:09 -0800)]
io.random: adding random-file-line(s)

3 months agofurnace.actions: Fix PUT, PATCH
Michael Raitza [Tue, 16 Jan 2024 17:22:08 +0000 (18:22 +0100)]
furnace.actions: Fix PUT, PATCH

3 months agohtml, http: Documentation fixes
Michael Raitza [Tue, 16 Jan 2024 17:16:34 +0000 (18:16 +0100)]
html, http: Documentation fixes

link is not a singleton but a tuple.

http.server.responses provides many more responses than is obvious to
the uninvolved.