Commit Graph

169 Commits

Author SHA1 Message Date
Xuan Bai
f6b810b93d [svn-r9976] Purpose:
New feature and update.

Description:
1. New feature: link HDF5 with Zlib 1.2.2 and Szip 2.0 DLL libraries.
2. Update: catch up HDF5 update during past weeks.

Solution:
1. New feature:

   As now HDF5 only links with Zlib and Szip DLL libraries, only 2 environment variables are needed:
                               Environment Variables for HDF5 on Windows
                               Previously                            Now
   HDF5_EXT_ZLIB           zlib.lib                               zdll.lib
   HDF5_EXT_SZIP           szlib.lib                              szlibdll.lib
   HDF5_EXT_ZLIB_DLL       c:\zlib114\dll\zlib.lib                    N/A
   HDF5_EXT_SZIP_DLL       szlibdll.lib                               N/A

   Due to the above change, the following changes are made:
   a. hdf_dll and dsets_dll were linked with HDF5_EXT_ZLIB_DLL and HDF5_EXT_SZIP_DLL
      before this update.  Now they are linked with  HDF5_EXT_ZLIB and HDF5_EXT_SZIP.

   b. In hdf5/tools/dumptest.bat and repacktest.bat, HDF5_EXT_ZLIB was compared with zlib.lib
      and HDF5_EXT_SZIP was compared with szlib.lib to find out whether ZLIB or SZIP libraries
      were presented.  Now HDF5_EXT_ZLIB is compared with zdll.lib and HDF5_EXT_SZIP
      with szlibdll.lib.

2. Update (due to change in source codes)

   a. Add hdf5/src/H5B2.c, H5B2cache.c, H5B2dbg.c, H5B2test.c, H5b2pkg.h, H5B2private.h, and H5B2public.h
      to projects hdf5 and hdf5dll.

   b. Replace H5TA.c and H5TA.h with H5TB.c and H5TB.h in hdf5_hl project.

Platforms tested:
Visual C++ 6.0/DEC Fortran 6.6c on Windows XP.
.NET on Windows XP.

Misc. update:
installation file was updated also.
2005-02-09 19:32:35 -05:00
Xuan Bai
68e5b3e014 [svn-r9864] Purpose:
Update.

Description:
Update hdf5/src/H5Tinit.c as PABLO was removed from the source.

Solution:
Remove the following codes from H5Tinit.c:
#define PABLO_MASK      H5T_init_mask

Platforms tested:
Visual C++ 6.0 on Windows XP/2000.

Misc. update:
Remove the following empty directories in all.zip:
hdf5\src\zlib\
hdf5\src\zlib\dll\
hdf5\test\ragged\
hdf5\test\raggeddll\

These folders were generated by Winzip to save path information for files from recursed folder.  We need to manually removed these empty folders.
2005-01-24 13:05:33 -05:00
Xuan Bai
4cd492dbb4 [svn-r9817] Purpose:
Update H5fortran_types.f90.

Description:
As Quincey implemented hobj_ref_t for in Fortran APIs, HDF5 Fortran type definitions should be updated to include HADDR_T in H5fortran_types.f90.

Solution:
Add the following scripts into hdf5/fortran/src/H5fortran_types.f90:

    INTEGER, PARAMETER :: HADDR_T  = SELECTED_INT_KIND(R_LARGE)

Platforms tested:
Visual Fortran 6.0 on Windows 2000.
Visual Fortran 6.6c on Windows XP.

(Notes: As HDF5 Fortran is not supported with .NET on my XP machines, so I did not test on .NET.                                                                                            Also, as H5fortran_types.f90 is included in all.zip, it will only be used for HDF5 on Windows.  It is not necessary to test it on Unix.)

Misc. update:
2005-01-12 19:10:14 -05:00
Xuan Bai
7b42f786bd [svn-r9808] Purpose:
Update.

Description:
Add N-bit filter feature into HDF5 and update hdf5\src\H5pubconf.h.

Solution:
1. Add hdf5/src/H5Znbit.c into hdf5 and hdf5dll projects.
2. Add the following scripts into H5pubconf.h

   /* comment the following line out if you are not using N-bit filter*/
   /* #define H5_HAVE_FILTER_NBIT 1*/

   If users want to use N-bit filter, remove the comment marks.

Platforms tested:
Tested without N-bit filter on Visual C++ 6.0 on Windows XP.
(Failed building with N-bit filter, I remember that Kent said N-bit filter had not been fully implemented for the time being.)

Misc. update:
2005-01-11 14:17:27 -05:00
Xuan Bai
0edafcc36e [svn-r9793] Purpose:
Bug fix.

Description:
Remove 2 redundant files from all.zip.

Solution:
Remove explorer.lnk and desktop.ini from all.zip.
(I do not know why these 2 files were included in all.zip, but these 2 files are not related to HDF5 and should be removed.)

Platforms tested:
Windows 2000/XP.

Misc. update:
2005-01-10 16:36:25 -05:00
Xuan Bai
873b02160c [svn-r9791] Purpose:
Update.

Description:
Update HDF5 windows projects as some source codes had been removed.

