2002-06-09 02:51  Martin Pool <mbp@samba.org>

	* Makefile.in (1.10, release-0-4): Shuffle Makefiles

2002-06-09 02:40  Martin Pool <mbp@samba.org>

	* Makefile.am (1.10, release-0-4): Add missing file

2002-06-09 02:32  Martin Pool <mbp@samba.org>

	* dopt.c (1.11, release-0-4): Hide --tasks from help since it does
	nothing.

2002-06-09 02:02  Martin Pool <mbp@samba.org>

	* dparent.c (1.5, release-0-4): Doc.

2002-06-09 01:50  Martin Pool <mbp@samba.org>

	* dparent.c (1.4): Factor out code to collect children.  Keep track
	of how many are running.

2002-06-09 01:44  Martin Pool <mbp@samba.org>

	* daemon.c (1.58, release-0-4), dparent.c (1.3): Change server to a
	more traditional Unix  model of forking after accepting -- possibly
	less efficient, but I was having trouble managing an orderly
	shutdown of all children and this is simpler.

2002-06-09 01:43  Martin Pool <mbp@samba.org>

	* Makefile.in (1.9): Run autoconf

2002-06-09 00:21  Martin Pool <mbp@samba.org>

	* arg.c (1.41), distcc.h (1.50), serve.c (1.16) (utags:
	release-0-4): Correctly infer preprocessed filename from source
	filename.  So for example if we're processing a .S file, then we
	need to call the tmpfile .s so that the compiler driver understands
	that it should just run the assembler.

2002-06-09 00:05  Martin Pool <mbp@samba.org>

	* dopt.c (1.10): Doc.

2002-06-09 00:03  Martin Pool <mbp@samba.org>

	* arg.c (1.40): Server should log input and output filename too.

2002-06-08 23:54  Martin Pool <mbp@samba.org>

	* arg.c (1.38), arg.c (1.39): Log input and output filename.

2002-06-08 23:45  Martin Pool <mbp@samba.org>

	* dparent.c (1.2): Daemon parent tries to close listen_fd after
	forking children, because it's no longer required.

2002-06-08 23:43  Martin Pool <mbp@samba.org>

	* Makefile.am (1.9), daemon.c (1.57), distcc.h (1.49), dparent.c
	(1.1): Split daemon-standalone-parent code into a separate file.

2002-06-08 23:35  Martin Pool <mbp@samba.org>

	* daemon.c (1.56): Lots of doc updates.

2002-06-08 23:30  Martin Pool <mbp@samba.org>

	* daemon.c (1.55): Update docs.

2002-06-08 23:10  Martin Pool <mbp@samba.org>

	* daemon.c (1.54): Add log message for stdin being a socket

2002-06-08 23:09  Martin Pool <mbp@samba.org>

	* srvnet.c (1.8, release-0-4): open_socket_in: check that port
	number is reasonable

2002-06-08 22:40  Martin Pool <mbp@samba.org>

	* daemon.c (1.53): Consistently call dcc_exit().
	
	Notice immediately when one of our children dies, and reap all of
	them.
	
	When all children die or the parent is signalled, the parent should
	kill the process group and itself.

2002-06-08 22:31  Martin Pool <mbp@samba.org>

	* util.h (1.7, release-0-4): Fix function attributes.

2002-06-08 22:16  Martin Pool <mbp@samba.org>

	* distcc.h (1.48): Clean up prototypes.

2002-06-08 22:11  Martin Pool <mbp@samba.org>

	* daemon.c (1.52): Clean up exit codes.
	
	If fork() fails, log an error, but keep trying.
	
	Try to listen on socket before going into background, so that
	failure is visible to the calling script.

2002-06-08 22:00  Martin Pool <mbp@samba.org>

	* distcc.c (1.78, release-0-4): Detect invocations like "distcc -c"

2002-06-08 22:00  Martin Pool <mbp@samba.org>

	* exitcode.h (1.4, release-0-4): Renumber exit codes so that 100 is
	a generic distcc failure.

2002-06-08 21:44  Martin Pool <mbp@samba.org>

	* dopt.c (1.9): Fix help message for --pid-file

2002-06-08 21:43  Martin Pool <mbp@samba.org>

	* daemon.c (1.51), dopt.c (1.8), opt.h (1.2, release-0-4): Add
	--pid-file option to save daemon's pid.

2002-06-08 13:49  Martin Pool <mbp@samba.org>

	* dopt.c (1.7): Fix overzealous memory mistake.

