summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* remove unnecessary check macrokmu2019-12-0622-35/+34
|
* fix intel compile warningskmu2019-12-0425-48/+47
|
* Merge pull request #2045 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:select_adjust ↵Neil Fortner2019-11-269-113/+276
|\ | | | | | | | | | | | | | | to develop * commit '4e12984b77cdd7615843d94f8de8d54db27476ac': Move checking for zero offset in selection adjust calls to the selection callbacks. This makes the procedure for checking it consistent across selection types and between _s and _u, ensures it is always is performed even when called within the H5S package, and removes the redundant check that would occur when callins H5S_select_adjust_s() from outside the H5S package. Replace H5Sselect_adjust_u() and H5Shyper_adjust_s() with H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
| * Move checking for zero offset in selection adjust calls to the selection ↵Neil Fortner2019-11-183-87/+100
| | | | | | | | | | | | | | callbacks. This makes the procedure for checking it consistent across selection types and between _s and _u, ensures it is always is performed even when called within the H5S package, and removes the redundant check that would occur when callins H5S_select_adjust_s() from outside the H5S package.
| * Replace H5Sselect_adjust_u() and H5Shyper_adjust_s() withNeil Fortner2019-11-189-60/+210
| | | | | | | | | | H5Sselect_adjust. Implement "adjust_s" callback for all selection types. Add range checking to H5Sselect_adjust().
* | Merge pull request #2054 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:vol_trivial ↵Dana Robinson2019-11-264-23/+23
|\ \ | | | | | | | | | | | | | | | | | | to develop * commit '9a93ecac522d9032efd9cdc39ff0550412e54565': Trivial parameter renaming in VOL API calls.
| * | Trivial parameter renaming in VOL API calls.Dana Robinson2019-11-254-23/+23
| | |
* | | Oops, remove more C99 designated initializers for VS 2010 compatibility.David Young2019-11-252-2/+3
| | |
* | | Add an #include to get a function declaration.David Young2019-11-251-0/+1
| | |
* | | Merge remote-tracking branch 'hdf5/develop' into add-werror-and-squash-someDavid Young2019-11-2520-141/+595
|\ \ \ | |/ /
| * | Merge pull request #2029 in HDFFV/hdf5 from ~CHOGAN/hdf5:feature/cx_lcpl to ↵Chris Hogan2019-11-2511-17/+285
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop * commit '4ce9c10c568ff81ebd4eb7585039cbe3c40d1718': Add documentation for H5CX_get_ohdr_flags Add object header flags to API context Use major error code of calling package Handle H5CX_state_t for lcpl Add character encoding to lcpl context Change LC property name from 'create_intermediate_group' to 'intermediate_group' Use API context to store/retrieve LCPL when creating intermediate groups
| | * | Add documentation for H5CX_get_ohdr_flagsChris Hogan2019-11-151-0/+13
| | | |
| | * | Add object header flags to API contextChris Hogan2019-11-144-5/+72
| | | | | | | | | | | | | | | | | | | | Add missing DCPL to API context state Replace a couple LCPL H5P_get calls with H5CX_get_*
| | * | Use major error code of calling packageChris Hogan2019-11-081-2/+2
| | | |
| | * | Handle H5CX_state_t for lcplChris Hogan2019-11-041-0/+21
| | | |
| | * | Add character encoding to lcpl contextChris Hogan2019-11-043-43/+54
| | | |
| | * | Change LC property name from 'create_intermediate_group' to 'intermediate_group'Chris Hogan2019-10-301-9/+9
| | | |
| | * | Use API context to store/retrieve LCPL when creating intermediate groupsChris Hogan2019-10-2910-11/+167
| | | |
| * | | Merge pull request #2043 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:seq_list_fix ↵Neil Fortner2019-11-201-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit 'c104f4cb87a1558ab6a772967887738dc9800f0d': Modify H5Ssel_iter_get_seq_list() to accept iterators that have reached the end of iteration (returning zero sequences). Previously it could cause an assertion failure.
| | * | | Modify H5Ssel_iter_get_seq_list() to accept iterators that have reachedNeil Fortner2019-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | the end of iteration (returning zero sequences). Previously it could cause an assertion failure.
| * | | | Fixed the H5_mpi_get_bigio_count function prototypeRichard Warren2019-11-181-1/+1
| | |_|/ | |/| |
| * | | Correct file extensionAllen Byrne2019-11-141-1/+1
| |/ /
| * | Merge pull request #2033 in HDFFV/hdf5 from ~NFORTNE2/hdf5_naf:public_spi to ↵Neil Fortner2019-11-137-122/+308
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | develop * commit 'db6eab893e5f027f0b535316e0e7a9abe9ff8619': Implement public H5Sselect_project_intersection(). Updated internal algorithm to (optionally) avoid sharing selection data structures. Tested internal code (including with valgrind) by setting VDS code to avoid sharing selection, has since been changed to share selection for performance, so this code is not yet tested in regression tests. API has not been tested.
| | * | Implement public H5Sselect_project_intersection(). Updated internalNeil Fortner2019-11-137-122/+308
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | algorithm to (optionally) avoid sharing selection data structures. Tested internal code (including with valgrind) by setting VDS code to avoid sharing selection, has since been changed to share selection for performance, so this code is not yet tested in regression tests. API has not been tested.
* | | | Don't use C99 designated initializers, they're not compatible withDavid Young2019-11-253-16/+24
| | | | | | | | | | | | | | | | Visual Studio 2010.
* | | | Quiet some more maybe-uninitialized warnings---each is a false positive,David Young2019-11-223-3/+16
| | | | | | | | | | | | | | | | | | | | *sigh*. This is more code that may not compile with VS2010, *sigh sigh*.
* | | | Mention the -Werror= flags in libhdf5.settings.in.David Young2019-11-201-1/+1
| | | |
* | | | Quiet decleration-after-statement warnings.David Young2019-11-131-1/+1
| | | |
* | | | Move a statement under some declarations since some vintages of VisualDavid Young2019-11-131-1/+2
| | | | | | | | | | | | | | | | Studio don't like declarations after statements.
* | | | Document H5D__chunk_mem_xfree_wrapper().David Young2019-11-131-0/+5
| | | |
* | | | Undo my changes to the HD macros, hadn't really intended those to be onDavid Young2019-11-131-7/+7
| | | | | | | | | | | | | | | | this branch....
* | | | Cast to the parameter type, H5VL_token_t *, instead of to unsigned char *.David Young2019-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | (H5VL_token_t, too, probably should turn from a typedef for a constant-length array to an array encapsulated in a struct.)
* | | | Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char toDavid Young2019-11-131-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | structs containing those arrays. Encapsulating the arrays in this way makes it easier to write and think about pointers to these types, casts to/from these types, etc. An interesting side-effect that we probably should *not* rely on is that the struct-encapsulation changes the alignment so that some GCC warnings about casts that increase the alignment requirement of the operand go away. Warnings like that have to be taken seriously: I will add -Werror=cast-align to the default compiler flags so that they stop the build quickly. GCC warnings led me to some surprising casts in test/trefer.c. I found that it was possible to make many simplifications after introducing the struct-encapsulation that I described, above.
* | | | Make many warnings about H5T_copy() calls that discard const qualifiersDavid Young2019-11-132-2/+2
| | | | | | | | | | | | | | | | into a few warnings in H5T_copy() itself.
* | | | Use FUNC_ENTER_STATIC_NOERR instead of FUNC_ENTER_STATIC for a functionDavid Young2019-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | that does not generate its own error, so GCC does not warn that err_occurred (or whatever it is called) is unused or set and unused.
* | | | Explicitly initialize `type_flags`; the compiler does not realize thatDavid Young2019-11-131-2/+2
| | | | | | | | | | | | | | | | it is set before use by passing it as a reference to another function.
* | | | Initialize a couple of return values to avoid used-before-set warnings.David Young2019-11-131-2/+2
| | | |
* | | | Initialize a couple of variables that the compiler does not realize areDavid Young2019-11-132-2/+2
| | | | | | | | | | | | | | | | initialized when they're passed by reference to functions.
* | | | To quiet a warning, initialize some `struct timeval`s that the compilerDavid Young2019-11-131-2/+2
| | | | | | | | | | | | | | | | does not realize are always set before use by `gettimeofday`.
* | | | Delete unused variable.David Young2019-11-131-1/+0
| | | |
* | | | Change a signed variable to unsigned to avoid a warning about the signDavid Young2019-11-131-1/+1
| | | | | | | | | | | | | | | | being lost by a cast.
* | | | Delete variables that are unused or set and unused.David Young2019-11-131-12/+0
| | | |
* | | | Format a pointer with %p to avoid a gripe about casting a pointer to anDavid Young2019-11-131-3/+2
| | | | | | | | | | | | | | | | integer.
* | | | Merge remote-tracking branch 'hdf5/develop' into add-werror-and-squash-some toDavid Young2019-11-1235-289/+665
|\ \ \ \ | |/ / / | | | | | | | | see if new warnings-as-errors have cropped up.
| * | | Fix issue where H5R__reopen_file did not make the file "post open"Neil Fortner2019-11-122-1/+10
| |/ / | | | | | | | | | callback.
| * | Merge pull request #2032 in HDFFV/hdf5 from ↵Neil Fortner2019-11-0834-289/+656
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | ~NFORTNE2/hdf5_naf:vlget_file_type to develop * commit '1dbec40d465072540f8507c524ae7b909a6b1cf0': Implement H5VLget_file_type() to return a copy of a datatype with the location set to be in a file. Only meant to be used by VOL connectors. Implement H5VLpeek_connector_id() to support connectors querying their own IDs. Fix app_ref with connector IDs in a couple places (external VOLs registered as default through ENV should be visible to the application). Modify vlen and reference interfaces to work with arbitrary VOL connectors. Implement file "post open" specific callback, to enable connectors to update their file structs after a wrap context has been set.
| | * | Implement H5VLget_file_type() to return a copy of a datatype with theNeil Fortner2019-11-0834-289/+656
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | location set to be in a file. Only meant to be used by VOL connectors. Implement H5VLpeek_connector_id() to support connectors querying their own IDs. Fix app_ref with connector IDs in a couple places (external VOLs registered as default through ENV should be visible to the application). Modify vlen and reference interfaces to work with arbitrary VOL connectors. Implement file "post open" specific callback, to enable connectors to update their file structs after a wrap context has been set.
* | | Merge remote-tracking branch 'hdf5/develop' into add-werror-and-squash-someDavid Young2019-11-081-1/+18
|\ \ \ | |/ / | | | | | | to pick up the NetBSD-compatibility changes that I recently merged.
| * | Merge pull request #1984 in HDFFV/hdf5 from ~DYOUNG/netbsd:develop to developDavid Young2019-11-051-1/+18
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0b721858e46a317c370a24115032d5be41688f67': Make these scripts relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Get the path to prefix right: needs a ../ to back out of subdirectory c/. Make this script relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Let us override the examples directory using --with-examplesdir=DIR. This is handy for NetBSD where HDF5 examples are installed by convention in $prefix/share/examples/hdf5/ rather than in ${prefix}/share/hdf5_examples/, which is the HDF5 default. Follow longstanding execv convention for compatibility with NetBSD. Under the examples directories, always find the installed HDF5 executables and scripts using @prefix@ instead of a relative path, because the number of ../ in the relative path will be different on NetBSD than on other systems. Make the HDF5 configure script grok NetBSD. For portability, insulate the HDF5 library from some system macros. Not every system has perl installed in /usr/bin/, so change the shebang (#!) line to `/usr/bin/env perl` to locate perl on the PATH. For portability, use the POSIX sh(1) string-comparison operator `=` instead of `==`.
| | * For portability, insulate the HDF5 library from some system macros.David Young2019-10-031-1/+18
| | |