Solution:
1. Remove H5TB.c and H5TBprivate.h from hdf5 and hdf5dll projects.
2. Remove ttbbt.c from testhdf5 and testhdf5dll projects.
3. Add libtest and libtestD to dsets_cpp and dsets_cppdll projects.

Platforms tested:
Visual C++ 6.0 on Windows 2000/XP.
.NET on Windows XP.

Misc. update:
2005-01-10 15:58:18 -05:00
Binh-Minh Ribler
35ae0442fa [svn-r9788] Purpose: Fix bugzilla #293
Description:
    Added libtest and libtestD to projects dsets_cpp and dsets_cppdll
    to get rid of the "Unresolved symbol: GetTestVerbosity..." errors.

Platforms tested:
    Windows 2000
2005-01-09 16:09:37 -05:00
Xuan Bai
126657afc7 [svn-r9773] Purpose:
Bug fix.

Description:
Previously, in repacktest.bat, the following script is used to dynamic detection of SZIP encoder:

  testfiles\testh5repack_detect_szip%2\release\testh5repack_detect_szip%2.exe

However, the script does not work if only the debug version of testh5repack_detect_szip.exe is built, for example, in CodeWarrior.

Solution:
Modify above scripts as:

   testfiles\testh5repack_detect_szip%2\%1\testh5repack_detect_szip%2.exe

where %1 is the first input parameter for repacktest, which could be either debug or release

Platforms tested:
Windows XP. (Minor Change)

Misc. update:
2005-01-07 10:44:23 -05:00
Xuan Bai
2198c67ab7 [svn-r9748] Purpose:
Update.

Description:
Update HDF5 windows project settings and testing batch files to catch up recent updates on Unix.

Solution:
1. Add toolslib to the dependency of h5dumptst project. (as h5tools_can_encode() is used).
2. Add link to szlibdll.lib for dsetsdll project. (as SZ_encoder_enabled() is used).
3. Update dumptest.bat.

Platforms tested:
Visual C++ 6.0 on Windows XP/2000.
.NET on Windows XP.
(Tested with SZIP-with-encoder and SZIP-without-encoder).

Misc. update:
2005-01-05 11:47:50 -05:00
MuQun Yang
d9effd9873 [svn-r9702] Purpose:
clean up HDF5 fortran project.

Description:
Remove c/c++ headers from pure fortran project since this will cause
compliants from intel 8.1 compiler.

Solution:

Platforms tested:
.Net 2003, VS 6.0

Misc. update:
2004-12-22 18:13:02 -05:00
Xuan Bai
61e10be667 [svn-r9663] Purpose:
New feature.

Description:
Add HDF high level into Windows.

Solution:
1. Add hdf5_hl and hdf5_hl_fortran projects under hdf5/project directory, which will be used to generate HDF5 high level C and Fortran libraries.
2. Add hl_test_lite, hl_test_image, and hl_test_table projects under hdf5/hl/test directory, which will be used for HDF5 high level C lite, image, and table tests.
3. Add hl_test_lite_fortran, hl_test_image_fortran, and hl_test_table_fortran projects under hdf5/hl/fortran/test directory, which will be used for HDF5 high level Fortran lite, image, and table tests.
4. Add HDF5 high level C lite, image, and table testing batch files test_hdf5_hl.bat under hdf5/hl/test directory.
5. Add HDF5 high level Fortran lite, image, and table testing batch files test_hdf5_hl.bat under hdf5/hl/fortran/test directory.
6. Update HDF5 library installation batch file installhdf5lib.bat to install HDF5 high level libraries and header files.
7. Add hdf5_hl, hl_test_lite, hl_test_image, and hl_test_table projects to the dependencies of "all" projects.  So HDF5 high level C library and tools will be built by default.
8. Update hdf5build.bat to build HDF5 high level Fortran libraries and tools when using enablefortran or enableall options.
9. Update hdf5check.bat to test HDF5 high level Fortran tools when using enablefortran or enableall options.

Platforms tested:
Microsoft Visual C++ 6.0 on Windows XP/2000.

Tested with/without Fortran.

Misc. update:
2004-12-13 20:56:47 -05:00
Xuan Bai
2ea000bacf [svn-r9646] Purpose:
Update.

Description:
Update Windows projects settins as Quincey added several new source code files into HDF5.

Solution:
1. Add H5SL.c and H5SLprivate.h under hdf5\src directory into hdf5 and hdf5dll Windows projects.
2. Add tskiplist.c under hdf5\test directory into testhdf5 and testhdf5dll Windows projects.

Platforms tested:
Microsoft Visual Studio 6.0 in Windows XP/2000.

Misc. update:
2004-12-08 18:10:06 -05:00
Xuan Bai
52c93de379 [svn-r9507] Purpose:
New feature and update.

Description:
New feature: Implement run-time detection of the Szip encoder.
Update: Fix bug in hdf5 library installation file hdf5\installhdf5lib.bat.

Solution:
1. Add two new projects, testh5repack_detect_szip and testh5repack_detect_szipdll under hdf5\tools\testfiles directory, into HDF5 Windows workspace, and add them to the dependencies of "all" dummy project.

