summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r29903] merge from trunk.Mohamad Chaarawi2016-05-091-4/+65
|\
| * [svn-r29545] Minor normalization w/ trunk in preparation for big merge.Dana Robinson2016-03-241-2/+4
| | | | | | | | | | | | Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial autotools parallel (MPICH 3.1.4)
| * [svn-r29183] Fixed missing reopen test call in tfile from HDFFV-8740 fix.Dana Robinson2016-02-221-0/+1
| | | | | | | | | | Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial w/ fortran and C++
| * [svn-r29182] Re-commit of HDFFV-8740 fix, which adds the ability to configureDana Robinson2016-02-221-2/+58
| | | | | | | | | | | | | | | | | | | | | | | | external dataset storage path behavior. This check-in fixes a bug in the original check-in where the external path stored in the file struct was not copied on reopen causing subsequent dataset operations to fail. Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial w/ fortran and C++ autotools parallel (MPICH 3.1.4) w/ fortran
| * [svn-r28792] Added cleanup for new test files to tfile.c.Dana Robinson2016-01-041-0/+2
| | | | | | | | | | Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only
* | [svn-r28288] merge from trunk.Mohamad Chaarawi2015-11-051-3/+3
|\ \ | |/
| * [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-10-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r27959] - merge from trunk (pre-VDS)Mohamad Chaarawi2015-10-051-3/+5
|\ \ | |/ | | | | - fix VOL initialization and Native plugin registration with new FAPL changes
| * [svn-r27811] Description:Quincey Koziol2015-09-161-3/+5
| | | | | | | | | | | | | | | | | | | | | | Refactor property list code to "deep copy" properties in the correct way, retraining the rest of the library to copy & release things correctly. This cleans up another batch of memory leaks, etc. within the library. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/32 2.6.x (jam) w/serial & parallel (h5committest forthcoming)
* | [svn-r27777] merge from trunk.Mohamad Chaarawi2015-09-141-66/+70
|\ \ | |/
| * [svn-r27768] Description:Quincey Koziol2015-09-141-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-47/+63
| | | | | | | | | | | | | | | | | | | | | | 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-r27572] Removed VMS-specific code from the library.Dana Robinson2015-08-241-13/+1
| | | | | | | | | | | | | | | | | | The only remaining code consists of a few floating-point tests that rely on pre-generated and checked-in VMS files. These have been left alone, even though they will not be possible to recreate, since testing VMS float behavior is still important. Tested on: h5committest
| * [svn-r27548] Revert r27545Jerome Soumagne2015-08-211-3/+3
| |
| * [svn-r27545] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-08-211-3/+3
| | | | | | | | | | | | available Fix tests accordingly
* | [svn-r26724] - merge from trunk & fix conflicts.Mohamad Chaarawi2015-04-031-4/+2
|\ \ | |/ | | | | | | - fix bug in opending an already open named datatype. - fix dynamically loaded VOL plugin support with new changes coming in.
| * [svn-r26333] Eliminates gcc warnings due to -Wunsuffixed-float-constants.Dana Robinson2015-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | - 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-r26225] Removes broken open() call work-around that was specific to the nowDana Robinson2015-02-191-2/+0
| | | | | | | | | | | | | | | | | | | | unsupported Code Warrior compiler. Also removes the H5_NO_SHARED_WRITING symbol from the pubconf file. Fixes: HDFFV-9080 Tested on: jam only, after bin/reconfigure (all platforms should see no source changes)
* | [svn-r25502] merge from trunk.Mohamad Chaarawi2014-07-311-10/+10
|\ \ | |/
| * [svn-r25496] Description:Quincey Koziol2014-07-301-10/+10
| | | | | | | | | | | | | | | | | | 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-r25488] - fix bug with H5Fget_access_plist. need to set VOL and VOL ↵Mohamad Chaarawi2014-07-291-10/+36
| | | | | | | | | | | | | | info in property - add tests for H5Fis_accessible in vfd tests to make sure it works with different fapls. - fix bug in Log VFD driver.
* | [svn-r25452] realign tests with trunk.Mohamad Chaarawi2014-07-211-6/+9
| |
* | [svn-r25448] Description:Quincey Koziol2014-07-211-8/+8
| | | | | | | | | | | | | | | | Initial tweaks to bring into alignment with trunk, during review process. Tested on: Mac OSX/64 10.9.3 (amazon) w/gcc 4.2.1 (h5committest not required on this branch)
* | [svn-r24593] merge from trunkMohamad Chaarawi2013-12-231-0/+34
|\ \ | |/
| * [svn-r24360] Jira issue 8528: H5Fget_obj_ids overfilled the list of object ↵Raymond Lu2013-10-251-0/+34
| | | | | | | | | | | | | | | | | | IDs by one. This is the second round of checkin after receiving review comments from people. I put the safeguard in both H5F_get_objects and H5F_get_objects_cb to prevent overfill the list. tested with h5committest.
* | [svn-r24301] merge from trunk.Mohamad Chaarawi2013-10-161-0/+97
|\ \ | |/ | | | | resolve conflicts, etc...
| * [svn-r24234] Bug: tfile.c was failing in the ADA AIX system.Albert Cheng2013-09-301-1/+1
| | | | | | | | | | | | | | | | | | The reason was typo in the index variable in the newly added test_get_obj_ids(). Solution: fixed the typo. Tested: AIX machine. (Did not run h5committest because the fix is in a remote machine and the fix is quite obvious.)
| * [svn-r24210] Jira issue 8528: H5Fget_obj_ids overfilled the list of object ↵Raymond Lu2013-09-271-0/+97
| | | | | | | | | | | | | | | | | | IDs by one. I moved the safeguard in H5F_get_objects_cb to the beginning of the function to prevent overfill the list. I added a new test case for this problem and fix in tfile.c. Tested with h5committest.
* | [svn-r23443] merged from trunkMohamad Chaarawi2013-03-251-5/+18
|\ \ | |/
| * [svn-r23354] Close prop list varAllen Byrne2013-03-151-4/+8
| |
| * [svn-r23322] HDFFV-8322: Close resources, found from valgrind testingAllen Byrne2013-03-011-1/+10
| | | | | | | | Tested: local linux
* | [svn-r22902] - fix bug in H5is_accessible (check if fapl is default, and ↵Mohamad Chaarawi2012-10-161-3/+3
| | | | | | | | | | | | | | | | convert it to default access plist) - remove the c++ and fortran interfaces for H5is_hdf5 as it is deprecated - add the c++ and fortran interfaces for H5is_accessible - update all tests to use is_accessible and not is_hdf5
* | [svn-r22704] merge from trunk up to 22703.Mohamad Chaarawi2012-08-211-3/+9
|\ \ | |/
| * [svn-r22676] Changes needed to make the default free-list mapping from ↵Vailin Choi2012-08-131-3/+9
| | | | | | | | H5FD_FLMAP_SINGLE to H5FD_FLMAP_DICHOTOMY.
* | [svn-r22395] remove the high level ID implementation that wraps the actual ↵Mohamad Chaarawi2012-05-231-3/+3
| | | | | | | | | | | | ID, and store the VOL plugin in an auxilary structure in the ID pointer.
* | [svn-r22119] Changes:Mohamad Chaarawi2012-03-221-9/+7
| | | | | | | | | | | | | | | | | | | | | | - 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-r22056] - fix several bugs in id managementMohamad Chaarawi2012-03-121-13/+13
| | | | | | | | | | | | - update test cases that get the H5F_t struct to use H5I_object_verify instead of H5I_object because of the higher user level ID that is introduced - add some workarounds to take into consideration that the high level ID is not used everywhere at the moment - add a routine that translates from low level ids to high level ids
* | [svn-r22034] merge from trunk r 22032Mohamad Chaarawi2012-03-071-0/+74
|\ \ | |/
| * [svn-r21904] This is a followup commit for Issue 7756 - Creating a dataset ↵Raymond Lu2012-02-021-3/+3
| | | | | | | | | | | | in a read-only file caused seg fault when the file is closed. I changed the error ID from H5E_CACHE to H5E_OHDR in the error report macro in H5O_create and fixed a minor problem in tfile.c. Tested on jam and MacGoblin - minor changes.
| * [svn-r21891] Issue 7756 - Creating a dataset in a read-only file caused seg ↵Raymond Lu2012-01-251-0/+74
| | | | | | | | | | | | fault when the file is closed. I fixed the problem by putting a condition check early in H5O_create of H5O.c. The old code checked it too late, not until a file space is created. I added a test case in tfile.c to check the creation of group, dataset, attribute, and datatype. Tested on koala, jam, and linew.
* | [svn-r22032] - move all HDF5 library access for H5F routines to the native ↵Mohamad Chaarawi2012-03-071-16/+15
|/ | | | | | | | layer, higher layer only handle ids - create a high level user id to return to users to hold vol id and object id - all H5 callbacks implemented except for get_object_count/ids - some bug fixes, test suite fails for now pending update to user ids of other objects
* [svn-r21564] Improve testing for H5Pset_libver_bounds (bring in line with ↵Neil Fortner2011-10-141-23/+41
| | | | | | 1.8 branch) Tested: durandal (too minor for full h5committest)
* [svn-r21562] Improve testing for H5Pset_libver_boundsNeil Fortner2011-10-141-2/+34
| | | | Tested: durandal (too minor for full h5committest)
* [svn-r20262] In my previous checkin (20255), I used H5Gcreate instead of ↵Raymond Lu2011-03-161-1/+1
| | | | | | | | H5Gcreate2 in my test. I just corrected it . Tested on jam.
* [svn-r20255] Bug 2115 - add H5_VERSION_GE and H5_VERSION_LE macros. I added ↵Raymond Lu2011-03-151-1/+68
| | | | | | a new test case to show how to use them. Tested on jam and amani.
* [svn-r20180] I added 2 public macros to the H5public.h - H5_VERSION_GE and ↵Raymond Lu2011-03-021-0/+49
| | | | | | H5_VERSION_LE - and put some test cases in tfile.c. Tested on jam, heiwa, and amani.
* [svn-r19402] Description:Quincey Koziol2010-09-161-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | Correct Bz#1968 (Problem when opening new format file with H5F_LIBVER_EARLIEST) by initializing symbol table leaf information in a more universal way. Also cleaned up other superblock initialization a little bit while I'm here. 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-r18419] Description:Quincey Koziol2010-03-181-0/+1
| | | | | | | | | Clean up srcdir querying code more, extracting it into single header file, to avoid compiler warnings. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & prod Linux/32 2.6 (jam)
* [svn-r18413] Description:Quincey Koziol2010-03-171-9/+1
| | | | | | | | | | | | | | Unify srcdir handling for test executables and allow them to use the srcdir setting from configure time without requiring the 'srcdir' environment variable be set (although you still can, to override the built in setting). Attempted to get this right for Windows builds also. Also add dependency between src/H5Tinit.c and src/libhdf5.settings, so that the test/testcheck_version.sh script works correctly. Tested on: Linux/32 2.6 (jam) Mac OS X/32 10.6.2 (amazon)
* [svn-r18224] Description:Quincey Koziol2010-02-091-36/+36
| | | | | | | | | | | | | | | | | | | | | Bring revisions from Coverity session from hdf5_1_8_coverity branch to trunk: r18214: Issue 423: cache_ptr was not initialized. if global 'pass' was false, cache_ptr could be used. Extended scope of if(pass) block to include whole function-flush_cache(). r18215: Fix coverity item 317. Removed unreachable code in H5B2_hdr_alloc. r18216: Fixed Coverity issues 57 & 67. Checked oid_count > 0 before memory allocation and oid_list != NULL before dereferencing. Tested on: Mac OS X/32 10.6.2 (amazon) w/debug & production (daily tested on Coverity branch already)