Commit Graph

986 Commits

Author SHA1 Message Date
Allen Byrne
44fe3cc19b [svn-r24826] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Bump up CMake minimum versions.
Split test file into separate file for h5repack test.

Tested: local linux
2014-03-18 11:55:05 -05:00
Allen Byrne
03d10edd23 [svn-r24824] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Bump up CMake minimum versions.
Split test file into separate file for h5repack test.

Tested: local linux
2014-03-18 11:21:46 -05:00
Quincey Koziol
164b4c7534 [svn-r24804] Description:
Brought changes from Coverity branch back to trunk, and cleaned up misc.
other warnings & formatting issues:

r20833:
Fixed Coverity 667 and 668 with real integer overflow tests this time.

r20834:
Use HDstrncpy and HDstrncat. --gh 

r20835:
Change to use strncpy - use base_len + 1 for line 156, use HDstrlen(path) + 1 for line 159

r20836:
Fixed coverity 585 by casting output of fgetc() to a char.

r20837:
Changed sprintf calls to snprintf with size 1 less than the allocated buffer to address coverity issue #967.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (too minor to require h5committest)
2014-03-15 23:44:13 -05:00
Quincey Koziol
288c7760a4 [svn-r24803] Description:
Rename GCC_DIAG_OFF/ON macros to H5_GCC_DIAG_OFF/ON and move from
src/H5private.h to src/H5public.h.  Wrap typedef of hsize_t and hssize_t
in DIAG_OFF(long-long) macros.

    Clean up a bunch of "macro '-' is unused" warnings.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/gcc 4.8.2, C++, FORTRAN, parallel
    (too minor to require h5committest)
2014-03-15 22:13:52 -05:00
Allen Byrne
f5689224b5 [svn-r24789] Bump up the minimum cmake version 2014-03-13 10:05:09 -05:00
Allen Byrne
6c5e74942d [svn-r24782] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
2014-03-11 17:07:13 -05:00
Allen Byrne
a3292a77ce [svn-r24781] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Remove INCLUDE_DIRECTORIES in src for target level includes.
Change ADD_DEFINITIONS package debug defines into CMake option.
Remove -DNDEBUG
2014-03-11 16:14:57 -05:00
HDF Tester
4a9ea60adc [svn-r24770] Snapshot version 1.9 release 174 2014-03-09 05:17:47 -05:00
Quincey Koziol
ac0ef34a41 [svn-r24769] Description:
Check in Mohamad's changes to support collective I/O on point selections,
along with some other minor cleanups.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/parallel & serial
    (h5committest forthcoming)
2014-03-07 14:12:20 -05:00
HDF Tester
f683d9a035 [svn-r24753] Snapshot version 1.9 release 173 2014-03-02 04:16:37 -05:00
Quincey Koziol
1e36b5a348 [svn-r24726] Description:
Revert some earlier usage of strncpy, which was incorrect.

    Bring Coverity changes from branch back to trunk:

r20821:
    Use HDstrncpy. --gh
    (Fixed already, with strdup)

r20822:
    (Not merged, incorrect use of HDstrncpy())

r20823:
    (Not merged, incorrect use of HDstrncpy())

r20824:
    Maintenance: Bug fix: addressed CID 666.
    Value stored at *expression_len should be used in the call to
        HD5packFstring to avoid overflow (and unnecessary arithmetic
        calculation and casting) 

r20825:
    Issue 642: Added check for error and handler with print to stderr and exit.

r20826:
    Undo revision 20818, as that issue has already been fixed in the 1.8 branch
        and trunk (but not coverity branch)

r20827:
    (Not merged, incorrect use of HDstrncpy())
    
r20828:
    Use HDstrncpy. --gh
    (Corrected use of strncpy())

r20829:
    Check return of H5Lget_val(print_udata->fid, path, targbuf,
        linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0.
        Check if  H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL,
        &filename, &objname) was successful and allow print. Otherwise filename
        and objname are not created. (init those to NULL)

r20830:
    resolved coverity issues 939, 940, 941, 944, and 947.

    all were complaints about use of sprintf, and in all cases, the
    buffers used were large enough for all eventualities.

    Resolved issue by replacing calls to sprintf with calls
    to snprintf.

r20831:
    Maintenance: Addressed CID 852
    Replaced sprintf with snprintf

r20832:
    Purpose: Fix valgrind issues with hl/examples/ex_image2

    Description:
    Modified hl/examples/ex_image2 to free global "gbuf" before exit.

Tested on:
    Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety
    (too minor to require h5committest)
2014-02-20 16:29:26 -05:00
HDF Tester
d7f00b8002 [svn-r24716] Snapshot version 1.9 release 172 2014-02-16 03:32:48 -05:00
HDF Tester
1b6683e58f [svn-r24698] Snapshot version 1.9 release 171 2014-02-09 03:36:37 -05:00
Allen Byrne
6569d7437a [svn-r24682] Add IF SHARED block around Windows PDB file generation command. 2014-02-04 10:11:36 -05:00
HDF Tester
ddf75b10f6 [svn-r24676] Snapshot version 1.9 release 170 2014-02-02 03:34:20 -05:00
HDF Tester
bc09cdc302 [svn-r24465] Snapshot version 1.9 release 169 2013-11-24 22:31:26 -05:00
Elena Pourmal
7aa4a180e4 [svn-r24400] Maintenance: When the libraries are built and tested in place, several files are left
behind by "make distclean" (see below); modified appropriate Makefile.am files and ran
             bin/reconfigure to create Makefile.in to fix the problem.

Here is the list of the files "make disclean" doesn't remove:

       tools/h5dump/testfiles
       tools/h5repack/testfiles/h5diff_attr1.h5
       tools/h5repack/testfiles/tfamily00000.h5
       tools/h5repack/testfiles/tfamily00010.h5
       tools/h5repack/testfiles/tfamily00002.h5
       tools/h5repack/testfiles/tfamily00004.h5
       tools/h5repack/testfiles/tfamily00006.h5
       tools/h5repack/testfiles/tfamily00008.h5
       tools/h5repack/testfiles/tfamily00001.h5
       tools/h5repack/testfiles/tfamily00003.h5
       tools/h5repack/testfiles/tfamily00005.h5
       tools/h5repack/testfiles/tfamily00007.h5
       tools/h5repack/testfiles/tfamily00009.h5
       tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.err-sav
       tools/h5jam/testfiles/h5jam-help.txt.err-sav
       tools/h5jam/testfiles/h5unjam-help.txt.err-sav
       tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.out-sav
       tools/h5jam/testfiles/h5jam-help.txt.out-sav
       tools/h5jam/testfiles/h5unjam-help.txt.out-sav
       hl/fortran/test/dsetf5.h5
       c++/test/tattr_multi.h5
       c++/test/tattr_scalar.h5
       c++/test/tfattrs.h5
       c++/test/tattr_basic.h5
       c++/test/tattr_compound.h5
       c++/test/tattr_dtype.h5

Tested on jam and emu in place and using srcdir with the svn stat command.

This fix doesn't address two problems:

