2003-04-05  Junichi Uekawa  <dancer@debian.org>

	* debian/control (Build-Depends): require 0.15 of d-shlibs.

2003-02-10  Junichi Uekawa  <dancer@debian.org>

	* TODO: note the meaning of getaddrinfo

2003-01-28  Junichi Uekawa  <dancer@debian.org>

	* Makefile.am (EXTRA_DIST): add TODO file to dist.

	* debian/TODO: empty.

	* TODO: add a document on TODO things.

2003-01-23  Yoshiki Taniguchi  <yoshiki@mikilab.doshisha.ac.jp>

	* dmachinemon/dmachinemon-commandlineparser.c (dmachinemon_parse_options): fix getopt_long argument -D.

2003-01-22  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/gtk/loadplugin.c: include string.h for strlen
	certified that this program runs with gcc-3.2 compilation.

	* tools/treeview/superproxy.c: #include <stdlib.h> for exit.

2003-01-13  Junichi Uekawa  <dancer@debian.org>

	* Documentation/dmachinemon-doc.xml: The documentation in XML.
	update documentation for 2003.

	* Documentation/Makefile.am: Documentation is now in XML.

2002-12-23  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmboot.in (EXTERNALUSERSH): fix typo.

	* configure.ac: 0.32.4.cvs.9

	* tools/dmscripts/dmboot.in (EXTERNALUSERSH): use @ instead of #

	* tools/dmscripts/Makefile.am (dmboot): replace @mandir@
	(dmboot): use @ instead of #

	* tools/dmscripts/dmboot.in (EXTERNALUSERSH): -h for manual page.

	* tools/dmscripts/dmboot.1: document.

	* tools/dmscripts/dmboot.in (EXTERNALUSERSH): Allow using ssh to
	connect to remote host.
	(EXTERNALUSERSH): add -h --help option to display manpage.

	* tools/dmscripts/dmboot.1: document

2002-12-20  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/dmachinemon-libdatabase.h: add 2002 copyright.

	* dmachinemon/dmachinemon-libdatabase.c: add copyright 2002.

	* dmachinemon/dmachinemon-master-clienthandler.c: add 2002 copyright.

	* configure.ac: 0.32.4.cvs.8

	* dmachinemon/dmachinemon-libp2papplication.c: rewrite the loop with for,
	to make it better fit to my newer coding style.
	(DNAS_gatherinfo): Fix buffer overflow.

	* configure.ac: 0.32.4.cvs.7

	* dmachinemon/dmachinemon-libp2papplication.c (DNAS_gatherinfo): check for 
	buffer overrun in DNAS_gatherinfo.

2002-12-19  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmrun.1: update doc.

	* tools/dmscripts/dmrun.in (PROGNAME): dmrun debugging mode added.

2002-12-15  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.4.cvs.6

	* tools/treeview/treeview-vcg.c (processing_command): support nodes with
	same names. Just re-tag them with pointer values, to create unique values.

2002-12-08  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.4.cvs.5

	* Documentation/dmachinemon-doc.sgml: add tables of documentation for 
	rnas-dump and rnas-replay applications.

2002-12-05  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: remove reference to gtkiface 

	* tools/Makefile.am (SUBDIRS): in fact remove gtkiface from SUBDIRS
	completely.

	* tools/gtkiface/Makefile.am: Change things to note that gtkiface is 
	obsoleted.

2002-12-05  Debian User  <dancer@debian.org>

	* Documentation/dmachinemon-doc.sgml: update the document and fix it 
	a little more before things are going to be whatever.

2002-12-04  Junichi Uekawa  <dancer@debian.org>

	* Documentation/dmachinemon-doc.sgml: fix the title.

2002-12-02  Junichi Uekawa  <dancer@debian.org>

	* Documentation/dmachinemon-doc.sgml: slight update to the documentation.
	document the rsh and ssh things.

	* dmachinemon/libsocket.c: fix copyright to include 2002.

	* dmachinemon/dnas-connect-to-host.c (DNAS_connect_to_host): do not dup to file descriptor 2 so that error output is stored.

	* dmachinemon/libsocket.c: documentation improvement

2002-12-01  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/rnas-common.c (access_master): add 1 to DNAS_connect_to_host

	* tools/rnas/gtk/rnas-monitor-gtk.c (access_master_with_callback): add 1 to DNAS_connect_to_host

	* tools/rnas/gtk/rnasmonitor-uplink-text.c (displayfunction): remove unused variable.

	* dmachinemon/dmachinemon-servent-libroute.h (dm_get_itemsexceptfirst) 
	(dm_get_itemsexceptfirst, dm_get_itemsexceptfirst) 
	(dm_get_itemsexceptfirst): add missing declarations

	* tools/xmloutput/dmachinemon-xmloutput.c (processing_command): add 1

	* tools/treeview/treeview-vcg.c (access_master): add 1

	* tools/treeview/treeview-3ddotout.c (access_master): add 1

	* tools/treeview/treeview-dotout.c (access_master): add 1

	* tools/treeview/treeview.c (access_master): add 1

	* tools/htmloutput/dmachinemon-htmloutput.c (processing_command): add 1

	* dmachinemon/dmachinemon-servent.c (connect_to_host_with_retry): add 0 to DNAS_connect_to_host

	* dmachinemon/dmachinemon-libp2papplication.c (DNAS_gatherinfo): add 0 to DNAS_connect_to_host

	* dmachinemon/dnas-connect-to-host.c (DNAS_connect_to_host): 
	* dmachinemon/dnas-connect-to-host.h (DNAS_connect_to_host): Optionally add -k option if connection_is_a_client is true.

	* dmachinemon/dnas-proxy-shell.c (main): add -k option.
	kill child process if EOF if -k is specified and vice-versa.
	specify -k if you are a client, not a node.

	* tools/rnas/rnas-dump-plain.c (main): add cdat

	* tools/rnas/rnas-dump-xml.c (main): add cdat

	* tools/rnas/rnas-dump.c (main): add cdat

	* dmachinemon/dnas-proxy-shell.c (printhelp): include some sys/types.h and other things to 
	allow kill().

	* tools/gtkiface/Makefile.am (noinst_PROGRAMS): change to noinst.

	* tools/gtkiface/dmachinemon-gtkiface.1: document that this is obsolete.

	* tools/rnas/rnas-common.c: DNAS_connect_to_host

	* tools/rnas/rnas-common.h (access_master): change API.

	* tools/rnas/gtk/rnas-monitor-gtk.c (timeout_command): pass cdat
	(access_master_with_callback): DNAS_connect_to_host

	* tools/xmloutput/dmachinemon-xmloutput.c (processing_command): DNAS_connect_to_host
	(main): cdat

	* tools/treeview/treeview-vcg.c (access_master): DNAS_connect_to_host
	(processing_command): cdat
	(main): cdat

	* tools/treeview/treeview-3ddotout.c (access_master): DNAS_connect_to_host
	(processing_command): cdat
	(main): cdat

	* tools/treeview/treeview-dotout.c (access_master): DNAS_connect_to_host
	(processing_command): pass cdat
	(main): pass cdat

	* tools/treeview/treeview.c (main): pass cdat
	(processing_command): pass cdat
	(access_master): use DNAS_connect_to_host

	* tools/htmloutput/dmachinemon-htmloutput.c (processing_command): use cdat.
	(processing_command): use DNAS_connect_to_host

	* dmachinemon/dnas-connect-to-host.c (DNAS_connect_to_host): remove the debug information.

	* configure.ac: 0.32.4.cvs.4

	* dmachinemon/dnas-proxy-shell.c (main): kill the duplication if EOF is reached.
	-- this fixed the rsh-remains-when-finished bug.

	* dmachinemon/dnas-connect-to-host.c (DNAS_connect_to_host): some minor enhancement to hopefully
	fix problem with non-exiting rsh.

	* dmachinemon/dmachinemon-libp2papplication.c (DNAS_gatherinfo): use DNAS_connect_to_host instead of 
	dm_connect_to_host

	* dmachinemon/dnas-proxy-shell.c (main): close() socket stream. 

2002-11-30  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/dnas-connect-to-host.c (DNAS_connect_to_host): fix things.

	* dmachinemon/Makefile.am (libdnas_core_la_CFLAGS): define libexecdir

	* dmachinemon/dmachinemon-servent.c: add dnas-connect-to-host.h to include

	* dmachinemon/Makefile.am (pkginclude_HEADERS): add dnas-connect-to-host.h

	* dmachinemon/dmachinemon.h: add connect-to-host.h

	* dmachinemon/Makefile.am (libdnas_core_la_SOURCES): add new file to core.
	dnas-connect-to-host.[ch]

	* dmachinemon/dnas-connect-to-host.c (DNAS_connect_to_host): new file, and new func.

	* dmachinemon/dmachinemon-servent.c (connect_to_host_with_retry): use DNAS_connect_to_host instead.

	* dmachinemon/dmachinemon-commandlineparser.h (dm_commandoption): add rsh

	* dmachinemon/dmachinemon-commandlineparser.c (initialize_cdat) 
	(query_cdat, dmachinemon_parse_options): update to add --rsh option.

	* dmachinemon/dmachinemon-servent.c (connect_to_host_with_retry): add cdat
	(do_main_loop): add cdat

	* dmachinemon/dnas-proxy-shell.c: update docs and other misc things.

	* configure.ac: 0.32.4.cvs.3

	* dmachinemon/Makefile.am (dnas_proxy_shell_LDADD): update things.

	* dmachinemon/dnas-proxy-shell.c: shell proxy start

