Please see the History file for list of official release and the differences between them. 2007-11-19 Brian Savage * Updated Version Number to 101.1 * Updated sgftox.csh to use ghostscript as the Postscript viewer * Readme.buildsac: Added instructions for new configure system * Readme: Updated Readme to handle configure script and sacinit.[sh,csh] * Makefile.am: Added link between libsacio.a and sacio.a * src/dff/wsac3.c: Added, same to wsac0() but now updates the depmin,depmax,depmen, and the distance and azimuth. (wsac1 and wsac2 still do not update these header variables) Added description to aux/help/user_man/10appendix * libsacio.a: Changed name from sacio.a but old file still exists for backwards compatibility. * Added routines distaz() and extrma() to handle header updates for wsac3(). * bin/sacinit.[sh,csh]: Initialization scripts for paths and Environment Variables * src/exm/xabout.c (xabout): * Updated version string to incorporate the Version number from the configure scripts (PACKAGE_NUMBER) 2007-10-27 Brian Savage * Updated Build system to configure/autoconf 2007-10-04 Brian Savage * SAC/src/dfm/xsort.c (xsort): * SAC/src/dfm/xsort.c (reorder): Fixed the sort command to operate independently of the SeisMgr Database routines. This is important as the default is now SAC_USE_DATABASE = 0 or "Do not Use the SeisMgr Database" 2007-10-03 Brian Savage * SAC/src/icm/polezero.c (polezero): Bug Fix: Characters past the end of variable key were being accessed producing unanticiapted results. Changed static length of key to dynamic and modified the calls involving key: strcmp() to strncmp() with the inclusion of #defines for each Key Value for a PoleZero file. Documentation of the Function Updated for doxygen. 2007-09-28 Brian Savage * SAC/src/gd3.x11/dispatcheve3.c (dispatchevent3): Added Option to restore Ultra Large Crosshairs on the PPK window Environment Variable: SAC_PPK_LARGE_CROSSHAIRS 0 or Undefined - Tiny Cross Hairs 1 - Cross Hairs of the Full Plot Window 2007-09-26 Brian Savage * SAC/src/gam/xppk.c (xppk): From Richard Godbee Through Arthur Snoke Make it so the ppk command does not care about the order of picking the lower and upper bounds of the new time window. * SAC/utils/sac.h (SacHeaderName): Changed first o the odelta, avoiding a conflict 2007-09-25 Brian Savage * SAC/inc/proto.h: * SAC/inc/isnan.h: added include "isnan.h" header file for systems lacking isnan() * SAC/src/icm/polezero.c (polezero): Changed isNaN() to isnan() as isNaN only operated on single precision floating point numbers. free(s1) statements were moved so not to get a seg fault during an error message * SAC/src/dff/f2c.c (DEPRECATED): Added function to easily report removed functions and which to use in instead * SAC/src/dfm/sort.c (isNaN): ERROR 2118: No Transfer Function applied. In src/icm/polezero.c On reading of the CONSTANT Key from a Pole Zero file If the constant is larger than a float from a double can handle it barfs on the isNaN() routine in src/dfm/xsort.c Since the constant being read into is a double (const_) it should call a function with a double argument not a float Fix: Use isnan() (in Math Library) instead of isNaN() as it handles both floats and doubles FIX: Replaced all occurances of isNAN() with isnan() and add a statement in isNaN() about this function being deprecated. * SAC/src/exm/xabout.c (xabout): Updated exm/xabout.c Uses SAC_DISPLAY_COPYRIGHT = 1 Display Copyright = 0 Do Not Display Copyright = undef Display Copyright 2007/03/07 Arthur Snoke (for Doug Neuhauser ) * src/SeisMgr/cssListOps/cssArchitecture.c The filename array used for determining the architecture of the computer is not long enough. The constructed filename will overwrite the end of the array, and cause a segmentation violation. Increased the size of the array from 31 to 64 * src/icm/makefile and src/SeisMgr/makefile: In both makefiles, replaced "make" with ${MAKE}. Without that, on Sun Solaris, trying to use "gmake" would not work for all makefiles. 2007/03/03 Arthur Snoke * Updated src/evalresp to evalresp 3.2.37 (released October 2006) 20007/02/23 Brian Savage * Major Bug Fix for all SACIO Library routines. Filenames and string handling should be much saner now (added sac/dff/f2c.c - converts fortran strings to C string) Note this is not related to the old f2c program SAC/src/bbs/getbbv.c SAC/src/bbs/readbbf.c SAC/src/bbs/setbbv.c SAC/src/bbs/unsetbbv.c SAC/src/bbs/writebbf.c SAC/src/co/zopen.c SAC/src/dff/f2c.c SAC/src/dff/getfhv.c SAC/src/dff/getihv.c SAC/src/dff/getkhv.c SAC/src/dff/getlhv.c SAC/src/dff/getnhv.c SAC/src/dff/setfhv.c SAC/src/dff/setihv.c SAC/src/dff/setkhv.c SAC/src/dff/setlhv.c SAC/src/dff/setnhv.c SAC/src/dff/wsac0.c * Changed determination of Byte Order in CSS Files now done internally versus using a temporary file * Added a SAC_USE_DATABASE environment variable If set to 0, will not use the database If not defined, will use the database If set to 1, will use the database The database is confusing, and is buggy This will dramatically speed up the reading of large file lists ( src/ssi/sacToSeisMgr.c) * Added a SAC_DISPLAY_COPYRIGHT environment variable If defined will not show the COPYRIGHT The addition of this code snippet is debatable (src/exm/xabout.c) 2006/08/21 Brian Savage * Added SAC/libedit/config.h.in. This file with the associated makefile removed the dependency on issetugid() so that a build on solaris 2.9 would work on solaris 2.8 * Changed SAC/libedit/makefile. This removes the dependency on issetugid() and GNU install * Changed SAC/src/makefile. This removes the dependency on GNU install and OS X Darwin now only depends on libncurses.5.dylib. Previously, a build on 10.4 would not work on 10.3.) 2006/08/18 Arthur Snoke * Modified bin/sgftoeps.csh so it does not need epstool. It still needs gs. Also, changed the default scale to 0.75 so that when printing the .eps file it does not truncate. * Added a script bin/sgf2x.csh that displays a .sgf file on the screen. It uses gv. If not available, tries /usr/bin/ggv. When running programs over the Internet, gv can be very slow, so replacing the call to gv with one to gs can be significantly faster This script has the functionality of the old sac program sgfplot. 2006/07/26 Richard Godbee * ./src/co/math.c defines fmin, fmax, and labs which are defined in the Standard C library everywhere bu on the Sun. They have the same arguments and actions. On OS X one gets warnings about possible redefinitions of these functions whenever one compiles a program using sacio.a on Mac OS X. Put in a conditional not to define them in math.c on OS X. 2006/07/17 Brian Savage * Bug fix: Make certain a power of 2 is greater than input number (src/ucf/next2.c) * Bug fix: Memory Leak, Old Files released on a read call (src/dfm/readfl.c) 2006/07/01 Arthur Snoke * Updated several files in aux/help taking out obsolete references. 2006/05/31 Arthur Snoke * added a rm \tmp/sactemp.ps commend in src/gam/xprint.c to erase that file after printing so if subsequent user does a p1 print there Will not be an existing file with a different owner in /tmp. 2006/05/18 Brian Savage * Added utility program saclst (modified from program by Lupei Zhu). Standalone program allows display of header variables that can be ported to programs or printed. Source is in ./utils and is put in ./bin during a normal build. 2006/05/04 Brian Savage * Modified the number of Y Limit points to match the maximum number of files (inc/gam.h) * Added -p flag to install to preserve modification dates (src/makefile) 2006/05/02 Richard Godbee * Edited src/co/math.c so that if fmin and fmax are defined elssewhere on the system, they won't be defined again (a warning message) Arthur Snoke * Edited src/makefile so that SAC/utils and SAC/bin/sacswap get copied to PREFIX/sac 2006/03/27 Richard Godbee * Changed all occurrences of gets() to fgets()and corrected boundingbox in sgftops.c (utils/sgftops.c) 2006/03/02 Brian Savage * Added utils/sacswap.c and changed Makefile to create it 2006/02/14 Brian Savage * Fixed writehdr bug for files of opposite endian (src/dff/wrsac.c) * Changed call to map_hdr_out() to allow for swapping (src/dff/map_hdr_out.c) * Fixed bug in zwabs() with bad prototype (src/co/zwabs.c) 2005/12/13 George Helffrich http://www1.gly.bris.ac.uk/~george/gh.html * Tweak makefile (again) so builds work on any MacOS system (src/makefile) 2005/12/01 George Helffrich http://www1.gly.bris.ac.uk/~george/gh.html * Tweak makefile so MacOS 10.2.x builds work (src/makefile) * Update Readme info to mention 10.2.x builds work (Readme.buildsac) 2005/11/30 George Helffrich http://www1.gly.bris.ac.uk/~george/gh.html * Eliminate warning messages about redefined #defines by shrouding them in #ifdef conditionals. (inc/proto.h) 2005/07/22 Richard Godbee * In Apple OS 10.4.2 with xcode 2.1, swab() is defined twice: in string.h and unistd.h. As string.h is not needed, remove unneeded #include from exm/xcd.c. * In order to get a successful build using gcc 4.0 in OS 10.4.2, found it necessary to move the prototype for e_decompress() above the enlarge() function in SeisMgr/cssListOps/enlarge.c. 2005/07/21 Brian Savage * Fixed bug in help command for non-existent commands (ucf/wrhelp.c) * Fixed pause/redraw bug (co/zgtmsg.c) * Added co/select.c to remove duplicate code in co/zgpmsg.c and co/zgtmsg.c. To set a prompt and get a message use select_loop() and its axillary functions. * Modified co/zsleep.c to be platform independent now uses select_loop with a timeout to handle sleeping 2005/05/26 Brian Savage * Fully integrated libedit into build process * Updated Readme, License, History, Readme.buildsac files * Removed extra CC=cc lines in makefile * Updated Makefile for better install process 2005/05/23 Brian Savage * Changed from GNU Readline to editline due to License conflicts between GNU Public License and the SAC License * Changed function name parse_line to parse_line_evresp It conflicts with a function call in the libedit library (evalresp/evresp.c) (evalresp/string_fctns.c) * Fix Bug for X Error Handling and Editline (gd3.x11/createwindo3.c) (gd3.x11/error3.c) - Added * Added History file for Version history * Added License file for the SAC License * Cleaned up Changes file, includes all the intermediate changes 2005/04/18 Brian Savage * Fix Bug during window resize, now frees and recreates backing pixmap (gd3.x11/dispatcheve3.c) * Changed bounding box back to letter (792 612) (utils/sgftops.c) 2005/03/11 Brian Savage * Fix Bug during select() for an Interrupted System Call (co/gpmsg.c) 2005/02/20 Brian Savage * USE_X11_DOUBLE_BUFFER was part of the ANNOYANCE_FIXES patch Moved the position of where the XExposeEvent is emitted from the end of the command loop to endframe->endframe3->flushbuffer so now only routines which draw to the screen get an XExposeEvent. Many of the files are changing the #ifdef Statements from ANNOYANCE_FIXES to USE_X11_DOUBLE_BUFFER Files: gd3.x11/flushbuffer3.c createwindo3.c cursor3.c dispatcheven3.c draw3.c drawpoly3.c expose3.c erase3.c main/sac.c co/zgpmsg.c inc/gd3.x11.h * USE_X11_MULTIPLE_DEPTHS allows the use of XCreateImage and XPutImage on displays of various depths. We need to know what the pixel size when creating an XImage, which depends on the depth of the window and display. Files: gd3.x11/fill_clrbar3.c put_image3.c setpsctable3.c * USE_READLINE was part of the ANNOYANCE_FIXES patch, now independent Uses the GNU Readline Library to handle the command prompt Files: main/sac.c co/zgpmsg.c 2005/02/23 Peter Goldstein * Updated sgf plotting utilities to with enhanced versions from Arthur Snoke. New version of sgftops does translation rotation and scaling of postscript plots. sgftoeps.csh is a csh shell script which creates encapsulated postscript that are compatible with latex and version 10 of Adobe Illustrator. The script requires epstool (http://www.ghostgum.com.au/) and ghostscript (http://www.cs.wisc.edu/~ghost/). 2005/02/07 Brian Savage * Added export to SACFLAGS to push -D$(OSTPYE) into subdirectories * Added OSTYPE=linux for linux systems defined as linux-gnu * Command Line editing added to main/sac.c Uses the GNU Readline Library Set ANNOYANCE_FIXES=TRUE in makefile to get comnnad line editing * Updated X11 events for window redraws (gd3.x11) We now draw to a pixmap when ploting and this is then drawn to the screen. When one window overlaps the plotting window, the pixmap is drawn to the screen Set ANNOYANCE_FIXES=TRUE in makefile to get X11 Fixes * Added a select() call to switch between X Events and Keyboard Events * Modified csserror.c to not use sys_errlist and sys_nerr, they output warnings upon linking/compilation 2004/12/08 Peter Goldstein * Version 100.00 released for Solaris, Linux, and OS X * Recent enhancements and bug fixes: * Automatic byteswapping has been implemented. SAC will automatically read sac data files in either big or little endian format. (ie., It doesn't matter if your data were created on a little endian platform like i686-based PCs or big endian platforms like Sun workstations. * readalpha/readtable (command for reading ascii tables or columns of xy data): a bug in the linux version has been fixed.