2000-08-19  Assar Westerlund  <assar@sics.se>

	* configure.in: release 0.0k

2000-08-18  Assar Westerlund  <assar@sics.se>

	* lib/zephyr/zephyr.h: update prototypes for ZVariables functions
	* lib/zephyr/ZVariables.c: const-ize some
	* lib/zephyr/ZVariables.c (ZGetVariable): remember to look in
	SYSCONFDIR/zephyr.vars

2000-08-14  Love  <lha@stacken.kth.se>

	* Release 0.0j

	* include/internal.h: add Z_DEFAULT_REALM
	* zhm/zhm.c: use Z_DEFAULT_REALM instead of "default-realm"
	* lib/zephyr/ZRlmCfg.c (Z_ParseRealmConfig): if default realm is
	used, try to fetch one of there servers realm
	* clients/zwgc/zutils.c (load_sub_file): use __progname
	* lib/zephyr/Makefile.am: remove the anachronism
	
2000-08-09  Love  <lha@stacken.kth.se>

	* lib/zephyr/Makefile.am (pkginclude_HEADERS): install
	zephyr_err.h

2000-08-09  Love  <lha@stacken.kth.se>

	* clients/zwgc/zutils.c: sync with the other<tm> zutils.c
	
2000-08-06  Love  <lha@stacken.kth.se>

	* clients/zctl/zutils.c (zutil_init): check if hostname is "" then
	fill it in with a bogus name

2000-08-01  Love  <lha@stacken.kth.se>

	* include/zephyr/Makefile.am: install headers in
	$(includedir)/zephyr

2000-07-19  Mattias Amnefelt  <mattiasa@e.kth.se>

	* Release 0.0i
	* lib/zephyr/ZRlmCfg.c (Z_ParseRealmConfig): extra arg to
	new_server().

2000-07-13  Mattias Amnefelt  <mattiasa@e.kth.se>

	* lib/zephyr/ZInit.c (ZInitialize): don't do gethostbyname, use
	the Z_GetMyAddr() instead.

2000-07-12  Mattias Amnefelt  <mattiasa@e.kth.se>

	* configure.in: added check for dbopen in -ldb and removed
	overwriting of CFLAGS when checking for athena