2002-11-18  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/gtk/test/interactive-run.sh: added uplink check.

	* tools/rnas/gtk/test/test-loadplugin2.sh: fix test program.

	* tools/rnas/gtk/rnasmonitor-layer-text.c (rnas_monitor_initialize): fix typo.

	* tools/rnas/gtk/Makefile.am (TESTS): add new test.

	* tools/rnas/gtk/test/test-loadplugin2.sh: some updated new scripts
	to test new plugins.

	* dmachinemon/dmachinemon-servent-libroute.c (dm_get_firstitem): fix it to return the first item really.

	* dmachinemon/test-stringcar.c (main): make the test function more decent.

	* tools/rnas/gtk/Makefile.am (rnasmonitor_uplink_text_la_SOURCES): uplink text show routine added to makefile.
	(pkglib_LTLIBRARIES): lib.

	* dmachinemon/test-stringcar.c (main): new test program.

	* dmachinemon/test/stringcar.sh: new test.

	* dmachinemon/Makefile.am (check_PROGRAMS): test-stringcar
	(test_stringcar_SOURCES): 

	* dmachinemon/dmachinemon-servent-libroute.c (detect_loop_in_route_to): prepend with dm_
	(dm_get_firstitem): new function.
	(dm_get_itemsexceptfirst): new function.

	* configure.ac: 0.32.4.cvs.2

	* dmachinemon/dmachinemon-servent-libroute.c (dm_get_lastitem) 
	(dm_get_itemsexceptlast): declare dm_get_itemsexceptlast 
	etc.

2002-11-17  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/gtk/rnasmonitor-layer-text.c (displayfunction): free unfreed
	buffer to fix memory leakage problem.

	* tools/rnas/gtk/rnas-monitor-gtk.c (access_master_with_callback): try and fix an error condition cleaning.
	(iterate_database): fix description.

	* tools/rnas/gtk/loadplugin.c (load_plugins): update doc.

	* tools/rnas/gtk/utility.c (getnthlisp): note what kind of 
	return this thing gives back.

	* configure.ac: 0.32.4.cvs.1

	* tools/rnas/gtk/rnasmonitor-singlepoint.c (displayfunction): remove warning on duplicate DOC++ comment.

	* tools/rnas/gtk/test/interactive-run.sh (BG): change the logic for display.

	* tools/rnas/gtk/rnasmonitor-singlepoint.c (displayfunction): fix the logic for x and y plotting.

2002-11-16  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.4
	Build was not working with some automake vers.

	* tools/rnas/Makefile.am (EXTRA_DIST): some workaround.

	* configure.ac: 0.32.3
	Some hacking was done. Release this.

	* tools/rnas/gtk/rnasmonitor-layer-text.c (displayfunction): change layer handling routine.
	(displayfunction): layer handling is fixed, optional parameter for specifying the layer root value (3) is available.

	* tools/rnas/gtk/rnasmonitor-progress.c (rnas_monitor_initialize): fix typo.
	(create_window_new): changes to default value.

	* tools/rnas/gtk/test/interactive-run.sh: update.

	* tools/rnas/gtk/Makefile.am (pkglib_LTLIBRARIES): progress.

	* tools/rnas/gtk/rnasmonitor-progress.c (rnas_monitor_initialize): new file.
	Change required params.
	(displayfunction): 

	* tools/rnas/gtk/rnasmonitor-layer-text.c: new file.

	* tools/rnas/gtk/Makefile.am (pkglib_LTLIBRARIES): add layer text 
	plugin
	(rnasmonitor_layer_text_la_LDFLAGS): others.

2002-11-14  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/gtk/test/interactive-run.sh (PORT): changed to use the 
	replay-long-test data instead.

2002-11-13  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/gtk/test/interactive-run.sh (BG): update test routine comments.

	* dmachinemon/test-loadwrite.c: update comment in the file.

	* dmachinemon/test-loadfileloop.c (main): fix the comments in the file.

2002-11-12  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/gtk/test/interactive-run.sh (BG): make it sleep 1s only.

	* configure.ac: 0.32.2.cvs.5

	* tools/rnas/gtk/test/interactive-run.sh: Change minorly to use better data.

2002-10-30  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/Makefile.am (EXTRA_DIST): add replay-basic-test

	* tools/rnas/gtk/rnasmonitor-text.c (displayfunction): little debug.

	* configure.ac: 0.32.2.cvs.4

	* tools/rnas/rnas-replay-multi.c (main): fix typo,
	replay multi.

2002-10-25  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.2.cvs.3

	* dmachinemon/dmachinemon-master.c (handle_clients): error checking.
	check if incoming data is NULL.
	(handle_nodes): add error checking.
	(handle_nodes): more verbosity
	(handle_nodes): fix logic typo

	* configure.ac: 0.32.2.cvs.2

	* tools/rnas/rnas-dump-plain.c (iterate_database): 
	* tools/rnas/rnas-dump-xml.c (iterate_database): 
	* tools/rnas/rnas-dump.c (iterate_database): fixed error string to add \n

	* dmachinemon/libsocket.c: document that -1 is returned on error.
	Check socket() call return value.

2002-10-24  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/libsocket.c (dm_tcp_host_setup): minor doc update.

2002-10-23  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/gtk/test/interactive-run.sh: add interactive running rule.

	* tools/rnas/gtk/Makefile.am (EXTRA_DIST): add interactive-run.sh

2002-10-22  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.2.cvs.1

2002-10-21  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmclean.in:
	* tools/dmscripts/dmrun.in:
	* tools/dmscripts/dmboot.in (DMACHINELIST): check if file exists.

2002-10-20  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.2

	* dmachinemon/libsocket.c (dm_tcp_host_setup): make SO_REUSEADDR to be on by default.

2002-10-19  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.1.cvs.6

	* Makefile.am (%.3): 
	* dmachinemon/Makefile.am (doc-stamp): use "true" for DOCPP and C2MAN fallback.

	* dmachinemon/dmachinemon-servent-libroute.c (dm_send_route): detect asprintf error.

	* tools/dmscripts/README: update document.

2002-10-15  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/libsocket.c (dm_tcp_host_setup): add hack with getenv and SETSOCKOPTHACK=yes option.

2002-10-14  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.1.cvs.5

	* tools/rnas/rnas-replay-single.c (main): daemonize.

	* tools/rnas/rnas-replay-multi.c (main): add optional daemonize

	* dmachinemon/dmachinemon-commandlineparser.c (dmachinemon_parse_options): add notes that 
	-v0 will make the program to be daemonized.

	* dmachinemon/Makefile.am (pkginclude_HEADERS): add daemonize.

	* dmachinemon/dmachinemon-daemonize.h (dm_daemonize): daemonize header added.

	* dmachinemon/dmachinemon.h: daemonize header added.

	* dmachinemon/dmachinemon-servent.c (main): call daemonize.

	* dmachinemon/Makefile.am (libdnas_core_la_SOURCES): add source to core.

	* dmachinemon/dmachinemon-daemonize.c (dm_daemonize): new function, new source.

	* dmachinemon/dmachinemon-master.c (main): daemonize when -v0.
	(main): daemonize routine moved.

2002-10-13  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.1.cvs.4

	* tools/rnas/rnas-replay-multi.c (clientserver): exit (1) on error to create
	a host.

	* dmachinemon/libsocket.c (dm_tcp_host_setup): add SO_REUSEADDR socket option. (That is not doing much good...)
	(dm_tcp_host_setup): add notes that this function does not return unless error occurs.

	* tools/rnas/rnas-replay-multi.c (load_file): add debug message

	* tools/rnas/rnas-dump-plain.c (main): fix parameter parsing bit to allow no-parameter.

2002-10-11  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.1.cvs.3
	
	* tools/rnas/Makefile.am (rnas-dump-plain.1): new rule
	
	* tools/rnas/Makefile.am: some more updates to make things work.

	* tools/rnas/Makefile.am (rnas_dump_plain_SOURCES): add rule.
	(bin_PROGRAMS): add
	(nodist_man_MANS): add manpage 

	* tools/rnas/rnas-dump-plain.c: create manual.
	(iterate_database_for_searchstrings, iterate_database): modify and cater for 

	* tools/rnas/Makefile.am (CLEANFILES): update rule so that all manpages are cleaned.
	(rnas-dump.1): rule to generate manpage from source.

	* tools/rnas/rnas-dump.c: create manpage from source

