Commit Graph

31330 Commits (a7682c985495dfcdf46d2b0dbaa0eec4a87366a1)

Author SHA1 Message Date
John Benediktsson b430f8e0a7 io.files.windows: make win32-file-attributes a little faster. 2020-02-07 14:11:43 -08:00
John Benediktsson dfc4901857 math.statistics: adding interquartile-range, midhinge, and fivenum. 2020-02-06 11:40:53 -08:00
John Benediktsson 67bf39f0fb tensors: cleanup using, and make a few float math operations faster. 2020-01-30 13:39:27 -08:00
John Benediktsson 2200468755 gobject-introspection: support more number type constants. 2020-01-30 08:23:13 -08:00
Chris Double 487141d440 Fix linux find-so failure if no old ld entries exist
If '/etc/ld.so.cache' does not contain any old entries
using the 'HeaderOld' struct then it fails with a bad-magic
error before looking for the HeaderNew entries.

My Ubuntu 19.10 system doesn't have any old entries so always
fails here when using 'load-all', which results in the
'extra/llvm' vocab failing due to using 'find-so'.

The fix implemented here is to catch the error and recover from
it by seeking back to the start of the header before looking for
the new header entries.
2020-01-29 06:17:37 -08:00
John Benediktsson dfdbde9f33 math.matrices: use any? and all? directly in tests. 2020-01-28 20:44:19 -08:00
John Benediktsson 464f0a11ef math.matrices: update using on tests. 2020-01-28 20:38:43 -08:00
John Benediktsson 2300311641 bittorrent: fix check-bitfield, add a test. 2020-01-28 16:25:19 -08:00
John Benediktsson 6aa8f640c8 persistent.hashtables: cleanup. 2020-01-28 16:22:33 -08:00
John Benediktsson 548109bf4b math: use sorted-histogram values in a few places. 2020-01-28 16:21:33 -08:00
John Benediktsson 94cbe2b479 ui.gadgets.panes: fix for big strings on windows and linux.
Using 3639 grapheme length, which is win32 limit. Maybe cairo supports
4681 graphemes, but use the lower limit for now.
2020-01-28 16:16:09 -08:00
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