The first one will generate an executable file testh5repack_detect_szip.exe, which can detect which Szip library (with or without encoder) was used when the HDF5 binaries were generated, and the detection output can be used with repacktest.bat to determine whether some HDF5 static dump tests need to be skipped.

The second one will generate an executable file testh5repack_detest_szipdll.exe, which can detect which Szip library (with or without encoder) is used when running HDF5 tools tests, and the detection output can be used with repacktest.bat to dynamically skipped some HDF5 DLL dump tests.

So in the future, we still need two sets of static binaries, one for Szip with encoder, and another one for without encoder.  We can share the same DLL binaries for Szip with/without encoder.

2. hdf5\tools\repacktest.bat is updated accordingly to implement this new feature of dynamic discovery of encoder.

3. hdf5\src\H5pubconf.h is updated accordingly by removing "#define H5_SZIP_CAN_ENCODE 1", the previous Szip encoder macro.

4. Several Fortran DLL related files were not installed by hdf5\installhdf5lib.bat file.  Without these files, there will be some trouble to link with Fortran DLL when using HDF5 binary distributions.  Missed files include Module files for hdf5_fortrandll project and DLL outputs for hdf5_f90cstubdll project.

Scripts were added in installhdf5lib.bat to copy these missed Fortran DLL related files to hdf5\hdf5lib directory.

Platforms tested:
Visual C++ 6.0 on Windows 2000/XP.

Misc. update:
2004-11-04 18:57:57 -05:00
Xuan Bai
eec27da1df [svn-r9489] Purpose:
Update.

Description:
Since several new features have been added into HDF5 this week, such as Fortran DLL and several new HDF5 tools, related testing and installation batch files should be updated.

Solution:
1. Update hdf5check.bat file, so HDF5 Fortran DLL will be tested. Kent updated enableall option for hdf5check. enablefortran option is updated now.
2. Update installhdf5lib.bat file, so HDF5 Fortran DLLs and DLL exported libraries will be installed under hdf5\hdf5lib directory. gif2h5, h52gif, h5jam, and h5unjam tools will also be installed.

Platforms tested:
Windows 2000/XP.

Misc. update:
2004-10-29 00:03:06 -05:00
Xuan Bai
9d9c66be1e [svn-r9487] Purpose:
Update.

Description:
Some DLL projects "Code Generation" settings were set as "Single-Threaded", should be set as "Multithreaded DLL or Debug Multithreaded DLL".  Although "Single-Threaded" did not bring any trouble for some projects, "Multithreaded DLL or Debug Multithreaded DLL" will be safer.

Update HDF5build batch file.

Solution:
1. Check all DLL projects settings for C/C++->Code Generation, and set all release versions code generation as ""Multithreaded DLL" and debug versions code generations as "Debug Multithreaded DLL".
2. Update HDF5build.bat file so that HDF5 Fortran DLL projects will be built.

Platforms tested:
Visual C++ 6.0 on Windows 2000/XP.

Misc. update:
2004-10-28 23:04:50 -05:00
Xuan Bai
dfd19d6b6d [svn-r9485] Purpose:
New feature.

Description:
Add a simple HDF5 Fortran DLL example.

Solution:
1. Add a simple HDF5 Fortran DLL example to test HDF5 Fortran DLL under hdf5\fortran\examples\ directory.
2. Updated installf90examples.bat under hdf5\directory to install Fortran DLL examples' executable files.
(Note: HDF5 Fortran example test batch file will be added later as there is no Fortran example tests on Unix now.)

Platforms tested:
Visual C++ 6.0 and DEC Fortran 6.6 on Windows XP.
Visual C++ 6.0 and DEC Fortran 6.0 on Windows 2000.
(Yes, HDF5 Fortran DLL can work with DEC Fortran 6.0 now.  Thanks to Kent!)

Misc. update:
2004-10-28 17:54:30 -05:00
Xuan Bai
bc34b31f3f [svn-r9483] Purpose:
New feature.

Description:
Add HDF5 C++ examples DLL test projects.
Add new HDF5 tools projects.

Solution:
1. Add the following 7 HDF5 C++ examples DLL projects into hdf5\c++\examples directory:
       chunkstestdll
       compoundtestdll
       createtestdll
       extend_dstestdll
       h5grouptestdll
       readdatatestdll
       writedatatestdll
2. Add the above 7 projects to the dependencies of hdf5\c++\examples\allcppexamples project.
3. Update HDF5 C++ examples installation batch file hdf5\InstallcppExamples.bat.
4. Update HDF5 C++ examples testing batch file hdf5\examples\testcppExamples.bat to include C++ example DLL tests.
5. Add HDF5 hdf/gif DLL conversion tools gif2h5dll and h52gifdll projects under hdf5\tools\gifconvdll directory.

Platforms tested:
Visual C++ 6.0 on WIndows 2000/XP.

Misc. update:
2004-10-28 15:45:55 -05:00
Xuan Bai
a8023f025d [svn-r9477] Purpose:
New feature.

