Commit Graph

43 Commits

Author SHA1 Message Date
lrknox
b752960f56 Remove extra spaces and 1 "currently under development" to match hdf5_1_10
version.
2017-10-26 16:36:21 -05:00
Larry Knox
89fbe00dec Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '54957d37f5aa73912763dbb6e308555e863c43f4':
  Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes.
  Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh.
  Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
  Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
2017-04-25 16:05:36 -05:00
lrknox
fa5ca5272d Remove extra space added by h5vers to version string in H5.java, which
then failed to match the pattern after the first run.
2017-03-21 11:40:11 -05:00
lrknox
7e7121fec6 Remove incorrect " marks added to java files by bin/h5vers.
Pull version from configure for version test in h5repack_plugin.sh.in
2017-03-21 10:57:40 -05:00
lrknox
cd8ec2cc44 Extend h5vers to update version strings in java files and h5repack
version test expected output file.

Update version on develop branch to 1.11.0.

 Please enter the commit message for your changes. Lines starting
2017-03-20 17:14:16 -05:00
lrknox
6924e1f9f8 h5vers:
Added code to update version strings in
    config/cmake/scripts/HDF5config.cmake.

release:
    Added options to create CMake tar.gz and zip files containing the
    HDF5 source and scripts to build and test HDF5 with cmake and ctest
    by running a single command.  These were previously assembled
    manually.

    Added a call to h5vers to set the version being released where it
    occurs in files.  In particular, the sub-release version string
    "currently under development" was not being removed from
    cpp_doc_config or HDF5config.cmake.
2017-02-21 15:18:17 -06:00
lrknox
78096ab08a Removed -p option from invocation of autogen.sh by h5vers script to
allow running h5vers on machines without /usr/hdf/bin/AUTOTOOLS.
2016-09-02 15:40:53 -05:00
Larry Knox
f5234cd194 [svn-r29379] Add individual LT_VERS_* variables for wrapper libraries: c++, fortran, java, hl, hl/c++, hl/fortran to so that the shared object version numbers can be incremented independently.
Disabled auto-increment of shared object version numbers by h5vers.

Files modified:
    config/lt_vers.am
    java/src/jni/Makefile.am
    hl/src/Makefile.am
    hl/c++/src/Makefile.am
    hl/fortran/src/Makefile.am
    c++/src/Makefile.am
    bin/h5vers
    fortran/src/Makefile.am
2016-03-09 13:55:31 -05:00
Larry Knox
d380f20a0d [svn-r29350] Revert h5check_version change to check LT_VERS_XXXX numbers rather than HDF5 library version numbers.
Svn revisions reverted:  29341, 29326
Branch features/h5check_version was created for further development.

Files changed
     test/tcheck_version.c
     test/testcheck_version.sh.in
     src/H5public.h
     src/H5.c
     config/lt_vers.am
     bin/h5vers

Tested with h5committest.new
2016-03-08 12:49:38 -05:00
Albert Cheng
2c36685010 [svn-r29326] HDFFV-9536: Changed H5check_version() to use libtool shared library version numbers instead of the library version numbers.
bin/h5vers: 
    Changed to copy the shared lib version from lt_vers.am to H5public.h
    (Thanks to Larry who made the changes.)
config/lt_vers.am:
    cosmetic change, nothing material.

src/H5public.h:
    Changed by bin/h5vers.

src/H5.c:
    Changed H5check_version() to use shared library version for compatibility
    checking.

test/tcheck_version.c:
test/testcheck_version.sh.in:
    Changed to use shared library version numbers instead of the HDF5 library
    version numbers for testing.

Tested: tested in Jam (C only), platypus and osx1010dev (enable fortran and C++).
2016-03-07 17:03:57 -05:00
Albert Cheng
9de281111f [svn-r28393] HDFFV-9573: bin/h5vers failure, claiming reconfigure failed.
bin/reconfigure is replaced by autogen.sh.

Fixed h5vers to call autogen.sh instead.

