summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r1089] changed the call to open to HDopen since NT needs that 0_BINARY flagPatrick Lu1999-02-211-1/+1
| | | | in it to open binary files.
* [svn-r1088] SnapshotRobb Matzke1999-02-211-1/+1
|
* [svn-r1087] Changes since 19990218Robb Matzke1999-02-2021-1057/+1273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/H5F.c ./src/H5private.h ./src/H5Ipublic.h ./src/H5O.c Fixed a rather nasty bug with file closing that caused the file boot block to be updated incorrectly, effectively truncating the file. The bug I fixed was triggered by: 1. Create a file, F 2. Open an object, X 3. Close file F 4. Reopen file F for read/write. 5. Create and close some objects 6. Close file F 7. Close library (exit). Step 3 pended the close because object X is still open, but the file ID was removed from the H5I_FILE ID group. Step 4 created a new file because it didn't see any matching file on the H5I_FILE ID group. Step 5 extends the file. Step 6 writes the new file boot block to disk. Step 7 closes object X and completes the close from step 3, writing the old boot block information to disk. The new behavior is that step 3 moves the file from the H5I_FILE group to the H5I_FILE_CLOSING group. Step 4 searches both groups and finds the file. Step 5 extends the file using the same H5F_file_t struct as step 3. Step 6 closes the H5F_t struct opened in step 3 but not the H5F_file_t struct shared by steps 1 and 3. Step 7 closes object X which closes the H5F_file_t from step 1, flushing the boot block which was shared by all steps. ./src/H5F.c Added some bulletproofing to file reference counting and removed comments which no longer apply. Added H5F_flush_all() and H5F_close_all() which apply to all files. ./src/H5A.c ./src/H5D.c ./src/H5F.c ./src/H5G.c ./src/H5I.c ./src/H5Iprivate.h ./src/H5R.c ./src/H5RA.c ./src/H5S.c ./src/H5T.c Added the new H5I_free_t data type to describe the function type to be passed as the `free_func' argument to H5I_init_group(). ./src/H5I.c Bulletproofed the object removal functions. Removed comments which no longer apply. Changed global variable names so they don't violate the naming scheme. Added H5I_debug() that prints the contents of an ID group. Removed H5I_inc_ref() because it isn't used. Reindented a couple of functions. ./src/H5.c ./src/H5G.c ./src/H5Ipublic.h Changed H5I_MAXID to H5I_NGROUPS to better relect the fact that it's the total number of valid ID groups. ./src/H5Shyper.c Changed hyperslab offset arrays to signed quantities to get rid of warnings on DEC cluster. ./src/H5Flow.c ./src/H5Fprivate.h Changed the objno argument of H5F_addr_pack() to be unsigned to get rid of warnings on DEC cluster.
* [svn-r1086] SnapshotRobb Matzke1999-02-201-1/+1
|
* [svn-r1085] Added platform T3E.Albert Cheng1999-02-192-0/+7
|
* [svn-r1084] Added configuration for platform T3E whose OS is called unicosmk.Albert Cheng1999-02-191-0/+138
|
* [svn-r1083] Purpose:Paul Harten1999-02-191-2/+6
| | | | | | | | | | | | | | | | | | Bug fix Problem: Currently, when --enable_preduction --disable-debug modes are selected during configure, the optimization level scheduled is -O (-O2). Unfortunately, this level of optimization relaxes too much the alignments necesary for the building, and testing of the hdf5 library. Solution: Lower the level of optimiztion to -O1. This still maintains required alignments. Platform tested: Irix6.5(fuga)
* [svn-r1082] SnapshotRobb Matzke1999-02-192-2/+2
|
* [svn-r1081] Changes since 19990218Robb Matzke1999-02-185-159/+183
| | | | | | | | | | | | | ---------------------- ./src/H5Shyper.c Changed hyperslab offset arrays to signed quantities to get rid of warnings on DEC cluster. ./src/H5Flow.c ./src/H5Fprivate.h Changed the objno argument of H5F_addr_pack() to be unsigned to get rid of warnings on DEC cluster.
* [svn-r1080] Disabled detection of hdf4 during the configuration because hawkwindRobb Matzke1999-02-181-1/+8
| | | | has old enough hdf4 libraries that the h5toh4 test always fails.
* [svn-r1079] SnapshotRobb Matzke1999-02-182-2/+2
|
* [svn-r1078] Changes since 19990215Robb Matzke1999-02-1829-778/+961
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/H5.c Fixed more dependency problems in H5_term_library(). There was a bug in the previous version that could cause the wrong EOF marker to be written to the boot block under certain circumstances. Hopefully this fixes it although I don't ready access to a test case (Mark Miller will test it). ./src/H5F.c ./src/H5Fprivate.h Added an H5F_close_all() that is similar to H5F_term_interface() but which doesn't close the interface. Files that don't have open object headers are closed, others are delayed until all object headers close. All files are flushed. ./src/H5ACprivate.h ./src/H5Bprivate.h ./src/H5Dprivate.h ./src/H5Eprivate.h ./src/H5Fprivate.h ./src/H5Gpkg.h ./src/H5Gprivate.h ./src/H5Gpublic.h ./src/H5HGprivate.h ./src/H5HLprivate.h ./src/H5Iprivate.h ./src/H5MFprivate.h ./src/H5MMprivate.h ./src/H5Oprivate.h ./src/H5Pprivate.h ./src/H5Ppublic.h ./src/H5RAprivate.h ./src/H5Sprivate.h ./src/H5Spublic.h ./src/H5Tpkg.h ./src/H5Tprivate.h ./src/H5Tpublic.h ./src/H5Vprivate.h ./src/H5Zprivate.h ./src/H5private.h ./src/H5public.h Reindented after __DLL__ was added.
* [svn-r1077] Removed -*- makefile -*-Robb Matzke1999-02-181-1/+1
|
* [svn-r1076] SnapshotRobb Matzke1999-02-182-2/+2
|
* [svn-r1075] Fixed a typo of a missing ;Albert Cheng1999-02-171-1/+1
|
* [svn-r1074] Purpose:Paul Harten1999-02-171-9/+9
| | | | | | | | | | | | | | | Bug Fixes Problem: Warnings given during compilation on some machines. Solution: Take care of various Compiler Warnings such as: 1) uninitialized variables; 2) unreachable statements. Platforms tested: Solaris2.5, Linux, Irix6.5
* [svn-r1073] Updated with recent changes.Albert Cheng1999-02-171-0/+3
|
* [svn-r1072] SnapshotRobb Matzke1999-02-172-2/+2
|
* [svn-r1071] Moved the MPI test to a file of its own (t_mpi.c) for future ↵Albert Cheng1999-02-176-257/+259
| | | | | | | | | addition of other MPI tests. Changed return code tests from comparing with FAIL to with 0. Updated MANIFEST for the addition of a new file. Tested in O2k.
* [svn-r1070] Updated to do auto-configuration for parallel tests (testpar)Albert Cheng1999-02-163-16/+39
| | | | | too. Also used mpi function calls to test mpi libraries. Tested on O2K platform.
* [svn-r1069] SnapshotRobb Matzke1999-02-162-2/+2
|
* [svn-r1068] Completed the previous to do auto-configure for parallel tests too.Albert Cheng1999-02-151-7/+6
| | | | | | Also removed the pre-defined "USE_PAUSE" since it should be invoked only in individual cases, rather than as defaults. Tested in O2K.
* [svn-r1067] fixed a problem with the enumdll proj(release)Patrick Lu1999-02-151-0/+0
|
* [svn-r1066] added 3 new projects into the file. enum, enumdll and h5toh4.Patrick Lu1999-02-151-0/+0
| | | | | currently the h5toh4 is not included in the all project since it has some compilation problems.
* [svn-r1065] Changes since 19990121Robb Matzke1999-02-1521-243/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./configure.in ./acconfig.h ./configure [REGENERATED] ./src/H5config.h.in [REGENERATED] ./src/H5public.h ./src/H5Omtime.c Check for <stddef.h> Checks for `__tm_gmtoff' in `struct tm' because old versions of GNU libc are different than recent versions. This fixes the failing mtime test. ./bin/config.guess ./config/freebsd2.2.7 [REMOVED] ./config/freebsd [ADDED] Changed the name so it works with all versions of FreeBSD. ./src/H5.c Moved H5F after H5T and H5G in H5_term_library() to satisfy dependencies. ./src/H5G.c Fixed a bug that caused H5Gcreate() to fail if the group name had trailing slashes. ./src/H5Gpublic.h Changed `group_name' to `name' in a prototype. ./src/Makefile.in Dynamic library on Linux, but needs for work to be generally useful. ./src/H5HG.c ./src/H5HGprivate.h Fixed alignment problems when using old GCC compilers (like the one shipped with RedHad Linux). ./tools/h5ls.c Fixed a bug where the contents of the root group could be listed twice if there was a link back to the root group. Similarly for groups that are mentioned on the command line. Fixed a bug where unknown types were printed with a random type class number. ./src/H5T.c ./src/H5Tconv.c ./src/H5Tprivate.h Fixed O(log N) conversion bugs.
* [svn-r1063] Added a feature to dump all the shell variables initial valuesAlbert Cheng1999-02-112-242/+254
| | | | | to the config.log file for debugging. Made change in configure.in and created configure via autoconf. Tested okay in an O2K.
* [svn-r1062] Adjusted for v1.1 new configuration.Albert Cheng1999-02-101-7/+5
|
* [svn-r1061] Adjusted for v1.1 new configuration.Albert Cheng1999-02-101-1/+11
| | | | | | Hard coded against intN_t types. They are not supported by Intel Red but configure thinks they are by default for cross-compiler. (Need a better solution for this.)
* [svn-r1060] Updated the example in ddl.html and supported features in ↵Ruey-Hsia Li1999-02-092-30/+93
| | | | Tools.html.
* [svn-r1059] Purpose:Paul Harten1999-02-051-7/+30
| | | | | | | | | | | | | | | Bug fix Problem: Did a H5get_type() on a dataset of committed type without doing the associated H5Tclose(). This caused an abort to occur during the atexit() phase of the h5toh4 converter. Solution: Execute the associated H5Tclose(). Platform tested: Solaris2.5
* [svn-r1058] Added a section of SUPPORTED PLATFORMS. Edited in a few platformsAlbert Cheng1999-02-051-2/+14
| | | | that I know for sure.
* [svn-r1057] Updated gcc flags for 2.7.x compilersQuincey Koziol1999-02-031-1/+1
|
* [svn-r1056] Removed carriage returns inserted by a "broken" operating system.Robb Matzke1999-02-033-82/+168
|
* [svn-r1055] Purpose:Paul Harten1999-02-028-40/+55
| | | | | | | | | | | | | | | | Bug fix Problem: The hdp dumper output files used in the h5toh4 converter test program have the result of the latest changes to the HDF4 library, but the converter was to maintain compatability with HDF4.1r2. Solution: Regenerate the HDF4.1r2 version of the hdp dumper ouput files to be used for the h5toh4 converter test program. Platform tested: Solaris2.5
* [svn-r1054] Added H5api_adpt.h tstr*.dmp and tstr2.h5Robb Matzke1999-02-022-1/+5
|
* [svn-r1053] changed the macro for using the dll.Patrick Lu1999-02-021-0/+0
| | | | | HDF5Global and HDF5DLL --> __DLLVAR__ and __DLL__ also added HDF5USEDLL into the projects that use the dll.
* [svn-r1052] changed the HDF5GLOBAL and HDF5DLL to __DLLVAR and __DLL__Patrick Lu1999-02-025-48/+51
| | | | also exported all the non static functions and globals variables to the dll
* [svn-r1051] changed the HDF5DLL and HDF5GLOBAL to __DLL__ and __DLLVAR__Patrick Lu1999-02-0220-526/+526
| | | | also exported all globals and non static functions to the dll
* [svn-r1050] made all non static functions and globals accessible to the dll.Patrick Lu1999-02-0212-149/+149
| | | | changed the HDF5DLL and HDF5GLOBAL to __DLL__ and __DLLVAR__
* [svn-r1049] Corrected a typo in the definition of $AR.Albert Cheng1999-02-021-1/+1
|
* [svn-r1047] Entered the bug fix for IRIX 6.x configure in the CHANGES log.Albert Cheng1999-02-011-1/+6
|
* [svn-r1046] Purpose:Paul Harten1999-02-014-5/+580
| | | | | | | | | | | New feature Solution: Modified h5dumptst.c to generate more single dimension datasets of H5T_STRING type held in file tstr2.h5. Platform tested: Solaris2.5
* [svn-r1045] Purpose:Paul Harten1999-02-011-0/+11
| | | | | | | | | | New feature Solution: Add string conversion testers Platform tested: Solaris2.5
* [svn-r1044] Purpose:Paul Harten1999-02-011-9/+341
| | | | | | | | | | | | | New feature Solution: Changes to support conversion of 1-dimensional HDF5 datasets of H5T_STRING type into HDF4 Vdatas. Also, support conversion of HDF5 attribute of string type into HDF4 attribute of INT8 type. Dimensional information is lost. Platform tested: Solaris2.5
* [svn-r1043] Purpose:Paul Harten1999-02-011-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix Problem: Depending on how the string size changes, different buffers are used when copying from one array of strings to another array of strings. An ASSERTION() is set up to check the validity of the buffer being used for each element of the string array being copied. This ASSERTION() fails for a 10 element string array of string length 42 being copied to a 10 element string array of string length 50. Solution: The overlap variable (olap) is calculated slightly differently. Also, since olap and nelmts are unsigned types, the conditional assignment: d = elmtno >= nelmts-olap ? dbuf : dp should be rewitten as: d = elmtno+olap >= nelmts ? dbuf : dp This same problem/solution may exist in H5T_conv_i_i(), and H5T_conv_f_f(). Platform tested: Solaris2.5
* [svn-r1042] added ./tools/testfiles/tstr-1.ddl and ./tools/testfiles/tstr.h5.Ruey-Hsia Li1999-02-011-0/+2
|
* [svn-r1041] Added the string test file.Ruey-Hsia Li1999-02-011-0/+0
|
* [svn-r1040] Added the expected output for string test.Ruey-Hsia Li1999-02-011-0/+435
|
* [svn-r1039] Added string tests and temporarily disabled test_compound_dt2() ↵Ruey-Hsia Li1999-02-017-90/+397
| | | | | | test. Reflected the format changes to the expected output.
* [svn-r1038] Did some work on the output format for compound data and string.Ruey-Hsia Li1999-02-014-478/+524
| | | | Also added test script for string.