Commit Graph

37 Commits

Author SHA1 Message Date
Steve Dee
44cd26548b Merge branch 'master' into newbreach
Conflicts:
	urb/zod/arvo/ames.hoon
	v/sist.c
2014-04-21 19:06:16 -07:00
Galen Wolfe-Pauly
2f6e953d03 welcome message 2014-04-15 20:28:22 -07:00
Steve Dee
c9a4cf19cf 64-bit entry numbers 2014-04-08 09:25:49 -07:00
~hatteb-mitlyd
75dce9eefc make asserting malloc into a #define 2014-04-03 14:37:32 -07:00
~hatteb-mitlyd
a0c18f56b2 change to asserting malloc 2014-04-01 17:48:26 -07:00
Steve Dee
fd3c03fa73 Options cleanup
Remove sow, pas, and rez. Add comments with flags and short
descriptions. Also correctly bound ports.
2014-03-31 07:46:54 -07:00
Steve Dee
b7c6df667c Add flag to skip the last event
Handy when that event causes disastrous repercussions at the C level.
On the whole, terrible. Note that the flag is spelled "-Xwtf",
pronounced "pleaXe wipe that fscker".
2014-03-28 11:38:23 -07:00
~hatteb-mitlyd
0d0d6e468a formatting 2014-03-18 17:29:51 -07:00
Steve Dee
f92eaf970c Clean up Raft options and init
I opted to keep u2_opts to just numbers, strings, and beans for now and
parse them to peer names in the Raft init code.
2014-03-07 16:19:38 -08:00
Steve Dee
d045f31f23 Rejigger the event loop again 2014-03-06 08:59:20 -08:00
Gavin Whelan
c85fd1fe35 Fixed Linux specific bug causing lack of stack overflow traces. 2014-03-04 14:48:59 -08:00
C. Guy Yarvin
3b98f316a0 Various fixes and improvements. 2014-03-04 11:17:34 -08:00
Steve Dee
d7e4c46150 Revert "Revert "Merge remote-tracking branch 'urbit/master' into master""
This reverts commit dc6f72fa0a8ff2097b1e9c900ebec444c0d4c24f.
2014-02-25 12:18:07 -08:00
Steve Dee
de5048e895 Revert "Merge remote-tracking branch 'urbit/master' into master"
This reverts commit d52d2835b96f89e7ebbe5392c99f1483d165ee0b, reversing
changes made to 58838ea246e52c064719edc56e29b6a1ba713fdf.

Conflicts:
	Makefile
2014-02-24 11:27:57 -08:00
Steve Dee
85085f713e Move srand call, seed from pid 2014-02-10 16:07:22 -08:00
Steve Dee
6df5fb3155 New-style raft options 2014-02-05 15:25:57 -08:00
Steve Dee
c91e950eb7 Add raft listener/peers 2014-02-05 15:25:57 -08:00
Steve Dee
fc51f17322 Add _main_readw 2014-02-05 15:25:57 -08:00
Steven Dee
1ab1528749 Warn about unset URBIT_HOME 2014-01-26 21:31:48 -08:00
Steve Dee
2b1077899e Add hostname 2014-01-17 09:42:47 -08:00
Steve Dee
97eeb27d41 Batch pier creation 2014-01-15 17:41:30 -08:00
Steve Dee
b8aec6e5d8 Get a random UDP port... 2014-01-15 13:00:47 -08:00
Steve Dee
dcf3785363 Sort opts, remove unused -s 2014-01-15 11:59:08 -08:00
Steve Dee
4605ac9c66 Fix ames port logic
Hey, we have a -p flag. Neat.
2014-01-15 11:21:50 -08:00
Steve Dee
e434374855 Initialize por_s 2014-01-15 11:19:30 -08:00
Kingdon Barrett
7d19f2ed33 -p to demand a listen port in ames 2014-01-15 12:16:50 -05:00
C. Guy Yarvin
98006a2851 Last checkin on funbreach. 2014-01-06 12:37:42 -08:00
Steven Dee
f2a839426b Ye olde whitespace cleanup part 2
sed -i, glanced at.
2013-12-18 13:17:47 -08:00
C. Guy Yarvin
8d779710c3 Fix playback bug for forwarded packets. 2013-11-18 14:31:51 -08:00
C. Guy Yarvin
a4baea40fd Fix a bunch of memory leaks and stuff. 2013-11-11 23:09:11 -08:00
C. Guy Yarvin
91fe182f81 Various fixes and improvements... 2013-11-08 15:37:38 -08:00
Steven Dee
ef40109ea9 Fix hom_w calculation 2013-10-30 16:59:57 -04:00
Steven Dee
324c6a235d Remove most instances of strcpy and sprintf
OpenBSD whines about these and recommends using strlcpy / snprintf
instead. Since strlcpy isn't quite universal yet, we use strncpy instead
and be careful about terminating the string. We could implement a
portable strlcpy in terms of strncpy, but that'd add another function to
the namespace.

Yes, usually the length is obviously bounded. Still, pretending
strcpy/sprintf don't exist seems like a great strategy.

N.B. there are still a few occurrences of strcpy and sprintf under f/
and in libuv, but I don't have time to tackle them right now.
2013-10-30 15:25:22 -04:00
Steven Dee
d51339b885 Don't fork in daemon mode 2013-10-21 14:55:19 -04:00
Steven Dee
b0e2f692ac Exit 0 on successful daemonization 2013-10-21 13:13:53 -04:00
Curtis Yarvin
b0078e4c48 Add initial GC on startup; fix batz handling of %yu. 2013-10-19 06:10:25 +00:00
Christian Carter
3af3130bdc Cleaning up old code 2013-09-28 13:21:18 -07:00