Joe Bryan
d130633732
ur: uses ur_bsr_rub_log() in ur_bsr_mat, moves ur_bsr_zeros() into tests
2020-08-21 15:33:04 -07:00
Joe Bryan
1a89c71e96
ur: adds ur_bsr_rub_log and tests, fixes ur_bsr_zeros()
2020-08-21 15:33:04 -07:00
Joe Bryan
e09ba7e8ee
ur: fixes typos in tests
2020-08-21 15:33:04 -07:00
Joe Bryan
b3c644930a
ur: use new ur_bsr*_any functions in ur_cue()
2020-08-21 15:33:04 -07:00
Joe Bryan
5a8043f620
ur: clean up ur_bsr8_any()
2020-08-21 15:33:04 -07:00
Elliot Glaysher
5f0fa9b2a0
Merge pull request #3354 from urbit/king-reestablish-natpmp
...
natpmp: when reopening laptop, reestablish a connection to the router.
2020-08-21 10:01:33 -04:00
Joe Bryan
a7ac76d5e7
ur: cleans up ur_bsrN_any tests
2020-08-20 23:44:04 -07:00
Joe Bryan
4d1bb97f36
ur: adds ur_bsr_bytes_any(), for bit-indexed byte reads
2020-08-20 23:43:59 -07:00
Elliot Glaysher
8255fc0e8c
natpmp: formatting and cleanup old pmp handle
2020-08-20 20:23:25 -04:00
Paul Driver
6125ac4fe4
fix vector allocation in reel
2020-08-20 12:54:27 -07:00
Elliot Glaysher
15f0df81f1
natpmp: when reopening laptop, reestablish a connection to the router.
2020-08-20 15:47:02 -04:00
Paul Driver
e3cafdd464
roll/reel with while loops
2020-08-20 11:58:08 -07:00
pilfer-pandex
c164f12922
Merge pull request #3339 from urbit/jt/rehob
...
urbit-king: update urbit-hob to v0.3.3
2020-08-20 08:35:12 -07:00
Joe Bryan
b117ca25a6
ur: fills out bistream-write (ur_bsw*) interface
2020-08-19 19:12:01 -07:00
Joe Bryan
c5bbe9e441
ur: rewrites ur_bsw_bytes to be bit-indexed
2020-08-19 18:37:01 -07:00
Joe Bryan
79363d66a8
ur: refactors bit-stream bounds-enforcement and growth
2020-08-19 18:37:01 -07:00
Joe Bryan
4aa1dbe4a2
ur: adds ur_bsw_bex() and tests
2020-08-19 18:36:56 -07:00
Elliot Glaysher
33cb1c1dce
Merge pull request #3350 from urbit/king-nat-on-private-networks-only
...
natpmp: change nat-pmp startup behaviour.
2020-08-19 16:27:14 -04:00
Elliot Glaysher
88428961dd
natpmp: also detect 172.16.0/0/12 ips as private.
2020-08-19 14:02:03 -04:00
Joe Bryan
0f3731a40c
ur: adds initial tests for bitstream-read functions (ur_bsr*)
2020-08-19 10:19:28 -07:00
Joe Bryan
d4522adb0c
ur: moves slow8/32/64 write functions into tests
2020-08-19 10:19:28 -07:00
Elliot Glaysher
1401d7bc5c
natpmp: fix error handling and don't die on errors in getpubliaddress
...
This fixes a case where the natpmp async could pure () instead of
recursing, which would lock ames. This also adds some more error
handling on the haskell side of things and disables the raw fprintfs
in the c bindings layer.
2020-08-19 12:53:59 -04:00
Elliot Glaysher
5c7f846d71
natpmp: change the library's timeout system to not wait 4 minutes.
2020-08-19 12:05:13 -04:00
Elliot Glaysher
60e2ae02a2
natpmp: cleanup by using a tristate
2020-08-18 15:43:31 -04:00
Elliot Glaysher
dca4344a45
natpmp: By default, only try to talk to the router on private ips.
...
Since startup hangs for seconds when you are not behind a router,
but still attempt to ask one to open ports for you, by default,
only try to contact the router if the local ip is 192.168.*.* or
10.*.*.*.
Also make port forwarding force on/off.
2020-08-18 12:22:45 -04:00
Jared Tobin
5662a085d5
urbit-king: update urbit-hob to v0.3.3
...
v0.3.2 fixed an important bug that should be pulled in here.
2020-08-18 13:48:05 -02:30
Joe Bryan
572a0d2c91
ur: adds ur_bsw32()
2020-08-17 22:03:55 -07:00
Joe Bryan
5b0c1320fb
ur: refactors ur_bsw8 and ur_bsw_bytes internals
2020-08-17 22:03:55 -07:00
Joe Bryan
a9d2a29bf2
ur: rewrites _bsw64_unsafe() for efficiency
2020-08-17 22:03:49 -07:00
Joe Bryan
9282247ba5
ur: adds tests for bitstream write functions (ur_bsw*)
2020-08-17 21:57:02 -07:00
Joe Bryan
e160620256
ur: refactors jam/cue tests
2020-08-17 15:36:01 -07:00
pilfer-pandex
7bf4ff4b00
Merge pull request #3320 from urbit/pp/log-cli
...
king: configure logging via cli flags
2020-08-17 12:14:58 -07:00
pilfer-pandex
750b986370
Merge branch 'release/next-vere' into pp/log-cli
...
Rename `koUseNatPmp` to `hUseNatPmp`; cleanup
2020-08-17 11:43:30 -07:00
pilfer-pandex
6a236a2749
king: use XDG cache directory for default log location
2020-08-17 11:27:30 -07:00
Elliot Glaysher
5ee32841d2
Merge pull request #3261 from urbit/king-natpmp
...
King should open ames ports via NAT-PMP
2020-08-17 14:12:48 -04:00
pilfer-pandex
e40bd3cf6f
Merge branch 'master' into release/next-vere
2020-08-17 11:05:46 -07:00
Elliot Glaysher
b25c0b3443
natpmp: oops. missed a sav_errno
2020-08-17 13:08:22 -04:00
Elliot Glaysher
81e3a8f927
natpmp: cleanups for ~master-morzod
2020-08-17 10:58:48 -04:00
pilfer-pandex
2d1f3cdfa0
king: thread LogLevel through, make output better
2020-08-16 10:33:52 -07:00
pilfer-pandex
8ab60b9133
king: configure logging via cli flags
2020-08-14 19:40:48 -07:00
Elliot Glaysher
1b3a69e24d
Merge branch 'release/next-vere' into king-natpmp
2020-08-14 16:17:47 -04:00
Joe Bryan
509c074445
ur: implements cue
2020-08-14 11:48:13 -07:00
Joe Bryan
ee8c8ed1bd
ur: implements jam
2020-08-14 11:15:51 -07:00
Joe Bryan
377ee490f3
u3: corrects _cu_from_loom() stack struct comment
2020-08-14 11:15:51 -07:00
Joe Bryan
eedb138975
ur: refactors indirect-atom (re-)allocation
2020-08-14 11:15:51 -07:00
Elliot Glaysher
14d1b59117
natpmp: even more cleanup
2020-08-14 10:23:39 -04:00
Elliot Glaysher
b4878a8b03
natpmp: Separate out the PortThreadMsgs from the heap actions.
2020-08-13 13:36:20 -04:00
Elliot Glaysher
a3336fde41
natpmp: more nits
2020-08-13 11:52:42 -04:00
Elliot Glaysher
1183ac0b22
natpmp: checkpoint while addressing comments
2020-08-13 11:12:26 -04:00
Elliot Glaysher
ac4b5a99e5
natpmp: Rename RunningEnv to HostEnv.
2020-08-13 10:19:35 -04:00