summaryrefslogtreecommitdiffstats
path: root/test/tattr.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "Moved -Wunsuffixed-float-constants to the developer warnings.""Dana Robinson2020-01-231-2/+2
| | | | This reverts commit 6486e06545bf637d46e18a787395542f4fca143a.
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-85/+92
|
* Yanked -Wc++-compat from the flags used to build the C library in bothDana Robinson2019-12-041-6/+6
| | | | the Autotools and CMake.
* OESS-29 Update HD prefix mostlyAllen Byrne2019-08-241-16/+13
|
* Add HD prefix to testsAllen Byrne2019-08-151-136/+136
|
* Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-211-1/+1
| | | | clean up warnings.
* Added the creation and use of an attribute access property list toDana Robinson2019-06-151-49/+60
| | | | testhdf5.
* Change the checking to H5I_INVALID_HID in test_attr_dense_rename().Vailin Choi2019-04-161-10/+10
|
* Fix for HDFFV-10579 H5Arename fails when creation order of attributes is ↵Vailin Choi2019-04-121-38/+55
| | | | | | | tracked. The attribute needs to be removed from the creation order index v2 B-tree before re-inserting the renamed attribute via H5A__dense_insert().
* Align behavior of H5Aget_name_by_idx with H5Aget_name when a NULL buffer is ↵Jordan Henderson2019-01-081-0/+57
| | | | supplied
* Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-281-1/+95
|\
| * Add test for H5Arename NULL/empty attribute name fixJordan Henderson2018-12-171-1/+96
| | | | | | | | Split checking of NULL vs. empty string arguments
* | OHDR tests now accept h5_fileaccess() fapls.Jacob Smith2018-12-261-104/+107
| | | | | | | | Formatting, informative comments, and minor renaming.
* | Reformat to be more consistent with existing code.Jacob Smith2018-12-131-12/+3
| | | | | | | | Fix a few typos.
* | Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-131-0/+64
|\ \ | |/
| * Add test for H5Aget_info(_by_name/_by_idx) NULL info pointerJordan Henderson2018-12-131-0/+65
| |
* | Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-121-578/+576
|\ \ | |/
| * Normalization with vol_integration (test code and H5Xtest.c)Dana Robinson2018-09-201-578/+576
| |
* | Sidestep and hide&flag minor issues causing test failures.Jacob Smith2018-12-051-17/+57
| |
* | Incorporate minimized dset ohdr tests into extant suite.Jacob Smith2018-11-191-158/+272
|/
* Fix for HDFFV-9277: update the ainfo message after removing an attribute.Vailin Choi2018-07-201-0/+94
|
* Changes made based on feedback from pull request #1039.Vailin Choi2018-05-141-10/+10
|
* Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-25/+25
|
* Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into ↵Quincey Koziol2018-03-181-49/+47
|\ | | | | | | | | | | merge_func_enter_vol Plus initial steps toward merging API context push into FUNC_ENTER_API* macros
| * Cleanup overuse of include filesAllen Byrne2018-02-141-49/+47
| |
* | Add API context interface and use it throughout the library.Quincey Koziol2018-03-151-121/+121
|/
* Fixed misc Warnings flagged by VS2017.Dana Robinson2017-11-271-7/+7
|
* Fix some of the whitespaceAllen Byrne2017-11-161-127/+127
|
* Fix Windows link errorAllen Byrne2017-11-141-379/+379
|
* Initialize hid_t variables in test_Attr_bug9.Neil Fortner2017-11-131-4/+4
|
* Fix HDFFV-10274. When deleting all (or almost all) of the messages inNeil Fortner2017-11-101-0/+98
| | | | | | an object header chunk, where the total amount deleted was greater than 64K, an error would occur due to an off by one error in the code that handled that case. Fixed this and added a test case.
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* Description:Quincey Koziol2016-09-271-12/+32
| | | | Further warning cleanups: from 667 warnings to 503.
* [svn-r30017] Description:Quincey Koziol2016-06-061-20/+20
| | | | | | | | | Bring warning cleanusp in r29990, 29993, 29997, 29999, 30004 from revise_chunks branch to trunk. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production. (h5committest forthcoming)
* [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-10-201-9/+9
| | | | | | | | | | | | | | available Fix tests accordingly and fix misuse of hbool_t in various places Fix initialization of H5Pgcpl/ocpl structs in property decoding routines Tested on: Linux/32 (jam) Linux/64 (platypus) Linux/PPC64 (ostrich) MacOSX/64 10.11
* [svn-r27800] Minor warning fixes in the library tests.Dana Robinson2015-09-161-6/+6
| | | | Tested on: jam (too minor for h5committest)
* [svn-r27768] Description:Quincey Koziol2015-09-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
* [svn-r27626] Various minor warning fixes before major SWMR and VDS merges.Dana Robinson2015-08-311-6/+6
| | | | | | | | | | | gcc 4.9.2 was used to create the warning list - implicit casts - shadowed variables - various enum issues - other minor fixes (comments, unused macros, etc.) Tested on: h5committest
* [svn-r27548] Revert r27545Jerome Soumagne2015-08-211-9/+9
|
* [svn-r27545] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-08-211-9/+9
| | | | | | available Fix tests accordingly
* [svn-r27204] Description:Quincey Koziol2015-06-151-5/+5
| | | | | | | | | Clean up compiler warnings before merging in v3 metadata cache changes from branch. Tested on: MacOSX/64 10.10.3 (amazon) w/serial & parallel Linux/32 2.6.x (jam) w/serial & parallel
* [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-3/+3
| | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* [svn-r26438] Fixed some double promotion warnings from gcc 4.9.2. Most were inDana Robinson2015-03-111-3/+3
| | | | | | format strings. Tested on: h5committest
* [svn-r26333] Eliminates gcc warnings due to -Wunsuffixed-float-constants.Dana Robinson2015-03-011-10/+10
| | | | | | | | | | | | - Adds 'F' suffixes for most float constants. - A few constants MUST be of type double. These now receive the long double L suffix and are then cast to double. I do this via a new H5_DOUBLE() macro which was added to H5private.h. Fixes: HDFFV-9148 Tested on: h5committest
* [svn-r25531] remove use of C99 PRI that failed on windows in dtypes.cMohamad Chaarawi2014-08-111-38/+44
| | | | fix bugs where hid_t were assumed to be 32 bit ints or herr_t.
* [svn-r25496] Description:Quincey Koziol2014-07-301-1/+1
| | | | | | | | | 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-r24937] Adds an H5free_memory() function to the library for use withDana Robinson2014-03-311-1/+1
| | | | | | | | | | | | functions that return library-allocated memory. The test and tool code were modified to use this new function where it's appropriate. Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551 Tested on: 64-bit Windows 7 w/ VS2012 32-bit LE linux w/ parallel and fortran (jam) 32-bit LE linux w/ fortran and C++ (jam)
* [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.Dana Robinson2013-10-311-1/+1
| | | | | | | | | | | | | Prep work for adding a memory free function, part of HDFFV-8551. Tested on: 32-bit LE linux (jam) * with C++, Fortran * with thread safety on These are minor changes (almost entirely renaming foo functions to HDfoo) that don't change functionality. This should not require a full commit test.
* [svn-r22072] Purpose: Fix rare corruption bug (HDFFV-7879)Neil Fortner2012-03-151-0/+135
| | | | | | | | | | | | | | Description: When using the new object header format, it was possible for corruption to occur if the first object header chunk changed size such that the lenght of the "chunk 0 size" field changed. This only occurred if there were messages that had not been decoded. The original algorithm that changed the object header chunk size marked all messages as dirty, causing those that had not been decoded to have both the raw and native form invalidated. Changed the algorithm to avoid marking messages dirty and added assertions to catch the case where messages are dirtied without being decoded (or recently created) first. Tested: jam, koala, ostrich (h5committest), durandal
* [svn-r22070] Purpose: Fix rare corruption bugNeil Fortner2012-03-151-1/+206
| | | | | | | | | | Description: When using the new object header format and adding an attribute with a size near 64K, it was possible for file corruption to occur. This happened only if the first object header chunk was smaller than 256 bytes and then grew to larger than 64K after the attribute was added. Tested: ostrich, jam, koala (h5committest), durandal