2002-06-06 00:22  Martin Pool <mbp@samba.org>

	* config.h.in (1.3, release-0-4), daemon.c (1.50), distcc.h (1.47),
	dopt.c (1.6), exitcode.h (1.3), opt.h (1.1): Improvements to demon:
	
	 - make daemon put itself into background when running alone
	
	 - daemon preforks children according to --tasks option, notes if
	they
	   die, and kills them when terminated
	
	 - --port option to set listening port (currently not useful, since
	   you can't set port on client)

2002-06-05 19:00  Martin Pool <mbp@samba.org>

	* dopt.c (1.5): Fix mostly-harmless leaks of poptContext.  Detected
	by valgrind -- how cool!

2002-06-05 18:53  Martin Pool <mbp@samba.org>

	* tempfile.c (1.13, release-0-4): Add support for TMPDIR.  Not
	tested.

2002-06-05 17:22  Martin Pool <mbp@samba.org>

	* bulk.c (1.7, release-0-4), daemon.c (1.49), distcc.c (1.77),
	exec.c (1.26, release-0-4), where.c (1.17, release-0-4): Doc.

2002-06-02 14:09  Martin Pool <mbp@samba.org>

	* Makefile.in (1.8), daemon.c (1.48), exitcode.h (1.2): Start using
	consistent return codes across all programs.

2002-06-02 13:59  Martin Pool <mbp@samba.org>

	* .cvsignore (1.14, release-0-4), Makefile.am (1.8), Makefile.in
	(1.7), arg.c (1.37), clinet.c (1.17, release-0-4), daemon.c (1.47),
	distcc.c (1.76), exitcode.h (1.1), h_scanargs.c (1.1, release-0-4),
	help.c (1.6, release-0-4), serve.c (1.15), srvnet.c (1.7), trace.c
	(1.18, release-0-4), trace.h (1.12, release-0-4), util.c (1.10,
	release-0-4), util.h (1.6), where.c (1.16): Many changes:
	
	Start using consistent return codes across all programs.
	
	Add h_scanargs to allow pyunit to test argument analysis.
	
	If -fprofile-args, -ftest-coverage or -x is seen in arguments, run
	locally.
	
	Handle "gcc -c -c hello.c"
	
	Better help message.
	
	Start handling .s files (doesn't work yet)
	
	Fix insertion of program/pid into trace msgs.

2002-05-29 14:21  Martin Pool <mbp@samba.org>

	* arg.c (1.36): Doc.

2002-05-28 23:00  Martin Pool <mbp@samba.org>

	* Makefile.in (1.6, release-0-3): autoconf

2002-05-28 22:58  Martin Pool <mbp@samba.org>

	* Makefile.in (1.5): update autoconf

2002-05-28 22:58  Martin Pool <mbp@samba.org>

	* NEWS (1.5): Moved to parent directory

2002-05-28 22:38  Martin Pool <mbp@samba.org>

	* Makefile.am (1.7, release-0-3): Bump version to 0.3.
	
	Try to get "make dist" working.

2002-05-28 19:50  Martin Pool <mbp@samba.org>

	* Makefile.in (1.4): rerun autoconf

2002-05-28 15:38  Martin Pool <mbp@samba.org>

	* .cvsignore (1.13, release-0-3): Ignore temp file.

2002-05-28 15:29  Martin Pool <mbp@samba.org>

	* Makefile.am (1.6), Makefile.in (1.3), t_version (1.1,
	release-0-4, release-0-3): Add another trivial test suggested by
	bje

2002-05-28 15:18  Martin Pool <mbp@samba.org>

	* config.h.in (1.2), help.c (1.5) (utags: release-0-3): Export gnu
	host triple in --version

2002-05-28 15:07  Martin Pool <mbp@samba.org>

	* Makefile.in (1.2): Detect BSD, and add /usr/local/ to the CFLAGS
	and LDFLAGS.

2002-05-28 14:18  Martin Pool <mbp@samba.org>

	* .cvsignore (1.12), Makefile.in (1.1), config.h.in (1.1): Check in
	extra autoconf-generated files.

2002-05-28 14:17  Martin Pool <mbp@samba.org>

	* timebuild (1.1, release-0-4, release-0-3): Very primitive script
	for timing tests.

2002-05-28 13:52  Martin Pool <mbp@samba.org>

	* h_exten.c (1.4), h_issource.c (1.4) (utags: release-0-3,
	release-0-4): Additional fixes for rs_program_name.

2002-05-28 13:48  Martin Pool <mbp@samba.org>

	* serve.c (1.14, release-0-3): BSD needs sys/signal.h.

2002-05-28 12:28  Martin Pool <mbp@samba.org>

	* daemon.c (1.46), distcc.c (1.75), trace.c (1.17), trace.h (1.11)
	(utags: release-0-3): Clean up rs_program_name shmozlle

2002-05-27 00:58  Martin Pool <mbp@samba.org>

	* srvnet.c (1.6, release-0-3): Doc

2002-05-26 01:44  Martin Pool <mbp@samba.org>

	* .cvsignore (1.11): Ignore extra garbage

2002-05-26 01:35  Martin Pool <mbp@samba.org>

	* arg.c (1.35, release-0-3): Good fix from Ian Reinhart Geiser for
	silly mistake in dcc_set_file_extension that I think would show up
	in "gcc -c hello.c".

2002-05-26 01:27  Martin Pool <mbp@samba.org>

	* serve.c (1.13): Ignore SIGPIPE in daemon as well as client.
	
	Thanks to Ben Elliston.

2002-05-26 01:21  Martin Pool <mbp@samba.org>

	* clinet.c (1.16, release-0-3): Try to cope without in_port_t.
	
	Thanks to Luke Gorrie.

2002-05-26 01:11  Martin Pool <mbp@samba.org>

	* daemon.c (1.45), distcc.c (1.74), h_exten.c (1.3), h_issource.c
	(1.3), trace.c (1.16): Cope without program_invocation_short_name,
	as some GNU libc/cc combinations don't seem to have it (???)

2002-05-26 00:54  Martin Pool <mbp@samba.org>

	* trace.c (1.15): Replace calls to strnlen with strlen, because it
	will always be short enough and FreeBSD doesn't have strnlen

2002-05-26 00:50  Martin Pool <mbp@samba.org>

	* help.c (1.4): Ignore strange new automake variables, just use
	PACKAGE and VERSION

2002-05-26 00:42  Martin Pool <mbp@samba.org>

	* io.c (1.25, release-0-4, release-0-3): If there are no corks on
	this computer, don't try to use them.

2002-05-26 00:32  Martin Pool <mbp@samba.org>

	* arg.c (1.34), bulk.c (1.6, release-0-3), clinet.c (1.15),
	daemon.c (1.44), distcc.c (1.73), exec.c (1.25, release-0-3),
	h_exten.c (1.2), h_issource.c (1.2), io.c (1.24), rpc.c (1.17,
	release-0-4, release-0-3), serve.c (1.12), srvnet.c (1.5),
	tempfile.c (1.12, release-0-3), util.c (1.9, release-0-3), where.c
	(1.15, release-0-3): Test for sys/sendfile.h and sendfile(), and if
	we don't have them use plain read/write instead.
	
	Remove unnecessary dependencies on sys/sendfile.h

2002-05-25 23:57  Martin Pool <mbp@samba.org>

	* .cvsignore (1.10): More test cases

2002-05-25 23:55  Martin Pool <mbp@samba.org>

	* Makefile.am (1.5): Get rid of editing mistake.
	
	_SOURCES is a magic name for automake, so don't use it for common
	source.
	
	Thanks to Frerich Raabe.

2002-05-25 19:23  Martin Pool <mbp@samba.org>

	* Makefile.am (1.4), h_issource.c (1.1), t_issource (1.1,
	release-0-4, release-0-3): Add another test

2002-05-25 18:57  Martin Pool <mbp@samba.org>

	* arg.c (1.33), distcc.c (1.72), distcc.h (1.46, release-0-3):
	Recognize the .ii extension that ccache uses for preprocessed C++
	code.  (Ian Reinhart Geiser)

2002-05-25 18:51  Martin Pool <mbp@samba.org>

	* arg.c (1.32): Recognize the .ii extension that ccache uses for
	preprocessed C++ code.

2002-05-25 18:50  Martin Pool <mbp@samba.org>

	* .cvsignore (1.9), Makefile.am (1.3), arg.c (1.31), distcc.h
	(1.45), h_exten.c (1.1), t_exten (1.1, release-0-4, release-0-3):
	Add a test harness and script to test the simplest function we have
	-- finding the extension of a filename.

2002-05-25 18:34  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.27): This Makefile is no longer needed because we
	have automake.

2002-05-25 18:33  Martin Pool <mbp@samba.org>

	* .cvsignore (1.8): Ignore automake-generated files

2002-05-25 16:02  Martin Pool <mbp@samba.org>

	* Makefile.am (1.2), help.c (1.3), trace.c (1.14): More automake
	integration fixes.  Builds properly now.

2002-05-25 15:47  Martin Pool <mbp@samba.org>

	* .cvsignore (1.7), Makefile.am (1.1): Convert to automake.  Don't
	know if it works yet.

2002-05-24 15:17  Martin Pool <mbp@samba.org>

	* distcc.c (1.71), distcc.h (1.44), exec.c (1.24), NEWS (1.4): Only
	fiddle with the compiler's stdin/out/err when running on the
	server, not on the client.  This should make cpp from stdin work. 
	(Reported by Ian Reinhart Geiser from KDE.)

2002-05-24 15:15  Martin Pool <mbp@samba.org>

	* distcc.c (1.70): Doc.

2002-05-24 15:11  Martin Pool <mbp@samba.org>

	* distcc.h (1.43), exec.c (1.23): Split out code to redirect
	stdin/out/err, because we don't want to do this locally.

2002-05-24 13:47  Martin Pool <mbp@samba.org>

	* serve.c (1.11): Use a FIFO to feed preprocessed source from the
	daemon into the compiler, so that compilation can be overlapped
	with network transit.

2002-05-24 13:22  Martin Pool <mbp@samba.org>

	* NEWS (1.3): Support C++ compilation by correctly detecting
	prefixes.

2002-05-24 13:22  Martin Pool <mbp@samba.org>

	* arg.c (1.30): Better error messages for when we encounter an
	argument that is not a source file name.

2002-05-24 13:19  Martin Pool <mbp@samba.org>

	* arg.c (1.29): Fix little syntax error.

2002-05-24 13:18  Martin Pool <mbp@samba.org>

	* arg.c (1.28): Change code to recognize source files so that it
	will detect all the C++ variants.  Based on a patch from ian
	reinhart geiser.
	
	Factor source file recognition into its own function.

2002-05-24 13:03  Martin Pool <mbp@samba.org>

	* arg.c (1.27): Refactor code to set file extension, so that we can
	handle things like "foo.cpp" where the source extension is longer
	than ".o".  Based on a patch from ian reinhart geiser, but more
	defensive.

2002-05-21 18:17  Martin Pool <mbp@samba.org>

	* NEWS (1.2), OLDNEWS (1.1, release-0-4, release-0-3): Roll over
	NEWS

2002-05-21 18:10  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.26): Set version to 0.2.99

