]> gitweb.factorcode.org Git - factor.git/log
factor.git
2 years agoendian: replaces io.binary and io.binary.fast.
John Benediktsson [Thu, 30 Dec 2021 05:21:44 +0000 (21:21 -0800)]
endian: replaces io.binary and io.binary.fast.

2 years agobuild.sh: Don't copy the factor.image to factor.image.fresh if bootstrap fails
Doug Coleman [Thu, 30 Dec 2021 04:42:48 +0000 (22:42 -0600)]
build.sh: Don't copy the factor.image to factor.image.fresh if bootstrap fails

2 years agoalien.c-types: Fix using list from bad commit
Doug Coleman [Thu, 30 Dec 2021 04:16:08 +0000 (22:16 -0600)]
alien.c-types: Fix using list from bad commit

2 years agoalien.c-types: Add s8/u8/s16/u16/s32/u32/s64/u64/isize/usize/f32/f64
Doug Coleman [Wed, 29 Dec 2021 01:53:20 +0000 (19:53 -0600)]
alien.c-types: Add s8/u8/s16/u16/s32/u32/s64/u64/isize/usize/f32/f64

2 years ago99-bottles: i got 99 bottles from 99..1
Doug Coleman [Thu, 30 Dec 2021 03:40:06 +0000 (21:40 -0600)]
99-bottles: i got 99 bottles from 99..1

2 years agoranges: maybe last rename, remove experimental .. and ... parsing words for ranges
Doug Coleman [Thu, 30 Dec 2021 03:29:38 +0000 (21:29 -0600)]
ranges: maybe last rename, remove experimental .. and ... parsing words for ranges

2 years agomath.extras: more new range syntax
Doug Coleman [Thu, 30 Dec 2021 03:25:05 +0000 (21:25 -0600)]
math.extras: more new range syntax

2 years agofactor: use new math.ranges syntax in tests and docs
Doug Coleman [Thu, 30 Dec 2021 03:18:16 +0000 (21:18 -0600)]
factor: use new math.ranges syntax in tests and docs

2 years agoraylib: position is point now
Doug Coleman [Thu, 30 Dec 2021 02:55:08 +0000 (20:55 -0600)]
raylib: position is point now

2 years agoextra: a few more math.ranges syntax.
John Benediktsson [Thu, 30 Dec 2021 02:29:22 +0000 (18:29 -0800)]
extra: a few more math.ranges syntax.

2 years agoio.files: deprecate exists?.
John Benediktsson [Thu, 30 Dec 2021 02:28:35 +0000 (18:28 -0800)]
io.files: deprecate exists?.

2 years agocore/basis/extra: use new math.ranges syntax.
John Benediktsson [Thu, 30 Dec 2021 02:26:01 +0000 (18:26 -0800)]
core/basis/extra: use new math.ranges syntax.

2 years agomath.primes.pollard-rho-brent: Use new ranges syntax and remove `do` call
Doug Coleman [Thu, 30 Dec 2021 01:24:49 +0000 (19:24 -0600)]
math.primes.pollard-rho-brent: Use new ranges syntax and remove `do` call

2 years agomath.primes.brute-force: save previous factors algorithm.
John Benediktsson [Wed, 29 Dec 2021 20:11:52 +0000 (12:11 -0800)]
math.primes.brute-force: save previous factors algorithm.

2 years agomath.primes.factors: fully switch over to new hotness.
John Benediktsson [Wed, 29 Dec 2021 20:11:39 +0000 (12:11 -0800)]
math.primes.factors: fully switch over to new hotness.

2 years agomath/primes/pollard-rho-brent: Add a famous example, but disabled unless we optimize...
Doug Coleman [Wed, 29 Dec 2021 16:24:23 +0000 (10:24 -0600)]
math/primes/pollard-rho-brent: Add a famous example, but disabled unless we optimize this