2002-10-10  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.1.cvs.2

	* dmachinemon/dmachinemon-servent.c (do_main_loop): 1000000 to 1000000L

	* tools/rnas/rnas-replay-multi.c: create a lock
	(load_file): lock
	(send_info): lock
	(main): add sleeping, and looping.
	(main): invoke clientserver as a different thread.

	* tools/rnas/Makefile.am (rnas_replay_multi_CFLAGS): add rnas-replay-multi rules
	(nodist_man_MANS): add.
	(bin_PROGRAMS): add
	(rnas-replay-multi.1): add

	* tools/rnas/rnas-replay-single.c: fix typo in manual.

	* tools/rnas/rnas-replay-multi.c: create skeletal multi-play util.
	sleep for set value, and switch to next template.

2002-10-07  Junichi Uekawa  <dancer@debian.org>

	* increase version to 0.32.1.cvs.1

2002-10-06  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/Makefile.am (CLEANFILES): add things here so that make distcheck works.

	* Makefile.am (EXTRA_DIST): add getloadavg.c to extra dist target

	* getloadavg.c (getloadavg): add a dummy getloadavg.c
	would it work?

	* tools/rnas/Makefile.am (EXTRA_DIST): change rnas-dump-xml manpage to 
	be generated from rnas-dump-xml.c

2002-10-04  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/rnas-replay-single.c (main): remove unused variable.

2002-10-01  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/test/loadwrite.sh: load-write test.

	* dmachinemon/Makefile.am (test_loadwrite_SOURCES): add build rules
	for loadwrite.
	(TESTS): add new test

	* dmachinemon/test-loadwrite.c (main): a debugging file read/write out

	* dmachinemon/test-loadfileloop.c (main): exit with failure on fail.

	* dmachinemon/test/test-loadfileloop.sh: add new test program to test load output.

	* dmachinemon/Makefile.am (check_PROGRAMS): create routines for building the check programs.

	* dmachinemon/test-loadfileloop.c (main): create a testsuite. Stress-testing the database loading.

	* tools/rnas/gtk/Makefile.am (TESTS): move test files over to test/ dir.

2002-09-30  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/Makefile.am (bin_PROGRAMS): fix duplicate EXTRA_DIST

2002-09-28  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/Makefile.am (nodist_man_MANS): add rules to create and dist and clean the manpages.

	* tools/rnas/gtk/rnasmonitor-singlepoint.c (create_window_new): pass "p"
	(displayfunction): use queue_draw instead of draw.
	(displayfunction): debugged some more text, and fixed minor flaws.	

	* tools/rnas/Makefile.am (EXTRA_DIST): add new loadoutput.txt
	a result of running dmachinemon system on a cluster.

	* tools/rnas/rnas-replay-single.c: implemented.

	* tools/rnas/Makefile.am (rnas_replay_single_LDADD): create new prog.
	(rnas-replay-single.1): create manpage from the prog.

	* tools/rnas/gtk/rnas-monitor-gtk.c (timeout_command): manpage autogenerated from source now.

	* tools/rnas/gtk/rnasmonitor-singlepoint.c (displayfunction): add expose event after displaying.

	* configure.ac: define DNAS_MAN_M4 macro in configure for Makefile.ams to use.

	* dmachinemon/Makefile.am (dmachinemon-master.1): use DNAS_MAN_M4 macro

	* man-m4.sh: add include path for DNAS.

	* dmachinemon/dmachinemon-master.c: remove reference to redundant files in manual page.

	* dmachinemon/dmachinemon-servent.c: remove reference to redundant files.

	* tools/rnas/gtk/rnasmonitor-singlepoint.c (create_window_new): rearrange to use the 
	evpose event instead of timeout.
	Use user_data in GDK.

	* man-m4.sh: expand functionality to use M4USECOMMANDPREFIX

	* dmachinemon/dmachinemon-commandlineparser.c (dmachinemon_parse_options): add documentation 
	inside the program.

	* dmachinemon/Makefile.am (dmachinemon-master.1): use dmachinemon-commandlineparser.inc
	(CLEANFILES): add inc file to clean rule.

	* dmachinemon/dmachinemon-commandlineparser.c: create dmachinemon-commandlineparser.inc from this page.

	* dmachinemon/dmachinemon-master.c: include dmachinemon-commandlineparser.inc

	* Makefile.am (EXTRA_DIST): add man-m4.sh to extra dist

	* man-m4.sh: create a script to generate manpages.

	* dmachinemon/Makefile.am (dmachinemon-servent.1): autobuild manual page from
	C source.

	* configure.ac: check for M4 availability.

	* dmachinemon/dmachinemon-master.c: add manual page inside the code.

	* endman.m4: m4 to end manual page output.
	invoke as 
	m4 -P startman.m4 something.c endman.m4

	* startman.m4: m4 to start manual page output

	* configure.ac: do not use changequote.

	* tools/rnas/gtk/test-loadplugin.sh: updated to work with singlepoint

	* tools/rnas/gtk/test-loadplugin-fail.sh: fixed typos and updated things to work.

	* tools/rnas/gtk/rnasmonitor-singlepoint.c (rnas_monitor_initialize): add param checking.

	* tools/rnas/gtk/rnasmonitor-generation.c (rnas_monitor_initialize): add error checking option.

	* tools/rnas/gtk/test-loadplugin.sh: add range check

	* configure.ac: add AC_PREREQ statements.
	use m4_define to DMACHINE_VERSION the value and use that for
	AC_INIT and AC_INIT_AUTOMAKE

2002-09-27  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/gtk/rnasmonitor-singlepoint.c (create_window_new): use drawing area inside a dummy vbox
	(create_window_new): use timeout instead of trying to handle expose events.
	(ICON_HEIGHT): finally somewhat working solution!

	* tools/rnas/gtk/rnas-monitor-gtk.c (callback_createapplicationdata): error check when w = NULL.

	* tools/rnas/gtk/rnasmonitor-generation.c (displayfunction): remove debug value.

	* tools/rnas/gtk/rnasmonitor-text.c (create_window_new): fix decl.

	* tools/rnas/gtk/rnasmonitor-singlepoint.c (create_window_new): fix decl.

	* tools/rnas/gtk/rnas-monitor-gtk.h (rnas_applicationdata): add machine_applicationdata
	(RNASMONITORVERSION): bump version to 2.
	change definition.
	(rnasmonitors): change spec to give more info to create window new routine.

	* tools/rnas/gtk/Makefile.am (pkglib_LTLIBRARIES): add singlepoint.

	* tools/rnas/gtk/rnasmonitor-singlepoint.c: new file. single-point
	bitmap.

	* tools/rnas/gtk/test-loadimage.c (main): test loading image with GTK+

	* tools/rnas/gtk/Makefile.am (dist_pkgdata_DATA): create some data
	(test_loadimage_CFLAGS): rules to create the loadimage.

	* tools/rnas/gtk/test-loadplugin-fail.sh: fail test.

	* tools/rnas/gtk/Makefile.am (TESTS): add fail test.

	* tools/rnas/gtk/loadplugin.c (loadplugin): add check for loadplugin failure.

	* tools/rnas/gtk/Makefile.am (check_PROGRAMS): test-loadplugin-fail.
	which sets the version number to 9999 ( which is not the current version )
	and try to fail.

	* tools/rnas/gtk/loadplugin.c (loadplugin): add dlerror() invocations.

	* tools/rnas/gtk/Makefile.am (test_loadplugin_LDADD): add -ldl

	* tools/rnas/gtk/test-loadplugin.sh: plugins tester.

	* tools/rnas/gtk/test-loadplugin.c (main): create a very simple test suite.

	* tools/rnas/gtk/Makefile.am (test_loadplugin_SOURCES): create new code to test loadplugin.

	* tools/rnas/gtk/test-loadplugin.c: loadplugin test program.

	* tools/rnas/gtk/Makefile.am (pkglib_LTLIBRARIES): move pkglib_LTLIBRARIES to inside the if
	clause so that they won't be built without GTK+ support

	* tools/rnas/gtk/utility.c (getnthlisp): move over utility funcs for the plugin side 
	to a new file.

	* tools/rnas/gtk/loadplugin.c: new file to split out functions from the main file.

	* tools/rnas/gtk/Makefile.am (pkglib_LTLIBRARIES): remove barplugin
	from build rules.
	Remove barplugin files. They are not functional.
	(rnas_monitor_gtk_SOURCES): add loadplugin

	* tools/rnas/gtk/rnas-monitor-gtk.c (rnas_dump_printhelp): fix up the 
	help message

	* tools/rnas/gtk/rnas-monitor-gtk.h (rnas_applicationdata): add many comments to the source code so that doc++ will create a pretty enough output.

	* tools/rnas/gtk/Makefile.am (doc-stamp): add doc rules
	(clean-local): add clean rules.
	create with doc++ for all-local rule.

	* tools/rnas/gtk/rnas-monitor-gtk.c (loadplugin): added check for the interface version.

	* tools/rnas/gtk/rnas-monitor-gtk.h (VERIFY_RNASVERSION): some version defining routines.