Tested: Jam
2015-11-18 13:28:17 -05:00
Larry Knox
786acbcd90 [svn-r27475] Updated h5vers to remove redundant version information for doxygen web pages. Also added "" around version string to prevent elimination of spaces in the string.
H5committested.
2015-08-06 13:34:42 -05:00
Larry Knox
cf98752566 [svn-r26840] configure
configure.ac
hl/src/H5LTparse.c
hl/src/H5LTparse.h
        Address HDFFV-9010: configure issue with gcc 4.9.2 "-l ".
        Change default to disable_shared on CYGWIN.

release_docs/INSTALL_Cygwin.txt
release_docs/RELEASE.txt
        Update for changed default and no CYGWIN szip binary.

c++/src/cpp_doc_config
bin/h5vers
        AddressHDFFV-9010: Add cpp_doc_config to h5vers

Tested with h5committest, on CYGWIN.
2015-04-17 17:24:47 -05:00
Larry Knox
6c7aa17753 [svn-r26338] Remove references to vms and vms files to be updated by this script. VMS has been removed from HDF5 code.
Tested on jam.
2015-03-02 12:11:59 -05:00
Larry Knox
57d23e5062 [svn-r22984] Removed references to windows files for legacy builds with Visual Studio that were removed.
Tested on jam.
2012-10-27 22:39:07 -05:00
Allen Byrne
1673b04a23 [svn-r22722] Update all references from configure.in to configure.ac
Tested: h5committest
2012-08-28 12:47:52 -05:00
Elena Pourmal
0c72ceea96 [svn-r16105] Bug fix:
h5vers script overwrote the value for windows file; fixed
2008-11-19 14:30:29 -05:00
Elena Pourmal
5d115960b6 [svn-r16100] Maintenance: Library version number in vms/src/h5pubconf.h
was not updated automatically and therefore
             was always outdated. Modified h5vers script to update
             the version for the VMS configuration file as we do for 
             the similar windows file.
Platforms tested: 
             kagiso with bin/h5vers
2008-11-19 11:23:56 -05:00
Scott Wegner
35fcfd37d4 [svn-r15440] Purpose: Correct a few typos from my previous edit
Description:
-- Remove a couple lines of debugging output
-- Make sure H5_PACKAGE_NAME outputs 'HDF5' rather than 'hdf5'
-- Take into account version strings with a postfix.  This isn't currently used in HDF5 1.9 branch, but is in HDF5 1.8.

Tested:
kagiso
2008-08-06 14:04:45 -05:00
Scott Wegner
e47c44c04a [svn-r15438] Purpose: Bring the Windows H5pubconf.h up-to-date
Description:
This commit is a major update to the Windows-maintained H5pubconf.h file.  This file is statically-distributed because Windows cannot generate it dynamically as other platforms do.  Previously, our Windows version contained a minimal subset of the macro definitions required.  To update, I've gone through each macro (based on kagiso's output), and tested for the correct value on Windows.  This allows us to better target code based on feature flags.  It should also be easier to update in the future as changes are made to the configure script.

This commit also contains one small bug fix in h5ls.c.  Some Windows-specific code was missing a local variable definition.  The bug went unnoticed because Windows didn't define the feature flag correctly.

I've also made changes to the h5vers script.  Whenever the version string is incremented (automatically by h5test after a snapshot), the strings in H5pubconf.h will also be updated.

Tested:
VS2005 on WinXP (32- and 64-bit)
VS.NET on WinXP 32-bit
h5vers tested under Cygwin
2008-08-06 12:18:47 -05:00
Albert Cheng
a286af4e0f [svn-r13645] Purpouse:
Bug fix (851)

Description:
h5vers calls bin/reconfigure which may fail but h5vers does not
check its return value. This will result in discrepency between
files such as configure and configure.in.

Solution:
Fixed it by checking exit code of bin/reconfigure and return error if
it fails.