2 years agomath.primes: Check for prime before running pollard-rho-brent
Doug Coleman [Wed, 29 Dec 2021 16:17:23 +0000 (10:17 -0600)]
math.primes: Check for prime before running pollard-rho-brent

rename brent-factors to pollard-rho-brent

2 years agoio.sockets.secure.openssl: Include weak SSL for compatibility
Doug Coleman [Wed, 29 Dec 2021 16:09:51 +0000 (16:09 +0000)]
io.sockets.secure.openssl: Include weak SSL for compatibility

2 years agomath.primes: Use Pollard-Rho-Brent `brent-factors` as default `factors` word.
Doug Coleman [Wed, 29 Dec 2021 07:42:43 +0000 (01:42 -0600)]
math.primes: Use Pollard-Rho-Brent `brent-factors` as default `factors` word.

Related to #2401

2 years agomath.primes.pollard-rho-brent: Add vocab for finding factors
Doug Coleman [Wed, 29 Dec 2021 06:57:09 +0000 (00:57 -0600)]
math.primes.pollard-rho-brent: Add vocab for finding factors

needs to give up after some number of iterations and needs
integration with the `factors` word

can be optimized

Related to #2401

2 years agohttp: Add headers to hypothetically make things more secure.
Doug Coleman [Wed, 29 Dec 2021 04:04:23 +0000 (04:04 +0000)]
http: Add headers to hypothetically make things more secure.

Related to https://github.com/factor/factor/issues/2273

2 years agoio.sockets.secure.openssl: Use recommeneded and secure algos only.
Doug Coleman [Wed, 29 Dec 2021 03:59:03 +0000 (03:59 +0000)]
io.sockets.secure.openssl: Use recommeneded and secure algos only.

2 years agowebsites.factorcode: Add old release downloads
Doug Coleman [Wed, 29 Dec 2021 03:01:37 +0000 (03:01 +0000)]
websites.factorcode: Add old release downloads

Fixes #636

2 years agounix.types.linux: __u64 should be unsigned. fix typo
Doug Coleman [Tue, 28 Dec 2021 22:05:38 +0000 (16:05 -0600)]
unix.types.linux: __u64 should be unsigned. fix typo

2 years agocore-text: draw backgrounds more accurately.
John Benediktsson [Tue, 28 Dec 2021 20:33:35 +0000 (12:33 -0800)]
core-text: draw backgrounds more accurately.

2 years agoui.gadgets.editors: round to gl-scales.
John Benediktsson [Tue, 28 Dec 2021 20:15:44 +0000 (12:15 -0800)]
ui.gadgets.editors: round to gl-scales.

2 years agoopengl: adding some gl-scale math functions.
John Benediktsson [Tue, 28 Dec 2021 20:13:37 +0000 (12:13 -0800)]
opengl: adding some gl-scale math functions.

2 years agomisc/vim: update vim syntax.
John Benediktsson [Tue, 28 Dec 2021 18:19:31 +0000 (10:19 -0800)]
misc/vim: update vim syntax.

2 years agocore-text: try to fix some retina issues on macos.
John Benediktsson [Tue, 28 Dec 2021 18:17:56 +0000 (10:17 -0800)]
core-text: try to fix some retina issues on macos.

2 years agoui.gadgets.tables: change default row-summary.
John Benediktsson [Tue, 28 Dec 2021 05:59:26 +0000 (21:59 -0800)]
ui.gadgets.tables: change default row-summary.

Should be row-value.

2 years agoui.tools.listener.completion: improve completion for qualified words.
John Benediktsson [Tue, 28 Dec 2021 03:28:44 +0000 (19:28 -0800)]
ui.tools.listener.completion: improve completion for qualified words.

2 years agoui.gadgets.tables: adding row-summary.
John Benediktsson [Tue, 28 Dec 2021 03:27:00 +0000 (19:27 -0800)]
ui.gadgets.tables: adding row-summary.

This allows each table row to provide a "summary" object.

