Removes H5F_ACC_DEBUG and H5FD_DEBUG functionality.
The H5F_ACC_DEBUG symbol remains but has been defined to zero.
Fixes: HDFFV-1074
Tested on:
h5committest
32-bit Linux w/ C++ and Fortran and multi VFD
We also verified jam, platypus, loyalty and freedom info in the More Tested Platforms section.
Other flavors of UNIX in the More Tested Platforms section will be checked by Allen.
Tested: jam, koala, ostrich (h5committest)
Log from r26690:
Fix error in H5Sextent_copy
When the selection is set to all, H5Sextent_copy did not update the number of
elements in the selection in the destination space. Fixed H5Sextent_copy to do
this. Added tests for this functionality.
Tested: jam, koala, ostrich (h5committest)
Tested: jam, koala, ostrich (h5committest)
Log from r26633:
Add -D_DEFAULT_SOURCE to CPPFLAGS on Linux systems. -D_BSD_SOURCE is deprecated
in recent versions of glibc, and -D_DEFAULT_SOURCE is the replacement. Keep
-D_BSD_SOURCE for now to support older systems. gcc will not issue a warning
about -D_BSD_SOURCE being deprecated when -D_DEFAULT_SOURCE is supplied as well.
Tested: jam, koala, ostrich (h5committest)
Adds new memory allocation functions that use the library's
memory allocator. Intended for use with third-party filter
code.
Tested on: h5committest, Solaris (emu), OS X (quail)
Note: emu fails with the existing Inf/inf case problem in
h5dump but no other tests fail.
HDFFV-8957: h52gif crashes when run against one of our own examples
The tool claimed it could handle 24bit images but there was no code to handle it.
(or might be there were but was removed by previous revisions.)
Also discovered that it does not accept multiple images nor -p for palette
as its user document and online help message indicated.
Solution:
Added code to verify dimension sizes are within 8 bit raster images limit and
added tests to verify the tools correctness.
Need to update user document tool.
Tested: h5committested.
Cleans up time functions in the autotools input files.
- Lumps all the time functionality together in configure.ac.
This was previously more spread out due to Solaris issues
with the ordering of certain checks.
- Removes processing that handles __tm_gmtoff members of struct
tm. (libc-4)
- Removes BSDgettimeofday(). (IRIX 5.3)
- Removes timezone struct processing in gettimeofday(). (considered
harmful)
Fixes: HDFFV-9083 and HDFFV-9085
Tested on: h5committest
OS X (quail)
Solaris (emu)
Removed the configure option that allows selective disabling of individual
internal filters (fletcher32, shuffle, etc.).
This feature mucked up the code with a lot of #ifdefs, saved very little
space and was not scalable to a general scheme for library size reduction.
We've decided to remove the feature while we investigate a more general
scheme for decreasing the library size.
Fixes: HDFFV-9086
Tested on: h5committest
Moves the _POSIX_C_SOURCE, _GNU_SOURCE, and _BSD_SOURCE from AM_CPPFLAGS
to H5_CPPFLAGS in the Autotools configure scripts. This prevents them
from being exported to h5cc, etc. which is inappropriate since they
may interfere with other code.
Fixes: HDFFV-9152
Tested on: h5committest
- Updated configure.ac so that the direct VFD can now be built
without specifying _GNU_SOURCE, etc. on the command line.
- The direct VFD is now disabled by default. It was previously
enabled, but the configuration script couldn't configure it
properly, making it a moot point.
Fixes: HDFFV-9057, HDFFV-7567, HDFFV-9088, HDFFV-7566
Tested on jam (configure/make in various configurations only)
Fixes a bug in the bin/trace script that prevented API calls which
return a pointer from receiving TRACE macros.
Also removes the NO TRACE warnings, which we decided were distracting
and unnecessary.
Tested on: jam (minor change)
Removes the --with-default-vfd option from configure. This was basically
useless and only allowed selecting the stdio VFD. Since this is a demo
VFD and not really a production VFD, we decided to retire this option.
Fixes: HDFFV-9081
Tested on: jam (minor change)
This was due to wrapping a variable with the TEXT() macro and not
forcing the <function>A form of certain Win32 API calls are always used.
Although we do not defined UNICODE in our builds, others have encountered
problems when building HDF5 as a part of a larger project where UNICODE
is defined.
Fix for: HDFFV-8927
Tested on: 64-bit Windows 7, Visual Studio 2012, CMake 3.2
All combinations of static/shared and UNICODE defined/undefined
NOTE: plugin tests are skipped with static builds
Removed a a work-around for a broken CodeWarrior open() call from
configure that causes a test in test/tfile.c to be skipped.
This change removes the H5_NO_SHARED_WRITING symbol.
Tested on: jam (no code changes w/ non-CodeWarrior compilers)
Fix potential memory error reported by valgrind in
H5D__link_chunk_collective_io. This would occur when performing collective I/O
on a dataset with only 1 chunk, and a participating process had nothing to read
or write.
Tested: jam, koala, ostrich (h5committest); in trunk and 1.8