Tested:
osage and kagiso.
2007-04-11 15:00:08 -05:00
Quincey Koziol
bbc62be800 [svn-r13371] Description:
Tweak e-mail address inserted into files from "hdfhelp@ncsa.uiuc.edu"
to "help@hdfgroup.org"
2007-02-21 15:12:34 -05:00
Albert Cheng
5e1bee4f60 [svn-r13311] Updated copyright notice.
Test:
Just visual inspection as these are all comments changes.
2007-02-14 17:25:02 -05:00
James Laird
5495641296 [svn-r11916] Purpose:
Bug fix in release script

Description:
release --private should create a release without changing the current
version of the library.  This wasn't working for the libtool version, which
was getting bumped regardless.

Solution:
Fixed the release and h5vers scripts to leave the source directory
unchanged when bin/release --private is run.

Platforms tested:
mir (changes to scripts only)
2006-02-01 17:26:14 -05:00
James Laird
d8b08dbc85 [svn-r10627] Purpose:
Feature - libtool shared library versioning

Description:
Libtool provides a mechanism for different versions of the same shared
library to be distinguished.  Now this is applied to HDF5 when it is
built as a shared library.

Solution:
The version number is stored in config/lt_vers.am, and included in
src/Makefile.am.
This number will be automatically updated by bin/h5vers; developers
only need to update it when they change the API.

*** IMPORTANT ***
Any time the API changes, the version number in config/lt_vers.am must
be updated!



Platforms tested:
mir, eirene, verbena, modi4

Misc. update:
2005-04-18 10:48:32 -05:00
James Laird
08df46ab55 [svn-r10104] Purpose:
Bug fix

Description:
h5vers would spit out the output that reconfigure script produced.

Solution:
Sent output from reconfigure to /dev/null.  h5vers is now quiet as before.

Platforms tested:
verbena, eirene, heping
2005-02-28 11:24:32 -05:00
James Laird
bcb3dd3a21 [svn-r10085] Purpose:
Bug fix

Description:
h5vers script called automake without using bin/reconfigure

Solution:
Altered h5vers script to use bin/reconfigure
Also:

***
CHANGED NAME OF reconfigure.sh TO reconfigure !
***

This matches the other scripts in the bin/ directory.  Also changed
permissions on reconfigure so it can be executed.

Platforms tested:
eirene

Misc. update:
2005-02-25 13:09:19 -05:00
Bill Wendling
5fea487a88 [svn-r7270] Purpose:
Update

Description:
    Removed the re-autoconf of the fortran and c++ configures since they
    don't exist anymore.

Misc. update:
2003-07-28 16:46:41 -05:00
Bill Wendling
2021329c69 [svn-r6536] Purpose:
Updated Copyright Statement

Description:
    Replaced old copyright statement with new one.

Platforms tested:
    No need.

Misc. update:
2003-03-31 12:39:53 -05:00
Bill Wendling
7065ac7982 [svn-r5280] Purpose:
Update
Description:
    Changed so that the Fortran and C++ configures are named "HDF5
    Fortran" and "HDF5 C++" resp. instead of just "HDF5.
Solution:
    Add an extra parameter to the subroutine which generates the new
    configure.in files.
Platforms tested:
    Linux
2002-04-29 12:24:50 -05:00
Bill Wendling
43d1e71c2b [svn-r5266] Purpose:
Update
Description:
    Updated the h5vers script to automatically update the configure.in
    files so that they reflect the correct version in the AC_INIT line.
Platforms tested:
    Linux
2002-04-25 17:37:24 -05:00
Albert Cheng
708ee4922c [svn-r4129] Purpose:
update
Description:
    Several files have been renamed or moved to a different location.
    README => README.txt
    RELEASE.txt => release_docs/RELEASE.txt
    HISTORY.txt => release_docs/HISTORY.txt

    Updated h5vers and release to reflect all these new names/locations.
    Also made all uses the same beginning phases for the first line
    of text in README.txt and RELEASE.txt as follows:
        "HDF5 version ... "
