Commit Graph

31749 Commits (fed5fd7c507d45c5ce3ad8192e848c5e29f8ec66)

Author SHA1 Message Date
Alexander Iljin 2ba1db0362 sodium.ffi: fix the array parameters in the function declarations
Add a couple of necessary constants.
2020-04-13 15:32:00 +00:00
Alexander Iljin 142d02ce43 sodium.ffi: add some SHA hash and HMAC headers 2020-04-13 15:32:00 +00:00
Doug Coleman 1870c11c0b io.directories: The only truly cross-platform binary is Factor. 2020-04-12 13:25:24 -05:00
Doug Coleman 899c388ca7 benchmark.regex-dna: We have to read the input and output files with \n
line endings.
2020-04-12 11:23:38 -07:00
Doug Coleman 4a48297387 io: Really fix the tests. 2020-04-12 11:04:50 -05:00
Doug Coleman 32410ebca7 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
2020-04-12 00:05:44 -05:00
Doug Coleman 2b85b27c17 io.directories: Maybe echo is a good cross-platform test?
4a6bd57977 (commitcomment-38433000)
2020-04-11 12:48:08 -05:00
Doug Coleman 723072726e Revert "io.directories: Don't use ``touch`` because it's not default on Windows."
This reverts commit 4a6bd57977.

We don't test anything without try-process.
2020-04-11 12:39:22 -05:00
Doug Coleman 4a6bd57977 io.directories: Don't use ``touch`` because it's not default on Windows. 2020-04-10 21:44:38 -07:00
Doug Coleman cff2fde9f9 mason.child: Up the codeheap size on Windows mason tests. 2020-04-10 21:31:56 -07:00
John Benediktsson ce7cad8bd3 webbrowser: disable some tests that open windows. 2020-04-09 13:35:28 -07:00
Doug Coleman 0e5a3e2f6a 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.
2020-04-07 22:34:43 +00:00
John Benediktsson e219aad7e5 vm: lost a character somehow. 2020-04-07 11:40:04 -07:00
John Benediktsson 5c98ba78cb vm: quick fix for compilation warning. 2020-04-07 11:38:48 -07:00
Doug Coleman f5d0b8bfb0 sodium: Less stack shuffling in test. 2020-04-07 00:52:29 -05:00
John Benediktsson 2c014197c7 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.
2020-04-03 09:44:45 -07:00
John Benediktsson 2c378da929 furnace.actions: better using. 2020-04-02 20:00:56 -07:00
John Benediktsson c4d179643b furnace.actions: cleanup using. 2020-04-02 17:31:41 -07:00
John Benediktsson a785e279d5 windows.iphlpapi: use follow, it's simpler. 2020-04-02 17:30:13 -07:00
John Benediktsson 94d97a20f5 basis/extra: move tools. 2020-04-02 17:06:50 -07:00
John Benediktsson 7deab681c6 io.encodings.utf7: skip over first char when searching. 2020-04-02 12:32:05 -07:00
John Benediktsson 605dad2406 io.encodings.utf7: revert last patch, fixed and faster. 2020-04-02 10:54:51 -07:00
John Benediktsson 3b1464630c cli.git: revert process-contents patch. 2020-04-02 09:53:56 -07:00
John Benediktsson de3b74d1c6 basis/extra: move fewer things. 2020-04-01 21:37:28 -07:00
John Benediktsson 42cf41e616 Revert "basis: Move any vocabularies required by basis into basis."
This reverts commit 59c2956570.
2020-04-01 21:37:28 -07:00
John Benediktsson 33eb8a7837 Revert "basis: Move more extra to basis."
This reverts commit 2d85dafa98.
2020-04-01 21:37:28 -07:00
Alexander Iljin 7e4c854714 rosetta-code.multisplit: reduce memory usage
Avoid creating a filtered sequence when all we need is its first element.
2020-04-02 01:50:01 +00:00
Alexander Iljin 9b143a826d rosetta-code.multisplit: new vocab 2020-04-01 23:21:52 +00:00
Doug Coleman 0f9959a15b build.sh: Only find the mingw compiler on Windows.
Fixes #2269
2020-03-30 20:37:38 -05:00
Doug Coleman 905e2cfb6b build.sh: Support MINGW64 as 64bit Windows.
This is for msys2 64bit mode.
2020-03-30 17:31:35 -05:00
Doug Coleman 45d090738d build.sh: Only support 32/64bit word sizes. 2020-03-30 17:28:02 -05:00
Doug Coleman 2d85dafa98 basis: Move more extra to basis.
I missed these because they were already loaded in my saved image.
2020-03-28 10:39:06 -05:00
Doug Coleman 59c2956570 basis: Move any vocabularies required by basis into basis. 2020-03-28 09:30:37 -05:00
John Benediktsson 497d6491e6 formatting: simplify using assoc>map instead of unzip map map zip. 2020-03-24 11:13:55 -07:00
John Benediktsson 5525313757 formatting: support other sequences in printf. 2020-03-24 11:11:15 -07:00
Doug Coleman 5cc97a4d1b 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
```
2020-03-15 17:23:21 -05:00
Doug Coleman 8c97ea20de build.sh: Tab snuck into my commit... 2020-03-15 13:46:42 -05:00
Doug Coleman c23230ed82 windows: Move types to ole32 2020-03-15 13:31:46 -05:00
Doug Coleman 1abde46c79 windows: Move IStream to windows.com to fix bootstrap. 2020-03-15 13:21:38 -05:00
Doug Coleman 172649f667 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
2020-03-15 13:06:02 -05:00
Cat Stevens 426d8f09b2 fix various typos; cleanup and fully document boyer-moore 2020-03-15 14:58:43 +00:00
kusumotonorio d8f813a531 Reduced stack waste, added LOGIC-RED: and LOGIC-VAR:, a little speed up. 2020-03-15 03:22:57 +00:00
John Benediktsson ee4e977fbb ui.text.core-text: apply @kusumotonorio patch. 2020-03-11 20:59:20 -07:00
Doug Coleman 85d15e865a windows: Add more COM code. 2020-03-10 18:34:24 -05:00
John Benediktsson 717dce055a images.loader: fix tests. 2020-03-10 10:20:21 -07:00
Doug Coleman d98f0134ab images.loader: fix using and kick the tires 2020-03-10 09:57:47 -05:00
Doug Coleman 39f8abc764 images.loader: Disable saving a bmp on win32.
This is probably fixable with enough auditing of the gdiplus flat
interface.
2020-03-10 03:53:14 -05:00
Doug Coleman fcc225466f vm/allot.hpp: Print more room info when allot() fails.
This is to help debug win64.

Some interesting observations:

fails without any error:
factor.com -codeheap=74000

fails with VirtualAlloc error:
factor.com -codeheap=80000
2020-03-10 03:33:20 -05:00
Doug Coleman 96d3482475 windows: Fix user32/shcore DPI functions. 2020-03-09 21:59:10 -05:00
Doug Coleman 67d5e633f1 nmake: Fix caching on Windows when compiling without a manifest. 2020-03-09 17:30:24 -05:00