2002-05-21 17:20  Martin Pool <mbp@samba.org>

	* serve.c (1.10): Doc.

2002-05-20 14:38  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.25): linuxdoc/ subdir is no longer here.

2002-05-20 14:06  Martin Pool <mbp@samba.org>

	* trace.c (1.13): Doc.

2002-05-20 13:35  Martin Pool <mbp@samba.org>

	* NEWS (1.1): News for something that happened last week!

2002-05-20 13:23  Martin Pool <mbp@samba.org>

	* HACKING (1.9, release-0-4, release-0-3): Cleanup

2002-05-17 15:45  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.24, release-0-2): Set version to 0.2

2002-05-17 14:10  Martin Pool <mbp@samba.org>

	* help.c (1.2, release-0-2): Add email address

2002-05-17 14:09  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.23), distcc.c (1.69, release-0-2), distcc.h (1.42,
	release-0-2), dopt.c (1.4, release-0-3, release-0-2), help.c (1.1):
	Improve --help messages, and make all programs response to
	--version properly.

2002-05-17 13:45  Martin Pool <mbp@samba.org>

	* daemon.c (1.43, release-0-2): Doc.

2002-05-16 17:56  Martin Pool <mbp@samba.org>

	* arg.c (1.26, release-0-2): If -o is not specified, gcc dumps the
	object file in the current directory, not the source directory. 
	Make our behaviour the same.

2002-05-16 17:27  Martin Pool <mbp@samba.org>

	* arg.c (1.25), distcc.c (1.68), distcc.h (1.41): Try to handle
	cases like "gcc -c hello.c" by appending "-o hello.o" to the end.
	
	This doesn't work yet for files not in the current directory.

2002-05-16 15:53  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.22): Add a nice simple user manual

2002-05-16 13:48  Martin Pool <mbp@samba.org>

	* HACKING (1.8, release-0-2): Note about cpp performance.

2002-05-15 23:13  Martin Pool <mbp@samba.org>

	* HACKING (1.7): Doc.

2002-05-15 18:19  Martin Pool <mbp@samba.org>

	* HACKING (1.6), tempfile.c (1.11, release-0-2), where.c (1.14,
	release-0-2): Doc.

2002-05-15 17:45  Martin Pool <mbp@samba.org>

	* where.c (1.13): Better trace msg

2002-05-15 17:38  Martin Pool <mbp@samba.org>

	* distcc.h (1.40), tempfile.c (1.10), where.c (1.12): Use simple
	file locks to spread work across hosts

2002-05-15 17:23  Martin Pool <mbp@samba.org>

	* where.c (1.11): Split out code for parsing list of hosts, and
	actually picking a host to use.
	
	Doc about locking method for distributing work.

