summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools_utils.c
Commit message (Collapse)AuthorAgeFilesLines
...
* [svn-r14131] Description:Quincey Koziol2007-08-301-4/+5
| | | | | | | | | | | | | | Move H5Giterate() and H5G_iterate_t to deprecated symbols section, replacing them with H5Literate and H5L_iterate_t respectively. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) AIX/32 5.3 (copper) Solaris/32 5.10 (linew) Mac OS X/32 10.4.10 (amazon)
* [svn-r13948] Description:Quincey Koziol2007-07-051-1/+1
| | | | | | | | | Make h5dump more gracious and informative about objects it doesn't understand. Tested on: Mac OS X/32 10.4.10 (amazon) No need for h5committest - very minor
* [svn-r13766] In Visual Studio 2005 for 64-bit, _WIN32 is defined, but not ↵Scott Wegner2007-05-181-3/+3
| | | | | | | WIN32, so I've standardized all #ifdef's to use _WIN32. This should not affect any other platform. Tested: Visual Studio (32- and 64-bit) on Win XP
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r13026] Pedro Vicente Nunes2006-12-061-23/+26
| | | | fix some memory allocation problem with info->prefix
* [svn-r13024] Pedro Vicente Nunes2006-12-061-1/+1
| | | | | | | | fixed 2 initializations of char* with HDstrdup and HDcalloc info->prefix = HDcalloc(1, 1); fname = HDstrdup(argv[opt_ind]); some were exposed by compiler warnings
* [svn-r12883] Pedro Vicente Nunes2006-11-081-0/+20
| | | | | | h5dump bug 701. Symptom: The creation of a hardlink pointing to the root group "/" causes h5dump to display it as a link pointing to itself. Cure: the root group was not being inserted in the table that keeps track of object names and links. Added a test for this in the test generation program, the creation of a hardlink to the root
* [svn-r12254] Purpose:Quincey Koziol2006-04-141-8/+12
| | | | | | | | | | | | | | Anti-feature Description: Revert changes to H5G_stat_t struct, to make it compatible with the 1.6.x branch again. The information that was added to the H5G_stat_t struct will be reported through other API routines. Platforms tested: FreeBSD 4.11 (sleipnir) w/C++ Linux 2.4/64 (mir) w/C++ & Fortran Solaris 2.9 (shanti)
* [svn-r11886] Purpose:Quincey Koziol2006-01-231-1/+1
| | | | | | | | | | | | | Code cleanup Description: Check in some of the code cleanups from working on the external link support. (This doesn't include any of the external link features) Platforms tested: FreeBSD 4.11 (sleipnir) Mac OSX.4 (amazon) Linux 2.4
* [svn-r11730] Purpose:Quincey Koziol2005-11-161-58/+60
| | | | | | | | | | | | | | | | | Bug fix Description: Correct use of H5Gget_objinfo() which recent compact group checkins exposed: we were attempting to follow dangling soft links. Solution: Don't follow links for H5Gget_objinfo() when initializing object tables for h5dump. Platforms tested: Solaris 2.8 w/64-bit enabled Linux 2.4 FreeBSD 4.11 (sleipnir)
* [svn-r11304] Purpose:Quincey Koziol2005-08-271-8/+8
| | | | | | | | | | | | | Code cleanup (sorta) Description: Adjust H5G_stat_t to prepare for eventual "external link" information. This also puts the information for regular objects and soft links into more obviously separate places. Platforms tested: FreeBSD 4.11 (sleipnir) Linux 2.4
* [svn-r11297] Purpose:Quincey Koziol2005-08-251-211/+179
| | | | | | | | | | | | Code cleanup & speedup Description: Refactor h5dump & related code to be considerably cleaner & faster for files with large #'s of objects. Platforms tested: FreeBS 4.11 (sleipnir) Linux 2.4
* [svn-r11259] Purpose:Albert Cheng2005-08-171-1/+0
| | | | | | | | | | | | | | | | | | | | Bug fix Description: ph5diff had been hanging in Tflops. Found out that vsnprintf ph5diff uses was a local coded that did not limit printing according to the size argument. That resulted in buffer overflow and other problems. Solution: Added some sort of size checking in the home-grown vsnprintf and had ph5diff checked for error return of vsnprintf. Leon also revamped the ph5diff manager's way of handling communications with the workers. That eliminated all but the last case of hanging. Platforms tested: Tflops. Misc. update:
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-14/+14
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11222] Purpose:Albert Cheng2005-08-091-0/+25
| | | | | | | | feature Description: Add the test for tmpfile. If it does not exist, compile in our own version (which always returns NULL for now.)
* [svn-r10637] Purpose:Quincey Koziol2005-04-211-1/+1
| | | | | | | | | | | | Bug fix/code cleanup Description: Add tests to determine that very long (64K+) object names are working. Fixed a couple of bugs in h5dump where they weren't... Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
* [svn-r9961] Pedro Vicente Nunes2005-02-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Purpose: bug fix, new test file Description: h5dump was not properly displaying array indices > 3D Solution: added the same algorythm and data structure that h5diff uses to calculate the array index from a element number position Platforms tested: linux solaris Misc. update:
* [svn-r8596] Purpose:MuQun Yang2004-05-281-5/+0
| | | | | | | | | | | | | | | bug fix Description: Currently h5dump test on windows won't separate error form standard output; which shows at function error_message. A #ifdef WIN32 macro at this file make stderr to be the same as stdout on windows. Solution: Separate standard error from standard output. Platforms tested: windows xp VS 6.0(by xuan bai), no needs to test on other platforms Misc. update:
* [svn-r7327] Purpose:Quincey Koziol2003-08-081-12/+10
| | | | | | | | | | Refactored code Description: Chase changes of 'objno' and 'fileno' fields in H5G_stat_t structure. Platforms tested: h5committested
* [svn-r6544] Purpose:Bill Wendling2003-03-311-3/+14
| | | | | | | | | | | | Update Description: Update copyright statement Platforms tested: Linux (Comment change only) Misc. update:
* [svn-r5674] Purpose:Quincey Koziol2002-06-191-1/+1
| | | | | | | | | | Code cleanup Description: Removed more compiler warnings, etc. Platforms tested: Linux 2.2.x (eirene) w/parallel
* [svn-r5200] Purpose:Quincey Koziol2002-04-181-2/+2
| | | | | | | | | | Code Cleanup Description: Clean up compiler warnings from the last bunch of checkins Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5023] Purpose:Bill Wendling2002-02-271-2/+6
| | | | | | | | | | | | | | | | | | | Bug Fix Description: There was a problem with having a lot of groups nested together. We could only handle 1024 characters at most, but, in a parallel program especially, it could occur that there were lots and lots of groups and would be more than 1024. Solution: I made the "objname" part of the obj_t structure a pointer instead of a fixed size. Added code to allocate/deallocate the memory we need for it. Had to fix how the "prefix" was being handled in the h5dump program. It was also set to only 1024 characters in length. I made it dynamic. Added a test case...Go me! Platforms tested: Linux, Solaris
* [svn-r4012] Purpose:Quincey Koziol2001-06-181-92/+97
| | | | | | | | Clean up compiler warnings. Description: Just code neatening mostly, some casts, etc. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3633] MuQun Yang2001-03-141-0/+6
| | | | | | | | | | | | | Purpose: fixing the format of dumper output for windows test Description: New dumptest includes the feature that an error of the output will be put into stderr in linux On windows, that stderr will not be redirected into the output file and the comparsion between the expected file and the dumper output is not correct. Solution: change fprintf(stderr .....) at h5tool_util.c into fprintf(stdout ......) so that it fits the comparison. Platforms tested: windows 2000
* [svn-r3571] Purpose:Bill Wendling2001-03-081-0/+648
New Modules Description: Separated the "generic" functions out of the h5tools module into their own separate module to make things a bit nicer to deal with. Platforms tested: Linux