2 years agovocabs.files: only files that exist.
John Benediktsson [Tue, 28 Dec 2021 00:10:12 +0000 (16:10 -0800)]
vocabs.files: only files that exist.

2 years agoulid: Fix same-millisecond calculation
Doug Coleman [Mon, 27 Dec 2021 19:07:59 +0000 (13:07 -0600)]
ulid: Fix same-millisecond calculation

Fixes #2519

2 years agoio.sockets.secure: We are not connected, so let it reconnect
Doug Coleman [Mon, 27 Dec 2021 18:33:01 +0000 (12:33 -0600)]
io.sockets.secure: We are not connected, so let it reconnect

fixes mason's download-my-image and add it to tests

2 years agomath.ranges: deprecate the aliases.
John Benediktsson [Mon, 27 Dec 2021 18:15:41 +0000 (10:15 -0800)]
math.ranges: deprecate the aliases.

2 years agoio: deprecate the aliases.
John Benediktsson [Mon, 27 Dec 2021 18:15:34 +0000 (10:15 -0800)]
io: deprecate the aliases.

2 years agoio.sockets: fix docs for premature-close -> premature-close-error
Doug Coleman [Mon, 27 Dec 2021 17:39:30 +0000 (11:39 -0600)]
io.sockets: fix docs for premature-close -> premature-close-error

2 years agoio.sockets: Check terminated slot before read/write ops, don't throw on regular termi...
Doug Coleman [Mon, 27 Dec 2021 17:30:36 +0000 (11:30 -0600)]
io.sockets: Check terminated slot before read/write ops, don't throw on regular termination

2 years agoio.sockets.secure.openssl: don't throw on normal disconnect
Doug Coleman [Mon, 27 Dec 2021 17:20:27 +0000 (11:20 -0600)]
io.sockets.secure.openssl: don't throw on normal disconnect

2 years agoio.sockets.secure.openssl: If server disconnects us, throw
Doug Coleman [Mon, 27 Dec 2021 17:03:02 +0000 (11:03 -0600)]
io.sockets.secure.openssl: If server disconnects us, throw

2 years agoRevert "Revert "Revert "io.sockets.secure.openssl: undo some error handling that...
Doug Coleman [Mon, 27 Dec 2021 17:11:05 +0000 (11:11 -0600)]
Revert "Revert "Revert "io.sockets.secure.openssl: undo some error handling that makes factorcode hang"""

This reverts commit dad02fe74d8bea7d8782ada82c872e5f79228b4d.

2 years agoRevert "Revert "io.sockets.secure.openssl: undo some error handling that makes factor...
John Benediktsson [Mon, 27 Dec 2021 16:46:28 +0000 (08:46 -0800)]
Revert "Revert "io.sockets.secure.openssl: undo some error handling that makes factorcode hang""

This reverts commit 7a5d1f477e0c422db0cf16cd0501d604238d7f1a.

2 years agoio.socketes.secure.openssl: fix do-ssl-read.
John Benediktsson [Mon, 27 Dec 2021 16:44:47 +0000 (08:44 -0800)]
io.socketes.secure.openssl: fix do-ssl-read.

Same issue as previous fix for do-ssl-write.

2 years agoRevert "io.sockets.secure.openssl: undo some error handling that makes factorcode...
John Benediktsson [Mon, 27 Dec 2021 16:24:37 +0000 (08:24 -0800)]
Revert "io.sockets.secure.openssl: undo some error handling that makes factorcode hang"

This reverts commit 41276b77f381a57a0b4110a92380e666769950f6.

2 years agoio.sockets.secure.openssl: fix do-ssl-write for failed writes.
John Benediktsson [Mon, 27 Dec 2021 16:16:20 +0000 (08:16 -0800)]
io.sockets.secure.openssl: fix do-ssl-write for failed writes.

SSL_write will return <= 0 for errors, but some errors are not
retryable so only consume the buffer if the return value was > 0.