Description:
Add HDF5 C examples DLL tests.

Solution:
1. Add the following 8 HDF5 C examples DLL projects into hdf5\examples directory:
       attributetestdll
       chunkreaddll
       compoundtestdll
       extendwritetestdll
       grouptestdll
       readtestdll
       selectestdll
       writetestdll
2. Add the above 8 projects to the dependencies of hdf5\examples\allexamples project.
3. Update HDF5 C examples installation batch file hdf5\InstallExamples.bat.
4. Update HDF5 examples testing batch file hdf5\examples\testExamples.bat to include C example DLL tests.

Platforms tested:
Visual C++ 6.0 on Windows 2000/XP.

Misc. update:
2004-10-27 21:31:09 -05:00
MuQun Yang
84745471a2 [svn-r9473] Purpose:
1.Support Fortran DLL for Decfortran 6.6c.
2. misc. small bug fixes.

Description:
1. No HDF5 fortran DLL is provided in the recent HDF5 release because of
     1) the difficulties to build fortran DLL based on C DLL.
     2) the difficulties to separate fortran DLL from C DLL in hdf5 test suite.
     3) DEC Fortran 6.0 was old and we don't have new DEC fortran 6.6 compiler.


Solution:
0. Updating DEC Fortran 6.6A compiler to 6.6c since there was a bug in 6.6A to fail export variable within module procedure.
1. Using a C stub dll to separate fortran and C codes, previously they were mixed.
2. Using a C stub dll for test suite.
3. Carefully passing the token between export and import DLLs.
4. Now Fortran tests still failed with 1.7 branch, however,
the failure is due to bugs inside HDF5 library because both static and DLL experienced the same failure.
The failure occurred for routine h5premove_f. According to the failure message, it may be due to the invalid array bound.
Anyway, Fortran DLL can be treated as the same as the static library for 1.7 branch with DEC visual 6.6c.


Platforms tested:
windows xp with DEC fortran 6.6c and VS 6.0.

Misc. update:
update some batch files and project file related to this change.
2004-10-27 17:34:04 -05:00
Xuan Bai
a75d43be95 [svn-r9465] Purpose:
New feature.

Description:
Added several library and tools tests project and updated testing batch file.

Solution:
1. Add dangle, dangledll, dtransform, dtransformdll, filename, filenamedll projects under hdf5\test directory.
2. Add talign and taligndll projects under hdf5\tools directory.
3. Add the above 6 projects to the dependencies of "all" project.
4. Update hdf5test.bat under hdf5\test directory to include the above tests.

Platforms tested:
Microsoft Visual C++ 6.0 on Windows 2000/XP.
(Note: As hdf5\tools\lib\talign.c file includes a header file unistd.h, which does not exist in Windows system, we need to update this file to include a Windows Macro to exclude this header file in Windows.)

Misc. update:
Updated hdf5\src\H5Tinit.c
2004-10-26 20:49:33 -05:00
Xuan Bai
229d19bc72 [svn-r9444] Purpose:
New feature.

Description:
Add a simple HDF5 C++ example and a simple HDF5 Fortran example.

Solution:
1. Add a simple HDF5 C++ example to test HDF5 library and tools under hdf5\c++\examples\ directory.
2. Add a simple HDF5 Fortran example to test HDF5 library and tools under hdf5\fortran\examples\ directory.
3. Add an HDF5 C++ example installation batch file installcppexamples.bat under hdf5\ directory.
4. Add an HDF5 C++ example test batch file testcppexamples.bat under hdf5\c++\examples\ directory.
5. Add an HDF5 Fortran example installation batch file installf90examples.bat under hdf5\directory.
(Note: HDF5 Fortran example test batch file will be added later as there is no Fortran example tests on Unix now.)

Platforms tested:
Microsoft Visual Studio 6.0 on Windows 2000/XP.
Microsoft Visual Studio .NET 2003 on Windows XP (C example only).

Misc. update:
2004-10-20 17:25:20 -05:00
Xuan Bai
cc168abb1e [svn-r9439] Purpose:
Update.

Description:
h5repack_layout.c was removed from hdf5/tools/h5repack directory.  HDF5 windows projects using this file should be updated.

Solution:
Delete h5repack_layout.c from h5repack, h5repackdll, and h5repacktst projects.

Platforms tested:
Visual Studio 6.0 on Windows 2000/XP.

Misc. update:
2004-10-19 16:25:33 -05:00
Xuan Bai
5489fe8ca0 [svn-r9379] Purpose:
Update and bug fix.

Description:
Update Windows projects setting as new source code was added.
Fix a bug in hdf5build.bat file.

Solution:
1. Add hdf5/tools/lib/h5tools_type.c into toolslib and toolslibD projects.
2. There was a minor bug with hdf5build.bat file when it is used to build C library only.  Remove redundant scripts in the batch file.

Platforms tested:
Visual C++ 6.0 on Windows XP and 2000.

Misc. update:
2004-10-06 16:29:21 -05:00
Xuan Bai
71737e02ec [svn-r9362] Purpose:
Update hdf5build.bat file.