Platforms tested:
    eirene by running the bin/release and bin/h5vers -i.
2001-07-06 00:43:38 -05:00
Albert Cheng
aca9a213a9 [svn-r3911] Purpose:
Cosmetic adjustment
Description:
    Changed Version information from just "HDF5 version ..."
    to "HDF5 library version" since this is really about a
    library implementation.
Platforms tested:
    eirene (used "h5vers -s ..." to see the effect.)
2001-05-11 09:08:27 -05:00
Albert Cheng
37832b192e [svn-r3907] Purpose:
feature
Description:
    -i option update the RELEASE.txt file too.
Platforms tested:
    eirene
2001-05-10 17:15:50 -05:00
Robb Matzke
b490fc52c9 [svn-r3896] ./hdf5/bin/h5vers
Implemented the string version number stuff for Albert.
2001-05-09 16:21:37 Robb Matzke  <matzke@llnl.gov>
	* setvers: Adjust definition of H5_VERS_INFO, which should be a #define for
	   a string constant.
2001-05-09 15:34:34 -05:00
Albert Cheng
5983544547 [svn-r3164] Purpose:
Improvement
Description:
    The -i option used to increment the first number it finds in the
    SUBRELEASE string.  So, beta1-post0 becomes beta2-post0.
Solution:
    Changed to increment the last number it finds.  So,
    	beta1-post0 becomes beta1-post1.
Platforms tested:
    eirene and modi4.
2000-12-20 12:11:19 -05:00
Robb Matzke
08bf2e5438 [svn-r2177] ./bin/h5vers
Version numbers include an annotation string consisting of a
		sequence of letters and digits and is printed by this
		script as either:

			1.2.3-pre4
			version 1.2 release 3 (pre4)

		Other tools should print version numbers similarly.

		A `-i annot' switch was added to increment the
		annotation (the first subsequence of digits is what is
		incremented, e.g., `pre9' becomes `pre10').

		The `-i' switch (with no argument) was changed to
		increment the annotation string if present, or the
		release number otherwise.

(By the way, it actually took about 30 minutes ;-)
2000-04-21 14:27:14 -05:00
Robb Matzke
f759816f96 [svn-r1474] ./bin/h5vers [1.3]
Added `use strict' and declared some variables.

./bin/trace		[1.2, 1.3]
	Added definitions for H5D_operator_t, H5MM_allocate_t, and
	H5MM_free_t and regenerated tracing calls for the affected API
	functions.
1999-07-13 12:58:35 -05:00
Quincey Koziol
f0cbaab354 [svn-r1436] Made perl script more portable. 1999-07-06 16:34:09 -05:00
Robb Matzke
06c7d8fbbf [svn-r1354]
Changes since 19990615
----------------------

./README
	Version number synchronized with library.

./bin/h5vers
	If the version number of the library is changed then the first
	line of the README file is also changed to something like

	     This is hdf5-1.2.3 currently under development

	The `release' script (which also gets run by `snapshot')
	changes that line to include the release date but keeps the
	version number the same.  The net effect is that the version
	numbers in README and H5public.h should now always stay
	synchronized.

./bin/snapshot
	The CVS checkin comment includes the version number for the
	snapshot that was just made.

./tools/testh5toh4
	Changed `*-SKIP-*' to `-SKIP-' to be consistent with the other
	tests.
1999-06-16 10:09:56 -05:00
Robb Matzke
ba9581e64c [svn-r678] ./bin/h5vers
./bin/release
	Fixed some minor things to make them work better.
1998-09-09 13:19:59 -05:00
Robb Matzke
e4aae4fd9b [svn-r549] ./bin/h5vers
Fixed a bug that caused `h5vers -i' to fail with a usage
	message.  The new behavior is the same as `h5vers -i release'
	which increments the release number.