2 years agolong-urls: expand short urls.
John Benediktsson [Mon, 27 Dec 2021 04:17:11 +0000 (20:17 -0800)]
long-urls: expand short urls.

2 years agowebsites.factorcode: Add a discord link that doesn't expire
Doug Coleman [Mon, 27 Dec 2021 01:39:08 +0000 (19:39 -0600)]
websites.factorcode: Add a discord link that doesn't expire

2 years agowindow-controls-demo: Add a demos tag
Doug Coleman [Sun, 26 Dec 2021 21:17:33 +0000 (15:17 -0600)]
window-controls-demo: Add a demos tag

2 years agopunycode: simplify decode-digit add test cases.
John Benediktsson [Sun, 26 Dec 2021 21:13:58 +0000 (13:13 -0800)]
punycode: simplify decode-digit add test cases.

2 years agoeditors.subethaedit: adding SubEthaEdit editor support.
John Benediktsson [Sun, 26 Dec 2021 19:42:02 +0000 (11:42 -0800)]
editors.subethaedit: adding SubEthaEdit editor support.

2 years agomath.matrices: Fix typo
gifti258 [Sun, 26 Dec 2021 19:36:59 +0000 (20:36 +0100)]
math.matrices: Fix typo

2 years agourls.encoding: only split query params on &.
John Benediktsson [Sun, 26 Dec 2021 18:09:38 +0000 (10:09 -0800)]
urls.encoding: only split query params on &.

html5: recommends only &.
html4: for a little while suggested supporting both & and ;

splitting on both caused CVE-2021-23336 to be filed against cpython

2 years agoio.sockets.secure.openssl: undo some error handling that makes factorcode hang
Doug Coleman [Sun, 26 Dec 2021 16:59:09 +0000 (10:59 -0600)]
io.sockets.secure.openssl: undo some error handling that makes factorcode hang

partially reverting some of bfaa2c2cbd6f5123a8f4118a50fac1336d37aa4c

Related to https://github.com/factor/factor/issues/2487

2 years agoui.theme.images: more improvements for retina.
John Benediktsson [Sun, 26 Dec 2021 16:16:42 +0000 (08:16 -0800)]
ui.theme.images: more improvements for retina.

2 years agoui: different approach to 2x images.
John Benediktsson [Sun, 26 Dec 2021 04:51:19 +0000 (20:51 -0800)]
ui: different approach to 2x images.

2 years agoquiz: minor text fixes.
John Benediktsson [Sun, 26 Dec 2021 04:28:37 +0000 (20:28 -0800)]
quiz: minor text fixes.

2 years agoui.gadgets.panes: fix test for smash-line change.
John Benediktsson [Sun, 26 Dec 2021 04:07:49 +0000 (20:07 -0800)]
ui.gadgets.panes: fix test for smash-line change.

2 years agoio: add an alias for lines, for easier backwards compatibility.
John Benediktsson [Sun, 26 Dec 2021 04:00:54 +0000 (20:00 -0800)]
io: add an alias for lines, for easier backwards compatibility.

2 years agoui: some improvements to 2x images.
John Benediktsson [Sun, 26 Dec 2021 04:00:06 +0000 (20:00 -0800)]
ui: some improvements to 2x images.

2 years agogdbm: more refactor.
John Benediktsson [Sat, 25 Dec 2021 22:41:38 +0000 (14:41 -0800)]
gdbm: more refactor.

2 years agogdbm: finish rename.
John Benediktsson [Sat, 25 Dec 2021 22:35:41 +0000 (14:35 -0800)]
gdbm: finish rename.

2 years agoextra: fix a couple wrong file-exists? renames.
John Benediktsson [Sat, 25 Dec 2021 22:13:22 +0000 (14:13 -0800)]
extra: fix a couple wrong file-exists? renames.

