For windows support, Remove all.zip from HDF5.
Description:
Add hdf5 cpp dll project file
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add hdf5 cpp library project file
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add windows all project file and workspace.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add high-level fortran project file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5. Description:
Add high-level fortran project file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add high-level fortran test project file.
Solution:
Platforms tested:
VS 6.0 on windows xp. :wq
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add high-level test batch file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add the c++ project file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add the c++ project file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add the c++ project file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add the c++ test batch file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add the fortran project file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add the fortran project file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
For windows support, Remove all.zip from HDF5.
Description:
Add the fortran project file.
Solution:
Platforms tested:
MSVS 6.0 on windows xp.
Misc. update:
Remove all.zip from HDF5 windows support.
Description:
Add windows specific Fortran files.
Solution:
Platforms tested:
MSVS 6.0 on windows XP.
Misc. update:
Remove all.zip for supporting windows.
Why?
1. Avoid confliction for windows programmers
2. Decrease size of CVS tree by adding all.zip
3. Avoid using winzip as the intermediate step
Kent Yang
Description:
Put all windows project files under hdf5/windows directory.
This check-in includes some batch files.
Solution:
Platforms tested:
VS 6.0, windows XP
Misc. update:
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.
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.
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:
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:
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:
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:
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
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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.
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
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:
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:
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:
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:
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:
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:
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:
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: