Commit Graph

31466 Commits (fcfb1e43f7feeb8a2bb795cb9205b2ed9c3e7b32)

Author SHA1 Message Date
kusumotonorio 14b8cfeba9
Stop inc-not-f and dec-not-f, etc 2020-04-11 20:33:31 -05:00
kusumotonorio 38b64043f8
boxing.factor: Change Stack Effects 2020-04-11 20:33:30 -05:00
kusumotonorio 94a595cf5e
Remove an extra space 2020-04-11 20:33:29 -05:00
kusumotonorio 6801472db4
Improve System V AMD64 ABI compliance 2020-04-11 20:33:28 -05:00
John Benediktsson 4e0161c999
bittorrent: initial commit of message parsing. 2020-04-11 20:33:27 -05:00
Doug Coleman 4b44a0f875
LICENSE.txt: Update the copyright year! 2020-04-11 20:33:26 -05:00
Doug Coleman 470f774e20
byte-arrays: Add a byte-sequence protocol for byte-{array,vector}
Allow hexdumping strings as utf8 for convenience.
2020-04-11 20:33:25 -05:00
John Benediktsson 3001c20b24
tuple-arrays: final-class wasn't a predicate class. 2020-04-11 20:33:24 -05:00
John Benediktsson 3a66238c8e
classes: fix a couple of check-instance uses. 2020-04-11 20:33:23 -05:00
John Benediktsson 2f9c8c6bca
continuations: more use of check-instance. 2020-04-11 20:33:22 -05:00
John Benediktsson 4631eb5a7e
classes: use check-instance in a few places, to remove duplication. 2020-04-11 20:33:21 -05:00
John Benediktsson a8416f24b2
classes: adding a check-instance for checking type of things.
This will replace a bunch of not-a-thingy errors that we have in a few
places.  Those should probably go away anyway, in favor of better type
propagation or runtime JIT compilation.
2020-04-11 20:33:21 -05:00
John Benediktsson 8d9894c57a
urls.encoding: support byte-array values for encoding. 2020-04-11 20:33:20 -05:00
John Benediktsson f3dc124db2
bencode: support decoding byte-arrays. 2020-04-11 20:33:19 -05:00
John Benediktsson 1adabc3168
bencode: alloe bencode of byte-arrays. 2020-04-11 20:33:18 -05:00
Doug Coleman 55a69c492a
tools.deploy: Up the deploy sizes for mac32.
Looks like upgrading to unicode 12 caused the sizes to grow. These are mostly graphics demos which should not depend on unicode, but the tools can't detect this easily, so punt for now.

Here's a command to show the last clean deploy to where it broke.

git log -p 4201c2149b66d5ce45a9e45be95459256486a7ea..8eb7621b549a7956665affc9e53a48e8e8b29ea3
2020-04-11 20:33:17 -05:00
John Benediktsson b284d188e8
bencode: use linked-assocs to preserve ordering, fix byte-strings.
the byte-string was being "decoded" with replacement characters, messing
up binary data.
2020-04-11 20:33:16 -05:00
John Benediktsson a2cce5a0d9
llvm.ffi: ... 2020-04-11 20:33:15 -05:00
John Benediktsson 3e428b1754
tensors.tensor-slice: make step-slice not extend slice.
This caused a small regression in compiler.tree.cleanup on this test:

{ t } [
    [ { array } declare 2 <groups> [ . . ] assoc-each ]
    \ nth-unsafe inlined?
] unit-test

