Commit Graph

449 Commits

Author SHA1 Message Date
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
Mike McGreevy
f804d20446 [svn-r16095] Purpose: Updating bin/reconfigure script
Updating bin/reconfigure script to point to autotools in /mnt/hdf/packages, 
    since /home1/packages no longer exists.

Tested: kagiso
2008-11-18 15:19:10 -05:00
Raymond Lu
528a7dd3b8 [svn-r16006] Modify the commit of r15943 for H5_USE_16_API. Let H5version.h check if H5_USE_16_API_DEFAULT is defined by the configure. Then define H5_USE_16_API and use it throughout.
Tested on kagiso - supposed to be simple.
2008-10-30 15:49:08 -05:00
Quincey Koziol
cea8049404 [svn-r15983] Description:
Remove redundant check for 1.6 default API.

Tested on:
    Eyeballed - very trivial
2008-10-28 18:43:50 -05:00
Raymond Lu
ab2de0d63c [svn-r15968] Correct some minor syntax errors in the checkin #15943.
Tested with h5committest.
2008-10-27 12:10:28 -05:00
Raymond Lu
5deed723e5 [svn-r15943] Changed the library's macros H5_USE_16_API to H5_USE_16_API_DEFAULT avoid possible conflict wi
th user's definition of H5_USE_16_API.  The H5_USE_16_API_DEFAULT is defined through
configure with the flag --with-default-api-version=v16.

Tested with h5committest.
2008-10-24 14:12:21 -05:00
Mike McGreevy
a664274624 [svn-r15942] Purpose: Bug Fixes and Libtool Upgrade
Description:
     - Remove need to set LD_LIBRARY_PATH when using shared szip library.

     - Libtool 2.2.6a is now used to generate libraries.

     - 'make check install' dependency bug is fixed, and should no longer
       break the build. 
  
     - removed hard coding of shell in config/commence.am, as this causes
       problems on Solaris with the new version of libtool.
   
     - RELEASE.txt with appropriate changes.

Tested:
     - kagiso, smirom, linew (merged from 1.8, pretty quick tests)
2008-10-24 12:19:34 -05:00
Neil Fortner
a59d91d192 [svn-r15485] Purpose: Allow library to shut down properly when objects have reference count
> 1.

Description: Added a new field 'app_count' to H5I_id_info_t struct, to track
    the reference count on an id due to the application.  the old 'count' field
    tracks the total.  Generally any id visible to the application gets placed
    in app_count.  Added app_ref boolean parameter to H5I_inc_ref, H5I_dec_ref,
    H5I_register, H5I_clear_type, and a few other functions, to specify whether
    the operation(s) being performed on the id(s) are due to the application
    (TRUE) or not (FALSE).  Test added for this case.

Tested: kagiso, smirom, linew (h5committest)
2008-08-19 11:35:16 -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
Mike McGreevy
6827c2f3b2 [svn-r14939] Purpose: Bug Fix (Bug 794)
Description:  Test gcov script on kagiso

Solution:     The bin/gcov_script was not working on kagiso (it was written to
              be used on heping, but since we don't have heping anymore, we 
              need it on kagiso). There was a problem in that the generated
              .gcda files were being created in the /src/.libs directory when
              the script was expecting them to be in the /src directory. Also,
              -lgcov was added to LDFLAGS.

              The script performs configuration of HDF5 and runs the tests, and
              generates code coverage statistics for the source code files,
              which it places in the gcov_logs directory.

              The individual *.gcov files show the number of times each 
              individual line of the associated source file is executed, and
              displays branches tken information as well. The file gcov.log
              shows a summary of each source file's coverage statistics in one
              easily accessible file.

Tested:       kagiso
2008-05-06 12:14:14 -05:00
Mike McGreevy
5bd2405c11 [svn-r14933] Purpose: Updating HDF5 to use automake 1.10.1 and libtool 2.2.2
Description: Applying update to autotools that was applied to 1.8 a couple
             of weeks ago to the trunk.

             Updated bin/reconfigure script to reflect the new versions of 
             libtool and automake in the /home1/packages/ directory.

             Rearranged configure.in script. When using libtool 2.2.2, the
             libtool script doesn't generate until later in the configuration
             process, so I had to move a test that parsed through the libtool
             script to a point after where it was actually being generated.

             Ran libtoolize on the project, and ran bin/reconfigure to
             regenerate configure and Makefile.in's throughout.