2002-05-15 16:15  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.21), bulk.c (1.5, release-0-2), distcc.c (1.67),
	distcc.h (1.39), rpc.h (1.8, release-0-4, release-0-3,
	release-0-2), serve.c (1.9, release-0-2), where.c (1.10): Back out
	of the compression changes; they seem like a premature optimization

2002-05-15 16:07  Martin Pool <mbp@samba.org>

	* HACKING (1.5): Scratch numbers on compression

2002-05-15 15:57  Martin Pool <mbp@samba.org>

	* serve.c (1.8): Use correct proto version

2002-05-15 15:54  Martin Pool <mbp@samba.org>

	* bulk.c (1.4), distcc.c (1.66), io.h (1.11, release-0-4,
	release-0-3, release-0-2), rpc.h (1.7), serve.c (1.7): zlevel is
	passed everywhere but ignored

2002-05-15 15:51  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.20), distcc.c (1.65), serve.c (1.6): Server
	accepts GZIP token

2002-05-15 15:45  Martin Pool <mbp@samba.org>

	* HACKING (1.4): Note about server-side error handling

2002-05-15 15:42  Martin Pool <mbp@samba.org>

	* distcc.c (1.64), distcc.h (1.38): Bump proto version to 2; send
	GZIP token in header to request compression

2002-05-15 15:35  Martin Pool <mbp@samba.org>

	* distcc.c (1.63), distcc.h (1.37), where.c (1.9): Parse zlevel out
	of _HOSTS

2002-05-15 15:27  Martin Pool <mbp@samba.org>

	* bulk.c (1.3), io.c (1.23, release-0-2), io.h (1.10): Factor out
	common methods of bulk transfer

2002-05-15 15:26  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.19): Bump version

2002-05-15 15:13  Martin Pool <mbp@samba.org>

	* bulk.c (1.2): Doc

2002-05-15 15:10  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.18, release-0-1): Set version to 1.0

2002-05-15 15:09  Martin Pool <mbp@samba.org>

	* HACKING (1.3), distcc.c (1.62), trace.c (1.12, release-0-2),
	trace.h (1.10, release-0-2) (utags: release-0-1): Allow log
	messages from distcc to be separated from stderr

2002-05-15 15:01  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.17), bulk.c (1.1, release-0-1), rpc.c (1.16,
	release-0-2, release-0-1): Split out file transfer code

2002-05-15 14:56  Martin Pool <mbp@samba.org>

	* tempfile.c (1.9, release-0-1): Add quote

2002-05-15 14:56  Martin Pool <mbp@samba.org>

	* distcc.c (1.61): Handle --help

2002-05-15 14:50  Martin Pool <mbp@samba.org>

	* distcc.c (1.60): Show environment variables in usage message for
	distcc

2002-05-13 13:30  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.16): Add "install" target.

2002-05-13 13:27  Martin Pool <mbp@samba.org>

	* dopt.c (1.3, release-0-1): Fix dumb "break" mistake in option
	parsing.

2002-05-06 09:10  Martin Pool <mbp@samba.org>

	* dopt.c (1.2): Add --nice option

2002-05-05 19:23  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.15), daemon.c (1.42, release-0-1), distcc.h (1.36,
	release-0-1), dopt.c (1.1): Start adding daemon command-line
	handling

2002-05-05 19:22  Martin Pool <mbp@samba.org>

	* trace.c (1.11): Better formatting when not using the pid.

2002-05-01 12:42  Martin Pool <mbp@samba.org>

	* io.c (1.22, release-0-1): "i've always wanted to use sendfile(),
	but never had a reason until now"

2002-04-30 20:48  Martin Pool <mbp@samba.org>

	* README (1.10): Rearrange

2002-04-30 18:15  Martin Pool <mbp@samba.org>

	* exec.c (1.21), exec.c (1.22, release-0-2, release-0-1): Doc.

2002-04-30 18:06  Martin Pool <mbp@samba.org>

	* serve.c (1.5, release-0-1): Make file sizes correct even if
	compilation fails.

2002-04-30 18:05  Martin Pool <mbp@samba.org>

	* distcc.h (1.35), serve.c (1.4), srvnet.c (1.4, release-0-2,
	release-0-1): daemon logs client names

2002-04-30 18:04  Martin Pool <mbp@samba.org>

	* exec.c (1.20): Doc

2002-04-30 17:50  Martin Pool <mbp@samba.org>

	* trace.c (1.10): you're never going to want program or pid in a
	syslog message, because it's redundant.

2002-04-30 17:48  Martin Pool <mbp@samba.org>

	* serve.c (1.3), exec.c (1.19): Log job completion

2002-04-30 17:45  Martin Pool <mbp@samba.org>

	* daemon.c (1.41): Log opening of port

2002-04-30 17:38  Martin Pool <mbp@samba.org>

	* exec.c (1.18): If compiler finished OK, that's an INFO level
	message

2002-04-30 17:34  Martin Pool <mbp@samba.org>

	* distcc.c (1.59), rpc.c (1.15), rpc.h (1.6, release-0-1), serve.c
	(1.2): Record size of files transferred

2002-04-30 17:31  Martin Pool <mbp@samba.org>

	* daemon.c (1.40), trace.c (1.9), trace.h (1.9): More flexible
	trace formatting

2002-04-30 17:22  Martin Pool <mbp@samba.org>

	* trace.c (1.8): Fix stderr logging.

2002-04-30 17:19  Martin Pool <mbp@samba.org>

	* daemon.c (1.39), trace.c (1.7), trace.h (1.8): distccd logs to
	syslog/daemon.

2002-04-30 17:13  Martin Pool <mbp@samba.org>

	* trace.c (1.6), trace.h (1.7): Big rework of trace system so that
	the trace implementation gets to format the string, possibly using
	a helper function.

2002-04-30 16:35  Martin Pool <mbp@samba.org>

	* srvnet.c (1.3): Delete dead code

2002-04-30 15:46  Martin Pool <mbp@samba.org>

	* io.c (1.21): Don't ever just exit