./bin/snapshot
	A shell script intended to be run nightly from cron which
	compares the current version of hdf5 against the previous
	version.  If there are differences it creates a tar file in an
	ftp directory, increments the hdf5 release number, and commits
	the changes back into the cvs repository.  The name of the ftp
	directory in which to place the release can be given on the
	command line (default /hdf3/ftp/pub/outgoing/hdf5/snapshots).
	The CVSROOT environment variable must be set.
1998-07-30 14:48:20 -05:00
Robb Matzke
79d65106ab [svn-r514] Changes since 19980715
----------------------

./src/H5Flow.c
./src/H5Fprivate.h
./src/H5Fsplit.c
	Changed the allocation size request from `size_t' to `hsize_t'
	because it was overflowing for the `big' test.

./src/H5detect.c
	If `long double' and `double' are the same size then we define
	H5T_NATIVE_LDOUBLE to be the same as H5T_NATIVE_DOUBLE.
	Similarly for `long' vs. `long long' and `unsigned long' vs.
	`unsigned long long'.

./test/Makefile.in
	Added `big' to the list of tests to normally run.

./test/big.c
	Added a check to see if the file system supports holes and if
	it doesn't then the test is skipped.

./RELEASE
	Added a couple minor details details about API tracing and
	symbolic links.

./src/H5public.h
	Added comments about the use of hbool_t. Fixed a comment
	spelling error.

./test/testhdf5.h
	Changed the way the version number is printed.  The old method
	was `hdf5-1.2.3d' and the new method is `hdf5 version 1.2
	release 3'

./tools/h5ls.c
	Only prints the max dimension if it differs from the current
	dimension or if verbose mode is enabled.  Added switches `-?',
	`-h', and `--help' to print a usage message.  Added switches
	`-v' and `--verbose' to generate more verbose output.  Added
	switches `-V' and `--version' to print the version number and
	exit.  The version number is printed like: This is h5ls
	version 1.0 release 24'

./bin/h5vers	[NEW]
	This script prints, sets, and/or increments the hdf5 version
	number. It can be run from the top directory or any of the
	child directories like src, tools, test, etc. Some examples:

	  $ h5vers				# Display current version
	  1.0.24

	  $ h5vers -v
	  version 1.0 release 24		# Display current version.

	  $ h5vers -s 5.2.8			# Set version and display
	  5.2.8

	  $ h5vers -s 2.1
	  2.1.0

	  $ h5vers -s hdf5-1.0.24a.tar.bz2
	  1.0.24

	  $ h5vers -s 'version 2.0 release 8'
	  2.0.8

	  $ h5vers -s 'junk 22 junk 33 more junk 66 and 99 junk'
	  33.66.99

	  $ h5vers -i major			# Increment from 1.0.24
	  2.0.0

	  $ h5vers -i minor			# Increment from 1.0.24
	  1.1.0

	  $ h5vers -i release			# Increment from 1.0.24
	  1.0.25

	  $ h5vers ~/hdf5/src/H5public.h	# Use an alternate file
	  1.0.24

./bin/checkapi		[NEW]
	Run from the src directory with arguments H5[A-Z]*.c and it
	will print the locations of each place where an API function
	was called from within the library.  Use it as the compile or
	grep command under Emacs and you can C-x ` through the list.

./bin/debug-ohdr	[NEW]
	Keeps track of H5O_open() and H5O_close() debugging messages
	and lists the file addresses of the object headers that are
	opened but never closed.  You must enable the `o' debugging at
	configuration time and pipe stderr into this script.

./bin/errors
	Added a note to indicate that this script no longer works
	because of changes in the HRETURN_ERROR() and HGOTO_ERROR()
	macros.

./bin/iostats		[NEW]
	Watches output from the Linux strace program and accumulates
	statistics about low-level access to an hdf5 file.  The output
	is a list of 2d data points which can be plotted by gnuplot to
	show file seeking behavior.

./MANIFEST
	Added new files.
1998-07-17 14:03:43 -05:00