Commit Graph

9629 Commits

Author SHA1 Message Date
Ward Fisher
98365988c8
Merge pull request #2827 from lostbard/octave-fix-2617
Add H5FD_http_finalize function and call on hdf5 finalize
2023-12-19 16:20:55 -07:00
Ward Fisher
4bdb093fca
Merge pull request #2388 from rkouznetsov/lossydoc
Add clarification for the meaning of NSB
2023-12-19 10:08:34 -07:00
Ward Fisher
b55211b6c7
Merge branch 'main' into lossydoc 2023-12-19 10:08:01 -07:00
Ward Fisher
4c2899017e
Merge pull request #2427 from rouault/fopen_error
Avoid segfault if opening file failed
2023-12-19 10:06:12 -07:00
JohnD
aa7daf18f5 Merge branch 'main' into octave-fix-2617 2023-12-16 07:12:08 -05:00
Ward Fisher
e993b1ecc8
Merge pull request #2830 from WardF/update_ref.wif
Changed link to netCDF-Fortran documentation.
2023-12-14 10:47:05 -07:00
Ward Fisher
e662790a66 Changed link to netCDF-Fortran documentation. 2023-12-14 10:46:19 -07:00
Ward Fisher
bace524e3e
Merge pull request #2296 from wkliao/H5Sselect_hyperslab
count argument in H5Sselect_hyperslab
2023-12-13 08:10:32 -07:00
Ward Fisher
2ffd1c0847 Merge branch 'H5Sselect_hyperslab' of github.com:wkliao/netcdf-c into H5Sselect_hyperslab 2023-12-12 16:50:26 -07:00
Ward Fisher
6a628b9ca7 Rebased PR by hand against main. 2023-12-12 16:49:13 -07:00
wkliao
52198b3f12 count argument in H5Sselect_hyperslab
Argument 'count' in NetCDF is not exactly the same as the 'count' in
H5Sselect_hyperslabs(space_id, op, start, stride, count, block).
When the argument 'stride' is NULL, NetCDF's 'count' should be used in
argument 'block', for example,
   H5Sselect_hyperslabs(space_id, op, start, NULL, ones, count);
where 'one' is an array of all 1s. Although using NULL 'block' below
   H5Sselect_hyperslabs(space_id, op, start, NULL, count, NULL);
has the same effect, HDF5 internally stores the space of a subarray as a
list of single elements, instead of a "block", which can affect the
performance.
2023-12-12 16:45:19 -07:00
JohnD
7a2813be72 Add H5FD_http_finalize function and call on hdf5 finalize
Fixes Unidata#2617
2023-12-12 18:16:31 -05:00
Ward Fisher
0603c98933
Merge pull request #2379 from gsjaardema/patch-50
Enable compilation with C89 compiler
2023-12-12 16:00:31 -07:00
Ward Fisher
7ef8c95bc1
Merge pull request #2450 from gsjaardema/patch-53
Minor fix to doxygen documentation
2023-12-12 15:59:50 -07:00
Ward Fisher
c0a896c3c5
Merge pull request #2826 from WardF/gh2431.wif
Catching up on PRs
2023-12-12 15:58:53 -07:00
Ward Fisher
907ab416a5 Merge branch 'main' into gh2431.wif 2023-12-12 14:35:12 -07:00
Ward Fisher
4673c55a6c Catching up on PRs, this is 2431 on the current 'main' 2023-12-12 14:03:36 -07:00
Ward Fisher
489d978f63
Merge pull request #2595 from johnwparent/import-mpi-dep-on-export
CMake: Add improvements to MPI support
2023-12-12 13:57:20 -07:00
Ward Fisher
64e9185bd7
Merge pull request #2761 from magnusuMET/bugfix/skip_bin_test_on_non_test
Do not compile test program unless required
2023-12-12 13:42:44 -07:00
Ward Fisher
dd61f30fe2
Merge pull request #2825 from WardF/gh2824.wif 2023-12-12 11:03:59 -07:00
Ward Fisher
e9971abe0c Merge branch 'main' into gh2824.wif 2023-12-12 10:13:11 -07:00
Ward Fisher
4367c688e5 Merge remote-tracking branch 'upstream/main' 2023-12-12 10:12:57 -07:00
Ward Fisher
61c9a8641d Fix cmake syntax typo. 2023-12-12 10:06:55 -07:00
Ward Fisher
ed90d50078 Typo fix in support of gh2824.wif 2023-12-12 10:04:18 -07:00
Ward Fisher
05cd5565e8 Fix typo in nc-config.cmake.in 2023-12-12 09:24:49 -07:00
Ward Fisher
2616e2c411
Merge pull request #2745 from e-kwsm/chmod-x
chore: unset executable flag
2023-12-11 17:28:46 -07:00
Ward Fisher
cd9fc433ae Merge remote-tracking branch 'upstream/main' 2023-12-11 15:52:52 -07:00
Ward Fisher
002e2869ab
Merge pull request #2691 from seanm/snprintf
sprintf -> snprintf
2023-12-11 15:46:51 -07:00
Ward Fisher
b99a263de6
Merge pull request #2743 from seanm/snprintf2
Removed a use of sprintf that required changing a function signature
2023-12-11 15:23:29 -07:00
Ward Fisher
b1b29ed839 Merge branch 'main' of github.com:WardF/netcdf-c 2023-12-11 10:08:22 -07:00
Sean McBride
4f15a9265e Removed a use of sprintf that required changing a function signature 2023-12-08 13:30:54 -05:00
Sean McBride
adc4dc1435 Replaced some sprintf with snprintf with aid of new variable containing size
One case required slightly complicated accounting of how much space is left in the buffer.
2023-12-08 13:30:38 -05:00
Sean McBride
dfc2ac7296 Replaced trivial uses of sprintf with snprintf
In all these cases the size of the buffer can be computed with sizeof.
2023-12-08 13:30:38 -05:00
Ward Fisher
05a245913f Merge remote-tracking branch 'upstream/main' 2023-12-06 10:43:24 -07:00
Ward Fisher
c2fd38d5d2
Merge pull request #2813 from DennisHeimbigner/fixes.dmh
Fix some important bugs in various files
2023-12-04 16:39:11 -07:00
Ward Fisher
e4c174cb1a Merge branch 'main' of github.com:WardF/netcdf-c 2023-11-28 10:08:20 -07:00
Dennis Heimbigner
58dd53022f Fix some important bugs in various files
The most critical bug is in nch5s3comms.c.
I for some reason assumed that signing keys
did not contain any zero bytes. But obviously
it can, so a test was removed.