2002-04-30 15:45  Martin Pool <mbp@samba.org>

	* daemon.c (1.38): Don't abort if accept() fails.

2002-04-30 15:29  Martin Pool <mbp@samba.org>

	* tempfile.c (1.8): Make cleanup code reusable.

2002-04-30 15:28  Martin Pool <mbp@samba.org>

	* srvnet.c (1.2): Need to listen() on socket before accept()

2002-04-30 15:20  Martin Pool <mbp@samba.org>

	* distcc.c (1.58): Fix silly pointer bug

2002-04-30 15:17  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.14), daemon.c (1.37), srvnet.c (1.1), util.h (1.5,
	release-0-3, release-0-2, release-0-1): Really simple standalone
	mode.

2002-04-30 14:43  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.13), daemon.c (1.36), distcc.h (1.34), serve.c
	(1.1): Split out daemon stuff in preparation for listening on our
	own socket.

2002-04-30 14:41  Martin Pool <mbp@samba.org>

	* io.c (1.20): Cast from gcc warning

2002-04-30 14:41  Martin Pool <mbp@samba.org>

	* distcc.c (1.57): Trace

2002-04-30 14:22  Martin Pool <mbp@samba.org>

	* README (1.9), distcc.c (1.56): Add DISTCC_VERBOSE env var

2002-04-30 14:09  Martin Pool <mbp@samba.org>

	* rpc.c (1.14): Add necessary cast, thanks to gcc.

2002-04-30 14:09  Martin Pool <mbp@samba.org>

	* HACKING (1.2): Doc.

2002-04-30 14:04  Martin Pool <mbp@samba.org>

	* rpc.c (1.13): If we fail to receive a file, delete the
	destination rather than leaving it truncated.

2002-04-30 14:03  Martin Pool <mbp@samba.org>

	* daemon.c (1.35), distcc.c (1.55): Don't send the .o file unless
	compilation succeeded.

2002-04-30 13:54  Martin Pool <mbp@samba.org>

	* distcc.c (1.54): If no build hosts are set, just run here.

2002-04-30 13:53  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.12): Add targets to run cflow.

2002-04-30 13:50  Martin Pool <mbp@samba.org>

	* distcc.c (1.53): Doc.

2002-04-30 13:02  Martin Pool <mbp@samba.org>

	* distcc.c (1.52): Do clean up temporary files.

2002-04-30 13:00  Martin Pool <mbp@samba.org>

	* distcc.c (1.51): Better help message.

2002-04-30 12:58  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.11): Turn on more warnings

2002-04-30 12:54  Martin Pool <mbp@samba.org>

	* where.c (1.8, release-0-1): Fix gcc warning.

2002-04-29 20:08  Martin Pool <mbp@samba.org>

	* clinet.c (1.14, release-0-2, release-0-1): Note from Huxley

2002-04-29 15:28  Martin Pool <mbp@samba.org>

	* where.c (1.7): Doc.

2002-04-29 15:23  Martin Pool <mbp@samba.org>

	* daemon.c (1.34): Doc.

2002-04-29 15:20  Martin Pool <mbp@samba.org>

	* clinet.c (1.13), distcc.c (1.50): Doc.

2002-04-29 15:17  Martin Pool <mbp@samba.org>

	* clinet.c (1.12): Handle EPIPE as a regular error

2002-04-29 14:52  Martin Pool <mbp@samba.org>

	* daemon.c (1.33): Clean up temp files if build is successful

2002-04-29 14:50  Martin Pool <mbp@samba.org>

	* daemon.c (1.32): Docs about better performance.

2002-04-29 14:45  Martin Pool <mbp@samba.org>

	* where.c (1.6): Docs about better methods of choosing compile
	hosts.

2002-04-28 23:46  Martin Pool <mbp@samba.org>

	* arg.c (1.24, release-0-1), clinet.c (1.11), daemon.c (1.31), io.c
	(1.19), where.c (1.5): Clean up

2002-04-28 23:43  Martin Pool <mbp@samba.org>

	* README (1.8): Notes on building the kernel

2002-04-28 23:05  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.10): Change version to 0.1cvs

2002-04-28 22:50  Martin Pool <mbp@samba.org>

	* exec.c (1.17): Better messages

2002-04-28 22:50  Martin Pool <mbp@samba.org>

	* arg.c (1.23): Better quoting for commands

2002-04-28 22:45  Martin Pool <mbp@samba.org>

	* README (1.7), distcc.c (1.49), distcc.h (1.33), exec.c (1.16):
	Make the magic name localhost
	
	Better execution messages

2002-04-28 22:32  Martin Pool <mbp@samba.org>

	* README (1.6), distcc.c (1.48): Make the magic name LOCALHOST, not
	LOCAL

2002-04-28 22:30  Martin Pool <mbp@samba.org>

	* where.c (1.4): Randomize by pid/ppid, rather than time(), because
	it is likely that multiple copies might be forked within a second
	by make -j.

2002-04-28 22:29  Martin Pool <mbp@samba.org>

	* io.c (1.18): Fix headers

2002-04-28 20:54  Martin Pool <mbp@samba.org>

	* README (1.5): Add title.

2002-04-28 20:41  Martin Pool <mbp@samba.org>

	* clinet.c (1.10), daemon.c (1.30), distcc.h (1.32), io.c (1.17),
	io.h (1.9, release-0-1): Also cork response from the server

2002-04-28 20:41  Martin Pool <mbp@samba.org>

	* trace.c (1.5): Larger log buffer for chunky gcc lines

2002-04-28 20:37  Martin Pool <mbp@samba.org>

	* distcc.c (1.47): Cork and uncork socket around request.

2002-04-28 20:36  Martin Pool <mbp@samba.org>

	* distcc.c (1.46): Cope properly when not running cpp.

2002-04-28 20:35  Martin Pool <mbp@samba.org>

	* clinet.c (1.9), distcc.h (1.31): Add code to cork a socket

2002-04-28 20:26  Martin Pool <mbp@samba.org>

	* exec.c (1.15), rpc.c (1.12): Better trace