Description:
Previouly, when building HDF5 from command line, hdf5 and hdf5dll projects were built three times to build HDF5 C/C++/Fortran libraries.  There was due that the "Rebuild" option was used with msdev.exe.  It is kind of wasting to build hdf5 and hdf5dll projects three time.

Solution:
The batch file is reorganized.  So hdf5 and hdf5dll projects will be only be built once.
Also, the syntax detecting feature is added to the batch file.  Now if an unexpected option was given to the batch file, a warning message and the help messages would be shown.

Platforms tested:
Visual C++ 6.0 on Windows 2000 and XP.

Misc. update:
2004-10-04 23:51:59 -05:00
Xuan Bai
8cdfe63e4d [svn-r9360] Purpose:
Update.

Description:
H5DSeq.c was removed from hdf5/src, and H5Defl.c, H5Dselect were added to hdf5/src.  So the related windows projects need to be updated.

Solution:
1. Removed H4DSeq.c from hdf5 and hdf5dll projects.
2. Added H5Defl.c and H5Dselect.c to hdf5 and hdf5dll projects.

Platforms tested:
Visual C++ 6.0 on Windows 2000 and XP.

Misc. update:
2004-10-04 20:19:43 -05:00
Xuan Bai
275da582cf [svn-r9352] Purpose:
Bug Fix.

Description:
Fix bugs in installhdf5lib.bat batch file as described below:
previously, h5diff.exe, h5diffdll.exe, h5repack.exe, and h5repackdll.exe were not installed into hdf5lib directory.

Solution:
Add scripts to copy the above 4 files into corresponding directories under hdf5lib.

Platforms tested:
Windows XP.

Misc. update:
2004-10-01 15:10:49 -05:00
James Laird
5c0011a713 [svn-r9329]
Purpose:
Feature

Description:
Datatypes and groups now use H5FO "file object" code that was previously
only used by datasets.  These objects will hold a file open if the file
is closed but they have not yet been closed.  If these objects are unlinked
then relinked, they will not be destroyed.  If they are opened twice (even
by two different names), both IDs will "see" changes made to the object
using the other ID.
When an object is opened using two different names (e.g., if a dataset was
opened under one name, then mounted and opened under its new name), calling
H5Iget_name() on a given hid_t will return the name used to open that hid_t,
not the current name of the object (this is a feature, and a change from the
previous behavior of datasets).

Solution:
Used H5FO code that was already in place for datasets.  Broke H5D_t's, H5T_t's,
and H5G_t's into a "shared" struct and a private struct.  The shared structs
(H5D_shared_t, etc.) hold the object's information and are used by all IDs
that point to a given object in the file.  The private structs are pointed
to by the hid_t and contain the object's group entry information (including its
name) and a pointer to the shared struct for that object.
This changed the naming of structs throughout the library (e.g., datatype->size
is now datatype->shared->size).  I added an updated H5Tinit.c to windows.zip.

Platforms tested:
Visual Studio 7, sleipnir, arabica, verbena

Misc. update:
2004-09-28 14:04:19 -05:00
Xuan Bai
97dbe75dc1 [svn-r9324] Purpose:
Update.

Description:
Update installhdf5lib.bat batch file.  Cleaned two redundant scripts in the batch file.

Solution:
Clean script.

Platforms tested:
Windows XP.

Misc. update:
2004-09-27 14:17:13 -05:00
MuQun Yang
3730886c9a [svn-r9316] Purpose:
Fix a small bug inside installhdf5lib.bat.

Description:
Fortran .h files are not needed.
Previously c++ header files are not properly moved.

Solution:

Platforms tested:
No need to test.

Misc. update:
2004-09-23 14:41:55 -05:00
Xuan Bai
78f21976dd [svn-r9239] Purpose:
Bug fix.

Description:
Last time, I renamed the SZIP-encode-checking environment variable from H5_SZIP_CAN_ENCODE to HDF5_SZIP_ENCODE.  But I forgot to update the repacktest.bat batch file.  This time, repacktest.bat is updated.

Solution:

Platforms tested:
Not necessary.
(Already tested with Visual C++ 6.0 on XP, but forgot to update it into all.zip last time).

Misc. update:
2004-09-09 21:03:47 -05:00
Xuan Bai
eafc754260 [svn-r9229] Purpose:
New feature and Update.

Description:
1. Updated installhdf5lib.bat file so that libtest_fortran.lib and libtest_fortrand.lib will NOT be installed;

2. Updated the project settings for projects in HDF5 C examples:
   To be consistant with other HDF5 windows project settings:
   1) replaced zlib.lib in Object/library modules with environment variable HDF5_EXT_ZLIB
   2) replaced szlib.lib in Object/library modules with environment variable HDF5_EXT_SZIP
   Also, to prevent the compiler from failing to find hdf5.lib/hdf5d.lib when HDF5 library has been removed from the original folders, added the installed library hdf5lib path in the Additional library path.

3. Added a new batch file testExamples.bat under hdf5\examples directory for the purpose of testing HDF5 C examples.  An expected C examples tests output file testExample_exp_output.txt was aslo added.

