summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r4589] Purpose:Quincey Koziol2001-11-031-9/+5
| | | | | | | | Code cleanup Description: Clean up various compiler warnings from generic property updates. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4584] Raymond Lu2001-11-021-423/+51
| | | | | | | | | Purpose: Switch from old property list to new generic property list. Description: Mainly changed H5Pcreat, H5Pclose, H5Pcopy. Platforms tested: IRIX64 6.5, FreeBSD, SunOS 5.7.
* [svn-r4573] Raymond Lu2001-10-251-62/+10
| | | | | | | Purpose: Switch mount property list to the new generic property list. Platforms tested: IRIX64 6.5, SunOS 5.7, FreeBSD.
* [svn-r4569] Raymond Lu2001-10-241-149/+189
| | | | | | | | | Purpose: Generic Property List Change Description: Changed file access list to the new generic list. Platforms tested: IRIX64, SunOS5.7, FreeBSD
* [svn-r4563] Purpose:Quincey Koziol2001-10-231-1/+1
| | | | | | | | Code cleanup Description: Update tracing API information Platforms tested: Linux 2.? (dangermouse)
* [svn-r4548] Purpose:Quincey Koziol2001-10-161-6/+6
| | | | | | | | | | | Code cleanup. Description: Fix a few compiler warnings from the file creation property list -> generic property list conversion. Also change a hard-wired value (8) for the number of B-tree key values to a value that uses the enum's generated by the compiler. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4545] Bill Wendling2001-10-151-1/+1
| | | | | | | | | | | Purpose: Bug Fix Description: Function was returning NULL instead of FAIL Solution: Returned FAIL instead. Platforms tested: Linux
* [svn-r4543] Raymond Lu2001-10-151-92/+113
| | | | | | | Purpose: Changed the file creation property list to the new generic property list. Platform tested: IRIX64, SunOS5.7, FreeBSD
* [svn-r4525] Purpose:HDF Rational2001-10-051-2/+11
| | | | | | | | | | | Bug Fix Description: Purify detected an uninitialized memory read in H5Pset_chunk and a memory leak in H5P_remove. Solution: Patched both up. Platforms tested: Solaris 2.7 (arabica)
* [svn-r4518] Purpose:Quincey Koziol2001-10-031-2/+2
| | | | | | | | Code cleanup Description: Clean up some small compiler warnings. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4517] Raymond Lu2001-10-031-198/+243
| | | | | | | | Purpose: Changed to the new generic property list for dataset creation property list. Platforms tested: Arabica, modi4 and Hawkwind
* [svn-r4488] Purpose:Quincey Koziol2001-09-281-2/+3
| | | | | | | | | Fix on Kludge Description: Forgot another chunk of parallel I/O code that needed to change for the generic property list kludge... :-/ Platforms tested: Parallel Linux 2.2.18smp (eirene)
* [svn-r4482] Purpose:Quincey Koziol2001-09-261-76/+110
| | | | | | | | | | | | | | | | | | | | | | Kludge Description: Since we're only about halfway through converting the internal use of property lists from the "old way" to the generic property lists, we turned off snapshots to avoid exposing lots of API changes to users, until the APIs settled down. Getting the snapshots rolling again seems to have become a priority, so some changes are going to have to be made now that were going to be postponed until we were completely finished with the conversion. This requires that the old API functions be able to deal with both the old and new property lists smoothly. Solution: Kludge together the property list code so that they can transparently handle dealing with both the old and new property lists Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4437] Purpose:Quincey Koziol2001-09-121-17/+265
| | | | | | | | | Adding Feature Description: Added new H5Pcopy_prop function to copy a property (value) from one property list or class to another. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4407] Bill Wendling2001-08-221-8/+8
| | | | | | | | | | | | | Purpose: Bug Fix Description: Was getting warnings about converting pointers to integers without a cast. Solution: Changed some of the RETURN ERRORs from returning NULL to returning FAIL instead. Platforms tested: Linux
* [svn-r4355] Purpose:Quincey Koziol2001-08-141-60/+60
| | | | | | | | | | | | | | | | | | | | | | Code cleanup (sorta) Description: When the first versions of the HDF5 library were designed, I remembered vividly the difficulties of porting code from a 32-bit platform to a 16-bit platform and asked that people use intn & uintn instead of int & unsigned int, respectively. However, in hindsight, this was overkill and unnecessary since we weren't going to be porting the HDF5 library to 16-bit architectures. Currently, the extra uintn & intn typedefs are causing problems for users who'd like to include both the HDF5 and HDF4 header files in one source module (like Kent's h4toh5 library). Solution: Changed the uintn & intn's to unsigned and int's respectively. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4351] Purpose:Quincey Koziol2001-08-141-1/+1
| | | | Update dependencies, etc.
* [svn-r4339] Purpose:Quincey Koziol2001-08-131-1/+0
| | | | | | | | Code cleanup Description: Took out a debugging printf Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4329] Purpose:Quincey Koziol2001-08-121-158/+49
| | | | | | | | | | | | | | Bug Fix Description: The datatype conversion buffer size was only halfway converted from hsize_t to size_t and was causing problems. Also, the H5P_peek_<foo> routines have a bunch of identical code. Solution: Finished converting the datatype conversion buffer size to size_t and cleaned up the implementation of the H5P_peek_<foo> routines to call a common routine instead of reimplementing a bunch of code. Platforms tested: Solaris 2.7 (arabica)
* [svn-r4324] Purpose:Quincey Koziol2001-08-101-261/+913
| | | | | | | | | | | | | | | | | | | | | | | | New Features! Description: Start migrating the internal use of property lists in the library from the older implementation to the new generic property lists. Currently, only the dataset transfer property lists are migrated to the new architecture, all the rest of the property list types are still using the older architecture. Also, the backward compatibility features are not implemented yet, so applications which use dataset transfer properties may need to make the following changes: H5Pcreate(H5P_DATASET_XFER) -> H5Pcreate_list(H5P_DATASET_XFER_NEW) and H5Pclose(<a dataset transfer property list>) -> H5Pclose_list(id) This still may have some bugs in it, especially with Fortran, but I should be wrapping up those later today. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4312] Purpose:Quincey Koziol2001-08-061-805/+0
| | | | | | | | | Feature shift Description: Take out the v1.2.x compatibility stubs and put in the hooks for v1.4.x compatibility when needed. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4310] Purpose:Quincey Koziol2001-08-021-1/+1
| | | | | | | | | | | | | Bug Fix Description: H5FD_fapl_copy is being called in H5Pset_driver when copying a dataset transfer property list instead of H5FD_dxpl_copy and could potentially cause problems if the file driver information was different. Solution: Changed call to H5FD_dxpl_copy() until the generic property code gets merged in. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r4288] Purpose:Quincey Koziol2001-07-311-2/+3
| | | | | | | | | | | Bug Fix Description: H5Pset_driver had a resource leak which was dropping dataset transfer IDs when switching drivers. Solution: Decrement dataset transfer ID reference count properly Platforms tested: IRIX64 6.5 (modi4)
* [svn-r4286] Purpose:Quincey Koziol2001-07-311-1/+1
| | | | | | | | | | | | Bug Fix Description: Header file is using incorrect macro for detecting parallel I/O when backward compability is turned on. Solution: Fix header files to define prototypes for parallel I/O property list functions when compiled with v1.2 backward compatibility turned on. Platforms tested: Eyeballed... (Elena will be testing shortly)
* [svn-r4213] Purpose:Quincey Koziol2001-07-161-4/+3
| | | | | | | | | | | Bug fix... (sorta) Description: Added --enable-linux-lfs configure flag to have better control over whether the enable large file support on Linux machines. Also removed the -malign-double flag for gcc since it can potentially cause errors which are difficult to detect. Platforms tested: Linix 2.2 & 2.4 (eirene and dangermouse)
* [svn-r4181] Purpose:Quincey Koziol2001-07-101-13/+96
| | | | | | | | | Bug Fix, Code Cleanup, Code Optimization, etc. Description: Fold in the hyperslab speedups, clean up compile warnings and change a few things from using 'unsigned' or 'hsize_t' to use 'size_t' instead. Platforms tested: FreeBSD 4.3 (hawkwind), Solaris 2.7 (arabica), Irix64 6.5 (modi4)
* [svn-r4011] Purpose:Quincey Koziol2001-06-161-37/+0
| | | | | | | | | | | Code fix Description: Unresolved references to the image code were left behind when it was removed from the library.. Solution: Finished taking out the image stuff... Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3993] Purpose:Quincey Koziol2001-06-111-1/+1
| | | | | | | | | | | | | Bug fix for Pablo integration Description: Several API functions were using FUNC_ENTER, without using FUNC_LEAVE, HRETURN or HRETURN_ERROR to leave the function. (Using "plain" 'return' statements instead). Solution: Changed return statements to FUNC_LEAVE, HRETURN or HRETURN_ERROR, as appropriate. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3980] property list modification for image and palettePedro Vicente Nunes2001-06-091-0/+36
|
* [svn-r3946] Purpose:Bill Wendling2001-05-291-10/+1
| | | | | | | | | | | Code Simplification Description: H5Pget_class() was being called from the H5.c module. Changed it so that it calls H5P_get_class() instead. Also, the H5Pget_class() and H5P_get_class() functions were identical. Changed so that H5Pget_class() calls H5P_get_class(). Platforms tested: Linux
* [svn-r3781] Purpose:Bill Wendling2001-04-051-30/+30
| | | | | | | | | | | | | | | | | | Update Description: Changed #include <hdf_file.h> construct to #include "hdf_file.h" so that the GNU compiler can more easily pick up the dependencies which it places in the .depend and Dependencies files. Also regenerated the Dependencies to go along with this. Platforms tested: Linux
* [svn-r3677] Purpose:Albert Cheng2001-03-201-4/+0
| | | | | | | | | | | | | Bug fix (sort of) Description: The RCSID string in H5public.h was causing the C++ code problem as it was included multiple times and C++ did not like multiple definitions of the same static variable. Solution: Since we don't really make use of the RCSID strings as we have not installed it in all source files, we decided to remove it. Platforms tested: eirene (linux), modi4 (IRIX64-64) both serial and parallel modes.
* [svn-r3559] Purpose:Quincey Koziol2001-03-081-3/+3
| | | | | | | | | | C++ compatibility fix Description: 'delete' is a reserved word in C++ Solution: Change structure member named 'delete' into 'del' Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3520] Purpose:Quincey Koziol2001-02-271-19/+171
| | | | | | | | | | | | | Code checkpoint Description: Checkpointing generic property code before removing the older [non-generic] property list implementation and switching all the property lists to use the generic code. Generic properties are feature complete and as fully tested as I can determine. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3319] Purpose:HDF Rational2001-01-221-1/+5
| | | | | | | | | | | Bug Fix Description: Generic property code was leaking memory when removing a property from a property list class in certain situations. Solution: Remove property correctly from class in all situations. Platforms tested: Solaris 2.7 (arabica)
* [svn-r3268] Purpose:Quincey Koziol2001-01-111-4/+4
| | | | | | | | | | | Code cleanup for C++ Description: 'xor' is a keyword in C++, causing problems compiling the library with a C++ compiler. Solution: Change variables and structure fields from 'xor' to 'xor_val' Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3258] Snapshot version 1.4 release 0 (beta3-snap0)HDF Admin2001-01-101-2/+2
|
* [svn-r3252] Purpose:Quincey Koziol2001-01-091-7/+7
| | | | | | | | | | | | | Code cleanup. Description: Fixed _lots_ (I mean _tons_) of warnings spit out by the gcc with the extra warnings. Including a few show-stoppers for compression on IRIX machines. Solution: Changed lots of variables' types to more sensible and consistent types, more range-checking, more variable typecasts, etc. Platforms tested: FreeBSD 4.2 (hawkwind), IRIX64-64 (modi4)
* [svn-r3162] Purpose:Quincey Koziol2000-12-201-4/+0
| | | | | | | | | | | | | Bug Fix Description: If the library was compiled with 'NDEBUG' defined, but the user's program (the fortran API in this case) was compiled with 'NDEBUG' not defined, the IDs returned from the library would appear to be incorrect. Solution: Removed 'ifndef NDEBUG' from around "H5I_TEMPLAX_MAX" definition and error checking. Platforms tested: Linux 2.2 (eirene) & FreeBSD 4.2 (hawkwind)
* [svn-r3133] Purpose:Quincey Koziol2000-12-141-1/+3
| | | | | | | | | Bug fix Description: Set the background buffer type to different values for compound vs. vlen & array datatypes. Platforms tested: Cray J90 (killeen)
* [svn-r3010] Purpose:Quincey Koziol2000-11-281-9/+53
| | | | | | | | | | | | | | Bug fix Description: When the v1.2 compatibility code was turned on, internal functions in the library were getting confused. Solution: Separated guts of H5Pget_driver call into an API function (the definition of which depends on the compatibility switch) and an internal function which always behaves like the v1.3/4 function. Replaced API function calls in the library code with the internal function. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3008] Purpose:Quincey Koziol2000-11-281-2/+2
| | | | | | | | | | | | | | Code cleanup Description: Several places in the code were using -2 as a default value for various features. However, when a default value is returned from a function that is supposed to return negative on failure, it was causing confusion and extra work for users to check for the special value. Solution: Replaced hard-coded -2 values in the code with symbolic names, then changed symbolic names to 0 instead of -2. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r3006] Purpose:Albert Cheng2000-11-281-2/+5
| | | | | | | | | | Bug fix Description: Fixed some typo that cause compiling errors in parallel mode. Also added a default case in the H5Pget_xfer code to catch potential future added data transfer mode. Platforms tested: IRIX64-64, parallel.
* [svn-r3005] Purpose:Quincey Koziol2000-11-271-26/+829
| | | | | | | | Backward compatibility code Description: Add in code to allow the library to emulate the v1.2 API and behavior. Platforms tested: FreeBSD 4.2 (hawkwind)
* [svn-r2954] Purpose:Quincey Koziol2000-11-161-55/+159
| | | | | | | | Code checkpoint Description: More generic property coding. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2928] Purpose:Bill Wendling2000-11-151-2/+2
| | | | | | | | | | | Buglet fix Description: Get rid of compiler warnings. The HGOTO_RETURN was returning NULL when it should have returned FAIL. Solution: Swapped the two. Platforms tested: Linux
* [svn-r2911] Purpose:Quincey Koziol2000-11-151-6/+286
| | | | | | | | | | | | | Bug fix and code checkpoint Description: HP's compilers didn't seem to like comparing function pointers with '<' & '>', so I've changed how the function pointers are compared to aviod those operations. This should fix last night's daily test failures on opus and sangamon. Also, more code development for generic property lists. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2909] Purpose:Quincey Koziol2000-11-151-18/+217
| | | | | | | | Code checkpoint Description: More generic property functionality added and debugged. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2899] Purpose:Quincey Koziol2000-11-141-1/+399
| | | | | | | | Code development Description: Incrementally adding various generic property features. Platforms tested: FreeBSD 4.1.1 (hawkwind)
* [svn-r2892] Purpose:Quincey Koziol2000-11-141-33/+216
| | | | | | | | | Code development Description: Increment bug fixes and some new API functions to generic property list code. Platforms tested: FreeBSD 4.1.1 (hawkwind)