# changelog 

ver 0.42 12 Aug 2006: 
* new version of MM_mag in Utilies : version 1.06
* major bug corrected list_dir_unix3 (basic.cpp )
* results for Love are presented like for Rayleigh
* seimic moment are in the last column (more convenient to plot
  them vs azimuth for example)

ver 0.41 13 jun 2006
 + compilation of whole project STK for Windows  (using {MinGW and mysis} ).
   except GMT_plot and SVDS in utilities programs.

ver 0.40 June 10 2006
 + compilation of an executable of MM_mag for Windows; also in the same way a win32 executable 
	is available for  AZI, SEED_RESP, SAC2WAVE and MECA in the Utilities Programs.
	Compilation was made using {MinGW and mysis}.

ver 0.39 May 26 2006
 + MAJOR BUG corrected in TIME-FREQUENCY ANALYSIS: the step in frequency was wrong, and so introduced randomly until 20-30% of bias in frequency estimation. This bug is probably inside the 10 last version of STK. DO NOT use time-frequency with version older than 0.39.

ver 0.38 May 25 2006
 + doc corrected in file Doc/Install.html
 + new version of Mm_mag 1.05 : extrema values of magnitudes are removed 
   in fonction of standard error criterion

ver 0.37 some Docs cleaned

ver 0.36 dec 21 2005
 + code cleaned in SEED_RESP Utility program
 + change in the computation of frequency Step df : it becomes a geometrical suite, instead of regular step between FMIN and FMAX;
  consequently the modulus do not need a large number of point for describing the entire spectrum (a small number of point 
  as 512 is enough (against at least 25000, with old method using the regular step)   
 

ver 0.35 dec 12 2005
 + major bug corrected in Utilies\MM_mag : in conversion from SAC_BIN to SAC_ASCII
 + new version of MM_mag 1.03


ver 0.34 nov 01 2005
 + time-frequency greatly improved with overlapped window
 + also numerical rounding errors on the frequency step were corrected  
 + bug corrected in prog. plot_time_freq.c in Utilies/GMT_plot

ver 0.33 oct 27 2005
 + major bug corrected in the COMPILATION of Polar/Spectra utility program
 + new version Polar_0.05 has been created

ver 0.32 oct 17 2005
 + code cleaned and minor bug corrected in MM_mag utility

ver 0.31 oct 10 2005
 + new utility program: MM_mag for computation of Mm, Mw, Mo

ver 0.30 27 aug 2005
 + New utility program for converting signal in SAC_ASCII files into audio files (*.wav)

ver 0.29 Aug 2005
  + code cleaned
  + mouse selection of the button activated only for zoom in all press_event(), release_event() funtions
  + in the goal of using the other buttons of mouse

ver 0.28 Aug 2005
  +Major bug corrected in grad_x2, if the signal length is equal exactly to 1 day (8640s)
  +export to ASCII added in Polar_3D menu
  +prostcript file showing polarisation, can be generated by the new program:
  	plot_3comp_and_polar.c (compilation ./compil in Utilities/GMT_plot )
  +example of GMT script added for plotting polarisation, in Utilities/GMT_plot (example_of_polar.bash)

ver 0.27 July 2005
  +MTPA method added in Utilies, for spectral analysis and polarizarion in the frequency domain
  +GMT scripts for plotting results of MTPA in postscript
  +GMT script for plotting transfert functions in SEED_RESPONSE utility
    
ver 0.26 May 2005
  + Minor bug corrected in instantaneous polarisation

ver 0.25 (apr. 2005)
  + minor bug in Utilities/plot_all_chan.c if the channel is not standard (ie N,Z,E), the min and max was not read
  + Minor bug in STK_Integrator_Fc : the gain was not correct for signal with high_sampling rates
  + the function STK_Integrator_1 is renamed to STK_Integrator_Fc
  + the unused function STK_Integre has been removed
  
ver 0.24 
* export to ascii menu for 
	current_channel plotted
	NZE channels
	ALL channels
	
* in Utilities/GMT_plot programms:
prostcript files can be generated by the new programms:
	+ plot_3comp.c
	+ plot_current_chan.c
	+ plot_all_chan.c
 that create bash_file for GMT (Generic Mapping Tool) software,
 which is itself able to create postscript files.

ver 0.23
* major bug corrected in seed_resp Utility to take into account type B response
  (must multiplicate pole and zeros by 2 PI)

ver 0.22
* add exponantial taper to time_frequency & spectra menu
* minor bug corrected for VH* channel (dt <= 10 s) 
  for time_frequency, polar_evolutive and instantaneous_polar menus 
  (minimum length of windows adapted to sampling period)

ver 0.21 jan_2004
*add instantaneous polarisation

ver 0.21 dec_2004
*export to ascii functions in main window
*export to ascii functions in time_frequency


ver 0.21 nov 04
* change the name of environment variables:
 TMP             becomes     -> STK_TMP
 LOG_FILE        "           -> STK_LOG
 BITE_ORDER      "           -> STK_BITE_ORDER
 SAC_ASCII_PATH  "           -> STK_SAC_ASCII_PATH
 SAC_BIN_PATH    "           -> STK_SAC_BIN_PATH

 
ver 0.20 sept 04
*in SVDS : possibilty to integrate signal or not before polarisation analysis
   one argument is added: INT or NO_INT
*in STK: in time-frequency function : the choice among 4 taper functions were added
  (Hanning, Hamming, Blackman or Hanning generalized (the default)
  also a possibility to smooth or the spectra
     

ver 0.19 jul 04
* major bug corrected in Save_As_ASCII function
 *bug corrected for the incidence in SVDS utility in function calc_angle_2D

ver 0.18 jun 14
* major bug fixed in CallBackFile_Selection_Bin and AfficheFichierBin functions :
 opening a BIN sac file was not possible

ver 0.17 jun 14
* the smooth spectra (log-log and lin-lin) are written in /tmp/SPE... or /tmp/PSD... files
* add the members hh,mm,ss,day,month in the Fourier structure

ver 0.16 jun 2004
*add FFT spectra menu with PSD menu (Power Spectral Density) 

ver 0.15 jan 2004:
*add more tick marks in grad_x [in graph.c]
*add  struct Compens for having fc_min and fc_max parameters
*add compensator_1 and _2 in main menu 

*use pango_layout instead of gtk_draw_text in function outgtext()
*no more deprecated  gdk_functions

change all the following fctions:
gtk_drawing_area_size              to   gtk_widget_set_size_request
gtk_menu_append                    to   gtk_menu_shell_append
gtk_menu_bar_append                to   gtk_menu_shell_append
gtk_signal_connect_object          to   g_signal_connect_swapped
gtk_object_get_data(GTK_OBJECT(),) to   g_object_get_data(G_OBJECT(),)
gtk_entry_new_with_max_length()    to   gtk_entry_new()

ver 0.14 dec 2003:
*must add the environment variable LC_NUMERIC,
to take into account the "." as decimal separatorinstead of ",":
 export LC_NUMERIC=en_US.utf-8

*installation of glib2.2
*pkg-config
*compilation with gtk+-2.2.4

 compilation with -D GDK_DISABLE_DEPRECATED
 change argument of gtk_object_set_data_full()
 change all functions gdk_colormap_alloc, gdk_pixmap_unref,gdk_gc_destroy,
 gdk_draw_pixmap, gdk_colormap_alloc ..etc
 to new functions :g_object_unref, ..etc.
 
 majority of gtk_signal_connect() to new prototypes with G_CALLBACK 

* gdk_font_load and gdk_draw_text must be replaced by pango functions:
 it is not done now and too complicated.

 
ver  0.13 dec 2003
new module polar_box_evol.c for evolutive polarization
added function trace_signal3 in graph.c for evolutive polarization


NOV 2003:
* Add polarization analysis in 2Dx2D in the menu
* in NZE_box.c and Polar_Box.c all the dialogbox use now local variables:
no more global variables pointing to widget window are used.
so there is no more need  of the gtk_object_get_data() function.