4. h5repack testing batch file repacktest.bat has a minor bug.   This minor bug causes some HDF5 repack testing failures when only gzip is disabled.

The failure reasons is that we only checked whether szip or szip encoder is enabled for the following two tests:
   h5repack test_deflate.h5 -f dset_deflate:SZIP=8,NN
   h5repack test_szip.h5 -f dset_szip:GZIP=1

These two tests should also be skipped when gzip is disabled.

5. As HDF5 Fortran DLL does not work with DEC Fortran 6.0, so we do not need to build HDF5 Fortran DLL related projects anymore.

Solution:
Added Checking whether gzip is disabled for the above two h5repack tests.  If gzip is disabled, skip these tests.
Modified hdf5build.bat batch file so HDF5 Fortran DLL related projects will not be built.

Platforms tested:
installhdf5lib.bat, hdf5build.bat, repacktest.bat and testExamples.bat batch files are same in branch 1.6 and 1.7.  These batch files have already been tested in branch 1.6.  So it is not necessary to test for branch 1.7 again.

For the HDF5 C examples, tested in Visual C++ 6.0 in Windows XP.

Misc. update:
2004-09-08 15:45:13 -05:00
Pedro Vicente Nunes
6d52dc8601 [svn-r9198] Purpose:
inserted new code warrior project



Description:

Solution:

Platforms tested:

Misc. update:
2004-09-03 10:42:16 -05:00
MuQun Yang
7ef355d568 [svn-r9197] Purpose:
Code warrior support erased previous change of object settings, we need to resume the old change.

Description:
Xuan checked in the recent change for windows settings(many of them) on Sep. 1st and it was wiped out by code warrior support that used the old all.zip modified on Aug. 27th. In order to maintain the release for windows, we have to resume it.


Solution:

Platforms tested:

Misc. update:
2004-09-03 10:07:30 -05:00
Pedro Vicente Nunes
0914b3606c [svn-r9191] Purpose:
added a new project file for CodeWarrior (the files in the library changed since the last version )


Description:

Solution:

Platforms tested:

Misc. update:
2004-09-02 12:23:58 -05:00
Xuan Bai
df5ca9608d [svn-r9187] Purpose:
New feature.

Description:
Before this update, we use per_hdf_library convention to set environment variables for gzip and szip compression libraries, for example, HDF5_EXT_LIBS = zlib.lib szlib.lib.

As some of HDF5 dump and repack tests should be skipped when gzip/szip are disabled.  But we found it was very complicated to check whether gzip/szip were disabled in Windows with the per_hdf_library convention.  Using per_external_library naming convention makes the checking much easier.  So we decide to convert to per_external_library naming convention.

A new environment variable H5_SZIP_CAN_ENCODE is added to check whether szip encoding is enabled.

dumptest.bat and repacktest.bat batch files are also updated so these tests which use gzip/szip filters will be skipped when gzip/szip are disabled and will be tested when gzip/szip are enabled.

Solution:
Now we should set the following environment variables:
HDF5_EXT_ZLIB = zlib.lib
HDF5_EXT_SZIP = szlib.lib
HDF5_EXT_ZLIB_DLL = c:\zlib114\dll\zlib.lib
HDF5_EXT_SZIP_DLL = szlibdll.lib
when we want to enable gzip/szip.

Set H5_SZIP_CAN_ENCODE as 1 when szip encoding is enabled and as 0 when szip encoding is disabled.

Platforms tested:
Visual C++ 6.0 on Windows 2000/XP.
(Will test with .NET after this check-in).

Misc. update:
2004-09-01 17:27:31 -05:00
Xuan Bai
2f514e2b5c [svn-r9173] Purpose:
Bug fix.

Description:
There was a minor bug in the hdf5check.bat I checked in last night.  We should check check_results.txt (not hdf5_results.txt) to find out whether there are any failed tests.

Solution:
Change hdf5_results.txt to check_results.txt.

Platforms tested:
Minor fix, Kent tested the fix on Windows XP.

Misc. update:
2004-08-27 14:05:21 -05:00
Xuan Bai
875f492181 [svn-r9168] Purpose:
Update.

Description:
Add HDF5 timing tests into hdf5check.bat batch file.
hdf5check.bat batch file will generate a new file tests_results under HDF5 directory to dispaly whether all HDF5 tests passed or not, if failed, which tests failed (the check_results.txt which includes detailed HDF5 libraries and tools tests results will also be generated at the same time).

Solution:

Platforms tested:
Windows 2000/XP.

Misc. update:
2004-08-26 22:17:18 -05:00
Xuan Bai
6a452a343f [svn-r9158] Purpose:
New feature.

Description:
Before this update, to link HDF5 with zlib and szip libraries and DLLs,
zlib.lib szlib.lib were added into Object/library modules in more than
50 windows projects settings; c:\zlib114\dll\zlib.lib szlibdll.lib were
added into Object/library modules in hdf5dll project settings.

With the above settings, if we want to disable zlib and/or szip libraries
and DLLs from HDF5, we have to remove zlib.lib szlib.lib from Object/library
modules in more than 50 projects settings; c:\zlib114\dll\zlib.lib szlibdll.lib
also need to remove from hdf5dll project settings.

