summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r25502] merge from trunk.Mohamad Chaarawi2014-07-311-9/+14
|\
| * [svn-r25496] Description:Quincey Koziol2014-07-301-9/+14
| | | | | | | | | | | | | | | | | | Merge 64-bit ID changes from branch to trunk. (Plus a few minor cleanups that aren't on the branch) Tested on: Mac OSX/64 10.9.4 (amazon) w/C++ & FORTRAN (h5committested on branch already for a week)
* | [svn-r25482] - update is_accessible implementation to use fapl and pass it ↵Mohamad Chaarawi2014-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | down to H5Fint.c - move is_HDF5 inside deprecated macros in H5Fpublic.h - move H5ES_status_t outside of H5VLpublic.h to H5ESpublic.h - rename public properties in H5VLpublic.h to H5VL_PROP_* to add more scoping - no need to include private if pkg is included in H5VLnative.c - rename plist_id to lapl_id in loc_params structs
* | [svn-r25476] - fix error output in several places.Mohamad Chaarawi2014-07-231-1/+1
| | | | | | | | | | - uncomment tests to check error output in Makefiles. - fix bug in native implementation of H5Aiterate.
* | [svn-r25254] merge from trunk.Mohamad Chaarawi2014-06-111-0/+3
|\ \ | |/
| * [svn-r24998] Description:Quincey Koziol2014-04-091-0/+3
| | | | | | | | | | | | | | | | Check in Neil's changes for correctly handling case where library is reinitialized through a deprecated routine. Tested on: Linux 2.4.x/32 (jam)
* | [svn-r24701] merge from trunk to 24700.Mohamad Chaarawi2014-02-131-3/+10
|\ \ | |/ | | | | fix return type for H5T_committed in H5Tget_create_plist.
| * [svn-r24681] Description:Scot Breitenfeld2014-02-041-3/+10
| | | | | | | | | | | | | | | | | | Fix for HDF5/HDFFV-8620 H5Rget_name with NULL name parameter fails. The name parameter now excepts NULL, in which case the length of then name is returned. Tested: jam (intel and gnu)
* | [svn-r24311] change event queue to event stack (just variable names)Mohamad Chaarawi2013-10-171-5/+5
| |
* | [svn-r24301] merge from trunk.Mohamad Chaarawi2013-10-161-1/+0
|\ \ | |/ | | | | resolve conflicts, etc...
| * [svn-r24255] Description:Quincey Koziol2013-10-041-1/+0
| | | | | | | | | | | | | | | | Switch H5I internal data structure from using hash table to skip lists. Tested on: Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN FreeBSD, Linux, etc. forthcoming
* | [svn-r23834] merge from trunk up to r23833.Mohamad Chaarawi2013-06-271-5/+5
|\ \ | |/ | | | | Fixed several conflicts, mostly because calling API routines internally was removed from several places in the trunk.
| * [svn-r23695] Description:Quincey Koziol2013-05-111-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings in H5Tconv.c (down to _only_ 9000 lines of output now!) Merge changes from Coverity branch back to trunk: r20684: Fix for coverity bug #1721 which was due to the fix for coverity bug #943. r20685: Use HDstrncpy. --gh r20761: Purpose: Fix valgrind issues Description: Free image_data and data as appropriate in test_image. r20762: Purpose: Fix coverity issue 600 Description: Add check for return value of H5O_close in H5Ocopy. Also cleaned up various warnings. r20763: Purpose: Fix valgrind issues with h5stat Description: Modified h5stat to free "iter" before exit, and free "hand" before exit if parse_command_line exits directly. r20764: fixed coverity issues: 69, 327, 614, 684, 685, 696, 697, 1681, 967, 826, 660, 80 r20765: Fixed coverity bug 668 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program but I did add a check that n_elements is >= 1. I also changed an error condition from doing its own close and returning -1 to "goto out;" like the rest of the program. r20766: Fixed coverity bug 667 Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning. No actual integer overflow tests are performed since it's just a test program. Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN (h5committest upcoming)
* | [svn-r23473] Update the VOL plugin callbacks with better async I/O support:Mohamad Chaarawi2013-03-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - change hid_t req in callbacks to void **req - change all callbacks to accept dxpl_ids (except dataset write and read which already do) - update all the private and public VL routines to accept a dxpl_id and event queue id - Add an async class for the VOL plugin with cancel, test, and wait request operations - add the external VOL log plugin test to the examples directory NOTE that async operations are still not provided by the HDF5 API, so all event queue IDs and requests passed to all plugins are NULL for now. Tested on jam.
* | [svn-r22809] - bring in plist encode decode changes from trunkMohamad Chaarawi2012-09-251-2/+0
|\ \ | |/ | | | | | | - remove hardocded error comparing tests for now because those will fail - regenerate Makefile.in s due to conflicting versions of autotools
| * [svn-r22750] Removed check-in r22746 because it causes an error in objcopy ↵Scot Breitenfeld2012-09-101-4/+0
| | | | | | | | | | | | on Linew 64 byte. Will check-in again after the issue is resolved.
| * [svn-r22746] Description:Scot Breitenfeld2012-09-091-0/+4
| | | | | | | | | | | | | | | | Fix for HDFFV-7959 H5Rdereference should check for default (HADDR_UNDEF) value and not continue processing and return so that ret value can be checked and handled properly. Added fix and test, reviewed: Tested: jam (gnu, intel)
* | [svn-r22623] merge from tunkMohamad Chaarawi2012-08-021-3/+5
|\ \ | |/
| * [svn-r22608] Description:Quincey Koziol2012-07-261-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch propert list/class iteration from internal to external form of iteration, cleaning up and simplifying the code a bit. Bring other general improvements from plist_encode_decode branch back to trunk. Clean up many warnings. Tested on: Mac OSX/64 10.7.4 (amazon) w/gcc 4.7, debug and C++ & FORTRAN (too minor to require h5committest)
* | [svn-r22603] set return value in H5RcreateMohamad Chaarawi2012-07-251-2/+2
| |
* | [svn-r22584] merge from trunk and resolve type ID registrationMohamad Chaarawi2012-07-161-5/+47
|\ \ | |/
| * [svn-r22582] Description:Quincey Koziol2012-07-161-5/+46
| | | | | | | | | | | | | | | | | | Refactor ID class registration to be more like how other "class"s in the library are registered, and clean up compiler warnings. Tested on: Mac OSX/64 10.7.4 (amazon) w/debug (Too minor to require h5comittest)
* | [svn-r22565] change OH id registration to original way, and re-register the ↵Mohamad Chaarawi2012-07-121-6/+2
| | | | | | | | | | | | | | | | ID with the VOL info on the upper level (API and iteration/visit routines) - this fixes the bug exposed in H5Oopen with external log plugin update the private VL registration routine to take an app_ref update the datatype ID creation for the VOL to take an app_ref
* | [svn-r22542] update H5I_register_type usage to take a free_aux function callbackMohamad Chaarawi2012-07-101-1/+2
| |
* | [svn-r22540] fix bug in H5R_get_nameMohamad Chaarawi2012-07-101-1/+1
| | | | | | | | | | | | | | more named datatype bugs: - fix bug in Name replace traversal callback - fix bug in H5G_test A stable version finally..
* | [svn-r22519] - many bug fixesMohamad Chaarawi2012-07-051-0/+7
| | | | | | | | - still some unresolved issues with named datatypes
* | [svn-r22501] change the interface callbacks for the VOL to use objects ↵Mohamad Chaarawi2012-06-281-9/+78
| | | | | | | | | | | | pointers and public VL structure instead of IDs. tests will fail now because of named datatypes.
* | [svn-r22457] rename location types for objects at the VOL levelMohamad Chaarawi2012-06-121-1/+1
| |
* | [svn-r22456] change all usage of lookup/free VOL callback in H5G,O,A and ↵Mohamad Chaarawi2012-06-121-1/+2
| | | | | | | | | | | | use the loc_param struct instead. update the native implementation
* | [svn-r22452] - remove nrefs paramMohamad Chaarawi2012-06-111-13/+6
| | | | | | | | | | | | | | | | - create a struct to hold parameters for object locations instead of calling into VOL to lookup and free object: * update the implementation for H5Oopen(_by_name/idx/ref) * H5Rderefence * H5Aopen(_by_name), H5Arename(_by_name) * other routines coming later
* | [svn-r22404] split the generic callback into a misc and optional callback ↵Mohamad Chaarawi2012-05-241-1/+1
| | | | | | | | for objects and files
* | [svn-r22399] move location token out of va_list on lookup callbackMohamad Chaarawi2012-05-231-1/+2
| |
* | [svn-r22389] merge from trunkMohamad Chaarawi2012-05-221-0/+6
|\ \ | |/
| * [svn-r22371] Fix for HDFFV-7697Dana Robinson2012-05-151-1/+1
| | | | | | | | | | | | Minor change to error message text in H5R.c. Minor change: tested on jam
* | [svn-r22381] add a VL free location callback and use it as appropriateMohamad Chaarawi2012-05-181-2/+3
| |
* | [svn-r22380] - attribute and object exist callbacks should be part of get ↵Mohamad Chaarawi2012-05-181-0/+4
| | | | | | | | | | | | | | | | | | structs - fix bug in passing req parameter - free location in H5Rdereference - add datatype close callback - H5VL_CREATE_LINK_XXX should be H5VL_LINK_CREATE_XXX
* | [svn-r22306] add a request id to each of the VOL callbacks and update the nativeMohamad Chaarawi2012-04-201-6/+6
| | | | | | | | plugin to pass a NULL request
* | [svn-r22298] fix an error in H5Dget_offsetMohamad Chaarawi2012-04-191-46/+14
| | | | | | | | update the H5R routines to use the VOL
* | [svn-r22250] - fix most of issues from code reviewMohamad Chaarawi2012-04-041-10/+10
|/ | | | | | | - object open routines fall back to the generic VL object open in case the specific call back is not impemented - H5L VOL create/copy/move routines - make VOL create routines have similar interface and stuff parameters in creation plist - some bug fixes
* [svn-r21919] Description:Quincey Koziol2012-02-091-15/+15
| | | | | | | | Refactor function name macros and simplify the FUNC_ENTER macros, to clear away the cruft and prepare for further cleanups. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel
* [svn-r21205] Issue 2763 - adding OAPL_ID as a new parameter to ↵Raymond Lu2011-08-101-0/+3
| | | | | | | | H5Rdereference. I added a check of OAPL_ID against -1 because CMAKE on 64-bit Windows slipped through the function call in the trefer.c test. Tested on jam and CMAKE on 64-bit Windows.
* [svn-r21149] Snapshot version 1.9 release 85HDF Tester2011-07-241-0/+1
|
* [svn-r21124] Issue 2763 - adding OAPL_ID as a new parameter to ↵Raymond Lu2011-07-191-0/+6
| | | | | | | | | H5Rdereference. A followup commit for r21117. I made 2 changes: 1. Quincey changed H5P_DATASET_ACCESS_DEFAULT to H5P_DEFAULT for the tests that call H5Rdereference. Inside H5R_dereference, I assigned H5P_DATASET_ACCESS_DEFAULT to OAPL_ID if it is H5P_DEFAULT. 2. I added the test for invalid OAPL_ID in trefer.c. Tested on jam, koala, heiwa.
* [svn-r21117] Issue 2763 - I added a new parameter of object access property ↵Raymond Lu2011-07-181-14/+18
| | | | | | list to the function H5Rdereference. It's called H5Rdereference2 now. H5Rdereference function has been deprecated to H5Rdereference1. I also added some test cases in trefer.c. Tested on jam, heiwa, and koala.
* [svn-r19398] Descriptino:Quincey Koziol2010-09-161-3/+2
| | | | | | | | | | | | | | | | | | | | | | | Clean up the internal usage H5I_dec_ref() to eliminate the sequence of flags that has been creeping in. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r19363] When mandatory filter failed to write data chunks, the datasetRaymond Lu2010-09-091-1/+1
| | | | | | | couldn't close (bug 1260). The fix releases all resources and closes the dataset but returns a failure. Tested with h5committest - jam, heiwa, amani.
* [svn-r18577] Fix for Bug 1741:Allen Byrne2010-04-151-1/+3
| | | | | | | | H5Rcreate given a region reference with a space_id of -1 throws assert and crashes on Windows machines. Add check for case and return error. Tested: Windows amd local linux
* [svn-r18571] Description:Quincey Koziol2010-04-151-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring r18542 from metadata journaling "merging" branch to trunk: Bring new object header pin/unpin & protect/unprotect routines and split-out object header chunk proxy changes from metadata_journaling branch to "merging" branch, along with some other minor tweaks to clean up compiler warnings, etc. Also: clean up chunk protect/unprotect calls when allocating or freeing space in a chunk, optimize metadata accumulator code to avoid some re-reading of information from the file, refactor H5O_pin/H5O_unpin from way they are done on the merging branch back to way they were previously done on trunk, other minor code cleanups, etc. Tested on FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r18460] Description:Quincey Koziol2010-03-261-1/+1
| | | | | | | | | | | | | | | | | | | Fold metadata journaling changes into the trunk: mostly tweaky small stuff, also removed the H5F_t* field from the H5G_entry_t struct. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r18357] Description:Quincey Koziol2010-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bring r18356 from metadata journaling merge branch to trunk: Converge metadata journaling branch with trunk with a bunch of v1 B-tree changes: - Remove H5ACprivate.h header from H5Bprivate.h header - Revise v1 B-tree client callbacks - Get rid of H5B_serialize() by bringing it into H5B_flush() Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode