]> gitweb.factorcode.org Git - factor.git/log
factor.git
3 years agobasis/extra: replace "/ >integer" with "/i" in a few places.
John Benediktsson [Sat, 16 May 2020 18:17:42 +0000 (11:17 -0700)]
basis/extra: replace "/ >integer" with "/i" in a few places.

3 years agoui.gadgets.packs: change pack-layout not to round.
John Benediktsson [Sat, 16 May 2020 18:10:18 +0000 (11:10 -0700)]
ui.gadgets.packs: change pack-layout not to round.

3 years agobrainfuck: inline (?) because it's not a language command.
John Benediktsson [Sat, 16 May 2020 17:13:10 +0000 (10:13 -0700)]
brainfuck: inline (?) because it's not a language command.

3 years agoui.gadgets: formatting.
John Benediktsson [Sat, 16 May 2020 17:07:35 +0000 (10:07 -0700)]
ui.gadgets: formatting.

3 years agoui.baseline-alignment: better stack effects.
John Benediktsson [Sat, 16 May 2020 17:05:11 +0000 (10:05 -0700)]
ui.baseline-alignment: better stack effects.

3 years agocore-text: change metrics>dim not to ceiling.
John Benediktsson [Sat, 16 May 2020 16:58:42 +0000 (09:58 -0700)]
core-text: change metrics>dim not to ceiling.

3 years agoio.standard-paths: fix standard-login-paths for fish shell
Sergii Fesenko [Sat, 16 May 2020 13:52:09 +0000 (16:52 +0300)]
io.standard-paths: fix standard-login-paths for fish shell

Fish shell automatically split variables whose name ends in "PATH" into lists,
and uses space as separator for output
Colons force fish to use standard $PATH representation

3 years agourls: adding redacted-url to mask the password of a URL.
John Benediktsson [Fri, 15 May 2020 19:11:29 +0000 (12:11 -0700)]
urls: adding redacted-url to mask the password of a URL.

This is particularly useful for logging to avoid accidentally printing
passwords in web server logs.

3 years agoAdded imenu tags to factor-mode for Emacs
Silvio Mayolo [Thu, 14 May 2020 00:20:34 +0000 (20:20 -0400)]
Added imenu tags to factor-mode for Emacs

3 years agosodium.ffi: add the scrypt functions
Alexander Iljin [Sun, 10 May 2020 23:00:43 +0000 (01:00 +0200)]
sodium.ffi: add the scrypt functions

3 years agosodium: update copyright years in the header
Alexander Iljin [Mon, 27 Apr 2020 16:22:44 +0000 (18:22 +0200)]
sodium: update copyright years in the header

3 years agosodium: add sodium-bin>base64
Alexander Iljin [Mon, 27 Apr 2020 22:40:45 +0000 (00:40 +0200)]
sodium: add sodium-bin>base64

3 years agosodium: add sodium-base64>bin
Alexander Iljin [Mon, 27 Apr 2020 16:20:22 +0000 (18:20 +0200)]
sodium: add sodium-base64>bin

3 years agomath.bitwise: some docs cleanup.
John Benediktsson [Sat, 2 May 2020 14:43:39 +0000 (07:43 -0700)]
math.bitwise: some docs cleanup.

3 years agomath.bitwise: Add some more docs to find bits form >signed.
Doug Coleman [Mon, 27 Apr 2020 04:49:17 +0000 (23:49 -0500)]
math.bitwise: Add some more docs to find bits form >signed.

3 years agomath.bitwise: Add an in-order bitfield word called bitfield*.
Doug Coleman [Sat, 2 May 2020 03:48:48 +0000 (22:48 -0500)]
math.bitwise: Add an in-order bitfield word called bitfield*.

4 years agotensors: updated with the latest tensors vocab.
John Benediktsson [Tue, 28 Apr 2020 03:15:33 +0000 (20:15 -0700)]
tensors: updated with the latest tensors vocab.

rebased and merged #2283

4 years agovisionect: change http-backend to use CRLF.
John Benediktsson [Thu, 23 Apr 2020 18:23:58 +0000 (11:23 -0700)]
visionect: change http-backend to use CRLF.

4 years agovisionect: handle non-post-data in visionect-post.
John Benediktsson [Wed, 22 Apr 2020 04:18:42 +0000 (21:18 -0700)]
visionect: handle non-post-data in visionect-post.

4 years agovisionect: fix get-tclv and set-tclv.
John Benediktsson [Tue, 21 Apr 2020 19:33:55 +0000 (12:33 -0700)]
visionect: fix get-tclv and set-tclv.

4 years agovisionect: get http-backend working properly.
John Benediktsson [Tue, 21 Apr 2020 19:25:17 +0000 (12:25 -0700)]
visionect: get http-backend working properly.

4 years agoadded srv parsing
Steve Ayerhart [Tue, 21 Apr 2020 17:52:51 +0000 (12:52 -0500)]
added srv parsing

4 years agoincorrect SRV enum
Steve Ayerhart [Tue, 21 Apr 2020 17:51:13 +0000 (12:51 -0500)]
incorrect SRV enum

4 years agobootstrap.image.upload: remove os hook from scp-name.
John Benediktsson [Tue, 21 Apr 2020 14:05:19 +0000 (07:05 -0700)]
bootstrap.image.upload: remove os hook from scp-name.

4 years agobootstrap.image.upload: scp is included with windows git now.
Doug Coleman [Tue, 21 Apr 2020 06:15:19 +0000 (01:15 -0500)]
bootstrap.image.upload: scp is included with windows git now.

pscp is not necessary anymore and in fact is a more effort to set up.

4 years agovisionect: new vocab for Visionect Server Management API.
John Benediktsson [Mon, 20 Apr 2020 21:57:53 +0000 (14:57 -0700)]
visionect: new vocab for Visionect Server Management API.

4 years agomath.bitwise: Fix shift "right" to shift "left" for bitfield.
Doug Coleman [Sun, 19 Apr 2020 00:46:29 +0000 (19:46 -0500)]
math.bitwise: Fix shift "right" to shift "left" for bitfield.

This word was really hard to understand so I reworked the docs and added another example.

4 years agoio.files.trash: use normalize-path.
John Benediktsson [Sat, 18 Apr 2020 16:58:40 +0000 (09:58 -0700)]
io.files.trash: use normalize-path.

4 years agoio.files.trash: add tags.txt for now.
John Benediktsson [Sat, 18 Apr 2020 16:48:22 +0000 (09:48 -0700)]
io.files.trash: add tags.txt for now.

4 years agowebsites.concatenative: rename cgi to gitweb.
John Benediktsson [Sat, 18 Apr 2020 05:11:05 +0000 (22:11 -0700)]
websites.concatenative: rename cgi to gitweb.

4 years agoio.files.trash.windows: convert input path to absolute in send-to-trash
Alexander Iljin [Mon, 30 Jul 2018 07:21:25 +0000 (09:21 +0200)]
io.files.trash.windows: convert input path to absolute in send-to-trash

The input path must be absolute, but normalize-path can't be used, because
that returns UNC path, and SHFileOperation fails on any path prefixed with
"\\?", see https://docs.microsoft.com/en-us/windows/win32/api/shellapi/ns-shellapi-shfileopstructa
Use absolute-path instead. The mixture of slashes and backslashes in the
path is tolerated, at least on Windows 10.

Add a simple unit-test.

4 years agoio.files.trash.windows: fix SHFILEOPSTRUCTW struct
Alexander Iljin [Wed, 15 Apr 2020 21:28:06 +0000 (23:28 +0200)]
io.files.trash.windows: fix SHFILEOPSTRUCTW struct

Fix the incorrect field alignment. SHFileOperationW crashed with a memory
protection error while trying to dereference only part of the string
pointer.

4 years agoui.gadgets.charts: delete some obsolete implementation comments
Alexander Iljin [Mon, 13 Apr 2020 22:16:49 +0000 (00:16 +0200)]
ui.gadgets.charts: delete some obsolete implementation comments

4 years agoimages.viewer-docs: remove some extra spaces
Alexander Iljin [Mon, 13 Apr 2020 22:15:58 +0000 (00:15 +0200)]
images.viewer-docs: remove some extra spaces

4 years agocompiler.tree.propagation.constraints: fix a harmless typo
Alexander Iljin [Sun, 9 Feb 2020 14:49:19 +0000 (15:49 +0100)]
compiler.tree.propagation.constraints: fix a harmless typo

4 years agoalien.data-docs: fix wording and punctuation in cast-array help
Alexander Iljin [Sun, 2 Jun 2019 16:38:05 +0000 (18:38 +0200)]
alien.data-docs: fix wording and punctuation in cast-array help

4 years agoui.gestures-docs: add code example to file-drop gesture documentation
Alexander Iljin [Sun, 21 Apr 2019 20:31:43 +0000 (22:31 +0200)]
ui.gestures-docs: add code example to file-drop gesture documentation

4 years agoio.timeouts-docs: fix an example formatting
Alexander Iljin [Wed, 15 May 2019 10:24:20 +0000 (12:24 +0200)]
io.timeouts-docs: fix an example formatting

The help system highlights only the last line as the code "output", so in
this case it displayed only half of the text that way.

4 years agovm: Allow larger 32bit code heaps.
Doug Coleman [Mon, 13 Apr 2020 22:50:58 +0000 (15:50 -0700)]
vm: Allow larger 32bit code heaps.

Code heap is artificially restricted on 32bit because PPC only had relative
jump instructions of a certain width and we punted on implementing
larger jumps.

4 years agomason.child: change windows code-heap from 200 to 100.
John Benediktsson [Mon, 13 Apr 2020 20:36:10 +0000 (13:36 -0700)]
mason.child: change windows code-heap from 200 to 100.

4 years agodrive-strings: really move this time.
John Benediktsson [Mon, 13 Apr 2020 19:53:13 +0000 (12:53 -0700)]
drive-strings: really move this time.

4 years agodrive-strings: move to windows.drive-strings.
John Benediktsson [Mon, 13 Apr 2020 19:43:25 +0000 (12:43 -0700)]
drive-strings: move to windows.drive-strings.

4 years agosodium.secure-memory: fix a stack effect and add documentation
Alexander Iljin [Mon, 13 Apr 2020 19:05:40 +0000 (21:05 +0200)]
sodium.secure-memory: fix a stack effect and add documentation

4 years agoliterals-docs: fix a copy-paste error
Alexander Iljin [Mon, 13 Apr 2020 18:21:17 +0000 (20:21 +0200)]
literals-docs: fix a copy-paste error

4 years agodrive-strings: add a demo vocab for GetLogicalDriveStrings to extra
Alexander Iljin [Fri, 9 Aug 2019 06:20:00 +0000 (08:20 +0200)]
drive-strings: add a demo vocab for GetLogicalDriveStrings to extra

4 years agowindows.kernel32: add GetLogicalDriveStrings
Alexander Iljin [Fri, 9 Aug 2019 06:16:39 +0000 (08:16 +0200)]
windows.kernel32: add GetLogicalDriveStrings

4 years agowindows.version: new vocab
Alexander Iljin [Sat, 12 Oct 2019 11:44:11 +0000 (13:44 +0200)]
windows.version: new vocab

4 years agoalien.data-docs: fix a typo
Alexander Iljin [Fri, 29 Mar 2019 23:54:38 +0000 (00:54 +0100)]
alien.data-docs: fix a typo

4 years agoio.files.windows: rename a stack effect to make it more readable
Alexander Iljin [Mon, 10 Dec 2018 15:03:13 +0000 (16:03 +0100)]
io.files.windows: rename a stack effect to make it more readable

4 years agosodium: fix help-lint warnings.
John Benediktsson [Mon, 13 Apr 2020 18:16:18 +0000 (11:16 -0700)]
sodium: fix help-lint warnings.

4 years agosodium.secure-memory: fix return type of secure-memory=.
John Benediktsson [Mon, 13 Apr 2020 18:13:20 +0000 (11:13 -0700)]
sodium.secure-memory: fix return type of secure-memory=.

4 years agomirrors: make failures check error type.
John Benediktsson [Mon, 13 Apr 2020 17:53:22 +0000 (10:53 -0700)]
mirrors: make failures check error type.

4 years agomirrors: useless using
Cat Stevens [Thu, 12 Mar 2020 00:34:49 +0000 (20:34 -0400)]
mirrors: useless using

4 years agomirrors: delete-at and clear-assoc are an error, fix #1757
Cat Stevens [Thu, 12 Mar 2020 00:28:02 +0000 (20:28 -0400)]
mirrors: delete-at and clear-assoc are an error, fix #1757

M\ mirror delete-at and M\ mirror clear-assoc
have been made to throw a new
mirror-slot-removal error, because
it doesn't make sense to remove a
tuple slot, and this behaviour should
not have been relied on.

4 years agoio.directories: use factor for touch-file.
John Benediktsson [Mon, 13 Apr 2020 17:28:16 +0000 (10:28 -0700)]
io.directories: use factor for touch-file.

4 years agosodium.secure-memory: apply @AlexIljin patch for secure-memory=.
John Benediktsson [Mon, 13 Apr 2020 16:53:39 +0000 (09:53 -0700)]
sodium.secure-memory: apply @AlexIljin patch for secure-memory=.

4 years agosodium.secure-memory: new vocab
Alexander Iljin [Sun, 12 Apr 2020 02:14:22 +0000 (04:14 +0200)]
sodium.secure-memory: new vocab

4 years agosodium.ffi: add 2020 to the copyright years
Alexander Iljin [Mon, 23 Mar 2020 00:05:45 +0000 (01:05 +0100)]
sodium.ffi: add 2020 to the copyright years

4 years agosodium.ffi: fix the pointer declaration syntax
Alexander Iljin [Mon, 23 Mar 2020 00:02:39 +0000 (01:02 +0100)]
sodium.ffi: fix the pointer declaration syntax

4 years agosodium.ffi: add the Argon2i header definitions
Alexander Iljin [Sun, 22 Mar 2020 23:59:33 +0000 (00:59 +0100)]
sodium.ffi: add the Argon2i header definitions

4 years agosodium.ffi: fix the array parameters in the function declarations
Alexander Iljin [Sun, 22 Mar 2020 16:37:07 +0000 (17:37 +0100)]
sodium.ffi: fix the array parameters in the function declarations

Add a couple of necessary constants.

4 years agosodium.ffi: add some SHA hash and HMAC headers
Alexander Iljin [Sun, 22 Mar 2020 01:24:37 +0000 (02:24 +0100)]
sodium.ffi: add some SHA hash and HMAC headers

4 years agoio.directories: The only truly cross-platform binary is Factor.
Doug Coleman [Sun, 12 Apr 2020 18:13:45 +0000 (13:13 -0500)]
io.directories: The only truly cross-platform binary is Factor.

4 years agobenchmark.regex-dna: We have to read the input and output files with \n
Doug Coleman [Sun, 12 Apr 2020 18:23:38 +0000 (11:23 -0700)]
benchmark.regex-dna: We have to read the input and output files with \n
line endings.

4 years agoio: Really fix the tests.
Doug Coleman [Sun, 12 Apr 2020 16:04:50 +0000 (11:04 -0500)]
io: Really fix the tests.

4 years agoWindows: Handle three places where Windows line endings break the tests.
Doug Coleman [Sun, 12 Apr 2020 04:57:49 +0000 (23:57 -0500)]
Windows: Handle three places where Windows line endings break the tests.

Usually we check out with Unix line endings, but if you don't set this
option, then get adds extra newlines to text files. Since there are
only three places, let's just fix them.

Fixes #2276

4 years agoio.directories: Maybe echo is a good cross-platform test?
Doug Coleman [Sat, 11 Apr 2020 17:48:08 +0000 (12:48 -0500)]
io.directories: Maybe echo is a good cross-platform test?

https://github.com/factor/factor/commit/4a6bd579775023d01ddf978d8a2c016d24b9686e#commitcomment-38433000

4 years agoRevert "io.directories: Don't use ``touch`` because it's not default on Windows."
Doug Coleman [Sat, 11 Apr 2020 17:39:22 +0000 (12:39 -0500)]
Revert "io.directories: Don't use ``touch`` because it's not default on Windows."

This reverts commit 4a6bd579775023d01ddf978d8a2c016d24b9686e.

We don't test anything without try-process.

4 years agoio.directories: Don't use ``touch`` because it's not default on Windows.
Doug Coleman [Sat, 11 Apr 2020 04:44:38 +0000 (21:44 -0700)]
io.directories: Don't use ``touch`` because it's not default on Windows.

4 years agomason.child: Up the codeheap size on Windows mason tests.
Doug Coleman [Sat, 11 Apr 2020 04:31:56 +0000 (21:31 -0700)]
mason.child: Up the codeheap size on Windows mason tests.

4 years agowebbrowser: disable some tests that open windows.
John Benediktsson [Thu, 9 Apr 2020 20:34:57 +0000 (13:34 -0700)]
webbrowser: disable some tests that open windows.

4 years agoopenssl.libssl: Add functions to set options on SSL_CTX.
Doug Coleman [Tue, 7 Apr 2020 22:29:08 +0000 (22:29 +0000)]
openssl.libssl: Add functions to set options on SSL_CTX.

With these functions we can disable TLS1.0 and TLS1.1 someday.

Related to #2273.

4 years agovm: lost a character somehow.
John Benediktsson [Tue, 7 Apr 2020 18:40:04 +0000 (11:40 -0700)]
vm: lost a character somehow.

4 years agovm: quick fix for compilation warning.
John Benediktsson [Tue, 7 Apr 2020 18:38:48 +0000 (11:38 -0700)]
vm: quick fix for compilation warning.

4 years agosodium: Less stack shuffling in test.
Doug Coleman [Tue, 7 Apr 2020 05:52:29 +0000 (00:52 -0500)]
sodium: Less stack shuffling in test.

4 years agomason.test: change mason to load roots in order.
John Benediktsson [Fri, 3 Apr 2020 16:44:45 +0000 (09:44 -0700)]
mason.test: change mason to load roots in order.

This will allow us to know when core depends on basis, or basis on
extra, because they should get load errors.

4 years agofurnace.actions: better using.
John Benediktsson [Fri, 3 Apr 2020 03:00:56 +0000 (20:00 -0700)]
furnace.actions: better using.

4 years agofurnace.actions: cleanup using.
John Benediktsson [Fri, 3 Apr 2020 00:31:41 +0000 (17:31 -0700)]
furnace.actions: cleanup using.

4 years agowindows.iphlpapi: use follow, it's simpler.
John Benediktsson [Fri, 3 Apr 2020 00:30:13 +0000 (17:30 -0700)]
windows.iphlpapi: use follow, it's simpler.

4 years agobasis/extra: move tools.
John Benediktsson [Fri, 3 Apr 2020 00:06:50 +0000 (17:06 -0700)]
basis/extra: move tools.

4 years agoio.encodings.utf7: skip over first char when searching.
John Benediktsson [Thu, 2 Apr 2020 19:32:05 +0000 (12:32 -0700)]
io.encodings.utf7: skip over first char when searching.

4 years agoio.encodings.utf7: revert last patch, fixed and faster.
John Benediktsson [Thu, 2 Apr 2020 17:54:51 +0000 (10:54 -0700)]
io.encodings.utf7: revert last patch, fixed and faster.

4 years agocli.git: revert process-contents patch.
John Benediktsson [Thu, 2 Apr 2020 16:53:56 +0000 (09:53 -0700)]
cli.git: revert process-contents patch.

4 years agobasis/extra: move fewer things.
John Benediktsson [Thu, 2 Apr 2020 04:36:41 +0000 (21:36 -0700)]
basis/extra: move fewer things.

4 years agoRevert "basis: Move any vocabularies required by basis into basis."
John Benediktsson [Wed, 1 Apr 2020 18:11:51 +0000 (11:11 -0700)]
Revert "basis: Move any vocabularies required by basis into basis."