2002-04-28 20:15  Martin Pool <mbp@samba.org>

	* daemon.c (1.29), distcc.c (1.45): Fiddle debug and tempfile stuff
	to better support debugging.

2002-04-28 20:13  Martin Pool <mbp@samba.org>

	* README (1.4): Some initial numbers on performance building rsync.

2002-04-28 19:38  Martin Pool <mbp@samba.org>

	* clinet.c (1.8): Fix messages

2002-04-28 19:31  Martin Pool <mbp@samba.org>

	* io.c (1.16): Quieten trace

2002-04-28 19:27  Martin Pool <mbp@samba.org>

	* distcc.c (1.44), distcc.h (1.30), exec.c (1.14), util.c (1.8,
	release-0-2, release-0-1), util.h (1.4): Show program and hostname
	in completion message.

2002-04-28 19:19  Martin Pool <mbp@samba.org>

	* io.c (1.15): Fix nasty bug that caused us to read much more than
	we wanted.

2002-04-28 19:16  Martin Pool <mbp@samba.org>

	* rpc.c (1.11): More trace

2002-04-28 19:16  Martin Pool <mbp@samba.org>

	* daemon.c (1.28): Fix tempfile names.

2002-04-28 19:07  Martin Pool <mbp@samba.org>

	* distcc.c (1.43): Better messages.

2002-04-28 19:04  Martin Pool <mbp@samba.org>

	* where.c (1.3): Typo.

2002-04-28 19:03  Martin Pool <mbp@samba.org>

	* tempfile.c (1.7): Better error message.

2002-04-28 19:02  Martin Pool <mbp@samba.org>

	* clinet.c (1.7), distcc.c (1.42), distcc.h (1.29): Actually try to
	use a random remote host.

2002-04-28 18:58  Martin Pool <mbp@samba.org>

	* where.c (1.2): Add routine to pick a random build host

2002-04-28 18:58  Martin Pool <mbp@samba.org>

	* trace.h (1.6): Add rs_log_warning

2002-04-28 18:57  Martin Pool <mbp@samba.org>

	* io.c (1.14): Quieten warning

2002-04-28 18:55  Martin Pool <mbp@samba.org>

	* README (1.3): Doc

2002-04-28 17:02  Martin Pool <mbp@samba.org>

	* rpc.c (1.10): dcc_x_file: If a file does not exist, send it as
	empty rather than aborting.

2002-04-28 17:00  Martin Pool <mbp@samba.org>

	* distcc.c (1.41): If the remote compiler fails, we don't need to
	try again locally.  (Actually, we might want to, but don't worry
	about that for now.)

2002-04-28 16:55  Martin Pool <mbp@samba.org>

	* distcc.c (1.40), rpc.c (1.9), rpc.h (1.5): Receive and display
	remote stdout/stderr.

2002-04-28 16:52  Martin Pool <mbp@samba.org>

	* daemon.c (1.27): Capture and send compiler's stdout/stderr.

2002-04-28 16:47  Martin Pool <mbp@samba.org>

	* daemon.c (1.26), distcc.c (1.39), distcc.h (1.28), exec.c (1.13),
	util.c (1.7), util.h (1.3): Get ready for catching compiler
	stdout/stderr.

2002-04-28 15:20  Martin Pool <mbp@samba.org>

	* distcc.c (1.38): Show proto ver in version info.

2002-04-28 15:19  Martin Pool <mbp@samba.org>

	* clinet.c (1.6), distcc.c (1.37), daemon.c (1.25): Doc.

2002-04-28 15:15  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.9), where.c (1.1): Add where.c

2002-04-28 15:14  Martin Pool <mbp@samba.org>

	* README (1.2), distcc.c (1.36), distcc.h (1.27), exec.c (1.12):
	Run cpp in background while trying to connect.

2002-04-28 15:13  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.8): Should use CFLAGS to link too

2002-04-28 13:22  Martin Pool <mbp@samba.org>

	* distcc.c (1.35): Better message when compiler fails.

2002-04-28 13:19  Martin Pool <mbp@samba.org>

	* distcc.c (1.34), distcc.h (1.26), exec.c (1.11): Get ready for
	async subcommands

2002-04-28 13:14  Martin Pool <mbp@samba.org>

	* arg.c (1.22): Better message

2002-04-28 13:12  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.7), arg.c (1.21), clinet.c (1.5), daemon.c (1.24),
	distcc.c (1.33), distcc.h (1.25), io.h (1.8), tempfile.c (1.6),
	util.c (1.6): More splint-based checks

2002-04-28 12:37  Martin Pool <mbp@samba.org>

	* tempfile.c (1.5): Check permissions on temporary dir

2002-04-28 12:33  Martin Pool <mbp@samba.org>

	* tempfile.c (1.4): Automatically set up temp dir when needed
	
	Fix temp dir permissions

2002-04-28 12:32  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.6): Turn off dynamic dependencies for the moment

2002-04-28 12:29  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.5), arg.c (1.20), clinet.c (1.4), daemon.c (1.23),
	distcc.c (1.32), io.c (1.13), io.h (1.7), rpc.c (1.8), trace.c
	(1.4), trace.h (1.5), util.c (1.5): Splint codeups

2002-04-28 12:16  Martin Pool <mbp@samba.org>

	* trace.h (1.4): Remove broken non-gcc stuff

2002-04-28 12:15  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.4): Add SPLINT target

2002-04-28 12:08  Martin Pool <mbp@samba.org>

	* distcc.h (1.24), tempfile.c (1.3): Add routine to cleanup
	temporary files.

2002-04-28 12:03  Martin Pool <mbp@samba.org>

	* daemon.c (1.22), distcc.c (1.31), distcc.h (1.23), io.c (1.12),
	tempfile.c (1.2): Better (secure?) temporary name routine.

2002-04-28 12:03  Martin Pool <mbp@samba.org>

	* arg.c (1.19): Doc

2002-04-25 20:03  Martin Pool <mbp@samba.org>

	* distcc.c (1.30): Doc.

2002-04-25 20:00  Martin Pool <mbp@samba.org>

	* io.c (1.11): Use a larger copy buffer.

2002-04-25 19:59  Martin Pool <mbp@samba.org>

	* distcc.c (1.29): Be quiet by default

