mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
gall: more lighter-than-eyre compatibility
This commit is contained in:
parent
2c6281c0b4
commit
92fbc80ea6
@ -849,6 +849,10 @@
|
||||
%reap
|
||||
::
|
||||
(mo-give %mack p.internal-gift)
|
||||
::
|
||||
%http-response
|
||||
::
|
||||
!!
|
||||
==
|
||||
::
|
||||
:: +mo-handle-sys-val: inbound validate.
|
||||
@ -934,16 +938,9 @@
|
||||
::
|
||||
%cay
|
||||
::
|
||||
?. ?=([%e %sigh *] sign-arvo)
|
||||
~& [%mo-handle-use-weird sign-arvo]
|
||||
~& [%mo-handle-use-weird-path path]
|
||||
mo-state
|
||||
::
|
||||
=. app
|
||||
=/ =cage +>.sign-arvo
|
||||
(ap-unwrap-take:app %sigh t.t.t.path cage)
|
||||
::
|
||||
ap-abet:app
|
||||
~& [%mo-handle-use-weird sign-arvo]
|
||||
~& [%mo-handle-use-weird-path path]
|
||||
mo-state
|
||||
::
|
||||
%out
|
||||
::
|
||||
@ -1791,7 +1788,7 @@
|
||||
%poke (ap-move-poke bone vase)
|
||||
%send (ap-move-send bone vase)
|
||||
%quit (ap-move-quit bone vase)
|
||||
%http-response (ap-move-http-response -.q.vax cav)
|
||||
%http-response (ap-move-http-response bone vase)
|
||||
==
|
||||
::
|
||||
:: +ap-move-quit: give quit move.
|
||||
@ -1852,7 +1849,7 @@
|
||||
::
|
||||
++ ap-move-http-response
|
||||
|= [sto=bone vax=vase]
|
||||
^- [(each cove tang) _ap-state]
|
||||
^- [(each internal-move tang) _ap-state]
|
||||
::
|
||||
:: TODO: Magic vase validation. I have no idea how malformed checking
|
||||
:: works.
|
||||
@ -1908,8 +1905,8 @@
|
||||
?. ?& ?=(^ pax)
|
||||
(levy u.pax (sane %ta))
|
||||
==
|
||||
=/ =tang (ap-suck "pass: malformed path")
|
||||
~& [%bad-path pux]
|
||||
=/ =tang (ap-tang "pass: malformed path")
|
||||
~& [%bad-path pax]
|
||||
[[%.n tang] ap-state]
|
||||
::
|
||||
=/ maybe-vane (ap-vain noun)
|
||||
|
Loading…
Reference in New Issue
Block a user