2005-03-11  MPHodges  <MPHodges@dugong>

	* configure.in: Version 5.15 released.

	* NEWS, web/XmakemolNews, xmakemol.html, xmakemol.txt:
	Updated for version 5.15.

2005-03-07  MPHodges  <MPHodges@dugong>

	* xmakemol.1: Update time-stamp.

	* Makefile.am, configure.in: Check for libXi.

	* region.h, Makefile.orig, animate.c, bbox.c, bbox.h, bonds.h, canvas.c, configure.in, control.c, crystal.c, defs.h, draw.c, draw.h, edit.c, elements, fig.c, file.c, frames.c, gl_funcs.c, gl_funcs.h, globals.h, help.c, menus.c, region.c, Makefile.am, rotate.c, sort.c, store.c, track.c, translate.c, utils.c, vectors.c, vectors.h, view.c, view.h, xm_logo.h, xmake_anim.pl, xmakemol.c:
	Updated copyright years (using xmakemol-check-copyrights).

2005-03-06  MPHodges  <MPHodges@dugong>

	* xmakemol-check-copyrights.el: Initial revision.

2005-02-15  MPHodges  <MPHodges@dugong>

	* animate.c:
	Place function declaration after X11 header (for Widget and XtPointer
	types).

2005-01-28  MPHodges  <MPHodges@dugong>

	* animate.c, control.c, edit.c, file.c, frames.c, help.c: Use it.

	* xmakemol.c (place_dialog_cb): New function.

2005-01-11  MPHodges  <MPHodges@dugong>

	* web/XmakemolGallery, web/XmakemolNews: Added link for stereo image.

2005-01-09  MPHodges  <MPHodges@dugong>

	* xmakemol.c: Updated copyright year.

2004-12-23  MPHodges  <MPHodges@dugong>

	* gl2ps.c, gl2ps.h: Updated GL2PS to version 1.2.3.

2004-12-11  MPHodges  <MPHodges@dugong>

	* web/XmakemolMailingLists: Update list addresses.

	* configure.in: Version 5.14 released.

	* NEWS, web/XmakemolDocumentation, web/XmakemolGallery, web/XmakemolNews, xmakemol.html, xmakemol.txt:
	Updated for version 5.14.

	* file.c (write_xpm): Use basename of file, as absolute filenames
	are no longer permitted.

2004-08-16  MPHodges  <MPHodges@dugong>

	* web/XmakemolGallery: Added stereo pair example (water octamer).

2004-08-15  MPHodges  <MPHodges@dugong>

	* web/XmakemolDocumentation: Updated stereo viewing text.

	* edit.c, gl_funcs.c, globals.h: Implemented stereo-pair rendering.

2004-08-09  MPHodges  <MPHodges@dugong>

	* bbox.c: Fix non-GL build error (Michael Banck).

	* RELEASE: Check non-GL builds.

2004-07-13  MPHodges  <MPHodges@dugong>

	* gl2ps.c, gl2ps.h: Updated GL2PS to version 1.2.1.

2004-07-05  MPHodges  <MPHodges@dugong>

	* web/XmakemolDocumentation:
	Mention hex triplets for specifying colours.

2004-07-04  MPHodges  <MPHodges@dugong>

	* RELEASE: Mention frame-width.

	* configure.in: Version 5.13 released

	* NEWS, web/XmakemolDocumentation, web/XmakemolNews, xmakemol.html, xmakemol.txt:
	Updated for version 5.13.

2004-05-24  MPHodges  <MPHodges@dugong>

	* web/XmakemolDocumentation:
	Document bbox_xyz keyword. From Wolfram Quester (adapted).

2004-05-23  MPHodges  <MPHodges@dugong>

	* bbox.c: Check that bounding box is available.

	* edit.c: Removed duplicate call to update_bbox_dialog.

	* bbox.c, bbox.h, edit.c, file.c, frames.c, globals.h, rotate.c, track.c, translate.c, view.c:
	Reimplemented some aspects of the from-file bounding box feature.

2004-05-21  MPHodges  <MPHodges@dugong>

	* Makefile.am: Include examples/C60.xyz and examples/caffeine.xyz.

2004-05-18  MPHodges  <MPHodges@dugong>

	* bbox.h: Cleaned up initialization of bbox_by_hand.

	* file.c, frames.c, gl_funcs.c, rotate.c, track.c, translate.c, xmakemol.1, bbox.h, draw.c:
	Minor fixes from Wolfram Quester.

2004-05-17  MPHodges  <MPHodges@dugong>

	* gl_funcs.c, globals.h, menus.c, bbox.h, crystal.c, edit.c, file.c, animate.c, bbox.c:
	Changes from Wolfram Quester to allow for bounding box customization.

