Commit Graph

2604 Commits

Author SHA1 Message Date
Raymond Pasco
3400efdcea Remove redundant check for existing pier
that breaks non-galaxy startup...
2016-08-30 20:14:44 -04:00
Raymond Pasco
869e6f54e5 Respect CFLAGS in environment
don't set CFLAGS absolutely, use =? and =+ instead
2016-08-30 20:14:02 -04:00
Raymond Pasco
bbc61d841b Merge branch 'user-friendly-boot'
User-friendly boot sequence that autofetches urbit.pill and doesn't
assume it's running out of its own source distribution directory.
2016-08-29 18:23:43 -04:00
Raymond Pasco
fa9aaae99b Update readme for new libcurl world 2016-08-29 16:19:44 -04:00
Raymond Pasco
b8dcc5f17d Fetch pill from bootstrap site if not specified 2016-08-29 15:30:27 -04:00
Raymond Pasco
8d43f39a4a Link with libcurl 2016-08-29 14:26:03 -04:00
Raymond Pasco
3434f2bd9c Move pier directory creation to beginning of boot
This is the smallest refactor that works.
2016-08-29 14:12:27 -04:00
Raymond Pasco
a7e32f3359 Add usage info for -A and -B options 2016-08-29 13:11:10 -04:00
Raymond Pasco
9e24f8caa0 Finalize removal of U3_LIB 2016-08-29 13:06:41 -04:00
Raymond Pasco
228b0fb20d Add -A option to locate initial galaxy sync files 2016-08-29 13:04:57 -04:00
Raymond Pasco
b03519f64f Delete giant commented-out mess mentioning U3_LIB
We have version control so we don't have to comment out things that
we've refactored into another function.

This is mainly to get rid of the false positive when I grep for U3_LIB.
2016-08-28 14:49:56 -04:00
Raymond Pasco
7291f72f59 Use pil_c rather than U3_LIB to boot pill 2016-08-28 13:12:49 -04:00
Raymond Pasco
25b2c007db Use pil_c rather than U3_LIB to copy pill 2016-08-28 13:12:34 -04:00
Raymond Pasco
1f8050aede Don't check U3_LIB for pills 2016-08-28 13:12:14 -04:00
Raymond Pasco
30f590c7a8 Remove unused u3_System global variable 2016-08-28 12:39:22 -04:00
Raymond Pasco
67ab030051 Suppress make error messages on non-GNU platforms 2016-08-26 16:32:52 +00:00
Raymond Pasco
88c9921ae9 Merge remote-tracking branches 'brandoncurtis/patch-1' and 'brandoncurtis/patch-2'
Don't error on specific compiler warning caused by glibc 2.24
Actually use U3_OS_LoomBits to set the number of loom bits
2016-08-23 14:54:36 -04:00
Brandon Curtis
5e9f4470c7 Use U3_OS_LoomBits To Set Reserved Memory Size
The size and starting position of Urbit's reserved memory block is set by `U3_OS_LoomBits` and `U3_OS_LoomBase` in `include/c/portable.h`.

`U3_OS_LoomBase` is referenced in `include/noun/allocate.h` and sets the position in memory of u3_Loom.  This is good.

However, `U3_OS_LoomBits` is not actually used to set the size of the reserved memory block.  Instead:

in `include/allocate.h`,
 - `u3a_bits` is defined
 - `u3a_bits` → `u3a_bytes`
 
in `noun/manage.c`, 
 - `u3a_bytes` → `len_w` in `_cm_init()`
 - `len_w` sets the reserved memory block size

This proposal puts `U3_OS_LoomBits` back to work by defining `u3a_bits` with it.
2016-08-19 04:55:06 -07:00
Brandon Curtis
8ed555dbac Workaround for glibc >2.24 compilation failure
`glibc 2.24` deprecated `readdir_r` and patched `readdir` for threadsafeness.  This Makefile upgrades warnings to errors with `CWFLAGS=-Werror`, so compilation fails in the presence of `glibc >2.24`.  This is a problem in Arch today, and other distros in the near future.

The best solution may be to check the `glibc` version and replace `readdir_r` with `readdir` if `glibc >2.24`.  In the meantime, using `CWFLAGS+=-Wno-error=deprecated-declarations` in the Makefile in the case of `glibc >2.24` allows `glibc 2.24` users to compile Urbit.

Depends on `getconf` and `expr` shell built-ins, which should be available everywhere.
2016-08-18 01:40:29 -07:00
Raymond Pasco
0c3ec4c7fd Merge remote-tracking branch 'galenwp/new-talk' 2016-08-16 02:30:09 +00:00
Galen Wolfe-Pauly
7a3ec92343 switch stars 2016-08-15 10:39:35 -07:00
Philip C Monk
d8ebde1a69 update openbsd c3_rand to use 512 bits of entropy 2016-08-12 14:58:52 -04:00
Raymond Pasco
40180755c8 Revert "Prevent ++burn:ut jet from zeroing non-constants."
This reverts commit b2d800cf67.

