Commit Graph

20974 Commits

Author SHA1 Message Date
Anton Dyudin
e8c5dd9806
[hoon co] Fix float printer overuse of scientific notation
I.e, print `.10` as `.10` not `.1e1`. Only use `e+-N` when it would be shorter.

Before:
```
> (turn (gulf 1 10) |=(a=@u (turn (gulf 0 9) |=(b=@u (grd:rs d/[& -5 (mul (pow 10 a) +((pow 10 b)))])))))
~[
  ~[.2e-3 .1.1e-3 .1.01e-2 .1.001e-1 .1.0001 .1.00001e1 .1.000001e2 .1.0000001e3 .1e4 .1e5]
  ~[.2e-2 .1.1e-2 .1.01e-1 .1.001 .1.0001e1 .1.00001e2 .1.000001e3 .1.0000001e4 .1e5 .1e6]
  ~[.2e-1 .1.1e-1 .1.01 .1.001e1 .1.0001e2 .1.00001e3 .1.000001e4 .1.0000001e5 .1e6 .1e7]
  ~[.2 .1.1 .1.01e1 .1.001e2 .1.0001e3 .1.00001e4 .1.000001e5 .1.0000001e6 .1e7 .1e8]
  ~[.2e1 .1.1e1 .1.01e2 .1.001e3 .1.0001e4 .1.00001e5 .1.000001e6 .1.0000001e7 .1e8 .1e9]
  ~[.2e2 .1.1e2 .1.01e3 .1.001e4 .1.0001e5 .1.00001e6 .1.000001e7 .1.0000001e8 .1e9 .1e10]
  ~[.2e3 .1.1e3 .1.01e4 .1.001e5 .1.0001e6 .1.00001e7 .1.00000096e8 .1.0000001e9 .1e10 .1e11]
  ~[.2e4 .1.1e4 .1.01e5 .1.001e6 .1.0001e7 .1.00001e8 .1.000001e9 .1.0000001e10 .1e11 .1e12]
  ~[.2e5 .1.1e5 .1.01e6 .1.001e7 .1.0001e8 .1.00001e9 .1.000001e10 .1.0000001e11 .1e12 .1e13]
  ~[.2e6 .1.1e6 .1.01e7 .1.001e8 .1.00009997e9 .1.00001e10 .1.000001e11 .1.0000001e12 .1e13 .1e14]
]
```