tool/h5dump/testfiles directory is not removed by "make distclean" and it should be
tools/misc/testfiles directory is removed by "make distclean" and it shouldn't be
2013-11-02 20:21:23 -05:00
Allen Byrne
819b8099e2 [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles.
Tested: local cmake, autools, and h5committest
2013-11-01 16:15:37 -05:00
Dana Robinson
2136f11a47 [svn-r24390] Fixed a redefinition of HDfree in the HL library.
Tested on:
    32-bit LE linux (jam)

There are no behavior changes, so testing was minimal.
2013-11-01 12:13:00 -05:00
Dana Robinson
e6cace9ee4 [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.
Prep work for adding a memory free function, part of HDFFV-8551.

Tested on:
    32-bit LE linux (jam) 
        * with C++, Fortran
        * with thread safety on

    These are minor changes (almost entirely renaming foo functions
    to HDfoo) that don't change functionality.  This should not
    require a full commit test.
2013-10-30 23:20:36 -05:00
HDF Tester
56803a1970 [svn-r24362] Snapshot version 1.9 release 168 2013-10-27 04:33:34 -05:00
HDF Tester
8538cf61f9 [svn-r24334] Snapshot version 1.9 release 167 2013-10-20 04:21:31 -05:00
HDF Tester
5092f5a30e [svn-r24287] Snapshot version 1.9 release 166 2013-10-13 03:43:04 -05:00
Mohamad Chaarawi
9d954e1136 [svn-r24270] checkin coverity changes from 10/4/2013.
tested with h5committest
2013-10-09 11:55:33 -05:00
Quincey Koziol
5f2a34b462 [svn-r24256] Description:
Clean up warnings

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor for h5committest)
2013-10-04 14:28:22 -05:00
HDF Tester
a4ab8b0e1d [svn-r24218] Snapshot version 1.9 release 165 2013-09-29 03:41:59 -05:00
Larry Knox
ab239810e1 [svn-r24194] Don't add hdf5 library dependencies to lib files when --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276.
Tested with h5committest and on hdf-duck.
2013-09-23 20:14:24 -05:00
HDF Tester
f9a758f442 [svn-r24186] Snapshot version 1.9 release 164 2013-09-22 04:17:20 -05:00
HDF Tester
a4294ab3cc [svn-r24092] Snapshot version 1.9 release 163 2013-09-01 03:37:42 -05:00
HDF Tester
ca60bda9fb [svn-r24068] Snapshot version 1.9 release 162 2013-08-25 03:44:51 -05:00
Quincey Koziol
482a9c28e7 [svn-r24030] Description:
Clean up more compiler warnings.

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN
    (too minor to require h5committest)
2013-08-19 17:13:15 -05:00
Allen Byrne
c502d81a8c [svn-r24029] Move TESTS to seperate file to allow easier editing by all developers.
Tested: local linux
2013-08-19 16:49:44 -05:00
Quincey Koziol
308c378ccd [svn-r24020] Description:
Clean up compiler warnings

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-17 15:05:27 -05:00
Quincey Koziol
453f95c192 [svn-r24011] Description:
Clean up a few warnings

Tested on:
    Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-15 08:24:28 -05:00
HDF Tester
407d3db6a4 [svn-r23989] Snapshot version 1.9 release 161 2013-08-11 03:37:02 -05:00
Jerome Soumagne
345e57b0b1 [svn-r23985] Merge commit 23937 from reduce_warning branch
Remove unused param (src) and unused var (hl) warnings

Tested on koala
2013-08-09 16:06:46 -05:00
HDF Tester
f1b5d46cd0 [svn-r23968] Snapshot version 1.9 release 160 2013-08-04 03:35:17 -05:00
HDF Tester
f26b04712e [svn-r23926] Snapshot version 1.9 release 159 2013-07-21 03:38:01 -05:00
HDF Tester
4e12ec74ae [svn-r23895] Snapshot version 1.9 release 158 2013-07-14 03:31:23 -05:00
HDF Tester
3cb8efae13 [svn-r23865] Snapshot version 1.9 release 157 2013-07-07 03:33:31 -05:00
Allen Byrne
a0ccc0f0fa [svn-r23860] HDFFV-8322: reduce valgrind memory leaks for ex_image2
Tested:" local linux
2013-07-03 09:34:12 -05:00
Allen Byrne
53afd20aeb [svn-r23854] HDFFV-8302: Add macros/code function to use coorect Windows (v)snprintf statement. Also fix use other uses of macros for windows.
Tested
2013-07-01 09:23:04 -05:00
HDF Tester
a157eb2f68 [svn-r23849] Snapshot version 1.9 release 156 2013-06-30 03:35:12 -05:00
Allen Byrne
e3a1fa7e57 [svn-r23813] Added the HD prefix to the system functions used in the file.
Tested: local linux
2013-06-24 15:03:54 -05:00
HDF Tester
6fedfb6124 [svn-r23806] Snapshot version 1.9 release 155 2013-06-23 03:36:24 -05:00
HDF Tester
bdbd06d85d [svn-r23778] Snapshot version 1.9 release 154 2013-06-16 03:34:51 -05:00
Allen Byrne
feb14ea872 [svn-r23745] HDFFV-8461: Add Windows /MT support
This adds the UserMacros.cmake support needed.
2013-06-10 12:46:48 -05:00
HDF Tester
70d440330d [svn-r23741] Snapshot version 1.9 release 153 2013-06-09 03:39:22 -05:00
HDF Tester
177a90f97a [svn-r23718] Snapshot version 1.9 release 152 2013-05-26 03:56:00 -05:00
HDF Tester
c09748b14e [svn-r23708] Snapshot version 1.9 release 151 2013-05-19 03:39:09 -05:00
Allen Byrne
b0235a2610 [svn-r23707] Vagrind memleak: bufferes only cleaned up if there was an error. 2013-05-15 08:38:41 -05:00
Quincey Koziol
d38fe20df6 [svn-r23695] Description:
Clean up warnings in H5Tconv.c (down to _only_ 9000 lines of output now!)

    Merge changes from Coverity branch back to trunk:

r20684:
Fix for coverity bug #1721 which was due to the fix for coverity bug #943.

r20685:
Use HDstrncpy. --gh

r20761:
Purpose: Fix valgrind issues

Description:
Free image_data and data as appropriate in test_image.

r20762:
Purpose: Fix coverity issue 600

Description:
Add check for return value of H5O_close in H5Ocopy.  Also cleaned up various
warnings.

r20763:
Purpose: Fix valgrind issues with h5stat

Description:
Modified h5stat to free "iter" before exit, and free "hand" before exit if
parse_command_line exits directly.

r20764:
fixed coverity issues:
69, 327, 614, 684, 685, 696, 697, 1681, 967, 826, 660, 80

r20765:
Fixed coverity bug 668

Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning.

No actual integer overflow tests are performed since it's just a test program but I did add a check that n_elements is >= 1.

I also changed an error condition from doing its own close and returning -1 to "goto out;" like the rest of the program.

r20766:
Fixed coverity bug 667

Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning.

No actual integer overflow tests are performed since it's just a test program.


Tested on:
    Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
    (h5committest upcoming)
2013-05-11 10:59:48 -05:00
HDF Tester
8f3aee85de [svn-r23669] Snapshot version 1.9 release 150 2013-05-05 03:32:05 -05:00
HDF Tester
1f09e9d19e [svn-r23642] Snapshot version 1.9 release 149 2013-04-28 03:37:26 -05:00
Allen Byrne
ed5a2bc1c1 [svn-r23614] Remove subfolders for includes 2013-04-23 12:50:15 -05:00
Quincey Koziol
5acd9c4053 [svn-r23597] Description:
Bring r20683 from Coverity branch back to trunk:

Isues 1309-1333: Changed strcpy/strcat to strncpy/strncat with maximum size expected.

Tested on:
    Max OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
2013-04-17 07:49:56 -05:00
Allen Byrne
0596de6267 [svn-r23412] Add test depends on clear test. Occasional failures. 2013-03-21 09:19:09 -05:00
HDF Tester
e188e7797b [svn-r23361] Snapshot version 1.9 release 148 2013-03-17 03:28:21 -05:00
HDF Tester
c896a5b7eb [svn-r23341] Snapshot version 1.9 release 147 2013-03-10 04:34:50 -05:00
HDF Tester
1cffcb401a [svn-r23323] Snapshot version 1.9 release 146 2013-03-03 11:20:00 -05:00
HDF Tester
66ba0b4f33 [svn-r23311] Snapshot version 1.9 release 145 2013-02-24 11:26:03 -05:00
Allen Byrne
aff5c20a6a [svn-r23305] HDFFV-8257: szip still used even if headers are not found. Change configure to test the result of the CHECK HEADERS call before checking for the library.
Tested: local linux, h5committest
2013-02-18 15:56:21 -05:00
HDF Tester
32da9c96ae [svn-r23290] Snapshot version 1.9 release 144 2013-02-17 11:30:06 -05:00
Scot Breitenfeld
871b69723e [svn-r23241] Fix for: HDFFV-7596 H5DSget_scale returns size that includes NULL termination and H5DSget_label returns size
Updated tests.

Tested: jam( gnu, intel)
2013-02-10 21:06:01 -05:00
HDF Tester
944f0399ac [svn-r23240] Snapshot version 1.9 release 143 2013-02-10 11:25:10 -05:00
HDF Tester
b65a911b8a [svn-r23221] Snapshot version 1.9 release 142 2013-02-03 11:20:03 -05:00
HDF Tester
37d1a0330a [svn-r23180] Snapshot version 1.9 release 141 2013-01-20 11:23:56 -05:00
Raymond Lu
c9aad08a90 [svn-r23161] ported revisions 23146:23160 from the trunk 2013-01-14 14:45:59 -05:00
Raymond Lu
7b895e1dd8 [svn-r23149] I put more condition checks with macro when DEFLATE filter is disabled.
Tested on koala.
2013-01-10 11:04:09 -05:00
Raymond Lu
8eab66f667 [svn-r23148] I added the macro condition check for the test of direct chunk write as it uses compress2 function.
Tested on koala.
2013-01-09 16:07:27 -05:00
Raymond Lu
81bcd314a9 [svn-r23147] ported revisions 23081:23145 from the trunk 2013-01-09 15:23:07 -05:00
Raymond Lu
cde5029461 [svn-r23146] The test on Windows shows it doesn't have zlib.h. I added a macro condition to verify it before include it.
Tested on koala.
2013-01-09 14:23:18 -05:00
Raymond Lu
cf823b47ed [svn-r23103] I changed the H5Dopen in hl/test/dectris_hl_perf.c and perform/dectris_perf.c to H5Dopen2.
Tested on Koala.
2012-12-14 10:42:18 -05:00
Raymond Lu
6050e78143 [svn-r23097] I changed H5Dopen to H5Dopen2 in test/dectris_tst.c and hl/test/test_dset_opt.c. I added
hl/test/dectris_hl_perf.c
    perform/dectris_perf.c
    test/dectris_tst.c

Tested on koala.
2012-12-13 11:13:43 -05:00
Raymond Lu
fc9ed51a3a [svn-r23087] I updated MANIFEST to include the new files hl/src/H5DO.c, H5DOpublic.h, H5DOprivate.h. I included H5DOpublic.h into hl/src/hdf5_hl.h.
Tested on koala.
2012-12-10 14:08:30 -05:00
Raymond Lu
c409265f9d [svn-r23082] I corrected an error for test_dectris.h5.
Tested on jam.
2012-12-06 14:48:50 -05:00
Raymond Lu
b7e1b629e9 [svn-r23081] ported revisions 22987 to 23080 from the trunk 2012-12-06 11:02:01 -05:00
Raymond Lu
6b1ef6ad02 [svn-r23079] I updated CMakefile for adding H5DO.c and H5DOpublic.h under hl/ directory.
Not test.
2012-12-05 16:11:49 -05:00
Raymond Lu
8f3a8710ca [svn-r23078] I took out O_SYNC flag from the code. I used it to do performance test. But
we decided not to support it.

Tested on koala.
2012-12-05 15:15:54 -05:00
Raymond Lu
0c4cec81b2 [svn-r23075] I revised the code and test according to Quincey's review. I also added more test cases.
Tested on koala.
2012-12-04 14:47:35 -05:00
Raymond Lu
6192c80307 [svn-r23019] I added dectris_hl_perf.c for testing performance.
Tested on koala.
2012-11-07 16:59:43 -05:00
Raymond Lu
e9a9c23a6d [svn-r23018] I forgot to add these new files in previous commit. 2012-11-07 12:11:22 -05:00
Raymond Lu
b7041a91cd [svn-r23017] I added a prototype function H5DOwrite_chunk in HL library for Dectris people to test performance. The library's API function H5PSIdirect_write
is still in.  I reorganized the internal library by adding H5D__pre_write function.

Tested on koala.
2012-11-07 12:08:46 -05:00
Raymond Lu
0cf58a4755 [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -05:00
HDF Tester
3ab17f5e04 [svn-r22732] Snapshot version 1.9 release 127 2012-09-02 09:34:02 -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
Allen Byrne
b257bab294 [svn-r22720] Fix RelWithDebInfo packaging 2012-08-28 12:39:30 -05:00
Allen Byrne
5d88bae6df [svn-r22714] one more missed VAR change for parallel examples 2012-08-26 14:10:01 -05:00
Allen Byrne
f4a7d2cba2 [svn-r22712] Updated a missed example makefile. Tested locally with make installcheck (another h5committest understanding oversight) 2012-08-24 08:50:00 -05:00
Allen Byrne
1f8fb63581 [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files.
Tested: h5committest
2012-08-23 11:07:43 -05:00
Larry Knox
edf83e5d1f [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, libtool 2.4.2
Tested THG machines.
2012-08-22 00:00:32 -05:00
HDF Tester
1560a6ea38 [svn-r22697] Snapshot version 1.9 release 126 2012-08-19 09:35:47 -05:00
Allen Byrne
60dc75f4f4 [svn-r22693] Add missing H5Tclose(). 2012-08-17 13:36:45 -05:00
HDF Tester
2eb782130a [svn-r22670] Snapshot version 1.9 release 125 2012-08-12 15:28:06 -05:00
Quincey Koziol
88a94bbe7f [svn-r22646] Description:
Changes resulting from Klocwork static analysis tool, from Mark Miller
@ LLNL (miller86@llnl.gov).

Tested on:
    Mac OS X/64 10.7.4 (amazon) w/debug, C++ & FORTRAN, using gcc 4.7.x
    (too minor to require h5committest)
2012-08-08 18:01:20 -05:00
Larry Knox
456b97b9fa [svn-r22629] Snapshot version 1.9 release 124 2012-08-05 13:42:13 -05:00
Scot Breitenfeld
65100aa371 [svn-r22611] Fixed: HDFFV-8013 H5LTget_attribute_string appears to not close an object identifier
Tested: gnu and intel (jam)
2012-07-26 22:18:03 -05:00
Scot Breitenfeld
f385b0d537 [svn-r22610] HDFFV-8055 H5TBdelete_record destroys data after the deleted row
Added fix and test case.

Tested: gnu and intel (jam)
2012-07-26 21:51:04 -05:00
Larry Knox
9e79829ab8 [svn-r22525] Snapshot version 1.9 release 124 2012-07-09 11:54:50 -05:00
HDF Tester
02a0bd53e8 [svn-r22487] Snapshot version 1.9 release 122 2012-06-24 09:29:36 -05:00
Quincey Koziol
5f8d6d5bb5 [svn-r22484] Description:
Copy the file image test file from the source directory to the build
directory, instead of trying to open the [in-memory] file R/W.

    Also, clean up a few other test files that were left lying around from
other tests.

Tested on:
    MacOSX/64 10.7.4 (amazon) w/debug
    Too minor to require h5committest
2012-06-23 18:32:02 -05:00
Allen Byrne
b608652f7e [svn-r22479] Remove subfolder tools from install command 2012-06-20 09:43:02 -05:00
HDF Tester
d1b7eede73 [svn-r22448] Snapshot version 1.9 release 121 2012-06-10 08:53:06 -05:00
HDF Tester
64fc9df55b [svn-r22427] Snapshot version 1.9 release 120 2012-06-03 09:29:20 -05:00
Larry Knox
f4990be635 [svn-r22426] Add examples/README file to be installed with examples.
Text file only, but tested with h5committest.
2012-06-02 13:54:58 -05:00
HDF Tester
80955cf224 [svn-r22413] Snapshot version 1.9 release 119 2012-05-27 09:34:59 -05:00
Allen Byrne
eb5b8163f9 [svn-r22411] reduce compiler warnings by removing unreferenced variables and adding cast
Tested: local linux
2012-05-25 12:39:07 -05:00
Allen Byrne
336a743068 [svn-r22405] HDFFV-8018: add INSTALL commands for packaging the pdb files for windows when configured with RelWithDebInfo
Tested: local linux and Windows
2012-05-24 16:50:06 -05:00
HDF Tester
823e63252b [svn-r22382] Snapshot version 1.9 release 118 2012-05-20 09:36:03 -05:00
Allen Byrne
a4eb58bc33 [svn-r22361] Change library source properties: remove "LANGUAGE C" property from headers. Add "LINKER C" property to link.
Tested: local linux
2012-05-14 12:19:56 -05:00
HDF Tester
306a2e07e1 [svn-r22356] Snapshot version 1.9 release 117 2012-05-13 09:35:22 -05:00
HDF Tester
825a2ae17e [svn-r22326] Snapshot version 1.9 release 116 2012-04-29 09:36:52 -05:00
HDF Tester
3d90128b16 [svn-r22311] Snapshot version 1.9 release 115 2012-04-22 09:35:32 -05:00
HDF Tester
bdb6e538ac [svn-r22286] Snapshot version 1.9 release 114 2012-04-15 09:36:51 -05:00
HDF Tester
e6d35a86f3 [svn-r22257] Snapshot version 1.9 release 113 2012-04-08 09:40:16 -05:00
Scot Breitenfeld
1a4865d8fe [svn-r22246] Changed code comments for h5ltpath_valid_f 2012-04-03 23:02:17 -05:00
Quincey Koziol
e7edf48b8d [svn-r22236] Description:
Switch 'snprintf' -> 'HDsnprintf'

Tested on:
	(eyeballed only, very simple)
2012-04-02 09:39:37 -05:00
Quincey Koziol
c2a9dcb897 [svn-r22219] Description:
Merge "file image" changes from feature branch back to trunk.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug
    (h5committest upcoming)
2012-03-31 03:49:35 -05:00
Dana Robinson
f1df456412 [svn-r22170] Removed extraneous svn executable properties from non-executable files. 2012-03-28 14:30:59 -05:00
HDF Tester
cdc63fc21a [svn-r22140] Snapshot version 1.9 release 112 2012-03-25 09:30:39 -05:00
Scot Breitenfeld
3682dd9ae0 [svn-r22133] Description: fixed problem with closing a non-existing file id.
Tested: koala (gnu 4.1)
2012-03-23 09:25:05 -05:00
Scot Breitenfeld
38a1ea7b99 [svn-r22130] Test for HDFFV-7777 h5ltget_attribure_string_f added
Added check that HLDS fortran function do remove NULL character.
2012-03-22 23:20:51 -05:00
Scot Breitenfeld
213ab6eb36 [svn-r22129] HDFFV-7777: Fix for removing NULL character from fortran string in h5lt_get_attribute_string_f
Fixed size +1 error in HD5f2cstring
2012-03-22 23:18:59 -05:00
Dana Robinson
8de7487ffd [svn-r22109] Removed the executable flag from the COPYING file. 2012-03-21 14:40:02 -05:00
HDF Tester
2c428c1bd7 [svn-r22097] Snapshot version 1.9 release 111 2012-03-20 08:00:55 -05:00
Scot Breitenfeld
5e202882c9 [svn-r22096] Desciption: Added cyclic path test for H5LTpath_valid.
Tested: jam (gnu and intel)
2012-03-19 23:23:10 -05:00
Scot Breitenfeld
18a18f7f10 [svn-r22082] Description: replaced strncopy with passing path name directly. 2012-03-16 10:13:46 -05:00
Scot Breitenfeld
e37a9c67d8 [svn-r22081] Description:
Changed H5G*() to H5G*2() APIs for compatability.

Tested: (jam intel, --with-default-api-version=v16)
2012-03-16 09:54:18 -05:00
Scot Breitenfeld
e4c1c566d4 [svn-r22080] Description: aligned H5_FC_FUNC with the H5_FC_FUNC in the line above
tested: none
2012-03-15 23:27:47 -05:00
Scot Breitenfeld
29e7e2890b [svn-r22078] New API: H5ltpath_valid
REF: HDFFV-1233

A high-level "H5LTpath_valid" routine for checking if a path is correct
Both Fortran and C version.

Tested: jam (gnu and intel)
2012-03-15 19:53:56 -05:00
HDF Tester
80b2b54f41 [svn-r22040] Snapshot version 1.9 release 110 2012-03-11 10:52:04 -05:00
Allen Byrne
058f9c2056 [svn-r22024] Add HD prefix to tools library based tests. Cleaned allocation/free in tests.
Tested: local linux/ changes h5committetest against 1.8 version
2012-03-05 09:17:14 -05:00
HDF Tester
e7bbbd07df [svn-r22022] Snapshot version 1.9 release 109 2012-03-04 09:34:49 -05:00
Allen Byrne
df6c92e506 [svn-r22004] Reduced warnings and fixed conflicts resulting from including h5tools.h
Tested: local linux
2012-02-28 13:26:34 -05:00
Allen Byrne
fc48c675e1 [svn-r21996] Add tools_init to main 2012-02-27 15:26:55 -05:00
HDF Tester
adb158fa78 [svn-r21910] Snapshot version 1.9 release 108 2012-02-05 09:51:01 -05:00
HDF Tester
b98ac90e8f [svn-r21898] Snapshot version 1.9 release 107 2012-01-29 09:51:06 -05:00
HDF Tester
0fd077c4c4 [svn-r21884] Snapshot version 1.9 release 106 2012-01-22 09:49:58 -05:00
HDF Tester
e0db7c8922 [svn-r21867] Snapshot version 1.9 release 105 2012-01-08 10:39:01 -05:00
HDF Tester
871e139ba8 [svn-r21857] Snapshot version 1.9 release 104 2012-01-01 09:46:54 -05:00
HDF Tester
c5140decc3 [svn-r21850] Snapshot version 1.9 release 103 2011-12-25 09:56:40 -05:00
HDF Tester
e24dc16d0b [svn-r21831] Snapshot version 1.9 release 102 2011-12-18 09:32:12 -05:00
HDF Tester
993c56b859 [svn-r21824] Snapshot version 1.9 release 101 2011-12-11 09:34:52 -05:00
Allen Byrne
cc3eb8da73 [svn-r21804] Update CMake Required version in all folders to match current standard 2.8.6 2011-12-05 11:19:09 -05:00
HDF Tester
eada074cc8 [svn-r21775] Snapshot version 1.9 release 100 2011-11-27 09:32:15 -05:00
HDF Tester
cf472f86fc [svn-r21770] Snapshot version 1.9 release 99 2011-11-20 09:32:13 -05:00
Allen Byrne
d3225c4f39 [svn-r21764] HDFFV-7798: CMake on linux. Corrected path component in fortran/src and hl/fortran/src and the install command. 2011-11-15 12:54:18 -05:00
HDF Tester
642b828026 [svn-r21748] Snapshot version 1.9 release 98 2011-11-13 09:31:44 -05:00
HDF Tester
8c59983402 [svn-r21721] Snapshot version 1.9 release 97 2011-11-06 08:02:33 -05:00
HDF Tester
7d42dafd30 [svn-r21692] Snapshot version 1.9 release 96 2011-10-30 09:39:32 -05:00
Allen Byrne
c5e075851a [svn-r21667] Update FOLDER solution option for target properties. Added OPTION command for solution folder and no packaging.
Tested: local linux
2011-10-25 11:52:58 -05:00
Raymond Lu
4efd9af4fa [svn-r21597] Issue 7701 - fix for H5LTdtype_to_text. I made two corrections: 1. I changed all snprintf to HDsnprintf; 2. I corrected all wrong length passed to snprintf which cause Mac machines to fail.
Tested on jam.  But I tested the same change for 1.8 branch on jam, koala, linew, Windows, and Apple.
2011-10-18 11:47:34 -05:00
HDF Tester
62aa159e09 [svn-r21587] Snapshot version 1.9 release 95 2011-10-16 09:00:02 -05:00
Raymond Lu
fb6a34f208 [svn-r21571] Revision of the fix for Issue 7701 (H5LTdtype_to_text): I revised the code per Quincey's comments. (I changed the 1.8 branch first. I'm aware of that.)
Tested on jam.  But I tested the same change in 1.8 branch with h5committest.
2011-10-14 14:31:53 -05:00
HDF Tester
892d491c35 [svn-r21499] Snapshot version 1.9 release 94 2011-10-09 09:02:51 -05:00
HDF Tester
9d793e7e5e [svn-r21443] Snapshot version 1.9 release 93 2011-10-02 09:35:04 -05:00
Raymond Lu
b7f8909a58 [svn-r21436] Issue 7701 - H5LTdtype_to_text had memory corruption while being querried about the size of the buffer needed. The problem happened when the internal buffer is reallocated, the new address got lost. I revised the code to pass the new address as the return value of functions. I also added two new test cases.
Tested on jam, linew, and koala.
2011-09-30 10:51:15 -05:00
HDF Tester
c27e3c313e [svn-r21415] Snapshot version 1.9 release 92 2011-09-25 09:27:41 -05:00
HDF Tester
645fae330d [svn-r21374] Snapshot version 1.9 release 91 2011-09-11 09:27:36 -05:00
HDF Tester
188c31b1d9 [svn-r21360] Snapshot version 1.9 release 90 2011-09-04 09:32:12 -05:00
HDF Tester
4f3950a882 [svn-r21329] Snapshot version 1.9 release 89 2011-08-28 09:29:14 -05:00
Scot Breitenfeld
9eb1d607d8 [svn-r21249] Description: Part II of F2003 branch merge into the trunk.
Ran bin/reconfigure to update the Makefile.in in directories not part of the fortran directory check=in. Updates Makefile.in due to changes made in configure.in for the Fortran 2003 additions.

Tested on all platforms run under daily tests.
2011-08-18 09:38:53 -05:00
HDF Tester
144ed6d49b [svn-r21225] Snapshot version 1.9 release 88 2011-08-14 11:50:04 -05:00
HDF Tester
1144d0521d [svn-r21185] Snapshot version 1.9 release 87 2011-08-07 09:17:33 -05:00
Allen Byrne
97569890f8 [svn-r21175] Release datatypes created locally 2011-08-05 14:43:34 -05:00
HDF Tester
be78781ac6 [svn-r21158] Snapshot version 1.9 release 86 2011-07-31 09:01:13 -05:00
Scot Breitenfeld
3dc16eb5bd [svn-r21157] Description: JIRA HDFFV-7673: fixed segfault when retrieving the length of a
a dimension scale that does not exist. Implemented a test for the situation
and added an if condition depending on if the label name exists.

Tested: jam (gnu and intel)
2011-07-30 19:46:37 -05:00
HDF Tester
b230a5e448 [svn-r21149] Snapshot version 1.9 release 85 2011-07-24 09:40:12 -05:00
Raymond Lu
338fdac20d [svn-r21124] Issue 2763 - adding OAPL_ID as a new parameter to H5Rdereference. A followup commit for r21117. I made 2 changes:
1. Quincey changed H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for the tests that call H5Rdereference.  Inside H5R_dereference, I assigned H5P_DATASET_ACCESS_DEFAULT to OAPL_ID if it is H5P_DEFAULT.
  2. I added the test for invalid OAPL_ID in trefer.c.

Tested on jam, koala, heiwa.
2011-07-19 15:20:01 -05:00
Quincey Koziol
a777619a6b [svn-r21121] Description:
Switch from H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for calls to
H5Rdereference2().

Tested on:
    Mac OS X/32 10.6.8 (amazon) w/debug
    (too minor to require h5committest)
2011-07-18 18:12:28 -05:00
Raymond Lu
304f19d730 [svn-r21117] Issue 2763 - I added a new parameter of object access property list to the function H5Rdereference. It's called H5Rdereference2 now. H5Rdereference function has been deprecated to H5Rdereference1. I also added some test cases in trefer.c.
Tested on jam, heiwa, and koala.
2011-07-18 16:23:02 -05:00
Allen Byrne
d5d41984f8 [svn-r21080] Remove redundant EXPORTS symbol since CMake automatically creates it. 2011-07-08 14:29:01 -05:00
HDF Tester
4d805e42c4 [svn-r21033] Snapshot version 1.9 release 84 2011-06-26 10:54:32 -05:00
Scot Breitenfeld
396a022ec0 [svn-r21016] Description: Added Fortran DS example to CMakeList.txt 2011-06-22 12:03:37 -05:00
Scot Breitenfeld
d23c582bf6 [svn-r21006] Description:
Added Fortran example for HL DS APIs.

Tested: jam (intel)
2011-06-21 10:18:25 -05:00
HDF Tester
43fc4e4f7f [svn-r21000] Snapshot version 1.9 release 83 2011-06-19 11:13:58 -05:00
Allen Byrne
94cf6a19ca [svn-r20996] Add lite2 dependency on lite1 example 2011-06-19 09:42:51 -05:00
Allen Byrne
a2f0603135 [svn-r20960] Added new source files.
Added new test and test files to test section

Tested: local linux
2011-06-10 09:52:54 -05:00
Scot Breitenfeld
7c040a1efb [svn-r20958] Description: Added fortran wrappers and test for the HL DS API.
Tested: jam (intel, gnu, pgi)
2011-06-09 22:42:34 -05:00
Scot Breitenfeld
76b375f82b [svn-r20937] Description:
Added additional attaching and detaching permutation.

Tested:
jam (intel, gnu)
2011-06-06 23:19:06 -05:00
Scot Breitenfeld
bf9a02aab0 [svn-r20923] Description: Added test for permutations of attaching and detaching DS, see bug HDFFV-7605.
Tested: Jam (intel and gnu)
2011-05-29 16:43:41 -05:00
HDF Tester
f4ddc227c2 [svn-r20922] Snapshot version 1.9 release 82 2011-05-29 10:53:27 -05:00
Allen Byrne
1fd585a5a0 [svn-r20901] Remove if() that avoided a copy of the last element to itself. This was to solve an issue of a difference between 1.8 and trunk. 1.8 used the wrong variable in the if() and upon reflection the if() was determined to be unnecessary and complicated the logic. 1.8 tests would have treated the if() as always true with the result being the same as though the if() was absent.
This change reflects that equivalance and will avoid a potential problem in 1.8.

Tested: local linux, reviewed by two developers
2011-05-25 10:14:06 -05:00
Allen Byrne
e082497e0c [svn-r20900] Remove duplicated function lines 2011-05-25 09:58:39 -05:00
HDF Tester
0db46e50d2 [svn-r20890] Snapshot version 1.9 release 82 2011-05-23 09:19:26 -05:00
Scot Breitenfeld
f9174cbd9d [svn-r20870] Description: Fixed HDFFV-7605: Dim Scales APIs- error when unattaching dim. sacles
* Fixed Loop counter when removing object in dimension set with more then one scale.
 
Tested: jam (intel and gnu)
2011-05-19 23:32:31 -05:00
Larry Knox
a2f52de36d [svn-r20720] Merge changes to scripts to run installed examples from hdf5 1.8.7 r 20718. The
default prefix in the scripts will use the compile scripts in the installed bin
 directory.
2011-05-04 11:43:16 -05:00
Larry Knox
64c9d25f74 [svn-r20640] Remove export from "export LD_LIBRARY_PATH=${LL_PATH}" in examples and hl/examples Makefiles.
"export" breaks make install in Daily Tests on FreeBSD machines and isn't missed elsewhere.

Tested on amani, freedom, jam, heiwa, and loyalty.
2011-04-26 13:41:01 -05:00
Mike McGreevy
98362b664c [svn-r20504] Purpose:
General shared library improvements for CYGWIN / AIX

Description:

    Shared libraries are disabled on both CYGWIN and AIX due
    to inability to build them correctly. Part of the problem
    in both of these situations is the lack of the libtool
    flag -no-undefined, which tells libtool that all needed
    symbols are defined at link time (a requirement on these
    systems) and that it's okay to build shared libraries.

    Another problem are lack of dependencies between wrapper
    libraries and core C HDF5 library.

    This patch addresses both of these by fixing configure to
    add in -no-undefined flag for libtool during linking and
    adds automake dependencies in the Makefile.am files.

    After testing, both CYGWIN and AIX now generate shared
    libraries, but there are still some test failures in each.
    (cache_api, dt_arith, and testerror.sh on CYGWIN, and
    fortran tests on AIX).

    Even though the shared libraries are not quite perfect,
    this is a general improvement to what we had before, so
    I'm applying the patch anyways. Note that default behavior
    of shared libraries on these systems being disabled has
    NOT been changed and requires the use of the
    --enable-unsupported to attempt to build them.

    We will need to address the test failures in each
    architecture prior to formally supporting shared
    libraries on each.

Tested:

    h5committested & CYGWIN tested (on bangan)
    (AIX tested by Albert on bp-login2)
2011-04-14 16:21:59 -05:00
Mike McGreevy
a45c7424b2 [svn-r20502] Purpose:
Add "silent make" mode configure option.

Description:

    Automake 1.11 has a new option available that allows for a
    silent make mode. This functionality needs to be explicitly
    enabled in configure.in via the use of the automake macro
    AM_SILENT_RULES, which is what this commit is adding.

    This introduces a new configure option: 

        --{en|dis}able-silent-rules

    This option is on by default, and simplies compile and link
    line outputs when building the library. Disabling this option
    will print full "verbose" output (i.e., full compile and
    linking lines for each target).

Tested:

    This was tested on jam & h5committested
2011-04-14 14:45:57 -05:00
Larry Knox
60abcfd2e8 [svn-r20482]
Fixed issue HDFFV-5866 (BZ 2156).  Changed scripts to run examples to use specific names for compiled executable files instead of a.out, which did not work on Cywin as it produces a.exe by default.  Removed issue from known problems section of RELEASE.txt.

Tested with Cygwin 1.7.8 on Windows 7.

This line, and those below, will be ignored--

M    release_docs/RELEASE.txt
M    hl/c++/examples/run-hlc++-ex.sh.in
M    hl/fortran/examples/run-hlfortran-ex.sh.in
M    hl/examples/run-hlc-ex.sh.in
M    c++/examples/run-c++-ex.sh.in
M    fortran/examples/run-fortran-ex.sh.in
M    examples/run-c-ex.sh.in
2011-04-12 12:58:57 -05:00
Mike McGreevy
e006157deb [svn-r20475] Purpose:
- Revise shared Fortran library disabling scenarios in configure
    - Improve configure output summary

Description:

    Shared Fortran libraries are not supported on Mac, but were being
    disabled by configure in a way that also forced the C libraries
    to be static-only. This has been fixed, so now only shared Fortran
    is disabled while shared C can remain.

    This prompted two additional changes:

        1. While working on the check that addresses whether or not
           shared Fortran libraries are allowed, removed old and no
           longer needed check(s) that disable shared Fortran
           libraries with HP, Intel 8, PGI, and Absoft compilers.
           (Essentially, Mac is the only situation in which Fortran
           shared are disabled by configure.)

        2. Having two different states of libraries (i.e. shared C
           library with static-only Fortran library) was not apparent
           in the configure summary, which labeled all libraries as
           either shared and/or static. I've added lines to both the
           C++ and Fortran output sections to list shared/static-ness
           of these libraries specifically.

    Additionally, I've made sure that the new --enable-unsupported
    configure option correctly overrides configure if it tries to
    disable a shared library.

Tested:

    jam, fred, & h5committest
2011-04-11 16:00:38 -05:00
Quincey Koziol
e9e713869c [svn-r20405] Description:
Bump patch release number, after giving out private snapshots.
2011-04-03 21:28:07 -05:00
Allen Byrne
321bd966d9 [svn-r20357] Add missing declarations that caused linking errors on windows.
Tested: windows
2011-03-28 10:49:30 -05:00
Scot Breitenfeld
bcf7bc892e [svn-r20353] Bug 1752 - H5Lite Fortran APIs do not allow you to create 4 dimensional datasets (or greater)
* Fixed and tested the integer, real, double routines for creating and reading 
             dimensional dataset with ranks 4-7

Tested: jam (intel, gnu compilers)
2011-03-26 23:13:53 -05:00
Scot Breitenfeld
6d350b4112 [svn-r20195] Description: Fixed memory leaks (valgrind detected) in field_info and make tables routines.
Tested: jam (gnu and intel compilers)
2011-03-07 10:13:51 -05:00
Scot Breitenfeld
86f15d4a33 [svn-r20192] Description: Bug 1939: h5tbget_field_info_f
* Fixed error in passing an array of characters with different length
    field names for h5tbmake_table.

  * Fixed error in h5tget_field_info_f with packing the C strings
    into a fortran array of strings.

  * Added optional arguement to h5tbget_field_info_f called maxlen
    which returns the maximum string character length in a field name
    element.

  * Uncommented out test for h5tbget_field_info_f in the test program
    and added additional checks for the output.

Tested: jam (intel and gnu compilers)
2011-03-06 17:20:56 -05:00
Allen Byrne
f306642f9a [svn-r20170] Correct name of tool from hdf2gif to h52gif. 2011-03-01 14:05:27 -05:00
Allen Byrne
05dfc85de8 [svn-r20153] Move ext lib handling for ext project building to a common macro. Update HDF5 project to use HDFMacros.cmake file. Add test properties for test ordering.
Tested: local linux, windows
2011-02-24 14:43:07 -05:00
Allen Byrne
caffe76187 [svn-r20145] Correct misplaced bracket 2011-02-22 10:16:13 -05:00
Allen Byrne
5d320f5c89 [svn-r20141] Bring 1.8 r20139 cmake and windows changes to trunk 2011-02-22 09:55:04 -05:00
Quincey Koziol
a6d5fa2c7d [svn-r20061] Description:
Bring changes from Coverity branch to trunk:

r19930:
Fix memory leaks involving VL attributes in h5repack and h5diff.  The buffers in
copy_attr and diff_attr were not checked for the presence of a vlen before being
freed, and vlen storage was never reclaimed.  Added checks and calls to
H5D_vlen_reclaim().

r19933:
Purpose: Fix memory leak in H5L_move_cb()

Description: H5L_move_cb copied the source link using H5O_msg_copy() but freed
it manually using H5MM_xfree().  Since H5O_link_copy allocates the link using
H5FL_MALLOC, this causes the link to be allocated from the free list but is
never put back on the free list when it is freed.  This prevents the link free
list from shutting down properly.  Modified H5L_move_cb() and H5L_move_dest_cb()
to free the link properly using H5O_msg_free().

r19973:
Fix resource leaks by freeing string created by HD5f2string

r19974:
Issue #345: Inialize buf variable to null

Tested on:
    Mac OS X/32 10.6.6 (amazon) w/debug & production
    (h5committested on Coverity branch)
2011-02-07 19:53:45 -05:00
Allen Byrne
451d98b6ac [svn-r19914] Correct format of empty parameter
bring r19913 from 1.8
2011-01-05 13:29:22 -05:00
Allen Byrne
96b2abb9bd [svn-r19910] Change how LINK_FLAGS for fortran are appended on Windows - correct for just shared libs 2011-01-05 10:03:50 -05:00
Allen Byrne
02888be7f2 [svn-r19909] Change how LINK_FLAGS for fortran are appended on Windows
bring r19908 from 1.8 branch
2011-01-05 09:46:08 -05:00
Allen Byrne
9449cfa361 [svn-r19907] Windows: Correct how fortran links in CRT library. Also correct macro use for checking libtype.
bring r19906 from 1.8 branch
2011-01-04 13:40:26 -05:00
Allen Byrne
86313eb281 [svn-r19895] Remove use of /MT compile flag for building static libs and programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries. 2010-12-29 13:52:34 -05:00
Allen Byrne
449373deb3 [svn-r19870] Add tests for examples.
Tested: local linux
2010-12-03 17:26:37 -05:00
Larry Knox
72634b34e4 [svn-r19839] Updated to libtool v 2.4, autoconf 2.68 and m4-1.4.15.
Tested with h5committest on amani, heiwa, and jam.
2010-11-23 17:56:59 -05:00
Allen Byrne
ced5ad60cd [svn-r19828] Fixed the name of the windows linkage define in the hl/fortran cstub library header. This corrects the
inconsistent dll linkage warning on every function. Changed H5_DLL to HDF5_HL_F90CSTUBDLL. 

Tested: windows
2010-11-19 12:21:10 -05:00
HDF Tester
97a3d197e1 [svn-r19740] Snapshot version 1.9 release 79 2010-11-07 08:31:35 -05:00
HDF Tester
398aaea3e6 [svn-r19701] Snapshot version 1.9 release 78 2010-10-31 09:11:50 -05:00
HDF Tester
2efc06789a [svn-r19666] Snapshot version 1.9 release 77 2010-10-24 09:12:06 -05:00
Quincey Koziol
ba66540462 [svn-r19654] Description:
Bring Coverity revisions from branch back to trunk, and clean up some other
misc. compiler warnings also.

r19500:
Fix coverity items 1446 and 1447.  Moved up calls to memset in test_cont in
ohdr.c so the test never tries to close uninitialized locations.

r19501:
Fix coverity items 1398-1445.  Various uninitialized variable errors in fheap.c.

r19502:
Fixed coverity issue 579 and some additional warnings in the file as well.

r19503:
Bug fix: This fix addressed the "RESOURCE_LEAK" problems #789 and 790, run 26

r19504:
minor mods to try to keep coverity from flagging false positives.

r19505:
Fixed coverity issues 566 - 571.  Declared variables that are passed to functions that use them as arrays to be arrays of size 1.


Tested on:
    Mac OS X/32 10.6.4 (amazon) w/debug, production & parallel
    (h5committested on trunk)
2010-10-21 08:08:44 -05:00
HDF Tester
ef168eb0d8 [svn-r19569] Snapshot version 1.9 release 76 2010-10-10 08:50:39 -05:00
Larry Knox
d1a1a1ff17 [svn-r19532] Added line to config/examples.am to remove execute permission from example source files tha
t are installed in .../share/hdf5_examples/.  This will address bugzilla #2025.

Tested with h5committest on amani, heiwa, and jam.
2010-10-07 09:42:52 -05:00
Allen Byrne
1f2c4afe77 [svn-r19527] Add clear generated objects commands to test blocks.
Add configurefile command to copy CTestCustom to build folder.

Tested: local linux
2010-10-06 15:49:54 -05:00
HDF Tester
e1cd1485b8 [svn-r19512] Snapshot version 1.9 release 75 2010-10-05 08:37:04 -05:00
Allen Byrne
342ce6b589 [svn-r19509] Improve CMake support for CYGWIN.
Correct script comment in testh5diff.sh

Tested: Windows Cygwin
2010-10-04 16:36:27 -05:00
Larry Knox
155b00d8ff [svn-r19506] Bring changes from revisions 19408, 19421, and 19442 from branches/hdf5_1_8 to trunk. These revisions reorganize the compile scripts using h5cc.in, h5fc.in, and h5c++.in, add checks for installed examples to the scripts that run them after installation, and add DESTDIR for install as needed for RPMs.
Tested on amani, heiwa and jam by h5committest and with CYGWIN.
2010-10-04 12:15:30 -05:00
Allen Byrne
b4be8ae3d5 [svn-r19434] Correct use of lib, include, bin in INSTALL commands to use proper variables.
Tested: local linux
2010-09-20 15:38:35 -05:00
Larry Knox
47c792faa0 [svn-r19366] Updated autoconf to version 2.6.7, libtool to version 2.2.10, and m4 to version 1.4.14. Also added m4 directory for m4 macros according to autoconf suggestion.
Tested with h5committest on amani, jam, and heiwa, and on linew.
2010-09-10 10:45:07 -05:00
Allen Byrne
bed1276413 [svn-r19361] Move Windows specific compile and link flags to macros 2010-09-09 11:30:23 -05:00
Allen Byrne
d9e84977b8 [svn-r19342] Added cmake tests for c++ examples
Tetsed: local linux
2010-09-02 15:58:17 -05:00
Allen Byrne
27154caa19 [svn-r19336] Change #ifndef _WIN32 to #ifdef H5_HAVE_UNISTD_H
Tested: windows and local linux
2010-09-01 11:54:48 -05:00
Allen Byrne
e65aa8c365 [svn-r19325] Added parallel build commands.
Corrected use/name of source folder aliases.
Duplicated FindMPI.cmake so that non-c++ compiler is found first (recommemded commands did not work).

Tested: local linux with mpich
2010-08-31 15:15:13 -05:00
Quincey Koziol
54d5a565f9 [svn-r19237] Description:
Clean up misc. compiler warnings.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
        Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
2010-08-12 16:11:00 -05:00
Allen Byrne
2a3349fc21 [svn-r19222] Move hl fortran ADD_SUBDIRECTORY to right after fortran ADD_SUBDIRECTORY. This fixes a problem with compiler generated files not including target module directory on some linux machines.
Corrected minor format/location of commands.

Tested: local linux
2010-08-10 15:09:19 -05:00
HDF Tester
075f618e23 [svn-r19086] Snapshot version 1.9 release 74 2010-07-18 07:33:00 -05:00
HDF Tester
3d3d95db07 [svn-r19064] Snapshot version 1.9 release 73 2010-07-11 12:06:05 -05:00
Larry Knox
10a8b060ca [svn-r19059] Brought changes from hdf5_1_8 to add version information for fortran and c++ compilers in libhdf5.settings file and configure output (r18836), to install examples as part of make install (r18680), and to provide scripts to compile and run the examples after they are installed (r18817).
Tested with new/h5committest on amani, heiwa, and jam.
2010-07-08 21:52:14 -05:00
HDF Tester
be5d631410 [svn-r19047] Snapshot version 1.9 release 72 2010-07-04 12:06:29 -05:00
Allen Byrne
2f13382883 [svn-r19037] Added executable Linker Flag for MSVC static builds: /NODEFAULTLIB:MSVCRT
Added VERSION vars for inclusion into auto snapshot version update script

Tested windows
2010-06-29 15:09:03 -05:00
HDF Tester
732eaaf99b [svn-r19031] Snapshot version 1.9 release 71 2010-06-28 07:24:51 -05:00
HDF Tester
cb72139f74 [svn-r19022] Snapshot version 1.9 release 70 2010-06-20 12:05:42 -05:00
Quincey Koziol
2f5164b104 [svn-r18915] Description:
Clean up a couple of compiler warnings (in Windows).

Tested on:
    Mac OS X/32 10.6.3 (amazon) w/debug
    (too minor to require h5committest)
2010-05-27 14:20:58 -05:00
Allen Byrne
006aa82452 [svn-r18914] Added fortran library to list of library links.
Tested: Windows, local linux
2010-05-27 12:54:24 -05:00
Allen Byrne
60790e6092 [svn-r18898] Added fortran /dbglibs option to fortran compile flags for windows intel fortran case.
Duplicated windows intel fortran flag block for hl/fortran
2010-05-25 16:20:23 -05:00
Allen Byrne
ef292895e9 [svn-r18890] Update CMake fortran configure/build with changes from community.
- Add an install rule to copy compiled fortran module files
- Only build the xlatefile utility if testing and tools are enabled
- Don't do MPI HAVE_XXX checks until MPI_FOUND is true
- Install needs H5version.h & H5overflow.h to be copied
- Add debug information flags to debug compile and link lines for win32 Intel compiler
2010-05-25 11:00:56 -05:00
Elena Pourmal
2ed80b2784 [svn-r18882] Maintenance: fixed a typo in email address 2010-05-22 13:07:47 -05:00
Elena Pourmal
18ae0c6e6d [svn-r18880] Bug fix:
Fixed a bug (1855) in H5DSattach_scale, H5DSis_attached and H5DSdetach_scale
    caused by using H5Tget_native_type function to determine the native
    type for reading REFERENCE_LIST attribute. The bug was exposed on Mac PPC.

Platforms tested: juniper (Mac PPC), jam, amani, linew
2010-05-22 12:30:45 -05:00
Allen Byrne
d41b5be368 [svn-r18859] pull r18858 from 185;
Cange allocation of buffer to use the specified dimensions to calculate the size of a data buffer. Also removed any initialized values.
2010-05-19 17:12:50 -05:00
Allen Byrne
80e6dfe3ba [svn-r18856] Added CPack commands for installtion program
Tested: local linux and Windows
2010-05-19 15:11:00 -05:00
HDF Tester
49a6f7174d [svn-r18823] Snapshot version 1.9 release 69 2010-05-16 09:55:25 -05:00
Elena Pourmal
e870eca72e [svn-r18819] Maintenance: fixed typo in a comment line and formatting.
Platforms tested: jam (minor fix)
2010-05-14 23:23:44 -05:00
Elena Pourmal
d7a89d6c7b [svn-r18818] Bug fix:
Fixed a bug in the H5DSdetach_scale function when 0 bytes
     were allocated after the last reference to a dim. scale
     was removed from the list of references in a VL element of the
     DIMENSION_LIST attribute; modified the function to comply
     with the Spec: DIMENSION_LIST attribute is deleted now when no
     dimension scales left attached.

Platforms tested: jam with electric fence, amani amd linew
2010-05-14 23:10:53 -05:00
Allen Byrne
ae06433ab0 [svn-r18793] Add files to support building library with CMake
Tested: Local linux
2010-05-13 11:01:50 -05:00
Mike McGreevy
f0ecd71307 [svn-r18709] Purpose:
Improve configure's large-file support control.

Description:

    Modified configure to now attempt to add defines necessary for
    supporting largefiles on all systems, instead of solely on linux. This 
    is in response to user requests to enable largefile support on Solaris 
    by default, as well as to give extra control on AIX (instead of just 
    jamming the necessary flag into the config files).

    The old --enable-linux-lfs flag has been removed in favor of the 
    --enable-largefile flag (enabled by default), which can be used on all
    platforms.

    On systems where large files cannot be supported in this manner,
    configure will report as such.

Tested:

    h5committest
    AIX (NCSA's blue_print machine)
    duty, liberty, and linew.
2010-05-05 12:34:26 -05:00
HDF Tester
54cd6ecec9 [svn-r18684] Snapshot version 1.9 release 68 2010-05-02 10:21:31 -05:00
Quincey Koziol
b9ca2f8f6f [svn-r18650] Description:
Bring back various minor tweaks & cleanups from the revise_chunks
branch.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
2010-04-27 17:15:14 -05:00
HDF Tester
987bc92a01 [svn-r18589] Snapshot version 1.9 release 67 2010-04-18 08:59:45 -05:00
Mike McGreevy
0cf2a97cfb [svn-r18579] Purpose:
Autotool Upgrade / Libtool Bug Fix

Description:

    Updated autotools referenced in bin/reconfigure as follows:

    Autoconf 2.64 --> Autoconf 2.65
    Automake 1.11 --> Automake 1.11.1
    Libtool 2.2.6a --> Libtool 2.2.6b-mcg

    The referenced libtool version is a custom version of 2.2.6b. It 
    has been tweaked to fix a bug in libtool that occurs
    when using PGI 10.0 compilers. A check incorrectly categorizes
    the C++ compiler as version 1.0 instead of 10.0, and the link
    line is subsequently set up incorrectly and fails to compile.

    A patch has been made available and will be included in the next
    release of libtool, but in the meantime I've applied the patch to a custom
    installation as indicated above. This bin/reconfigure now references
    the custom installation, and the resulting configure script will correctly
    categorize the PGI 10.0 C++ compiler.

    Ran bin/reconfigure to regenerate configure and makefiles.

Tested:

    jam and amani with PGI 10.0 compilers.
    h5committest
2010-04-15 16:17:22 -05:00
HDF Tester
3a0f7b3bba [svn-r18545] Snapshot version 1.9 release 66 2010-04-11 12:03:28 -05:00
HDF Tester
6ea7793875 [svn-r18508] Snapshot version 1.9 release 65 2010-04-04 08:43:55 -05:00
HDF Tester
c49b97ff38 [svn-r18465] Snapshot version 1.9 release 64 2010-03-28 08:41:02 -05:00
HDF Tester
689868202c [svn-r18432] Snapshot version 1.9 release 63 2010-03-21 08:42:10 -05:00
Quincey Koziol
bcd6c3f7cc [svn-r18420] Description:
Re-run bin/reconfigure to catch up with recent rearrangements, remove some
unused srcdir headers and duplicated code in main test header.

Tested on:
    Mac OS X/32 10.6.2 (amazon) w/debug & prod
    Linux/32 2.6 (jam)
2010-03-18 07:45:29 -05:00
Quincey Koziol
1809f040c9 [svn-r18419] Description:
Clean up srcdir querying code more, extracting it into single header file,
to avoid compiler warnings.

Tested on:
    Mac OS X/32 10.6.2 (amazon) w/debug & prod
    Linux/32 2.6 (jam)
2010-03-18 07:23:04 -05:00
Quincey Koziol
cd2534d9ba [svn-r18418] Description:
Centralize common code for srcdir lookups.

Tested on:
    Mac OS X/32 10.6.2 (amazon) w/debug & prod
    Linux/32 2.6 (jam)
2010-03-18 07:04:39 -05:00
Quincey Koziol
0ac03c7890 [svn-r18414] Description:
Add copyright to new files
2010-03-17 16:48:09 -05:00
Quincey Koziol
fd547cd11f [svn-r18413] Description:
Unify srcdir handling for test executables and allow them to use the srcdir
setting from configure time without requiring the 'srcdir' environment variable
be set (although you still can, to override the built in setting).  Attempted
to get this right for Windows builds also.

    Also add dependency between src/H5Tinit.c and src/libhdf5.settings, so
that the test/testcheck_version.sh script works correctly.

Tested on:
    Linux/32 2.6 (jam)
    Mac OS X/32 10.6.2 (amazon)
2010-03-17 16:38:20 -05:00
HDF Tester
0a4eadc0b9 [svn-r18406] Snapshot version 1.9 release 62 2010-03-14 10:04:16 -05:00
HDF Tester
ed2e263b3f [svn-r18350] Snapshot version 1.9 release 61 2010-02-28 08:37:04 -05:00
HDF Tester
9daa1a55cd [svn-r18217] Snapshot version 1.9 release 60 2010-02-07 07:35:22 -05:00
Quincey Koziol
c462a2ec1f [svn-r18212] Description:
Bring revisions from Coverity fixing branch to trunk:

r18184:
Fixed Coverity issue 373.  Allocated memory freed in line 762 in case of error.

r18185:
Fixed Coverity issues 357 & 358.  Added check for NULL pointer before use.

r18186:
Fix coverity item 65.   Added code to h5unjam to correctly handle failures in
read() and write, and also to correctly handle writes that write less than
requested.

r18187:
Fix coverity items 115 and 116.   Added code to H5Tenum.c to correctly close
opened datatypes in case of failure.

r18188:
Fixed Coverity issue 46.  Check that dataset->shared is not null when freeing
memory after error.

r18190:
Fix coverity item 95.   Added code to H5T_create_vlen to correctly close
allocated datatype in case of failure.

r18191:
Fixed Coverity error 59.  Checked sfirst for -1 value before use in line 10533.

r18192:
Fix Coverity items 121 and 28

Added Asserts:
121: assert that all dimensions of count have values greater than zero.
28: assert curr_span pointer is not null before dereference.

Note: still need too add checks in hyperslab APIs that fail
     when count values are zero, and appropriate tests.

r18194:
Fixed Coverity issues 61 & 62. Checked variable snpoints for value < 0 in line
218.

Tested on:
    Mac OS X/32 10.6.2 (amazon) w/debug & production
    (already daily tested on coverity branch)
2010-02-04 21:56:25 -05:00
HDF Tester
1c05d48b93 [svn-r18199] Snapshot version 1.9 release 59 2010-01-31 07:29:07 -05:00
Quincey Koziol
fd70b2afa8 [svn-r18197] Description:
Trim trailing whitespace from source code files with this command:

find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//'

Tested on:
    None - eyeballed only
2010-01-29 23:29:13 -05:00
Quincey Koziol
bb25c85e79 [svn-r18159] Description:
Bring Coverity fixes from 1/22/10 session to trunk:

r18137:
219: Initialized hid_t to -1 and added close to error block.
189-191: Initialized line to NULL and added free line, and close fp to error block.

r18138:
19: Moved code block for printing that the number of enums is empty to the error block. (Would never have been executed otherwise)

r18139:
Fix coverity item 58.  Moved code related to displaying the parent of a repeated
group to the else(isRoot) section, as the root group has no parent.

r18140:
218: Initialized ret_value variable to -1. Because of throw Exception in default case of switch, the coverity problem would not have executed anyway. Good pratice is to initialize variables.

r18141:
Fix coverity item 92.  Added code to H5E_register_class to free cls in case of
an error.

r18142:
Fix coverity item 91.  Added code to H5E_create_msg to free msg in case of an
error.

r18143:
fixed issue 14,
took away "if" and used #ifndef_xxx.

r18144:
Fix coverity item 110.   Added code to H5Eget_minor to free msg_str in case of
an error.

r18145:
fixed coverity #18 removed "aligned", it is always NULL.

r18146:
Fix coverity item 109.   Added code to H5Eget_major to free msg_str in case of
an error.

r18147:
Fixed coverity #81 and #82, Check for bad pointer(s), but can't issue error, just leave

r18148:
Fix coverity item 97.   Added code to H5FD_fapl_open to free copied_driver_info
in case of an error.

r18149:
Fix coverity item 96.   Added code to H5FD_dxpl_open to free copied_driver_info
in case of an error.

r18150:
Fix Coverity issue #29: Protected cache_ptr dereferences with "if(pass)"
block

r18151:
Fix coverity item 93.   Added code to H5FL_fac_init to free factory and new_node
in case of an error.

r18152:
Fix coverity items 98 and 99.   Added code free allocated space in case of
error.

r18155:
124: Freed head pointer before jumping to done. There was no error handling block and normal exit used same path out.
120-123: Freed list of lists in error handling block.

r18156:
Fix coverity issues 179, 180, 181, 182, 183, 184, 186, 320, 407.  These were resource leak issues where allocated memory was not freed, generally in the case of tests that failed.

Tested on:
    Mac OS X/32 10.6.2 (amazon) debug & production
2010-01-23 02:00:00 -05:00
Quincey Koziol
fcc03a356b [svn-r18157] Description:
Bring back changes from Coverity session on 1/15/10:

r18111:
Fix Coverity issue #130: make certain that the cache gets freed on error.

r18112:
Fix Coverity issue #43 by making cache testing calls protected by 'pass'
variable.

r18113:
Fix Coverity issue #129 by releasing the cache on error.

r18115:
Coverity #45 fix: patched an error check in H5Screate_simple to prevent future dereferencing of a NULL point.
Added a verification in test/th5s.c.

r18116:
Fix Coverity issue #43 by releasing cache on error.

r18117:
Coverity #362,363 by adding HGOTO_DONE, freeing allocations and associated changes. REsolving coverity results #364-368, 369, 370-372, 377, 379, and 380.

r18118:
Fix Coverity issue #42: assert that cache & test specification pointer are
valid.

r18122:
Coverity #362,363 by adding HGOTO_DONE and freeing allocations. This also takes care of #357,358.

r18123:
Coverity #359-361, 373-376: Added HGOTO_DONE(FAIL) statement after checking allocation for NULL. Verified allocation is freed in done block.

r18128:
Fixed coverity issue #10 -- removed dead code.

Tested on:
    Mac OS X/32 10.6.2 (amazon)
2010-01-22 23:39:40 -05:00
HDF Tester
1e25bc217f [svn-r18120] Snapshot version 1.9 release 58 2010-01-17 07:25:27 -05:00
Albert Cheng
22da4232a4 [svn-r18107] bug 1673:
The mixed use of RUNTEST (original) and RUNTESTS (new) caused
confusion. E.g., the timings in test/ was still using the old
$RUNTEST.  It made more sense to use $RUNTEST which is used
by the dejagnu feature of automake.  So, I changed all
$RUNTEST or $RUNTESTS to $RUNEXEC.

config/commence.am & config/conclude.am are the two files
that got changes. Also fixed an error in test/Makefile.am.
The rest are changed by bin/reconfigure.

Tested: h5committested.
2010-01-12 18:58:30 -05:00
HDF Tester
a65b70ccc7 [svn-r18100] Snapshot 2010-01-10 07:33:23 -05:00
HDF Tester
a65f27f30f [svn-r18059] Snapshot 2010-01-03 07:39:26 -05:00
Albert Cheng
840e04ab5f [svn-r18051] Bug fix: 1192
Description:
Some exit code (sometimes return code in Main) to follow the HDF5 standards.

Tested:
H5committested plus serial test in Jam.
2009-12-25 07:37:55 -05:00
HDF Tester
06ce6af638 [svn-r18047] Snapshot 2009-12-20 07:32:29 -05:00
Quincey Koziol
1bc07c6aae [svn-r18031] Description:
Bring r18030 from merge_metadata_journaling branch to trunk:

	Bring "brush clearing" changes (whitespace & style issues, mostly) from
metadata_journaling branch to the "merging" branch, to converge the trunk and
the metadata_journaling branch.

	Also, some other minor cleanups along the way.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.2 (amazon) in debug mode
        Mac OS X/32 10.6.2 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2009-12-17 17:21:08 -05:00
Quincey Koziol
77038a8175 [svn-r18030] Description:
Bring "brush clearing" changes (whitespace & style issues, mostly) from
metadata_journaling branch to the "merging" branch, to converge the trunk and
the metadata_journaling branch.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (smirom) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.6.2 (amazon) in debug mode
        Mac OS X/32 10.6.2 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
2009-12-17 10:07:35 -05:00
HDF Tester
dc974e3de2 [svn-r18012] Snapshot 2009-12-13 07:35:57 -05:00
Quincey Koziol
9b2c4bea02 [svn-r18011] Description:
Bring Coverity changes into the trunk: (also other minor cleanups)

r17991:
Fix Coverity items 175 and 176.  Fixed memory leak on error in print_enum in
H5LT.c.

r17993: (r17992 was not a Coverity change)
Close Coverity issue #206: inconsistently checking whether dt->shared was
non-NULL after H5T_alloc() returned a valid 'dt' value (which should guarantee
that dt->shared is valid).

r17994:
Fix Coverity item 149.  Fixed file handle leak on error in H5FD_stdio_open.

r17995:
Fixed Coverity issues 154 to 161:

 Added H5MP_close routine to error handling in the event *mp has not been
 freed before error.

r17996:
Close Coverity issue #126: potentially leaking merged_spans on routine failure.

r17997:
Fix Coverity items 147 and 148.  Fixed resource leaks on error in H5FDloc.c.

r17998:
Coverity issue 269-272:
    Added integer result variable to functions that could return negative.
        Assigned to unsigned after checking.
    Added H5E_BEGIN_TRY block around H5Tclose and removed H5E_THROW in the
        catch block.
    Checked buffer is NULL before free. Changed HGOTO_ERROR outside of the if
        block to H5E_THROW.

r17999:
Close Coverity issue #127: release temporary spans in more generic manner.
(Also add error checking to previous fix)

r18000:
Resolved Coverity issues 211 and 212 in H5T.c. Added comments to ignore
Coverity warning regarding not checking pointer for NULL, as we are using
an assert which catches the issue.

r18001:
Fix Coverity item 146.  Fixed resource leak on error in H5O_layout_copy.

r18002:
Fix Coverity items 143 and 145.  Fixed resource leaks on error in
H5D_compact_copy and H5D_contig_copy.

r18003:
Close Coverity issue #192: close file on error

r18004:
Fix Coverity issue #125: release temporary spans on error

r18005:
Resolved Coverity issues 5, 25, and 83 (in H5T.c):

    Separated embedded functions in order to check for NULL on return of
        H5I_object before passing into H5T_copy.

    Check to see if new_dt is NULL within error handling before
        dereferencing it.

    Ignore Coverity's dead code warnings as the checks that lead to the code
        are machine dependent.

r18006:
Coverity 63,70,73:  Checked result of function before assigning to an unsigned
variable.

r18007:
Coverity 78,79:   added continue statement if H5Pget_filter2 returns negative.

r18008:
Fixed Coverity issue # 138:

    Added support in error handling to free dst pointer (if allocated) on error.

r18009:
Whitespace & coding style cleanup
2009-12-13 00:28:30 -05:00
HDF Tester
94a00c768c [svn-r17973] Snapshot 2009-12-07 09:18:34 -05:00
HDF Tester
5a821b959b [svn-r17902] Snapshot 2009-11-17 09:27:25 -05:00
HDF Tester
4af649f03d [svn-r17742] Snapshot version 1.9 release 50 2009-10-25 01:45:59 -05:00
Larry Knox
27a68642f1 [svn-r17670] Snapshot version 1.9 release 49 2009-10-18 11:40:34 -05:00
Larry Knox
64ffab6881 [svn-r17628] Snapshot version 1.9 release 48 2009-10-11 07:49:32 -05:00
Mike McGreevy
7ec079a515 [svn-r17616] Purpose:
CFLAGS overhaul

Description:

    Modified the way configure handles CFLAGS.

    (note: all changes also apply to FCFLAGS, CXXFLAGS, CPPFLAGS, and LDFLAGS).

    1. The configure process will now always preserve a user's CFLAGS
    environment variable setup. Any additional flags necessary for compilation
    added at configure time will be passed into the Makefiles as AM_CFLAGS,
    which is an automake construct to be used in addition to CFLAGS.

    This will allow a user to have the final say, as CFLAGS will always appear
    later in the compile line than AM_CFLAGS. Additionally, setting CFLAGS
    during make will no longer completely erase all flags set by configure,
    since they're maintained in AM_CFLAGS.

    2. Additionally, where possible, flags previously being assigned directly
    into CFLAGS (and thus propagating into h5cc) have now been redirected into
    H5_CFLAGS, so they're used ONLY for compiling hdf5, and not embedded into
    the h5cc wrapper script as well.

    *Note that H5_CFLAGS ultimately is assigned into AM_CFLAGS for use in the
    Makefiles. Complete description of changes and build process will be
    included in a Configure Document that Elena and I are working on.

    3. Removed unsupported config files. This includes:

       config/dec-osf*
       config/hpux11.00
       config/irix5.x
       config/powerpc-ibm-aix4.x
       config/rs6000-ibm-aix5.x
       config/unicos*

     4. Modified configure summary to display additional values. Specifically,
     appropriate AM_* variables are being shown, as well as H5_FCFLAGS and
     H5_CXXFLAGS, which were for some reason not already present.

Tested:

    - H5committest
    - Tested on all THG / NCSA machines, using several combinations of the more
      prominent configure options (c++, fortran, szip, threadsafe, parallel,
      et cetera). (Thanks to Quincey for rysnc testing setup!)
    - With regards to new automated testing, anything *necessary* for
      compilation will be caught by the daily tests as it stands now. (i.e.,
      if LDFLAGS is not properly set when szip is used, linking will fail).
      Additionally, with regards to which flags get into h5cc, if any
      *necessary* flags have been improperly removed, then daily tests should
      fail during make installcheck. Additional machine-specific desired
      behaviors and/or checks may have to be set up separately within the
      daily tests, so this is something to work on.
2009-10-08 10:17:30 -05:00
Larry Knox
be2d2abf86 [svn-r17589] Snapshot version 1.9 release 47 2009-10-04 07:56:18 -05:00
Quincey Koziol
a170449d4e [svn-r17573] Description:
Fix several errors in code, which was not compiling... :-(

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        Mac OS X/32 10.5.8 (amazon) in debug mode
        Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
2009-10-01 14:54:12 -05:00
Mike McGreevy
8c754e8385 [svn-r17567] Purpose:
Configure Fix

Description:

    Modified configure to set FC and CXX to "no" when fortran and c++ are
    not being compiled, respectively. This will prevent configure from running
    some checks on these compilers when they are not being used.

    This fixes a problem that was occuring when FC and/or CXX are set to
    a nonexistant or invalid compiler. Even if the languages were disabled,
    a libtool test would fail, thus preventing libtool from properly linking
    any libraries, yet configure would not flag an error message due to this
    because the languages were disabled.

Tested:

    - h5committest (jam, smirom, linew)
    - manually eyeballed configure output and logfile.
2009-10-01 12:05:38 -05:00
Allen Byrne
98f6b609ad [svn-r17566] Fix for Bug 1562. H5DSis_attached needed to account for platform dependent types. Added test and test files for LE and BE dimension scales. Reworked part of test_ds file as part of debug.
Added missing H5Tclose in region reference routines.
H5DS.c checked for other locations which need to account for platform dependent types in dealing with ds_list_t. Added generator program for test files of LE and BE dimension scales.

Tested: local linux, h5committest
2009-10-01 11:17:17 -05:00
Larry Knox
96318e678f [svn-r17538] Snapshot version 1.9 release 46 2009-09-27 07:42:31 -05:00
Larry Knox
458358f0bd [svn-r17446] Snapshot version 1.9 release 45 2009-09-03 13:02:46 -05:00
Mike McGreevy
4598a59f86 [svn-r17345] Purpose:
Updating autotools

Description:

    Installed new autotools and used them to reconfigure HDF5.

    - Automake upgraded to 1.11
    - Autoconf upgraded to 2.64
    - bin/reconfigure script edited to use new versions (on jam), and
      run to generate new configure script and Makefile.in's.
    - configure.in script edited to add "_cv_" to all AC_CACHE_VAL strings
      (in order to comply with new autoconf standard).
    
Tested:

    Tested on machines jam, smirom, liberty, linew.
    Tested w/ features c++, fortran, parallel.
    Tested w/ compilers gcc, pgcc, icc.

    Further testing via Daily Tests should catch any other outliers. Upon
    passing DT's, I'll propogate the new tools into 1.8, hdf4, et cetera.
2009-08-12 13:55:25 -05:00
Larry Knox
eb3fc461a4 [svn-r17343] Snapshot version 1.9 release 44 2009-08-12 08:27:39 -05:00
Quincey Koziol
e99906f517 [svn-r17268] Description:
Bring r17266 from 1.8 branch to trunk:

    Clean up various compiler warnings from IRIX64 build

Tested on:
    Mac OS X/32 (amazon) debug & production
    (yes, I know it's not an IRIX64 system :-)
    Too minor to require h5committest
2009-07-29 20:59:24 -05:00
Mike McGreevy
6a00b1b6ff [svn-r17228] Purpose:
Fix BZ #1583

Description:

    The --enable-static-exec flag was broken. Configure was adding the 
    -all-static linker flag to an environment variable which was subsequently
    never used. (looks like it was used in 1.6 Makefile.ins, but never
    moved to 1.8's Makefile.ams when we added automake support).

    To fix, I've added this environment varibale to the link lines of all the
    tools. Now, when --enable-static-exec is invoked, it will correctly
    generate statically linked executables in the installed bin directory.

Tested:

    I've tested manually to ensure that the generated execs are static when
    the flag is used and dynamic when not. I've also tested when szip is
    used, as this was a use case mentioned in the bug report.

    Also: ran full tests with make check on jam and smirom for good measure.
2009-07-23 15:04:18 -05:00
Scot Breitenfeld
ba25a7671c [svn-r17164] Description:
Removed the blank space after !DEC$ to satisify the absoft compiler.

tested smirom
2009-07-08 09:41:30 -05:00
Larry Knox
818e0698cc [svn-r17159] Snapshot version 1.9 release 43 2009-07-06 10:42:14 -05:00
Larry Knox
e70b32f7b5 [svn-r17135] Snapshot version 1.9 release 42 2009-07-01 12:23:31 -05:00
Larry Knox
312d6350fe [svn-r17047] Snapshot version 1.9 release 41 2009-06-14 10:41:49 -05:00
Larry Knox
c87c334876 [svn-r17012] Snapshot version 1.9 release 40 2009-06-07 10:41:52 -05:00
Larry Knox
126dae2440 [svn-r16995] Snapshot version 1.9 release 39 2009-06-01 13:50:44 -05:00
Pedro Vicente Nunes
8745d8b7cc [svn-r16947] 1. #1522 (B1) h5ltread_dataset_string_f error with g95
ISSUE: h5ltread_dataset_string_f causes library assertion with g95. 
SOLUTION: convert the fortran string buffer to a C buffer with HD5f2cstring, and pass this string to the C function
TEST: added a test call in the fortran test lite program
DOCS: added the note in RELEASE.txt "- Lite: the h5ltread_dataset_string_f and h5ltget_attribute_string_f functions had memory problems with the g95 fortran compiler. (PVN - 5/13/2009) 1522
2009-05-13 14:10:25 -05:00
Pedro Vicente Nunes
c7741d3537 [svn-r16945] bug fix. call free on a string allocated by HD5f2cstring
tested: linux, windows
2009-05-13 11:19:44 -05:00
Raymond Lu
71b49b0f9b [svn-r16880] Fixed a bug in H5LTtext_to_dtype. When the data type is enumerate and the super type is different from
the native integer, the value wasn't converted.  I fixed it and corrected the test, too.

Tested with h5committest.
2009-04-28 16:42:33 -05:00
Raymond Lu
cdcd4a7305 [svn-r16859] I fixed some memory leak of H5LTdtype_to_text in the HL library. I fixed some test
verification, too.

Tested on jam - simple change.
2009-04-24 16:13:20 -05:00
Quincey Koziol
f098d20ab9 [svn-r16847] Description:
Bring r16846 from revise_chunks branch back to trunk:

	Fix broken (for how long?) H5_ASSIGN_OVERFLOW macro to actually detect
overflows during assignments, along with several errors it [now] detected.

	Cleaned up a fix minor warnings and/or pieces of code also.

Tested on:
	FreeBSD/32 6.3 (duty) in debug mode
	(h5committest not needed - multi-platform test performed on branch)
2009-04-23 13:25:16 -05:00
Mike McGreevy
bc36a358d1 [svn-r16792] Description:
- Updated bin/reconfigure to use latest version of automake (1.10.2). 
      Re-generated Makefile.in's by running bin/reconfigure.

    - Added libtool version numbers to c++, fortran, hl, hl c++, and hl fortran
      libraries.

Tested:

    jam, liberty, smirom
2009-04-20 01:00:11 -05:00
Pedro Vicente Nunes
8e88fdb7a2 [svn-r16727] clean linux warnings
tested: linux
2009-04-10 11:14:49 -05:00
Pedro Vicente Nunes
c8f6207556 [svn-r16719] clean linux warnings
tested: linux
2009-04-09 14:56:54 -05:00
Pedro Vicente Nunes
16985151d7 [svn-r16717] added some print messages
tested: linux
2009-04-09 10:46:46 -05:00
Pedro Vicente Nunes
c62ae38c01 [svn-r16706] #1538 (B2) Problems with Dim Scale APIs reported by Mathworks
ISSUE2: the scale index input/output parameter value passed to H5DSiterate_scales was not always incremented (it returns the scale index current iteration). 
SOLUTION FOR ISSUE2: modified the cycle in H5DSiterate_scales so that the scale index is always incremented
TEST: added some test cases with calls to invalid indices and H5DSiterate_scales with return scale indices and visitor data
tested: windows, linux
2009-04-08 15:55:02 -05:00
Pedro Vicente Nunes
837ab64fa7 [svn-r16696] #1538 (B2) Problems with Dim Scale APIs reported by Mathworks
ISSUE: When some functions are called with an invalid dimension index (for example, greater than the rank of the dataset) the function does not immediately fail, rather asserts down the code.
SOLUTION: added this check for H5DSdetach_scale, H5DSset_label, H5DSget_label (the other functions have this check) . H5DSiterate_scales also added a check for an invalid dimension scale index
TEST: added some test cases with calls to invalid indices
DOCS: Nothing added
2009-04-08 10:17:30 -05:00
Pedro Vicente Nunes
92bbd705f1 [svn-r16676] #1521 (B2) H5DSdetach_scale memory leak
ISSUE: Purify (Windows Visual Studio 6) complains of a memory leak in H5DSdetach_scale call  regarding a  H5Aread call (stack is H5A_read, H5T_convert, H5T_conv_vlen, H5T_vlen_seq_mem_write, H5MM_malloc).
SOLUTION: When a scale is detached from a dataset, the variable length structure length field is decreased in one entry. The associated pointer must be reallocated with the new length.
DOCS AND TEST: Nothing added

tested: windows with purify, linux
2009-04-07 09:56:08 -05:00
Pedro Vicente Nunes
a75fb8d898 [svn-r16597] #1047 (B1) The h5lt info routines are returning data in transposed form. ISSUE : the dimension array of the function h5ltget_dataset_info_f was not transposed (because of C-FORTRAN storage order, the FORTRAN function calls the C function with the same name). SOLUTION: transpose the array. ACTION: add a test case.
tested: h5committest
2009-03-23 14:40:57 -05:00
Pedro Vicente Nunes
6f342514df [svn-r16588]
1.	#1487 (B1) DS memory leaks ISSUE 1: On a "go to" error condition, previously allocated buffers were not freed. NOTE: these are "potential" memory leaks because typically the error conditions do not occur, so the potential memory leaks also do NOT occur. ISSUE 2: A function used to read dimension scales realistic data (topography of the North Atlantic, latitude and longitude) was being called without the data buffer being freed. SOLUTION FOR ISSUE 1: added "free" calls for the allocated buffers on the error sections. SOLUTION FOR ISSUE 2:  added a "free" call after the read_data function, after using the buffer (on a H5Dwrite and H5Screate_simple). The read_data function reads both data and dimensions from the ASCII data files. DOCS: no docs added. Done for 1.9 and 1.8 STATUS: Closed bug

tested: h5committest
2009-03-19 13:30:11 -05:00
Mike McGreevy
893b8bffee [svn-r16561] Purpose:
Bug Fix

Description:

    Fixing BZ #1381. The --includedir=DIR configure option, which is used
    to specify the installation location of C header files, did not work
    correctly as the path was hard-coded in config/commence.am. I'm presuming
    this is because an older version of automake didn't know where to put
    c header files. In any case, removing this line now defaults the includedir
    to the same directory that it is currently hard-coded to, and also fixes
    the configure flag to allow customization of this value.

Tested:

    jam, liberty
2009-03-10 16:01:50 -05:00
Quincey Koziol
b4ff3e6e79 [svn-r16560] Description:
Remove another call to H5E_clear_stack() from within the library.

    Clean up lots of compiler warnings.

Tested on:
    Mac OS X/32 10.5.6 (amazon)
    (followup on other platforms forthcoming)
2009-03-10 14:00:39 -05:00
Allen Byrne
602d5ce44f [svn-r16549] Bug #608: Memory leak in H5DSset_label. Added code to free sub string ptr's belonging to buffer in H5DSset_label and H5DSget_label. Also added free of buffers in error section of both functions. Potential memory leaks may exist elsewhere, and this will not close the bug.
Tested:
   h5committest
   vista 32 VS2008
2009-03-05 13:29:23 -05:00
Pedro Vicente Nunes
f8c5384aa5 [svn-r16518] have 2 expected outputs for 2 h5ls runs depending if run on a big or little endian machine. Configure.in was modified to export a variable carrying endianess information to testh5ls.sh. This script then compares the current run with 2 expected outputs, one for a big-endian machine (linew was used to generate the output), other for little endian (jam was used to generate the output)
the way h5ls prints types, it starts searching for NATIVE types first. One solution would be h5ls not to detect these native types, using for example the same print datatype function that h5dump does, that would make the output look the same on all platforms  ("32-bit little-endian integer" would be printed instead).  Drawback, this "native" information would not be available. Other solution is to have not one but 2 expected outputs and make the shell script detect the endianess and compare with one output or other
tested: h5committest
2009-02-26 15:21:50 -05:00
Allen Byrne
5d69e87ff0 [svn-r16489] Fixed bug #1459 by eliminating the macro long_long and replacing all instances with long long.
Tested:
   h5comittest
   fedora 10 x64
   Vista 32, VS2005, IVF101
   XP32, Cygwin
2009-02-18 15:02:05 -05:00
Frank Baker
5393933154 [svn-r16340] Description:
Changed 'THG' to 'The HDF Group' in various HDF5 source files,
        most of which are <subdirectory>/COPYING.
    -- Closes Bugzilla entry 1403.
2009-01-22 15:53:59 -05:00
Pedro Vicente Nunes
bd3e89868a [svn-r16133] H5TBdelete_record was not handlong correctly records at the end of the table
added a ckeck that avoids to read these records if they are not needed (for pushing down the table)

tested: windows, linux
2008-11-25 14:42:49 -05:00
Pedro Vicente Nunes
4c1f5f3f15 [svn-r16128] revised test table
tested windows linux
2008-11-24 16:17:07 -05:00
Pedro Vicente Nunes
6ecf8fc2ea [svn-r16124] In version 3.0 of Table, "NROWS" was deprecated
tested: windows, linux
2008-11-24 15:08:10 -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
Albert Cheng
a59735101d [svn-r15822] Bug fix: #1090
The custom rules for installing h5cc, h5fc, and the fortran modules in fortran
and in hl/fortran don't use $(DESTDIR).  Added it to all those rules.

Tested: kagiso both serial and parallel with fortran and cxx enabled.
Tested by:
    make install
    make DESTDIR=/tmp/acheng install
    diff -r /tmp/acheng/.../hdf5 hdf5
2008-10-08 15:56:21 -05:00
Pedro Vicente Nunes
915ed32696 [svn-r15733] #1307
A space id was not closed in H5PTopen

Tested: windows, linux
2008-09-30 13:44:02 -05:00
Quincey Koziol
bdd7d59902 [svn-r15628] Description:
Remove trailing whitespace from C/C++ source files, with the following
script:

    foreach f (*.[ch] *.cpp)
        sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f
    end

Tested on:
    Mac OS X/32 10.5.5 (amazon)
    No need for h5committest, just whitespace changes...
2008-09-16 10:52:51 -05:00
Pedro Vicente Nunes
57479bc963 [svn-r15464] delete h52jpeg 2008-08-12 09:29:07 -05:00
Quincey Koziol
507a211257 [svn-r15462] Description:
Correct compiler warnings from Visual Studio.

Tested on:
    Mac OS X/32 10.5.4 (amazon) w/FORTRAN & C++
    (Too minor to require full h5committest)
2008-08-12 07:46:40 -05:00
Binh-Minh Ribler
05a9cc4c14 [svn-r15408] Purpose: Enable test
Description:
    The daily test failure caused by the C++ API was fixed, so put
    the packet table test back.

Platforms tested:
    SunOS 5.10 (linew)
    Linux 2.6 (kagiso)
    FreeBSD (duty)
2008-07-25 16:56:34 -05:00
Pedro Vicente Nunes
bb8bf261ee [svn-r15405] added comments, cleaned code
tested: windows, linux
2008-07-25 10:10:57 -05:00
Raymond Lu
8704820d1c [svn-r15395] When an attribute was opened twice and data was written with one of the handles,
the file didn't have the data.  It happened because each handle had its own
object structure, and the empty one overwrote the data with fill value.  This is
fixed by making some attribute information like the data be shared in the
attribute structure.

Tested on smirom, kagiso, and linew.
2008-07-22 15:36:31 -05:00
Pedro Vicente Nunes
d1596b2003 [svn-r15383] bug fix: when a requested palette index did not exist , the verbose printing message was referring to the default palette
tested: windows, linux
2008-07-17 09:47:07 -05:00
Pedro Vicente Nunes
1572fb46e0 [svn-r15366] cleaned warnings and unused features
tested: linux
2008-07-15 09:51:48 -05:00
Pedro Vicente Nunes
bca3b0e1fc [svn-r15364] Convert the HDF5 8bit images to jpeg 24bit truecolor. Add an option for conversion from HDF5 indexed image to jpeg true color and an option to use a specific palette in the conversion.
tested: windows, linux
2008-07-15 09:45:16 -05:00
Pedro Vicente Nunes
44be564ca4 [svn-r15316] added one more palette to the test generator file
tested: windows, linux
2008-07-03 14:10:56 -05:00
Pedro Vicente Nunes
7722c4c834 [svn-r15311] added removal of more special characters from jpeg file name
added a command line option -c to convert the output image to true or gray color
2008-07-02 10:25:26 -05:00
Pedro Vicente Nunes
0e1432a18f [svn-r15307] moved testfiles from hl/tools/testfiles to hl/tools/gif2h5/testfiles
tested: linux
2008-07-02 08:54:35 -05:00
Pedro Vicente Nunes
cc7d722bba [svn-r15306] check in a working beta version that only processes HDF5 images
tested: linux, windows
2008-07-01 14:24:20 -05:00
Pedro Vicente Nunes
49e63a3beb [svn-r15296] eliminate the automatic building of h52jpeg
tested: linux
2008-06-30 12:34:37 -05:00
Pedro Vicente Nunes
cb7a01f5ce [svn-r15292] moved h52jpeg to /hl/tools/h52jpeg
tested: linux
2008-06-28 16:06:35 -05:00
Scott Wegner
7a92820e35 [svn-r15183] Purpose: _WIN32 macro cleanup
Description:
As part of our Windows cleanup, we try to remove windows-specific tweaks in the source code.  There are many instances where Windows code is introduces via ifdef's.  We re-evaluate whether they are still required, and found that many of them are not.  Others we change to "feature"-specific code, rather than Windows-specific.

Tested:
VS2005 on WinXP
VS.NET on WinXP
h5committest (kagisopp, smirom, linew)
2008-06-09 13:41:29 -05:00
Albert Cheng
ca94c839d5 [svn-r15036] Bug fix.
Description:
The fortran Makefile.am used HDF_FORTRAN to indicate it is part of the
Fortran API source so that conclude.am will give fortran api prefix in the
test output.  The symbox HDF_FORTRAN is also used in configure for a different
purpose (indicated --enable-fortran). They conflicted.
Similar problem for the symbol HDF_CXX.

Solution:
Changed all the involved Makefile.am to use "FORTRAN_API" instead. It is
a more appropriate name.  Same for CXX_API.

Along the way, discovered that the Makefile.am of hl/fortran/test and
hl/cxx/test did not have those symbols at all.  Added them in.

Platform tested:
Kagiso only. It is a trivia change.
2008-05-19 00:06:51 -05:00
Mike McGreevy
e894bb1ec6 [svn-r15020] Purpose: Configure Fix
Description: The test program h52gifgentst was getting installed in the bin
             directory during 'make install', and it shouldn't. Make now
             builds the program for use in testing but doesn't install it
             during 'make install'.

Tested: kagiso
2008-05-16 12:52:19 -05:00
Mike McGreevy
389cc309c5 [svn-r15007] Purpose: configure cleanup
Description: cleaning up configure related to removal of --disable-hsizet
             flag, which we no longer support.

Tested: kagiso
2008-05-15 11:42:03 -05:00
Albert Cheng
7b7f10a444 [svn-r15003] Purpose:
Improvement.

Description:
src/libhdf5.settings was the initial configure summary and is installed.
Then configure is changed to dump a summary of the configure settings to
the output and also append it to src/libhdf5.settings.  That created
two different output formats and duplicated information.  This is the
initial attempt to clean up this confusion and unify the output format.

It is decided to use the src/libhdf5.settings template as the unified means.
This requires more macros symbols be defined. The following symbols are
all related to generating the src/libhdf5.settings file.

AC_SUBST(EXTERNAL_FILTERS)
AC_SUBST(MPE) MPE=no
AC_SUBST(STATIC_EXEC) STATIC_EXEC=no
AC_SUBST(HDF_FORTRAN) HDF_FORTRAN=no
AC_SUBST(FC) HDF_FORTRAN=no
AC_SUBST(HDF_CXX) HDF_CXX=no
AC_SUBST(CXX) HDF_CXX=no
AC_SUBST(HDF5_HL) HDF5_HL=yes
AC_SUBST(GPFS) GPFS=no
AC_SUBST(LINUX_LFS) LINUX_LFS=no
AC_SUBST(INSTRUMENT) INSTRUMENT=no
AC_SUBST(CODESTACK) CODESTACK=no
AC_SUBST(HAVE_DMALLOC) HAVE_DMALLOC=no
AC_SUBST(DIRECT_VFD) DIRECT_VFD=no
AC_SUBST(THREADSAFE) THREADSAFE=no
AC_SUBST(STATIC_SHARED)
AC_SUBST(enable_shared)
AC_SUBST(enable_static)
AC_SUBST(UNAME_INFO) UNAME_INFO=`uname -a`

The src/libhdf5.settings.in has CONDITIONAL's added to it too.  The
untrue conditions turned into a "#" and these lines are cleaned by the 
post processing script.

Platform tested:
h5committest on kagiso, smirom and linew.
2008-05-15 00:12:00 -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