From 698afbdbc63fb109d4aac1a6890c3c825b5aabc6 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 25 May 2001 14:27:20 +0000
Subject: [PATCH] 1.20

---
 Fltk/Message.cpp     |  6 ++---
 Makefile             | 38 +++++++++++++++----------------
 doc/gmsh.1           | 53 ++++++++++++++++++++++----------------------
 utils/gmsh_fltk.spec |  5 +++--
 www/gmsh.html        | 20 ++++++++---------
 5 files changed, 60 insertions(+), 62 deletions(-)

diff --git a/Fltk/Message.cpp b/Fltk/Message.cpp
index bf730e626a..63b75a257a 100644
--- a/Fltk/Message.cpp
+++ b/Fltk/Message.cpp
@@ -1,4 +1,4 @@
-// $Id: Message.cpp,v 1.20 2001-05-20 19:24:53 geuzaine Exp $
+// $Id: Message.cpp,v 1.21 2001-05-25 14:27:20 geuzaine Exp $
 
 #include <signal.h>
 #if !defined(WIN32) || defined(__CYGWIN__)
@@ -53,7 +53,7 @@ void Msg(int level, char *fmt, ...){
   char     *str = NULL;
 
   switch(level){
-  case DIRECT : verb = 2; break ;
+  case DIRECT   : verb = 2; break ;
 
   case STATUS1N : log = 0; //fallthrough
   case STATUS1  : verb = 1; window = 0; break ;
@@ -142,8 +142,6 @@ void Msg(int level, char *fmt, ...){
 /*  Exit                                                                    */
 /* ------------------------------------------------------------------------ */
 
-void Free_DisplayLists(void);
-
 void Exit(int level){
   if(WID && !CTX.batch){
     if(CTX.session_save){
diff --git a/Makefile b/Makefile
index 3dd8045d85..56fdcc1cba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
-# $Id: Makefile,v 1.101 2001-05-17 07:11:49 geuzaine Exp $
+# $Id: Makefile,v 1.102 2001-05-25 14:27:20 geuzaine Exp $
 # ----------------------------------------------------------------------
 #  Makefile for Gmsh  
 # ----------------------------------------------------------------------
 
-           GMSH_RELEASE = 1.19
+           GMSH_RELEASE = 1.20
 
                    MAKE = make
                      CC = c++
@@ -208,7 +208,7 @@ src:
 	tar cvf $(GMSH_SRCRPM).tar $(GMSH_SOURCES)
 	gzip $(GMSH_SRCRPM).tar
 
-compress_bin:
+distrib:
 	mkdir gmsh-$(GMSH_RELEASE)
 	cp $(GMSH_BIN_DIR)/gmsh gmsh-$(GMSH_RELEASE)
 	cp -R tutorial gmsh-$(GMSH_RELEASE)
@@ -259,22 +259,22 @@ bbn: tag
 	g++ -o $(GMSH_BIN_DIR)/gmsh.exe -mno-cygwin -L/mingw/lib $(GMSH_BOX_LIB) -lm
 
 # ----------------------------------------------------------------------
-# Ready to compile for somes platforms with MOTIF
+# Ready to compile for some platforms with MOTIF
 # ----------------------------------------------------------------------
 
-motif_dec: tag motif_compile_little_endian motif_link_opengl strip_bin compress_bin
+motif_dec: tag motif_compile_little_endian motif_link_opengl strip_bin
 
-motif_linux: tag motif_compile_little_endian motif_link_mesa strip_bin compress_bin
+motif_linux: tag motif_compile_little_endian motif_link_mesa strip_bin
 
-motif_linux_2952: tag motif_compile_little_endian_2952 motif_link_mesa_2952 strip_bin compress_bin
+motif_linux_2952: tag motif_compile_little_endian_2952 motif_link_mesa_2952 strip_bin
 
-motif_ibm: tag motif_compile_big_endian motif_link_mesa strip_bin compress_bin
+motif_ibm: tag motif_compile_big_endian motif_link_mesa strip_bin
 
-motif_sun: tag motif_compile_big_endian motif_link_opengl strip_bin compress_bin
+motif_sun: tag motif_compile_big_endian motif_link_opengl strip_bin
 
-motif_hp: tag motif_compile_big_endian motif_link_hp strip_bin compress_bin
+motif_hp: tag motif_compile_big_endian motif_link_hp strip_bin
 
-motif_sgi: tag motif_compile_sgi motif_link_sgi strip_bin compress_bin
+motif_sgi: tag motif_compile_sgi motif_link_sgi strip_bin
 
 motif_rpm: src
 	mv $(GMSH_SRCRPM).tar.gz /usr/src/redhat/SOURCES
@@ -509,9 +509,9 @@ fltk_link_cygwin:
 	g++ -Wl,--subsystem,windows -o $(GMSH_BIN_DIR)/gmsh.exe $(GMSH_FLTK_LIB) Common/Icon.res \
                  $(HOME)/SOURCES/fltk/lib/libfltk.a -lglu32 -lopengl32 -lgdi32 -lwsock32 -lm
 
-fltk_linux: tag fltk_compile_little_endian fltk_link_mesa strip_bin compress_bin
+fltk_linux: tag fltk_compile_little_endian fltk_link_mesa strip_bin
 
-fltk_linux_2952: tag fltk_compile_little_endian_2952 fltk_link_mesa_2952 strip_bin compress_bin
+fltk_linux_2952: tag fltk_compile_little_endian_2952 fltk_link_mesa_2952 strip_bin
 
 fltk_rpm: src
 	mv $(GMSH_SRCRPM).tar.gz /usr/src/redhat/SOURCES
@@ -519,24 +519,24 @@ fltk_rpm: src
 	cp /usr/src/redhat/RPMS/i386/$(GMSH_SRCRPM)-1.i386.rpm .
 	cp /usr/src/redhat/BUILD/$(GMSH_SRCRPM)/gmsh-$(GMSH_RELEASE)-$(GMSH_UNAME).tgz .
 
-fltk_dec: tag fltk_compile_little_endian fltk_link_opengl strip_bin compress_bin
+fltk_dec: tag fltk_compile_little_endian fltk_link_opengl strip_bin
 
-fltk_sun: tag fltk_compile_big_endian fltk_link_sun strip_bin compress_bin
+fltk_sun: tag fltk_compile_big_endian fltk_link_sun strip_bin
 
-fltk_hp: tag fltk_compile_big_endian fltk_link_hp strip_bin compress_bin
+fltk_hp: tag fltk_compile_big_endian fltk_link_hp strip_bin
 
-fltk_ibm: tag fltk_compile_ibm fltk_link_ibm strip_bin compress_bin
+fltk_ibm: tag fltk_compile_ibm fltk_link_ibm strip_bin
 
 fltk_solaris_scorec : tag fltk_compile_solaris_scorec fltk_link_solaris_scorec strip_bin 
 
 fltk_linux_scorec : fltk_compile_linux_scorec fltk_link_linux_scorec strip_bin 
 
-fltk_sgi: tag fltk_compile_sgi fltk_link_sgi strip_bin compress_bin
+fltk_sgi: tag fltk_compile_sgi fltk_link_sgi strip_bin
 
 fltk_mingw: tag fltk_compile_mingw fltk_link_mingw
 	strip $(GMSH_BIN_DIR)/gmsh.exe
 
-fltk_cygwin: tag fltk_compile_cygwin fltk_link_cygwin strip_bin
+fltk_cygwin: tag fltk_compile_cygwin fltk_link_cygwin
 	strip $(GMSH_BIN_DIR)/gmsh.exe
 
 fltk_cygwin_gertha_buro: tag
diff --git a/doc/gmsh.1 b/doc/gmsh.1
index 8f55967277..f9cf3d9a17 100644
--- a/doc/gmsh.1
+++ b/doc/gmsh.1
@@ -5,7 +5,7 @@
 .\" Copyright (c) 2000-2001 J.-F. Remacle, C. Geuzaine
 .\" 
 .\" ======================================================================
-.TH Gmsh 1 "15 February 2001" "Version 1.19" "Gmsh Manual Pages"
+.TH Gmsh 1 "15 February 2001" "Version 1.20" "Gmsh Manual Pages"
 .UC 4
 .\" ======================================================================
 .SH NAME
@@ -96,6 +96,7 @@ either interactively or through the input ascii files.
 .TP 4
 .B \-0
 parse all input files, output flattened geometry, and exit. 
+.\" ======================================================================
 .SH MESH OPTIONS
 .TP 4
 .B \-1
@@ -110,14 +111,14 @@ the geometry.
 perform the three-dimensional mesh, i.e. discretize all the volumes in
 the geometry.
 .TP 4
+.B \-o file
+specify mesh output file name.
+.TP 4
 .B \-format msh|unv|gref
-set output mesh format (default: msh)
+set output mesh format (default: msh).
 .TP 4
 .B \-algo iso|aniso
-select the two-dimensional mesh algorithm (default: iso)
-.TP 4
-.B \-rand float
-set random perturbation factor (default: 1.e-5)
+select the two-dimensional mesh algorithm (default: iso).
 .TP 4
 .B \-smooth int
 set the number of smoothing passes (default value is 3).
@@ -136,12 +137,21 @@ apply a global scaling factor to all generated elements (default value is 1.0).
 apply a global scaling factor to all the characteristic lengths in the
 mesh (default value is 1.0).
 .TP 4
+.B \-rand float
+set random perturbation factor (default: 1.e-4).
+.TP 4
 .B \-bgm file
 load view in file as current background mesh.
 .TP 4
+.B \-constrain
+constrain background mesh with characteristic lengths.
+.TP 4
+.B \-histogram
+print mesh quality histogram.
+.TP 4
 .B \-interactive
 display the 2D mesh construction interactively if the anisotropic mesh
-algorithm is selected
+algorithm is selected.
 .\" ======================================================================
 .SH POST-PROCESSING OPTIONS
 .TP 4
@@ -154,6 +164,9 @@ hide all views at startup.
 .B \-link
 link all views (all interactive option modifications will apply to all
 views) at startup.
+.TP 4
+.B \-convert file file
+convert an ascii view into a binary one.
 .\" ======================================================================
 .SH DISPLAY OPTIONS
 .TP 4
@@ -170,35 +183,21 @@ enable alpha blending.
 .B \-notrack
 don't use trackball mode for rotations.
 .TP 4
-.B \-geometry geom
-specify main window geometry.
-.TP 4
-.B \-viewport 9*float.
-(Motif versions only) specify rotation, translation and scale
-.TP 4
-.B \-display disp.
+.B \-display disp
 specify display.
 .TP 4
 .B \-perspective
 use perspective instead of orthographic projection.
-.TP 4
-.B \-flash
-(Motif versions only) allow colormap flashing.
-.TP 4
-.B \-samevisual
-(Motif versions only) force same visual for OpenGL and GUI.
 .\" ======================================================================
 .SH OTHER OPTIONS
 .TP 4
+.B \-a, \-g, \-m, \-s, \-p
+start in automatic, geometry, mesh, solver or post-processing mode
+(default: automatic).
+.TP 4
 .B \-v int
 set verbosity level (default:2).
 .TP 4
-.B \-nothreads
-(Motif versions only) disable threads.
-.TP 4
-.B \-path string
-set the path for included files.
-.TP 4
 .B \-version
 show version number.
 .TP 4
@@ -215,7 +214,7 @@ Remacle (Remacle@scorec.rpi.edu).
 .SH SEE ALSO
 Gmsh homepage at \fIhttp://www.geuz.org/gmsh/\fR
 .PP
-Gmsh example files in \fI/usr/doc/gmsh-1.19/\fR
+Gmsh example files in \fI/usr/doc/gmsh-1.20/\fR
 .PP
 GetDP (a scientific computation software for the numerical solution of
 integro-differential equations, using finite element and integral type
diff --git a/utils/gmsh_fltk.spec b/utils/gmsh_fltk.spec
index 0509fe2fef..761ceaba72 100644
--- a/utils/gmsh_fltk.spec
+++ b/utils/gmsh_fltk.spec
@@ -1,7 +1,7 @@
 Summary: A 3D mesh generator with pre- and post-processing facilities
 Name: gmsh
-Version: 1.19
-Source: gmsh-1.19.tar.gz
+Version: 1.20
+Source: gmsh-1.20.tar.gz
 Release: 1
 Copyright: distributable
 Group: Applications/Engineering
@@ -30,6 +30,7 @@ post-processor.
 %build
 make fltk_linux_2952
 #make fltk_linux
+make distrib
 make utilities
 rm -rf CVS */CVS */*/CVS
 
diff --git a/www/gmsh.html b/www/gmsh.html
index 1979f873f0..7fd4826aa2 100644
--- a/www/gmsh.html
+++ b/www/gmsh.html
@@ -50,7 +50,7 @@ ENDSCRIPT--->
 This page is a mirror of <a href="/gmsh/">/gmsh/</a><p>
 ENDMIRROR--->
 
-<!---BEGINDATE$Date: 2001-05-16 14:39:23 $ENDDATE--->
+<!---BEGINDATE$Date: 2001-05-25 14:27:20 $ENDDATE--->
 
 Copyright &copy; 1998-2001<br>
 Jean-François Remacle and
@@ -327,7 +327,7 @@ ENDSCRIPT--->
 
   <td bgcolor="#ededed"><font face="Helvetica, Arial" size=-1>
 
-<b>Latest Release: 1.19 (May 7, 2001)</b>
+<b>Latest Release: 1.20 (June 1, 2001)</b>
 <p>
 Executable versions of Gmsh are available for Windows and for most of
 the classical UNIX platforms. These versions are free, and are all
@@ -336,14 +336,14 @@ name="opengl-footmark"><sup>1</sup></a>. The only thing required if
 you use Gmsh is to mention it in your work.The tutorial and demo files
 are included in the archives.
 <ul>
-<li><A href="/gmsh/bin/gmsh-1.19-Windows.zip">Windows zip archive (95/98/NT)</A>
-<li><A href="/gmsh/bin/gmsh-1.19-1.i386.rpm">Linux RPM (Red Hat 6.2 and compatible, i386, glibc 2.1)</A> 
-<li><A href="/gmsh/bin/gmsh-1.19-Linux.tgz">Linux tarball (i386, glibc 2.1)</A> 
-<li><A href="/gmsh/bin/gmsh-1.19-OSF1.tgz">Compaq Tru64 tarball (OSF 4.0)</A> 
-<li><A href="/gmsh/bin/gmsh-1.19-SunOS.tgz">Sun tarball (SunOS 5.5)</A> 
-<li><A href="/gmsh/bin/gmsh-1.19-AIX.tgz">IBM tarball (AIX)</A> 
-<li><A href="/gmsh/bin/gmsh-1.19-IRIX.tgz">SGI IRIX tarball (IRIX 6.5)</A> 
-<li><A href="/gmsh/bin/gmsh-1.19-HP-UX.tgz">HP tarball (HPUX 10.20)</A>
+<li><A href="/gmsh/bin/gmsh-1.20-Windows.zip">Windows zip archive (95/98/NT)</A>
+<li><A href="/gmsh/bin/gmsh-1.20-1.i386.rpm">Linux RPM (Red Hat 6.2 and compatible, i386, glibc 2.1)</A> 
+<li><A href="/gmsh/bin/gmsh-1.20-Linux.tgz">Linux tarball (i386, glibc 2.1)</A> 
+<li><A href="/gmsh/bin/gmsh-1.20-OSF1.tgz">Compaq Tru64 tarball (OSF 4.0)</A> 
+<li><A href="/gmsh/bin/gmsh-1.20-SunOS.tgz">Sun tarball (SunOS 5.5)</A> 
+<li><A href="/gmsh/bin/gmsh-1.20-AIX.tgz">IBM tarball (AIX)</A> 
+<li><A href="/gmsh/bin/gmsh-1.20-IRIX.tgz">SGI IRIX tarball (IRIX 6.5)</A> 
+<li><A href="/gmsh/bin/gmsh-1.20-HP-UX.tgz">HP tarball (HPUX 10.20)</A>
 
 </ul>
 
-- 
GitLab