2001-02-27  Dave Love  <d.love@dl.ac.uk>

	* Version 4.5 released.

	* configure.in: Check for fgets.  Bump version.

	* xdl_view.c (xdl_getio_events) [HAVE_FGETS]: Use fgets, not gets.

	From Charles Ballard.
	* xdl_image.c (xdl_image_tidy_up): Nullify
	gd->mag_images[1]->data, not gd->mag_data.

	* xdl_film_img.c (xdl_film_image_tidy_up): Likewise.

	* xdl_io_window.c (xdl_io_window_tidy_up): Free gd->select_buf.

2001-01-16  Dave Love  <d.love@dl.ac.uk>

	* Version 4.4 released.

	* test_evtim.c, test_graph_win.c, test_io_window.c:
	* test_menu_area.f, test_param_table.c, test_text_table.c:
	* xdl_eg_f.f, xdl_eg_c.c: New files.

	* configure.in (AM_INIT_AUTOMAKE): Bump version.

	* Makefile.am (test_graph_win_LDADD): Uncomment.

	* xdl_film_image.c: (xdl_film_image): Use XDL_pw_depth
	consistently, not XDL_image_depth.
	
	From Charles Ballard <c.ballard@dl.ac.uk>:

	* xdl_image.c (xdl_image): Use XDL_pw_depth consistently, not
	XDL_image_depth.

	* xdl_view.c (xdl_open_view): Match pixmap depth to image depth;
	abort if we can't.  Set set_attrib.border_pixel and use
	CWBorderPixel when creating window.

2000-10-11  Dave Love  <d.love@dl.ac.uk>

	* Version 4.3 released.

2000-10-11  Dave Love  <d.love@dl.ac.uk>

	* xdl_text_tab.c, xdl_show_unq.c, xdl_rot_sim.c, xdl_prog_bar.c:
	* xdl_pop_dialg.c, xdl_parm_tab.c, xdl_panel_itm.c, xdl_menu_area.c:
	* xdl_io_window.c, xdl_img_rd.c, xdl_graph_win.c, xdl_blank_obj.c:
	* xdl_bg.c: Delete some unused variables.

	* configure.in (AM_INIT_AUTOMAKE): Update version.

2000-08-25  Dave Love  <d.love@dl.ac.uk>

	* Makefile.am: Add tests and assorted new definitions for them.
	(CFLAGS): Add X_CFLAGS.

	* xdl_film_img.c: Remove various unused variables.  Throughout,
	assume we're standard-conforming and it's OK to free a null
	pointer.
	(xdl_image_tidy_up): Modify previous change to avoid freeing
	shared image data twice.

	* xdl_view.h: (xdl_malloc, xdl_realloc) [XDL_BUILDING]: Declare.
	(malloc, realloc) [XDL_BUILDING]: Define
	(xdl_menu_area_setmenu, xdl_param_table_setmenu)
	(xdl_param_table_setbutton): Declare args as void*, not char*.

	* xdl_view.c: Remove some unused variables.
	(xdl_open_view): Call XSynchronize if XDL_DEBUG is set in the
	environment.
	(xdl_malloc, xdl_realloc): New functions.

	* xdl_image.c: Remove various unused variables.  Change layout of
	function headers to help Emacs.  Throughout, assume we're
	standard-conforming and it's OK to free a null pointer.
	(xdl_image_tidy_up): Modify previous change to avoid freeing
	shared image data twice.

	* test_menu_area.f, xdl_eg_c.c, xdl_eg_f: New files.

	* configure.in: Update required autoconf version.  Fiddle the f77
	name-mangling stuff.  Add -fno-second-underscore to g77's FFLAGS.
	Use AC_PATH_XTRA, not AC_PATH_X.  Set Irix FFLAGS like CFLAGS.
	Use AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL.

2000-08-22  Dave Love  <d.love@dl.ac.uk>

	* xdl_film_img.c (xdl_film_image_tidy_up): Free image data.

	From: Dr. Jon A. Christopher <jchrist@stromix.com>.
	* xdl_image.c (xdl_image_tidy_up): Free image data.

