Commit Graph

31719 Commits (3eb6e55ae4b51ec9de976f22a833f2f1f7605f5c)

Author SHA1 Message Date
John Benediktsson a62ea78d73 ui.backend.cocoa.views: some formatting cleanup. 2020-01-24 14:47:42 -08:00
kusumotonorio fb3928f807 Tests for System V AMD64 ABI (#2233)
* Adds Tests for System V AMD64 ABI

* Remove TABs, etc.

* Adds a test

* Some Cleanup

* Add Callback Tests

* Add More Tests
2020-01-24 21:54:33 +00:00
John Benediktsson 4e17fb13cb
Merge pull request #2235 from kusumotonorio/system-v-amd64-abi
Improved System V AMD64 ABI compliance
2020-01-24 21:52:40 +00:00
John Benediktsson eb4c6cf711 bittorrent: initial commit of message parsing. 2020-01-24 13:47:20 -08:00
Doug Coleman d992e87cd6 LICENSE.txt: Update the copyright year! 2020-01-23 19:44:03 -06:00
kusumotonorio 1eaa895c8a unix.factor: Bug fix etc., boxing.factor: Improves record/unrecord-reps 2020-01-23 20:02:03 +09:00
kusumotonorio 95519b0130 boxing.factor: Swap first and second positions 2020-01-20 20:47:16 +09:00
kusumotonorio 7349f9d953 boxing.factor: Use count 2020-01-20 20:38:43 +09:00
kusumotonorio aba3d66849 unix.factor: Use count 2020-01-20 18:53:26 +09:00
kusumotonorio 56c6e3058b put alien.factor, ffi_test.* back 2020-01-19 22:30:48 +09:00
kusumotonorio e6726acd02 put alien.factor back 2020-01-19 22:27:17 +09:00
kusumotonorio c258a4e2f4 Add Callback Tests 2020-01-19 21:57:05 +09:00
kusumotonorio 2ee51f50e2 Stop inc-not-f and dec-not-f, etc 2020-01-19 14:30:38 +09:00
Doug Coleman ada064d9c3 byte-arrays: Add a byte-sequence protocol for byte-{array,vector}
Allow hexdumping strings as utf8 for convenience.
2020-01-16 18:18:46 -06:00
kusumotonorio bb7777e0cf boxing.factor: Change Stack Effects 2020-01-16 23:34:24 +09:00
kusumotonorio d581322225 Remove an extra space 2020-01-16 21:06:22 +09:00
kusumotonorio 5bee1ba3a1 Improve System V AMD64 ABI compliance 2020-01-16 20:57:13 +09:00
John Benediktsson d593d3d953 tuple-arrays: final-class wasn't a predicate class. 2020-01-15 13:54:40 -08:00
John Benediktsson 8c5e9a7df4 classes: fix a couple of check-instance uses. 2020-01-15 13:33:50 -08:00
John Benediktsson 19c8d482fb continuations: more use of check-instance. 2020-01-15 10:52:34 -08:00
John Benediktsson 77cd3aaede classes: use check-instance in a few places, to remove duplication. 2020-01-15 10:34:47 -08:00
John Benediktsson cd75a7eb4e 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-01-15 10:29:06 -08:00
John Benediktsson b3582dd323 urls.encoding: support byte-array values for encoding. 2020-01-09 14:17:01 -08:00
John Benediktsson c2270fbe6a bencode: support decoding byte-arrays. 2020-01-09 11:57:20 -08:00
John Benediktsson 7565b372e7 bencode: alloe bencode of byte-arrays. 2020-01-08 17:33:11 -08:00
Doug Coleman 4acb08d905 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-01-08 19:23:37 -06:00
John Benediktsson 73b01704a2 bencode: use linked-assocs to preserve ordering, fix byte-strings.
the byte-string was being "decoded" with replacement characters, messing
up binary data.
2020-01-08 11:45:42 -08:00
John Benediktsson d7c0dfcb2b llvm.ffi: ... 2020-01-08 11:44:45 -08:00
John Benediktsson d0fd75b208 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-01-08 09:05:06 -08:00
John Benediktsson 655262af9a llvm.ffi: need to fix stack effect for the false case. 2020-01-08 08:51:41 -08:00
John Benediktsson ca1612cc57 io: fix for win32-error not throwing on zero. 2020-01-06 14:20:15 -08:00
John Benediktsson 1eb7dbe6d2 io.files: quot effects in change-file-lines and change-file-contents. 2020-01-06 13:26:19 -08:00
John Benediktsson b2dc630bd0 game.loop: last-tick-percent-offset counts down to zero, need to subtract from 1. 2020-01-06 13:20:12 -08:00
Alexander Iljin c77cc4c205 windows.errors: fix a compilation error 2020-01-06 13:18:53 -08:00
Alexander Iljin 049356574a windows.errors: streamline error handling and throwing 2020-01-06 13:18:33 -08:00
Alexander Iljin 3733b13daf 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-01-06 13:18:33 -08:00
Alexander Iljin 563a3b1a47 Replace "n>win32-error-string throw" with windows-error instance throwing 2020-01-06 13:18:33 -08:00
Alexander Iljin 135390968b Delete throw-win32-error, replace with win32-error calls 2020-01-06 13:18:33 -08:00
Alexander Iljin 407c7bc216 io.files.windows: replace "-1 <alien>" with INVALID_HANDLE_VALUE 2020-01-06 13:18:33 -08:00
Alexander Iljin 294be2cca3 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-01-06 13:18:33 -08:00
Alexander Iljin 77db1b1df3 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-01-06 13:18:33 -08:00
John Benediktsson 249b916636 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-01-06 13:14:59 -08:00
John Benediktsson d3b9974bed llvm.ffi: fix cond. 2020-01-05 19:14:22 -08:00
Doug Coleman 86a35088de gpu.demos.bunny: use while* instead of each-morsel 2020-01-05 13:42:31 -06:00
Doug Coleman f9c90583d0 io.files.info: Fix linux file-system-info recursion 2020-01-05 13:27:22 -06:00
Doug Coleman b35a5466e1 game.loop: Fix game loop for timers change 2020-01-04 14:02:21 -06:00
Doug Coleman 9bb19274b2 build: Fix paths... 2020-01-04 13:47:13 -06:00
Doug Coleman 16135ef8d6 mason.disk: fix word name 2020-01-04 13:40:26 -06:00
Doug Coleman 9beeedfe18 io.files.info: Fix find-mount-point. 2020-01-04 13:33:45 -06:00
Doug Coleman 596d44f5af Revert "build.cmd: github is source of truth now"
This reverts commit d7af258eb7.

I renamed /git/factor-github.git to /git/factor.git
2020-01-04 13:21:34 -06:00