Commit Graph

30977 Commits (867fc1e3fc4dca6444c390e7737c1eb6e18fb6f1)

Author SHA1 Message Date
Doug Coleman 591a468800 assocs: Add ?delete-at. 2019-02-03 14:51:59 -05:00
Doug Coleman 447b46db97 tftp: Implement a client/server for tftp.
The server needs to handle multiple clients. Refactoring...
2019-02-03 14:51:52 -05:00
Doug Coleman 3b5cbaff8c pack: Implement write-c-string for tftp.
Ruby has hella more string directives we could implement:
https://apidock.com/ruby/Array/pack
2019-02-03 13:34:33 -05:00
John Benediktsson c8da551a95 hamurabi: fix #percent-died. 2019-01-27 21:34:49 -08:00
Doug Coleman 16a79f1397 tools: Fix some issues and use base85. 2019-01-26 12:12:18 -06:00
John Benediktsson 82ad6cec2e base85: simpler pad math. 2019-01-26 07:14:09 -08:00
John Benediktsson 4fbc726b1a base85: change to not pad encoding, fix output bug. 2019-01-25 21:14:11 -08:00
John Benediktsson 1ff2722b15 base85: fix a bug with accidental extra characters in alphabet. 2019-01-24 19:21:29 -08:00
Doug Coleman 0ae9b17734 mime.multipart: Simplify the code a bit.
Fixes #2107
2019-01-21 15:08:07 -06:00
Doug Coleman d73fb5f80f webapps.planet: Trim using list. 2019-01-19 10:08:19 -06:00
Doug Coleman 42d84a4e29 math.blas.matrices: Fix for equal? 2019-01-19 10:08:07 -06:00
John Benediktsson 4f240e0d25 timers: add test showing stopping timer doesn't stop a running quotation. 2019-01-15 17:31:14 -08:00
Doug Coleman 77515aa2a9 syndication: Remove dead code I added on accident.. 2019-01-12 18:06:03 -06:00
Doug Coleman f00bc7e08c syndication: Fix atom parsing.
This is the problematic feed:
  https://rfc1149.net/blog/tag/factor/feed/

Here's the validator saying it's ok:
  https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Frfc1149.net%2Fblog%2Ftag%2Ffactor%2Ffeed%2F
2019-01-12 17:52:55 -06:00
Doug Coleman c3569f02fa io.sockets: When we throw an error upon failing to resolve a host, report the host name. 2019-01-12 16:31:13 -06:00
Doug Coleman 053daddfa6 webapps.pastebin: Fix quotation effect so deleting annotations works. 2019-01-12 15:28:36 -06:00
Doug Coleman cc540c3165 io.serial: Fix using list. 2019-01-12 10:43:34 -06:00
John Benediktsson 88617a9e65 io.monitors: cleanup using. 2019-01-11 08:19:59 -08:00
John Benediktsson b66c23133e heaps: cleanup using. 2019-01-11 08:19:50 -08:00
John Benediktsson b7c43d6e04 models.delay: cache the timer, bug with restart-timer. 2019-01-10 21:41:34 -08:00
John Benediktsson 81caec378d classes.tuple: use integer>fixnum in tuple-hashcode. 2019-01-10 21:39:24 -08:00
John Benediktsson c2684d5875 io.streams.duplex: use >duplex-stream<. 2019-01-10 20:35:32 -08:00
John Benediktsson 15fff4a1fd io.serial: use io.streams.duplex:with-stream. 2019-01-10 20:34:58 -08:00
John Benediktsson 75f36fa9c5 heaps: fix minor doc typo. 2019-01-10 16:47:45 -08:00
John Benediktsson d29052c7b9 heaps: simplify code a little, use locals to expose heap-delete logic. 2019-01-10 16:44:22 -08:00
Jon Harper 1c28d326b1 heaps: add comments referring to pypy's heapq.py 2019-01-10 21:52:16 +01:00
Jon Harper cc70de32a7 heaps: fix heap delete: sometimes we need to sift-down 2019-01-10 21:40:28 +01:00
Jon Harper be24351a29 heaps.tests: remove dead code 2019-01-10 21:37:28 +01:00
Jon Harper 8a052aed92 heaps: check heap invariant during tests 2019-01-10 21:37:27 +01:00
Jon Harper 2a8643e936 heaps: bring back data-compare as heapdata-compare
It is useful in several places. Change the name because
0d7233f2da changed the convention and data-* words now
operate on the data directly
2019-01-10 18:21:02 +01:00
Doug Coleman e4579d02e7 units: Add exponentiation operator and a d-cube. 2019-01-05 14:37:00 -06:00
Samuel Tardieu 2cfa457258 Fix bugs in heap-delete
When an entry is kept to be use later with `heap-delete`, its `index`
in the owning heap is automatically updated as the entry sifts up
or down.