2 years agoraylib: fix name of base64 functions.
John Benediktsson [Sat, 25 Dec 2021 21:56:46 +0000 (13:56 -0800)]
raylib: fix name of base64 functions.

2 years agoui.gadgets.panes: use document:?split-lines.
John Benediktsson [Sat, 25 Dec 2021 21:45:24 +0000 (13:45 -0800)]
ui.gadgets.panes: use document:?split-lines.

Instead of splitting:split-lines.

2 years agoui.gadgets.panes: need to style newlines.
John Benediktsson [Sat, 25 Dec 2021 20:46:06 +0000 (12:46 -0800)]
ui.gadgets.panes: need to style newlines.

2 years agohacker-news: add red/green side number colors
Doug Coleman [Sat, 25 Dec 2021 16:31:37 +0000 (10:31 -0600)]
hacker-news: add red/green side number colors

2 years agohacker-news: add christmas color
Doug Coleman [Sat, 25 Dec 2021 16:18:29 +0000 (10:18 -0600)]
hacker-news: add christmas color

2 years agoeditors: rename editor class to match vocab name.
John Benediktsson [Sat, 25 Dec 2021 06:20:56 +0000 (22:20 -0800)]
editors: rename editor class to match vocab name.

2 years agoraylib: fix shader type typo.
John Benediktsson [Sat, 25 Dec 2021 06:12:47 +0000 (22:12 -0800)]
raylib: fix shader type typo.

2 years agoui.gadgets.sliders: fix for dragging when direction not set.
John Benediktsson [Sat, 25 Dec 2021 05:42:23 +0000 (21:42 -0800)]
ui.gadgets.sliders: fix for dragging when direction not set.

2 years agoraylib: use enums in a few functions.
John Benediktsson [Sat, 25 Dec 2021 05:36:17 +0000 (21:36 -0800)]
raylib: use enums in a few functions.

2 years agoraylib: some more fixes for 4.0
John Benediktsson [Sat, 25 Dec 2021 05:19:26 +0000 (21:19 -0800)]
raylib: some more fixes for 4.0

2 years agoraylib: merge the raygui bindings.
John Benediktsson [Sat, 25 Dec 2021 04:57:46 +0000 (20:57 -0800)]
raylib: merge the raygui bindings.

2 years agoraygui: update to Raygui 3.0
John Benediktsson [Sat, 25 Dec 2021 04:42:22 +0000 (20:42 -0800)]
raygui: update to Raygui 3.0

2 years agoraylib: update to Raylib 4.0
John Benediktsson [Sat, 25 Dec 2021 04:41:49 +0000 (20:41 -0800)]
raylib: update to Raylib 4.0

2 years agoui.tools.debugger: scroller to handle long error messages.
John Benediktsson [Fri, 24 Dec 2021 23:07:10 +0000 (15:07 -0800)]
ui.tools.debugger: scroller to handle long error messages.

2 years agomath.intervals: rename "inf,a" words to be "inf,b".
John Benediktsson [Fri, 24 Dec 2021 22:40:27 +0000 (14:40 -0800)]
math.intervals: rename "inf,a" words to be "inf,b".

2 years agowebapps: use wait-for-server to allow MAIN: to work.
John Benediktsson [Fri, 24 Dec 2021 21:52:18 +0000 (13:52 -0800)]
webapps: use wait-for-server to allow MAIN: to work.

2 years agoprettyprint: easier to read callstacks.
John Benediktsson [Fri, 24 Dec 2021 19:01:16 +0000 (11:01 -0800)]
prettyprint: easier to read callstacks.

Don't print Word:, Method:, and Quotation: prefixes.

2 years agobootstrap: add a newline between error message and callstack.
John Benediktsson [Fri, 24 Dec 2021 19:00:56 +0000 (11:00 -0800)]
bootstrap: add a newline between error message and callstack.

2 years agofactor: fix a few renames
Doug Coleman [Fri, 24 Dec 2021 15:23:56 +0000 (09:23 -0600)]
factor: fix a few renames