2002-09-26  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/gtk/rnasmonitor-text.c (rnas_monitor_initialize): use INITIALIZE_RNASMONITOR

	* tools/rnas/gtk/rnasmonitor-generation.c (rnas_monitor_initialize): use INITIALIZE_RNASMONITOR

	* tools/rnas/gtk/rnas-monitor-gtk.h (INITIALIZE_RNASMONITOR): define.

	* tools/rnas/gtk/barplugin.c (rnas_monitor_initialize): use INITIALIZE_RNASMONITOR

	* tools/rnas/gtk/rnas-monitor-gtk.c (callback_createapplicationdata): fix typo.
	(iterate_database): a major  change. r->w moved over to m->w.

	* tools/rnas/gtk/rnasmonitor-text.c (rnas_monitor_initialize): new func created.

	* tools/rnas/gtk/rnas-monitor-gtk.h: specify the error codes.

	* tools/rnas/gtk/rnas-monitor-gtk.c (require_lisp_params): add more strict check on what is going on.
	(loadplugin): reorder the lisp initialization routine, so that things are better handled.
	(getnthlisp): more strict actions.
	(loadplugin): errir check the return type.

	* tools/rnas/gtk/Makefile.am (rnas_monitor_gtk_CFLAGS): add  RNAS_MONITOR_GTK_MAIN_CODE to rnas-monitor-gtk app.

	* tools/rnas/gtk/rnas-monitor-gtk.h: other things.

	* tools/rnas/gtk/Makefile.am (rnasmonitor_generation_la_SOURCES): add things to the rules, so that this code builds.

	* tools/rnas/gtk/rnasmonitor-generation.c (displayfunction): try and display the current generation, with max.

	* tools/rnas/gtk/rnas-monitor-gtk.c (getnthlisp): get the lisp data for nth entry.
	(getnthlisp, require_lisp_params): define those funcs for othe apps to use.

	* tools/rnas/gtk/rnasmonitor-generation.c (create_window_new): new file to get generations done.

	* tools/rnas/gtk/barplugin.c: remove rnas-common

	* tools/rnas/gtk/rnas-monitor-gtk.c (loadplugin): fix logic error when there are more than one item.

	* tools/rnas/gtk/Makefile.am: change the rule to generate rnasmonitor-*.so

	* tools/rnas/gtk/rnas-monitor-gtk.c (loadplugin): change it so that plugins are prepended with rnasmonitor-*.so

	* tools/rnas/gtk/barplugin.c (rnas_monitor_initialize): add version to notice.

	* tools/rnas/gtk/rnas-monitor-gtk.c (timeout_command): use access master with callback.

	* tools/rnas/gtk/rnas-monitor-gtk.h: require new implementations.

	* tools/rnas/gtk/barplugin.c (create_window_new): implement new function.

	* tools/rnas/gtk/Makefile.am (rnas_monitor_gtk_SOURCES): remove the rnas-common files.

	* tools/rnas/gtk/rnas-monitor-gtk.c (main): add gtk_init.
	(access_master): I need my own version, move it out of common.

	* tools/rnas/gtk/rnas-monitor-gtk-mainwindow.c: create the file from 
	dmachinemon-gtkiface-gtk.c
	(CreateHeadings): Add a hostname heading place.

	* tools/rnas/gtk/barplugin.c (rnas_monitor_initialize): first dummy plugin module.
	It works.
	./tools/rnas/gtk/rnas-monitor-gtk -p cambria -- "(barplugin hoge)"
	
	* tools/rnas/gtk/rnas-monitor-gtk.c (loadplugin): a plugin loader routine.

	* tools/rnas/gtk/Makefile.am (rnas_monitor_gtk_SOURCES): add 

	* tools/rnas/gtk/rnas-monitor-gtk.h (RNAS_MONITOR_GTK_H_): create new file

	* tools/rnas/gtk/rnas-monitor-gtk.c (load_plugins): use fmemopen to read strings.

	* tools/rnas/gtk/Makefile.am (barplugin_la_LIBADD)
	(barplugin_la_LDFLAGS, libexec_LTLIBRARIES, etc):  rules.
	(rnas_monitor_gtk_CFLAGS): add PKGLIBDIR definition.

	* tools/rnas/gtk/barplugin.c: test create

	* tools/rnas/gtk/rnas-monitor-gtk.c: use dlispparser.h

	* configure.ac: add libdlisp check.

	* tools/rnas/gtk/rnas-monitor-gtk.c (timeout_command): create.
	(main_loop): call timeout command using gtk_timeout_add
	(main): call main_loop.

	* configure.ac: add tools/rnas/gtk/Makefile to config files.

	* tools/rnas/Makefile.am (SUBDIRS): add gtk to subdir.

	* tools/rnas/gtk/Makefile.am (rnas_monitor_gtk_SOURCES): add sources to this target

	* tools/rnas/Makefile.am (rnas_dump_xml_SOURCES) 
	(rnas_dump_SOURCES): add rnas-common.[ch]

	* tools/rnas/rnas-dump.c: 
	* tools/rnas/rnas-dump-xml.c: remove access_master, include rnas-common.h

	* tools/rnas/rnas-common.c (access_master): generate new file to merge two.
	* tools/rnas/rnas-common.h (access_master): define

	* tools/rnas/Makefile.am (rnas_dump_xml_CFLAGS): add def for PROGRAMNAME
	(rnas_dump_CFLAGS): add def for PROGRAMNAME

	* tools/rnas/rnas-dump.c (iterate_database): fix typo

	* tools/rnas/rnas-dump-xml.c (access_master): ditto

	* tools/rnas/rnas-dump.c (iterate_database): minor cosmetic change in code.

2002-09-24  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: use AC_HELP_STRING to format the help string.
	set AC_PROG_MAKE_SET, because I use SUBDIRS.

2002-09-14  Junichi Uekawa  <dancer@debian.org>

	* README.Solaris (Todo): reduce the number of fixes required for
	a working solaris port.

2002-09-12  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmboot.in (DSHOPT): add error handling.
	if running dmachinemon-master/servent fails and exits with error 1, 
	"kill $$", which is the main process.

2002-08-20  Junichi Uekawa  <dancer@debian.org>

	* debian/rules (configure-stamp): update ./configure rules.
	(clean): remove shlibs.local

	* debian/control (Build-Depends): require 0.3 of d-shlibs.

	* debian/rules (clean): shlibs.local, and shlibs.local.debianin removed.
	use hacks so that things are installed

2002-08-17  Junichi Uekawa  <dancer@debian.org>

	* tools/treeview/superproxy.c (handle_clients): make more verbose error messages
	(main): more error checking in params.
	remove dollar. Log: ChangeLog,v dollar.   which was annoying.

2002-08-15  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmrun.in (PROGNAME): change $@ to "$@"

2002-08-13  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.32.1
	release.

2002-08-08  Junichi Uekawa  <dancer@debian.org>

	* tools/rnas/rnas-dump-xml.c (main): add -x option support.

	* tools/xmloutput/dmachinemon-xmloutput.c (main): add missing carriage return

	* tools/rnas/rnas-dump-xml.1: create manpage

	* tools/rnas/Makefile.am (rnas_dump_xml_SOURCES): update to add rnas-dump-xml

	* tools/rnas/rnas-dump-xml.c (main): create a XML version.

	* tools/rnas/rnas-dump.c (iterate_database): support multiple TAGs, so that output is done with 
	space-delimited way
	(iterate_database_for_searchstrings): new func.

	* README.Solaris (Todo): update doc.

2002-08-06  Junichi Uekawa  <dancer@debian.org>

	* tools/gtkiface/Makefile.am (dist_man_MANS): ditto
	* tools/machinemon/Makefile.am (dist_man_MANS): ditto
	* tools/xmloutput/Makefile.am (dist_man_MANS): ditto
	* tools/htmloutput/Makefile.am (dist_man_MANS): ditto
	* tools/netload/Makefile.am (dist_man_MANS): EXTRA_DIST to dist_man_MANS

	* tools/dmscripts/Makefile.am (dist_man_MANS, EXTRA_DIST): change to dist_man_MANS and change some
	parts

	* dmachinemon/Makefile.am (EXTRA_DIST, dist_man_MANS): add and move around manpages.

	* tools/treeview/superproxy.1: create

	* tools/treeview/treeview.1: create

	* tools/treeview/treeview-3ddotout.1: create

	* tools/treeview/treeview-vcg.1: fix typo

	* tools/treeview/Makefile.am (dist_man_MANS): change from extra_dist to dist_man_MANS

	* tools/rnas/rnas-dump.1: create

	* tools/rnas/Makefile.am (dist_man_MANS): add rnas-dump.1 manpage