2004-05-09  MPHodges  <MPHodges@dugong>

	* file.c:
	Don't increment molecule index, if MOLECULE keyword is used for the
	first atom in a frame.

	* edit.c, file.c, globals.h:
	Allow system to be split into molecules (the start of a new molecule
	is signified by the keyword MOLECULE on any atom's input line). Bond
	and H-bond factors are now split into independent intermolecular and
	intramolecular values.

2004-04-16  MPHodges  <MPHodges@dugong>

	* web/XmakemolMailingLists: Added links to archives.

2004-04-04  MPHodges  <MPHodges@dugong>

	* gl_funcs.c:
	Make sure current GL render type is respected when calculating
	bounding box.

2004-04-02  MPHodges  <MPHodges@dugong>

	* bbox.c, edit.c, view.c:
	Improved handling of GL bounding box rendering; now takes into account
	atom sizes correctly. Updating doesn't work properly when switching
	between "ball and stick", and "tubes".

2004-03-31  MPHodges  <MPHodges@dugong>

	* gl_funcs.c: Improved rendering of bounding box.

	* file.c: Fixed sscanf call.

2004-03-21  MPHodges  <MPHodges@dugong>

	* web/XmakemolGallery: Changed Screenshots to Gallery.

	* RELEASE: Added instructions to make GPG signature.

	* web/XmakemolDownloads: Give URL for old versions.

	* web/WelcomePage: Changed Screenshots to Gallery.

	* configure.in: Version 5.12 released.

	* NEWS, web/XmakemolDocumentation, web/XmakemolNews, xmakemol.html, xmakemol.txt:
	Updated for version 5.12.

	* web/XmakemolGallery, web/XmakemolScreenshots:
	Renamed XmakemolScreenshots to XmakemolGallery

	* edit.c, globals.h, menus.c:
	New "Edit->Scale coordinates" dialog. Preset Bohr->Angstrom and
	Angstrom->Bohr presets available.

2004-03-11  MPHodges  <MPHodges@dugong>

	* web/XmakemolScreenshots: Minor formatting change.

	* web/XmakemolScreenshots:
	Added comment to encourage users to submit interesting images.

2004-02-14  MPHodges  <MPHodges@dugong>

	* configure.in: Version 5.11 released.

	* NEWS, RELEASE, web/XmakemolDocumentation, web/XmakemolNews, web/XmakemolScreenshots, xmakemol.html, xmakemol.txt:
	Updated for version 5.11.

	* gl2ps.c, gl2ps.h: Updated GL2PS to version 1.1.2.

	* Makefile.am: Added C60 example.

	* edit.c: Added value-changed callbacks to GL dialog widgets.

2003-11-26  MPHodges  <MPHodges@dugong>

	* RELEASE: Mention updating of xmakemol.txt and xmakemol.html.

2003-11-06  MPHodges  <MPHodges@dugong>

	* examples/caffeine.xyz: Caffeine example.

	* edit.c:
	Increase maximum atom size (% covalent radius); allows space-filling
	like rendering.

2003-11-05  MPHodges  <MPHodges@dugong>

	* gl_funcs.c: Don't draw atom numbers/symbols unless atom_flag is set.

2003-11-02  MPHodges  <MPHodges@dugong>

	* configure.in: Version 5.10 released.

	* NEWS, RELEASE, ToDo.txt, web/XmakemolDocumentation, web/XmakemolDownloads, web/XmakemolNews, web/XmakemolScreenshots:
	Updated for version 5.10.

	* examples/C60.xyz: C60 example.

2003-10-28  MPHodges  <MPHodges@dugong>

	* gl_funcs.c: Improved syntax.

2003-10-27  MPHodges  <MPHodges@dugong>

	* edit.c, file.c, gl_funcs.c, globals.h:
	Allow different rendering modes to be specified; only work with OpenGL
	with lighting switched on.

2003-09-30  MPHodges  <MPHodges@dugong>

	* file.c: Allow export to EPS/PDF file formats.

	* gl_funcs.c: Use gl2psText to render text in exported EPS/PDF files.

	* gl2ps.c, gl2ps.h: Updated GL2PS to version 1.0.0.

2003-09-23  MPHodges  <MPHodges@dugong>

	* canvas.c, draw.c, globals.h:
	Make non-OpenGL rendering of selected atoms similar to OpenGL
	rendering.

	* gl_funcs.c: Add selected atom labels.

2003-09-21  MPHodges  <MPHodges@dugong>

	* gl_funcs.c:
	Don't use lighting when rendering selected atom borders; with the
	spotlight on, the colour changes.

	* gl_funcs.c, gl_funcs.h:
	Use GLUT to render atom numbers and symbols; simplify rendering by
	only drawing the visible parts of vectors.

	* acinclude.m4, configure.in:
	Basic checking for GLUT header; GL build won't proceed if this isn't
	found.

2003-09-20  MPHodges  <MPHodges@dugong>

	* README: Updated bug-report address and homepage URL.

2003-09-17  MPHodges  <MPHodges@dugong>

	* RELEASE: Initial draft of release protocol.

	* NEWS, web/XmakemolNews: Updated news files.

2003-09-16  MPHodges  <MPHodges@dugong>

	* web/XmakemolDocumentation:
	Removed mention of -bg (led to formatting problem).

	* web/WelcomePage, web/XmakemolNews: Added News page.

	* COPYING: Version 2 of GNU GPL.

2003-09-08  MPHodges  <MPHodges@dugong>

	* web/XmakemolMailingLists: Added xmakemol-bugs.

2003-09-07  MPHodges  <MPHodges@dugong>

	* web/XmakemolDownloads, xmakemol.html, xmakemol.txt, configure.in:
	Version 5.09 released.

	* Makefile.am: Added water.xyz example to distribution.

	* help.c: Changed bug report address to xmakemol-bugs mailing list.

2003-09-06  MPHodges  <MPHodges@dugong>

	* examples/water.xyz: Water example.

	* Makefile.am, xmakemol.txt: Added text version of documentation.

	* gl2ps.c, gl2ps.h: Updated GL2PS to version 0.9.2.

	* web/WelcomePage: Mention exporting to Fig format.

	* web/XmakemolDocumentation: Major update for version 5.08.

	* AUTHORS, help.c, xmake_anim.pl: Minor updates.

2003-09-03  MPHodges  <MPHodges@dugong>

	* xmakemol.1: Modified short description.

	* web/WelcomePage, web/XmakemolDocumentation, web/XmakemolDownloads, web/XmakemolMailingLists, web/XmakemolScreenshots:
	Initial web pages content.

2003-07-25  MPHodges  <MPHodges@dugong>

	* file.c:
	Minor fix for problem that lead to compiler error with gcc-2.95.

2003-06-23  MPHodges  <MPHodges@dugong>

	* configure.in: Version 5.08 released.

2003-05-24  MPHodges  <MPHodges@dugong>

	* file.c:
	When merging files, if the Edit->Positions dialog is open, only the
	new atoms are selected for rotation/translation.

2003-05-11  MPHodges  <MPHodges@dugong>

	* draw.c, gl_funcs.c:
	Better handling of drawing atom/bond borders for 2D GL rendering.

2003-04-03  MPHodges  <MPHodges@dugong>

	* gl_funcs.c, menus.c, view.h, xmakemol.c:
	Enable H-bonds and vectors by default; also enable GL/no-lighting
	rendering when GL support built in.

	* gl_funcs.c: Fixes for GL/lighting-off TUBES rendering.

2003-04-01  MPHodges  <MPHodges@dugong>

	* gl_funcs.c:
	Don't render bbox faces; they aren't exported correctly by GL2PS.

	* draw.c, fig.c, file.c, gl_funcs.c:
	Improvements to GL rendering with lighting turned off; much more
	similar to non-GL rendering now.

2003-03-28  MPHodges  <MPHodges@dugong>

	* AUTHORS, README, xmake_anim.pl.1, xmakemol.1:
	Updated contact information.

2003-03-25  MPHodges  <MPHodges@dugong>

	* gl2ps.c: Wrap GL2PS source in #ifdef GL conditional.

	* file.c: Include background in exported GL PostScript.

2003-03-24  MPHodges  <MPHodges@dugong>

	* Makefile.am, file.c, gl2ps.c, gl2ps.h:
	Added initial GL2PS capabilities.

2003-03-17  MPHodges  <MPHodges@dugong>

	* gl_funcs.c:
	Use complementary colours to show selected atoms rendered under GL.

	* file.c: Doesn't try to close unopened printcap file.

2003-03-16  MPHodges  <MPHodges@dugong>

	* file.c:
	Save and load perspective depth/scale data when reverting files.

2003-03-13  MPHodges  <MPHodges@dugong>

	* xmakemol.c, menus.c, file.c:
	Implemented File->Revert option to reread contents of currently loaded
	file. This preserves rotational and translational data. The
	perspective data also needs to be preserved, and this isn't
	implemented yet.

2003-03-12  MPHodges  <MPHodges@dugong>

	* xmakemol.c: Updated copyright year.

	* help.c: Updated e-mail address.

2002-12-11  MPHodges  <MPHodges@dugong>

	* file.c: Use correct test to see if atom has colour name set.

2002-12-05  MPHodges  <MPHodges@dugong>

	* file.c, globals.h:
	Allow color names to be specified on a per-atom basis in input files.
	Syntax is, e.g.:

	          He    34.0     5.0     0.0    atom_color blue

2002-12-04  MPHodges  <MPHodges@dugong>

	* file.c, globals.h:
	Allow RGB colors to be specified on a per-atom basis in input files.
	Syntax is, e.g.:

	          He    34.0     5.0     0.0    atom_rgb 0.0 0.0 1.0

2002-11-27  MPHodges  <MPHodges@dugong>

	* xmakemol.tex: Updated vector syntax.

	* configure.in: Version 5.07 released.

	* file.c: Set minimum H-bond length -- currently not adjustable without
	recompilation.

	* draw.c, gl_funcs.c: Treat more cases when never_use_vdw is relevant.

2002-11-23  MPHodges  <MPHodges@dugong>

	* rotate.c:
	Set local centre of mass to the origin when all atoms are dummies.

2002-10-10  MPHodges  <MPHodges@dugong>

	* rotate.c, track.c, translate.c:
	Emit message when atom selected; clear messages after rotation and
	translation.

2002-10-04  Matt Hodges  <MPHodges@member.fsf.org>

	* control.c: Better handling of selected atoms from TextField widget.

	* file.c: Initialize per-frame perspective/scale settings.

	* file.c: Don't touch uninitialized parts of string.

2002-09-10  Matt Hodges  <MPHodges@member.fsf.org>

	* configure.in: Version 5.06 released.

	* elements: Updated covalent radii using data from GPeriodic.

	* gl_funcs.c: Added comment.

	* crystal.c: Note to self.

2002-07-05  Matt Hodges  <MPHodges@member.fsf.org>

	* globals.h: Initialize no_frames.

	* configure.in: Version 5.05 released.

2002-07-04  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c:
	Allow orthographic projection of rendered scene (using `Toggle depth'
	button).

	* frames.c: Only return if there are no frames.

2002-05-27  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile.am: Renamed man page.

	* xmake_anim.pl: Fallback to using just convert, if no gifsicle.

2002-05-24  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile.am: Added xmake_anim man page.

	* configure.in: Version 5.04 released.

2002-05-15  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c: Avoid crash when no data loaded.

2002-05-13  Matt Hodges  <MPHodges@member.fsf.org>

	* xmake_anim.pl.1, xmakemol.1:
	Added xmake_anim.pl man page; updated xmakemol manpage.

	* xmake_anim.pl: Use gifsicle and convert (no fallback).

2002-05-10  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c, edit.c, file.c, frames.c, globals.h, menus.c:
	Separate Save/Export dialogs; pause at first/last frames when using
	the `bounce' option; new option to prevent van der Waals radii being
	used.

2002-05-09  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c, elements, file.c, frames.c:
	Assign any atoms with type not found in the elements file as dummy
	atoms (type DU).

2002-04-25  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Added missing (NULL) arguments to canvas_cb call -- fixes SGI
	compilation error.

2002-04-22  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c: Cosmetic changes.

2002-02-21  Matt Hodges  <MPHodges@member.fsf.org>

	* help.c, xmakemol.c: Updated copyright years.

2002-02-19  Matt Hodges  <MPHodges@member.fsf.org>

	* configure.in, xmakemol.1: Version 5.03 released.

2002-01-22  Matt Hodges  <MPHodges@member.fsf.org>

	* bbox.c, crystal.c:
	More bbox/crystal integration: bounding box for crystal unit cell
	works when using GL rendering.

	* gl_funcs.c: Removed print statement.

	* xmakemol.1:
	Try not to confuse people who don't know that foo is generic!

2002-01-04  Matt Hodges  <MPHodges@member.fsf.org>

	* animate.c, canvas.c, edit.c, file.c, frames.c, gl_funcs.c, xmakemol.c:
	Changed for: bounding box; copying of GL canvas to pixmap; treatment
	of STDIN.

	* bbox.c: More crystal code; GL dependencies.

	* xmakemol.1: Updated version.

	* crystal.c: Started implementation of bounding box.

2001-12-16  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Protect against trying to open a directory.

	* file.c: Calculate bounding box for EPS images. [Michael Banck]

2001-11-19  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c: Fixed bugs associated with changing of crystal visibilities.

2001-11-16  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile.am, crystal.c, edit.c, file.c:
	Started to implement displaying of crystal structures, given unit cell
	data.

2001-11-14  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c, utils.c: Removed C++ style comments.

2001-11-12  Matt Hodges  <MPHodges@member.fsf.org>

	* configure.in: Version 5.02 released.

	* fig.c: Implemented atom labels and numbers text.

	* Makefile.am, xmakemol.tex: Include HTML documentation in the tarball.

2001-11-07  Matt Hodges  <MPHodges@member.fsf.org>

	* VERSION: Version is now defined in configure.in.

2001-11-06  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.c: Exit when closing the main window via the window manager.

2001-11-02  tronkko  <tronkko@dugong>

	* animate.c, file.c, frames.c:
	File selection dialogs share a common working directory and file lists
	are updated automatically whenever a previously created file selection
	dialog is brought back to screen.

2001-11-01  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c: Reduced default quality of rendering.

	* elements:
	Updated using masses from gperiodic. Elements up to Meitnerium (Z =
	109) given placeholders (white, with covalent radius of 2.0).

	* fig.c: Use the default resolution (1200 ppi) and scale coordinates.

2001-10-31  Matt Hodges  <MPHodges@member.fsf.org>

	* fig.c: Implemented colouring of bonds.

	* fig.c, file.c:
	Add colour or b/w export to FIG alternatives. Implmented colouring of
	atoms.

	* fig.c: Added H-bonds.

	* Makefile.am, fig.c, file.c:
	First steps towards supporting exports to fig format. Atoms/bonds
	(black and white only) implemented.

2001-10-30  Matt Hodges  <MPHodges@member.fsf.org>

	* configure.in: Version 5.01 released.

2001-10-29  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Initialize elem_file to prevent seg faults.

2001-10-26  Matt Hodges  <MPHodges@member.fsf.org>

	* ToDo.txt: Updated.

	* INSTALL:
	Slightly modified version of the file provided by Toni Ronkko; generic
	instructions for using the `configure' script are provided along with
	instructions specific to some of the libraries XMakemol uses. The old
	instructions for using the provided Makefile.orig are also included.

	* XMakemol.ad, xmakemol.c:
	Use minimal fallback resources in favour of an application defaults
	file.

2001-10-25  adoline  <adoline@dugong>

	* AUTHORS: Updated email address.

2001-10-25  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	Look for elements file in: XM_ELEMENTS (file or directory), ELEMENTS
	(compiled in location), and the current working directory.

	* gl_funcs.c:
	Moved referenced to display_env inside SGI_STEREO conditional.

	* AUTHORS, INSTALL, Makefile.am, NEWS, README, acconfig.h, acinclude.m4, animate.c, bbox.c, canvas.c, config.h, configure.in, control.c, draw.c, edit.c, file.c, frames.c, gl_funcs.c, globals.h, help.c, menus.c, region.c, rotate.c, sort.c, store.c, track.c, translate.c, utils.c, vectors.c, view.c, xmakemol.c:
	XMakemol now officially has autoconf support. [Toni Ronkko] Other
	associated changes, including those contributed for the FreeBSD port.
	[Chi Zhang]

2001-10-23  adoline  <adoline@dugong>

	* file.c:
	Fixed bug caused by rearranging widgets in gl_render_dialog.  If the dialog had
	been opened, and then a file was loaded, the eye_scale widget would be
	referenced through the hierachical names of its parent widgets up to
	gl_render_dialog, and this led to setting the value of the widget using a null
	reference because the hierarchy was no longer correct.

	* gl_funcs.c:
	Don't allow change to SGI stereo mode if running on a remote display, since the local display would still change to the STR_TOP resolution and refresh rate.

2001-10-15  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile.orig: Updated the dependencies; tidied things up.

	* rescale.c: Obsolete.

	* Makefile:
	Makefile should be generated from Makefile.orig and edited. Hence, I
	don't want this in the repository.

	* Makefile.orig, animate.c, basename.c, file.c, frames.c:
	Use basename () from the GNU C library.

2001-10-12  adoline  <adoline@dugong>

	* edit.c, gl_funcs.c:
	Only change to hardware stereo mode on SGI's when gl rendering is enabled
	and SGI Stereo radio button is selected.

	* edit.c:
	Changed layout of widgets in GL dialog such that all the widgets will be
	visible when in SGI Stereo mode.

2001-10-04  adoline  <adoline@dugong>

	* gl_funcs.c:
	When switching to stereo mode on SGI, height is set to 392; anything larger
	than this will hide the status bar. (Not sure if 392 is appropiate for
	all SGI's... tested on an O2 so far)

2001-10-03  adoline  <adoline@dugong>

	* gl_funcs.c: Corrected error message concerning SGI stereo support

	* control.c, edit.c, file.c, gl_funcs.c, track.c:
	Changed typecasts from (int) to appropriate (enum ___) typecasts to eliminate
	some warnings when compiling with cc

2001-10-02  adoline  <adoline@dugong>

	* file.c, gl_funcs.c:
	Added code to update gl_eye upon reading a file such that the initial
	rendering of the image in GL looks similar to the initial rendering in X11.

2001-09-28  Matt Hodges  <MPHodges@member.fsf.org>

	* canvas.c: Corrected conditional compilation error.

2001-09-25  Matt Hodges  <MPHodges@member.fsf.org>

	* animate.c, file.c, frames.c:
	Fixed problems with writing XPM files due to missing colormap in a
	call to XpmWriteFileFromPixmap. (Affected machines with multiple
	visuals of different kinds simultaneously on screen.) [Toni Ronkko]

2001-09-24  adoline  <adoline@dugong>

	* gl_funcs.c, xmakemol.c:
	Toni Ronkko's patch for keeping molecule centered maintains the image's
	aspect ratio after resizing, so I'm using a new method to scale the image
	extra wide for SGI stereo mode.  Now simply calling glScalef with modified
	x arg.
	Also removed some code made redundant by the patch from canvas_resize_cb.

	* Makefile, file.c, xmakemol.c:
	I messed up the log entry on my last revision of these files.  The update
	text was supposed to be this:
	Added cleanup_cb function to do any cleanup before program exits. Currently
	using this to change from stereo resolution on SGI back to normal resolution.
	cleanup_cb called if user selects 'quit' from File menu, or selects 'close'
	option from window manager titlebar button.

	* Makefile, file.c, gl_funcs.c, xmakemol.c: /tmp/cvsqmWfPM

2001-09-24  Matt Hodges  <MPHodges@member.fsf.org>

	* canvas.c, file.c, gl_funcs.c, globals.h, xmakemol.c:
	Applied patch from Toni Ronkko to keep the molecule centered when
	resizing the main window.

2001-09-21  adoline  <adoline@dugong>

	* gl_funcs.c:
	Removed the global boolean variable displaying_stereo, using
	XSGIQueryStereoMode to determine if we're displaying stereo instead.

	* Makefile, Makefile.orig:
	Changed some of text regarding stereo stuff in Makefile and Makefile.orig,
	added dependency on utils.c for gl_funcs.o

2001-09-21  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.1: Fixed typo.

2001-09-20  adoline  <adoline@dugong>

	* bbox.c, canvas.c, file.c:
	Fixed memory leak caused by repeated calls to XCreateColormap in
	canvas_cb(), draw_bbox_face(), and frame_content_to_atoms() when GL is defined.
	Added appropiate calls to XFreeColormap() to free memory.  May be better to
	create global cmap variable once instead of repeatedly creating and deleteing
	colormaps...

	* Makefile:
	Previously comitted my working Makefile instead of copy of Makefile.orig.
	Correcting Makefile back to unaltered copy of Makefile.orig.

	* Makefile, edit.c, gl_funcs.c:
	Added #ifdef SGI_STEREO ... #endif statements so Crystaleyes options only show
	up when CE_DEFS and CE_LIBS are defined in the Makefile.  These defines should
	only work on SGI machines, other platforms will complain about missing include
	files, etc.

2001-09-20  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	If XM_ELEMENTS is a directory, append `/elements' and try to open that
	file before falling back on the default.

	* xmakemol.c: Changed the application class to XMakemol.

2001-09-19  adoline  <adoline@dugong>

	* Makefile, Makefile.orig, edit.c, gl_funcs.c:
	Added CE_DEFS and CE_LIBS for CrystalEyes support in Makefile.orig.
	Using SGI system calls to check for stereo support instead of assuming
	it exists.

	* Makefile, edit.c, gl_funcs.c, globals.h, utils.c, xmakemol.c:
	Support for Crystaleyes stereographic glasses on SGI machines.  Requires
	SGI_STEREO to be defined at in Makefile.

2001-08-22  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.1: Fix -h switch description.

	* Makefile.orig: Change location of binary installation.

	* Makefile.orig: Added install rule for manpage.

	* Makefile.orig: Distribute the manpage.

	* xmakemol.1: Initial draft.

	* ToDo.txt: Updated.

	* Makefile.orig: Added Xext, pthread and dl libraries to link.

	* VERSION: Version 4.41 released.

	* canvas.c, draw.c, file.c, gl_funcs.c, globals.h, rotate.c, vectors.c:
	Added capability to have more than one vector per atom; the relevant
	parameter is set to three by default.

2001-05-15  Matt Hodges  <MPHodges@member.fsf.org>

	* help.c: Allocate sufficient memory for about_string.

2001-05-08  Matt Hodges  <MPHodges@member.fsf.org>

	* VERSION: Version 4.40 released.

2001-04-26  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	Set current_file_name when reading from STDIN so that translations
	don't get ignored in track ().

2001-04-25  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c, gl_funcs.c:
	Added specular lighting configuration for GL rendering.

	* xmakemol.c:
	Added -G option to start with GL rendering if GL support enabled.

2001-04-24  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile.orig, bbox.c, canvas.c, file.c, xmakemol.c:
	Fix compilation problems when -DGL is not specified.

2001-04-17  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Fixed checking of optional input strings.

	* file.c:
	Make sure vector/ellipse properties are initialized for atoms which
	don't have them.

2001-04-17  adoline  <adoline@dugong>

	* globals.h, xmakemol.c, Makefile, Makefile.orig, bbox.c, canvas.c, file.c, gl_funcs.c:
	Removed need to disable x-rendering on SGI machines.  Edited calls to
	XCreateGC, XCopyArea, XCreatePixmapFromData, XCreateColormap to reference
	canvas instead of root_window, and visinfo visual instead of default visual.

2001-04-17  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c:
	Render ellipses in TUBES mode iff the atom is not bonded to anything
	else.

	* control.c, globals.h: Removed global scale variable.

	* file.c: Keep track of the maximum elliptical scaling parameter.

	* utils.c: Fixed Euler angle matrix.

	* gl_funcs.c:
	Don't render ellipses when not in BALL_AND_STICK mode; minor fix in
	gl_open_file_init.

	* gl_funcs.c:
	Take into account elliptical units when updating near/far GL clipping.

	* gl_funcs.c:
	Only apply the vector-clipping fudge if vectors are being rendered.

	* Makefile, Makefile.orig, canvas.c, defs.h, draw.h, edit.c, file.c, frames.c, gl_funcs.c, globals.h, rotate.c, utils.c:
	Added basic support for specifying elliptical units; vectors are now
	specified on a per-atom basis; clipping of vectors (GL) is now
	implemented (including one fudge factor).

2001-03-22  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c:
	Use get_no_elements when making Widgets in make_edit_visi_dialog.

2001-03-21  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c: Changed vector colour to shade of grey.

	* edit.c:
	Use get_no_elements when making Widgets in make_edit_posn_dialog.

2001-03-20  adoline  <adoline@dugong>

	* edit.c:
	Commented out XtSetSensitive code to avoid problems with HP/UX.

2001-03-02  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Include <alloca.h> (hopefully no platform dependence).

2001-03-01  adoline  <adoline@dugong>

	* xmakemol.c:
	Fixed the segmentation faults when using the custom translation table
	with the Glw and GlwM drawing area widgets, for real this time!  Problem was
	in the ManagerGadget* function calls in the translation table.  They seem
	to be specific to the Motif DrawingArea widget, and they were causing the
	crashes in the GLw and GLwM widgets.

2001-02-28  Matt Hodges  <MPHodges@member.fsf.org>

	* frames.c: Removed comment.

	* frames.c, utils.c:
	New function clear_message_area (better implemetation?). Display frame
	label if the frame is changed and frames_dialog is not mapped.

2001-02-27  adoline  <adoline@dugong>

	* xmakemol.c:
	Changed from using GLwM widget for canvas to GLw widget when SGI_GL is
	defined.  GLwM causes crashes for an unknown reason, but using the GLw
	widget instead seems to resolve this problem.

	* canvas.c, gl_funcs.c:
	Moved code to initialize background color from x_render function to
	bg_color_init in canvas.c.  This allows us to initialize the
	background color even if we are disabling x-rendering, and thus not
	entering the x_render function.  If SGI_GL is defined, bg_color_init
	is called in gl_init.

	* file.c:
	Added a typecast from char to int for isalnum function so compiler won't
	give us a warning.

2001-02-21  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.c: Added missing terminators in translations.

2001-02-20  adoline  <adoline@dugong>

	* Makefile:
	Same update as for Makefile.orig: Added option to GL_DEFS so user may
	define SGL_GL in case they are having trouble getting it to work on an
	SGI machine.

	* Makefile.orig:
	Added option to GL_DEFS so user can define SGI_GL in case they are having
	trouble getting GL to work.  Defining SGI_GL disables X rendering.

	* Makefile, animate.c, canvas.c, draw.c, edit.c, file.c, gl_funcs.c, globals.h, xmakemol.c:
	Added stereo functionality to opengl mode, works with red-blue stereo
	glasses.  Enabled by option button in edit->gl rendering.  Seperation
	of left and right fields can be controlled with slider bar in dialog.

	Added code to set gl_eye automatically for each file when loaded, so
	that initial scaling between x rendering and gl rendering is nearly
	the same.

	Numerous other small bits of cleaning up code.

2001-01-23  adoline  <adoline@dugong>

	* track.c:
	Don't do translations if we haven't loaded a file yet, as clicking the mouse
	around the initial screen can cause a divide by zero error.

2000-11-08  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c, xmakemol.c:
	Change the locale for category LC_NUMERIC to "C" after the application
	has been initialized. If a parse error occurs when reading an XYZ
	file, print LC_NUMERIC to stderr.

2000-10-27  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c, gl_funcs.c:
	Add option to toggle use of lighting (on by default).

2000-10-26  Matt Hodges  <MPHodges@member.fsf.org>

	* control.c: Fixed sign of torsion angle (I hope).

2000-10-25  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c:
	Made outline mode much more efficient when using GL by disabling some
	unnecessary features: lighting, depth and colour.

2000-10-18  Matt Hodges  <MPHodges@member.fsf.org>

	* VERSION: Version 4.30 released.

	* Makefile.orig: Brought into line with Makefile.

2000-10-17  adoline  <adoline@dugong>

	* file.c:
	Removed debugging line from print_file_cb that sends the print command to
	stderr.

2000-10-17  Matt Hodges  <MPHodges@member.fsf.org>

	* XMakemol.ad: Much simplified version.

	* animate.c, canvas.c, control.c, edit.c, file.c, frames.c, track.c, xmakemol.c:
	Untabified source.

	* file.c:
	Use mkstemp rather than mktemp in print_file_cb. write_eps () now
	takes an additional argument (type FILE *), which if non-NULL is used
	rather than opening the file given by file_name.

	* Makefile: Produce gzipped tar file in current directory.

2000-10-04  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c:
	Fixed some rendering details. In TUBES rendering mode, atoms and bonds
	are treated as mutually exclusive. An atom in a bond will only be
	displayed if bonds are being displayed and is not affected by whether
	or not atoms are being displayed. Fixed the rendering of H-bonds for
	all the combinations.

	* draw.c:
	Fixed rendering of H-bonds to atoms which aren't themselves bonded.

2000-10-02  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c, utils.c:
	Optimizations: unrolled some functions in utils.c; reorganized use of
	quadrics in gl_funcs.c (use one for all rendering).

	* canvas.c, edit.c, gl_funcs.c, gl_funcs.h, xmakemol.c:
	Rendering with GL now happens directly onto XtWindow (canvas) as
	working with a pixmap caused problems that I couldn't resolve on some
	displays. This means that the contents of the window have to be copied
	to canvas_pm for outputting in XPM format (though this should be made
	conditional for performance benefits).

2000-10-02  adoline  <adoline@dugong>

	* edit.c, file.c:
	edit.c: removed global variable related to set background color dialog.
	file.c: fixed seg fault that occured when /etc/printcap does not exist, and
	user tries to open print dialog.

2000-09-29  adoline  <adoline@dugong>

	* edit.c, menus.c:
	Commented out code for set background color dialog and removed option from edit menu.  May possibly reuse code for dialog later if a preferences dialog is added, along with facility to save preferences.

2000-09-29  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c:
	Call gl_set_perspective whenever the scene changes. Updated values of
	near and far based on the current positions of the atoms are
	calculated in gl_update_near_and_far. The calculation of the near
	point takes into account the van der Waals radius (unscaled) and the
	far point adds a bit of leeway for correct rendering of the furthest
	disk in outline mode.

	* gl_funcs.c: Added outline capabilities for GL rendering.

2000-09-28  Matt Hodges  <MPHodges@member.fsf.org>

	* canvas.c, draw.c, globals.h, view.c:
	Replaced update_efficiently with outline_mode, accessible with
	outline_mode_p ().

2000-09-26  adoline  <adoline@dugong>

	* AUTHORS: Added my name and email to AUTHORS

	* canvas.c, draw.c, edit.c, file.c, globals.h, menus.c, xmakemol.c:
	Merged all the changes I've made locally since beginning work on xmakemol
	in June of 2000.  All sections I changed or modified are marked with my
	initals: "aro".

2000-09-25  Matt Hodges  <MPHodges@member.fsf.org>

	* track.c:
	Cosmetic changes plus useful comment to remind me about mouse_motion.

	* canvas.c, draw.c, file.c, globals.h, help.c, menus.c, region.c, rotate.c, track.c, xmakemol.c:
	Changed the mouse translations (code should be more easily
	maintainable now); see Help->Mouse for the new bindings.

2000-09-19  Matt Hodges  <MPHodges@member.fsf.org>

	* xm_logo_1.h: No longer needed in distribution.

	* file.c, globals.h, canvas.c:
	More flexibility for merging files; either the first frame can be
	mapped onto all frames or frames can be mapped on a one to one basis.
	Note that in the latter case, merging stops if an EOF is detected in
	the file to be merged (ie the original frame contents are preserved
	for subsequent frames).

	Defined (and used) new global variable, inhibit_canvas_callback, which
	prevents any redisplays if canvas_cb is called.

	* VERSION: File to store XMakemol version.

2000-09-18  Matt Hodges  <MPHodges@member.fsf.org>

	* AUTHORS: Added me and blank contributions.

2000-07-21  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.c:
	Set xmakemol_version at the beginning of main (before get_options is
	called); xmakemol -v will correctly print the version now.

	* Makefile, Makefile.orig: Added install: target.

2000-06-21  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig:
	Get version from file VERSION, which is now included with the
	distribution.

	* Makefile, Makefile.orig, draw.c, gl_funcs.c:
	Render using van der Waals radii for atoms which are not bonded to
	anything else.

	* edit.c, gl_funcs.c, gl_funcs.h:
	Defined GL rendering modes BALL_AND_STICK and TUBES.

2000-06-07  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile.orig, Makefile:
	Include AUTHORS file in the distribution; this should be an obvious
	place to look for an e-mail address for bug reports etc.

	* AUTHORS: New file.

	* rotate.c:
	Changed abs () to fabs () to avoid problems on alpha architectures.

	* control.c, file.c:
	Changed log (2) to log (2.0) to avoid problems on alpha architectures.

2000-05-25  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig:
	Added flag to allow compilation under Solaris.

2000-05-11  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c, gl_funcs.c:
	New function get_bond_width which can be used instead of
	get_bond_scale.

	* gl_funcs.c: First attempt at stippling selected atoms.

2000-05-05  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c:
	Defined gl_render_{atom, bond, hbond} and used. Invisibility now
	respected.

	* edit.c, gl_funcs.c:
	Added more GL rendering control; details of atoms/bonds/hbonds.

	* file.c: Print any line not parsed to stderr.

	* PROBLEMS: Added note about LANG problems.

	* PROBLEMS: New file.

2000-05-04  Matt Hodges  <MPHodges@member.fsf.org>

	* xmake_anim.pl: More robust sorting of frame numbers.

	* xmake_anim.pl: Changed default location of convert utility.

2000-05-03  Matt Hodges  <MPHodges@member.fsf.org>

	* README: People don't really have to cite XMakemol in publications.

	* xmake_anim.pl: Updated copyright information.

	* Makefile, Makefile.orig:
	Changed script name from gmake_anim.pl to xmake_anim.pl.

	* xmakemol.c:
	Moved get_options -- we only need to wait until the menus are defined.

	* Makefile.orig, Makefile: Incremented version number.

	* canvas.c:
	Define get_bg_color for providing canvas colour for other routines.

	* xmakemol.c: Fixed resizing canvas under GL.

2000-05-02  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c: Set background color correctly.

	* edit.c:
	Better gl_render_dialog string; manage gl_render_dialog buttons.

	* canvas.c: Removed redundant prototype.

	* edit.c, canvas.c, gl_funcs.c:
	Removed X rendering code from canvas_cb to x_render. Use it.

	* Makefile, Makefile.orig: Incremented version number.

	* edit.c: Removed message.

	* file.c: Make saving all frames the default.

2000-04-28  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig, gl_funcs.c, globals.h, xmakemol.c:
	More GL changes (using gl_funcs.h).

	* gl_funcs.h: New file.

	* animate.c: Update message_area if the animation is stopped.

2000-04-27  Matt Hodges  <MPHodges@member.fsf.org>

	* animate.c:
	Don't update message area during animation more often than once every
	0.5 seconds.

2000-04-05  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c, vectors.h: Updated Copyright information.

	* xmake_anim.pl: Use ImageMagick `convert' program if available.

	* edit.c: Increased maximum bond fudge factor.

2000-04-04  Matt Hodges  <MPHodges@member.fsf.org>

	* xmake_anim.pl:
	Protect against filenames containing literal `.' and `+' characters.

2000-03-31  Matt Hodges  <MPHodges@member.fsf.org>

	* globals.h: Added GL/glu.h header.

	* gl_funcs.c, canvas.c, globals.h, xmakemol.c:
	Render GL onto same pixmap as under normally.

2000-03-22  Matt Hodges  <MPHodges@member.fsf.org>

	* xmake_anim.pl: Used neater foreach construction.

	* Makefile: Incremented version number.

2000-03-18  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.c: Note how to read STDIN in usage.

	* Makefile.orig: Incremented version number.

	* file.c, xmakemol.c:
	Allow reading of STDIN by specifying '-f -' on the command line.

2000-03-08  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c, view.c: Print number of bonds/hbonds when switching them on.

2000-03-02  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Removed redundant prototype.

2000-02-29  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Fix to write_eps -- must get depth using get_z_depth.

	* control.c: Fixed bug associated with dead widget.

	* file.c: Don't spit out warning if aux file doesn't exist.

	* control.c, file.c, globals.h, help.c, xmakemol.c, Makefile, Makefile.orig, canvas.c, edit.c, frames.c, menus.c:
	Updated Copyright years.

	* Makefile.orig: Version 4.18 released.

	* file.c:
	Some additional checks for aux file reads. Warnings to stderr.

	* control.c, file.c:
	Loading and saving of frame-dependent scale/depth parameters is
	working (modulo and integer conversion problem?).

2000-02-28  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c, Makefile, control.c, globals.h:
	Set up mechanism for having frame-dependent values for scale and depth.

2000-02-25  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c, edit.c, menus.c: More GL stuff.

2000-01-18  Matt Hodges  <MPHodges@member.fsf.org>

	* gl_funcs.c: Fixed bug in vector-rendering code.

2000-01-12  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, canvas.c, gl_funcs.c, xmakemol.c:
	Added initial GL rendering functionality. Atoms, bonds and h-bonds
	work to various degrees.

2000-01-06  Matt Hodges  <MPHodges@member.fsf.org>

	* frames.c: Added libgen.h for basename.

	* gl_funcs.c: Added legal headers.

	* gl_funcs.c: New file.

1999-10-13  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c: Get values for arrow geometry from appropriate functions.

	* file.c: Don't add global vector to vectors in frame_content_to_atoms.

1999-09-17  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c: Improved title strings.

	* vectors.c: Added vector documentation.

	* Makefile, Makefile.orig, draw.c, vectors.c, vectors.h:
	Introduced function update_canvas_vector_points; used in draw_vector.

	* Makefile, Makefile.orig: Updated HDRS list.

	* Makefile.orig: Updated dependencies.

	* edit.c, Makefile, draw.c, vectors.c, vectors.h:
	Vector rendering: arrows can be open, closed or filled.

	* vectors.h: New file.

	* draw.c, edit.c, globals.h, vectors.c: Basic vector-rendering coded.

	* file.c:
	Read vectors from file, if available and transfer them to atoms in
	frame_content_to_atoms.

1999-09-03  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Made merge_file_cb more robust.

1999-09-02  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c, file.c, frames.c, track.c, control.c:
	Don't use pow () unnecessarily.

1999-09-01  Matt Hodges  <MPHodges@member.fsf.org>

	* elements: Added entries for SE and CD.

1999-08-31  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	For each type, check that there is a corresponding entry in the
	elements file.

1999-08-25  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Take assign_atom_types outside the loop.

	* canvas.c, xmakemol.c:
	Make sure pointer to non-warranty gets displayed.

	* frames.c: Changed frame information format.

	* Makefile, Makefile.orig: Increment version number.

1999-08-20  Matt Hodges  <MPHodges@member.fsf.org>

	* config.h, xmake_anim.pl: Lengthened name.

	* file.c: Lessen the default scale effect.

	* defs.h: Lessen the default depth effect.

	* file.c:
	Always reset edit status for atoms when contents are changed. Keep
	selections if they are still viable, ie only when all selected[]
	indices aren't out of bounds.

1999-08-19  Matt Hodges  <MPHodges@member.fsf.org>

	* bbox.c, edit.c, file.c, globals.h, track.c, animate.c:
	Atoms visibilities code altered substantially. For files with all
	frames having the same number of atoms, there is the option under
	Edit->Visible to "Propagate visibilities to all frames". This won't
	work for files with variable numbers of atoms per frame.

1999-08-18  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	Protect against reading file with zero frames (eg a directory).

	* file.c:
	Store address of previously selected frame, for when the frame
	changes. Use new function set_selected_frame.

1999-08-17  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	Update the number of visible atoms when frame_content_to_atoms is
	called.

1999-08-16  Matt Hodges  <MPHodges@member.fsf.org>

	* frames.c: Show the number of atoms in the frames label.

1999-08-13  Matt Hodges  <MPHodges@member.fsf.org>

	* globals.h: Removed frames[] references in globals.h.

	* track.c:
	Removed frames[] references in reflect_x, reflect_y, reflect_z and
	invert_coords.

	* file.c:
	Added get_first_frame () function to return a pointer to the first
	frame.

	* translate.c, frames.c, globals.h, rotate.c:
	Removed references to changes_being_saved and adjust_current_frame.

	* file.c: Removed frames[] references in write_ascii_frame.

	* file.c: Removed frames[] references in merge_file_cb.

	* edit.c: Removed frames[] references in edit_posn_make_perm_cb.

	* file.c:
	Write XYZ frames by looping over them and using frame_content_to_atoms
	() and get_selected_frame ().

	* file.c:
	Ensure that atom labels are updated when frame_content_to_atoms is called.

1999-08-11  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c, frames.c:
	Frames changes: changing frames works for file with various numbers of
	atoms in each frame.

	* file.c, frames.c, globals.h: Frames changes: changing frames works.

	* frames.c, file.c: Frames changes: code will work for first file load.

1999-08-10  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Use frame to store frame coordinates.

1999-08-02  Matt Hodges  <MPHodges@member.fsf.org>

	* xmake_anim.pl: More beautification.

	* frames.c, xmakemol.c:
	Added key bindings for next frame (>), previous frame (<) and rewind (^).

1999-07-23  Matt Hodges  <MPHodges@member.fsf.org>

	* xmake_anim.pl: Beautification (GNU style!).

1999-07-20  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c, globals.h: Removed some references to unneeded variables.

1999-07-13  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig: Increment version number.

	* draw.c, file.c:
	Modified eps code such that the hydrogen bonds are rendered
	approximately the same as they are on the canvas.

1999-07-12  Matt Hodges  <MPHodges@member.fsf.org>

	* README, help.c:
	Updated from brian -> vegemite URL. Made README refer more generally
	to a version 4 release of XMakemol.

1999-07-07  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig: Increment version number.

	* Makefile, Makefile.orig: There no longer is "gcc stuff below".

1999-07-05  Matt Hodges  <MPHodges@member.fsf.org>

	* xmake_anim.pl: Correct spelling mistake.

	* xmake_anim.pl:
	Let the -o option override the constructed output filename.

1999-07-01  Matt Hodges  <MPHodges@member.fsf.org>

	* animate.c, frames.c:
	For animations, write XPM files with the .xpm extension. Also, slight
	modification of echoed messages.

	* xmake_anim.pl: Notify that the output file has been written.

	* xmake_anim.pl:
	Construct output filename from the root filename give on the command
	line.

	* xmake_anim.pl: Expect files with extension .xpm.

	* xmake_anim.pl:
	Complain if no files match the filename given on the command line.

	* xmake_anim.pl: Don't convert xpm -> gif if the gif file is newer.

1999-06-22  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.c: Include unistd.h for getopt function.

	* view.c: Added prototype for echo_to_message_area.

1999-06-21  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig: Increment version number.

	* Makefile, Makefile.orig: Added gmake_anim.pl to list of tar'd files.

	* xmake_anim.pl: Basis functions coded.

	* animate.c: Removed spurious file checking.

	* xmake_anim.pl: New file.

	* frames.c, animate.c, file.c:
	More messages associated with writing files. More careful about
	whether we have permission to write the file.

	* track.c, view.c, xmakemol.c, animate.c, canvas.c, control.c, edit.c, file.c, frames.c:
	Use echo_to_message_area function.

	* edit.c: Removed extraneous prototype.

	* Makefile, Makefile.orig, animate.c, file.c, frames.c, globals.h:
	Changes made related to ripping out of xpm -> ppm -> gif code.

1999-06-16  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig: Increment version number.

	* edit.c:
	Unmanage the Edit->Element properties when the cancel is pressed.

1999-06-10  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c: Changed Edit->View for element properties dialog.

1999-06-07  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c:
	XDrawString should take length of string from strlen() not from
	sizeof().

	* menus.c: Added accelerators for important dialogs and options.

1999-06-03  Matt Hodges  <MPHodges@member.fsf.org>

	* frames.c: Removed usleep prototype -- again.

	* Makefile, Makefile.orig: Configured for vegemite.

1999-05-20  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c, file.c:
	New function get_no_elements. Use in edit_element_props_dialog.
	Changed some integers to strlen() calls.

	* elements: Removed trailing empty line.

1999-05-19  Matt Hodges  <MPHodges@member.fsf.org>

	* help.c:
	Changed bug report address to pczmph@unix.ccc.nottingham.ac.uk.

	* control.c:
	Fixed memory access violation bug associated with selected atoms.

1999-05-18  Matt Hodges  <MPHodges@member.fsf.org>

	* canvas.c, draw.c:
	More changes associated with the formatting of textual information on
	the canvas.

	* draw.c: Removed draw_atom_symbols subroutine.

1999-05-13  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c:
	XDrawString should take length of string from strlen() not from
	sizeof().

	* draw.c, canvas.c:
	When both atom symbols and atom numbers are drawn, the format is now:
	number (symbol).

1999-04-01  Matt Hodges  <MPHodges@member.fsf.org>

	* bbox.c, view.c, edit.c:
	The bounding box now takes into the size of the atoms, not just where
	their origins lie.

1999-03-30  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c, defs.h, file.c, menus.c:
	Added Edit->Element properties dialog. The information is currently
	displayed but cannot be edited.

	* elements: Added legal headers.

	* file.c:
	Added comment syntax for the elements file. Comments start with !.

1999-03-26  Matt Hodges  <MPHodges@member.fsf.org>

	* menus.c, rotate.c, track.c, globals.h:
	Rotations for groups of atoms can either be about the origin or the
	local centre of mass. This is hopefully more clear now. Also internal
	changes.

	* rotate.c, bbox.c, globals.h, edit.c, file.c, canvas.c, frames.c, draw.c:
	Large number of internal changes: the all purpose rotate() subroutine
	now handles all rotations. Before calling the following routines
	should be called --- set_rotate_axis, set_rotate_angle and
	set_rotate_origin.

1999-03-25  Matt Hodges  <MPHodges@member.fsf.org>

	* frames.c: Allow for zero frames case.

1999-03-24  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c: Allow selected atoms to be invisible.

1999-03-23  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c: Removed visi_atoms_cb.

	* track.c:
	Fixed bug whereby select_atom_internal would not work if the first
	atom was not visible.

1999-03-22  Matt Hodges  <MPHodges@member.fsf.org>

	* region.c:
	The XButtonEvent bevent should be the same pointer as in track.c.

	* INSTALL: Updated canonical GNU ftp site.

	* INSTALL: Make note about the configs.h file.

	* help.c, menus.c, region.c, track.c, xmakemol.c:
	Updated mouse actions: See the Help->Mouse dialog for additional
	information.

	* frames.c: Added prototype for usleep.

	* config.h, draw.c, utils.c:
	Rename nint to xm_nint and do away with config.h stuff.

	* Makefile, Makefile.orig: Updated dependencies.

	* edit.c:
	Initialize atoms_in_region to avoid spurious compiler warnings.

	* Makefile, Makefile.orig: Updated dependencies for config.h.

	* frames.c: Use HAVE_USLEEP (config.h).

	* utils.c: Use HAVE_NINT (config.h).

	* config.h: New file.

	* frames.c:
	Always print the frame number in the frames dialog and note when the
	comment string is empty.

	* draw.c, region.c, canvas.c:
	When redrawing the canvas to update the region, there is no need to
	redraw atoms/bonds etc, we can just copy canvas_pm and draw directly
	onto the canvas.

1999-03-19  Matt Hodges  <MPHodges@member.fsf.org>

	* control.c, draw.c, track.c:
	Changed measure dialog; each atom is assigned a label and this label
	is drawn on the canvas for the selected atoms.

	* translate.c, file.c, rotate.c, edit.c, draw.c, globals.h:
	Removed the .trans and .rot atom attributes; replaced with .edit which
	means that the positions are flagged to be edited by rotations or
	translations.

	* Makefile, Makefile.orig, track.c, menus.c, edit.c, draw.c, file.c, xmakemol.c, region.c, utils.c, rotate.c, translate.c, canvas.c:
	A great number of changes which allows editing visibility and position
	selections to be made by drawing a region on the canvas with
	Ctrl[Mouse-1]. Selections can be based on atoms inside the region,
	atoms outside the region and all atoms on the canvas.

1999-03-18  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.c:
	Added translations (Ctrl mouse) which activate the region commands.

	* Makefile, Makefile.orig:
	Added region.c and region.h targets and dependencies.

	* region.c, region.h: New file.

	* edit.c:
	Redraw display when changes are made in the atoms which are going to
	be rotated or translated.

	* draw.c:
	Draw atoms which are not going to be rotated or translated with a
	cross-hair.

	* edit.c: Handle canceling of the vector dialog correctly.

	* help.c: Changed e-mail address for bug reports.

	* Makefile.orig, README, Makefile: Incremented version number.

	* INSTALL: Updated time-stamp.

1999-02-12  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile.orig, Makefile, README: Version 4.10 released.

	* Makefile.orig, XMakemol.ad, Makefile, animate.c, bbox.c, bbox.h, bonds.h, canvas.c, control.c, defs.h, draw.c, draw.h, edit.c, file.c, frames.c, globals.h, help.c, menus.c, rescale.c, rotate.c, sort.c, track.c, translate.c, utils.c, vectors.c, view.c, view.h, xm_logo.h, xmakemol.c, store.c:
	Updated legal headers.

	* Makefile, Makefile.orig: Added legal headers.

1999-02-11  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	Made error messages dealing with inconsistencies from frame to frame
	more explicit.

1999-02-05  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Indentation fix.

	* file.c:
	Restore the coords using change_frame rather than restore_geom.

1999-01-28  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c, edit.c, globals.h:
	Added functions set_atom_scale and get_atom_scale and used them.

	* file.c, edit.c, draw.c:
	Added functions set_bond_scale and get_bond_scale and used them.

	* draw.c, draw.h, edit.c, file.c:
	Added functions set_hbond_scale and get_hbond_scale and used them.

1999-01-26  Matt Hodges  <MPHodges@member.fsf.org>

	* globals.h:
	Increased string storage - the GIF stuff should be rewritten entirely
	at some point.

	* edit.c: Fixed prototype.

	* Makefile, Makefile.orig:
	Changed default value of ELEM_FILE; now more defiant friendly.

1999-01-15  Matt Hodges  <MPHodges@member.fsf.org>

	* bbox.c: Wrapped depth checks in a check that depth_is_on is true.

	* bbox.c:
	Modified bounding box functions to use convert_to_canvas_coords etc.

1999-01-09  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.c: Added Usage entry for the "-f" option.

1999-01-07  Matt Hodges  <MPHodges@member.fsf.org>

	* XMakemol.ad: More colour adjustments.

	* XMakemol.ad: Different colours?

	* elements: More web friendly colours?

	* track.c: Protection against memory violation.

	* track.c:
	Removed spurious update_frame function (last instance of usage had
	previously been removed).

	* file.c: If we cannot allocate a colour for an atom, set it to white.

	* control.c:
	Minor modifications to d_scale_cb. Protect from canvas_cb from
	unnecessary work (like in v_scale_cb).

	* file.c, globals.h: Purged the variable per_dep.

	* control.c: Fixed transient depth scale bug.

1999-01-05  Matt Hodges  <MPHodges@member.fsf.org>

	* frames.c:
	Fixed bug associated with gif anims; when changing the frame, the
	global variable frame_no must be set. Yuch. Will change this behaviour
	soon.

1999-01-04  Matt Hodges  <MPHodges@member.fsf.org>

	* xmakemol.c:
	Added extra options to xmakemol. "-u" gives usage information and "-v"
	gives version information.

	* xmakemol.c: Fixed typo in Usage: output.

	* draw.c:
	Increased the storage for axis_label; it is now large enough to
	accommodate the single character _and_ the terminating null character.

1998-12-18  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c:
	Altered the way the H-bonds are drawn - there is now a fixed number of
	dashes regardless of scale and depth.

	* utils.c: Defined function for nint - ie the nearest integer.

1998-12-10  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c, canvas.c, vectors.c, Makefile.orig, edit.c, Makefile:
	Added basic display of vectors. So far, they are interactively
	scalable; no PostScript output yet.

	* vectors.c: New file.

	* menus.c: Added "Vector display..." menu entry under Edit.

1998-12-09  Matt Hodges  <MPHodges@member.fsf.org>

	* canvas.c:
	Use correct criterian for deciding whether or not to draw a vector.

	* view.c, canvas.c, menus.c, view.h:
	Added menu entry for switching vectors on and off.

	* draw.c, rotate.c, Makefile, Makefile.orig, canvas.c, frames.c, draw.h, file.c, globals.h:
	Added the basis of vector display. Input is:

	atom_type       x_n     y_n     z_n     dx_n    dy_n    dz_n

	Limited checking of input validity is done.

	* control.c: Moves towards making scale/depth dialogs more sensible.

1998-11-25  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Made default linewidth 2 in .eps output.

1998-11-23  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig: Added HDRS and reformatted.

	* globals.h, canvas.c, draw.c:
	Localized bond_points; no need to defer allocation of memory.

1998-11-20  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c: Updated string in Edit->Atom/bond sizes dialog.

	* draw.c:
	Clarified comment. The maximum with of a hydrogen bond is the covalent
	_radius_ of the hydrogen atom.

	* canvas.c:
	The functions get_depth_scale and update_depth_scale now respect
	depth_is_on.

	* draw.c, draw.h, Makefile, Makefile.orig, file.c, edit.c, globals.h:
	H bond drawing - set width correctly.

	* edit.c:
	Changed how hbd_scale is calculated. It now varies between 0 and 1. At
	a value of 1, the width of the H-bond is equal to the diameter of a
	hydrogen atom.

1998-11-19  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c: Fixed typo.

1998-11-18  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, view.c, xmakemol.c, rotate.c, translate.c, file.c:
	Removed last traces of sx and rescale_atoms. Really, this time.

	* globals.h:
	Removed last traces of sx (ie scaled x) components is the atoms
	struct.

	* Makefile.orig: Removed last traces of rescale_atoms (and rescale.c).

	* canvas.c, globals.h: Removed last traces of global zfact variables.

	* canvas.c, globals.h: Removed last traces of x_1, y_1 etc.

	* file.c:
	Use convert_to_canvas_coords results when drawing atom numbers and
	symbols in PostScript output.

	* canvas.c, draw.c:
	New functions - draw_atom_numbers and draw_atom_symbols. Functionally
	moved from canvas.c to draw.c.

	* canvas.c: Removed the function get_bond_points.

1998-11-16  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c, track.c, file.c, canvas.c, Makefile, Makefile.orig, ToDo.txt:
	Use new functions to draw .eps output.

1998-11-13  Matt Hodges  <MPHodges@member.fsf.org>

	* track.c: Use convert_to_canvas_coords in select_atom_internal.

	* edit.c: Clarified what "Scale atoms:" means.

	* draw.c, draw.h: Factored out update_canvas_hbond_points from
	update_canvas_bond_points.

	* draw.c: Fixed incorrect prototype for convert_to_canvas_coords.

1998-11-11  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.h, draw.c:
	Use new functions to calculate coordinates on the canvas for the
	drawing of H-bonds.

	* draw.c: Minor optimization in calculation of cartesian_bond_points.

	* draw.c: Moved comment to more pertinent position.

	* draw.c:
	Changed the way the lines are draw around the bond, which is now
	treated as a single entity.

	* draw.c:
	New function update_canvas_bond_points. Now if atom_flag is zero,
	treat the same but set the effective at_scale to zero.

	* draw.h: New file.

	* Makefile.orig, draw.c, Makefile, canvas.c:
	Use new functions to calculate coordinates on the canvas for the
	drawing of bonds.

	* edit.c:
	at_scale_cb now varies at_scale between 0 and 1. With a value of 1,
	the size of the atoms is that of its covalent radius.

1998-11-09  Matt Hodges  <MPHodges@member.fsf.org>

	* draw.c: Removed commented out code.

	* defs.h, draw.c, globals.h, canvas.c, file.c:
	Use new functions to calculate coordinates on the canvas for the
	drawing of atoms.

1998-11-06  Matt Hodges  <MPHodges@member.fsf.org>

	* canvas.c: show_logo had no type; fixed.

	* canvas.c: Added get_canvas_scale; fixed get_z_depth.

1998-11-05  Matt Hodges  <MPHodges@member.fsf.org>

	* canvas.c: New functions: set_z_depth get_z_depth.

	* canvas.c: New functions: convert_to_canvas_coords get_depth_scale
	set_depth_scale set_canvas_scale.

1998-10-28  Matt Hodges  <MPHodges@member.fsf.org>

	* xm_logo.h: New file.

	* globals.h: Changed bg_color and bb_color to more generic names.

	* xmakemol.c, canvas.c, globals.h: Localized show_logo to canvas.c.

1998-10-27  Matt Hodges  <MPHodges@member.fsf.org>

	* globals.h: Standardized and protected against multiple inclusion.

	* globals.h: Factored out structs (atoms, elements, frames).

	* globals.h, xmakemol.c: Cosmetic change of MAIN to __XMAKEMOL_C__.

	* bonds.h: Factored out struct node.

	* Makefile, Makefile.orig, menus.c, xmakemol.c, file.c, bbox.c, canvas.c, draw.c, globals.h, view.c:
	Use view.h.

	* view.h: New file.

	* globals.h:
	Removed vectors_flag and vectors_are_available: vectors may one day be
	available.

	* globals.h:
	Removed all entries to the unused dist_flag variable. Where _do_ these
	things come from?

	* Makefile, Makefile.orig, bbox.c, globals.h: Use bbox.h.

	* bbox.h: New file.

	* edit.c, file.c, globals.h:
	Removed all entries to the unused max_bond_sep2 variable. Where _do_
	these things come from?

	* bonds.h, file.c: Cosmetic change of FILE_C to __FILE_C__.

	* globals.h: Removed spurious bond_len and bond_len2 variables.

	* bonds.h: Cosmetic change of BONDS_H to __BONDS_H__.

	* edit.c, rotate.c, globals.h:
	Changed integer variable global to rotate_about_global, which seems a
	little more specific.

1998-10-26  Matt Hodges  <MPHodges@member.fsf.org>

	* elements: Added entry for GE (parameters from rdo).

1998-10-07  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig, README: Version 4.09 released.

	* control.c: Sign of torsion is now defined.

1998-10-06  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	No type was specified for no_elements - it should have been int.

	* frames.c:
	We shouldn't have to prototype usleep - put up with any compiler warnings.

1998-10-02  Matt Hodges  <MPHodges@member.fsf.org>

	* INSTALL: Linux support.

	* Makefile, Makefile.orig, README: Version 4.08 released.

	* file.c: Incorrect parameter definition for free_bond_adjacency_list.

	* Makefile, Makefile.orig: Cosmetic change.

	* frames.c:
	Added prototype for usleep - hopefully correct for all setups.

	* Makefile, Makefile.orig: Cosmetic changes.

	* Makefile, Makefile.orig: Added Linux support to Makefile.

	* Makefile.orig, Makefile: Unwrapped line.

	* Makefile, Makefile.orig: Expunged DEFS.

	* animate.c, file.c: Added <libgen.h>.

	* frames.c:
	Now uniformly using usleep, as this seems to be standard across the
	platforms.

	* animate.c, file.c:
	libgen.h seems to be available on DECs now - in libc, so no -lgen
	needed in LIBS.

1998-10-01  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Removed convolution of calls to free_bond_adjacency_list().

	* file.c:
	Made free_bond_adjacency_list a parameterless function - keep track of
	the allocation of bond_adjacency_list and hbond_adjacency_list at
	mallocation time (bond_adjacency_lists_allocated_size).

1998-09-30  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig, README: Version 4.07 released.

	* xmakemol.c: Removed extraneous variable.

	* file.c: Free H-bond list as well - fixes memory leak presumably.

	* file.c: Removed buggy free() line.

1998-09-29  Matt Hodges  <MPHodges@member.fsf.org>

	* README, Makefile, Makefile.orig: Version 4.06 released.

	* file.c: Added option to save XYZ frame with connectivity information.

1998-09-23  Matt Hodges  <MPHodges@member.fsf.org>

	* globals.h: Removed erroneous variable pixmap_index.

1998-09-17  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Made *.xyz the default pattern (filter) for opening a file.

1998-08-20  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile, Makefile.orig, README: Version 4.05 released.

	* edit.c: Changed widget labels, for clarity.

	* edit.c, file.c:
	The "Edit visible atoms" and "Edit relative positions" dialogs now
	retain their positions when a new file is loaded. Unfortunately,
	unmanaging the widgets doesn't work very well when combined with
	dynamically allocating the sub-widgets, so they have to be destroyed.

	Unfortunately, when destroyed and resurrected any positioning
	information is ignored, and the widgets have to moved after they have
	been managed. This is not ideal, and causes a small amount of flicker,
	but overall this is my preferred solution to the problem and is better
	than the dialogs going back to their original positions, which usually
	means obscuring the main window.

1998-08-17  Matt Hodges  <MPHodges@member.fsf.org>

	* xm_logo_1.h:
	Colour of background now consistent with default background colour of
	the canvas.

1998-08-13  Matt Hodges  <MPHodges@member.fsf.org>

	* README, Makefile, Makefile.orig: Version 4.04 released.

	* file.c, control.c, frames.c, edit.c:
	Made a whole series of changes which stop the simple dialog being
	popped down and back up when a new file is loaded. The only ones not
	changed are the "Edit visible atoms" and "Edit relative positions" as
	they have dynamic widgets. Maybe this won't be too hard to fix though.

1998-08-11  Matt Hodges  <MPHodges@member.fsf.org>

	* XMakemol.ad: Added legal headers.

	* INSTALL: Added entry about the application defaults file.

	* Makefile, Makefile.orig:
	Added "Configure" line. Didn't this used to be here?

	* help.c: Fixed bug which allowed all the help messages to be multiply
	displayed. Made the strings use allocated memory.

	* README, Makefile, Makefile.orig: Version 4.03 released.

	* track.c, control.c:
	The measure dialog now uses a fixed-width font, and the formats have
	been updated to reflect this.

	* control.c: Removed spurious MEAS_WIDTH, whatever that was.

	* Makefile.orig, Makefile: Added XMakemol.ad to TAR.

	* XMakemol.ad: New file.

1998-07-30  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Changed some printf's to fprintf's.

	* globals.h: Tidied up some stuff.

	* file.c: Removed spurious print statement.

	* globals.h, file.c, edit.c:
	The internal comparison of atom labels and element names is now always
	with uppercased variants. atoms[i].uppercase_label is now used.

	* edit.c:
	In posn_atoms_type_cb, made the comparison for atom_type with an
	uppercased label. This was already the case for toggling visibility,
	but had been overlooked here.

	* file.c:
	Changed the way the elements are allocated. The code now checks that
	the number of elements in the file is not exceeding the parameter
	MAX_ELEMENTS.

1998-07-29  Matt Hodges  <MPHodges@member.fsf.org>

	* xm_logo_1.h: New file.

	* track.c: static closest was not typed explicitly.

1998-07-28  Matt Hodges  <MPHodges@member.fsf.org>

	* README, Makefile, Makefile.orig: Version 4.02 released.

	* track.c:
	We need to call count_visible_atoms in select_atom_dialog as the
	number changes.

	* README, Makefile, Makefile.orig: Version 4.01 released.

	* xmakemol.c, globals.h, track.c, draw.c, edit.c, canvas.c:
	We can now toggle an atom's visibility with the SHIFT-mouse1
	combination. To view _invisible_ atoms, we can now use SHIFT-mouse2.

	* canvas.c: *** empty log message ***

1998-07-27  Matt Hodges  <MPHodges@member.fsf.org>

	* translate.c, frames.c, rotate.c, edit.c, file.c:
	Added flag to update_bond_matrix parameters. This dictates whether an
	update _must_ occur. We force an update if a new file is loaded or if
	we are editing the positions and not _all_ of the atoms are being
	rotated or translated.

	This means we no longer have to keep the file_counter, though we keep
	track of bdfd_factor and hbdfd_factor from call to call of
	update_bond_matrix.

1998-07-25  Matt Hodges  <MPHodges@member.fsf.org>

	* menus.c, file.c:
	Changes made so that the current set of atoms (in the current
	orientation) can be merged with the atoms from a file on disk. This
	respects whether or not the atoms are visible, and if they are not,
	then they will disappear permanently from memory.

	This does not affect the state of the file from which the atoms were
	originally loaded.

1998-07-16  Matt Hodges  <MPHodges@member.fsf.org>

	* ToDo.txt: *** empty log message ***

	* README: Updated version.

	* Makefile.orig, Makefile:
	Alterered dependencies for files that need -D stuff.

	* rotate.c, view.c, globals.h, menus.c, frames.c, draw.c, file.c, canvas.c:
	Ripped out vectors code for the time being.

1998-07-14  Matt Hodges  <MPHodges@member.fsf.org>

	* Makefile.orig, Makefile:
	Changed name of saved tar file from XMakemol_[...] to XMakemol-[...].

	* Makefile.orig, Makefile:
	Moved some of the conditional compilation stuff which applys only to
	one or two files to the appropriate places.

	* canvas.c:
	xm_logo_read and xm_logo_pix should have been between an #ifdef XPM
	... #endif conditional.

	* file.c:
	When the bonds are assigned, it is irrelevant whether or not bond_flag
	is true or not. This conditional has been removed. It was a throwback
	to when the bond_matrix was reassigned when the bonds were turned on
	and off.

1998-07-13  Matt Hodges  <MPHodges@member.fsf.org>

	* edit.c, file.c:
	The bond factors/scales are now kept after canceling the edit dialogs.
	The values are reset when a new file is loaded.

1998-07-10  Matt Hodges  <MPHodges@member.fsf.org>

	* control.c, file.c:
	The depth and scale values are now kept after canceling the
	perspective dialog. The values are reset when a new file is loaded.

	* Makefile.orig, Makefile: Removed some of the files archived.

	* animate.c:
	When saving an XYZ animation, the screen is not affected in the
	interest of efficiency.

	* animate.c:
	The Animate dialog now has "Start", "Stop" and "Save" buttons similar
	to the Frames dialog so that an animation can be interrupted.

	* frames.c: Fixed typo.

	* animate.c:
	The status of the animation is now echoed to the message area as the
	animation proceeds.

	* ToDo.txt: New file.

1998-07-09  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	Some changes associated with unneeded calls to update_bond_matrix and
	the allocation of colours.

	* edit.c: Cosmetic changes.

	* bbox.c, canvas.c: Don't bomb out if colour not allocated.

	* file.c: bond_tol was redundant. It has been removed.

	* file.c: global_vector taken into account when writing all frames.

	* animate.c:
	Changed the now-obselete writing of the number of frames in the first
	line of an animated XYZ file.

	* file.c:
	write_ascii_all now writes the coordinates as seen on the screen
	rather than as stored in frames.

	* file.c:
	write_ascii_frame now writes the coordinates as seen on the screen
	rather than as stored in frames.

	* elements: New file.

1998-07-08  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	Removed unnecessary printing of the number of frames when writing an
	XYZ file.

	* README: New file.

	* INSTALL: Update usage of XM_ELEMENTS.

	* canvas.c:
	Only create the pixmap from the XPM data if there are 0 atoms when we
	start up.

	* frames.c:
	When popping up the frames dialog the title from the first frame was
	always used. This has been corrected.

	* file.c:
	Reinstated EPS code - now consistent (more or less) with code in
	canvas.c.

	* canvas.c:
	Write error about not being able to show the logo to the message area
	rather than stdout.

	* canvas.c:
	Check to see if we can show the XMakemol logo or not ie is it created
	correctly? If not, we don't try and show it as this would result in a
	BadDrawable error.

	* file.c, animate.c:
	Removed the now spurious ASCII references from file reading/writing.

	* Makefile.orig, Makefile:
	Default location for ELEMENTS reinstated. This can be overridden with
	the XM_ELEMENTS environment variable.

	* file.c:
	Made the use of XM_ELEMENTS optional; it can now override the default
	location as specified in ELEMENTS (see Makefile).

	* edit.c: Reversed calls of update_bbox and update_selected in
	count_visible_atoms as update_selected updates the display with the
	new set of visible atoms but with the old bounding box. This caused a
	bit of a judder.

1998-07-07  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c: Removed comment + tidied up.

	* edit.c: Print how many atoms are visible is the message area.

	* file.c:
	Bonds and H-bonds seem to be working. Still the PostScript output to
	update.

	* canvas.c: Drawing of H-bonds seems OK at present.

	* bonds.h: Introduced hbond_adjacency_list.

	* view.c: *** empty log message ***

	* view.c:
	No longer need call to update_bond_matrix when switching bonds on and
	off.

	* canvas.c: Drawing of H-bonds disabled at the moment.

	* file.c:
	Bond allocation and deallocation of memory seems OK. Next, the
	H-bonds.

1998-07-03  Matt Hodges  <MPHodges@member.fsf.org>

	* canvas.c: Still buggy.

	* bonds.h: bond_matrix has been removed.

	* file.c: write_eps is currently out of action.

	* canvas.c: Linked list sort of working. Must iron out bugs.

	* bonds.h: Moved bond_adjacency_list to this file.

	* file.c: Now generating linked lists for bonded atoms.

	* Makefile, Makefile.orig: Added bond.h dependencies.

	* globals.h: types_matrix moved from here to file.c.

	* file.c: types_matrix moved here from globals.h.

	* canvas.c: Included bonds.h.

	* file.c: Changed FILEC to FILE_C. Included bonds.h.

	* bonds.h: bond_matrix and hbond_matrix moved to here.

	* globals.h: Moved bond_matrix and hbond_matrix to bonds.h.

	* bonds.h: New file.

1998-07-02  Matt Hodges  <MPHodges@member.fsf.org>

	* view.c: Removed motif.h - added explicit dependencies.

1998-07-01  Matt Hodges  <MPHodges@member.fsf.org>

	* defs.h: Parenthesized macros.

	* defs.h: New file.

	* Makefile.orig, Makefile: Removed motif.h dependencies.

	* track.c: Removed motif.h - added explicit dependencies.

	* track.c: New file.

	* rotate.c: Removed motif.h - added explicit dependencies.

	* rotate.c: New file.

	* help.c: Removed motif.h - added explicit dependencies.

	* help.c: New file.

	* edit.c: Removed motif.h - added explicit dependencies.

	* edit.c: New file.

	* canvas.c: Removed motif.h - added explicit dependencies.

	* utils.c: New file.

	* store.c: Removed motif.h - added explicit dependencies.

	* store.c: New file.

	* rescale.c: Removed motif.h - added explicit dependencies.

	* rescale.c: New file.

	* frames.c: Removed motif.h - added explicit dependencies.

	* frames.c: New file.

	* draw.c: Removed motif.h - added explicit dependencies.

	* draw.c: New file.

	* bbox.c, xmakemol.c: Removed motif.h - added explicit dependencies.

	* xmakemol.c: New file.

	* translate.c: Removed motif.h - added explicit dependencies.

	* translate.c: New file.

	* sort.c: Removed motif.h - added explicit dependencies.

	* sort.c: New file.

	* menus.c: Removed motif.h - added explicit dependencies.

	* menus.c: New file.

	* file.c, control.c, animate.c:
	Removed motif.h - added explicit dependencies.

	* globals.h, bbox.c, canvas.c:
	Changed draw_bbox to accept an argument to indicate whether drawing
	lines above or below the atoms. Previously, this was achieved using a
	global variable.

	* globals.h, bbox.c: New file.

	* view.c:
	Echo "Vectors are not available" when turning on/off the vectors
	switch if no vectors have been loaded.

	* view.c, control.c: New file.

1998-06-30  Matt Hodges  <MPHodges@member.fsf.org>

	* canvas.c: New file.

	* Makefile.orig:
	Added Emacs comment so that this file is recognized as a makefile.

	Removed ELEM_FILE stuff.

	* Makefile.orig: New file.

	* INSTALL:
	Added instruction about setting the XM_ELEMENTS environment variable.

	* INSTALL: New file.

	* Makefile:
	ELEM_FILE no longer set in Makefile - use XM_ELEMENTS environment
	variable instead.

	* Makefile: New file.

	* file.c:
	Now get the elements file from the environment variable XM_ELEMENTS.
	This allows element files on a per user basis, making personal
	customization possible.

1998-06-23  Matt Hodges  <MPHodges@member.fsf.org>

	* file.c:
	Now deallocating frames before they are allocated. This fixed a memory
	leak.

	* file.c: New file.

1998-04-03  Matt Hodges  <MPHodges@member.fsf.org>

	* animate.c: entered into RCS