After:
```
> (turn (gulf 1 10) |=(a=@u (turn (gulf 0 9) |=(b=@u (grd:rs d/[& -5 (mul (pow 10 a) +((pow 10 b)))])))))
~[
  ~[.2e-4 .1.1e-3 .0.0101 .0.1001 .1.0001 .10.0001 .100.0001 .1000.0001 .1e4 .1e5]
  ~[.2e-3 .0.011 .0.101 .1.001 .10.001 .100.001 .1000.001 .10000.001 .1e5 .1e6]
  ~[.0.02 .0.11 .1.01 .10.01 .100.01 .1000.01 .10000.01 .100000.01 .1e6 .1e7]
  ~[.0.2 .1.1 .10.1 .100.1 .1000.1 .10000.1 .100000.1 .1000000.1 .1e7 .1e8]
  ~[.2 .11 .101 .1001 .10001 .100001 .1000001 .10000001 .1e8 .1e9]
  ~[.20 .110 .1010 .10010 .100010 .1000010 .10000010 .100000010 .1e9 .1e10]
  ~[.200 .1100 .10100 .100100 .1000100 .10000100 .100000096 .1000000100 .1e10 .1e11]
  ~[.2e3 .1.1e4 .1.01e5 .1.001e6 .1.0001e7 .1.00001e8 .1.000001e9 .1.0000001e10 .1e11 .1e12]
  ~[.2e4 .1.1e5 .1.01e6 .1.001e7 .1.0001e8 .1.00001e9 .1.000001e10 .1.0000001e11 .1e12 .1e13]
  ~[.2e5 .1.1e6 .1.01e7 .1.001e8 .1000099970 .1.00001e10 .1.000001e11 .1.0000001e12 .1e13 .1e14]
]
```
2020-10-19 11:05:31 -07:00
Philip Monk
b866ff0e3d
release: urbit-os-v1.0.60 2020-10-16 13:23:50 -07:00
Philip Monk
583e510b0a
Merge branch 'philip/fast-mergebase' (#3739)
* origin/philip/fast-mergebase:
  clay: speed up +find-merge-points

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-10-16 13:17:13 -07:00
Philip Monk
8cd72daf20
clay: speed up +find-merge-points
In certain cases +find-merge-points was very slow.  Specifically, the
`done` set was meant to avoid checking the same commit repeatedly, but
it didn't catch the case where a commit was added to the worklist that
was already in that worklist.

Secondly, the worklist was stored as a list but used as a queue, which
resulted in a lot of unnecessary welding.  We change it to a qeu.

Fixes #3735
2020-10-16 11:21:02 -07:00
Philip Monk
8d0cfd13b7
glob: update to 0v1.hc18i.ms0ac.qi9qj.geopu.sutri 2020-10-15 16:10:02 -07:00
Philip Monk
7e5c722c8f
Merge branch 'philip/link-upgrade' into release/next-sys 2020-10-15 14:34:05 -07:00
Philip Monk
ff0214e8ed
Merge remote-tracking branch 'origin/release/next-userspace' into philip/link-upgrade 2020-10-15 14:32:42 -07:00
Philip Monk
d948d22a78
Merge remote-tracking branch 'origin/release/next-hoon' into philip/link-upgrade 2020-10-15 14:32:34 -07:00
L
8b7a61dfa1
Merge pull request #3718 from urbit/mp/launch/tile-prop
launch: pass tile props to child
2020-10-15 12:36:52 -05:00
matildepark
a3c193fb38
Merge pull request #3727 from urbit/la/fix-dms
interface: fix DM creation to give group permissions properly
2020-10-15 13:33:13 -04:00
Logan Allen
ffb7259e97 interface: fix DM creation to give group permissions properly 2020-10-15 12:32:08 -05:00
Joe Bryan
45038ad7b1
Merge pull request #3689 from urbit/jb/clay-cancel-correct
clay: refactors +cancel-request, consistently accounting for TMI
2020-10-14 22:56:49 -07:00
Philip Monk
bfa94b6c3b
link-store: throw away state if it's stale cards
It's burdensome to upgrade cards and vases, and in practice they will be
stale anyway, so we throw them away.
2020-10-14 21:59:37 -07:00
Philip Monk
f295cd714f
Merge remote-tracking branch 'origin/la/hack-to-move-scry' into release/next-sys 2020-10-14 19:30:54 -07:00
Philip Monk
77b33632a6
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-10-14 19:26:33 -07:00
Matilde Park
157eae42d7 launch: pass tile props to child 2020-10-14 22:01:10 -04:00
matildepark
b1417c84e9
Merge pull request #3717 from urbit/lf/group-autojoin
JoinGroup: restore autojoin
2020-10-14 21:58:35 -04:00
matildepark
2f8e4d06dd
Merge pull request #3714 from urbit/mp/interface/10-14-fix
interface: design feedback tweaks
2020-10-14 21:55:29 -04:00
Matilde Park
061e832c8e groups: tweak padding on description 2020-10-14 21:55:00 -04:00
Matilde Park
c57ceb0bfb chat: messages use 'black' 2020-10-14 21:54:46 -04:00
Matilde Park
3e71f5fe8c chat: z-index raised on profile overlay
Also rewritten in indigo-react.
2020-10-14 21:30:38 -04:00
Liam Fitzgerald
0645ea2369 JoinGroup: restore autojoin route 2020-10-15 10:21:05 +10:00
Matilde Park
964dc90dab chat: prevent timestamp from overflowing 2020-10-14 18:50:02 -04:00
Matilde Park
f49c331d08 groups: pad landing page description for small layouts 2020-10-14 18:48:38 -04:00
Matilde Park
fd57c5fc53 launch: tiles inherit theme colour 2020-10-14 18:21:09 -04:00
Matilde Park
7b09fd6be8 launch: don't sort group tiles by recent
Fixes urbit/landscape#111.
2020-10-14 18:18:31 -04:00
Matilde Park
f614a38f6d groups: fix styling of channel settings dropdown
Fixes urbit/landscape#109.
2020-10-14 18:16:04 -04:00
Matilde Park
bc23b5232b interface: stub out email invite 2020-10-14 18:13:25 -04:00
Matilde Park
f5e23ab4c3 groups: remove 'send message' until new DM util 2020-10-14 18:11:44 -04:00
Matilde Park
01bcd1d54a chat: pin unread notice on mobile
Fixes urbit/landscape#106.
2020-10-14 18:06:26 -04:00
Matilde Park
2123c6e7f7 chat: fix chat input border on dark mode safari
Also rewrites the container in indigo-react.
2020-10-14 17:58:30 -04:00
Joe Bryan
f03a11f706
Merge pull request #3702 from urbit/jb/hoon-jet-hints
hoon: adds hints for likely-to-be-jetted list/treap/parser arms
2020-10-14 14:06:02 -07:00
Joe Bryan
efac8d6133
Merge pull request #3644 from urbit/jb/retime
arvo: restore :time app
2020-10-14 12:55:21 -07:00
Logan Allen
2f9a7c9c68 chat-hook: hack to move scry to a new event to fix +on-load 2020-10-14 14:20:48 -05:00
Joe Bryan
9d5119b33f hoon: adds hints for likely-to-be-jetted list/treap/parser arms 2020-10-13 18:38:09 -07:00
Joe Bryan
5edaf634bc
Merge pull request #3691 from urbit/jb/need-have
hoon: enables need/have type printfs on nest-fail
2020-10-13 18:33:26 -07:00
Joe Bryan
8b499c3190
Merge pull request #3694 from urbit/jb/murn-cast
hoon: adds product cast to +murn
2020-10-13 18:32:43 -07:00
Matilde Park
65bb8a0fb5 glob: update to 0v1.bn7am.9sl00.vfh1o.uvsuf.dn9b7 2020-10-13 21:07:18 -04:00
Matilde Park
093549175f landscape: resource descriptions include links 2020-10-13 21:00:00 -04:00
Matilde Park
579ea86d42 interface: fix richText receiving props 2020-10-13 20:59:48 -04:00
Matilde Park
b8b09b8e5e chat: set messages to 14px 2020-10-13 20:46:36 -04:00
Matilde Park
0454a1a843 chat: fix chat input size 2020-10-13 20:46:31 -04:00
Matilde Park
1a7bb6ecfa publish: vertically align 'edit' and 'delete' 2020-10-13 20:31:47 -04:00
matildepark
5861e38392
Merge pull request #3671 from urbit/lf/channel-js-fixes
channel.js: eagerly ack subscription updates
2020-10-13 18:54:10 -04:00
matildepark
b22f7e30c3
Merge pull request #3697 from urbit/lf/fleet-proxy
interface: multi ship devserver
2020-10-13 18:52:58 -04:00
matildepark
f1c9a8e085
Merge pull request #3699 from urbit/mp/interface/09-13-fixes
groups: properly direct mobile navigation in home
2020-10-13 18:52:42 -04:00
Matilde Park
26ab2bd51e groups: properly direct mobile navigation in home 2020-10-13 18:26:16 -04:00
L
0d2a0bae14
Merge pull request #3632 from urbit/la/remove-hall-sur
acme: remove last %hall import and remove sur file
2020-10-13 15:05:37 -05:00
Liam Fitzgerald
6855f623de interface: multi ship devserver 2020-10-13 15:06:12 +10:00
Joe Bryan
b1d81b4cb4 hoon: adds product cast to +murn 2020-10-09 15:25:07 -07:00