2002-08-05  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/dmachinemon-libp2papplication.h: update 
	documentation strings slightly.

	* tools/rnas/rnas-dump.c (iterate_database): implementation

	* configure.ac: revert it to make it work with automake1.5, 
	for the time being.

	* tools/Makefile.am: removed unused "all:" target.

	* configure.ac: 
	bump to 0.32.0

	* tools/rnas/Makefile.am: create new file

	* tools/rnas/rnas-dump.c: create new file.

	* tools/Makefile.am (SUBDIRS): add rnas, Remote Network Application Service

2002-07-26  Junichi Uekawa  <dancer@debian.org>

	* Makefile.am (%.3): fix rule to build manpages.

	* dmachinemon/Makefile.am (doc-stamp): fix rule to build docs.

2002-07-23  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.31.3

	* Makefile.am: change decaton rules for viper2.

2002-07-19  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/dmachinemon-master.c (tcphosts): handle error returned from dm_tcp_host_setup.
	(main): ditto

	* dmachinemon/dmachinemon-servent-libroute.c (REJLOOPTIME): add definition of rejloop sleep time.
	* dmachinemon/dmachinemon-servent-libroute.c (dm_obtain_route): add sleep to rejloop routine.

	* tools/dmscripts/Makefile.am (dmrun): fix build rule to run sed for @TEMPFILE@ as well.

	* tools/dmscripts/dmrun.in: use @TEMPFILE@ instead of directly using tempfile
	* configure.ac: add check for tempfile command, and some hackery if it doesn't exist.

	* tools/dmscripts/dmclean.1: dmachinemon->DNAS
	* tools/dmscripts/dmrun.1: fix typo, and other things.
	* tools/dmscripts/dmboot.1: fix typo.
	fix typo.
	change to DNAS

	* configure.ac: version 0.31.2, because of incompatible interface.

	* dmachinemon/dmachinemon-master.1: 
	* dmachinemon/dmachinemon-servent.1: add documentation for --threshold

	* dmachinemon/dmachinemon-commandlineparser.c (dmachinemon_print_commandline_help): add -t --threshold option
	for setting clientseencount_threshold
	(initialize_cdat): default value
	(query_cdat): debugging
	(dmachinemon_parse_options): add 

	* dmachinemon/dmachinemon-commandlineparser.h (dm_commandoption): add clientseencount_threshold

	* dmachinemon/dmachinemon-libdatabase.h (CLIENTSEENCOUNT_THRESHOLD): remove the definition to 50.

	* dmachinemon/dmachinemon-servent-libroute.c (dm_randomly_change_route_to): 
	* dmachinemon/dmachinemon-servent-libroute.c (count_active_direct_downlinks): 
	* dmachinemon/dmachinemon-master-clienthandler.c (output_machines): change CLIENTSEENCOUNT_THRESHOLD to 
	cdat->clientseencount_threshold

2002-07-18  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: version 0.31.1

	* Makefile.am (%.3): add some check

        * *.3: add manpages to cvs repository, instead of ignoring them.
	
	* dmachinemon/Makefile.am (doc-stamp): use DOCPP variable instead of using doc++ directly.

	* configure.ac: add check for doc++

	* .cvsignore: add *.3 to ignore list.

	* autogen.sh: remove configure invocation from autogen.

	* Makefile.am (%.3): use C2MAN variable.

	* configure.ac: add check for c2man

	* debian/control (Build-Depends): add c2man

	* Makefile.am (%.3): add rule to generate manpages for libp2pinterface, using c2man

	* dmachinemon/dmachinemon-libp2papplication.[ch]: remove doc++ comments from .c to .h

2002-07-01  Junichi Uekawa  <dancer@debian.org>

	* tools/xmloutput/dnas-xmloutput.xsl: change the output to XHTML so that Mozilla 1.1 would parse.

	* dmachinemon/dmachinemon-servent-libroute.c (dm_obtain_route): use dshconfig routine instead.

	* tools/dmscripts/Makefile.am: add man_MAN. 
	use $? instead of $<

	* configure.ac: version 0.31.0

	* tools/netload/dmachinemon-netload.c: migration from dm to DNAS
	* tools/machinemon/machinemon.c

	* dmachinemon/dmachinemon-libp2papplication.c: change func names from 
	dm_* to DNAS_*

	* tools/dmscripts/dmrun.1: update doc.

	* tools/dmscripts/dmrun.in (PROGNAME): add debug option. -d

	* dmachinemon/dmachinemon.h: add ifdef cplusplus
	fix extern "C".

	* Documentation/dmachinemon-doc.sgml: updated the doc slightly.

2002-06-29  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/Makefile.am (lib_LTLIBRARIES): change the order of 
	libraries.

	* configure.ac: 0.30.9

	* dmachinemon/dmachinemon-libdatabase.c (dm_process_nodes_input): update to use dshconfig_splitline

	* configure.ac: add check for libdshconfig.
	add new func to check for, dshconfig_internal.

	* README: update notes.

	* INSTALL: update doc.

	* tools/{xmloutput,htmloutput,gtkiface,machinemon,netload,treeview,xmloutput}/Makefile.am (dmachinemon_htmloutput_LDADD): update to use libdnas-core.la, or libdnas-application.la

	* dmachinemon/Makefile.am (libdnas_core_la_SOURCES): add libdmsocket, libdnas-core, libdnas-application

	* tools/gtkiface/dmachinemon-gtkiface.1: update man page

2002-06-27  Junichi Uekawa  <dancer@debian.org>

	* README: update.

	* INSTALL: update doc slightly.

2002-06-26  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: require automake 1.6
	version 0.30.8

	* tools/xmloutput/dnas-xmloutput.xsl: use @machinename instead of machine element which may or may not exist.

	* tools/htmloutput/dmachinemon-htmloutput.c (processing_command): use new->machinename instead of trying to 
	obtain "machine" field of the database. (to support machinemon)

2002-06-25  Junichi Uekawa  <dancer@debian.org>

	* configure.ac: 0.30.7, compiles with solaris, does not run quite yet.
	Almost compiles with AIX

	* tools/treeview/treeview.c: remove log.

	* tools/treeview/treeview-dotout.c: remove log

	* tools/treeview/treeview-3ddotout.c: remove Log

	* tools/machinemon/machinemon.c: add config.h and compat-internal.h
	(dm_sendlong): fix bug.
	add unistd.h
	(nodeinfo_write_out): update

	* tools/netload/dmachinemon-netload.c: add config.h and compat-internal.h	

	* tools/xmloutput/dmachinemon-xmloutput.c (main): fix bug in non-matching format and data.

	* dmachinemon/dmachinemon-libp2papplication.c (dm_sendinfo): make the statment unambiguous.

	* dmachinemon/dmachinemon-servent-libroute.c (dm_obtain_route): remove redundant comment
	* dmachinemon/dmachinemon-libdatabase.c (dm_get_value_text): ditto
	* tools/treeview/treeview-3ddotout.c (GRAPHICCENTER): ditto
	
	* dmachinemon/libsocket.c (dm_connect_to_host): change from // to /* */ for comments,
	because // is a C99 extention, which is not supported everywhere.
	(dm_tcp_host_setup): 
	* dmachinemon/dmachinemon-libdatabase.h (dm_pairstring): 
	* dmachinemon/dmachinemon-libnodeinfo.c (dm_nodeinfo_write_out): ditto
	* dmachinemon/dmachinemon-libp2papplication.c (dm_Init) 
	(dm_sendinfo, dm_gatherinfo): ditto
	* dmachinemon/dmachinemon-servent-libroute.c (dm_obtain_route): ditto
	* dmachinemon/dmachinemon-libdatabase.c (dm_get_value_text): fix // to /**/
	(dm_get_value_float): ditto
	(dm_search_machine): ditto
	(dm_process_nodes_input): ditto

	* configure.ac: rename to ac.
	remove the version/package name call from AM_INIT_AUTOMAKE invocation.

	* configure.in: remove pdga
	add $LIBS and $CFLAGS to be effective, not overwriting.
	added check for AC_CHECK_FUNC and AC_CHECK_LIB.

	* tools/Makefile.am (SUBDIRS): remove pdga

	* dmachinemon/compat-internal.h (getline): fix typo.

	* INSTALL: update install notes.

	* tools/gtkiface/Makefile.am (dmachinemon_gtkiface_CFLAGS): change INCLUDES to dmachinemon_gtkiface_CFLAGS

	* dmachinemon/compat-internal.h: remove warning.

	* tools/dmscripts/dm{boot,clean,run}.{in,1} (DSHOPT): set dmachinelist with -f option.

	* configure.in: 0.30.6

	* tools/xmloutput/dnas-xmloutput.xsl: use memused - membuffers - memcached here also.

	* tools/htmloutput/dmachinemon-htmloutput.c (processing_command): memused - membuffers - memcached
	is used here instead too.

	* tools/gtkiface/dmachinemon-gtkiface.c (timeout_command): use memused - membuffers - memcached as 
	used memory.

	* configure.in: 0.30.5

	* README.Solaris (Todo): update todo item.

	* dmachinemon/dmachinemon-servent-libroute.c: add config.h and compat-internal.h

	* dmachinemon/dmachinemon-libdatabase.c: add config.h and compat-internal.h

	* README.Solaris (done): update doc.
	(Todo): update.

	* dmachinemon/dmachinemon-commandlineparser.c: add check for getopt.h
	(dmachinemon_parse_options): add compatibility getopt_long declaration.
	add unistd.h

	* dmachinemon/compat-internal.h: added for compatibility functions.
	(getline): copy and paste getline/asprintf implementation from dsh.

	* dmachinemon/Makefile.am (libdmachinemon_la_SOURCES): added compat-internal.h

	* configure.in: add CHECK_FUNCS for getline, asprintf, getopt_long
	and check header for getopt.h

	* README.Solaris: update the docs.

	* tools/xmloutput/dnas-xmloutput.xsl: fixed typo in sort element.