2000-07-07  Assar Westerlund  <assar@sics.se>

	* zhm/zhm.c: add <sys/types.h>
	* clients/zwgc/tty_filter.c (tty_filter_init): make type-correct
	* clients/zwgc/text_operations.h: const-ify some prototypes
	* clients/zwgc/text_operations.c: ansify functions
	* clients/zwgc/main.c: make signal handlers type-correct
	* clients/zwgc/X_driver.c (X_driver_init): convert to a new-style
	function definition, otherwise it's not compatible with the
	prototype

	* clients/zwgc/xshow.c (x_get_input): take a `void *'
	* clients/zwgc/tty_filter.c: kill duplicate max
	* clients/zwgc/xshow.c: kill duplicate max
	* lib/zephyr/ZVariables.c: kill duplicate max
	* lib/zephyr/ZGetSubs.c: get rid of another copy of min
	prototypize function

	* clients/zwgc/regexp.c: remove the extra regular expression
	implementation that was sneaked in here from CMU.  when there's a
	proven need for it, something like this might re-surface but then
	probably in roken.

2000-06-30  Love  <lha@stacken.kth.se>

	* configure.in: when doing krb stuff, remember to set CFLAGS and
	LIBS with -I and -L if needed.

2000-06-26  Love  <lha@stacken.kth.se>

	* Release 0.0g

2000-06-22  Love  <lha@s3.kth.se>

	* lib/zephyr/Zinternal.c (Z_GetMyAddr): try stop leaking memory

2000-06-15  Love  <lha@s3.kth.se>

	* lib/zephyr/ZLocations.c (ZParseExposureLevel): let default be
	realm announced

2000-06-14  Love  <lha@s3.kth.se>

	* server/realm.c (realm_sendit_auth): pass the before
	checksum-pointer instead of the start pointer to the checksum
	function.
	* lib/zephyr/ZAsyncLocate.c: tried to do something sane with this
	mess
	* lib/zephyr/ZAsyncLocate.c (ZRequestLocations): is dest_realm is
	given, trust the user and try that realm.
	* lib/zephyr/ZReadAscii.c (ZReadAscii{32,16}): cast to unsigned
	long to not operate on signed numbers
	* lib/zephyr/ZGetLocs.c: remove definition of min
	* server/Makefile.am: define LOCALSTATEDIR
	* server/main.c (main): move ZEPHYR_TKFILE to localstatedir
	
2000-06-12  Love  <lha@s3.kth.se>

	* lib/zephyr/ZParseNot.c (ZParseNotice): reset temp before every
	use
	* server/dispatch.c (NACKTAB_HASHVAL): replace with function that
	casts everything to unsigned long
	(*): updated to new signature of NACKTAB_HASHVAL
	* server/client.c (INET_HASH): replace with function that casts
	everything to unsigned long
	* server/server.c (SRV_NACKTAB_HASHVAL): replace with function
	that casts everyting to unsigned long
	(send_stats): fix argument to printf
	(*): update to new SRV_NACKTAB_HASHVAL

	* merged in zephyr-2000-06-12
	* zhm/zhm_server.c (send_hmctl_notice): memset notice
	* server/subscr.c (subscr_realm_sendit): memset snotice
	* server/server.c (server_kill_clt,send_msg): memset notice
	* server/realm.c (realm_deathgram): memset snotice
	(realm_wakeup): memset snotice
	* server/dispatch.c (hostm_deathgram): memset shutnotice
	* server/bdump.c (bdump_net_{read,write}): stop using FILE *
	(*): update to new bdump_net_{read,write}
	* lib/zephyr/Zinternal.c (Z_FormatRawHeader): in case there isn't
	a z_dest_realm, use default realm, re-add other fields again
	* lib/zephyr/ZParseNot.c: ansify
	* lib/zephyr/ZAsyncLocate.c: ansi-fy
	* include/internal.h: <roken.h>

2000-06-11  Love  <lha@s3.kth.se>

	* server/main.c: write pidfile in child
	* lib/zephyr/ZInit.c: do krb_get_lrealm right
	* configure.in: change version to zephyr-rainbow-N.N
	* zhm/zhm_server.c (server_manager): set ri when entering function
	* server/zserver.h: <roken.h>
	* lib/zephyr/ZInit.c (ZInitialize): fetch realm of server
	* clients/zstat/zstat.c (hm_stat): don't exit on unknown server
	* zhm/zhm_server.c (choose_next_server): use current_server for
	continuation point, not nservers.
	* server/bdump.c: ansi-fy and change name on net_{read,write}
	* zhm/zhm.h: <roken.h>
	* zhm/zhm.c (main): s,OPENLOG,openlog,
	* configure.in (AC_ROKEN): remeber to add include built headers
	* configure.in: don't check for wslib and libdl since none is
	using it, and it causes some version of solaris to crash.
	* server/Makefile.am (SUBDIR): add acl
	* clients/zwgc/Makefile.am (zephyrdir): $(datadir)/zephyr
	
2000-06-07  Love  <lha@s3.kth.se>

	* configure.in (AC_ROKEN): added argument for CPPFLAGS_roken
	* cf/roken.m4: Added argument for CPPFLAGS_roken
	
2000-05-29  Love  <lha@s3.kth.se>

	* zhm/zhm_server.c (choose_next_server): reimplement
	(*): ansi-fy

	* lib/zephyr/ZExpnRlm.c: spelling
	
	* zhm/Makefile.am (man_MANS): += zhm.conf.5
	
2000-05-28  Love  <lha@s3.kth.se>

	* zhm/zhm.c (send_stats): clean up
	
	* include/internal.h: more flags, const-ize
	* lib/zephyr/ZRlmCfg.c (Z_ParseRealmConfig): reimplement
	(Z_FreeRealmConfig): reimplement

	* clients/znol/znol.c (main): find zrealm in name with crashing
	
2000-05-25  Love  <lha@s3.kth.se>

	* lib/zephyr/ZExpnRlm.c (ZExpandRealm): strcasecmp realms, when
	there are no matching domains try none kerberos way of resolving
	name.
	* clients/zwrite/zwrite.c (main): termintate the copied gecos buffer

2000-05-24  Assar Westerlund  <assar@sics.se>

	* configure.in: check for strupr
	* lib/zephyr/ZAsyncLocate.c (ZRequestLocations): use asprintf.
	copy the correct amount from the result
	* lib/zephyr/ZAsyncLocate.c (ZRequestLocaations): use strdup and
	avoid truncating strings too short.
	* lib/zephyr/ZExpnRlm.c (ZExpandRealm): remove trailing \n

2000-05-19  Love  <lha@s3.kth.se>

	* server/kopt.c: remove #if 0 code

2000-05-17  Assar Westerlund  <assar@sics.se>

	* server/kopt.c: nuke unused and duplicated krb4 functions

2000-04-10  Assar Westerlund  <assar@sics.se>

	* lib/zephyr/Zinternal.c (Z_GetMyAddr): solaris returns EINVAL
	when our buffer is too small.  cope.

2000-03-25  Assar Westerlund  <assar@sics.se>

	* clients/zwgc/tty_filter.c: nuke ospeed and PC again.
	(There might have been some platform where this stuff was actually
	required but since I can't remember which it was and can't find it
	again, let's just get rid of it and see it that systems shows up
	its ugly head again)

2000-02-23  Love  <lha@s3.kth.se>

	* clients/zwgc/tty_filter.c (tty_filter_init): killed off ospeed
	stuff, removed AIX stuff

2000-02-20  Love  <lha@s3.kth.se>

	* clients/zctl/{zctl_cmds.ct,zctl.[c1]}: added command
	show_realm,realm that shows the current default realm

	* lib/zephyr/ZInit.c (ZInitilize): punt if there is not realms

	* zhm/zhm.h: use the LIST_* macro from the server

	* configure.in: add test for ospeed and PC

	* Makefile.am (SUBDIRS): build server

	* clients/zwgc/Makefile.am: added depenencies for generated files

	* clients/zwgc/tty_filter.c: use autoconf for ospeed and PC

	* include/.cvsignore: added Makefile.in, stamp-h.in

	* server/zserver.h: rewrite list macros add prototypes

	* server/subscr.c: rmeoved unused variables

	* server/server.c (send_stats): printf warnings fixed removed
	unused variables

	* server/realm.c (*): new arguments to Z_FormatRawHeader()

	* server/main.c: removed optarg and optind prototypes

	* server/kstuff.c: removed unused variables

	* server/kopt.c (krb_find_ticket): removed useless *

	* server/dispatch.c (xmit_frag): remove unused variable hashval

2000-02-19  Love  <lha@s3.kth.se>

	* clients/zctl/zctl.c: ansi-fied and cleaned some

	* lib/zephyr/ZInit.c (ZInit): add initialize_zeph_error_table
	again

2000-02-19  Assar Westerlund  <assar@sics.se>

	* configure.in: check for curses.h and term.h handle readline or
	editline

2000-02-19  Love  <lha@s3.kth.se>

	* clients/zwgc/main.c: make DATADIR without /zephyr/

	* zhm/*: ansi-fy

	* server/*: Mess up

	* clients/zwgc/X_driver.c: make DATADIR without /zephyr/

2000-02-05  Assar Westerlund  <assar@sics.se>

	* configure.in: test for `h_errno'

