Commit Graph

72 Commits

Author SHA1 Message Date
~hatteb-mitlyd
d5c61a3038 use a uv_prepare callback to scan fs tree
Much more responsive file sync.
2014-03-24 11:31:03 -07:00
~hatteb-mitlyd
12bf369663 continue for files only 2014-03-18 17:04:44 -07:00
~hatteb-mitlyd
8ae8be35c2 ignore files without a dot in the name, to avoid disastrous consequences 2014-03-18 16:26:58 -07:00
Steve Dee
970c6d431f Fixes for dir syncing in raft leader mode 2014-03-10 12:10:17 -07:00
C. Guy Yarvin
3400b6bacb Working HTTP client. 2014-03-02 14:31:03 -08:00
C. Guy Yarvin
16dd948e7d Attempted fix to an intermittent sync event bug. 2014-02-27 10:33:20 -08:00
Steve Dee
ed09e5d12e Bring up listeners after boot 2014-01-17 00:12:05 -08:00
C. Guy Yarvin
2f83452f42 Refactor peek. 2014-01-05 16:02:34 -08:00
C. Guy Yarvin
3855896562 Don't assert on missing files. 2013-12-26 14:35:00 -05:00
Steven Dee
f2a839426b Ye olde whitespace cleanup part 2
sed -i, glanced at.
2013-12-18 13:17:47 -08:00
Steve Dee
a75e974af9 Fix remaining non-libuv memory leaks
The only leaks remaining are in libuv's fsevents code. They could
be our fault, but it's unlikely.
2013-12-16 18:36:32 -08:00
C. Guy Yarvin
3d9cda2509 Don't put empty directories in unix-built ankh. 2013-11-29 20:30:17 -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
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
C. Guy Yarvin
91551d2f5a Changes for libuv bug reproduce. 2013-10-14 11:23:55 -07:00
Steven Dee
1a6f18d09d Consider both FreeBSD and OpenBSD "bsd" 2013-10-07 12:31:41 -04:00
C. Guy Yarvin
ab35a08774 Development "branch" goes back to production. 2013-10-06 00:44:07 -07:00
C. Guy Yarvin
3e0fe1bd0e Merge branch 'master' of github.com:urbit/urbit 2013-10-02 09:41:15 -07:00
C. Guy Yarvin
e7e0842eaa Experiments with fork checkpoint. 2013-10-02 09:40:58 -07:00
Lev Serebryakov
018cfe5eaf Quick'n'dirty port to FreeBSD (checked on FreeBSD 9.2/amd64) 2013-10-02 18:44:22 +04:00
Christian Carter
3af3130bdc Cleaning up old code 2013-09-28 13:21:18 -07:00