Commit Graph

135 Commits

Author SHA1 Message Date
C. Guy Yarvin
a4baea40fd Fix a bunch of memory leaks and stuff. 2013-11-11 23:09:11 -08:00
C. Guy Yarvin
8bd25d8b32 Use ftruncate() to map checkpoint images as sparse files. 2013-11-11 11:13:47 -08:00
Curtis Yarvin
fd4e5f9e5f Remove debug printf. 2013-11-09 04:05:48 +00:00
C. Guy Yarvin
91fe182f81 Various fixes and improvements... 2013-11-08 15:37:38 -08:00
C. Guy Yarvin
f9c368d856 Various fixes and improvements. 2013-11-07 16:34:44 -08:00
C. Guy Yarvin
899708d26b Fix unspecified argument order in turn jet. 2013-11-07 16:16:19 -08:00
Curtis Yarvin
ceb9c926af Merge branch 'master' of github.com:urbit/urbit
Conflicts:
	urb/zod/main/bin/tach.hoon
2013-11-04 18:24:27 +00:00
C. Guy Yarvin
8a23abc044 Merge branch 'master' of github.com:urbit/urbit 2013-11-04 08:58:54 -08:00
johncburnham
5a261954c5 Merge pull request #77 from mrdomino/master
Get it builing on OpenBSD 5.3
2013-11-03 12:04:30 -08:00
Steven Dee
a662f4e357 Get it builing on OpenBSD 5.3
Turns out 4.8 and 5.3 offer mutually incompatible kvm_getprocs
interfaces. kvm_getproc2 was removed at some point, and kvm_getprocs
changed to have the API that kvm_getproc2 used to have.

I've decided to sac 4.8 support. devio.us still runs 4.8, but their
ulimit is set too low for vere anyway.

This reverts commit b9a83028891652e2e994f7c0a1cbb992c647f145.
2013-11-03 14:43:44 -05:00
johncburnham
5f6c435aa8 Merge pull request #76 from mrdomino/master
Get it building on OpenBSD 4.8
2013-11-03 08:43:58 -08:00
Steve Dee
e189698575 Get it building on OpenBSD 4.8
This patch results in successful compilation on <http://devio.us/>.
Sadly I can't guarantee anything more than that yet, since their ulimits
are impossible to change and insufficient to make vere happy.
2013-11-03 11:39:35 -05:00
C. Guy Yarvin
0dc82fc41a Merge branch 'master' of github.com:urbit/urbit 2013-11-02 18:29:47 -07:00
C. Guy Yarvin
d5efd98997 New chat ready for testing. 2013-11-02 18:29:28 -07:00
cgyarvin
e75faa46cf Merge pull request #75 from mrdomino/master
Remove remainder of sprintf & strcpy calls
2013-11-01 12:20:13 -07:00
Steven Dee
c489d2dc7d Remove remainder of sprintf & strcpy calls
Note that there are still some in libuv.
2013-11-01 15:10:41 -04:00
Curtis Yarvin
5b4c4437ce Merge branch 'master' of github.com:urbit/urbit 2013-10-31 17:20:57 +00:00
Curtis Yarvin
91adaea16a Fix SO_REUSEPORT issue in linux. 2013-10-31 17:20:42 +00:00
cgyarvin
395ddde229 Merge pull request #72 from mrdomino/master
!!! Fix hom_w calculation
2013-10-30 14:51:14 -07: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
ffe0786f03 Remove trailing paren 2013-10-30 14:44:35 -04:00
C. Guy Yarvin
367838774a Fix broken build. 2013-10-30 11:42:24 -07:00
C. Guy Yarvin
e91048a915 Merge branch 'master' of https://github.com/urbit/urbit 2013-10-30 11:27:05 -07:00
C. Guy Yarvin
549d090add Various fixes and improvements. 2013-10-30 11:26:51 -07:00
C. Guy Yarvin
b016be2a6b Merge branch 'master' of github.com:urbit/urbit 2013-10-26 20:56:19 -07:00
C. Guy Yarvin
25b7ed9a9c Various fixes and improvements. 2013-10-26 20:55:53 -07:00
C. Guy Yarvin
fa2bccf255 Merge branch 'master' of github.com:urbit/urbit 2013-10-23 14:48:47 -07:00
C. Guy Yarvin
e6441de170 Correctly load original pill after checkpoint failure. 2013-10-23 14:48:14 -07:00
C. Guy Yarvin
1b51fc3c4d Merge branch 'master' of github.com:urbit/urbit 2013-10-21 12:30:24 -07:00
cgyarvin
c7368f526c Merge pull request #62 from mrdomino/master
Don't fork in daemon mode
2013-10-21 12:08:16 -07:00
Steven Dee
d51339b885 Don't fork in daemon mode 2013-10-21 14:55:19 -04:00
cgyarvin
c9d51d63f8 Merge pull request #61 from mrdomino/master
Exit 0 on successful daemonization
2013-10-21 10:59:14 -07:00
Steven Dee
b0e2f692ac Exit 0 on successful daemonization 2013-10-21 13:13:53 -04:00
johncburnham
f536794b17 Merge pull request #58 from ab9/official_email
Use official email address
2013-10-20 00:18:40 -07:00
Curtis Yarvin
b0078e4c48 Add initial GC on startup; fix batz handling of %yu. 2013-10-19 06:10:25 +00:00
C. Guy Yarvin
898c53c3f9 Merge branch 'master' of github.com:urbit/urbit 2013-10-15 14:02:54 -07:00
Curtis Yarvin
84593e79b0 Merge branch 'master' of github.com:urbit/urbit 2013-10-15 17:58:40 +00:00
cgyarvin
39b0169f51 Merge pull request #56 from asokoloski/master
loom.c -- drop unnecessary fsync in _loom_write that causes lag on some systems.
2013-10-14 13:20:53 -07:00
Aaron Sokoloski
3755a7620e loom.c -- drop unnecessary fsync in _loom_write that causes lag on some systems.
u2_loom_save syncs after writing anyway.
2013-10-14 21:02:32 +01:00
C. Guy Yarvin
9da4841584 Merge branch 'master' of github.com:urbit/urbit 2013-10-14 11:24:33 -07:00
C. Guy Yarvin
91551d2f5a Changes for libuv bug reproduce. 2013-10-14 11:23:55 -07:00
johncburnham
bab993836e Merge pull request #55 from philipcmonk/master
For syntax highlighting, group base{32,64} digits in fives.
2013-10-13 03:46:47 -07:00
Philip Monk
a7a72ad6d2 For syntax highlighting, group base{32,64} digits in fives. 2013-10-12 22:55:58 -07:00
Philip Monk
2d4e9a5241 Merge branch 'patch-1' of https://github.com/akkartik/hoon.vim
Conflicts:
	syntax/hoon.vim
2013-10-12 22:50:41 -07:00
Philip Monk
01b560ae4a Group base32 numbers every 5 digits. 2013-10-12 22:45:01 -07:00
Kartik Agaram
5d4ff1c6ae Base-64 numbers should group every 5 digits.
Based on keyprints in ames.hoon, which seem to be the only base-64 numbers in the codebase.
2013-10-12 21:55:24 -07:00
C. Guy Yarvin
776b006342 Merge branch 'master' of github.com:urbit/urbit 2013-10-11 13:46:23 -07:00
Curtis Yarvin
6d091f5e07 Continuity breach, flag day. 2013-10-11 18:00:22 +00:00
C. Guy Yarvin
c1c079cd65 Merge branch 'master' of github.com:urbit/urbit
Conflicts:
	urb/urbit.pill
2013-10-08 19:24:45 -07:00