diff --git a/Makefile b/Makefile
index 3815307aa7ab6667d73c7c5b2961b0cade01ea1b..c2997dc11eb91edc701fc5cfabac7d74ffa35533 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.382 2004-12-24 23:10:25 geuzaine Exp $
+# $Id: Makefile,v 1.383 2004-12-30 05:45:24 geuzaine Exp $
 #
 # Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 #
@@ -22,8 +22,8 @@
 include variables
 
 GMSH_MAJOR_VERSION = 1
-GMSH_MINOR_VERSION = 57
-GMSH_PATCH_VERSION = 1
+GMSH_MINOR_VERSION = 58
+GMSH_PATCH_VERSION = 0
 GMSH_EXTRA_VERSION = "-cvs"
 
 GMSH_VERSION = ${GMSH_MAJOR_VERSION}.${GMSH_MINOR_VERSION}.${GMSH_PATCH_VERSION}${GMSH_EXTRA_VERSION}
diff --git a/doc/VERSIONS b/doc/VERSIONS
index 5948d179133a766d2f6096a109450129e0c87e1a..e1e788757b0b8a14ccf8546332569e43a8164934 100644
--- a/doc/VERSIONS
+++ b/doc/VERSIONS
@@ -1,6 +1,6 @@
-$Id: VERSIONS,v 1.290 2004-12-30 05:43:44 geuzaine Exp $
+$Id: VERSIONS,v 1.291 2004-12-30 05:45:24 geuzaine Exp $
 
-New since 1.57: new File->Rename menu; new colormaps+improved colormap
+New in 1.58: new File->Rename menu; new colormaps+improved colormap
 handling; new color+min/max options in views; new GetValue() function
 to ask for values interactively in scripts; generalized For/EndFor
 loops in parser; new plugins (Annotate, Remove, Probe); new text
diff --git a/doc/gmsh.html b/doc/gmsh.html
index 0686369b984a32944b94866b59a28daf07fc83b5..5815bfff030b9cec4041184d2a91136ce986e851 100644
--- a/doc/gmsh.html
+++ b/doc/gmsh.html
@@ -25,7 +25,7 @@ generator with built-in pre- and post-processing facilities</h1>
 <p>
 <h3 align="center">Christophe Geuzaine and Jean-Fran�ois Remacle</h3>
 <p>
-<h3 align=center>Version <a href="doc/VERSIONS">1.57</a>, 23 December 2004</h3>
+<h3 align=center>Version <a href="doc/VERSIONS">1.58</a>, xx 2004</h3>
 <p>
 <center>
   <a href="#Description">Description</a> |
@@ -109,11 +109,11 @@ Linux and Mac OS X. The tutorial and demo files are included in the
 archives.
 
 <ul>
-<li><a href="/gmsh/bin/Windows/gmsh-1.57.0-Windows.zip">Windows zip archive (95/98/NT/2000/XP)</a>
-<li><a href="/gmsh/bin/Linux/gmsh-1.57.0-1.i386.rpm">Linux RPM (i386, Red Hat >= 7.3)</a>
-<li><a href="/gmsh/bin/Linux/gmsh-1.57.0-Linux.tgz">Linux tarball (i386, glibc >= 2.2)</a> 
-<li><a href="/gmsh/bin/MacOSX/gmsh-1.57.0-MacOSX.tgz">Mac OS X tarball (Mac OS X >= 10.2)</a>
-<li><a href="/gmsh/src/gmsh-1.57.0-source.tgz">Source tarball (all platforms)</a>
+<li><a href="/gmsh/bin/Windows/gmsh-1.58.0-Windows.zip">Windows zip archive (95/98/NT/2000/XP)</a>
+<li><a href="/gmsh/bin/Linux/gmsh-1.58.0-1.i386.rpm">Linux RPM (i386, Red Hat >= 7.3)</a>
+<li><a href="/gmsh/bin/Linux/gmsh-1.58.0-Linux.tgz">Linux tarball (i386, glibc >= 2.2)</a> 
+<li><a href="/gmsh/bin/MacOSX/gmsh-1.58.0-MacOSX.tgz">Mac OS X tarball (Mac OS X >= 10.2)</a>
+<li><a href="/gmsh/src/gmsh-1.58.0-source.tgz">Source tarball (all platforms)</a>
     <a href="#build-footnote" name="build-footmark"><sup>2</sup></a>
 </ul>
 
diff --git a/doc/texinfo/gmsh.texi b/doc/texinfo/gmsh.texi
index 86fca4628689634319b10eaf6cf0ff1ff205a590..74abe6d4d8708934b2e28ccd844bdbffe62407f8 100644
--- a/doc/texinfo/gmsh.texi
+++ b/doc/texinfo/gmsh.texi
@@ -1,5 +1,5 @@
 \input texinfo.tex @c -*-texinfo-*-
-@c $Id: gmsh.texi,v 1.156 2004-12-29 07:18:10 geuzaine Exp $
+@c $Id: gmsh.texi,v 1.157 2004-12-30 05:45:24 geuzaine Exp $
 @c
 @c Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 @c
@@ -37,8 +37,8 @@
 @c =========================================================================
 @c %**start of header
 @setfilename        gmsh.info
-@set EDITION        1.28
-@set GMSH-VERSION   1.57
+@set EDITION        1.29
+@set GMSH-VERSION   1.58
 @set GMSH-WEB       @uref{http://www.geuz.org/gmsh/}
 @set COPYRIGHT      @copyright{} 1997-2004 Christophe Geuzaine, Jean-Fran@,{c}ois Remacle
 @c