2000-02-03  Love  <lha@s3.kth.se>

	* */*/*: Wall-ify
	
	* clients/zlocate/zlocate.c (main): move ZGetDefaultRealm() after
	ZInitialize(), find '@' in right string.

	* lib/zephyr/Makefile.am: add @DEFS@

	* lib/zephyr/ZFmtAuth.c (ZFormatAuthenticNotice): remove struct
	before C_Block since session doesn't need to be a struct

2000-02-03  Assar Westerlund  <assar@sics.se>

	* configure.in: use new style AC_DEFINE
	* aclocal.m4: remove extra stuff

	* merge in snap-19991111

2000-01-10  Love  <lha@s3.kth.se>

	* Release 0.0e

1999-12-22  Love  <lha@s3.kth.se>

	* clients/zwgc/zwgc.desc: print what realm the message came from.

1999-12-20  Love  <lha@s3.kth.se>

	* lib/zephyr/Zinternal.c (Z_GetMyAddr): don't use address 0.0.0.0

1999-12-15  Love  <lha@s3.kth.se>

	* clients/zstat/zstat.c (main): talk to localhost if there is no
	argument, not gethostbyname()

1999-12-09  Love  <lha@s3.kth.se>

	* lib/zephyr/Zinternal.c (Z_PacketWaiting): Check if we go an
	error on the fd, in that case just ignore it and close the socket
	(Z_ReadWait): Check if recvfrom returned a ECONNREFUSED and ignore it
	since it means that other end isn't there anymore.

	* configure.in: remove the xobjects hack for objs and replace with
	another hack for the libs
	* clients/zwgc/Makefile.am: remove the xobjects hack for objs and
	replace with another hack for the libs

	* clients/zwgc/standard_ports.c (WndProc): remove extra padding
	(window_worker): added message, make sure we terminate
	* clients/zwgc/standard_ports.c (getmaxwitdh): inc pointer
	(WndProc): place window more sane
	* clients/zwgc/standard_ports.c (standard_port_info_table): added
	a windows driver
	(windows_init): register a windowclass
	(windows_driver): start a thread to take care of the message
	(windows_worker): bump up a MessageBox(), XXX should use the window code included instead
	(WndProc): message-windows caretaker, not used right now
	(getmaxwitdh): figure out the size of the message

	* clients/zwgc/Makefile.am: added some glue for X and what
	objectfile to build
	* configure.in: added some glue for X and what
	objectfile to build

	* clients/zwgc/regexp.c: add some more strange glue-code
	* clients/zwgc/regexp.c: use regexp.h if we have one. (cygwin
	does)

1999-11-25  Love  <lha@s3.kth.se>

	* lib/zephyr/ZMkAuth.c (ZMakeAuthentication): remove bogus
	prototype of des_quad_cksum()

1999-11-23  Love  <lha@s3.kth.se>

	* clients/zwgc/Makefile.am (data_DATA): add zwgc.desc

1999-11-17  Assar Westerlund  <assar@sics.se>

	* clients/zlocate/zlocate.c (usage): update a tiny bit
	
	* zhm/Makefile.am: add zhm.8
	* lib/zephyr/Makefile.am: add zephyr.1
	* lib/dyn/Makefile.am: add dyn.3
	* clients/zwrite/Makefile.am: add zwrite.1
	* clients/zwgc/Makefile.am: add zwgc.1
	* clients/zstat/Makefile.am: add zstat.8
	* clients/znol/Makefile.am: add znol.1
	* clients/zlocate/Makefile.am: add zlocate.1
	* clients/zctl/Makefile.am: add zctl.1
	
1999-11-11  Love  <lha@s3.kth.se>

	* Makefile.am: added ACLOCAL

1999-11-06  Love  <lha@s3.kth.se>

	* Release 0.0d

	* configure.in (AC_CHECK_PROGS): check for mk_cmds
	if we have a libsl, never build libss.

	* clients/zctl/Makefile.am (MK_CMDS): autoconf for it.

	* include/Makefile.am (SUBDIRS): conditionalize ss

	* lib/Makefile.am (SUBDIRS): conditionalize ss

1999-11-02  Love  <lha@nutcracker.e.kth.se>

	* lib/zephyr/Zinternal.c (Z_GetMyAddr): run over interfaces
	instead of using gethostname().

	* configure.in: check for sys/if.h, sys/sockin.h check for
	readline, ss_create_invocation check for sockaddr.sa_len

1999-10-22  Love  <lha@s3.kth.se>

	* clients/zctl/zctl.c (load_subs): use right argument

1999-10-20  Love  <lha@s3.kth.se>

	* lib/zephyr/Makefile.am (INCLUDES): Added -I. since com_err uses
	it.

1999-10-11  Love  <lha@s3.kth.se>

	* clients/zleave/zleave.c (gethm): 64-bit fix.
	(getlogin): don't use it since it did wrong anyway.
	(*): indent and cleanup.

1999-10-10  Assar Westerlund  <assar@sics.se>

	* clients/zctl/zutils.c: some more header files and a little bit
 	of clean-up

	* clients/zctl/zctl.c: explicit return types on some functions

	* clients/zctl/Makefile.am: hardcode libzephyr.a

	* configure.in: add clients/zlocate

	* zhm/Makefile.am (zhm_LDADD): explicit reference to
 	../lib/zephyr/libzephyr.a to make sure we don't end up with some
 	old zephyr library

	* configure.in: check for regcomp. remove duplicate
 	AM_CONFIG_HEADER

1999-10-08  Love  <lha@s3.kth.se>

	* clients/Makefile.am: Added zlocate

	* clients/zlocate/zlocate.c: Added interrealm support.

1999-10-07  Love  <lha@s3.kth.se>

	* clients/znol/znol.c: Do magic things when printing.

	* lib/zephyr/ZGetRhs.c (ZGetRhs): Allways return a valid realm

	* etc/zhm.conf: Added athena.mit.edu and andrew.cmu.edu

1999-10-06  Love  <lha@s3.kth.se>

	* lib/zephyr/ZLocations.c: removed unsed variable

	* lib/ss/cmd_tbl.l (l_quoted_string): fixed compiler warning

	* */*: merge in interrealm code from marc

