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

	* 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.110 2002/06/15 02:38:57 dancer Exp $