2002-06-22  Junichi Uekawa  <dancer@debian.org>

	* tools/xmloutput/Makefile.am: add manpage to extra dist.

2002-06-21  Junichi Uekawa  <dancer@debian.org>

	* configure.in: 0.30.4

	* tools/treeview/treeview-vcg.c (malloc_with_error): fix some minor

	* debian/dmachinemon-treeview.files: add vcg in this package.

	* debian/rules (binary-arch): install the manpage to treeview package.

	* debian/control (Depends): add vcg to Depends:

	* tools/treeview/treeview-vcg.1: created a manpage.

	* tools/treeview/Makefile.am (EXTRA_DIST): add treeview-vcg.1 manpage

2002-06-19  Junichi Uekawa  <dancer@debian.org>

	* tools/treeview/Makefile.am (treeview_vcg_SOURCES): added vcg version to targets

	* tools/treeview/treeview-vcg.c (display_local_route_tree): create

	* tools/xmloutput/dnas-xmloutput.xsl: fixed a bug in scripting.

2002-06-18  Junichi Uekawa  <dancer@debian.org>

	* configure.in: 0.30.3

	* tools/gtkiface/dmachinemon-gtkiface-gtk.c (apptitle_clicked): remove the global server_name
	and use the available info.
	(CreateMainWindow): remove setting server_name
	(apptitle_clicked): made it const.

	* configure.in (IGNOREGTK): change to enable GTK+ by default.

2002-06-15  Junichi Uekawa  <dancer@debian.org>

	* tools/xmloutput/dnas-xmloutput.xsl: 
	* tools/xmloutput/dnas-xmloutput.css: fixed some stupidly large image problem.

	* configure.in: 0.30.2

	* tools/xmloutput/Makefile.am (pkgdata_DATA): add things to here.

	* tools/xmloutput/dnas-xmloutput.css: add

	* tools/xmloutput/dnas-xmloutput.xsl: much modifications.

	* tools/htmloutput/dmachinemon-htmloutput.1: update to remove reference to execute_dmachinemonhtml

	* tools/xmloutput/dmachinemon-xmloutput.1: create

	* tools/xmloutput/Makefile.am (EXTRA_DIST): add dnas-xmloutput.xsl to extra dist.

	* tools/xmloutput/dnas-xmloutput.xsl: create as a template.

	* tools/xmloutput/dmachinemon-xmloutput.c (main): add a default xsl specification header to the XML file
	(main): add more meta information. DTD changed incompatibly.

	* configure.in: 0.30.1
	Maybe not a redesign :P

	* debian/rules (clean): remove *.tar.gz

	* Makefile.am (upload-dist-all): add upload-dist-all target.

	* debian/control (Build-Depends): ad d-shlibs.

	* tools/gtkiface/dmachinemon-gtkiface-gtk.c: Implemented click-hostname-to-login feature.
	It is very partially done, and tailored to needs of our own clusters.

2002-06-14  Junichi Uekawa  <dancer@debian.org>

	* tools/machinemon/machinemon.1: add notes.

	* configure.in: bump to 0.30.0, coming to a major redesign.

	* tools/machinemon/machinemon.1: created

	* configure.in: add tools/machinemon/Makefile

	* tools/machinemon/Makefile.am: create anew

	* tools/Makefile.am (SUBDIRS): add machinemon

	* tools/machinemon/machinemon.c: new file.

2002-06-13  Junichi Uekawa  <dancer@debian.org>

	* configure.in: 0.12.6

	* Makefile.am: add rule to upload to mikilab.

2002-06-12  Junichi Uekawa  <dancer@debian.org>

	* configure.in: version 0.12.5

	* tools/gtkiface/dmachinemon-gtkiface.c (main): Run timeout_command manually for the first time to get an initial display output.
	This improves the usability of this software.

	* tools/gtkiface/dmachinemon-gtkiface-gtk.c (CreateMainWindow): fix typo

	* tools/gtkiface/dmachinemon-gtkiface.c (main): use target hostname for title.

	* tools/gtkiface/dmachinemon-gtkiface-gtk.c (CreateMainWindow): add set-title routine.

	* tools/gtkiface/dmachinemon-gtkiface.h: change decl.

	* configure.in: 0.12.4

	* Makefile.am (EXTRA_DIST): remove execute_dmachinemon/html scripts
	remove execute_dmachinemon{,html}{,.1}

2002-06-11  Junichi Uekawa  <dancer@debian.org>

	* configure.in: bump to 0.12.3

	* dmachinemon-node.[c1]: remove.

	* .cvsignore: add ignore

	* configure.in: 0.12.2
	* autogen.sh: use -c for automake. symlinks are not handled well in diff.
	
	* dmachinemon/Makefile.am (doc-stamp): remove redundant rule to build ps docs.

	* configure.in: 0.12.1

	* example/Makefile.am (${builddir}/%): modified a bit.
	(${pkgdata_DATA}): some more tricks.
	(EXTRA_DIST): fix extra dist.

2002-06-10  Junichi Uekawa  <dancer@debian.org>

	* configure.in: version 0.12.0

	* Makefile.am (../@PACKAGE@_@VERSION@.orig.tar.gz): improved the orig.tar.gz script

2002-06-03  Junichi Uekawa  <dancer@debian.org>

	* example/Makefile.am (%): add copy rule to make things compile.

	* Makefile.am (EXTRA_DIST): remove configure.in.debianin

	* dmachinemon/libsocket.h (dm_handle_incoming_params): change
	from struct to typedef struct. I was defining a global variable
	before.

	* configure.in: remove the stupid note warning not to edit this file.
	(IGNOREGTK): ignoregtk seems to be fishy, but I'll leave it as it is
	since it seems to be functioning.
	(IGNOREGTK): change it slightly to make it better-looking..

2002-06-01  Junichi Uekawa  <dancer@debian.org>

	* autogen.sh: add ./configure to the end.

	* debian/rules (build-stamp): remove configure.in.debianin and 
	rules to autobuild them

	* configure.in: added AM_MAINTAINER_MODE

2002-05-31  Junichi Uekawa  <dancer@debian.org>

	* debian/changelog: non-native package. 0.12-1

	* configure.in: change version to 0.12pre

	* Makefile.am: add decaton and debiandist target to makefile

2002-05-28  Junichi Uekawa  <dancer@debian.org>

	* tools/htmloutput/dmachinemon-htmloutput.c (main): fixed a bug with warning from
	  gcc-3.1, fixed the multi-line string literal.

2002-05-27  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmrun.1: clarify documentation.

	* Documentation/Makefile.am: fix the make rules.

2002-05-26  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmrun.1: add a note to no cd to ${PWD}

	* tools/dmscripts/dmrun.in (PROGNAME): cannot cd to ${PWD}

	* tools/dmscripts/dmclean.1:  document the -n option. 
	* tools/dmscripts/dmrun.1:  ditto
	* tools/dmscripts/dmboot.1:  ditto

	* tools/dmscripts/dmclean.in (DSHOPT): -n option, uses -n option of dsh. 
	* tools/dmscripts/dmrun.in (DSHOPT): ditto 
	* tools/dmscripts/dmboot.in (DSHOPT): ditto

	* dmachinemon/dmachinemon-servent-libroute.c (dm_randomly_change_route_to): fix obvious typo in debug message, 
	and strange comment that predates cdat.
	(dm_randomly_change_route_to): add debug message.
	(is_this_link_a_direct_link): find a fatal flaw in debug string sending routine.
	There was a problem with detecting is_this_link_a_direct_link
	this bug was there since 22 May 2002. Hosts weren't relinking at all.
	(is_this_link_a_direct_link): found another flaw. fixing.

