summaryrefslogtreecommitdiffstats
path: root/src/H5A.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r25254] merge from trunk.Mohamad Chaarawi2014-06-111-2/+6
|\
| * [svn-r25084] Description:Quincey Koziol2014-04-231-2/+2
| | | | | | | | | | | | | | | | | | Begin process of migrating from using property list IDs internally to the library to using the internal generic property list data structure. Tested on: Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel (h5committest forthcoming)
| * [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-r24311] change event queue to event stack (just variable names)Mohamad Chaarawi2013-10-171-40/+40
| |
* | [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-r24076] Allow H5VLobject_register to create an hid_t for files and ↵Mohamad Chaarawi2013-08-261-5/+0
| | | | | | | | attributes.
* | [svn-r23887] add the VOL error code to H5err.txtMohamad Chaarawi2013-07-111-26/+26
| | | | | | | | rerun reconfigure. All the other changes must be due to different autotools versions used before.
* | [svn-r23803] Add VOL callback for H5AiterateMohamad Chaarawi2013-06-211-69/+32
| | | | | | | | | | Add VOL callback for H5T get routines Update Native implementation
* | [svn-r23473] Update the VOL plugin callbacks with better async I/O support:Mohamad Chaarawi2013-03-281-38/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-r22993] some minor changesMohamad Chaarawi2012-10-311-0/+1
| |
* | [svn-r22584] merge from trunk and resolve type ID registrationMohamad Chaarawi2012-07-161-6/+13
|\ \ | |/
| * [svn-r22582] Description:Quincey Koziol2012-07-161-5/+12
| | | | | | | | | | | | | | | | | | 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-0/+13
| | | | | | | | | | | | | | | | 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-r22549] Mohamad Chaarawi2012-07-101-13/+0
| | | | | | | | | | | | | | | | | | | | move ref count management on the VOL struct inside the VLint code - H5Freopen still needs to be handled create the public interface for VOL callbacks: - unresolved issue with var_args update and create new API fapl calls to support stacking drivers: - need to add fapl copy callback fix a memory leak with registration of external plugins
* | [svn-r22542] update H5I_register_type usage to take a free_aux function callbackMohamad Chaarawi2012-07-101-1/+1
| |
* | [svn-r22523] - rework how IDs for VOL objects are createdMohamad Chaarawi2012-07-061-36/+12
| | | | | | | | | | - change how the vlose routine is registered with VOL IDs - some bug fixes
* | [svn-r22519] - many bug fixesMohamad Chaarawi2012-07-051-1/+2
| | | | | | | | - still some unresolved issues with named datatypes
* | [svn-r22513] fix some committed datatype issuesMohamad Chaarawi2012-07-031-1/+1
| | | | | | | | update get_type routines to construct a VOL datatype if the type is named
* | [svn-r22511] - remove the internal file type and use the file ID created at ↵Mohamad Chaarawi2012-07-031-15/+18
| | | | | | | | | | | | | | the API level for the native implementation - work on fixing the named datatype issue.. still not resolved - branch still not stable and tests do not pass at this point
* | [svn-r22501] change the interface callbacks for the VOL to use objects ↵Mohamad Chaarawi2012-06-281-86/+474
| | | | | | | | | | | | pointers and public VL structure instead of IDs. tests will fail now because of named datatypes.
* | [svn-r22468] split H5F.c into 2 files, H5F.c for public routines and ↵Mohamad Chaarawi2012-06-151-1157/+0
| | | | | | | | | | | | H5Fint.c for private ones move H5A private routines to H5Aint.c
* | [svn-r22457] rename location types for objects at the VOL levelMohamad Chaarawi2012-06-121-13/+13
| |
* | [svn-r22456] change all usage of lookup/free VOL callback in H5G,O,A and ↵Mohamad Chaarawi2012-06-121-38/+122
| | | | | | | | | | | | use the loc_param struct instead. update the native implementation
* | [svn-r22452] - remove nrefs paramMohamad Chaarawi2012-06-111-79/+52
| | | | | | | | | | | | | | | | - 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-r22417] rename the properties used for the VOL callbacks.Mohamad Chaarawi2012-05-291-6/+6
| | | | | | | | move them to the VOL public header.
* | [svn-r22404] split the generic callback into a misc and optional callback ↵Mohamad Chaarawi2012-05-241-6/+6
| | | | | | | | for objects and files
* | [svn-r22399] move location token out of va_list on lookup callbackMohamad Chaarawi2012-05-231-8/+8
| |
* | [svn-r22395] remove the high level ID implementation that wraps the actual ↵Mohamad Chaarawi2012-05-231-20/+16
| | | | | | | | | | | | ID, and store the VOL plugin in an auxilary structure in the ID pointer.
* | [svn-r22384] - fix type in CMake fileMohamad Chaarawi2012-05-211-2/+2
| | | | | | | | - rename delete callback to remove
* | [svn-r22381] add a VL free location callback and use it as appropriateMohamad Chaarawi2012-05-181-17/+31
| |
* | [svn-r22380] - attribute and object exist callbacks should be part of get ↵Mohamad Chaarawi2012-05-181-2/+6
| | | | | | | | | | | | | | | | | | 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-39/+39
| | | | | | | | plugin to pass a NULL request
* | [svn-r22283] H5Lget routines through VOLMohamad Chaarawi2012-04-121-89/+48
| | | | | | | | | | | | | | | | H5G and H5A deprecated routines through VOL H5A exists(_by_name), delete_by_idx, rename through attr generic callbacks H5O incr/decr_ref_count set_comment(_by_name) exists(by_name) through a generic Object cb remove the attr generic callback and use the object generic callback instead add the usual workarounds for named datatypes in test code
* | [svn-r22279] implement the attribute delete VOL callbackMohamad Chaarawi2012-04-111-38/+16
| | | | | | | | use the VOL get_space instead of the API routine in vlen_get_size
* | [svn-r22274] merge from trunk, resolve conflictsMohamad Chaarawi2012-04-101-0/+30
|\ \ | |/
| * [svn-r22171] Description:Quincey Koziol2012-03-281-0/+30
| | | | | | | | | | | | | | | | | | Bring "merge committed datatypes during H5Ocopy" feature from branch to trunk. (Also has some minor bugfixes with it) Tested on: Mac OSX/64 10.7.3 (amazon) w/debug (h5committest coming up)
* | [svn-r22271] unwrap the high level ids in several placesMohamad Chaarawi2012-04-091-2/+2
| | | | | | | | | | add some workarounds for named datatypes in test cases and H5T routines fix some iterate bugs with UD links
* | [svn-r22258] links and attributes VOL routinesMohamad Chaarawi2012-04-081-242/+260
| | | | | | | | | | change native location token to be of type H5O_loc_t several bug fixes and issues resolved
* | [svn-r22250] - fix most of issues from code reviewMohamad Chaarawi2012-04-041-0/+25
|/ | | | | | | - 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-42/+42
| | | | | | | | 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-r21629] Purpose: Update fix committed in r21556Neil Fortner2011-10-201-2/+2
| | | | | | | | Description: An old patch was mistakenly committed in r21556. Replaced this fix with the latest. Tested: jam, koala, heiwa (h5committest)
* [svn-r21556] Purpose: Fix bug in H5OcopyNeil Fortner2011-10-131-2/+2
| | | | | | | | | | | | | Description: H5Ocopy could get confused when copying a named datatype containing an attribute which used that named datatype as its datatype. This happened because H5Ocopy would recurse into the attribute's datatype before the object the attribute was in was fully copied (i.e. before the "post-copy" pass). Modified H5Ocopy to avoid recursing before the post-copy step in this case. Required many changes, including to how non-committed shared messages are copied. Tested: jam, koala, heiwa (h5committest); durandal
* [svn-r21152] Description:Quincey Koziol2011-07-281-0/+4
| | | | | | | | | | | | | | | | | | | | Further patches for Jira 7638, to ensure that H5D/Aget_type will be attached to the correct top file. (This change to the library should reverted when Jira 7638 is finally finished) Tested on: FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, 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 (koala) 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 Mac OS X/32 10.6.8 (amazon) in debug mode Mac OS X/32 10.6.8 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r20885] Description:Quincey Koziol2011-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring Coverity changes back to trunk: r20340: Address coverity issue 248. Set freed pointer to NULL if realloc fails, then check for NULL before attempting to close array of handles stored in memory addressed by pointer. r20341: Added initialization udata.path = NULL; udata.visited = NULL; to prevent unintialized use after done: label. Do C-style initialization AFTER all variable definitions. r20342: Fix valgrind error in H5DUMP-XML-tall.h5 r20343: Addressed Coverity issue 591 - check the return value of H5S_SELECT_ITER_RELEASE. r20344: Added initialization udata.path = NULL; to prevent uninitialized used after done: label r20347: Purpose: Fix memory leak in overhead.c Description: Fixed leak in test() in overhead.c where array "had" was never freed. r20348: Addressed Coverity issue 705 - added prototype for resize_configs_are_equal to cache_common.h. r20392: Purpose: Fix coverity issues 1677 and 1678 Description: Added return value checking for 4 funciton calls in H5tools_get_symlink_info(). r20394: Purpose: Fix coverity issues 1674 and 1675 Description: Modified H5Epush2() and H5E_printf_stack() to keep track of whether va_start() has been called, and to call va_end() at the end if so. r20395: Should be H5MM_calloc(count * sizeof(void*)). Fixed --gh r20396: Should be H5MM_calloc(count * sizeof(void*)). Fixed. --gh Tested on: Mac OSX/32 10.6.7 (amazon) w/debug & production (h5committested on branch)
* [svn-r20513] Description:Quincey Koziol2011-04-151-3/+7
| | | | | | | | | | | | | | | | | | | | | | Correct several problems with compound datatypes that don't have any fields added: - Change assertion to error report when a file is encountered which has this situation. - Added check to attribute creation to avoid creating attributes with a datatype like this (datasets and named datatypes already have the check) 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
* [svn-r19398] Descriptino:Quincey Koziol2010-09-161-11/+11
| | | | | | | | | | | | | | | | | | | | | | | 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-6/+6
| | | | | | | 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-r19272] Description:Quincey Koziol2010-08-201-3/+4
| | | | | | | | | | | | Close out various resource leaks and usages of uninitialized memory that were flagged by valgrind. [There's still some more valgrind warnings, but it's better now... :-/ ] Also clean up warnings and code formatting. Tested on: Mac OS X/32 10.6.4 (amazon) w/debug & valgrind (h5committest forthcoming)
* [svn-r19005] Purpose:Mike McGreevy2010-06-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Commit metadata tagging framework. Description: This check-in contains a new framework whose goal is to apply a tag value to each new entry in the metadata cache as it is created. This tag value is such that it relates each piece of metadata to the HDF5 object that it belongs to (dataset, group, et cetera). This changeset includes the framework that applies the tags as well as a suite of tests to verify correct tag application, though does not yet make use of the tag values to flush/evict individual objects. Please refer to the "flush/evict individual objects" RFC for further discussion of these changes. Tested: jam, amani, linew (h5committest) liberty, abe, blue print