Emergency revert to prevent slowness
2016-08-11 23:53:33 -07:00
Raymond Pasco
575e27c9fc Merge branch 'entropy-pool' into staging 2016-08-11 23:09:16 -07:00
Raymond Pasco
59cfe3303e Double entropy pool size 2016-08-11 10:22:26 -07:00
Raymond Pasco
f3547e7ac4 Merge branch 'jet-aes', remote-tracking branch 'dhaffey/burn-zeroing'
AES, Ed25519, and ++rep jets
Prevent ++burn:ut jet from zeroing non-constants
2016-08-10 15:00:51 -07:00
Raymond Pasco
08994156e1 Add missing jet for ++rep
(very ghetto)
2016-08-10 09:34:43 -07:00
Dan Haffey
b2d800cf67 Prevent ++burn:ut jet from zeroing non-constants. 2016-08-09 01:45:39 -07:00
Dan Haffey
7027b8bae1 whitespace 2016-08-09 01:44:19 -07:00
Raymond Pasco
cd972fc8ef Merge branch 'murmur-jet', remote-tracking branch 'dhaffey/jet-identities'
Jet Murmur3
Fix jet mismatches
2016-08-05 09:32:31 -07:00
Dan Haffey
b023a78ee6 Fix jet discrepancies on ill-typed identity cases. 2016-08-03 22:56:26 -07:00
Raymond Pasco
1d1c3f962c Jet murmur3 2016-08-03 17:49:44 -07:00
Raymond Pasco
6e45acd5cc Merge branch 'read-events-only-to-checkpoint', remote-tracking branch 'dhaffey/peek-jet'
Read in events only up to checkpoint on startup
Fix ++peek:ut jet mismatches
2016-08-03 17:30:43 -07:00
Raymond Pasco
983c2132ce Read in events only up to the last checkpoint 2016-08-03 17:30:28 -07:00
Dan Haffey
2311b3ee82 Fix ++peek:ut jet semi-discrepancy 2016-08-01 02:00:26 -07:00
Raymond Pasco
74be202fd6 Merge branch 'murmur-lint' 2016-07-28 12:34:18 -07:00
Raymond Pasco
36781ab5c6 De-C++ify murmur3 comments 2016-07-28 12:32:35 -07:00
Raymond Pasco
607ef00903 De-C++ify murmur3 for loops 2016-07-28 12:26:04 -07:00
Raymond Pasco
706ef3aced Merge branches 'murmur3' and 'libuv-1.7.5-enable'
Add Murmur3 hash reference implementation to libraries
Switch over to libuv 1.7.5 by default
2016-07-26 17:32:36 -07:00
Raymond Pasco
9b18e34775 Link Murmur3 reference implementation into binary
for future use as ++muk/++mum and new mug
2016-07-26 17:29:56 -07:00
Raymond Pasco
af012bab8a Jet AES ECB and CBC modes 2016-07-20 11:25:05 -07:00
Raymond Pasco
32df11b251 Merge commit 'cgyarvin/remap^'
Automatic loom base mapping
2016-07-19 14:53:09 -07:00
Raymond Pasco
a05a424053 Merge remote-tracking branches 'asgardiator/master', 'cgyarvin/slowcheck', 'joemfb/meta-keys' and 'philipcmonk/link-fix'
Update reference to urbit-meta to use dozbud
Tone down checkpointing frequency to every 2 minutes
Add term.c support for M-. and M-backspace
Update install instructions web link
2016-07-11 23:40:27 -07:00
Raymond Pasco
12c0a37f39 Enable libuv 1.7.5
This has been working without incident for months now.
2016-07-11 10:32:03 -04:00
Philip C Monk
9358e367ae fix install link 2016-07-08 16:11:24 -04:00
Galen Wolfe-Pauly
aa12760bb9 Merge pull request #759 from cdelargy/patch-1
Updating link to docs
2016-07-06 17:28:18 -07:00
cd
47b1dd3029 Updating link to docs 2016-07-06 20:25:20 -04:00
Joseph Bryan
166431ed99 adds term support for meta-. and meta-backspace 2016-07-02 22:49:40 -04:00
C. Guy Yarvin
3947088354 Change checkpointing from 15 to 120 seconds. 2016-07-01 10:10:41 -07:00
Tobias Merkle
4509ac37b4 sub dozbud 2016-06-29 15:26:37 -07:00