Commit Graph

2379 Commits

Author SHA1 Message Date
C. Guy Yarvin
bc43a9e2f0 Merge remote-tracking branch 'cgyarvin/cc-release' into cc-release 2016-10-29 16:20:03 -07:00
C. Guy Yarvin
d40015b808 Move ++perk to ++peel; change jets. 2016-10-27 17:26:40 -07:00
C. Guy Yarvin
cb9f3162f5 Adjust to new zuse. 2016-10-24 13:41:00 -07:00
C. Guy Yarvin
bbe35d6c1d Fix crua reference. 2016-10-22 12:09:50 -07:00
C. Guy Yarvin
ceffdf577a =, seems to work. 2016-10-10 16:56:43 -07:00
C. Guy Yarvin
891a1bf909 Fix :use. 2016-10-10 10:17:58 -07:00
C. Guy Yarvin
87f1b8d135 Make =, work. 2016-10-09 14:29:08 -07:00
C. Guy Yarvin
43e1588ba2 Add %use rune (=,). 2016-10-08 21:41:50 -07:00
C. Guy Yarvin
956094664d Clean up flags. 2016-09-06 10:56:27 -07:00
C. Guy Yarvin
46ddb9367b Merge branch 'master' into learning 2016-09-03 16:23:11 -07:00
Raymond Pasco
b70bf9c5f9 fix mismatched brackets in LFLAGS 2016-08-31 15:12:48 -04:00
Raymond Pasco
49b5c36ccb Fix whitespace sensitivity issue in Makefile 2016-08-31 14:43:40 -04:00
Raymond Pasco
1d139f343f Conditionally set some OpenSSL location paths
for build systems that provide them, like FreeBSD ports
2016-08-30 20:40:50 -04:00
Raymond Pasco
36e3e23306 Merge branch 'misc-porting-bugs'
Fix miscellaneous bugs caught during porting-to-OSes effort
2016-08-30 20:16:20 -04:00
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
C. Guy Yarvin
f5bef73636 Correct merge. 2016-08-05 15:45:45 -07:00
C. Guy Yarvin
e9fe591153 Merge remote-tracking branch 'cgyarvin/retrack' into learning 2016-08-05 15:43:16 -07:00
C. Guy Yarvin
93ff9c1eff Merge remote-tracking branch 'origin/master' into retrack 2016-08-05 15:41:33 -07:00
C. Guy Yarvin
e7f37d5a14 Don't be ghetto. 2016-08-05 15:40:52 -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
C. Guy Yarvin
fb32d12456 Moar ghetto printfs. 2016-08-04 15:41:44 -07:00
C. Guy Yarvin
0f6e59d8a0 Moar ghetto. 2016-08-04 10:59:59 -07:00