Tested:      kagiso, smirom, linew (h5committest)
2008-05-05 13:35:55 -05:00
Scot Breitenfeld
aec106e324 [svn-r14903] Undoing change committed in r14902. 2008-04-30 14:51:13 -05:00
Scot Breitenfeld
5773fd34bc [svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. New fortran wrappers added. 2008-04-30 14:23:26 -05:00
HDF Tester
cb14bb5a1c [svn-r14713] Increase lines at end of output checked to determine completion from 2 to 5. 2008-03-08 20:22:23 -05:00
HDF Tester
b1ebb1b3b1 [svn-r14712] Report error if runtest fails; use backtick even if obsolete since it works on kagiso, smirom and linew. 2008-03-07 16:59:24 -05:00
HDF Tester
21ddbe6609 [svn-r14704] TIMELIMIT_PARSE altered to return timelimit value. 2008-03-04 16:59:37 -05:00
Quincey Koziol
7fc10c0ea7 [svn-r14413] Description:
Change H5P[gs]et_format_bounds() => H5P[gs]et_libver_bounds() and also
enumerated values H5F_FORMAT_{EARLIEST, LATEST} => H5F_LIBVER_{EARLIEST, LATEST}

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-01-14 18:49:12 -05:00
Quincey Koziol
c0b966ba1b [svn-r14374] Description:
Updates from running bin/reconfigure on recent changes, in preparation for
making private snapshot.  Also updated tracing information for recent types
added to public API routines.

Tested on:
    Linux/32 2.6.x (kagiso)
2008-01-04 12:43:56 -05:00
Albert Cheng
0afa30910b [svn-r14312] Added support of
-fortran:   add --enable-fortran
   -cxx:       add --enable-cxx
   -pp:        add --enable-parallel

Tested: Kagiso (serial and parallel).
2007-11-29 16:06:00 -05:00
Albert Cheng
c0907e82a0 [svn-r14297] Added the ability to locate szlib libraries in THG hosts.
Tested: kagiso, linew. All worked.
Smirom (configure works, make failed due to szlib itself),
2007-11-28 00:29:20 -05:00
Quincey Koziol
cf56cd041d [svn-r14211] Description:
Remove --enable-hdfv1_6 configure flag, now that all dependencies on it
have been removed and new --with-default-api-version=[v16|v18] and
--disable-deprecated-symbols flags have taken its place.

	Update types in bin/trace so that bin/reconfigure runs cleanly.

	Run bin/reconfigure to regenerate configure script, along with
other associated files, etc.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.4.10 (amazon) in debug mode
2007-10-18 13:57:08 -05:00
Quincey Koziol
51073136ce [svn-r14109] Description:
Make certain to define the API function and typedef version macros
in all situations.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.10 (amazon)
2007-08-23 18:19:18 -05:00
Quincey Koziol
14ce8811f7 [svn-r14108] Description:
Make version macro for typedefs closer to version macro for API
functions.

Tested on:
        FreeBSD/32 6.2 (duty)
        FreeBSD/64 6.2 (liberty)
        Linux/32 2.6 (kagiso)
        Linux/64 2.6 (smirom)
        Solaris/32 5.10 (linew)
2007-08-23 17:40:22 -05:00
Quincey Koziol
63eb5b9ebb [svn-r14104] Description:
Pursue calls to H5Gcreate() relentlessly and ruthlessly exterminate
them, leaving only a few tame specimens in text files and comments.  ;-)

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-23 15:25:25 -05:00
Quincey Koziol
cdd4606430 [svn-r14097] Description:
First real use of API versioning code, H5E routines switched to use
new API versioning scheme.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-21 16:08:27 -05:00
Quincey Koziol
4a5b97b930 [svn-r14022] Description:
Remove stray reference to "group revision" configure flag

    Remove Windows-specific EOL characters from src/H5FDwindows.c

    Add some missing types to bin/trace

    Re-run bin/reconfigure script to regenerate information after changes above.

Tested on:
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (linux)
    Solaris/32 2.10 (linew)
2007-07-26 16:33:10 -05:00
Quincey Koziol
b4e029c70b [svn-r13971] Description:
Add --enable-deprecated-symbols configure option, to allow users to
remove deprecated public API symbols at configure time.

	Add bin/make_vers script to bin/reconfigure actions.

	Run bin/reconfigure to regenerate autotool components.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (kagiso)
2007-07-12 17:01:35 -05:00
Quincey Koziol
a73ea1b4f0 [svn-r13969] Description:
Initial checkin of API version macro generation script (bin/make_vers),
along with configuration file (src/H5vers.txt) and generated header
(src/H5version.h).  Right now, no version macros are defined, since the main
source code and tests need to be adjusted to pay attention to the macros
defined.

    Also, fixed makefile for generating error header files when used with
GNU make.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-12 15:21:57 -05:00
Albert Cheng
47ab8fa29d [svn-r13902] Purpose:
Simple code improvement to have more unified code.