This reverts commit 59c2956570d9cd634dd218c1cfb0b82c72dace02.

4 years agoRevert "basis: Move more extra to basis."
John Benediktsson [Wed, 1 Apr 2020 18:11:36 +0000 (11:11 -0700)]
Revert "basis: Move more extra to basis."

This reverts commit 2d85dafa9872fa34b463f6473e61a1ed71c17788.

4 years agorosetta-code.multisplit: reduce memory usage
Alexander Iljin [Thu, 2 Apr 2020 01:15:26 +0000 (03:15 +0200)]
rosetta-code.multisplit: reduce memory usage

Avoid creating a filtered sequence when all we need is its first element.

4 years agorosetta-code.multisplit: new vocab
Alexander Iljin [Wed, 1 Apr 2020 20:48:50 +0000 (22:48 +0200)]
rosetta-code.multisplit: new vocab

4 years agobuild.sh: Only find the mingw compiler on Windows.
Doug Coleman [Tue, 31 Mar 2020 01:37:38 +0000 (20:37 -0500)]
build.sh: Only find the mingw compiler on Windows.

Fixes #2269

4 years agobuild.sh: Support MINGW64 as 64bit Windows.
Doug Coleman [Mon, 30 Mar 2020 22:31:35 +0000 (17:31 -0500)]
build.sh: Support MINGW64 as 64bit Windows.

This is for msys2 64bit mode.

4 years agobuild.sh: Only support 32/64bit word sizes.
Doug Coleman [Mon, 30 Mar 2020 22:28:02 +0000 (17:28 -0500)]
build.sh: Only support 32/64bit word sizes.

4 years agobasis: Move more extra to basis.
Doug Coleman [Sat, 28 Mar 2020 15:39:06 +0000 (10:39 -0500)]
basis: Move more extra to basis.

I missed these because they were already loaded in my saved image.

4 years agobasis: Move any vocabularies required by basis into basis.
Doug Coleman [Sat, 28 Mar 2020 14:30:37 +0000 (09:30 -0500)]
basis: Move any vocabularies required by basis into basis.

4 years agoformatting: simplify using assoc>map instead of unzip map map zip.
John Benediktsson [Tue, 24 Mar 2020 18:13:55 +0000 (11:13 -0700)]
formatting: simplify using assoc>map instead of unzip map map zip.

4 years agoformatting: support other sequences in printf.
John Benediktsson [Tue, 24 Mar 2020 18:11:15 +0000 (11:11 -0700)]
formatting: support other sequences in printf.

4 years agounix.process: Add posix_spawn stub.
Doug Coleman [Sun, 15 Mar 2020 22:18:37 +0000 (17:18 -0500)]
unix.process: Add posix_spawn stub.

I couldn't get this to work in all cases to replace spawn-process yet.

```
! works
{ "/bin/ls" "-al" } posix-spawn-args-with-path

! Broken on Linux64 for some reason
{
    "/usr/bin/code"
    "-g"
    "-r"
    "/home/erg/factor-master/basis/io/launcher/launcher.factor"
} posix-spawn-args-with-path
```

4 years agobuild.sh: Tab snuck into my commit...
Doug Coleman [Sun, 15 Mar 2020 18:46:42 +0000 (13:46 -0500)]
build.sh: Tab snuck into my commit...

4 years agowindows: Move types to ole32
Doug Coleman [Sun, 15 Mar 2020 18:31:46 +0000 (13:31 -0500)]
windows: Move types to ole32

4 years agowindows: Move IStream to windows.com to fix bootstrap.
Doug Coleman [Sun, 15 Mar 2020 18:21:24 +0000 (13:21 -0500)]
windows: Move IStream to windows.com to fix bootstrap.

4 years agofactor: Update all repos to point to github.com.
Doug Coleman [Sun, 15 Mar 2020 17:22:15 +0000 (12:22 -0500)]
factor: Update all repos to point to github.com.

factorcode.org repo can get behind the github one due to #1862 and low RAM on the new factorcode.org server

Change strategy for calling git fetch to not include the branch name if we are on a detached HEAD