Thu Jan 28 13:50:25 1999  Mumit Khan <khan@modi.xraylith.wisc.edu>

	* Makefile.in (XFCPPFLAGS): Define for f77 code.
	(XCPPFLAGS): Only use for C-style code.

Tue Jan 26 03:27:54 1999  Mumit Khan <khan@modi.xraylith.wisc.edu>

	* Makefile.in (NEED_G77_COMPAT_LIB): Build conditionally.

Sat Sep 27 15:03:17 1997  Mumit Khan <khan@dhaka.xraylith.wisc.edu>

	* run-primvs.c (RUNPRIMVS): Bug fix in running primvs under the
	GUI via PLOTXY and friends. Add a "prog" arg to supply the full
	path to primvs.exe under win32. Also, use spawnl instead of spawnvp
	since we know the args precisely.

Thu Sep 18 14:40:06 1997  Mumit Khan <khan@dhaka.xraylith.wisc.edu>

	* gfile.F (gupdate, gupdatex): Add "iflag" parameter to signal if
	the parameter is found or not. Gets rid of the warning messages
	when reading older versions of start files lacking the new
	parameters. 
	(gfload_source): check for valid SOURCE namelist files.
	(gfload_oe): check for valid OE namelist files.

Mon Sep  1 21:26:11 1997  Mumit Khan <khan@dhaka.xraylith.wisc.edu>

	* message.F (MSSG): Trim string before printing.

	* Makefile.in: Add fopenr.F and fopenw.F.

	* fopenr.F, fopenw.F: New files to open files for reading and
	writing. Should replace all the OPEN calls with these.

	* Makefile.in: Support for SHADOW_VERSION in CPPFLAGS. Add win32
	objects only under win32.
	
	* progpath.F, datapath.F: Update to use get_env_variable() instead
	of plain getenv().

	* get_env_variable.F: New file to get environment variable from
	Unix env and/or win32 registry.

	* win32_registry.c: New File to get win32 registry values for
	SHADOW.

	* progpath.F (PROGPATH): Quote the final program path.

	* iblank.F (IBLANK): Complete rewrite to support embedded spaces.
	Now search from the back end for first non-white character. Also
	supports ASCII_TAB (portability Note).

	* gfile.F (GSQUEEZE): New function to remove all white spaces
	from a string (eg., "xyz(  4)" ==> xyz(4)). Formerly used DESPACE,
	which now has different semantics. (See below).
	
	* despace.F (DESPACE): Rewritten to support embedded spaces in
	filenames. Used to remove ALL spaces from a string, and now only
	trims leading and trailing white spaces (spaces+tab).

Thu Aug 21 14:56:59 1997  Mumit Khan <khan@dhaka.xraylith.wisc.edu>
	
	* rbeam_c.c, rbeam18_c.c, writeoff_c.c, run-primvs: Fixed a
	non-fatal bug in copying fortran string to C type string 
	using strncpy (was copying one extra character and then null'ing
	it).

Thu Jul 17 22:48:56 1997  Mumit Khan <khan@dhaka.xraylith.wisc.edu>

	Lots of precision fixes (1.0 --> 1.0D0) and also few fixes and
	cleanups like <= 72 char lines, removing unused definitions etc.

	* cubspl.F (CUBSPL): Conditionalize MPURGE for VMS only.

	* piecespl.F (PIECESPL): Conditionalize MPURGE decl for VMS.

	* writeoff.F (WRITE_OFF): Kill dead code (ISIZE calculation).

Thu Jul 10 01:23:12 1997  Mumit Khan <khan@dhaka.xraylith.wisc.edu>

	* Makefile.in (FSRCS,OBJS): + pnpoly.f

	* pnpoly.f: New file. Implements Point in Polygon algorithm. Used
	by Screen external coords.

	* gfile.F (gfload_oe, gfsave_oe): Added new variable (string
	array) FILE_SCR_EXT which contains the coords for an aperture
	slit or stop. Also cx_slit and cz_slit prompts (centering slit
	objects).

Wed Jun 11 12:02:51 CDT 1997 Sangeet Singh <singh@xraylith.wisc.edu>

	* gfile.F(gfload_source, gfsave_source): added new variables 
	rl1..rl10 which represent the relative intensities of the photon 
	energies ph1..ph10.

Wed Nov 27 15:40:05 1996  Mumit Khan <khan@dhaka.xraylith.wisc.edu>
	
	* run-primvs.c: New file. Hack to run primvs under Win'95 (cygwin32 
	B16 system() bug). Should be removed later.
	
	* rbeam_c.c,rbeam18_c.c,writeoff_c.c: C-based SHADOW ray files
	to avoid abysmal unformatted I/O on CYGWIN32. Also switched on
	by -DUSE_C_IO=1 in Makefile.

Mon Nov 25 22:55:54 1996  Mumit Khan <khan@dhaka.xraylith.wisc.edu>
	
	* fileinfo.F: Unix and other systems now as well. get_file.F
	will become redundant after this is tested.

	* progpath.F: Added getting program name.

Wed Nov 20 19:01:58 1996  Mumit Khan <khan@modi.xraylith.wisc.edu>
	
	* datapath.F (new file): Gets full path for SHADOW data file.
	* compat: new directory. Added compatibility routines (libU77)

Tue Nov 19 23:49:48 1996  Mumit Khan <khan@modi.xraylith.wisc.edu>

	* drand48.c: New file for machines w/out drand48 (cygwin32)

	* d_acosd.c, d_asind.c, d_cosd.c, d_sind.c: cygwin32 def.

Sun Sep 15 16:29:06 1996  Mumit Khan <khan@modi.xraylith.wisc.edu>

	* gfile.F: New file. Reads/writes gfiles in FORTRAN.
	* fstring.F: Misc string manipulation utils in FORTRAN
	* rwname.F (rwname_G): Reads/writes NAMELIST in G format.

Thu Jul 11 08:52:28 1996  Mumit Khan <khan@modi.xraylith.wisc.edu>

	* d_acosd.c, d_asind.c, d_cosd.c, d_sind.c: Dummy variable to 
	stop AIX 4.x xlc from complaining about empty files.

	* get_file.F: Fix array index from 0-based to 1-based. Damn
	FORTRAN!

	* cputim.F, get_file.F, uspkd.F, gnormal.F, fpoly.F, frot.F,
	normal.F, poly.F, quartic.F, readaxis.F, rwname.F, vector.F,
	myran.F: Included fixes for header.txt, common.blk, etc.

	* cputim.F: No time functiuon for linux/g77 just like rs6k.

	* Started ChangeLog
