Commit Graph

2502 Commits

Author SHA1 Message Date
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
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
Raymond Pasco
2cc5dd502e Merge remote-tracking branch 'asgardiator/master'
readme reformat, ~dozbud bandaid
2016-06-29 18:25:27 -04:00
Tobias Merkle
7dd8076940 typos 2016-06-29 15:23:10 -07:00
Tobias Merkle
a1f068d852 sub doznec 2016-06-29 15:21:40 -07:00
Raymond Pasco
2a41962c2f Merge remote-tracking branches 'jfranklin9000/delete-LIBRE2', 'jfranklin9000/uv_close_on_UV_EOF', 'revprez/revprez-pr-removed_zod-20160612' and 'philipcmonk/reap-jet-fix'
Remove obsolete regex libraries
Stop leaking libuv fds (or whatever they are)
Remove obsolete urb/zod references
Fix memory leak in ++reap jet
2016-06-27 09:10:37 -04:00
Philip C Monk
b7190c7a2d fix misbehaving reap jet
fixes https://www.reddit.com/r/urbit/comments/4pd7vk/im_very_confused_about_standardlibrary_lists/
2016-06-22 22:31:18 -04:00
C. Guy Yarvin
4e24a9ad63 Show the alternate mapping address. 2016-06-19 00:09:57 -07:00
Prez Cannady
7b0d9a7d4d Addressed style issues raised by juped: https://github.com/urbit/urbit/pull/747#issuecomment-225538953 2016-06-13 19:29:20 -04:00