Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-02 16:51:05 -0700 (Mon, 02 Jul 2007)
Revision: 11196
Log message:

      Added set_default_response to dns module.

Changes  Path
+27 -4 mojavefs/lookup-mydns/source/dns.ml
+7 -1 mojavefs/lookup-mydns/source/dns.mli
+2 -1 mojavefs/lookup-mydns/source/dns_handler.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-02 20:40:51 -0700 (Mon, 02 Jul 2007)
Revision: 11201
Log message:

      Stub/preliminary implementation of message handler on the filesystem end

Changes  Path
+1 -0 mojavefs/lookup-mydns/source/OMakefile
+1 -1 mojavefs/lookup-mydns/source/dns_handler.ml
+3 -2 mojavefs/lookup-mydns/source/dns_utils.mli
+66 -0 mojavefs/lookup-mydns/source/fs_handler.ml
+3 -2 mojavefs/lookup-mydns/source/message_types.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-06 06:29:41 -0700 (Fri, 06 Jul 2007)
Revision: 11213
Log message:

      Started implementation of directory-tree crawler, which updates DNS
     server information as a background task.

Changes  Path
+4 -2 mojavefs/lookup-mydns/README
+1 -0 mojavefs/lookup-mydns/source/OMakefile
Added mojavefs/lookup-mydns/source/crawler.ml
+5 -1 mojavefs/lookup-mydns/source/dns.ml
+2 -0 mojavefs/lookup-mydns/source/dns.mli
+1 -0 mojavefs/lookup-mydns/source/dns_utils.ml
+3 -2 mojavefs/lookup-mydns/source/dns_utils.mli
Added mojavefs/lookup-mydns/source/fs_interface.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-10 04:51:51 -0700 (Tue, 10 Jul 2007)
Revision: 11225
Log message:

      Implemented most of the directory tree crawler.

Changes  Path
+9 -7 mojavefs/lookup-mydns/source/OMakefile
+191 -24 mojavefs/lookup-mydns/source/crawler.ml
Added mojavefs/lookup-mydns/source/crawler.mli
+5 -1 mojavefs/lookup-mydns/source/dns.ml
+3 -1 mojavefs/lookup-mydns/source/dns.mli
Added mojavefs/lookup-mydns/source/dns_tracker.ml
Added mojavefs/lookup-mydns/source/dns_tracker.mli
+1 -1 mojavefs/lookup-mydns/source/fs_interface.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-14 06:07:22 -0700 (Sat, 14 Jul 2007)
Revision: 11271
Log message:

      Redesigned module layout and filled in stubs.

Changes  Path
+24 -20 mojavefs/lookup-mydns/source/OMakefile
Deleted mojavefs/lookup-mydns/source/comm.ml
Deleted mojavefs/lookup-mydns/source/comm.mli
Added mojavefs/lookup-mydns/source/common_types.ml
+134 -71 mojavefs/lookup-mydns/source/crawler.ml
+21 -24 mojavefs/lookup-mydns/source/crawler.mli
Deleted mojavefs/lookup-mydns/source/dns.ml
Deleted mojavefs/lookup-mydns/source/dns.mli
Deleted mojavefs/lookup-mydns/source/dns_handler.ml
Deleted mojavefs/lookup-mydns/source/dns_sender.ml
Deleted mojavefs/lookup-mydns/source/dns_tracker.ml
Deleted mojavefs/lookup-mydns/source/dns_tracker.mli
Copied mojavefs/lookup-mydns/source/dns_updater.ml (from rev 11225, mojavefs/lookup-mydns/source/dns.ml)
+43 -64 mojavefs/lookup-mydns/source/dns_updater.ml (from rev 11225, mojavefs/lookup-mydns/source/dns.ml)
Copied mojavefs/lookup-mydns/source/dns_updater.mli (from rev 11225, mojavefs/lookup-mydns/source/dns.mli)
+20 -45 mojavefs/lookup-mydns/source/dns_updater.mli (from rev 11225, mojavefs/lookup-mydns/source/dns.mli)
+43 -7 mojavefs/lookup-mydns/source/dns_utils.ml
+36 -12 mojavefs/lookup-mydns/source/dns_utils.mli
Deleted mojavefs/lookup-mydns/source/fs_handler.ml
+2 -2 mojavefs/lookup-mydns/source/fs_interface.ml
Added mojavefs/lookup-mydns/source/fs_interface.mli
Deleted mojavefs/lookup-mydns/source/fs_sender.ml
Added mojavefs/lookup-mydns/source/global_message.ml
Added mojavefs/lookup-mydns/source/global_message.mli
Added mojavefs/lookup-mydns/source/lm_set_ext.ml
Added mojavefs/lookup-mydns/source/lm_set_ext.mli
Added mojavefs/lookup-mydns/source/lm_set_ext_sig.ml
Deleted mojavefs/lookup-mydns/source/message_sig.ml
Added mojavefs/lookup-mydns/source/network.ml
Added mojavefs/lookup-mydns/source/network.mli
Added mojavefs/lookup-mydns/source/network_listener.ml
Added mojavefs/lookup-mydns/source/network_listener.mli
Added mojavefs/lookup-mydns/source/server_id.ml
Added mojavefs/lookup-mydns/source/server_id.mli
Added mojavefs/lookup-mydns/source/tracker.ml
Added mojavefs/lookup-mydns/source/tracker.mli
+2 -0 mojavefs/lookup-mydns/source/utils.ml
Added mojavefs/lookup-mydns/source/utils.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-17 11:43:29 -0700 (Tue, 17 Jul 2007)
Revision: 11301
Log message:

      - Added necessary ops to local copy of lm_set
     - Finished preliminary tracker implementation