2002-04-25 19:32  Martin Pool <mbp@samba.org>

	* arg.c (1.18), daemon.c (1.21): Fix filename substitution code.

2002-04-25 19:26  Martin Pool <mbp@samba.org>

	* arg.c (1.17): Fix message

2002-04-25 19:24  Martin Pool <mbp@samba.org>

	* daemon.c (1.20), exec.c (1.10), io.c (1.10), io.h (1.6): Split
	out code for reading length-preceded strings.

2002-04-25 19:11  Martin Pool <mbp@samba.org>

	* daemon.c (1.19): Properly nul-terminate argv strings

2002-04-25 19:07  Martin Pool <mbp@samba.org>

	* distcc.h (1.22): Fix header

2002-04-25 19:05  Martin Pool <mbp@samba.org>

	* daemon.c (1.18), distcc.h (1.21): Drop job structure altogether.
	
	The server no longer needs to use the client's argument parsing
	system.

2002-04-25 19:00  Martin Pool <mbp@samba.org>

	* arg.c (1.16), distcc.h (1.20): Drop dead code

2002-04-25 18:57  Martin Pool <mbp@samba.org>

	* rpc.c (1.7): Better log

2002-04-25 18:56  Martin Pool <mbp@samba.org>

	* io.h (1.5), rpc.c (1.6): Rename to dcc_r_token

2002-04-25 18:54  Martin Pool <mbp@samba.org>

	* io.c (1.9): IO errors need not cause us to abort.

2002-04-25 18:52  Martin Pool <mbp@samba.org>

	* daemon.c (1.17): Generate our slightly more proper temporary
	names.

2002-04-25 18:51  Martin Pool <mbp@samba.org>

	* trace.h (1.3): Add rs_log_critical convenience.

2002-04-25 18:48  Martin Pool <mbp@samba.org>

	* io.c (1.8): dcc_expect_token: check expected token is sane, and
	if read fails then say what we were hoping for

2002-04-25 18:44  Martin Pool <mbp@samba.org>

	* trace.c (1.3): Show pid in log messages.

2002-04-25 18:43  Martin Pool <mbp@samba.org>

	* arg.c (1.15), distcc.h (1.19): Add dcc_set_input

2002-04-25 18:37  Martin Pool <mbp@samba.org>

	* arg.c (1.14), daemon.c (1.16), distcc.c (1.28), distcc.h (1.18),
	rpc.c (1.5), rpc.h (1.4): Clean argc, argv, wait status stuff out
	of job structure.

2002-04-25 18:28  Martin Pool <mbp@samba.org>

	* arg.c (1.13): Better log messages from arg scanner

2002-04-25 18:18  Martin Pool <mbp@samba.org>

	* distcc.c (1.27): Actually go ahead and run cpp if necessary.

2002-04-25 18:07  Martin Pool <mbp@samba.org>

	* exec.c (1.9): Doc.

2002-04-25 18:06  Martin Pool <mbp@samba.org>

	* daemon.c (1.15), distcc.h (1.17), exec.c (1.8): Cleanup
	dcc_run_child

2002-04-25 18:01  Martin Pool <mbp@samba.org>

	* arg.c (1.12), distcc.h (1.16), exec.c (1.7): Show whole command
	being executed.

2002-04-25 17:50  Martin Pool <mbp@samba.org>

	* distcc.c (1.26): log message

2002-04-25 17:42  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.3): Sketchy routines to build temporary filenames

2002-04-25 17:38  Martin Pool <mbp@samba.org>

	* tempfile.c (1.1): Sketchy routines to build temporary filenames

2002-04-25 17:38  Martin Pool <mbp@samba.org>

	* distcc.c (1.25): Get closer to running cpp locally

2002-04-25 17:37  Martin Pool <mbp@samba.org>

	* arg.c (1.11), distcc.h (1.15): Add more argv[] utilities

2002-04-25 17:09  Martin Pool <mbp@samba.org>

	* arg.c (1.10): Fix harmless glitch.  Better message.

2002-04-25 17:07  Martin Pool <mbp@samba.org>

	* util.c (1.4): Fix inverted sense in str_startswith

2002-04-25 16:59  Martin Pool <mbp@samba.org>

	* arg.c (1.9), daemon.c (1.14), distcc.c (1.24), distcc.h (1.14),
	exec.c (1.6): Prepare to run preprocessor on client

2002-04-25 15:46  Martin Pool <mbp@samba.org>

	* arg.c (1.8): Better handle the case of being passed a
	non-preprocessed file.

2002-04-25 14:12  Martin Pool <mbp@samba.org>

	* arg.c (1.7): Fix headers.

2002-04-25 14:12  Martin Pool <mbp@samba.org>

	* util.c (1.3), util.h (1.2): Add str_startswith

2002-04-25 14:08  Martin Pool <mbp@samba.org>

	* distcc.c (1.23), distcc.h (1.13): Start adding support for
	running cpp ourselves before going across the network.

2002-04-25 14:07  Martin Pool <mbp@samba.org>

	* daemon.c (1.13): Error out if we somehow get a request to run cpp
	on the server.

2002-04-25 14:04  Martin Pool <mbp@samba.org>

	* arg.c (1.6): Parse out -o options; also work out whether we ought
	to call cpp.

2002-04-25 13:34  Martin Pool <mbp@samba.org>

	* arg.c (1.5), daemon.c (1.12), distcc.c (1.22), distcc.h (1.12):
	Start refactoring argument scanner.

2002-04-25 13:15  Martin Pool <mbp@samba.org>

	* rpc.c (1.4): Must truncate temp file as we start receiving.

2002-04-25 12:00  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.2): Doc.

2002-04-25 11:59  Martin Pool <mbp@samba.org>

	* GNUmakefile (1.1), Makefile (1.10): The dependency stuff in the
	makefile current requires GNU Make, so change the filename to
	reflect that.

2002-04-25 01:33  Martin Pool <mbp@samba.org>

	* daemon.c (1.11), distcc.c (1.21), io.c (1.7), rpc.c (1.3), rpc.h
	(1.3): client now receives DOTO file from the server and stores it
	in the destination

