summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * [svn-r25496] Description:Quincey Koziol2014-07-301-8/+12
| | | | | | | | | | | | | | | | | | 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-r25254] merge from trunk.Mohamad Chaarawi2014-06-111-10/+9
|\ \ | |/
| * [svn-r25084] Description:Quincey Koziol2014-04-231-10/+5
| | | | | | | | | | | | | | | | | | 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/+4
| | | | | | | | | | | | | | | | 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-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-r24208] Merge revisions through r24202 from trunk to vol branchNeil Fortner2013-09-271-6/+7
|\ \ | |/ | | | | | | | | Tested: jam, koala, ostrich, platypus (h5committest) There are failures on platypus (cmake) that were present previously
| * [svn-r24101] Description:Quincey Koziol2013-09-051-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings, enable new compiler warning flag(s) and bring back changes from Coverity branch: r20813: Remove the dead code as listed for coverity bug #1722. h5committested. r20814: Issue 69: Check return value and throw error if negative return. Also free datatype id on error r20815: Use HDstrncpy. --gh r20816: Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832. r20817: Use HDstrncpy and HDstrncat. --gh r20818: Purpose: Fix valgrind issues with h5jam Description: Modified h5jam to free strings strdup'd in parse_command_line before exit. Note that they may still not be freed in case of error, due to the widespread use of exit(). r20819: Issue 80: change loop to use int as loop index. r20820: Maintenance: Fixed the bug found by coverity CID 788 There were two problems with this function: 1) it tried to unnecessary free NULL pointer 2) it tried to allocate c_name buffer that is done by H5Pget_class_name Tested on: Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN (too minor to require h5committest)
* | [svn-r24044] Merging r23833 through r24043 from trunk.Mohamad Chaarawi2013-08-211-0/+8
|\ \ | |/
| * [svn-r23938] remove "switch missing default case" in src.Mohamad Chaarawi2013-07-261-0/+8
| |
* | [svn-r23834] merge from trunk up to r23833.Mohamad Chaarawi2013-06-271-37/+37
|\ \ | |/ | | | | Fixed several conflicts, mostly because calling API routines internally was removed from several places in the trunk.
| * [svn-r23713] Description:Quincey Koziol2013-05-211-37/+37
| | | | | | | | | | | | | | | | | | | | Clean up warnings, switch library code to use Standard C/POSIX wrapper macros, remove internal calls to API routines, update checkapi and checkposix scripts. Tested on: Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN Big-Endian Linux/64 (ostrich)
* | [svn-r23443] merged from trunkMohamad Chaarawi2013-03-251-2/+2
|\ \ | |/
| * [svn-r23313] Description:Quincey Koziol2013-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring changes from Coverity branch to the trunk: r20612: Changed string functions to versions with string length to fix coverity issues 922, 942 and 943. r20614: Use HDsnprintf. --gh r20675: Fix for coverity #1714 due to the fix for #810. Use HDfree() instead of H5MM_xfree(). r20678: Repaired coverity issue #598 -- failure to check return value from a call to fstat(), or to tidy up in the event of failure. r20679: Use HDstrncpy. --gh r20681: Use HDstrncat and HDstrncpy. --gh Tested on: Mac OSX/64 10.8.2 (amazon) w/Debug, etc. (too minor to require h5committest)
* | [svn-r22995] merge from trunk up to 22994.Mohamad Chaarawi2012-10-311-0/+2
|\ \ | |/
| * [svn-r22914] I checked in the conversion function H5T__conv_enum_numeric ↵Raymond Lu2012-10-171-0/+2
| | | | | | | | | | | | (numeric type means integer or floating number) and the C test for it. This is the work for Chicago. Tested on jam, koala, and ostrich.
| * [svn-r22807] Description:Quincey Koziol2012-09-251-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add encode/decode API routines for property lists: H5Pencode/H5Pdecode. 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 (ostrich) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (ember) w/Intel compilers, w/parallel, C++ & FORTRAN, in production mode Mac OS X/32 10.7.3 (amazon) in debug mode Mac OS X/32 10.7.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.7.3 (amazon) w/parallel, in debug mode
| * [svn-r22749] Description:Dana Robinson2012-09-101-141/+192
| | | | | | | | | | | | | | Undo of accidental check-in of H5T code in last check-in. Tested on: jam w/ parallel enabled (revert to pre-existing code)
| * [svn-r22748] Description:Dana Robinson2012-09-101-192/+141
| | | | | | | | | | | | | | H5FD_FLMAP_SINGLE changed to H5FD_FLMAP_DICHOTOMY in the MPI-POSIX VFD. Tested on: jam w/ parallel and fortran enabled (minor change)
* | [svn-r22623] merge from tunkMohamad Chaarawi2012-08-021-4/+9
|\ \ | |/
| * [svn-r22608] Description:Quincey Koziol2012-07-261-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r22587] update the H5I_register_aux to not take the free routine, as it ↵Mohamad Chaarawi2012-07-171-1/+1
| | | | | | | | is registered already in the class for each type
* | [svn-r22584] merge from trunk and resolve type ID registrationMohamad Chaarawi2012-07-161-225/+261
|\ \ | |/
| * [svn-r22582] Description:Quincey Koziol2012-07-161-226/+262
| | | | | | | | | | | | | | | | | | 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-r22542] update H5I_register_type usage to take a free_aux function callbackMohamad Chaarawi2012-07-101-1/+1
| |
* | [svn-r22532] fix more named datatype issues.Mohamad Chaarawi2012-07-091-9/+1
| | | | | | | | move the dataset ID registration to H5Dint where the term_interface func is located
* | [svn-r22523] - rework how IDs for VOL objects are createdMohamad Chaarawi2012-07-061-1/+2
| | | | | | | | | | - change how the vlose routine is registered with VOL IDs - some bug fixes
* | [svn-r22519] - many bug fixesMohamad Chaarawi2012-07-051-4/+0
| | | | | | | | - still some unresolved issues with named datatypes
* | [svn-r22513] fix some committed datatype issuesMohamad Chaarawi2012-07-031-2/+2
| | | | | | | | 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-0/+7
| | | | | | | | | | | | | | 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-16/+15
| | | | | | | | | | | | pointers and public VL structure instead of IDs. tests will fail now because of named datatypes.
* | [svn-r22395] remove the high level ID implementation that wraps the actual ↵Mohamad Chaarawi2012-05-231-12/+3
| | | | | | | | | | | | ID, and store the VOL plugin in an auxilary structure in the ID pointer.
* | [svn-r22380] - attribute and object exist callbacks should be part of get ↵Mohamad Chaarawi2012-05-181-1/+1
| | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | plugin to pass a NULL request
* | [svn-r22297] merge from trunkMohamad Chaarawi2012-04-181-228/+229
|\ \ | |/
| * [svn-r22287] Description:Quincey Koziol2012-04-161-228/+229
| | | | | | | | | | | | | | | | Clean up more FUNC_ENTER/FUNC_LEAVE macros and move H5D & H5T code toward the final design (as exemplified by the H5EA & H5FA code). Tested on: Mac OSX/64 10.7.3 (amazon) w/debug & parallel
* | [svn-r22274] merge from trunk, resolve conflictsMohamad Chaarawi2012-04-101-1/+2
|\ \ | |/
| * [svn-r22219] Description:Quincey Koziol2012-03-311-1/+2
| | | | | | | | | | | | | | | | Merge "file image" changes from feature branch back to trunk. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug (h5committest upcoming)
* | [svn-r22271] unwrap the high level ids in several placesMohamad Chaarawi2012-04-091-1/+12
| | | | | | | | | | add some workarounds for named datatypes in test cases and H5T routines fix some iterate bugs with UD links
* | [svn-r22119] Changes:Mohamad Chaarawi2012-03-221-10/+16
|/ | | | | | | | | | | - add VOL implementation for H5O, H5D, and H5T functions - update the VOL interface with H5VLget routines - make upper level IDs of Type H5I_XXX_PUBLIC - bug fixes Comments: - some routines still don't go through VOL but have a workaround so they don't have to at the moment.
* [svn-r21919] Description:Quincey Koziol2012-02-091-79/+80
| | | | | | | | 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-r21734] Issue 7582 - The library allowed the conversion of strings ↵Raymond Lu2011-11-081-1/+1
| | | | | | between ASCII and UTF8. I corrected it by adding a condition check in H5T_conv_s_s and H5T_conv_vlen to report an error under this situation. Tested on jam, koala, linew.
* [svn-r21674] Issue 7618 - the library had seg fault when it tried to shrink ↵Raymond Lu2011-10-261-11/+13
| | | | | | | | the size of compound data type through H5Tset_size immedia tely after the type was created. I fixed it in this commit. Tested on jam, linew, and koala.
* [svn-r21152] Description:Quincey Koziol2011-07-281-0/+36
| | | | | | | | | | | | | | | | | | | | 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-r20872] Issue 7564 - Allow H5Tcreat to create string type (fixed-length ↵Raymond Lu2011-05-201-7/+25
| | | | | | and variable-length). I also added a test case in dtypes.c. Tested on jam and linew - relatively simple.
* [svn-r20691] Purpose: Fix problem exposed by external link cacheNeil Fortner2011-05-021-0/+5
| | | | | | | | | | | | | Description: When closing an object that had two open id's, the library would previously fail to account for the status of the "holding_file" field, potentially causing the file's "nopen_objs" field to become inconsistent. This caused problems when opening the same object twice through an external link using th external file cache. Modified the library to properly account for the status of the "holding_file" field when closing an object id, even when the underlying "shared" object isn't closed. Tested: jam, koala, heiwa (h5committest)
* [svn-r20121] Bug 1586 - the datatype handler created with H5Tencode/decode ↵Raymond Lu2011-02-181-1/+6
| | | | | | had the reference count 0. I fixed it by changing the APP_REF parameter of H5I_register from FALSE to TRUE and added a test case in dtypes.c. Tested on jam, heiwa, and amani.
* [svn-r19398] Descriptino:Quincey Koziol2010-09-161-24/+24
| | | | | | | | | | | | | | | | | | | | | | | 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-13/+13
| | | | | | | 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-r18702] Description:Quincey Koziol2010-05-051-11/+11
| | | | | | | | | | | | | | | | | | | | | | | Bring r18672 from metadata journaling "merging" branch to trunk: Mostly changes to move to only using one 'user data' parameter for calls to H5AC_protect(), along with some minor reformatting code cleanups. 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-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