2 years agoextra: contents -> read-contents
Doug Coleman [Fri, 24 Dec 2021 14:45:03 +0000 (08:45 -0600)]
extra: contents -> read-contents

2 years agomath.parser: check skip characters in one place.
John Benediktsson [Fri, 24 Dec 2021 04:49:10 +0000 (20:49 -0800)]
math.parser: check skip characters in one place.

2 years agotinyvg: whoops.
John Benediktsson [Fri, 24 Dec 2021 04:31:58 +0000 (20:31 -0800)]
tinyvg: whoops.

2 years agomath.parser: allow _ to separate numbers.
John Benediktsson [Fri, 24 Dec 2021 04:29:35 +0000 (20:29 -0800)]
math.parser: allow _ to separate numbers.

Better compatibility with python, java, go, etc.

2 years agounicode.collation: fixes for unicode 14.0
John Benediktsson [Fri, 24 Dec 2021 03:26:55 +0000 (19:26 -0800)]
unicode.collation: fixes for unicode 14.0

2 years agounicode: Upgrade files to Unicode 14.0
Doug Coleman [Fri, 24 Dec 2021 02:10:24 +0000 (20:10 -0600)]
unicode: Upgrade files to Unicode 14.0

To compress tests on Ubuntu:
  zlib-flate -compress=9 < CollationTest_SHIFTED.txt > CollationTest_SHIFTED.txt.zip

2 years agotinyvg: small refactors.
John Benediktsson [Fri, 24 Dec 2021 03:15:32 +0000 (19:15 -0800)]
tinyvg: small refactors.

2 years agovin: adding some tests.
John Benediktsson [Thu, 23 Dec 2021 21:09:37 +0000 (13:09 -0800)]
vin: adding some tests.

2 years agotinyvg: merge tinyvg-header into tinyvg class.
John Benediktsson [Thu, 23 Dec 2021 21:08:01 +0000 (13:08 -0800)]
tinyvg: merge tinyvg-header into tinyvg class.

2 years agotinyvg: simplify by making path just an array of segments.
John Benediktsson [Thu, 23 Dec 2021 20:54:52 +0000 (12:54 -0800)]
tinyvg: simplify by making path just an array of segments.

2 years agotinyvg: adding reader/writer for TinyVG image format.
John Benediktsson [Thu, 23 Dec 2021 20:40:53 +0000 (12:40 -0800)]
tinyvg: adding reader/writer for TinyVG image format.

2 years agoparser: revert private for now, instead of fixing the tests.
John Benediktsson [Wed, 22 Dec 2021 23:45:24 +0000 (15:45 -0800)]
parser: revert private for now, instead of fixing the tests.

2 years agoparser: fix tests.
John Benediktsson [Wed, 22 Dec 2021 21:23:55 +0000 (13:23 -0800)]
parser: fix tests.

2 years agomath.vectors: make these non-generic to fix simd-128 issue.
John Benediktsson [Wed, 22 Dec 2021 20:15:09 +0000 (12:15 -0800)]
math.vectors: make these non-generic to fix simd-128 issue.

2 years agol2-norm -> norm in the rest of the places
Cat Stevens [Tue, 10 Mar 2020 00:09:39 +0000 (20:09 -0400)]
l2-norm -> norm in the rest of the places

2 years agomath.vectors,matrices: l2-norm -> aliased as norm (?) and help updated
Cat Stevens [Tue, 10 Mar 2020 00:02:07 +0000 (20:02 -0400)]
math.vectors,matrices: l2-norm -> aliased as norm (?) and help updated

2 years agovnorm rename
Cat Stevens [Sun, 1 Mar 2020 20:30:00 +0000 (15:30 -0500)]
vnorm rename

2 years agoparser: more private words.
John Benediktsson [Wed, 22 Dec 2021 20:04:37 +0000 (12:04 -0800)]
parser: more private words.