Changes  Path
+9 -3 mojavefs/lookup-mydns/source/dns_updater.ml
+1 -1 mojavefs/lookup-mydns/source/dns_updater.mli
+4 -0 mojavefs/lookup-mydns/source/dns_utils.ml
+2 -0 mojavefs/lookup-mydns/source/dns_utils.mli
+44 -4 mojavefs/lookup-mydns/source/lm_set_ext.ml
+2 -0 mojavefs/lookup-mydns/source/lm_set_ext_sig.ml
+118 -9 mojavefs/lookup-mydns/source/tracker.ml
+1 -0 mojavefs/lookup-mydns/source/tracker.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-17 11:57:42 -0700 (Tue, 17 Jul 2007)
Revision: 11302
Log message:

      Fixed crawler.ml so it compiles properly

Changes  Path
+12 -11 mojavefs/lookup-mydns/source/crawler.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-17 15:30:44 -0700 (Tue, 17 Jul 2007)
Revision: 11308
Log message:

      - Moved domain resolution code to a more logical place (dns_utils instead of
       dns_updater)
     - Added code that computes which DNS servers resolve a given file
     - Changed DNS resolution code to automatically compute which DNS servers to
       query

Changes  Path
+1 -32 mojavefs/lookup-mydns/source/dns_updater.ml
+0 -2 mojavefs/lookup-mydns/source/dns_updater.mli
+75 -0 mojavefs/lookup-mydns/source/dns_utils.ml
+10 -0 mojavefs/lookup-mydns/source/dns_utils.mli
+12 -1 mojavefs/lookup-mydns/source/lm_set_ext.ml
+1 -0 mojavefs/lookup-mydns/source/lm_set_ext_sig.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-17 16:48:41 -0700 (Tue, 17 Jul 2007)
Revision: 11311
Log message:

      Started work on gossip protocol

Changes  Path
+1 -1 mojavefs/lookup-mydns/source/network.ml
+1 -1 mojavefs/lookup-mydns/source/network.mli
+44 -11 mojavefs/lookup-mydns/source/tracker.ml
+1 -2 mojavefs/lookup-mydns/source/tracker.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-18 17:35:27 -0700 (Wed, 18 Jul 2007)
Revision: 11340
Log message:

      Updated readme to reflect new module layout

Changes  Path
+1 -1 mojavefs/lookup-mydns/source/OMakefile
+1 -0 mojavefs/lookup-mydns/source/network.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-18 17:36:09 -0700 (Wed, 18 Jul 2007)
Revision: 11341
Log message:

      Oops, checked in the wrong directory

Changes  Path
+49 -43 mojavefs/lookup-mydns/README
Properties mojavefs/lookup-mydns/ext/

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-18 19:37:49 -0700 (Wed, 18 Jul 2007)
Revision: 11346
Log message:

      Rearranged code in and finished initial crawler implementation

Changes  Path
+231 -242 mojavefs/lookup-mydns/source/crawler.ml
+5 -1 mojavefs/lookup-mydns/source/crawler.mli
+3 -3 mojavefs/lookup-mydns/source/dns_updater.ml
+2 -1 mojavefs/lookup-mydns/source/dns_updater.mli
+7 -7 mojavefs/lookup-mydns/source/tracker.ml
+7 -4 mojavefs/lookup-mydns/source/tracker.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-18 23:27:39 -0700 (Wed, 18 Jul 2007)
Revision: 11348
Log message:

      - Finished high-level global message handler
     - Added TODO list

Changes  Path
Added mojavefs/lookup-mydns/TODO
+18 -3 mojavefs/lookup-mydns/source/global_message.ml
+6 -0 mojavefs/lookup-mydns/source/global_message.mli
+7 -6 mojavefs/lookup-mydns/source/network.ml
+6 -6 mojavefs/lookup-mydns/source/network.mli
+5 -3 mojavefs/lookup-mydns/source/tracker.ml
+6 -2 mojavefs/lookup-mydns/source/tracker.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-19 20:03:27 -0700 (Thu, 19 Jul 2007)
Revision: 11364
Log message:

      - Added trivial bootstrapping (hard-coded server addresses)
     - Finished preliminary implementation of tracker
     - Updated TODO list