I'm not entirely sure why it wasn't able to infer the slice that was created
for iteration stays a slice, and never becomes a step-slice, so perhaps there
is some improvement to be made in type inference here.
2020-04-11 20:33:14 -05:00
John Benediktsson a270b4797a
llvm.ffi: need to fix stack effect for the false case. 2020-04-11 20:33:13 -05:00
John Benediktsson 6e7cd0f131
io: fix for win32-error not throwing on zero. 2020-04-11 20:33:12 -05:00
John Benediktsson dfac484e00
io.files: quot effects in change-file-lines and change-file-contents. 2020-04-11 20:33:11 -05:00
John Benediktsson 7a933a5af0
game.loop: last-tick-percent-offset counts down to zero, need to subtract from 1. 2020-04-11 20:33:10 -05:00
Alexander Iljin d111ecfeec
windows.errors: fix a compilation error 2020-04-11 20:33:09 -05:00
Alexander Iljin 7c69f0d548
windows.errors: streamline error handling and throwing 2020-04-11 20:33:08 -05:00
Alexander Iljin e2a6f037fe
Replace "win32-error-string throw" with windows-error instance throwing
Remove win32-error-string, because there was only one place it was used in.
2020-04-11 20:33:08 -05:00
Alexander Iljin e333278e47
Replace "n>win32-error-string throw" with windows-error instance throwing 2020-04-11 20:33:07 -05:00
Alexander Iljin 699f8a837d
Delete throw-win32-error, replace with win32-error calls 2020-04-11 20:33:06 -05:00
Alexander Iljin 77dfb95763
io.files.windows: replace "-1 <alien>" with INVALID_HANDLE_VALUE 2020-04-11 20:33:05 -05:00
Alexander Iljin d8e246389d
Replace inline INVALID_HANDLE_VALUE checks with check-invalid-handle calls
On error find-first-file will now throw a windows-error instance instead of
a string.
2020-04-11 20:33:04 -05:00
Alexander Iljin e273c77873
windows.errors: make check-invalid-handle throw windows-error instances
There are two consequences:
- the thrown object is now a windows-error, previously it was a string;
- if GetLastError returns zero, nothing is thrown. Previously the string
"The operation completed successfully." was thrown in that case.
2020-04-11 20:33:03 -05:00
John Benediktsson bf6c280903
game.loop: using timer's next-nanos, which is in the future.
Also, use clamp to make sure tick offset is always [0,1].
2020-04-11 20:33:02 -05:00
John Benediktsson 2344735d43
llvm.ffi: fix cond. 2020-04-11 20:33:01 -05:00
Doug Coleman 90e0998861
gpu.demos.bunny: use while* instead of each-morsel 2020-04-11 20:33:00 -05:00
Doug Coleman 10104b0d55
io.files.info: Fix linux file-system-info recursion 2020-04-11 20:32:59 -05:00
Doug Coleman adfc5ee548
game.loop: Fix game loop for timers change 2020-04-11 20:32:59 -05:00
Doug Coleman 22a2d8a74a
build: Fix paths... 2020-04-11 20:32:58 -05:00
Doug Coleman 99d760e08f
mason.disk: fix word name 2020-04-11 20:32:57 -05:00
Doug Coleman 177e6e07e6
io.files.info: Fix find-mount-point. 2020-04-11 20:32:56 -05:00
Doug Coleman 13e35cdca2
Revert "build.cmd: github is source of truth now"
This reverts commit d7af258eb7.

I renamed /git/factor-github.git to /git/factor.git
2020-04-11 20:32:55 -05:00
Doug Coleman 9b39d75083
io.files.info: fix circularity regression in file-systems on linux 2020-04-11 20:32:54 -05:00
Doug Coleman e75dd893b0
mason.git: new repo location 2020-04-11 20:32:53 -05:00
Doug Coleman 5e9016cde9
io: Fix word to find disk space if a file is missing.
Add canonicalize-drive because Windows likes C: instead of c:.

Add >windows-path for path string comparison.

Add canonicalize-path-full for fixing the path, drive, and / to \\ on
Windows.
2020-04-11 20:32:52 -05:00
Doug Coleman f4a1d2869b
build.cmd: github is source of truth now 2020-04-11 20:32:52 -05:00
Doug Coleman 64cde391fd
mason.disk: Fix usage of word 2020-04-11 20:32:51 -05:00
Doug Coleman 0f0f5d6615
Revert "windows.errors: make check-invalid-handle throw windows-error instances"
This reverts commit 38ab7289b5.
2020-04-11 20:32:50 -05:00
Doug Coleman d48c4dfdde
Revert "Replace inline INVALID_HANDLE_VALUE checks with check-invalid-handle calls"
This reverts commit 1e61dbfd2a.
2020-04-11 20:32:49 -05:00
Doug Coleman 346ec16117
Revert "io.files.windows: replace "-1 <alien>" with INVALID_HANDLE_VALUE"
This reverts commit a6f0b74f03.
2020-04-11 20:32:48 -05:00
Doug Coleman 6d89b61e04
Revert "Delete throw-win32-error, replace with win32-error calls"
This reverts commit e1be081ec9.
2020-04-11 20:32:47 -05:00
Doug Coleman f54180aab1
Revert "Replace "n>win32-error-string throw" with windows-error instance throwing"
This reverts commit 70d08ce743.
2020-04-11 20:32:46 -05:00