summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r1585] Changes since 19990820Robb Matzke1999-08-241-18/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/H5D.c Added additional elements to a variable initializer in H5Dvlen_get_buf_size() to shut up a warning message. Also added the API tracing call. ./src/H5F.c Added file opening optimizations. If the driver doesn't support the ability to determine when two file handles refer to the same file (like MPIO and GASS) then H5F_open() makes fewer calls to the driver's open callback. Also, if the tentative file access flags are the same as the original flags then H5F_open() makes fewer calls to the file device. ./src/H5FD.c ./src/H5FDprivate.h ./src/H5FDpublic.h Added H5FD_get_class() so the library can get information about what file driver callbacks are defined. This will be useful when more optimization functions are added to the VFL, such as for MPIO derived datatype I/O. ./src/H5FDcore.c ./src/H5FDfamily.c ./src/H5FDmpio.c ./src/H5FDmulti.c ./src/H5FDsec2.c The driver symbols (like H5FD_CORE, etc) are actually function calls. The functions were fixed to return correct values even after calling H5close(). ./src/H5FDmulti.c ./src/H5FDmulti.h Added support for opening a file when parts are missing (only if the caller explicitly allows that in the file access property list). Moved some common code sequences into macros or functions. Added better support for reopening files. All the application has to know is that the file is a multi file and the base name from which all the member names are created. More debugging output when the file is opened with the H5F_ACC_DEBUG flag. Fixed various bugs. ./src/H5Fistore.c Chunked raw data was accidently allocated as meta data instead of raw data. ./src/H5I.c The H5Iget_type() function fails when invoked with an old object ID (an ID which has been closed down). ./test/h5test.c Added an extra argument when setting the multi file access property lists so the test fails if it can't open one of the sub-files. ./tools/h5ls.c Improved the algorithm for deciding what file driver to use. It basically tries all of the predefined drivers and is now able to open family, split, and multi files without looking for special characters in the file name. Added `-e' and `--errors' switches which cause errors from libhdf5 to be reported on stderr in addition to the simple error message displayed by h5ls.
* [svn-r1568] Changes since 19990730Robb Matzke1999-08-102-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- This extensive change is the virtual file layer implementation. I've ported and tested the sec2, family, and core drivers and only ported the mpio driver (Albert will test it). So if you need MPIO I would recommend sticking with the previous version for a while. You will get a few compile warnings about split and stdio drivers not being implemented and possibly tracing information not inserted in some of the drivers. You can safely ignore them but I plan to fix them. I'm still working on the split driver because I just realized that it needs a part of the VFL that isn't written yet. Documentation is being updated also because there were some minor changes (mostly just name changes). It should be available on my web site later this week. ./MANIFEST ./src/Makefile.in ./src/hdf5.h ./src/H5Flow.c [REMOVED] ./src/H5Fstdio.c [REMOVED] ./src/H5Fsec2.c [REMOVED] ./src/H5Fsplit.c [REMOVED] ./src/H5Fmpio.c [REMOVED] ./src/H5Ffamily.c [REMOVED] ./src/H5Fcore.c [REMOVED] ./src/H5MFpublic.h [REMOVED] ./src/H5FD.c [NEW] ./src/H5FDcore.c [NEW] ./src/H5FDcore.h [NEW] ./src/H5FDfamily.c [NEW] ./src/H5FDfamily.h [NEW] ./src/H5FDmpio.c [NEW] ./src/H5FDmpio.h [NEW] ./src/H5FDprivate.h [NEW] ./src/H5FDpublic.h [NEW] ./src/H5FDsec2.c [NEW] ./src/H5FDsec2.h [NEW] Removed/added files for virtual file layer. ./bin/trace ./src/H5.c Removed unused public datatypes and added new VFL public datatypes. Changed an error message. ./config/BlankForm ./config/dec-flags ./config/gnu-flags ./config/hpux10.20 ./config/hpux9.03 ./config/irix5.x ./config/irix6.x ./config/solaris2.x ./config/unicosmk Removed the H5F_OPT_SEEK and H5F_LOW_DFLT constants from the configuration since they're no longer applicable. The default file driver is always the sec2 driver and it always optimizes calls to lseek() or lseek64(). ./config/depend.in C preprocessor errors generated during automatic dependency building are sent to /dev/null to prevent them from appearing twice in the make output. ./src/H5AC.c ./src/H5B.c ./src/H5D.c ./src/H5F.c ./src/H5G.c ./src/H5Gent.c ./src/H5Gnode.c ./src/H5HG.c ./src/H5HL.c ./src/H5O.c ./src/H5Oattr.c ./src/H5Odtype.c ./src/H5Oefl.c ./src/H5Oshared.c ./src/H5T.c ./src/H5detect.c ./test/ohdr.c Changed H5F_ADDR_UNDEF to HADDR_UNDEF to be more consistent with the `haddr_t' datatype which is now a public type. ./src/H5D.c ./src/H5P.c ./src/H5Ppublic.h ./src/H5Tconv.c ./test/cmpd_dset.c ./test/dsets.c ./test/overhead.c ./test/tselect.c ./test/tvltypes.c The H5P_DATASET_XFER constant was changed to H5P_DATA_XFER because the properties apply to all types of I/O operations, not just datasets. ./src/H5B.c ./src/H5Bprivate.h ./src/H5D.c ./src/H5Dpublic.h ./src/H5F.c ./src/H5Farray.c ./src/H5Fistore.c ./src/H5Fprivate.h ./src/H5Fpublic.h ./src/H5Gnode.c ./src/H5Gpkg.h ./src/H5HG.c ./src/H5HL.c ./src/H5O.c ./src/H5R.c ./src/H5Sall.c ./src/H5Shyper.c ./src/H5Smpio.c ./src/H5Spoint.c ./src/H5Sprivate.h ./test/big.c ./test/h5test.c ./test/istore.c ./testpar/t_dset.c ./testpar/t_file.c ./tools/h5debug.c ./tools/h5ls.c Modified to work with the virtual file layer by calling H5FD_* functions instead of H5F_low_* functions and by passing file access and data transfer properties by object ID instead of pointer. Changed H5D_transfer_t to H5FD_mpio_xfer_t since the COLLECTIVE vs. INDEPENDENT transfer mode is specific to the MPIO file driver. Moved MPIO-specific stuff into the MPIO driver. ./src/H5B.c ./src/H5D.c ./src/H5Fprivate.h The H5F_mpio_* private functions were renamed and placed in the H5FDmpio driver except those which appeared in H5Smpio.c. ./src/H5E.c ./src/H5Epublic.h Added major error number H5E_VFL for virtual file layer related errors. ./src/H5F.c ./src/H5Fprivate.h Changed the logic that controls whether the boot block is written. Instead of assuming that the first call to write the boot block is only to allocate space, I've added a function argument which makes this explicit. Changed the way files are compared so that a driver-defined comparison function can be called. Files which belong to different drivers are always considered different. Removed H5F_driver_t since file drivers are now identified by object ID instead of a special non-user-extendible datatype. Removed all the hard-coded low-level file properties which have been replaced by the various file drivers. ./src/H5I.c ./src/H5Iprivate.h Added the H5I_inc_ref() which was removed a few months ago since we finally have a use for it. ./src/H5Ipublic.h Added the H5I_VFL object ID type to identify file drivers in the virtual file layer. ./src/H5MF.c ./src/H5MFprivate.h Moved all the allocation/deallocation code into the virtual file layer which allows file drivers to override much of it. ./src/H5P.c ./src/H5Ppublic.h Moved file driver-specific code into the various file driver files. The H5Pcopy() and H5Pclose() functions make calls into the virtual file driver to manage the memory for driver-specific file access and data transfer properties. ./src/H5private.h ./src/H5public.h The `haddr_t' type is now public. ./test/tfile.c Added a few more comments.
* [svn-r1549] Changes since 19990728Robb Matzke1999-07-281-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/H5B.c [1.3] ./src/H5D.c [1.3] ./src/H5F.c [1.3] ./src/H5Farray.c [1.3] ./src/H5Fcore.c [1.3] ./src/H5Ffamily.c [1.3] ./src/H5Fistore.c [1.3] ./src/H5Flow.c [1.3] ./src/H5Fmpio.c [1.3] ./src/H5Fprivate.h [1.3] ./src/H5Fsplit.c [1.3] ./src/H5Fstdio.c [1.3] ./src/H5G.c [1.3] ./src/H5HG.c [1.3] ./src/H5HL.c [1.3] ./src/H5MF.c [1.3] ./src/H5O.c [1.3] ./src/H5Odtype.c [1.3] ./src/H5Oefl.c [1.3] ./src/H5P.c [1.3] ./src/H5Smpio.c [1.3] ./src/H5T.c [1.3] ./src/H5detect.c [1.3] ./tools/h5debug.c [1.3] Some of the H5F_addr_* functions were optimized away. ./src/H5D.c [1.3] Fixed the return values from NULL to FAIL on one MPI-IO function.
* [svn-r1548] Changes since 19990727Robb Matzke1999-07-281-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./src/H5.c [1.3] ./src/H5AC.c [1.3] ./src/H5ACprivate.h [1.3] ./src/H5B.c [1.3] ./src/H5Bprivate.h [1.3] ./src/H5D.c [1.3] ./src/H5F.c [1.3] ./src/H5Farray.c [1.3] ./src/H5Fcore.c [1.3] ./src/H5Ffamily.c [1.3] ./src/H5Fistore.c [1.3] ./src/H5Flow.c [1.3] ./src/H5Fmpio.c [1.3] ./src/H5Fprivate.h [1.3] ./src/H5Fsec2.c [1.3] ./src/H5Fsplit.c [1.3] ./src/H5Fstdio.c [1.3] ./src/H5G.c [1.3] ./src/H5Gent.c [1.3] ./src/H5Gnode.c [1.3] ./src/H5Gprivate.h [1.3] ./src/H5Gstab.c [1.3] ./src/H5HG.c [1.3] ./src/H5HGprivate.h [1.3] ./src/H5HL.c [1.3] ./src/H5HLprivate.h [1.3] ./src/H5MF.c [1.3] ./src/H5MFprivate.h [1.3] ./src/H5O.c [1.3] ./src/H5Oattr.c [1.3] ./src/H5Ocont.c [1.3] ./src/H5Odtype.c [1.3] ./src/H5Oefl.c [1.3] ./src/H5Olayout.c [1.3] ./src/H5Oprivate.h [1.3] ./src/H5Oshared.c [1.3] ./src/H5Ostab.c [1.3] ./src/H5P.c [1.3] ./src/H5R.c [1.3] ./src/H5Smpio.c [1.3] ./src/H5T.c [1.3] ./src/H5Tvlen.c [1.3] ./src/H5private.h [1.3] ./test/dtypes.c [1.3] ./test/gheap.c [1.3] ./test/istore.c [1.3] ./test/lheap.c [1.3] ./test/ohdr.c [1.3] ./tools/h5debug.c [1.3] File addresses (the `haddr_t' type) are passed by value instead of by reference. The type is no longer a struct. This is one of the preliminary changes needed for the Virtual File Layer stuff. ./src/H5Fprivate.h [1.3] ./src/H5Flow.c [1.3] Some address functions were rewritten as macros.
* [svn-r1521] Forgot to change the arguments for the $diff command when I changedAlbert Cheng1999-07-201-2/+2
| | | | | them for $cmp the last time. Updated it. now it works for --srcdir option too.
* [svn-r1519] Updated the expected output according to the changes Patrick justAlbert Cheng1999-07-201-79/+79
| | | | made.
* [svn-r1515] Changes since 19990715Robb Matzke1999-07-191-18/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./Makefile.in [1.3] ./examples/Makefile.in [1.3] ./pablo/Makefile.in [1.3] ./src/Makefile.in [1.3] ./test/Makefile.in [1.3] ./testpar/Makefile.in [1.3] ./tools/Makefile.in [1.3] ./config/commence.in [1.3] ./config/conclude.in [1.3] ./config/depend.in [1.3] Added a `.PATH' target for Irix pmake which is identical to the VPATH used by most other `make' programs. Irix 6.5 (or 6.4?) and later `make' ignores VPATH. Started all beginning-of-line comments with `##' instead of just `#' because Irix `pmake' barfs on things like the following because it sees the `# if' as a directive: # make will barf on the following line # if running Irix pmake ./config/commence.in [1.3] Added empty definitions for optional `make' macros because Irix pmake complains if it sees a macro which has never been defined. The main body of the Makefiles can redefine these macros to whatever they need.
* [svn-r1513] moved the string after the arrayPatrick Lu1999-07-191-0/+0
|
* [svn-r1512] moved the array before the string in the struct for tstr.h5Patrick Lu1999-07-191-1/+1
|
* [svn-r1508] Updated DDL files for new dumper output.Quincey Koziol1999-07-183-81/+81
|
* [svn-r1498] Updated the expected output file since h5dumptst has changed theAlbert Cheng1999-07-161-0/+0
| | | | content of the corresponding h5 file.
* [svn-r1496] added a -w option so people can change the width of the ↵Patrick Lu1999-07-161-7/+21
| | | | | | output(number of cols) not added to the release only the development
* [svn-r1491] removed teh extra funtion that wasn't being used and now if thePatrick Lu1999-07-161-159/+7
| | | | indentation is greater than the number of columns it will generate an error
* [svn-r1484] ./tools/h5tools.c [1.2, 1.3]Robb Matzke1999-07-141-30/+32
| | | | | | | | | | Fixed a bug reported by Albert: the indices for data printed by h5ls were starting over at zero for each pass through the strip mining loop. Fixed indentation in one function. Replaced commented-out code by #if 0
* [svn-r1477] ./h5ls.c [1.2, 1.3]Robb Matzke1999-07-131-8/+7
| | | | Fixed usage message.
* [svn-r1457] Patrick Lu1999-07-091-1/+1
| | | | fixed the unnamed data type bug(wasn't printing the root slash)
* [svn-r1454] Patrick Lu1999-07-091-1/+1
| | | | removed the comma at the end of the enum data type
* [svn-r1441] Regenerated HDF5 testfiles.Quincey Koziol1999-07-0713-0/+0
|
* [svn-r1429] Patrick Lu1999-07-064-7/+7
| | | | update the ddl so the occurences of H5T_STD_I8LE are not big endian
* [svn-r1428] Patrick Lu1999-07-061-2/+2
| | | | fixed some more bugs
* [svn-r1427] Patrick Lu1999-07-061-7/+8
| | | | fixed some bugs with creating the files
* [svn-r1420] Modified to add new dataset transfer property list ID in ↵Quincey Koziol1999-07-032-2/+2
| | | | H5Tconvert.
* [svn-r1416] fixed a typoPatrick Lu1999-07-021-4/+4
|
* [svn-r1415] hopefully corrected the file to have the appropriate typesPatrick Lu1999-07-021-76/+125
|
* [svn-r1414] Patrick Lu1999-07-021-1/+1
| | | | fixed a typo from the last one
* [svn-r1413] Patrick Lu1999-07-021-0/+3
| | | | added the comment at the top
* [svn-r1412] Patrick Lu1999-07-023-0/+9
| | | | added a comment at the top that tells what the command was to generate the file
* [svn-r1411] Patrick Lu1999-07-022-0/+6
| | | | fixed a bug. need the comment at the top of the file
* [svn-r1410] Patrick Lu1999-07-025-249/+247
| | | | updated the .h5 files and the ddl's to show the new results
* [svn-r1409] Patrick Lu1999-07-021-4/+4
| | | | | | | | | | | | | updated the functions that create the tstr.h5 and tdset.h5 so they have different values in the integer parts of the data. for the tdset: it is i+j for the values instead of just i.(i and j are variables used in a set of nested for loops) for the tstr.h5: changed the data(originally just l to (l+k+j) squared). these 3 variables are from 3 nested for loops. more changes to tests to come
* [svn-r1408] Patrick Lu1999-07-022-0/+0
| | | | new testfiles for the references. created by h5dumptst
* [svn-r1407] Patrick Lu1999-07-023-0/+90
| | | | the ddl's for the new test files
* [svn-r1406] Patrick Lu1999-07-021-0/+0
| | | | a test file that is created from the h5dumptst. ues it to test enums
* [svn-r1405] Patrick Lu1999-07-021-64/+64
| | | | converted all the types to native types to fix the errors
* [svn-r1397] Patrick Lu1999-06-301-3/+3
| | | | | changed the name of 3 files so that it would have a t in front like the other files in this program
* [svn-r1395] Moved to the upper directory.Albert Cheng1999-06-301-1551/+0
|
* [svn-r1394] Changes made by Patrick to the h5dumptst.c in testfiles.Albert Cheng1999-06-301-0/+300
|
* [svn-r1393] Added entry for h5dumptst.c which creates test files for h5dump toolAlbert Cheng1999-06-302-2/+1257
| | | | tests. h5dumptst should be run from inside testfiles directory.
* [svn-r1391] Patrick Lu1999-06-281-1/+3
| | | | added a break for the H5T_ENUM case in the switch in the dump_simple_dset
* [svn-r1390] Patrick Lu1999-06-281-0/+1
| | | | fixed a bug that was making references get printed twice
* [svn-r1389] Patrick Lu1999-06-281-1/+258
| | | | added 2 functions to create a file for data regions and obj references
* [svn-r1384] Patrick Lu1999-06-251-0/+43
| | | | added a function to create an enum test file
* [svn-r1382] Patrick Lu1999-06-252-5/+10
| | | | | | | | | oooops i forgot to include a case statement in two switch statements (1 in each file) that print the actual data of the enum datasets i had to change a line of h5dump_sprint. when it checks to see that is an enum val isn't an escape sequence i appended this result onto the end of the str
* [svn-r1377] Patrick Lu1999-06-241-1/+0
| | | | removed teh TYPE define since it was already there as DATATYPE
* [svn-r1376] Patrick Lu1999-06-241-2/+8
| | | | changed some of the output format for the dumper(show object ids now)
* [svn-r1370] Patrick Lu1999-06-231-0/+1
| | | | added a new line before a bracket was pritned in the enum stuff
* [svn-r1369] Patrick Lu1999-06-221-3/+5
| | | | added semicolons after the print out of the enum info
* [svn-r1367] Patrick Lu1999-06-211-13/+17
| | | | | made a small change so that windows would stop complaining. the change involved using some type casting. the change was surrounded by a #define WIN32
* [svn-r1361] Patrick Lu1999-06-171-2/+20
| | | | made the output for the dataset regions look like how Albert wanted it to
* [svn-r1360] Patrick Lu1999-06-171-7/+225
| | | | | dumps dataset regions now. uses robb's code to get all the info. modified display_numeric_data to display the info