The above operations should be done for both release and debug versions.
So it is really very unconvenient to disable zlib and/or szip libraries and DLLs.

Solution:
Add HDF5_EXT_LIBS environment variable and replace zlib.lib szlib.lib
in Object/library modules with $(HDF5_EXT_LIBS)

Add HDF5_EXT_LIBS_DLL environment variable and replace c:\zlib114\dll\zlib.lib
szlibdll.lib in Oject/library modules with $(HDF5_EXT_LIBS_DLL).

If we want to enable both zlib and szip, set
HDF5_EXT_LIBS = zlib.lib szlib.lib
HDF5_EXT_LIBS_DLL = c:\zlib114\dll\zlib.lib szlibdll.lib

If we want to enable zlib and disable szip, set
HDF5_EXT_LIBS = zlib.lib
HDF5_EXT_LIBS_DLL = c:\zlib114\dll\zlib.lib

If we want to disable zlib and enable szip, set
HDF5_EXT_LIBS = szlib.lib
HDF5_EXT_LIBS_DLL = szlibdll.lib

If we want to disable both zlib and szip, set
HDF5_EXT_LIBS =
HDF5_EXT_LIBS_DLL =

Platforms tested:
Tested with Microsoft Visual C++ 6.0/DEC Fortran 6.0 and .NET on Windows XP and
Visual C++ 6.0/DEC Fortran 6.0 on Windows 2000 for all the possible 4 zlib/szip
enable/disable combinations:
1. Enable both
2. Enable zlib and disable szip
3. Disable zlib and enable szip
4. Disable both

Misc. update:
2004-08-25 22:45:16 -05:00
Xuan Bai
e1005f6bd4 [svn-r9122] Purpose:
Update.

Description:
Minor update on hdf5check.bat.

Solution:

Platforms tested:
Windows 2000/XP.

Misc. update:
2004-08-19 15:36:28 -05:00
Xuan Bai
3abcdf8e9c [svn-r9109] Purpose:
Update.

Description:
Add h5jam and h5unjam tools into Windows workspace.

Solution:
1. Add h5jam project in hdf5\tools\ directory, which includes hdf5\tools\h5jam\h5jam.c
2. Add h5unjam project in hdf5\tools\ directory, which includes hdf5\tools\h5jam\h5unjam.c
3. Add h5jamtst project in hdf5\tools\testfiles\ directory, which includes hdf5\tools\h5jam\h5jamgentest.c
4. Add getub project in hdf5\test\ directory, which includes hdf5\tools\h5jam\genub.c
5. Add tellub project in hdf5\test\ directory, which includes hdf5\tools\h5jam\tellub.c

Platforms tested:
Visual C++ 6.0 on Windows 2000/XP and .NET on XP.

Misc. update:
2004-08-18 16:50:54 -05:00
Xuan Bai
3710e39396 [svn-r9097] Purpose:
New Feature.

Description:
Add two new batch files for HDF5 building and testing on Windows.

Solution:
1. Add hdf5build.bat: build hdf5 from command line, which has four opitions:
       hdf5build                       build c library and tools only
       hdf5build enablecpp             build c/c++ libraries and tools
       hdf5build enablefortran         build c/fortran libraries and tools
       hdf5build enableall             build c/c++/fortran libraries and tools
2. Add hdf5bt.bat: this batch file calls hdf5build.bat and hdf5check.bat to
   build and test hdf5 from command line.  It also has four options:
       hdf5bt                       build and test c library and tools only
       hdf5bt enablecpp             build and test c/c++ libraries and tools
       hdf5bt enablefortran         build and test c/fortran libraries and tools
       hdf5bt enableall             build and test c/c++/fortran libraries and tools

Platforms tested:
Windows 2000/XP.

Misc. update:
2004-08-16 17:24:06 -05:00
Xuan Bai
739e7f21ce [svn-r9095] Purpose:
New Feature.

Description:
Add several new batch files for hdf5 windows tests.

Solution:
1. Add install_dll.bat: copy hdf5 dlls to windows system directory.
2. Add install_cppdll.bat: copy hdf5 cpp dlls to windows system directory.
3. Add install_f90dll.bat: copy hdf5 fortran dlls to windows system directory.
4. Add hdf5check.bat: test hdf5 from command line, which has four opitions:
       hdf5check                       test c library and tools only
       hdf5check enablecpp             test c/c++ libraries and tools
       hdf5check enablefortran         test c/fortran libraries and tools
       hdf5check enableall             test c/c++/fortran libraries and tools
5. Update testhdf5tools, dumptest, difftest, lstest, importest, repacktest.

Platforms tested:
Windows 2000/XP.

Misc. update:
2004-08-16 11:53:49 -05:00
Xuan Bai
c221205410 [svn-r9069] Purpose:
Update.

Description:
Binh-Minh checked in two new c++ source codes and two new head files.
Add these files to Windows projects.

