bug fix
Description:
The same h5detect bug also happens in this branch.
Solution:
remove h5detect.c from the windows source directory.
Platforms tested:
windows 2000
Misc. update:
update project to include the new h5import support.
Description:
project h5import was linking with an old h5import.c file under tools/misc,
it compiled okay, but it was not doing what it is supposed to do.
Solution:
link the project with new h5import.c under tools/h5import.
A suggestion is to remove old files from CVS tree or source distribution if they are no longer useful.
Platforms tested:
windows 2000
Misc. update:
update project files
Description:
Several source .c files are added to /src, that needs to be reflected on windows.
Solution:
Platforms tested:
win2000
Misc. update:
maintenance
Description:
1. update H5pubconf.h : change value of H5Z_FILTER_SZIP from 0 to 1, more logic though it's harmless
2. update installhdf5.bat to make the installation of the HDF5 products easy.
Solution:
Platforms tested:
win2000
Misc. update:
1. Re-organize example data space.
2. fix bugs for windows H5pubconf.h
Description:
1. Without modifying project files, the example dataspace won't be built due to the lack
of szlib and zlib. Modify the project files to add those into the project files.
2. Quincey use lint tool to find three harmless bugs at H5pubconf.h, fix them anyway.
Solution:
Platforms tested:
windows 2000
Misc. update:
Flag adding for .Net
Description:
Somehow in .Net environment, libc.lib and libcd.lib are used simultenously and that causes
system function redefined. Thereafter, HDF5 build failed.
Solution:
explicitly set an "ignore" flag to ignore libcd.lib for release build.
Platforms tested:
.Net at xp and VC++ 6.0 at windows 2000
Misc. update:
Purpose: Maintenance for 1.6 release
Description: hdf5 project file did not have new H5Ptest.c and H5Stest.c functions
included.
Solution: Added new files to the project and included new project to the all_withf90.zip
file
Platforms tested: This is a pure Windows change; Windows 2000
Misc. update:
Purpose: Maintenance
Description: H5Stest.c and H5Ptest.c were missing from the hdf5 and hdf5dll
projects. That caused compilation to fail on Windows.
Solution: Added missing files to the projects.
Platforms tested: it is windows change only, so Windows 2002
Misc. update:
Updating zip file for windows
Description:
Kent made two libraries libtest and libtestD for code in
hdf5/test/h5test.c. Some of the C++ tests are using h5test.c,
so I changed them to use the new libraries instead.
Solution:
Added libtest to project dsets_cpp and libtestD to project
dsets_cppdll.cpp and removed h5test.c from them.
Platforms tested:
Windows 2000 - should not effect non-windows platforms
Updating zip file for windows
Description:
Added h5cpputil.h and h5cpputil.cpp to these projects:
dsets_cpp
dsets_cppdll
testhdf5_cpp
testhdf5_cppdll
Platforms:
Windows 2000 - should only effect this platform
added code warrior project file with szip support
to link with szip, it is necessary the precompiled library
located in
/szip/codewarrior/szip.lib
that is included in our szip distribution
Description:
Solution:
Platforms tested:
Code Warrior
Misc. update:
removed a small path warning on the code warrior project
this project is *without* szip support
Description:
Solution:
Platforms tested:
CW
Misc. update:
Purpose: Maintenance
Description: all_withf90.zip file contained unnecessary
all.ncb all.opt hdf5.mcp files
Solution: Removed
Platforms tested: Windows 2000 with Intel and MVSC++ C and Fortran
compilers. SZIP fortran test fails in debug mode
while trying to create a file. It is a failure
similar that Bill reported for 1.5.54 failure on Linux
2.4 with pgf90 compiler. I am looking into the problem.
Misc. update:
add a new project file for Code Warrior
Description:
the old project was with the old H5Farray.c file, causing a build error
Solution:
removed the file from the project settings
Platforms tested:
CW
Misc. update:
Purpose: Maintenance for 1.6 release
Description: Fortran DLLs do not work.
Solution: Disable all DLL projects and build only static fortran library
and tests for 1.6. release
Platforms tested: This is a pure Windows change.
Windows 2000 with MSVC++ and Intel compilers.
Fortran debug SZIP test fails for both compilers.
Misc. update:
A little change for project modification
Description:
libtestD.dll for debug mode is changed to libtestDd.dll to separate
from release version.
Solution:
Platforms tested:
windows 2000
Misc. update:
Windows project-rearrangements, shut off warnings
Description:
1. H5Farray.c is no longer used, removed it from hdf5.dsp.
2. libtestD is supposed to be a windows DLL; however it is treated as static library in the past.
change it back to DLL and add HDF5TESTDLL and HDF5USETESTDLL.
Solution:
1. see above.
2. change h5api_adpt.h and h5test.h, add macro HDF5TESTDLL and HDF5TESTUSEDLL.
These changes will not affect other platforms.
Platforms tested:
windows 2000
Misc. update:
code warrior port
Description:
added H5pubconf.h with H5_NO_SHARED_WRITING and new code warrior project without the fix
to enable shared writing in the open CW function
Solution:
Platforms tested:
CW
Misc. update:
Purpose: Windows maintenance
Description: New C tests were never added to the Fortran Work Space.
Solution: Added new C tests to the Fortran Work Space
Platforms tested: Windows
Static tests pass, DLL fails. Sigh...
Misc. update:
changed the h5pubconf.h file the MALLOC_WORKS definition
for code warrior , which is #undef
this is because pt=malloc(0) returns 0 in code warrior
and was causing a failure in the config_malloc_test
Platforms tested:
code warrior
Misc. update:
Purpose: Windows port for 1.5 branch
Description: Projects files were not up-to-date; Fortran and C libraries,
and tests would not build.
Solution: Updated all projects and coresponding all_withf90.zip file
Platforms tested: Windows 2000
Only static tests (both debug and release) passed on Windows.
DLLs have multiple problems ;-)
Misc. update:
Code Warrior added projects
Description:
Added new CW projects for
file_handle
getname
ntypes
set_extent
h5diff
h5difftst
added #undef for szip for the CW case in H5pubconf.h
/* szip not currently ported to code warrior */
#if defined(__MWERKS__)
#undef H5_HAVE_SZLIB_H
#undef H5_HAVE_FILTER_SZIP
#endif
Solution:
Platforms tested:
CW
Misc. update:
added h5diff test project fo windows
Description:
the h5diff test project is in a paralel path as h5dump test, in /tools/testfiles/h5difftst
Solution:
Platforms tested:
Misc. update:
modification for szip supports on windows
Description:
Special handlings should be used for building DLL to connect DLL to DLL application
Solution:
SZDLL should added as predefined macro for HDF5DLL.
In the application, SZUSEDLL should be used to connect application to HDF5DLL.
Platforms tested:
No needs to test on other platforms except windows since it is windows specified.
Tested on windows 2000.
Misc. update:
To update szip support on windows
Description:
Windows project files have been updatd
Solution:
Windows DLL doesnot work with szip compression. Look into it now.
Windows Static works with szip compression.
Platforms tested:
Since no HDF5 source code has been touched, only test on windows 2000 VS 6.0.
Misc. update:
Purpose:
bug fix
Description:
To avoid warning of defined macro FUNCTION at .NET, _MSC_VER should be used instead of MSC_VER.
Solution:
change MSC_VER to _MSC_VER,furthermore, to avoid future warning,
change MSC_VER == 1300 to _MSC_VER >=1300
Platforms tested:
windows 2000,windows xp(no need to test on other platforms).
Misc. update:
Purpose:
update project files, bug fix and new feature added on windows
Description:
1. bug fix
the maually-maintained H5Tinit.c on windows gave the wrong information of the size of
data type long double due to inconsistent description of the long double at MSDN. After testing with
a real case, find the long double is treated as double on windows. The size is 8 bytes. Previously it
was set to 12.
The alignment information of struct is missed in the old H5Tinit.c.
2. Project files updated
With the Quincey's new additions, Project files hdf5, hdf5dll,testhdf5,testhdf5dll are modified.
Add several test project files on windows, they are ntypes,ntypesdll,file_handle,file_handledll,
getname, getnamedll, set_extent and set_extentdll.
3. New features
H5Tinit.c can be automatically generated from H5detect.c. Adding a workspace and a project file
for users who may build and test HDF5 snapshotes.
Solution:
1. Use automatic-generated H5Tinit.c to replace the manually maintained H5Tinit.c
This automatic-generated H5Tinit.c has been confirmed the same on windows XP and windows 2000.
Platforms tested:
windows 2000,(since the files changed are windows specified *.zip files, it will not affect
non-windows platforms).
Only update projects all-withf90.zip without building and testing due to upcoming modification of fortran projects by
Elena.
Purpose:
windows project updating
Description:
To reflect Qunicey and Ray's changes (add/remove files and filters)
Solution:
Platforms tested:
windows 2000
Misc. update:
Update MANIFEST if you add or remove any file.
Update release_docs/RELEASE for bug fixes, new features, etc.
Update applicable document files too.
Purpose:
update windows project files
Description:
Some new files such H5Tcommit.c is added in.
Solution:
windows 2000
Misc. update:
Update MANIFEST if you add or remove any file.
Update release_docs/RELEASE for bug fixes, new features, etc.
Update applicable document files too.
Purpose:
Update H5pubconf.h on both all.zip and all_withf90.zip
Update some project files on all_withf90.zip
Description:
Make H5pubconf.h work for both .Net and 6.0
Update some project files on all_withf90.zip
Currently fortran interface failed on windows, may be handled after 1.4 release.
Solution:
Platforms tested:
windows 2000
Misc. update:
Update MANIFEST if you add or remove any file.
Update release_docs/RELEASE for bug fixes, new features, etc.
Update applicable document files too.
Purpose:
update hdf5.dsp and hdf5dll.dsp
Description:
Solution:
Platforms tested:
hdf5test.f90 doesnot exist. flush1fortran cannot be built.
Tested Dec fortran on windows 2000.
Misc. update:
Update MANIFEST if you add or remove any file.
Update release_docs/RELEASE for bug fixes, new features, etc.
Update applicable document files too.
Purpose:
Update h5pubconf.h
Description:
Add a macro to distinguish VS 6.0 and VS 7.0 since FUNCTION is a keyword for 7.0
but not for 6.0
Solution:
Use MSC_VER
Platforms tested:
windows 2000
Misc. update:
Update MANIFEST if you add or remove any file.
Update release_docs/RELEASE for bug fixes, new features, etc.
Update applicable document files too.
Purpose:
update the windows project file to catch up with new changes
Description:
various new files or modified file names need to be reflected
Solution:
Platforms tested:
windows 2000
Misc. update:
Purpose:
update windows project file
Description:
Solution:
Platforms tested:
windows 2000(not affect other platforms)
Misc. update:
Update MANIFEST if you add or remove any file.
Update release_docs/RELEASE for bug fixes, new features, etc.
Update applicable document files too.
Purpose:
New feature
Description:
Add deflate and shuffle macro at H5pubconf.h on windows.
Solution:
Platforms tested:
windows 2000
Misc. update:
Update MANIFEST if you add or remove any file.
Update release_docs/RELEASE for bug fixes, new features, etc.
Update applicable document files too.
Purpose:
update windows stuff to catch up with the changing of the library
Description:
REUTRN_ERROR has been replaced by GOTO_ERROR; need to update on windows.
Solution:
Platforms tested:
windows 2000, windows xp
Misc. update:
Purpose:
Update windows including zlib macro updating, new source adding and some source code tuning.
Description:
Need to update fortran case later.
Solution:
Platforms tested:
windows 2000
Purpose:
move zlib out of hdf5/src from development branch
update H5pubconf.h
Description:
The decision has been made to move zlib out of hdf5 source distribution, make it real in development branch.
In dev. branch, H5_HAVE_COMPRESSION replaces H5_HAVE_COMPRESS2, H5_HAVE_ZLIB_H and H5_HAVE_LIBZ etc.
Make windows consistent.
Solution:
Platforms tested:
windows 2000
Purpose:
move zlib out of hdf5/src from development branch
update H5pubconf.h
Description:
The decision has been made to move zlib out of hdf5 source distribution, make it real in development branch.
In dev. branch, H5_HAVE_COMPRESSION replaces H5_HAVE_COMPRESS2, H5_HAVE_ZLIB_H and H5_HAVE_LIBZ etc.
Make windows consistent.
Solution:
Platforms tested:
windows 2000
Purpose:
update windows project
Description:
H5Tinit.c is manually maintained on w2k, FUNC_ENTER and FUNC_LEAVE need to be consistent with the
rest changes of library.
Solution:
Platforms tested:
w2000(many tests failed not due to the check-in, somewhere at H5P.c is not working correctly)
Purpose:
update c++ test project to avoid linking errors
Description:
since gethostname etc. window-version functions may not be linked without modifying project setting in link part; we have to modify project settings for every project affected. dsets_cpp and dsets_cppdll were ignored last time. Now update it.
Solution:
Platforms tested:
windows 2000
Purpose:
1. update the transition from "MACRO_NAME" to "H5_MACRO_NAME" on windows platforms.
2. make gethostname work on windows
Description:
1. All constant defined at H5config.h will be renamed and moved to H5pubconf.h.
SInce no autoconf on windows, H5pubconf.h has to be manually tuned to build HDF5 library.
2. Have to use WS2_startup and WS2_end to make gethostname work. Also change project files to
erase warnings.
Solution:
Platforms tested:
windows 2000
Purpose:
1. add install hdf5 lib.,tools batch file 2. add comments and earse warning 3. update H5pubconf.h
Description:
1. With the request from supporting team, add a batch file that can
automatically move all library, include and binary files to
a directory called hdf5lib under the top directory.
2. H5Tinit.c, H5pubconf.h and H5config.h are adapted from UNIX platform
but manually maintained on windows. Add a one-line comment to avoid
confusions.
3. erase a compiling warning for unlink.dll
4. Update H5pubconf.h, malloc(0) returns a non-NULL pointer for windows;
So define H5_MALLOC_WORK on H5pubconf.h
Solution:
Platforms tested:
windows 2000
Purpose:
change include header format
Description:
the format <> of headers was causing problems in the file H5Tinit.c
Solution:
changed to
#include "H5private.h"
#include "H5Iprivate.h"
#include "H5Eprivate.h"
#include "H5FLprivate.h"
#include "H5MMprivate.h"
#include "H5Tpkg.h"
Platforms tested:
w2000
Purpose:
rearrange project setting
Description:
by default, no c++ library or tests will be built. User will enable by checking dependencies by themselves to build c++ library.
The old all.zip somehow build c++ libraries.
Solution:
correct it by disable c++ dependency.
Platforms tested:
windows 2000
Purpose:
1. fix a bug on all_withf90.zip
2. update windows zlib library to 1.14 version
Description:
1. somehow the workspace and project files were not totally updated on all_withf90.zip
update it now.
2. Update windows zlib library to the 1.14 version in responding to the security problem of zlib.
This updating will not affect other platforms.
Solution:
Platforms tested:
windows 2000
Purpose:
Removed file
Description:
all_lang.zip was intended to be a copy of all.zip including other
language APIs, such as Fortran and C++. Yet, we later decided to
add these APIs to all.zip directly and disable them by default; the
user will enable his/her choice. Thus, this file is no longer needed.
Platforms tested:
None
Purpose:
rearrange projects, erase more warnings, faster compiling
fix a small bug in fortran building
Description:
Previously every testing project includes h5test.c to deal with
test initialization and clean up etc. So h5test.c is compiled dozens of
times for each HDF5 building. It slows down the compiling time and
shows more warnings(dozens of times warnings that h5test.c generates).
Solution:
Make library called libtest.lib and libtestD.lib and connect this library
with testing projects. In this way compiling time is shorter and warnings are reduced.
Platforms tested:
windows 2000
Note: HDF5 fortran debug dll test failed most tests. From the observation,
I suspect it is due to visual fortran compiler. Since debug dll passed all
in VS compiler.
Purpose:
Removing unnecessary file from all.zip
Description:
The file H5config.h.in got into all.zip somehow at some point.
When all.zip is being unzipped, an attempt to replace a newer
H5config.h.in by this file was made. I confirmed this with
Kent and removed it.
Platforms tested:
Windows 2000
Purpose:
Adding C++ support on windows
Description:
Added both static and DLL versions of the C++ API library and tests
to all.zip. The C++ API is disabled, however, and will need to be
enabled by the user.
Platforms tested:
Windows 2000
Purpose:
check code warrior changes at HDF5 branch
Description:
1. add a maro at H5config.h and H5pubconf.h to maintain the correct printf
output in code warrior.
2. update code warrior project changes.
Solution:
Platforms tested:
tested by pedro on windows ?
Purpose:
a bug fix for release dll
Description:
change the project setting for release dll from single-threaded to
multithreaded DLL seems to make all tests pass.
For DLL testing, it should be set to multithreaded DLL anyway.
Solution:
Platforms tested:
windows 2000
[machines you have tested the changed version. This is absolute
important. Test it out on at least two or three different platforms
such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
Purpose:
Adding new zip file for windows
Description:
Added C++ API library and tests to "all" in this new zip file.
The C++ API is disabled, however, and will need to be enabled
by the user.
Platforms tested:
Windows 98
Purpose:
Update H5pubconf.h and H5config.h on windows platform. Would like to be checked by c++ API and see whether the newly checking-in all.zip works.
Description:
H5config.h and H5pubconf.h are all rearranged. Comments have not been added to H5pubconf.h yet. Will be done later.
Solution:
Most auto-generated system specified constants have been manually tuned on windows platforms. Some of them are still unknown. Will wait later.
Platforms tested:
windows 2000
Purpose:
bug fix
HDF5 debug dll test failed when using all_withf90.zip.
Description:
various tests failed when using all_withf90.zip
with the same project setting, all tests passed when using all.zip(C test).
Suspect Digital fortran compiler problem.
Solution:
Find one strange warning message:
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
Following the instruction, ignore msvcrt.lib when linking with hdf5dll.
All tests passed.
Don't know the exact reason since msvcrt.lib is kind of required for DLL.
Platforms tested:
windows 2000
Purpose:
Fixed bugs
Description:
1. tconfig.c finds size of long double and size of off_t are not correct on windows 2000.
Size of long double(8) at the manually hacked H5config.h on windows represents windows NT 4.0.
On windows 2000, it is set to 12. Now H5config.h is fixed to pass windows 2000, but will fail on NT4.0O. This problem needs to be addressed.
2. modify testhdf5 and testhdf5sll projects to fit in the new test.
3. find a release dll bug(cause tattr test failed), later the bug is gone after install VS 6.0 service pack 5. Highly suspect it is a compiler bug.
Solution:
See above.
Platforms tested:
windows 2000
Purpose:
1. rearrange project settings to be consistent with UNIX platforms
2. fix bugs on H5Tinit.c and h5pubconf.h windows version.
Description:
1. overhead, iopipe and chunk testings are moved to perform directory on UNIX platforms
rearrange windows project settings to reflect the changes
2. H5_HAVE_SYS_TIMEB_H is defined in h5pubconf.h, it is only used in the iopipe test.
In iopipe.c, H5_HAVE_SYS_TIMEB is used to get the current time before opening HDF5 file.
This constant is never defined at h5pubconf.h. So iopipe test failed on windows.
3. intn is still used in windows version H5Tinit.c.
4. redefine H5_inline at h5pubconf.h. That will generate warnings like:
..\..\src\H5private.h(150) : warning C4005: 'H5_inline' : macro redefinition ..\..\src\h5pubconf.h(8) : see previous definition of 'H5_inline'
Solution:
1. Rearrange chunk.c,iopipe.c and overhead.c files in project setting.
2. In order not to affect other platform(linux also defines H5_HAVE_SYS_TIMEB_H).
in windows version h5pubconf.h change H5_HAVE_SYS_TIMEB_H into H5_HAVE_SYS_TIMEB.
Now H5_HAVE_SYS_TIMEB is only used by windows platform, iopipe test runs okay.
3. change intn into int.
4. undefine H5_inline on windows version of h5pubconf.h
Platforms tested:
windows 2000(NT5.0) and windows 98.
Purpose:
Maintenance
Description:
Source directory has been rearranged. INSTALL*, HISTORY.txt and RELEASE.txt were moved to the release_docs directory. *.zip files were moved to the windows directory. README file was renamed to README.txt MANIFEST was updated to reflect those changes.