Commit Graph

1211 Commits

Author SHA1 Message Date
Elliot Glaysher
721945d1ba
Merge pull request #1740 from urbit/king-cleanup
Further terminal fixes and cleanups
2019-09-16 14:49:09 -07:00
Elliot Glaysher
350e9a8f5b 80 characters + golf 2019-09-13 13:06:13 -07:00
Elliot Glaysher
229870e0cc Fix atom putfiles + do unicode accumulation correctly. 2019-09-13 11:46:03 -07:00
Elliot Glaysher
9fcbc864b2 WIP for term cleanup 2019-09-13 11:02:52 -07:00
Elliot Glaysher
189f03e285 Stylish + 80 col 2019-09-13 11:02:41 -07:00
Benjamin Summers
707c546cda Implemented lockfile with correct handling of SIGINT (^C) and SIGTERM (send by kill). 2019-09-12 23:55:10 -07:00
Elliot Glaysher
13f6d97545
Merge pull request #1725 from urbit/king-sync
Clay syncing.
2019-09-12 17:09:05 -07:00
Elliot Glaysher
af7605a7fc Over the shoulder code review. 2019-09-12 17:08:04 -07:00
Elliot Glaysher
4aeb137ea5 Address comments. 2019-09-12 16:20:15 -07:00
Elliot Glaysher
860f59d46f Display a progress bar on startup when we have to replay the log.
Use the terminal-progress-bar package to display a progress bar
during replay, when there are jobs that need to be replayed. Bumps
the lts resolver so we get access to this package.
2019-09-12 12:49:27 -07:00
Jared Tobin
1a6e5ce9fa
Merge branch 'treapfactor' (#1724)
* treapfactor:
  u3: refactors disabled map treap jets (+int:by and +uni:by)
  u3: refactors map treap jets (+by)
  u3: refactors disabled set treap jet (+int:in)
  u3: refactors set treap jets (+in)
  u3: adds u3r_vmean (explicit varargs list), u3x_mean
  u3: cleans up xtract.c (mostly style, minor refactoring)

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-12 06:49:54 -02:30
Jared Tobin
5cdbee9418
Merge branch 'muk-alloc-less' (#1722)
* muk-alloc-less:
  u3: rewrites +muk jet to skip heap allocations where possible

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-12 06:48:46 -02:30
Elliot Glaysher
3927e4d50a Clay syncing.
This performs all normal filesystem operations. We can take
filesystem hash snapshots on startup, write the contents of an
%ergo to disk, send changes to Urbit with an %into, and finally
delete mount points when they are %ogre.

This doesn't deal with updating an initial filesystem on first
run with -A, or with acquiring a lockfile, which should happen
elsewhere.

Can take filesystem hash snapshots on startup, and can write the
contents of an %ergo to disk.
2019-09-11 16:20:05 -07:00
Joe Bryan
076d3879cd u3: refactors disabled map treap jets (+int:by and +uni:by)
blah by
2019-09-11 13:37:23 -07:00
Joe Bryan
145bf47c27 u3: refactors map treap jets (+by) 2019-09-11 13:32:24 -07:00
Joe Bryan
358088a826 u3: refactors disabled set treap jet (+int:in) 2019-09-11 13:32:25 -07:00
Joe Bryan
722b961d3a u3: refactors set treap jets (+in) 2019-09-11 13:32:20 -07:00
Joe Bryan
22f10d755f u3: adds u3r_vmean (explicit varargs list), u3x_mean 2019-09-11 11:15:40 -07:00
Joe Bryan
95fe078b9f u3: cleans up xtract.c (mostly style, minor refactoring) 2019-09-11 11:15:36 -07:00
Joe Bryan
3612f508a5 u3: rewrites +muk jet to skip heap allocations where possible 2019-09-11 11:05:13 -07:00
Jared Tobin
472c27ef6c
Merge branch 'barbus' (#1712)
* barbus:
  hoon: removed unused parser type
  hoon: remove extraneous cast
  hoon: removed barhax. No hax!
  hoon: replace barhax with barbus
  hoon: changed barbus to match barhax
  hoon: replaced barbus usage with barhax
  hoon: add parsing for barhax
  hoon: added barhax to replace barbus
  hoon: update tall parsing for |$
  hoon: replace +* name usage with ++  name  |$
  hoon: add parsing rules for |$
  hoon: add ast for |$
2019-09-11 15:27:04 -02:30
Jared Tobin
8e08b057bd
Merge branch 'philip/clay-next-fix' (#1720)
* philip/clay-next-fix:
  clay: answer ~ to %next request if file is deleted

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:56:59 -02:30
Jared Tobin
9dc7f1d62b
Merge branch 'event-time' (#1719)
* event-time:
  worker: fixes scope issue inside #ifdef U3_EVENT_TIME_DEBUG

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:54:50 -02:30
Joe Bryan
a2dcabd38e
worker: fixes scope issue inside #ifdef U3_EVENT_TIME_DEBUG 2019-09-11 10:53:56 -02:30
Jared Tobin
8a4fdc5843
Merge branch 'noun-tests' (#1718)
* noun-tests:
  cleans up tests from previous commit, backporting to 32-bit
  64-bit noun tests

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:52:35 -02:30
Jared Tobin
be6d93d09b
Merge branch 'gmp-copy-less' (#1717)
* gmp-copy-less:
  noun: remove extra allocations from u3a_atom->gmp and reverse conversions

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:47:51 -02:30
Joe Bryan
d0c26edd24
noun: remove extra allocations from u3a_atom->gmp and reverse conversions
Our conversions to and from GMP structs and our indirect atoms (a
heap-allocated array of uint_32_t) used alloca() and copied twice out of
an apparent abundance of caution. This PR removes the unnecessary
intermediate copy from both conversions.
2019-09-11 10:41:29 -02:30
Joe Bryan
a124dfe61f
noun, worker: write -P profile into pier
The -P argument makes urbit send itself SIGPROF every 10ms. Sample
profile data is interpolated into a structure on the home road, which is
summarized and printed when urbit exits gracefully. (Note that this
profile will be useless without the CPU_DEBUG build option).

As of v0.8.0, the profiling became much more awkward. The multi-process
shutdown doesn't include affordances for sending the profiling data over
IPC, so it just prints to the terminal after urbit appears to have
shutdown. This PR changes the profiling printout, unconditionally
writing it to a file in the pier (at .urb/put/profile/~DATE.txt).
2019-09-11 10:33:16 -02:30
David Kerschner
46b681e96a hoon: removed unused parser type 2019-09-11 01:20:38 -07:00
David Kerschner
b32fb23166 hoon: remove extraneous cast 2019-09-11 01:20:33 -07:00
David Kerschner
09575c4915 hoon: removed barhax. No hax! 2019-09-11 01:20:28 -07:00
David Kerschner
60c6d4fed1 hoon: replace barhax with barbus 2019-09-11 01:20:21 -07:00
David Kerschner
5762140ebb hoon: changed barbus to match barhax 2019-09-11 01:20:15 -07:00
David Kerschner
504e4fcac1 hoon: replaced barbus usage with barhax 2019-09-11 01:20:10 -07:00
David Kerschner
b752cf660e hoon: add parsing for barhax 2019-09-11 01:20:01 -07:00
David Kerschner
0935b87dc6 hoon: added barhax to replace barbus
barhax will implement changes request in pr and is used to stage changes to barbus
2019-09-11 01:19:45 -07:00
Philip Monk
263b151dcb
clay: answer ~ to %next request if file is deleted 2019-09-10 13:49:12 -07:00
Elliot Glaysher
3ed4683f4b 80 cols + order of operations 2019-09-10 13:34:11 -07:00
Elliot Glaysher
6d2b94ac7b Per review, use separate TMVars to control saving and shutdown. 2019-09-10 13:31:18 -07:00
Joe Bryan
6cb7a1a97a cleans up tests from previous commit, backporting to 32-bit 2019-09-10 13:14:39 -07:00
BernardoDeLaPlaz
b9d893fc80 64-bit noun tests
cherry-picked from 9702a313157cd2bde703fc2082ebb295027fd481
2019-09-10 13:14:34 -07:00
David Kerschner
936c79d616 hoon: update tall parsing for |$ 2019-09-10 11:59:32 -07:00
David Kerschner
b226d24a50 hoon: replace +* name usage with ++ name |$ 2019-09-10 11:59:22 -07:00
David Kerschner
755515463c hoon: add parsing rules for |$ 2019-09-10 11:59:14 -07:00
David Kerschner
043dec26cf hoon: add ast for |$
|$ is being added as a mold builder rune. This change is ultimately part of
reclaiming +* for use as aliases on cores.
2019-09-10 11:58:10 -07:00
Jared Tobin
d7f9d9aefc
Merge pull request #1708 from urbit/mp-publish-info
Publish: Add a check for publish-info when importing a notebook
2019-09-09 08:38:42 -02:30
Joe Bryan
f5263e0395
talk, chat: disables scry in hoon eval
We don't care about the static types in the use-cases where we need to
prevent scry (to prevent accidental data disclosure). We can evaluate
the expression, virtualized and untyped, and then just clam.
2019-09-08 19:45:20 -02:30
Joe Bryan
d461ec40b0
hoon: enable scry in +mule
Enables .^ in +mule (statically-typed virtualization), by specifying a
scry-handler function that punts the namespace read to a higher
virtualization layer via virtual-nock (mock) 12.
2019-09-08 19:45:00 -02:30
Joe Bryan
a6272a97a8
arvo, ford: add type safety to scry
Adds a nest-check to the scry-wrapper functions +sloy and +sloy-light,
plugging a type hole in .^ namespace reads (scry).
2019-09-08 19:44:06 -02:30
Matilde Park
645e60c55d Publish: Add positive assertion for publish-info
Publish's %serve command makes builds for notes even if the
publish-info file is missing. It now crashes the build if the file is
missing with a one-line ?> asserting that the file is found in the
list of paths associated with the collection.
2019-09-06 22:37:18 -04:00
Elliot Glaysher
5e9822d268 Make the compute thread take a request instead of an event.
The compute thread should take an event or a save request or a
shutdown request. We now take snapshots every 120 seconds like
vere does, and take a snapshot before clean shutdown.

(Also changes the terminal driver so that it doesn't unboundedly
block shutdown.)
2019-09-06 12:59:56 -07:00
Matilde Park
14b3cb1a89 Interface: Update urbit-ob dependency
Updates all Landscape applications to use the
latest version of urbit-ob, from 3.1.1 to 4.1.2.

Removes urbit-ob from applications that don't
use it (Clock, Launch, Weather).

Compiled JS for all the above included in this
commit.
2019-09-06 10:59:23 -04:00
Liam Fitzgerald
718d1daa31 zuse: add en-xml:html and de-xml:html tests 2019-09-06 15:22:32 +10:00
Liam Fitzgerald
0fbedebfd0 zuse: fix comment parsing in de-xml:html 2019-09-06 13:04:11 +10:00
Elliot Glaysher
94034503c7 First pass HTTP Client driver completed.
Can run '+http://www.example.com' from the dojo.
2019-09-05 13:09:45 -07:00
Jared Tobin
bf1392de3d
Merge branch 'la-1692-fix' (#1693)
* la-1692-fix:
  chat: potential fix for #1692

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-05 09:31:33 -02:30
Isaac Visintainer
d52b051196
publish: fix broken post bug, add recover function
In Publish, users could get in a bad state if they made a post with
valid udon, and subsequently edited to contain invalid udon.
Furthermore, users subscribed to them would get in the same bad state.

This fixes the original bug, and users who are already in the broken
state will be able to run a recovery command: :publish %state-surgery
which will also fix the downstream broken state of their subscribers.
2019-09-05 09:30:05 -02:30
Logan Allen
5560482897 chat: potential fix for #1692 2019-09-04 16:07:49 -07:00
Elliot Glaysher
c8dc2532b2 Recognize %veer events.
This lets me use the event browser on long running ships which have
had kernel reboots.
2019-09-04 13:57:48 -07:00
Elliot Glaysher
75e44f95ee Remove warning override. 2019-09-04 13:02:51 -07:00
Elliot Glaysher
cc7d8cb69a Fix the final stray %send in clay.
Once the solid pill was updated, we can boot the solid pill with
king haskell, solid a pill inside a fakezod running under king,
and then boot another ship using king with the pill we solided
using king.
2019-09-04 11:00:01 -07:00
Elliot Glaysher
d5b9cc8a66 Hack to make it boot. 2019-09-03 17:11:24 -07:00
Elliot Glaysher
25450d5ac8 Merge remote-tracking branch 'origin/bs/uterm' into eg/uterm 2019-09-03 16:45:45 -07:00
Elliot Glaysher
97c9a8c9f1 king can now generate a pill and boot with it. 2019-09-03 16:38:14 -07:00
Elliot Glaysher
ad4ff58682 Actually remove usage of the %send I removed several commits ago. 2019-09-03 16:37:44 -07:00
Elliot Glaysher
c635abd58e Hook up ~& to the terminal driver. 2019-09-03 15:17:20 -07:00
Elliot Glaysher
8af0d7bef9 Move all of Term.hs into RIO. 2019-09-03 11:02:54 -07:00
Jared Tobin
afc3338f68
Merge branch 'yosoyubik/weather' (#1686)
* yosoyubik/weather:
  weather: updates api url to use automatic units

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-03 12:54:18 -02:30
Jared Tobin
07d9581934
Merge branch 'jt-contributing' (#1673)
* jt-contributing:
  readme: update contributing info
  contributing: use parentheses instead of commas
  contributing / interface: 'confirm' -> 'apply'
  contributing: s/urbit/Urbit
  contributing: text fixup
  contributing: remove labelling discussion
  contributing: adds userspace information, links
  contributing: add hoon style guide link
  contributing: improve description.. description
  contributing: add 'issues' section
  contributing: add mailing list info to intro
  contributing: update kernel & pills section
  contributing: touch up code style section
  contributing: add git/release info

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-03 12:46:02 -02:30
yosoyubik
feb9ae58d9 weather: updates api url to use automatic units
Appends a parameter 'units=auto' to the darksky api endpoint that
"automatically select[s] units based on geographic location"
2019-09-02 04:43:25 +02:00
Benjamin Summers
143e7768a9 NounServ cleanup. 2019-08-31 09:19:40 -07:00
Liam Fitzgerald
4bc4d76064 zuse: added CDATA support to de-xml:html 2019-08-31 15:00:37 +10:00
Elliot Glaysher
22647bb91e Rough draft of putfiles. 2019-08-30 13:26:51 -07:00
Elliot Glaysher
80e71b2532 Actually send ^D to the Urbit; handle %logo in response to shutdown. 2019-08-30 11:01:37 -07:00
Benjamin Summers
e5c0174800 Some preliminary work on static linking. 2019-08-30 01:57:05 -07:00
Benjamin Summers
351eaca628 Started separating out low-level LMDB logic. 2019-08-30 01:43:22 -07:00
Benjamin Summers
ec372efb31 Wrote hacky websocket client/server for terminal driver.
Using websockets because it would be nice to eventually have a terminal
in the Electron client.

This is prototype-quality code. Using the built-in client/server from the
`websockets` package, but that's just for testing.
2019-08-30 00:56:28 -07:00
Benjamin Summers
4903a72682 Various small fixes -- trying to get boot working. 2019-08-29 18:29:55 -07:00
Benjamin Summers
0b19fe9c79 EventBrowser: Polish UI and implement event trimming. 2019-08-29 17:23:48 -07:00
Philip Monk
6bac377bd2
hoon: don't nest check in zpmc
This check required the new type of +type to nest within the old type of
+type, which is wrong.  Specifically, this disallowed adding new runes
without a staging procedure (which we didn't successfully complete).
2019-08-29 17:08:48 -07:00
Benjamin Summers
ed20b78473 Event/Effect browser with event trimming (not implemented yet). 2019-08-29 16:48:46 -07:00
Elliot Glaysher
206230cec6 Get ^D to end your Urbit session.
This also does a bunch of style cleanup and rearranging so that we
can have the reader thread end.
2019-08-29 16:35:52 -07:00
Elliot Glaysher
8ac461477a Log "interrupt" on C-c properly. 2019-08-29 15:05:01 -07:00
Jared Tobin
87a1036614
Merge remote-tracking branch 'origin/mp-publish-edit'
* origin/mp-publish-edit:
  Publish: Bring post editing UI to new post parity

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-29 19:31:17 -02:30
Elliot Glaysher
e2d304d43c At least detect when we have ^C or ^D. 2019-08-29 14:54:34 -07:00
Jared Tobin
0bd06fe210
Merge branch 'jt-gall-refactor' (#1668)
* jt-gall-refactor: (76 commits)
  gall: fix issue id in comment
  pills: update solid
  gall: handle foreign coup success
  gall: only print peek bad result if bad
  gall: add basic test harness
  pills: update solid, brass, ivory
  gall: fix obvious nest-failing tisdot
  gall: change '-state' to '-core' for +mo and +ap
  zuse, gall: deprecate 'club'
  zuse, gall, eyre: deprecate 'cush'
  zuse, gall, eyre, dojo: deprecate 'cuft'
  gall: remove slam-related printfs
  gall: remove deprecated 'mak' from 'agents'
  gall: use less vertical spacing throughout
  gall: add comment re: unpopulated wex
  gall: use less vertical separation when wuthepping
  gall: fix whitespace
  gall: don't define 'move' as a pair
  gall: don't give faces to tags
  gall: gut some unused stuff
  ...
2019-08-29 19:05:25 -02:30
Benjamin Summers
a287676923 Minor 2019-08-29 14:26:33 -07:00
Matilde Park
a2357afbcd Publish: Bring post editing UI to new post parity
Edit post's UI appearance looked quite different
from what creating a new post looked like.

This commit just brings the styling of post
editing UI a bit closer together with new posts.
2019-08-29 16:57:16 -04:00
Elliot Glaysher
6f6811def5 Very basic input works. Edge cases unhandled. 2019-08-29 13:19:06 -07:00
Elliot Glaysher
70ef39210f Get basic text working. 2019-08-29 11:12:50 -07:00
Elliot Glaysher
cdcdc6a59e Merge remote-tracking branch 'origin/bs/king-logging' into eg/uterm 2019-08-29 10:30:53 -07:00
Jared Tobin
f39952d75f
Merge pull request #1671 from urbit/term-spin-on-loop
rewrites the terminal spinner on the main loop
2019-08-29 04:14:40 -02:30
Benjamin Summers
de7a087ef5 Logging everywhere + log to file 2019-08-28 17:26:59 -07:00
Elliot Glaysher
d1a9eaeaa0 A closer copy of the term.c output.
After looking at vty for a bit, I decided to just do a straight port
of term.c's raw output code. This gets the "~zod:dojo" in the right
position, though the other logging output screws things up a bit.
2019-08-28 17:08:47 -07:00
Jared Tobin
9f371aff66
Merge branch 'pkova/cookie-change' (#1667)
* pkova/cookie-change:
  eyre: make auth cookie live for one week

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-28 19:20:08 -02:30
Jared Tobin
123a523eeb
Merge branch 'mp-gulp-rename' (#1675)
* mp-gulp-rename:
  Interface: Add "clean 'renamed' files" gulp task

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-28 18:52:33 -02:30
Jared Tobin
d5799e20fd
Merge pull request #1660 from pkova/master
Update sidebar most recent message timestamp every minute
2019-08-28 18:23:31 -02:30
Logan Allen
dafec48b36 Added another round of changes 2019-08-28 13:35:36 -07:00
Elliot Glaysher
555b9e7dcf Moved terminal initialization up to Pier.
Joe told me to look at the Jaque terminal and I just did. That uses
the Lanterna Java library to handle terminal output. Joe then suggested
that I move the entire system here to curses or another similar library.
2019-08-28 13:17:01 -07:00
pkova
1a64774011 chat: update sidebar timestamp every minute 2019-08-28 22:47:29 +03:00
Logan Allen
3ae8e55e48 Broke out functions, inlined more of the app, fewer declarations, more subject modifications rather than subject additions 2019-08-28 12:41:25 -07:00
Logan Allen
5052227ee7 Added more changes. 2019-08-28 12:41:25 -07:00
Logan Allen
7dfd796e95 Updated to remove some of the =/ with the old style, and a few other small changes 2019-08-28 12:41:25 -07:00
Logan Allen
19b71d02b4 Added fixes to chat style as per Mark's comments 2019-08-28 12:41:25 -07:00
pkova
814ac7a4f9 eyre: make auth cookie live for one week 2019-08-28 22:40:20 +03:00
Matilde Park
0643d600b6 contributing / interface: 'confirm' -> 'apply' 2019-08-28 14:05:07 -04:00
Matilde Park
52cccd4851 Interface: Add "clean 'renamed' files" gulp task
gulp.rename just copies files, leaving the original.
For minified files, this was navigated by not
tracking the -min.js files in git. However, when
deploying OTA, the -min.js files are still deployed
to all ships. This commit adds 'del' package,
and a task to clean up the -min files when done
for all current Landscape applications.
2019-08-28 13:39:42 -04:00
Jared Tobin
dd4dcb5f95
contributing: s/urbit/Urbit
'Urbit' refers to the project/product/platform, whereas 'urbit' refers
to an individual ship or instance.  This corrects some old, incorrect
lower-case usage.
2019-08-28 13:40:50 -02:30
Matilde Park
d557c13dcd contributing: adds userspace information, links
We had no information on contributing to Landscape.
Now we do. Tried to ensure it follows voice and
line break standards.
2019-08-28 12:00:04 -04:00
Benjamin Summers
062c71b57d Logging in Vere.Serf 2019-08-28 05:22:56 -07:00
Benjamin Summers
c1bb26e628 Logging in Vere.Pier 2019-08-28 04:45:49 -07:00
Benjamin Summers
524671d310 Minor cleanup. 2019-08-28 04:06:48 -07:00
Benjamin Summers
360d166344 Started RIO's logging system instead of printfs. 2019-08-28 04:00:26 -07:00
Joe Bryan
b2a7e8c30d term: rewrites spinner, renders on main loop 2019-08-27 23:14:40 -07:00
Joe Bryan
15c7c6c11c term: minor refactoring of write patterns 2019-08-27 23:12:04 -07:00
Elliot Glaysher
994c5948e1 Construct the %blew and %hail initalEvents correctly. 2019-08-27 16:22:01 -07:00
Elliot Glaysher
5e3e1e7c1a Skeleton terminal implementation.
This sends the right events on startup, and there's a minimal key
reading logic, but not much else works yet.
2019-08-27 15:29:11 -07:00
Jared Tobin
052903a4ee
Merge remote-tracking branch 'origin/mp-chat-leave' (#1637)
* origin/mp-chat-leave:
  Leave copy + root route copy
2019-08-27 19:48:44 -02:30
Jared Tobin
b8d1dc9220
gall: fix issue id in comment
The comment was pointing at the wrong GitHub issue.
2019-08-27 14:10:11 -02:30
Philip Monk
4e62ce2905
gall: handle foreign coup success 2019-08-27 10:00:08 -02:30
Philip Monk
3e6625d20f
gall: only print peek bad result if bad 2019-08-27 09:59:56 -02:30
Jared Tobin
fa64a8092a
Merge branch 'philip/autocommit' (#1662)
* philip/autocommit:
  kiln: add autocommit
2019-08-27 09:18:36 -02:30
Jared Tobin
2a802b5a30
Merge branch 'philip/fastboot' (#1663)
* philip/fastboot:
  dill, helm: add lite boot option with -l
2019-08-27 08:00:49 -02:30
Philip Monk
a25b082e04
dill, helm: add lite boot option with -l 2019-08-26 11:04:24 -07:00
Philip Monk
4958dc506d
kiln: add autocommit 2019-08-25 02:11:02 -07:00
Philip Monk
e2f18afe0a
zuse: make of-wain:format use linear space 2019-08-24 22:50:36 -07:00
Jared Tobin
de68c34ea5
Merge branch 'mp-chat-444sigil'
* mp-chat-444sigil:
  Chat: Standardise sigil size and input line height
2019-08-24 08:50:09 -02:30
Jared Tobin
1076663018
Merge branch 'philip/jael-fix' 2019-08-24 08:31:25 -02:30
Jared Tobin
6a4030d44f
Merge pull request #1657 from urbit/philip/slog-colors
Add colors for priority printfs
2019-08-24 07:47:58 -02:30
Philip Monk
754fd98b7f
pier.c: add colors for priority printfs 2019-08-23 19:34:57 -07:00
Elliot Glaysher
348d037445 It says implement or remove, so lets just remove it. 2019-08-23 16:57:29 -07:00
Elliot Glaysher
3efc197639 Remove dead code in the terminal driver. 2019-08-23 15:40:15 -07:00
Elliot Glaysher
64cb0e564c Remove dead %send code from outside ames. 2019-08-23 14:39:44 -07:00
Elliot Glaysher
2c857ec792 is dead code, too. 2019-08-23 14:11:34 -07:00
Elliot Glaysher
fbf7bdc4b8 Since it's unimplemented, %bbye goes bbye. 2019-08-23 14:07:58 -07:00
Matilde Park
7cb600dc6a Chat: Fix join channel's route render 2019-08-23 15:42:10 -04:00
Jared Tobin
164bba60fa
Merge pull request #1635 from urbit/chat-pending
Chat: Display pending messages
2019-08-23 15:55:35 -02:30
Jared Tobin
ce98dc8811
gall: add basic test harness 2019-08-23 14:16:57 -02:30
Philip Monk
ec9eedd50f
ph: clean up card structures 2019-08-22 15:33:52 -07:00
Philip Monk
b22b616160
jael: fix tests 2019-08-22 15:03:48 -07:00
Matilde Park
494aae7800 Chat: Standardise sigil size and input line height
Read-only chats had a slightly bigger sigil box, looking skewed to
the left. Its copy also had a different line height than the
chat input itself, which was vertically aligned slightly higher.

This commit standardises the sigil box to 32px across both
and brings both to the same, centered vertical alignment
for the chat input and read-only notice.
2019-08-22 17:44:52 -04:00
Philip Monk
212b5879fd
dawn.c: produce full sponsor chain keys 2019-08-22 14:16:26 -07:00
Jared Tobin
1c923eaaba
Merge pull request #1648 from urbit/mp-notebook-align
Publish: pubs/subs table enforces alignment w/ title wrap
2019-08-22 17:27:05 -02:30
Jared Tobin
087c68f7cb
Merge pull request #1646 from urbit/jt-vere-version
vere: version bump (0.8.2)
2019-08-22 17:26:19 -02:30
Matilde Park
62a81dec84 Publish: pubs/subs enforce alignment w/ title wrap
If your screen wasn't wide enough, the flex rules would destroy the gap
between columns, which destroyed the look of a table altogether.
By removing the 'one-line' class, and moving the margin-left from
the span element to the parent paragraph (for rows that aren't
the header rows), titles wrap onto another line, which enables
a responsive table and firm table margins.
2019-08-22 13:09:10 -04:00
Jared Tobin
ac62527c8f
vere: version bump (0.8.2)
(cherry picked from commit 4ee691457e)
2019-08-22 12:58:59 -02:30
Jared Tobin
48901a3ded
gall: fix obvious nest-failing tisdot 2019-08-22 12:33:24 -02:30
Jared Tobin
d2d5d663d8
gall: change '-state' to '-core' for +mo and +ap 2019-08-22 12:33:24 -02:30
Jared Tobin
2b04b43262
zuse, gall: deprecate 'club'
Replaces with 'agent-action'.
2019-08-22 12:33:24 -02:30
Jared Tobin
38efc5e902
zuse, gall, eyre: deprecate 'cush'
Replaces with 'internal-task'.
2019-08-22 12:33:24 -02:30
Jared Tobin
ef99074304
zuse, gall, eyre, dojo: deprecate 'cuft'
Replaces it with the more informative name 'internal-gift'.
2019-08-22 12:33:24 -02:30
Jared Tobin
2fdb26096a
gall: remove slam-related printfs 2019-08-22 12:33:24 -02:30
Jared Tobin
624660ac60
gall: remove deprecated 'mak' from 'agents' 2019-08-22 12:33:23 -02:30
Jared Tobin
f435716406
gall: use less vertical spacing throughout 2019-08-22 12:33:23 -02:30
Jared Tobin
6a1478d8d9
gall: add comment re: unpopulated wex 2019-08-22 12:33:23 -02:30
Jared Tobin
cc7ac3cb2d
gall: use less vertical separation when wuthepping 2019-08-22 12:33:23 -02:30
Jared Tobin
a2d21debf5
gall: fix whitespace 2019-08-22 12:33:23 -02:30
Jared Tobin
04bff8ea96
gall: don't define 'move' as a pair 2019-08-22 12:33:23 -02:30
Jared Tobin
9ce3445e60
gall: don't give faces to tags 2019-08-22 12:33:22 -02:30
Jared Tobin
09103d59fd
gall: gut some unused stuff
Gets rid of 'voltage', 'security-control', and 'privilege', all of which
were either superfluous or were not actually used anywhere.
2019-08-22 12:33:22 -02:30
Jared Tobin
84924e6093
gall: indent multiline arm comments appropriately 2019-08-22 12:33:22 -02:30
Jared Tobin
f2c0cfd045
gall: use type spear inline 2019-08-22 12:33:22 -02:30
Jared Tobin
0cab280e70
gall: improve comment formatting
One-liners should not terminate with a full stop.
2019-08-22 12:33:22 -02:30
Jared Tobin
67ddf7cfbc
gall: replace 'gall' with 'state' throughout
Previously 'gall' had shadowed the rather-important definition in %zuse,
which is probably pushing the shadowing convention a little far.
2019-08-22 12:33:22 -02:30
Jared Tobin
575aeb3b2e
gall: miscellaneous formatting fixes 2019-08-22 12:33:22 -02:30
Jared Tobin
97de72d2ce
gall: remove %sunk, fix 'ship-state' in %wash case 2019-08-22 12:33:20 -02:30
Jared Tobin
7dc02ded4a
gall: some renaming, comments 2019-08-22 12:33:20 -02:30
Jared Tobin
92fbc80ea6
gall: more lighter-than-eyre compatibility 2019-08-22 12:33:20 -02:30
Jared Tobin
2c6281c0b4
gall: remove references to %hiss 2019-08-22 12:33:20 -02:30
Jared Tobin
90e14d62f2
gall: additional comments 2019-08-22 12:33:20 -02:30
Jared Tobin
d618ac2904
gall: reshuffle some +mo content 2019-08-22 12:33:20 -02:30
Jared Tobin
d9f32fe898
gall: add commentary 2019-08-22 12:33:20 -02:30
Jared Tobin
3aab487036
gall: formatting fix 2019-08-22 12:33:19 -02:30
Jared Tobin
d94bd429c2
gall: improve naming of various concepts 2019-08-22 12:33:19 -02:30
Jared Tobin
7e3a110c58
gall: be less skittish about using tisdot. 2019-08-22 12:33:19 -02:30
Jared Tobin
9ddf8982cf
gall: fix '%as' typo
Additionally chops out an arguably-excessive tisfas.
2019-08-22 12:33:19 -02:30
Jared Tobin
5798a50c40
helm, drum: remove deprecated %load
This was an artifact of %gall's old 'culm' type, which was removed in
1fe4ff1605 (2019-04-12).
2019-08-22 12:33:19 -02:30
Jared Tobin
3d0137687f
gall: clear out some printfs
All of these were used for debugging.
2019-08-22 12:33:19 -02:30
Jared Tobin
c512eba4b1
gall: fix +ap-abed bug
This was simply due to mistranslating the previous code.
2019-08-22 12:33:19 -02:30
Jared Tobin
d19047aba6
gall: rename 'ship-state' to 'apps' 2019-08-22 12:33:18 -02:30
Jared Tobin
38474fbadf
gall: miscellaneous cleanup 2019-08-22 12:33:18 -02:30
Jared Tobin
aec215b3a8
gall: replace 'dude' with 'term' throughout
'dude' may be useful as a value-level mnemonic, but adds no useful
information at the type level.
2019-08-22 12:33:18 -02:30
Jared Tobin
efb93fea34
gall: miscellaneous minor fixes 2019-08-22 12:33:18 -02:30
Jared Tobin
fc7901d2d1
gall: miscellaneous large-scale cleaning 2019-08-22 12:19:16 -02:30
Jared Tobin
c221c2c5ae
gall: type and non-+mo/+ap arm cleanup 2019-08-22 12:19:05 -02:30
Jared Tobin
09c3fbf52c
gall: another cleanup pass over +ap 2019-08-22 12:19:01 -02:30
Jared Tobin
4dc990b22d
gall: simplify bone/duct map names 2019-08-22 12:18:24 -02:30
Jared Tobin
ce960c9f56
gall: misc. cleanup of +ap state and arms 2019-08-22 12:18:16 -02:30
Jared Tobin
730a443e68
gall: kill +mo-conf, plus misc cleaning
+mo-conf was superfluous, and has thus been removed.
2019-08-22 12:17:21 -02:30
Jared Tobin
ffae93ba1a
gall: more cleanup to +ap arms 2019-08-22 12:17:14 -02:30
Jared Tobin
953627cec3
gall: initial syntax pass over +ap 2019-08-22 12:17:08 -02:30
Jared Tobin
dbc946a1fd
gall: some lark replacements 2019-08-22 12:17:05 -02:30
Jared Tobin
8b9a208f0f
gall: misc cleanup to +mo 2019-08-22 12:16:59 -02:30
Jared Tobin
ca20beb37f
gall: simplify sofa 2019-08-22 12:16:49 -02:30
Jared Tobin
59455b38ac
gall: cleanup pass over +mo 2019-08-22 12:16:42 -02:30
Jared Tobin
832245e1e5
gall: get rid of context lark 2019-08-22 12:16:38 -02:30
Jared Tobin
9fa4f44b8c
gall: fix path in +mo-cyst 2019-08-22 12:16:16 -02:30
Jared Tobin
fbc5b351fc
gall: shadow in +mo-receive-core 2019-08-22 12:15:51 -02:30
Jared Tobin
c37f725658
gall: misc cleanup to +mo-receive-core and related 2019-08-22 12:15:46 -02:30
Jared Tobin
b3365693e0
zuse, gall: simplify +task, fix %conf in %gall 2019-08-22 12:14:05 -02:30
Jared Tobin
0b44e6200f
gall: remove %load from %gall move in %dill
This was an artifact of %gall's old 'culm' type, which was removed in
1fe4ff1605 (2019-04-12).
2019-08-22 12:12:48 -02:30
Jared Tobin
1d28214c1b
gall: preliminary +call cleanup 2019-08-22 12:12:44 -02:30
Jared Tobin
78a1aeea33
gall: clean up +mo-{clip, club, gawk, gawd} 2019-08-22 12:12:40 -02:30
Jared Tobin
4d8212ebf8
gall: clean up +mo-claw, +mo-beak 2019-08-22 12:12:36 -02:30
Jared Tobin
a46234d60b
gall: clean up +mo-cook 2019-08-22 12:12:31 -02:30
Jared Tobin
8473697d19
gall: refactor +mo-cyst
Splits one very long arm into numerous shorter ones.
2019-08-22 12:12:25 -02:30
Jared Tobin
a2fd2e0ed7
gall: clean up +mo-{bale, ball, come, chew} 2019-08-22 12:12:20 -02:30
Jared Tobin
77b3eb6b4a
gall: clean up +mo-{boot, away, awed}
Also removes the superfluous +mo-baal and +mo-baba, most of the
implementations of which can be replaced with simple stdlib functions.
2019-08-22 12:12:10 -02:30
Jared Tobin
45185774e5
gall: clean up +mo-receive-core, +mo-born 2019-08-22 12:12:02 -02:30
Jared Tobin
8bc397423e
gall: clean up +mo-{conf, pass, give, okay} 2019-08-22 12:11:57 -02:30
Jared Tobin
a0bad41a08
gall: clean up +mo-abed, +mo-abet 2019-08-22 12:11:49 -02:30
Jared Tobin
d51b1ced4a
gall: use 'mo-state' for door name 2019-08-22 12:11:33 -02:30
Jared Tobin
569488cddb
gall: rename 'moz' to 'moves' 2019-08-22 12:11:25 -02:30
Jared Tobin
0eb5f864c8
gall: add alias for inferred bowl type 2019-08-22 12:11:01 -02:30
Jared Tobin
1b911be80d
gall: light type refactoring
Mostly modernises syntax.  Also adds a couple of useful types ('whey'
and 'coke') that were previously defined inline.
2019-08-22 12:10:45 -02:30
Jared Tobin
1fe4ff1605
zuse: remove superfluous 'scup' and 'culm' types
%zuse includes definitions for 'scup' and 'culm', both of which are
superfluous.  'scup' is simply (pair ship desk) and is used only in the
definition of 'culm', a tagged union in which three of the four branches
are commented out (i.e. are unused).

This commit deletes 'scup' and 'culm' and refactors what little code
made use of them.
2019-08-22 12:09:44 -02:30
pkova
4313e8af55 Sort clauses of $fork type pretty-printing 2019-08-22 16:47:52 +03:00
Benjamin Summers
0b0718997e Don't insist on using specific port. 2019-08-21 18:18:10 -07:00
Benjamin Summers
82683bfd9a Validate effects. 2019-08-21 17:54:00 -07:00
Benjamin Summers
131cb30900 Validate event parsing. 2019-08-21 17:29:39 -07:00
Jared Tobin
95b602df5d
Merge pull request #1640 from urbit/publish-import
Adds import and export arms to publish
2019-08-21 21:52:21 -02:30
Benjamin Summers
efc6103fc1 %veer events now use cords instead of tapes? 2019-08-21 17:07:05 -07:00
Benjamin Summers
92bb2e005e Merge branch 'master' of github.com:urbit/urbit into bs/uterm 2019-08-21 16:50:45 -07:00
Benjamin Summers
8ace44adb6 Validate pill files. 2019-08-21 16:49:08 -07:00
Matilde Park
632359df7b Leave copy + root route copy
Returning underline to buttons
2019-08-21 17:54:14 -04:00
Matilde Park
3219e18019 Chat: Add pending message container and display
Additional logic for reducer + array manips

Removing multi-array mutation and comments

Adding comments and working logic.

Fix sigil showing for pending from same aut

Pending messages persist upon circle change

Scaffolding message pending injection

Additional logic for reducer + array manips

Removing multi-array mutation and comments

Adding comments and working logic.

Fix sigil showing for pending from same aut

Pending messages persist upon circle change

Reworking pending boolean logic.

Data structure changed to Map

Checking correct scope of prop, removing dev TODO

Rebase mistake.
2019-08-21 17:48:13 -04:00
Isaac Visintainer
66abf0de73 indented block 2019-08-21 13:56:50 -07:00
Isaac Visintainer
b24cdf317b added import and export arms to publish 2019-08-21 13:22:38 -07:00
Benjamin Summers
3ff5c4fad5 Implement king bug collect-all-fx
For now, this is mostly useful as an integration test: Replay the whole
event log of an existing ship using King Haskell.

This also opens the door for a future tool that inspects collected
effects for debugging purposes.
2019-08-20 17:42:53 -07:00
Philip Monk
e612e6d063
oops 2019-08-20 17:34:59 -07:00
Philip Monk
2c2ef195a7
add sponsorship chain keys to %dawn event 2019-08-20 16:41:50 -07:00
Benjamin Summers
6a273906b2 Store collected effects in LMDB. 2019-08-20 16:32:46 -07:00
Philip Monk
4e266f10df
general jael subscriptions don't apply to moons 2019-08-20 11:03:07 -07:00
Philip Monk
e3c5e51e37
in jael store subscribers to all ships 2019-08-20 10:22:52 -07:00
Matilde Park
0051449b13 CSS style polish for Firefox 2019-08-19 18:40:18 -04:00
Benjamin Summers
e02dd2342c CLI Parsing cleanup. 2019-08-14 19:47:54 -07:00
Benjamin Summers
7c6709de9b Merge branch 'master' of github.com:urbit/urbit into bs/uterm 2019-08-14 15:37:20 -07:00
Benjamin Summers
e896447bf8 Minor 2019-08-14 15:35:36 -07:00
Benjamin Summers
1eda9d3401 A couple more command line arguments and a lot of TODO notes. 2019-08-14 15:18:59 -07:00
Logan
da2879073b
Merge pull request #1601 from matildepark/landscape-spinner
Loading spinner moved to left alignment
2019-08-14 15:00:11 -07:00
Matilde Park
dc6e79f967 Hotfix for "set location" 2019-08-14 15:14:28 -04:00
Jared Tobin
e55c4c7731
Merge pull request #1611 from matildepark/weather-http
Weather tile inputs geolocation manually over HTTP, allows for location updating
2019-08-14 10:22:51 -07:00
Joe Bryan
72d2b09f83 improves u3r_mug_bytes() efficiency (a little) 2019-08-14 02:50:36 -07:00
Joe Bryan
15b0268c6f rewrites u3a_take to use the road stack 2019-08-14 02:48:00 -07:00
Benjamin Summers
1a024785d4 @uv parser was wrong. 2019-08-13 18:28:34 -07:00
Benjamin Summers
e640bf505d The HTTP query string wasn't being included in the event. 2019-08-13 17:53:03 -07:00
Matilde Park
3748cc216d Manual-first UX 2019-08-13 20:37:02 -04:00
Matilde Park
48403bd6fd Fixed style nitpicks 2019-08-13 20:17:40 -04:00
Isaac Visintainer
99a5048640 build js/css 2019-08-13 15:54:59 -07:00
Isaac Visintainer
5a2d0e62ca fixed unread notification logic and added unread badges to post previews 2019-08-13 15:39:37 -07:00
Isaac Visintainer
ded8d0c823 fixed hr rendering 2019-08-13 11:49:43 -07:00
Isaac Visintainer
2212323b4d added launch, chat, publish, clock, and weather as default apps for comets 2019-08-13 11:43:18 -07:00
Isaac Visintainer
f8133d6533 fixed path state transition when clicking next/prev 2019-08-13 11:40:35 -07:00
Isaac Visintainer
d4592c5e6a adjusted spacing on next/prev component 2019-08-13 11:28:55 -07:00
Isaac Visintainer
9517dabcc1 fixed auto-resizing of blog title input field 2019-08-13 10:56:45 -07:00
Isaac Visintainer
2f5d2bfb36 handle edge cases in blog/post naming 2019-08-13 10:39:56 -07:00
Matilde Park
c3d842a613 Add "update location" option 2019-08-13 12:35:45 -04:00
Benjamin Summers
e6c2d46cd1 Various Fixes and Improvements 2019-08-12 22:56:31 -07:00
Benjamin Summers
55ceffc4c3 CLI parsing. 2019-08-12 21:57:30 -07:00
Jared Tobin
14b6816300
Merge pull request #1606 from urbit/modulo-lib-surs
Make modulo follow lib-sur conventions
2019-08-12 19:52:51 -07:00
Matilde Park
b5b708704a Forgot to minify. 2019-08-12 22:35:32 -04:00
Matilde Park
a3179ddb0a Allow latlong input on enter 2019-08-12 20:03:59 -04:00
Matilde Park
1d70e9f995 Notify on error 2019-08-12 19:55:28 -04:00
Matilde Park
a99977e462 Manual geolocation in HTTP 2019-08-12 19:42:41 -04:00
Benjamin Summers
8ea6abcad2 Simple tank printing. 2019-08-12 15:51:37 -07:00
Jared Tobin
37edcc8525
Merge pull request #1610 from urbit/philip/tapp-scry
add +scry to lib/stdio
2019-08-12 15:03:10 -07:00
Philip Monk
6349fc85ee
add +scry to lib/stdio 2019-08-12 13:50:14 -07:00
Jared Tobin
2030edfc30
Merge pull request #1609 from urbit/jt-fix-gulpcssimport
Update timer/package-lock.json.
2019-08-12 11:45:06 -07:00
Jared Tobin
f0b38e748a
Merge pull request #1598 from urbit/philip/jael-fake
Give correct answers to jael scrys on fake ships
2019-08-12 11:08:43 -04:00
Jared Tobin
92a9a3e7fe
Update timer/package-lock.json.
The version of gulp-cssimport that was included in the lockfile happened
to trigger one of GitHub's automated security warnings, so this just
updates the locked version to 7.0.0.
2019-08-12 07:43:20 -07:00
Philip Monk
b6d4783660
give correct answers to jael scrys on fake ships 2019-08-12 07:04:15 -07:00
Matilde Park
a8d89d5b9b Merge upstream 2019-08-12 09:58:41 -04:00
Matilde Park
bbf6f82f6f gulp bundle-prod'd the wrong app >_< 2019-08-12 09:58:11 -04:00
Matilde Park
f8b67644ad
Merge branch 'master' into comet-sizing 2019-08-12 09:52:29 -04:00
Matilde Park
eb1a2ff003 Merge upstream again 2019-08-12 09:51:12 -04:00
Jared Tobin
4da3b71e33
Merge pull request #1597 from urbit/philip/clay-drop
Kick write queue on |cancel
2019-08-12 09:49:15 -04:00
Jared Tobin
2a8e543c58
Merge pull request #1596 from urbit/dns-bind-http-cancel
adds stub for http cancellation in :dns-bind
2019-08-12 09:46:33 -04:00
Matilde Park
68055a42aa Rebuilt compiled JS 2019-08-12 09:43:44 -04:00
Matilde Park
5f4b7d136e Merge upstream/master into comet-sizing 2019-08-12 09:43:01 -04:00
Jared Tobin
61577515ee
Merge pull request #1604 from urbit/gall-wash
add gall %wash to clear caches
2019-08-12 09:41:11 -04:00
Fang
18928ff71f
Weather -> clock in clock tile's readme 2019-08-11 19:07:44 -07:00
Fang
a59149bc23
Move :publish app state type into app itself 2019-08-11 12:21:39 -07:00
Fang
2726eff1d4
Move :chat types into /sur 2019-08-11 11:59:59 -07:00
Ted Blackman
1c0805d94b fix docs in generator 2019-08-10 14:27:19 -07:00
Ted Blackman
370213bb65 add gall %wash to clear caches 2019-08-10 14:24:31 -07:00
Matilde Park
d14f8b1db7 Spinner is left-aligned 2019-08-09 18:50:20 -04:00
Fang
cac4b2b70f
Move :launch types into /sur 2019-08-09 14:54:52 -07:00
pilfer-pandex
bbe0cb3014 revert change to ben's comment 2019-08-09 14:26:37 -07:00
pilfer-pandex
06e25fdf89 Merge branch 'master' into decap-all 2019-08-09 14:26:20 -07:00
pilfer-pandex
9997accabf fix the %mean hints 2019-08-09 13:56:01 -07:00
Philip Monk
9e154b053f
kick write queue on |cancel 2019-08-09 11:53:05 -07:00
pilfer-pandex
1c243a1154 address joe's feedback (except mean) 2019-08-09 11:38:44 -07:00
Joe Bryan
1af1acabfb handles http cancellation in :dns-bind 2019-08-09 11:09:03 -07:00
Jared Tobin
f8ab88264b
Merge pull request #1444 from urbit/eyre-tests-softcode
Ensure expected eyre test results always up-to-date
2019-08-09 06:51:54 -02:30
Jared Tobin
46422342e2
Merge pull request #1424 from jfranklin9000/master
make udon inline code match block code and enable inline code gaps in…
2019-08-09 06:49:28 -02:30
Jared Tobin
fc559b7d33
Merge pull request #1399 from urbit/chat-message-types
Message type support in Chat
2019-08-09 06:48:21 -02:30
Fang
d0385ced87
Ensure expected eyre test results always up-to-date
By dynamically generating the content-length headers for the expected
results, based on their actual content.
2019-08-08 22:18:24 -07:00
Matilde Park
11985ebb31 Comet sizing fixes 2019-08-08 18:10:57 -04:00
Philip Monk
35e63f2051
Merge remote-tracking branch 'origin/master' into philip/kale 2019-08-08 15:08:34 -07:00
Fang
05950770f4
Merge branch 'master' into chat-message-types 2019-08-08 15:01:00 -07:00