Solution:
Add H5VarlenType.cpp, H5VarlenType.h, H5ArrayType.cpp, and H5ArrayType.h
to hdf5_cpp and hdf5_cppdll projects in Windows.

Platforms tested:
Visual C++ 6.0 on Windows XP/2000.
(will test with .NET on XP after this check-in).

Misc. update:
2004-08-11 20:36:47 -05:00
MuQun Yang
a8c59014ca [svn-r9058] Purpose:
windows fortran projects are merged to all.zip. all_withf90.zip is no longer needed.

Description:

Solution:

Platforms tested:

Misc. update:
2004-08-10 19:31:34 -05:00
Xuan Bai
acd568da0d [svn-r9012] Purpose:
New feature.

Description:
Before this update, windows tool testing batch file outputs 2 files.
One shows whether each test passed or failed.  Another file includes the
information from FC command about the difference between the expected output
and actual output.

Now the two output files are merged into one.  When a test passes, the
output file will just show that the test passes.  When a test fails, the
output file will show that the test fails and the difference between the
expected output and actual output from FC command will be included right
below the failed test.

Solution:
Updated dumptest, difftest, lstest, importtest, and repacktest batch files
so that when a test fails, the output from FC command will be redirected to
the file that shows whether a test passes or fails.

Platforms tested:
Windows 2000 and XP.

Misc. update:
2004-08-04 14:45:53 -05:00
Xuan Bai
fa6aa12ff0 [svn-r9003] Purpose:
Update.

Description:
Since hdf5 fortran dll does not work at current time, it is not
necessary to install hdf5 fortran dlls.

Solution:
Comment out those scripts used to install hdf5 fortran dlls
in installhdf5lib.bat.

Platforms tested:
Windows 2000 and XP.

Misc. update:
2004-08-03 16:28:04 -05:00
Xuan Bai
2f5d2a51bd [svn-r9001] Purpose:
Update.

Description:
Before this update, hdf5_fortran release and debug libraries
share the same name hdf5_fortran.lib;
hdf5_f90cstub release and debug libraries share the same name
hdf5_f90stub.lib;
libtest_fortran release and debug libraries share the same name
libtest_fortran.lib.
Rename the debug libraries for the above three projects to distinguish
the release and debug libraries.
hdf5 library installation batch file installhdf5lib.bat does not
install hdf5 fortran libraries and dlls.

Solution:
1. Rename the hdf5_fortran debug library as hdf5_fortrand.lib.
2. Rename the hdf5_f90cstub debug library as hdf5_f90cstubd.lib.
3. Rename the libtest_fortran debug library as libtest_fortrand.lib.
4. Update installhdf5lib.bat so that hdf5 fortran libraries and dlls
   will also be installed.

Platforms tested:
Visual C++ 6.0 on Windows XP and 2000.
(will test on .NET on XP after this check-in.)

Misc. update:
2004-08-03 16:02:38 -05:00
Xuan Bai
6c3c99bdf3 [svn-r8999] Purpose:
New feature.

Description:
Add two new windows projects and one testing batch file.
Update two testing batch files.

Solution:
1. Add a new project h5diffdll, which will generate h5diff dll tool.
2. Add a new windows project h5repackdll, which will generate h5repack dll tool.
3. Add a new hdf5 tool testing batch file -- testhdf5tools.bat, which
   calls h5dump, h5diff, h5ls, h5import, and h5repack tools.  Now all the available
   hdf5 tools can be tested with one batch file.
4. Updated difftest.bat and repacktest.bat testing batch files.

Platforms tested:
Visual C++ 6.0 on Windows XP and 2000.
(will test with .NET on XP after this check-in.)

Misc. update:
2004-08-03 12:07:07 -05:00
Xuan Bai
f09aff4ee2 [svn-r8957] Purpose:
Update.

Description:
Update new source code into windows project and rename hdf5_cpp debug version library.

Solution:
1. Add hdf5\src\H5Dmpioc. into hdf5 and hdf5dll projects.
2. Rename hdf5_cpp debug version library from hdf5_cpp.lib to hdf5_cppd.lib to differentiate
   it from hdf5_cpp release version library hdf5_cpp.lib.

Platforms tested:
Microsoft Visual C++ 6.0 on Windows 2000/XP.
(will test with .NET on Windows XP after this check-in.)

Misc. update:
2004-07-27 15:36:27 -05:00
Xuan Bai
5bae554343 [svn-r8925] Purpose:
Update.

Description:
Update all the hdf5 testing batch files.

Solution:
1. Updated dumptest.bat, difftest.bat, lstest.bat and repacktest.bat files
to match with correspondent testings in Unix.
2. Added one new batch file mask.bat to mask off time information displayed
in some h5ls tests.  The time displayed with h5ls uses a system all that
accountants for the local timezone of the cumputer that run that tests. To solve
this issue, the time information has to be masked off.  Otherwise, the expected
output may be different with the actual output.
3. Updated H5pubconf.h to enable szlib encoder.

Platforms tested:
Microsoft Visual C++ 6.0 on Windows XP and 2000.
(will test with .NET on Windows XP after this check-in.)

Misc. update:
2004-07-21 21:44:43 -05:00