2002-04-25 01:23  Martin Pool <mbp@samba.org>

	* daemon.c (1.10), distcc.c (1.20), io.c (1.6), io.h (1.4), rpc.c
	(1.2), rpc.h (1.2): Send back compiler wait-status and .o file

2002-04-25 01:11  Martin Pool <mbp@samba.org>

	* daemon.c (1.9), distcc.c (1.19), rpc.c (1.1), rpc.h (1.1): Client
	now waits for the start of the response from the server

2002-04-25 01:11  Martin Pool <mbp@samba.org>

	* Makefile (1.9): Add rpc.c
	
	Make clean cleans .d files

2002-04-25 00:27  Martin Pool <mbp@samba.org>

	* distcc.h (1.11), exec.c (1.5): Examine and remember the cc exit
	code.

2002-04-25 00:18  Martin Pool <mbp@samba.org>

	* daemon.c (1.8), distcc.c (1.18), distcc.h (1.10), exec.c (1.4),
	io.h (1.3): Server now starts sending a response back.

2002-04-25 00:04  Martin Pool <mbp@samba.org>

	* arg.c (1.4), daemon.c (1.7), distcc.c (1.17), distcc.h (1.9):
	Improve server-side argument argument parsing

2002-04-24 23:52  Martin Pool <mbp@samba.org>

	* arg.c (1.3): Better debug for server-side substitution

2002-04-24 23:44  Martin Pool <mbp@samba.org>

	* util.c (1.2): fix file-style

2002-04-24 23:44  Martin Pool <mbp@samba.org>

	* distcc.c (1.16): message when sending is complete

2002-04-24 23:43  Martin Pool <mbp@samba.org>

	* daemon.c (1.6), util.h (1.1): redirect stderr to prevent fouling
	socket

2002-04-24 23:30  Martin Pool <mbp@samba.org>

	* distcc.c (1.15): Clean up; add error checks.

2002-04-24 23:30  Martin Pool <mbp@samba.org>

	* clinet.c (1.3): Clean up imported code, and in particular log
	messages

2002-04-24 23:29  Martin Pool <mbp@samba.org>

	* arg.c (1.2): Fix comment

2002-04-24 23:29  Martin Pool <mbp@samba.org>

	* Makefile (1.8): Store version in Makefile

2002-04-24 23:17  Martin Pool <mbp@samba.org>

	* clinet.c (1.2): Copy in network code from rsync.  Currently
	hardcoded to localhost:4200.

2002-04-24 18:05  Martin Pool <mbp@samba.org>

	* .cvsignore (1.6, release-0-2, release-0-1), Makefile (1.7),
	clinet.c (1.1), distcc.c (1.14), distcc.h (1.8): Start changes to
	connect across the network rather than dumping to a file.

2002-04-24 16:29  Martin Pool <mbp@samba.org>

	* distcc.c (1.13): Doc

2002-04-24 16:13  Martin Pool <mbp@samba.org>

	* Makefile (1.6), arg.c (1.1), daemon.c (1.5), distcc.c (1.12),
	distcc.h (1.7), exec.c (1.3), io.c (1.5): daemon will now actually
	compile programs

2002-04-24 00:51  Martin Pool <mbp@samba.org>

	* daemon.c (1.4), distcc.c (1.11), distcc.h (1.6), exec.c (1.2),
	io.c (1.4), io.h (1.2): Make the server receive the .i file into a
	temporary file.

2002-04-24 00:50  Martin Pool <mbp@samba.org>

	* Makefile (1.5): Fix 'make clean'

2002-04-24 00:49  Martin Pool <mbp@samba.org>

	* .cvsignore (1.5): Ignore any .i files that might be around

2002-04-24 00:21  Martin Pool <mbp@samba.org>

	* Makefile (1.4), distcc.c (1.10), distcc.h (1.5), exec.c (1.1):
	Split out code to run the compiler

2002-04-24 00:10  Martin Pool <mbp@samba.org>

	* README (1.1), daemon.c (1.3), distcc.c (1.9), distcc.h (1.4),
	io.c (1.3), io.h (1.1), trace.h (1.2): Server now reads argv from
	network.

2002-04-23 17:37  Martin Pool <mbp@samba.org>

	* daemon.c (1.2), distcc.c (1.8), distcc.h (1.3), io.c (1.2): Start
	adding code to let the daemon read requests.

2002-04-23 16:39  Martin Pool <mbp@samba.org>

	* io.c (1.1): Split out more common code.
	
	Send the bulk of the file.
	
	Add a no-op distccd.

2002-04-23 16:33  Martin Pool <mbp@samba.org>

	* .cvsignore (1.4), Makefile (1.3), daemon.c (1.1), distcc.c (1.7),
	distcc.h (1.2): Split out more common code.
	
	Send the bulk of the file.
	
	Add a no-op distccd.

2002-04-23 14:55  Martin Pool <mbp@samba.org>

	* .cvsignore (1.3), Makefile (1.2), distcc.c (1.6), distcc.h (1.1),
	trace.c (1.2), util.c (1.1): Split utilities into their own file

2002-04-23 14:44  Martin Pool <mbp@samba.org>

	* distcc.c (1.5): Add framework for sending requests to server, but
	just send them to a tmpfile instead.

2002-04-23 14:24  Martin Pool <mbp@samba.org>

	* distcc.c (1.4): Put arguments into a jobinfo_t struct.

2002-04-23 14:14  Martin Pool <mbp@samba.org>

	* distcc.c (1.3): Try to detect .i and .o files

2002-04-23 13:47  Martin Pool <mbp@samba.org>

	* distcc.c (1.2): Handle empty command line.

2002-04-23 13:25  Martin Pool <mbp@samba.org>

	* .cvsignore (1.2): Ignore built files

2002-04-23 13:24  Martin Pool <mbp@samba.org>

	* trace.c (1.1), trace.h (1.1): Copy trace routines from librsync

2002-04-23 13:22  Martin Pool <mbp@samba.org>

	* distcc.c (1.1), .cvsignore (1.1), HACKING (1.1), Makefile (1.1):
	Copy very simple code into public samba cvs