Changes  Path
+14 -0 mojavefs/lookup-mydns/TODO
+1 -0 mojavefs/lookup-mydns/source/OMakefile
Added mojavefs/lookup-mydns/source/bootstrap.ml
Added mojavefs/lookup-mydns/source/bootstrap.mli
+25 -0 mojavefs/lookup-mydns/source/common_types.ml
+62 -46 mojavefs/lookup-mydns/source/tracker.ml
+4 -8 mojavefs/lookup-mydns/source/tracker.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-20 02:35:37 -0700 (Fri, 20 Jul 2007)
Revision: 11366
Log message:

      Finished low-level network code.
     
     These were the last modules that needed code in order for the testing phase to
     begin, so tomorrow we start playing with OCamlFuse.

Changes  Path
+0 -2 mojavefs/lookup-mydns/README
+6 -0 mojavefs/lookup-mydns/TODO
+9 -4 mojavefs/lookup-mydns/source/global_message.ml
+29 -0 mojavefs/lookup-mydns/source/network.ml
+23 -2 mojavefs/lookup-mydns/source/network_listener.ml
+2 -0 mojavefs/lookup-mydns/source/utils.ml
+2 -0 mojavefs/lookup-mydns/source/utils.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-21 04:54:17 -0700 (Sat, 21 Jul 2007)
Revision: 11382
Log message:

      - Added blank file that will contain test code in OCamlFuse form
     - Fixed things such that OCamlFuse examples compile in this project's source
       directory
     - However, this won't be the case when you check out due to a namespace conflict
       between the OCamlFuse and Mojavecomm libraries, which I resolved manually for
       my personal copy of OCamlFuse
     - Also, hello seems to loop forever (though it doesn't in its own directory),
       while hello_ll works fine. I will investigate.

Changes  Path
+1 -0 mojavefs/lookup-mydns/TODO
+30 -7 mojavefs/lookup-mydns/source/OMakefile
Added mojavefs/lookup-mydns/source/lookup_test.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-21 07:06:20 -0700 (Sat, 21 Jul 2007)
Revision: 11383
Log message:

      - It seems that any references to Thread.* (where * != t) cause the high-level
       OCamlFuse example to hang forever. This is especially curious because the
       code is simply linked in, never actually used. In any case, these occurrences
       of Thread.* are commented out for the time being.

Changes  Path
+4 -3 mojavefs/lookup-mydns/source/OMakefile
+15 -17 mojavefs/lookup-mydns/source/crawler.ml
+68 -1 mojavefs/lookup-mydns/source/lookup_test.ml
+1 -1 mojavefs/lookup-mydns/source/network_listener.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-21 14:32:47 -0700 (Sat, 21 Jul 2007)
Revision: 11384
Log message:

      - Added starting framework to OCamlFuse test code
     - Tried to make a trivial file system which mirrors the root directory. It
       compiles and should work, but instead segfaults when reading the root
       directory. This is beyond my ability to fix.

Changes  Path
+0 -0 mojavefs/lookup-mydns/source/OMakefile
+234 -63 mojavefs/lookup-mydns/source/lookup_test.ml

Changes by: David Noblet (dnoblet at cs.caltech.edu)
Date: 2007-07-23 13:49:17 -0700 (Mon, 23 Jul 2007)
Revision: 11388
Log message:

      Add ocamlfuse as a svn external.

Changes  Path
Properties mojavefs/lookup-mydns/ext/

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-23 15:41:11 -0700 (Mon, 23 Jul 2007)
Revision: 11391
Log message:

      Changed OMakefile to point to ext/ocamlfuse

Changes  Path
+2 -2 mojavefs/lookup-mydns/source/OMakefile

Changes by: David Noblet (dnoblet at cs.caltech.edu)
Date: 2007-07-23 16:14:21 -0700 (Mon, 23 Jul 2007)
Revision: 11392
Log message:

      Reworked some of the build system to be a bit more clean.

Changes  Path
+96 -98 mojavefs/lookup-mydns/OMakefile
+15 -88 mojavefs/lookup-mydns/source/OMakefile

Changes by: David Noblet (dnoblet at cs.caltech.edu)
Date: 2007-07-23 17:38:42 -0700 (Mon, 23 Jul 2007)
Revision: 11394
Log message:

      Removing binary files.

Changes  Path
Deleted mojavefs/lookup-mydns/ext/ocaml-mysql/

Changes by: David Noblet (dnoblet at cs.caltech.edu)
Date: 2007-07-23 17:39:48 -0700 (Mon, 23 Jul 2007)
Revision: 11395
Log message:

      Add a symlink for the ocaml-mysql directory.

Changes  Path
Added mojavefs/lookup-mydns/ext/ocaml-mysql

Changes by: David Noblet (dnoblet at cs.caltech.edu)
Date: 2007-07-23 17:42:53 -0700 (Mon, 23 Jul 2007)
Revision: 11396
Log message:

      Put the library searches in a "static." section.

Changes  Path
+37 -23 mojavefs/lookup-mydns/OMakefile

Changes by: David Noblet (dnoblet at cs.caltech.edu)
Date: 2007-07-23 18:14:02 -0700 (Mon, 23 Jul 2007)
Revision: 11398
Log message:

      A couple more minor build file changes to keep mojavecomm and libmojave from building when not necessary.

Changes  Path
+5 -1 mojavefs/lookup-mydns/OMakefile
+1 -1 mojavefs/lookup-mydns/source/OMakefile

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-23 23:35:01 -0700 (Mon, 23 Jul 2007)
Revision: 11414
Log message:

      - Moved most file system code to fs_interface.ml
     - Added testing implementation of {get,set}xattr, which just maintains LmMaps in
       memory

Changes  Path
+6 -1 mojavefs/lookup-mydns/OMakefile
+0 -11 mojavefs/lookup-mydns/ext/README.mysql
+6 -6 mojavefs/lookup-mydns/source/OMakefile
+14 -14 mojavefs/lookup-mydns/source/common_types.ml
+2 -2 mojavefs/lookup-mydns/source/crawler.ml
+240 -4 mojavefs/lookup-mydns/source/fs_interface.ml
+8 -2 mojavefs/lookup-mydns/source/fs_interface.mli
+0 -1 mojavefs/lookup-mydns/source/lm_set_ext.ml
+0 -1 mojavefs/lookup-mydns/source/lm_set_ext.mli
+16 -1 mojavefs/lookup-mydns/source/lm_set_ext_sig.ml
+23 -229 mojavefs/lookup-mydns/source/lookup_test.ml
+1 -1 mojavefs/lookup-mydns/source/network_listener.ml
+9 -0 mojavefs/lookup-mydns/source/utils.ml
+2 -0 mojavefs/lookup-mydns/source/utils.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-23 23:57:21 -0700 (Mon, 23 Jul 2007)
Revision: 11415
Log message:

      Cleaned up framework in file system code

Changes  Path
+31 -48 mojavefs/lookup-mydns/source/fs_interface.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-24 01:08:34 -0700 (Tue, 24 Jul 2007)
Revision: 11419
Log message:

      - Added more file system operations for files in the mirrored subdirectory

Changes  Path
+94 -7 mojavefs/lookup-mydns/source/fs_interface.ml
+7 -0 mojavefs/lookup-mydns/source/fs_interface.mli
+16 -1 mojavefs/lookup-mydns/source/lookup_test.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-24 17:01:59 -0700 (Tue, 24 Jul 2007)
Revision: 11434
Log message:

      Changed crawler to:
     - Use seq numbers instead of flags for storing state
     - Eliminate unnecessary DNS updates

Changes  Path
+5 -1 mojavefs/lookup-mydns/TODO
+118 -48 mojavefs/lookup-mydns/source/crawler.ml
+4 -1 mojavefs/lookup-mydns/source/fs_interface.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-26 01:20:35 -0700 (Thu, 26 Jul 2007)
Revision: 11447
Log message:

      Re-structured file/dir tagging code to expose it to the file system layer

Changes  Path
+1 -0 mojavefs/lookup-mydns/source/OMakefile
+25 -152 mojavefs/lookup-mydns/source/crawler.ml
Added mojavefs/lookup-mydns/source/fs_update_handler.ml
Added mojavefs/lookup-mydns/source/fs_update_handler.mli

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-31 19:00:57 -0700 (Tue, 31 Jul 2007)
Revision: 11513
Log message:

      Finished OCamlFuse test implementation of DNS updater, starting debugging phase

Changes  Path
+1 -1 mojavefs/lookup-mydns/source/common_types.ml
+11 -11 mojavefs/lookup-mydns/source/fs_interface.ml
+3 -3 mojavefs/lookup-mydns/source/fs_update_handler.mli
+23 -8 mojavefs/lookup-mydns/source/lookup_test.ml

Changes by: David DiCato (daavan42 at gmail.com)
Date: 2007-07-31 22:50:08 -0700 (Tue, 31 Jul 2007)
Revision: 11517
Log message:

      - Added logging
     - Enabled options -f and -s by default

Changes  Path
+43 -16 mojavefs/lookup-mydns/source/dns_utils.ml
+87 -80 mojavefs/lookup-mydns/source/fs_interface.ml
+18 -2 mojavefs/lookup-mydns/source/lookup_test.ml