Commit Graph

15517 Commits

Author SHA1 Message Date
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
Jared Tobin
483d12936f
Merge branch 'sample-profile-file' (#1716)
* sample-profile-file:
  noun, worker: write -P profile into pier

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-11 10:35:10 -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
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
Jared Tobin
785a42ce33
Merge branch 'scry-safe-mule' (#1678)
* scry-safe-mule:
  pills: update solid, brass, ivory
  talk, chat: disables scry in hoon eval
  hoon: enable scry in +mule
  arvo, ford: add type safety to scry

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-09 07:59:42 -02:30
Jared Tobin
53f4b5c258
pills: update solid, brass, ivory 2019-09-09 07:59:15 -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
Jared Tobin
806871de4e
Merge pull request #1700 from urbit/dk-pill-fix
Updated pills to match latest master
2019-09-06 15:54:55 -02:30
Jared Tobin
7322d7adae
Merge branch 'mp-interface-objs' (#1701)
* mp-interface-objs:
  Interface: Update urbit-ob dependency

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-06 13:35:29 -02:30
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
d9a8d02b41 pills: update solid 2019-09-06 15:22:32 +10:00
Liam Fitzgerald
718d1daa31 zuse: add en-xml:html and de-xml:html tests 2019-09-06 15:22:32 +10:00
David Kerschner
5ab2618239 Updated pills to match latest master 2019-09-05 20:10:39 -07:00
Liam Fitzgerald
0fbedebfd0 zuse: fix comment parsing in de-xml:html 2019-09-06 13:04:11 +10: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
Jared Tobin
3c1cc36e93
Merge branch 'publish-error-handling' (#1694)
* publish-error-handling:
  publish: fix broken post bug, add recover function

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-05 09:31:23 -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
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
Jared Tobin
575d196d38
readme: update contributing info 2019-09-02 17:29:21 -02:30
Jared Tobin
174e194cf9
contributing: use parentheses instead of commas 2019-09-02 17:08:26 -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
Liam Fitzgerald
4bc4d76064 zuse: added CDATA support to de-xml:html 2019-08-31 15:00:37 +10:00
Jared Tobin
40bc5deada
Merge branch 'origin/philip/fix-zpmc' (#1683)
* origin/philip/fix-zpmc:
  hoon: don't nest check in zpmc

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-31 01:29:16 -02:30
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
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
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
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
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
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