2000-03-31  Dave Love  <d.love@dl.ac.uk>

	* xdl_view.c (xdl_open_view): Comment-out XSetErrorHandler call.

	* xdl_systyp.h: Remove most system-specific defs.

	* configure.in: Require autoconf 2.14a.  Bump version.  Use
	AC_PROG_F77_GNU, AC_F77_NAME_MANGLING, AC_CONFIG_FILES and define
	LINKTYP.  Allow -n32 to be specified on Irix.

2000-02-09  Dave Love  <d.love@dl.ac.uk>

	* Makefile.am: Update version.  Separate stuff for
	libxdl_viewextra.

2000-02-08  Dave Love  <d.love@dl.ac.uk>

	* xdl_image.c (xdl_image): Avoid confusion between XDL_pw_depth
	and XDL_image_depth.

	* xdl_film_img.c (xdl_film_image): Avoid confusion between
	XDL_pw_depth and XDL_image_depth.

	* configure.in: Up version.

	* xdl_view.c: Include xdl_view_ext.h.  Declare XDL_image_depth,
	XDL_image_bits.
	(xdl_open_view): Rewrite tests of XDL_display_type.  Find suitable
	pixmap depth.

	* xdl_view_ext.h (XDL_image_depth, XDL_image_bits): Declare.

1999-10-22  Dave Love  <d.love@dl.ac.uk>

	* Makefile.am (EXTRA_DIST): Added.

1999-10-21  Dave Love  <d.love@dl.ac.uk>

	* xdl_view.c (xdl_rootxy): Avoid caddr_t -- reportedly not picked
	up on some GNU/Linux.

1999-09-08  Dave Love  <d.love@dl.ac.uk>

	* xdl_view.h: Reorder includes.

	* configure.in: Change package name to libxdl_view.  Zap
	AM_MAINTAINER_MODE.  Define __G77__ conditional on gcc.  Fix Irix
	-o32 test.

1999-08-24  Dave Love  <d.love@dl.ac.uk>

	* configure.in: Use AM_MAINTAINER_MODE.  Change with_gcc logic.
	Define _POSIX_SOURCE.  Check for sigaction and O_NONBLOCK in
	fcntl.h.  Remove AC_TYPE_SIGNAL.

	* xdl_view.c: Use HAVE_SIGACTION instead of SIGACT_TYPE and
	HAVE_O_NONBLOCK instead of NONBLK_TYPE.

	* xdl_systyp.h, xdl_bg_old.c, xdl_bg.c: Simplify.  Use configured
	info.

	* xdl_view.h, xdl_rot_sim.c, xdl_rd_old.c, xdl_lsim_old.c:
	* xdl_laue_sim.c, xdl_img_rd.c: Conditionally include unistd.h.

