Doug Coleman
205018869b
vm: Add freebsd32 support for completeness.
...
We need gmake on freebsd.
2019-02-09 19:40:54 +00:00
Doug Coleman
5d78ab55be
basis: Load images.{tiff,png} by default for FreeBSD. Add platforms back.
2019-02-09 18:50:15 +00:00
Doug Coleman
123327115d
config.freebsd: Link the UI libraries into the Factor VM.
...
This should happen for other BSD platforms as well.
2019-02-09 18:49:29 +00:00
Doug Coleman
960ff85d31
build.sh: Add a compile option to compile only.
...
Invoking ``gmake`` only should work, but it uses g++ on OpenBSD instead of clang++. We should fix this.
2019-02-09 18:48:42 +00:00
Jack Lucas
c6c2377072
Fix typo in monitor file
2019-02-09 18:43:51 -05:00
Jack Lucas
b259a2725c
Fix monitor errors on startup
2019-02-09 18:38:20 -05:00
Doug Coleman
d139924bf5
vm: Use the old FreeBSD os-freebsd.cpp so we don't need procfs installed (it's not mounted by default).
2019-02-08 22:07:02 +00:00
Doug Coleman
080303530a
build.sh: Use gmake on FreeBSD and specify the number of cores.
2019-02-08 22:07:02 +00:00
Jack Lucas
e3c189fa56
Fix merge error
2019-02-08 20:19:10 -05:00
Jack Lucas
6ab0996b1a
Remove one mistaken author file
2019-02-08 19:20:20 -05:00
Jack Lucas
3154242a3a
Re-add Freebsd Support
2019-02-08 19:17:30 -05:00
Alexander Iljin
6105055b82
ulid-docs: format errors with $errors
2019-02-07 13:24:06 -08:00
Doug Coleman
184b614e89
protocols.tftp: Fix some bugs.
...
- needed pack-be
- tftp clients seem to send an ACK even before receiving an error for a missing file
- handles directories now, "File not found"
to improve:
- use the client/server pair as a key maybe
- handle file writing
- throw errors that are not io-timeout once we have a cross-platform timeout error object
2019-02-03 18:09:34 -05:00
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