1999-08-23  Love  <lha@s3.kth.se>

	* clients/zwgc/zwgc.el: update where binaries are stored to
	reality.

1999-05-28  Love  <lha@s3.kth.se>

	* lib/zephyr/ZInit.c (getzrealm): Use right ticket file

1999-05-20  Love  <lha@s3.kth.se>

	* config.guess: Update

1999-04-09  Love  <lha@s3.kth.se>

	* Release 0.0c

	* lib/zephyr/ZInit.c (ZInitialize): use htonl on INADDR_LOOPBACK

1999-03-24  Love  <lha@s3.kth.se>

	* Release 0.0b

1999-03-17  Love  <lha@s3.kth.se>

	* lib/zephyr/ZInit.c (getzrealm): new function, get local realm
	(ZInitialize): Re-write init code, and start to use getzrealm()

Sun Mar 14 16:23:30 1999  Mattias Amnefelt  <mattiasa@stacken.kth.se>

	* clients/zmailnotify/zmailnotify.c: save message-id in ~/.maillock

Sun Mar 14 14:50:14 1999  Mattias Amnefelt  <mattiasa@squid.pdc.kth.se>

	* Added TODO list of things which probably won't be finished

1999-03-08  Love  <lha@s3.kth.se>

	* clients/zcomsat/zLPRng.c(main): dont truncate buffer

	* clients/zcomsat/zLPRng.c: LPRng monitor daemon, udp for now

	* lib/zephyr/ZInit.c (ZInitialize): if (!$ENV{'ZEPHYRREALM'} ||
	have tickfile) set __Zephyr_realm to local realm

1999-02-26  Love  <lha@s3.kth.se>

	* Release 0.0a

