pilfer-pandex
db87197479
urbit: bump version to 1.4
2021-04-26 19:22:21 -04:00
pilfer-pandex
94ad4ec3ac
king: fix typo in UDP.hs comment
2021-04-26 18:58:14 -04:00
pilfer-pandex
dad455365d
king: add requested disclamer to UDP.hs
2021-04-23 15:51:51 -04:00
pilfer-pandex
0bcc83f40c
king: my god, actually reverse ip addrs
2021-04-23 15:51:51 -04:00
pilfer-pandex
17bf33d3a0
king: fix byte order of Ipv4
2021-04-23 15:51:51 -04:00
pilfer-pandex
48837a1fbe
king: ames: make udp serv reuse port on err
2021-04-23 15:51:50 -04:00
Liam Fitzgerald
d357593ef1
king: address ~pilfer-pandex review
2021-04-21 16:40:22 +10:00
fang
d1fba5d740
kh: correctly (re)store styled lines
...
We weren't accounting for the cursor column when storing output, nor
accounting for styled contents properly.
See also a8de23ca9
for the equivalent change in Vere.
2021-04-21 00:43:12 +02:00
Liam Fitzgerald
e6857d5797
king: do not commit files starting with a dot
2021-04-20 15:32:26 +10:00
fang
8716c49b45
kh: always draw spinner on bottom line
...
Now always draws the spinner on the bottom line, regardless of the
cursor position.
2021-04-16 15:11:33 +02:00
fang
fab0f65d58
term: bump on-return spinner delay from 0 to 100ms
...
Not drawing the spinner when the command gets processed nearly instantly
makes things feel slightly better.
2021-04-15 20:54:55 +02:00
fang
c55ebf36a4
kh: don't show spinner name for user inputs
2021-04-14 20:35:17 +02:00
fang
98d48913bf
kh: improve term code style
...
Based on feedback during review.
2021-04-14 17:10:50 +02:00
fang
0a75ca19f3
kh: support mouse reporting for %hit belts
...
This comes with the caveat that this specific mouse reporting mode
(which should only report clicks of the primary button) doesn't
actually seem to be supported by most terminal emulators, even though
it precedes the more complex reporting modes.
(Enabling a more complex reporting mode instead would also capture
scroll events, which interferes with expected behavior while in tmux.)
2021-04-02 14:25:29 +02:00
fang
01b8995e33
kh: decouple trace & slog writing from drum prompt
...
New blit logic already stopped assuming the bottom line based on %nel
blits, instead looking at cursor position to determine if something
was getting drawn to the bottom of the screen or not.
Here, we stop overwriting the bottom line entirely (except for the
spinner), instead inserting the trace/slog directly above the bottom
line on-screen, without overwriting anything.
Side-effect of this is that trailing newlines are always there, so we
can stop including them explicitly.
2021-04-02 14:21:22 +02:00
fang
a90489830d
kh: update Term for new dill interface
...
Support new Belts/Blits and updated semantics.
2021-04-02 13:58:13 +02:00
fang
1abbe168fe
kh: expose to/fromNoun template logic separately
...
Separately from deriveNoun, which gives you an entire instance. Having
access to these lets you call out to the auto-generated conversion
logic when writing custom code for it.
2021-04-02 13:21:20 +02:00
Joe Bryan
4df706b842
urbit: bumps version to 1.3
2021-04-01 15:33:14 -07:00
pilfer-pandex
229ae81bf1
Merge pull request #4516 from ryjm/fix-king-scry
...
king: fix textAsTa
2021-03-23 14:54:56 -04:00
pilfer-pandex
f0f88b4145
Merge pull request #4640 from urbit/pp/lmdb
...
hs: remove lmdb-static; just use lmdb
2021-03-23 14:53:23 -04:00
pilfer-pandex
19f4b36ac5
Merge pull request #4616 from urbit/pp/vegeta
...
king: commit seppuku when server is out of fds, also setrlimit allowing for more fds
2021-03-23 14:53:15 -04:00
pilfer-pandex
e2b2c29990
Merge branch 'release/next-vere' into pp/lmdb
2021-03-22 15:55:38 -04:00
pilfer-pandex
1b6ac81073
Merge pull request #4625 from urbit/pp/femtosecond
...
king: remove the "hardware femtosecond clock"
2021-03-22 15:30:07 -04:00
pilfer-pandex
91b34325a2
hs: remove lmdb-static; just use lmdb
2021-03-22 14:43:43 -04:00
pilfer-pandex
1a39dac437
king: address joe on fds/seppuku
2021-03-21 21:27:50 -04:00
pilfer-pandex
0e332c3259
king: joe had good suggestions re time precision
2021-03-19 14:44:52 -04:00
pilfer-pandex
6fa380ddc1
king: remove the 'hardware femtosecond clock'
2021-03-17 19:53:36 -04:00
pilfer-pandex
2c7a2dbd6a
king: remove the 'hardware femtosecond clock'
2021-03-17 19:53:17 -04:00
pilfer-pandex
72f0201de3
king: missing changes in Main, plus setrlimit for fds
2021-03-16 21:49:44 -04:00
pilfer-pandex
88375f37ec
king: commit seppuku when server is out of fds
2021-03-16 00:40:18 -04:00
pilfer-pandex
7f86f41da3
king: fix moronic space leak in http client
2021-03-05 18:48:07 -05:00
pilfer-pandex
af3ea0b9a1
king: fix insidious space leak in IPC.hs
2021-03-05 16:19:25 -05:00
ryjm
f9a5666074
king: textAsTa -> textAsT
2021-03-02 14:19:48 -05:00
ryjm
5f1418973d
king: fix textAsTa
...
`textAsTa` was not properly handling uppercase alphanumerics. This would
break subsite authentication when there are uppercase characters in your
cookies.
Should now be equivalent to `(cury scot %t)`.
dojo:
```
> (scot %t 'urbauth-zod=0v2.d0q3n.4jgsq.fl9jk.mp2nd.97uu6; lang=en-US')
~.~~urbauth-zod~3d.0v2~.d0q3n~.4jgsq~.fl9jk~.mp2nd~.97uu6~3b..lang~3d.en-~55.~53.
```
ghci:
```
λ> textAsTa "urbauth-zod=0v2.d0q3n.4jgsq.fl9jk.mp2nd.97uu6; lang=en-US"
"~~urbauth-zod~3d.0v2~.d0q3n~.4jgsq~.fl9jk~.mp2nd~.97uu6~3b..lang~3d.en-~55.~53."
```
2021-02-27 14:02:14 -05:00
pilfer-pandex
c9c11837b8
king: fix bug Show Ipv4
2021-02-03 15:26:19 -08:00
pilfer-pandex
d625a0e5ed
king: address joe and ted
2021-02-03 14:50:23 -08:00
pilfer-pandex
b9cc2edede
king: version number 1.1.1
2021-02-02 15:59:36 -08:00
pilfer-pandex
e70fa2629d
king: error message for lock file
2021-02-02 15:58:30 -08:00
pilfer-pandex
ac00ea43f8
king: fix lane format; vere: don't crash on bad lane
2021-02-02 10:54:07 -08:00
pilfer-pandex
1042422bbe
king: address joe's comments again
2021-01-29 14:15:27 -08:00
pilfer-pandex
2fdc5ad351
king: version number 1.1
2021-01-29 14:02:10 -08:00
pilfer-pandex
9ed4f9fbe0
king: fix dat gold (again)
2021-01-22 11:53:22 -08:00
pilfer-pandex
8db4e2ad7e
king: new mug
2021-01-21 19:41:19 -08:00
pilfer-pandex
fbe13d411d
king: elim zigzag in --stderr (still interlacing)
2021-01-21 14:55:03 -08:00
pilfer-pandex
958ebc5a24
king: ted's new packet format
2021-01-10 21:19:40 -08:00
pilfer-pandex
29cc12d206
king: various fixes and improvements
2020-12-18 17:00:56 -08:00
pilfer-pandex
fec7d99fd1
Merge branch 'eg/wyrd-hs' into pp/wire
2020-12-18 12:04:52 -08:00
Elliot Glaysher
3451e02cd1
OK, and now we are walking through the effects
2020-12-16 16:53:25 -05:00
Elliot Glaysher
44d8119119
That was it. Fixed the wyrd:insane issue.
2020-12-16 11:46:54 -05:00
Elliot Glaysher
d6def3c4cb
WIP: Got to the point where we boot and goof on the event
2020-12-16 11:17:13 -05:00
pilfer-pandex
aefb53e64e
king: path format chage, fix tests
2020-12-15 13:46:26 -08:00
Elliot Glaysher
c887dcd626
Merge remote-tracking branch 'origin/pp/wire' into eg/wyrd-hs
2020-12-11 17:13:39 -05:00
Elliot Glaysher
4f67f90c9c
Dumping
2020-12-11 13:05:46 -05:00
Elliot Glaysher
876fb521ee
First draft adding wyrd; doesn't boot.
2020-12-11 13:05:46 -05:00
pilfer-pandex
716ed1203b
king: fix warning
2020-12-10 18:05:10 -08:00
pilfer-pandex
1a9b1a83a5
king: 'implement' joe's breaching ev/ef path reform
2020-12-10 17:56:56 -08:00
pilfer-pandex
17359556c1
Merge pull request #4075 from urbit/pp/stat
...
king: Create a new stats subsystem; count some stuff in Ames
2020-12-10 16:40:52 -08:00
Joe Bryan
59883343c8
Merge branch 'jb/vere-versions' into jb/vere-versions-merge
...
* jb/vere-versions:
u3: adds comments to explain unusual u3v_arvo/u3v_home requirements
u3: fixes checkpoint version enforcement, refactors u3m_pave() et al
king: port the new lmdb event log changes.
u3: WIP adds a version to the checkpoint / persistent state
u3: revises "rock" format, tags jet registrations
u3: adds version number to checkpoint patch files
u3: removes obsolete members from u3_arvo
vere: removes u3A->sen references from i/o drivers
vere: implements lmdb event log format
vere: adds version to lmdb meta table, removes unnecessary jam
2020-12-04 15:26:16 -08:00
pilfer-pandex
f5d1f9260c
king: more stats, log 'rotation'
2020-12-04 14:19:03 -08:00
pilfer-pandex
0f4450d43b
king: remove spurious Term changes
2020-12-03 23:23:46 -08:00
pilfer-pandex
24cc0502cd
king: actually use ~_~ for stats display
2020-12-03 23:12:14 -08:00
pilfer-pandex
80540c2142
king: stat
2020-12-03 11:13:59 -08:00
fang
f099ec9505
kh: use Word8 for Tint true color values
...
Also does some minor style cleanup.
2020-12-03 01:45:46 +01:00
fang
7fa7716ab0
kh: support 24-bit %klr colors
2020-12-02 17:27:53 +01:00
Elliot Glaysher
967b5c3091
king: port the new lmdb event log changes.
2020-11-25 11:33:36 -05:00
Joe Bryan
68a9a8dba1
Merge branch 'release/next-vere' into pp/mug
...
* release/next-vere:
build: update gcloud to use non-deprecated action
vere: manage memory properly in _fore_import
build: update GoogleCloudPlatform/github-actions/setup-gcloud to 0.2.0
king: try undoing warnings in eventlog-lmdb
king: diswarn tests
king: more warnery
king: fix warnings; more consistent warn policy
vere: add -i and -o options for import and export
herb/lens: add utilites for import/export
build: github actions workflow configuration
vere: refactors pier initialization to fix -X
nix: fixes `shellFor` nix-shell helper
2020-11-19 23:29:46 -08:00
pilfer-pandex
9062f398a5
king: try undoing warnings in eventlog-lmdb
2020-11-17 18:27:48 +01:00
pilfer-pandex
108b6ed485
king: diswarn tests
2020-11-17 18:27:48 +01:00
pilfer-pandex
0567f24959
king: more warnery
2020-11-17 18:27:48 +01:00
pilfer-pandex
491034b4eb
king: fix warnings; more consistent warn policy
2020-11-17 18:27:48 +01:00
pilfer-pandex
f08d7c6031
king: fix test (daaad)
2020-11-11 16:56:56 -08:00
pilfer-pandex
d7de50be07
king: fix warnings in Tree (thanks dad)
2020-11-11 16:42:55 -08:00
pilfer-pandex
16e48a7484
king: this is a holdup!
2020-11-11 16:33:50 -08:00
fang
50651cd76e
Merge pull request #3849 from urbit/pppf/eyre-slog
...
kh: webslogs
2020-10-31 21:22:09 +01:00
fang
2497283ff2
king: more code style weaks, remove stale todo's
2020-10-31 21:00:00 +01:00
pilfer-pandex
82606e03e3
Merge pull request #3852 from urbit/pp/fix-kh-again
...
king: fix a warning
2020-10-30 17:31:15 -07:00
Elliot Glaysher
15d2c18368
Merge pull request #3809 from urbit/kh-specify-eth-node
...
king: port the '-e' option to specify ethereum node endpoint.
2020-10-30 20:06:00 -04:00
pilfer-pandex
a211390e77
king: and fix a warning in Packet.hs
2020-10-30 16:35:52 -07:00
pilfer-pandex
06f3dc2d3e
king: fix MonadFail issue in Packet.hs caused by merge
2020-10-30 16:29:57 -07:00
fang
c0f1fe8433
king: improve code style in KingSubsite
2020-10-30 23:42:33 +01:00
fang
77fc886570
Merge branch 'release/next-vere' into pppf/eyre-slog
2020-10-30 23:30:00 +01:00
pilfer-pandex
bd0672cb8e
king: 1 TiB mapsize for event log
2020-10-30 14:54:33 -07:00
pilfer-pandex
6f0bb5990c
Merge pull request #3595 from urbit/pp/stateless
...
Implement stateless forwarding in the king
2020-10-30 14:48:38 -07:00
Joe Bryan
bafa1ef7f5
Merge pull request #3806 from urbit/release/next-ci
...
build: migrate to hercules ci, haskell.nix, and upgrade to ghc 8.8.4
2020-10-30 14:33:26 -07:00
fang
3f9cd4a794
king: get rid of unnecessary helper
2020-10-29 23:22:48 +01:00
Brendan Hay
6599a85b99
king: ensure tests are enabled on ci and don't depend on lfs pills
2020-10-29 16:20:41 +01:00
fang
5615b5dc1a
king: factor scrying logic into helper lib
...
Takes care of constructing the full scry path based off the given
components. Fills in timestamp with the current time. Logs errors on
result conversion failures.
2020-10-28 19:59:48 +01:00
fang
af225f673a
king: scry to check authentication of webslog reqs
...
Instead of giving webslogs to anyone who asks, only acknowledge requests
with valid session cookies. Send 403s to all others.
2020-10-28 19:33:21 +01:00
Elliot Glaysher
d1c5f97bd7
king: cancel http servers immediately on shutdown.
2020-10-28 14:24:52 -04:00
fang
418b9fda7e
king: add helper for escaping Text into @ta format
...
Behavior should match (scot %t the-text).
2020-10-28 19:13:23 +01:00
Elliot Glaysher
b3c145ee35
king: port the '-e' option to specify ethereum node endpoint.
2020-10-27 14:01:59 -04:00
Brendan Hay
de17409fd6
king: various warning and -Werror related fixes
...
This also removes -Werror from racqure due to the sheer number
build failures arising from compiler warnings.
2020-10-27 14:28:08 +01:00
Brendan Hay
74db584ad7
king: simplify parser types to avoid invalid existential newtype
2020-10-27 14:28:08 +01:00
Brendan Hay
2b74a8edd6
king: disable overlapping patterns for deriveNoun/Void usage
2020-10-27 14:28:08 +01:00
Brendan Hay
d752256126
king: replace use of deprecated network/socket address lookup
2020-10-27 14:28:08 +01:00
Brendan Hay
8a830934b1
build: reorganising top-level .gitignore and add nix ignores
2020-10-27 14:28:07 +01:00
Brendan Hay
345bf2c39a
king: remove broken/unused regex-tdfa-text dependency
...
Text instances are now contained in the parent regex-tdfa package.
2020-10-27 13:56:17 +01:00
Brendan Hay
eeff3034cd
king: update stackage resolver to lts-16.15
...
This allows us to drop flat/urbit-hob as they're now in the package set,
web3/vinyl need to be added to account for urbit-azimuth's dependencies.
2020-10-27 13:56:04 +01:00
Brendan Hay
ce3cbf0857
build: rework all nix expressions to support hercules-ci builds
...
This also removes nixcrpkgs and OSX cross compilation in favour of
compiling on the target. x86_64/musl targets are still supported
on Linux.
All sources are now managed via niv (see nix/sources.json) and Haskell
package sets are provided/organised via IOHK's haskell.nix.
Some effort has been made to expose similar top-level attributes for
development, but in some cases there have been changes. Please see
the comments in the top-level default.nix and ci.nix files for usage.
2020-10-27 13:55:49 +01:00
fang
2e7b2ceedb
Merge branch 'pp/stateless' into pppf/eyre-slog
2020-10-26 16:34:41 +01:00