Tested:
in kagiso only since it is a simple script change.
2007-06-24 19:15:56 -05:00
Albert Cheng
d9d31089db [svn-r13847] Updated it to use version 2.61 since reconfigure has changed to it.
Tested Platform:
Kagiso.
2007-06-10 21:12:31 -05:00
Albert Cheng
8cf6fbad51 [svn-r13707] Changed the TODAY format to include weekday, matching the one used by DailyHDF5Test
script.

Tested:
Tested the new format works in all NCSA machines.
2007-04-28 23:13:23 -05:00
Albert Cheng
2ad7c73e5b [svn-r13687] Improvement.
Added a clarification the environment variables dumping is BEFORE command option
parsing.  Also added a dumping AFTER the option parsing.

Tested:
Just eyeballed since it is trival.  Let daily tests runs to test it.
2007-04-18 16:37:44 -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
Mike McGreevy
a3d8f174dc [svn-r13616] This check-in updates the bin/reconfigure file to point to the most recent versions of the autotools.
Updated autotool versions are: autoconf 2.61, automake 1.10.0, and libtool 1.5.22.

Tested on kagiso.
2007-04-09 13:44:42 -05:00
HDF Tester
5fe2a249cf [svn-r13527] Purpose:
Bug fix.

Description:
When it reads the allhostfile, it does eliminate comments or blank lines
completely, thus it continues to use ssh/rsh even when only the local
host is tested.

Solution:
Changed the sed scripts to eliminate comments and blank lines.

Tested:
Cobalt by running bin/runtest.  Since this is not really library source,
the three platforms test does not apply.
2007-03-19 23:26:19 -05:00
HDF Tester
d7c3cc4139 [svn-r13480] feature
Show disk usage at different stage of the snapshot processes
so that we know how much disk are needed in different stage.
(This still does not know how big disk usage during make check
process since many temporary files are deleted right after the tests
finish.)

Tested platform:
Kagiso.
2007-03-08 15:50:11 -05:00
Leon Arber
2618906fee [svn-r13438] Purpose: Bug Fix
Description:

Fixed some mistakes introduced yesterday due to a misunderstanding of what sort of datatypes the trace scripts prints out.  This commit mostly reverts those changes, adds some new datatypes, and fixes some errors with regards to how the trace script handles pointer datatypes.  Since the trace script scans the argument list for the "*" character and handles it appropriately, one should never need to explicitly specify a pointer type in the TypeString hash.
2007-02-28 20:00:16 -05:00
Leon Arber
1b2c200b10 [svn-r13429] Purpose: Bug Fix
Description:

Fix up the bin/trace script.  The script has been updated to include all of the new datatypes that have been added to the library.  It's output has also been made a bit clearer with regards to the NO TRACE comment scattered throughout the code which prevents tracing information from being added.

The script cannot handle functions that take a variable number of arguments nor can it deal with functions whose prototype differs based on certain preprocessor directives.  However, there are only 3 instances of this in the library.  All other warnings that the script used to generated have been fixed.

The script has not actually been run on the source files yet.

Tested:

smirom
2007-02-27 20:57:03 -05:00
James Laird
0d86163705 [svn-r13379] Added 'make help' target. This actually runs a script, bin/makehelp (formatting
the output in the makefile was pretty hard).

Tested that make still works on kagiso; no code changes at all.
2007-02-23 14:14:11 -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
8eecc944d7 [svn-r13352] Added support for configure.in type files.
Tested in kagiso.
2007-02-20 14:56:59 -05:00
Albert Cheng
5ace070ed3 [svn-r13319] Added Caution message of the limit of the -fix feature. 2007-02-14 20:16:22 -05:00
Albert Cheng
57247fbb5f [svn-r13313] Added HTML files fixing feature.
Tested: kagiso.
2007-02-14 17:53:48 -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
Albert Cheng
93106a5ed1 [svn-r13310] Aded recognition of Perl script file s (*.pl) and Makefile.dist. 2007-02-14 17:23:14 -05:00
Albert Cheng
e2af691388 [svn-r13309] Added some cosmetic hash marks.
No need to test as it is trival comment.
2007-02-14 17:20:52 -05:00
Albert Cheng
476f98ab1b [svn-r13307] Improvement
Separated the file type guessing from UNKNOWN_TYPE into a function itself
to be used by other routines later.  Added debug printing feature.
2007-02-14 16:33:49 -05:00
Quincey Koziol
8891e2433a [svn-r13300] Description:
Add mention of the h5copy & h5mkgrp tools to the release notes.

    Update documentation for the "--private" flag in release script

Tested on:
    None - just text/comment changes
2007-02-14 09:51:02 -05:00