However, if the entry is removed from the heap via either a `heap-pop`
or a `heap-delete` operation, its index is not invalidated and
the entry can still be used later with `heap-delete` and remove the
wrong element from the heap.

This patch invalidates entries when they leave the heap by setting
their index to `f`, and check the index in `entry>index`.
2019-01-04 07:27:28 -08:00
John Benediktsson 2d0e716362 ryu: minor locals cleanup, don't use 5drop. 2019-01-03 21:29:53 -08:00
John Benediktsson aa67ab6ec4 ryu: faster and simpler using number>string for integer conversion. 2019-01-03 21:13:55 -08:00
Alexander Iljin b26fa1b318 ryu: accept some lint vocab suggestions 2019-01-03 17:05:12 -08:00
Alexander Iljin 47c3f7d56d lint: add suggestion to replace "-roll -roll" with 2swap 2019-01-03 15:36:34 -08:00
Alexander Iljin 97a91d66fc syntax-docs: add a couple of missing CHAR: syntax examples 2019-01-03 15:36:03 -08:00
John Benediktsson f8de0c1caa db.sqlite: make sure select-tuple throws sql-table-missing etc. 2019-01-03 12:39:37 -08:00
John Benediktsson d66ea1e09c base32: adding Douglas Crockford's Base 32 encoding/decoding. 2019-01-03 12:27:11 -08:00
Alexander Iljin b8daf396e2 db.tuples[{-docs,-tests}]: add reject-tuples 2019-01-01 14:23:40 -06:00
Alexander Iljin bb1e6943e6 ulid: new vocab
This corresponds to commit 1bd3b5681bf1ba7155a42e75a937ec4b2520a202 of the
original repository at https://github.com/AlexIljin/ulid.
2019-01-01 14:22:52 -06:00
Doug Coleman 4ba2ac3e78 Revert "db.tuples[{-docs,-tests}]: add reject-tuples"
This reverts commit 6cae2046b5.
2018-12-30 22:29:54 -06:00
Alexander Iljin 6cae2046b5 db.tuples[{-docs,-tests}]: add reject-tuples 2018-12-30 20:31:35 -06:00
Doug Coleman 4db062cc1b tools.directory-to-file: Fix using 2018-12-30 19:20:39 -06:00
Alexander Iljin 94af9254bd ryu: add new vocab to convert double-precision floats to strings
This commit corresponds to commit 5e1591c3cbee3c667e400d936e924c0d25d55aeb
in the original repo https://github.com/AlexIljin/ryu (minus README.md).
2018-12-30 19:14:29 -06:00
Doug Coleman ffcb7839f6 directory-to-file: Better nested syntax. 2018-12-30 17:08:00 -06:00
John Benediktsson d9df9fc3cc ui.tools.inspector: string inspection shows characters. 2018-12-30 12:51:10 -08:00
Doug Coleman 1e2bb358c2 zoneinfo: Remove dumb unit test 2018-12-30 14:45:31 -06:00
Doug Coleman 9dc54b8584 travis: Disable windows for now. Can't find the compiler...help? 2018-12-30 14:26:27 -06:00
Doug Coleman 5e710fa9f9 zoneinfo: Add updated files. 2018-12-30 14:26:17 -06:00