Commit Graph

89 Commits

Author SHA1 Message Date
~hatteb-mitlyd
b44797d0d2 undo noisy sync stuff, fix bad string compare leading to disastrous sync 2014-07-01 17:18:56 -07:00
C. Guy Yarvin
864c4f01c7 Change ++ja to ++jo and fix some stuff. 2014-07-01 16:29:44 -07:00
C. Guy Yarvin
c0692b7a5c Various fixes and improvements. 2014-06-24 10:32:59 -07:00
~hatteb-mitlyd
dd0104dbce Add basic synclog code to try and track sync issues 2014-05-31 20:26:18 -07:00
Gavin Whelan
3d2cc3027d Merging merge 2014-05-28 12:26:16 -07:00
~hatteb-mitlyd
cb4c01b32d sync toplevel files 2014-05-16 14:01:48 -07:00
~hatteb-mitlyd
e68a2a25d9 attempt to sync out files at toplevel 2014-05-16 14:01:48 -07:00
~hatteb-mitlyd
7881861296 sync palliative: check after block, not before 2014-05-13 16:34:09 -07:00
~hatteb-mitlyd
a1055f57cb sync palliative: don't assert, recreate 2014-05-13 16:32:44 -07:00
~hatteb-mitlyd
4daa9a6ed9 remove URBIT_HOME
New piers are structured as so:

cpu/.urb/{urbit.pill,chk,sis,get,put,code.~dansut-docfyn}
cpu/dansut-docfyn-dozzod-dozzod--dozzod-dozzod-dozzod-dozzod/{try,main,arvo}
2014-05-13 12:22:07 -07:00
Gavin Whelan
f77ac6a18c fixing bug in partially merged unix.c 2014-04-30 11:23:12 -07:00
Gavin Whelan
11a3d774a1 Removing hokey ^ jam file thing. 2014-04-30 10:43:01 -07:00
Steve Dee
289bd6e0ee Fix fs event sync 2014-04-08 16:06:14 -07:00
~hatteb-mitlyd
298f9389d8 mkdir and unlink are permitted exactly one error
fixes #131
2014-04-05 21:45:43 -07:00
~hatteb-mitlyd
a0c18f56b2 change to asserting malloc 2014-04-01 17:48:26 -07:00
~hatteb-mitlyd
d4cf1aabed ignore ~files too. hokey unix stuff. 2014-03-25 10:39:53 -07:00
~hatteb-mitlyd
6151a2ba5d ignore ENOENT in unix_load 2014-03-25 10:26:46 -07:00
~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