Other fixes:
1. Guarantee allocated memory is initialized to all zeros.
2. Cleanup errmsg handling in libncpoco.
3. Fix processing of aws list-objects-v2 because I misread the syntax.
2023-11-27 18:46:10 -07:00
Ward Fisher
0c6fd78251
Merge pull request #2802 from seanm/UBSan-null
Fixed various UBSan warnings about working with NULL pointers
2023-11-20 16:43:36 -07:00
Ward Fisher
aa97f6be83 Merge remote-tracking branch 'upstream/main' 2023-11-17 15:18:53 -07:00
Ward Fisher
3a1b125f4d
Merge pull request #2788 from WardF/check-pr.wif
Tweaking PR to work with Visual Studio
2023-11-17 15:18:39 -07:00
Ward Fisher
e8be174475 Merge remote-tracking branch 'upstream/main' 2023-11-17 15:16:35 -07:00
Ward Fisher
9566a18100
Merge pull request #2800 from seanm/UBSan-misaligned
Fixed misaligned memory access flagged by UBSan
2023-11-17 15:15:01 -07:00
Ward Fisher
0d09cf8b97
Merge pull request #2765 from DennisHeimbigner/dap4ce.dmh
Improve fetch performance of DAP4
2023-11-16 12:22:20 -07:00
Ward Fisher
9fe1a346ba
Merge branch 'main' into dap4ce.dmh 2023-11-16 12:22:11 -07:00
Ward Fisher
d4e906fec0
Merge pull request #2803 from seanm/UBSan-utf8
Fixed various UBSan warnings about working with NULL pointers
2023-11-16 12:21:08 -07:00
Ward Fisher
d7b6ad0b65
Merge pull request #2789 from DennisHeimbigner/execinfo.dmh
Remove the execinfo capability
2023-11-15 15:54:44 -07:00
Ward Fisher
807c6ef3f9
Merge branch 'main' into execinfo.dmh 2023-11-15 15:54:35 -07:00
Ward Fisher
6d9c092e13 Merge remote-tracking branch 'upstream/main' 2023-11-15 15:41:00 -07:00
Ward Fisher
17cf532eb4
Merge pull request #2771 from DennisHeimbigner/tinyxmlupdate.dmh
Update internal tinyxml2 code to the latest version
2023-11-15 15:34:04 -07:00
Ward Fisher
33c77f3c59
Merge branch 'main' into tinyxmlupdate.dmh 2023-11-15 15:33:47 -07:00