1999-08-09  Dave Love  <d.love@dl.ac.uk>

	* configure.in: Add --with-gcc and test for it.  Use `xdl_view' as
	AM_INIT_AUTOMAKE arg.  Add AM_PROG_LIBTOOL.  Check for stdlib.h.
	Check for prl.h, unq.h.  (Probably not useful.)  Define
	XDL_BUILDING.  Fix Irix6 compiler flags check

	* xdl_image.c: Fix some declaration warnings.

	* xdl_bg_old.c: Include stdlib.h (condistionally).

	* xdl_bg.c: Include stdlib.h (condistionally).
	(xdlf_bg_calc): Casts args of xdl_bg_calc.
	(xdlf_bg_calc_prog): Casts args of xdl_bg_calc_prog.
	(xdlf_bg_strip): Cast args of xdl_bg_strip.
	(xdlf_bg_radimg): Cast args of xdl_bg_radimg.
	(xdlf_bg_valimg): Cast args of xdl_bg_valimg.

	* xdl_panel_itm.c: Don't declare xdl_panel_choice_reset and
	various unused variables.

	* xdl_rot_sim.c: Include prl.h.

	* xdl_show_unq.c: Include unq.h.

	* xdl_film_img.c (xdl_film_image_postscript): Zap bogus check on
	-ve unsigned data.
	(xdlf_film_image_background): Cast ibgdata in call.

	* xdl_panel_itm.h: Protect against multiple inclusion.
	ANSIfy some prototypes.  Add more.

	* xdl_systyp.h, xdl_view_ext.h: Protect against multiple inclusion.

	* Makefile.am: Use libtool-style definitions.

	* xdl_view.h: Protect against mulitple inclusion.
	(xdl_free): Declare conditionally on XDL_BUILDING.

	* xdl_view.c: Revert RETSIGTYPE change.  Revert Jaochim Meyer
	change in favour of more general approach.
	(xdl_free): New routine.

	* xdl_text_tab.c: Revert last change in favour of more general
	approach.

	* xdl_io_window.c: Revert Joachim Meyer changes in favour of more
	general approach.

1999-08-04  Dave Love  <d.love@dl.ac.uk>

	* xdl_io_window.c (xdl_io_window_ep1):
	Define x,y in Button 1 press case.

	* xdl_graph_win.c (xdl_graph_win_draw_obj, xdl_graph_win_ps_obj):
	Cast char array indices.
	(xdl_graph_win_postscript): Fix `widp' type.  Fix typpo iret <- i
	in iprompt==5 case.

1999-08-03  Dave Love  <d.love@dl.ac.uk>

	* configure.in: Move checks on CC and add warnings.  Remove
	AC_HEADER_STDC.  Add AC_PROG_INSTALL, AC_HEADER_TIME.  Check for
	sigaction.

1999-08-03  Dave Love  <d.love@dl.ac.uk>

	* xdl_view.c: Use RETSIGTYPE as return type of signal handlers.
	(xdlsys_nonblock): Fix assignment of NULL to int field.

1999-08-02  Dave Love  <d.love@dl.ac.uk>

	* configure.in, configure, aclocal, AUTHORS, README, INSTALL,
	Makefile.am, Makefile.in: New files.

	* xdl_view.h: Use HAVE_FNCTL_H, TIME_WITH_SYS_TIME,
	HAVE_SYS_TIME_H.

	* xdl_view.c: JWC change via CCP4 which should fix problems with
	displays offering 32-bit truecolour:
	(IgnoreError): New routine.
	(xdl_open_view): Call XSetErrorHandler.  Change XCreateWindow
	visual handling.
	(xdl_create_base_frame_window): Change XCreateWindow call.

	* xdl_systyp.h: JWC change via CCP4:
	(COLMAP_TYPE): #define

	* xdl_view.c: From Joachim Meyer (?)
	(xdl_delete_panel_item, xdl_select_receive, xdl_delete_children):
	Nullify freed pointers.
	(xdl_delete_view_object): Nullify freed pointers; fix fencepost
	error on XDL_view_objects.

	* xdl_text_tab.c: From Joachim Meyer (?)

	(xdl_text_table_cell, xdl_text_table_ep1, xdl_text_table_tidy_up):
	Nullify pointers after freeing.

	* xdl_io_window.c: From Joachim Meyer (?)

	(xdl_io_window, xdl_io_window_select_receive, xdl_io_window_savhist)
	(xdl_io_window_shft, xdl_io_window_tidy_up): Nullify pointers after
	freeing.

	* xdl_text_tab.c: JWC change:
	(xdl_text_table_ep1): Change `Check for mouse select' case.

	* xdl_view.h: JWC change:
	(xdl_open_file, xdl_set_file_input, xdl_clear_file_input)
	(xdl_file_events, int xdl_get_record): Declare.

	* xdl_view.c: JWC changes:
	(MAXINPSTR): Increase.
	(XINP_fid, XINP_str, XINP_laststr, XINP_numstr): New globals.
	(xdl_open_file, xdl_set_file_input, clear_set_file_input)
	(xdl_file_events, xdl_read_next_rec, xdl_get_record): New routines
	and #defines.
	(xdl_open_view): Initialise for file input.