2002-05-25  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/dmachinemon-libp2papplication.c (dm_Init): change cosmetic.
	(dm_Init): add hostname info.

	* debian/rules (binary-arch): update build rules to include netload manpage

	* tools/netload/Makefile.am (EXTRA_DIST): add dmachinemon-netload.1

	* tools/netload/dmachinemon-netload.1: created a manpage

	* tools/netload/dmachinemon-netload.c (processing_command): pclose filebuf.
	(main): remove the unnecessary error checking.
	(processing_command): fix typo

	* tools/pdga/Makefile.am (noinst_PROGRAMS): move pdga no noinst. This program does not function.

	* dmachinemon/dmachinemon-commandlineparser.c (dmachinemon_parse_options): fix bug.
	really allow static-link flags.

	* tools/dmscripts/.cvsignore: ignore autogenerated scripts dmboot/dmclean/dmrun

	* dmachinemon/Makefile.am (dmachinemon_servent_SOURCES): add include files 
	to pkginclude_HEADERS

	* example/Makefile.am: change to pkgdata_DATA instead of EXTRA_DIST

	* tools/dmscripts/dmboot.in: Create dmboot.in etc. files, and 
	cal dmachinemon-master/servent with full-path.

	* tools/dmscripts/Makefile.am: updated rules to use *.in, and do some sed magic.

	* debian/.cvsignore: enhanced the ignore rule.

	* debian/control (Depends): add devlibs:Depends.

	* debian/rules (clean): no longer autogenerate debian/control

	* debian/control.debianin (Build-Depends): add d-shlibs to build-deps.

	* debian/rules: try and use d-shlibs.

2002-05-24  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmboot.1: update docs about --externalparent

	* tools/dmscripts/dmboot (EXTERNALPARENT): add external parent support.
	-ep, or --externalparent

2002-05-22  Junichi Uekawa  <dancer@debian.org>

	* Makefile.am (EXTRA_DIST): remove VERSION.h

	* debian/rules: remove reference to VERSION.h

	* tools/gtkiface/dmachinemon-gtkiface.c (main): use VERSION ditto.
	* tools/treeview/treeview-dotout.c (main): ditto
	* tools/treeview/treeview-3ddotout.c: ditto
	* tools/treeview/treeview.c (main): ditto
	* tools/htmloutput/dmachinemon-htmloutput.c (main): ditto
	* tools/xmloutput/dmachinemon-xmloutput.c (main): ditto

	* dmachinemon/dmachinemon-servent.c (main): use VERSION instead of DMACHINEMON_VERSION

	* dmachinemon/dmachinemon-master.c (handle_clients): add debug level support.
	use config.h and VERSION instead of DMACHINEMON_VERSION

	* dmachinemon/dmachinemon-servent.1: add --verbose.

	* dmachinemon/dmachinemon-master.1: add --verbose

	* dmachinemon/dmachinemon-servent.c: move cdat to global.
	(handle_clients): add cdat.

	* dmachinemon/dmachinemon-master.c (handle_clients): cdat support

	* dmachinemon/dmachinemon-master-clienthandler.c (master_send_info_to_client): add  cdat

	* dmachinemon/dmachinemon-master.h (master_send_info_to_client): add cdat.

	* dmachinemon/dmachinemon-master-clienthandler.c (output_machines): add cdat
	add dmachinemon/dmachinemon-commandlineparser.h to includes.

	* dmachinemon/dmachinemon-libp2papplication.c (dm_Init): add support.

	* dmachinemon/dmachinemon-servent-libroute.c (dm_send_route): add new parameter to dm_send_route, cdat.
	(count_active_direct_downlinks): add cdat.
	(is_this_link_a_direct_link): add cdat

	* dmachinemon/dmachinemon-servent.c (do_main_loop): add debug level support
	(do_main_loop): debug level support.

	* dmachinemon/dmachinemon-servent-libroute.c (dm_obtain_route): add debug level support
	(dm_randomly_change_route_to): add

	* dmachinemon/dmachinemon-master-clienthandler.c (output_machines): add debug level support

	* dmachinemon/dmachinemon-libp2papplication.c (dm_Init): add debug level support
	(dm_gatherinfo): add debug level support

	* dmachinemon/dmachinemon-libdatabase.c (dm_process_nodes_input): add debug message level
	(dm_update_db): ditto

	* dmachinemon/dmachinemon-libnodeinfo.c (read_machineload): debug message

	* dmachinemon/dmachinemon-commandlineparser.c (initialize_cdat): add debuglevel
	(query_cdat): add debuglevel
	(dmachinemon_parse_options): add -v --verbose [level]

	* dmachinemon/dmachinemon-commandlineparser.h (dm_commandoption): add debuglevel

	* dmachinemon/dmachinemon-commandlineparser.c (PRINTIT): send it to stderr
	(query_cdat): fix dieonload to be float.

	* dmachinemon/dmachinemon-servent.1: add notes.

	* dmachinemon/dmachinemon-master.1: add notes about --query-opts

	* dmachinemon/dmachinemon-commandlineparser.c (query_cdat): create new func
	(dmachinemon_print_commandline_help): add new option --query-opts
	(dmachinemon_parse_options): add --query-opts
	(query_cdat): add debug messaging.
	(dmachinemon_parse_options): add it really.

	* tools/treeview/superproxy.c (main): fix bug.

	* tools/dmscripts/dmboot.1: document the change.

	* tools/dmscripts/dmboot: allow arbitrary options to be passed to dmachinemon,
	if it is passed to dmboot.

2002-05-21  Junichi Uekawa  <dancer@debian.org>

	* tools/treeview/superproxy.c (handle_clients): add memfree routine.

	* dmachinemon/dmachinemon-libp2papplication.c (dm_gatherinfo): free grandparentlink.
	(dm_gatherinfo): message fix.

	* dmachinemon/dmachinemon-servent-libroute.c: add notes that some functions need 
	memory freeing.

	* dmachinemon/dmachinemon-libp2papplication.c (dm_gatherinfo): memleak fix.
	close(f).

	* dmachinemon/libsocket.c (dm_connect_to_host): fix memleak, close the socket when
	fail.
	(gethostbyname_local): add locked implementation as a workaround for now.
	(dm_connect_to_host): use locked implementation of gethostname.
	(dm_tcp_host_setup): use the locked implementation for now.

	* Documentation/Makefile.am (#PROJECT): remove PROJECT

	* dmachinemon/dmachinemon-libp2papplication.c (dm_sendinfo): fix even more memleak

	* dmachinemon/dmachinemon-servent.c (do_main_loop): remove debug routine.

	* dmachinemon/dmachinemon-libp2papplication.c (dm_sendinfo): found a memleak. Fix it.

	* debian/control.debianin (Description): fixed Section: for libdm.

	* configure.in.debianin: add aclocal.d/Makefile

	* aclocal.d/Makefile.am: add new.

	* tools/treeview/treeview-dotout.c (getcdr): ditto. constize

	* tools/treeview/treeview-3ddotout.c (getcdr): ditto

	* tools/treeview/treeview.c (getcar): const-ize
	(getcdr): const-ize

	* tools/treeview/treeview-3ddotout.c (build_local_route_tree): fixed const disparity

	* tools/treeview/treeview-dotout.c (build_local_route_tree): fixed const disparity

	* tools/treeview/treeview.c (build_local_route_tree): fixed const disparity.

	* .cvsignore: ignore release tar.gz

	* configure.in.debianin: add Documentation/Makefile

	* Documentation/Makefile.am: add new.

	* Makefile.am (SUBDIRS): add files missing from dist.

	* tools/htmloutput/dmachinemon-htmloutput.c (processing_command): change to const char*

	* tools/dmscripts/Makefile.am: fix VPATH support.

	* Makefile.am (bin_SCRIPTS): add VPATH support

	* tools/dmscripts/Makefile.am (bin_SCRIPTS): add VPATH support

	* dmachinemon/Makefile.am (doc-stamp): make the Makefile.am to be aware of VPATH build.

	* dmachinemon/dmachinemon-libp2papplication.c (dm_gatherinfo): add more verbosity in error message.

	* dmachinemon/dmachinemon-libnodeinfo.c (read_topuser): check error state.

2002-05-20  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/dmachinemon-debug.h: remove the debugging messages

	* dmachinemon/libsocket.c (dm_tcp_free_incoming_params): fix prototype.

	* dmachinemon/dmachinemon-master.c (handle_clients): use dm_tcp_free_incoming_params
	(handle_nodes): ditto.

	* dmachinemon/dmachinemon-servent.c (handle_nodes): use dm_tcp_free_incoming_params
	(handle_clients): ditto

	* dmachinemon/Makefile.am (DMACHINEMON_SONAME): new soname, 4:0:0 -- this is not stabilized

	* dmachinemon/libsocket.c (dm_tcp_free_incoming_params): new function. new ABI.

	* dmachinemon/libsocket.h: add new function, new ABI

	* dmachinemon/dmachinemon-master.c (handle_clients): free(data)
	(handle_nodes): ditto.

	* dmachinemon/dmachinemon-servent.c (handle_clients): add free(data);
	(handle_nodes): ditto.

	* dmachinemon/libsocket.c: add debug.
	(dm_tcp_host_setup): note that "params" need to be freed from the called back function.
	This is rather bad news...

	* dmachinemon/dmachinemon-servent-libroute.c: add debug.

	* dmachinemon/dmachinemon-debug.h (strdup): add strdup.
	add notes on what this code does.

	* dmachinemon/Makefile.am (libdmachinemon_la_SOURCES): added debug header to the list of source files.

	* dmachinemon/dmachinemon-debug.h (__jfree): fix bug typo.

	* dmachinemon/dmachinemon-libdatabase.c: add debug.

	* dmachinemon/dmachinemon-debug.h: added new file, and moved declaration to here.

	* dmachinemon/dmachinemon.h (__jfree): added some debugging functions.

	* dmachinemon/dmachinemon-libp2papplication.c (dm_Init): fix  debug, although it is no currently used.

	* dmachinemon/dmachinemon-master-clienthandler.c (check_seenbydepth): add const
	(output_machines): add const to where appropriate.

	* dmachinemon/dmachinemon-libp2papplication.c (dm_gatherinfo): add const

	* dmachinemon/dmachinemon-servent-libroute.c (is_this_link_a_direct_link): use const char*

	* dmachinemon/dmachinemon-libdatabase.h: add const char* to dm_get_value_text (ABI change? -- 
	it only causes compiler warnings.)

	* dmachinemon/dmachinemon-libdatabase.c (dm_search_machine): changed logic to look better.
	(dm_get_value_float): change from char* to const char *
	(dm_get_value_text): ditto

	* dmachinemon/dmachinemon-libnodeinfo.c (read_topuser): slight error checking.

	* dmachinemon/dmachinemon-libdatabase.c (dm_process_nodes_input): fix possible memory leak, ordering is fixed
	(dm_process_nodes_input): add more buf freeing.
	(dm_process_nodes_input): add diagnostic message

2002-05-17  Junichi Uekawa  <dancer@debian.org>

	* INSTALL: update documentation on what it requires.

	* tools/dmscripts/dmboot: add sleep before starting client.

	* tools/dmscripts/dmclean: add some fancy option.

2002-05-16  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/dmachinemon-libdatabase.c (dm_process_nodes_input): add more verbose error message.

2002-05-15  Junichi Uekawa  <dancer@debian.org>

	* tools/htmloutput/dmachinemon-htmloutput.c (processing_command): error handling when dm_get_value_text does not return
	network bandwidth.
	(main): fix the title to use the hostname.

	* aclocal.d: add more files to the dir.

	* dmachinemon/Makefile.am: remove unnecessary commented out code.
	(doc-stamp): change deps for *.c and *.h to none. I don't think
	keeping up the list is useful? May revert later.
	Still does not pass the make distcheck test.

	* Makefile.am: added VERSION.h to the list of EXTRA_DIST

	* autogen.sh: hacking on galley, to make things work on new checkout.

2002-04-30  Junichi Uekawa  <dancer@debian.org>

	* debian/TODO: add note on getaddrinfo.

2002-04-08  Junichi Uekawa  <dancer@debian.org>

	* Documentation/dmachinemon-doc.sgml: update docs
	added 2002 to copyright.

2002-04-01  Junichi Uekawa  <dancer@debian.org>

	* debian/changelog: start of 0.12

	* dmachinemon/dmachinemon-libdatabase.c (dm_process_nodes_input): add error checking,
	and fix some possible buffer overflows.

	* debian/control.debianin (Description): apply description fixes.
	(Description): explain what servent is in the servent package
	description.

2002-03-18  Junichi Uekawa  <dancer@debian.org>

	* debian/rules (configure-stamp): add --with-gtk=yes to debian rule
	./configure method to create GTK+ application.

	* autogen.sh: add -I aclocal.d,
	and re-run.

	* configure.in.debianin: trying to use acx_pthread

	* aclocal.d/acx_pthread.m4: downloaded from gnu.org site, it is covered
	by GPL.
	http://www.gnu.org/software/ac-archive/Installed_Packages/acx_pthread.html

	* tools/gtkiface/Makefile.am: add GTK+ ignoring rule,
	  using IGNOREGTK. I hope it works.

	* configure.in.debianin: add GTK+ ignoring rules.

2002-03-14  Junichi Uekawa  <dancer@debian.org>

	* README.Solaris: created

	* tools/netload/dmachinemon-netload.c (processing_command): 
	This program is Linux specific. Note it.

	* debian/changelog: note the effort to make this portable.

	* dmachinemon/dmachinemon-libdatabase.c (dm_process_nodes_input): 
	make it no longer use sscanf extention for glibc.
	Use strdup, and strchr

	* dmachinemon/dmachinemon-libnodeinfo.c (read_topuser): notes that this function is Very linux specific.

2002-03-13  Junichi Uekawa  <dancer@debian.org>

	* debian/control.debianin (Source): fix explanation for servent,
	  explaining what servent is.

2002-02-27  Junichi Uekawa  <dancer@debian.org>

	* Release 0.10
	* dmachinemon/dmachinemon-commandlineparser.c: fixed help message

2002-02-07  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/dmachinemon-libnodeinfo.c (read_machineload): check for
	HAVE_GETLOADAVG and do alternate.
	I think even without HAVE_GETLOADAVG, there will be a function called
	getloadavg provided by autoconf? Not clear.
	(read_machineload): include config.h to take things in effect!

	* configure.in.debianin: add AC_FUNC_GETLOADAVG

	* dmachinemon/dmachinemon-libnodeinfo.c (read_machineload): using 
	getloadavg() function which seems more portable, instead of 
	trying to parse /proc/loadavg

2002-01-23  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmboot, dmclean, dmrun: missing shift in processing "--" option

	* tools/dmscripts/{dmrun.1,dmclean.1,dmrun.1}: added docs on --rc option.

	* tools/dmscripts/dmclean: added rc option. for alternate resource.

	* tools/dmscripts/dmboot: added rc option. for alternate resource.

	* tools/dmscripts/dmrun: added rc option, to load alternate resource file.

2002-01-20  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmboot: This "wait" should not have existed. 
	It halts.

2002-01-18  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmclean: added final wait for child (this should be unnecessary)
	Output from killall is redirected to /dev/null to make it feel better.
	adding messages on start .

	* tools/dmscripts/dmboot: added final wait.

	* tools/dmscripts/dmrun: added "wait" to wait for the finish.

2002-01-13    <dancer@debian.org>

	* debian/changelog: Changelog is reverted. Bogus entries removed.

	* dmachinemon/Makefile.am: reverted the change. libdmachinemon is the only lib.

	* debian/rules: updated the rule to obtain the soname.

	* dmachinemon/Makefile.am: defined DMACHINEMON_SONAME, and using that for sonames for all libs. I doubt it is good idea to keep all libs sharing the same soname, but for now, it does.

2002-01-12    <dancer@debian.org>

	* tools/netload/Makefile.am (dmachinemon_netload_LDADD): changed libdmachinemon.la to libdmm.la. 

	* tools/pdga/Makefile.am (dmachinemon_pdga_LDADD): changed libdmachinemon.la to libdmm.la. 

	* tools/htmloutput/Makefile.am (dmachinemon_htmloutput_LDADD): added option for -lm

	* dmachinemon/Makefile.am: added libdmm and libdmsocket.
	

2002-01-10  Junichi Uekawa  <dancer@debian.org>

	* dmachinemon/dmachinemon-libp2papplication.c (dm_Init): fixed it, so that it uses the command-line passed to
	  it. Contrary to general belief, the port number was a fixed entity. That was wrong.

	* tools/dmscripts/dmrun: fixed typo. added a "shift" in parameter checking.

	* tools/dmscripts/dmrun.1: updated documentation. adding --np

2002-01-10    <dancer@debian.org>

	* debian/control (Depends): added the debianutils depends for dmachinemon

	* tools/dmscripts/dmrun: added options parser. It is now possible
	to specify -np option to restrict number of hosts.
	It now depends on "tempfile"

2002-01-07  Junichi Uekawa  <dancer@debian.org>

	* tools/dmscripts/dmboot: HOSTNAME->hostname

	* tools/pdga/Makefile.am (dmachinemon_pdga_LDADD): removed GTK+

	* tools/htmloutput/Makefile.am (dmachinemon_htmloutput_LDADD): removed GTK+

	* tools/dmscripts/dmrun: fixed a script, called $(HOSTNAME)->$(hostname)

2002-01-02    <dancer@debian.org>

	* dmachinemon/dmachinemon-master.1: fixed partial documentation

2002-01-01    <dancer@debian.org>

	* INSTALL: added decent installation instructions, documenting.

	* README: updated.

	For changelog entries prior to that date, see ./debian/changelog.
	This file was not updated very often before this.

	$Id: ChangeLog,v 1.273 2003/02/09 15:32:38 dancer Exp $
