Commit Graph

9579 Commits

Author SHA1 Message Date
Dennis Heimbigner
00888103ab ckp 2023-11-27 18:43:54 -07:00
Dennis Heimbigner
c671b97980 test1 2023-11-27 16:00:21 -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
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
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
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
Sean McBride
23aa46fcf5 Fixed various UBSan warnings about working with NULL pointers
Any pointer arithmetic with NULL pointers is technically UB, even if you don't end up dereferencing the pointer.
2023-11-15 15:11:56 -05:00
Ward Fisher
2767c4843b
Merge pull request #2795 from tbussmann/patch-1
disable test that depends on ncpathcvt in cmake build w/o utilities
2023-11-15 12:46:39 -07:00
Sean McBride
dc1b8b9c4b Fixed various UBSan warnings about working with NULL pointers
Any pointer arithmetic with NULL pointers is technically UB, even if you don't end up dereferencing the pointer.
2023-11-15 14:28:24 -05:00
Sean McBride
374d654644 Fixed misaligned memory access flagged by UBSan
Use memcpy to copy correctly even for unaligned memory. This was already done for some functions here, but not all.

Also took the oppurtunity to remove a bunch of seemingly obsolete/commented code.
2023-11-14 19:14:33 -05:00
Ward Fisher
99f22954c5
Merge pull request #2787 from seanm/UBSan-shift
Fixed various UBSan warnings about invalid bit shifting
2023-11-14 16:55:24 -07:00
Ward Fisher
16841a990d
Merge pull request #2782 from ZedThree/fix-float-conversions
Fix most float conversion warnings
2023-11-14 10:42:29 -07:00
Tobias Bussmann
99d0760c0d
disable test that depend on ncpathcvt in cmake build w/o utilities
fixes #2794
2023-11-09 00:39:16 +01:00
Ward Fisher
dd0aedcaa5
Merge pull request #2793 from WardF/fix_nczarr_libzip_dep.wif
Make ncZarr-specific deps and options dependent on ncZarr being enabled.
2023-11-07 14:47:51 -07:00
Ward Fisher
f1ada42b5d Added fenceposts so that dependencies and options specific to nczarr are skipped if nczarr is not enabled. 2023-11-07 12:18:13 -07:00
Ward Fisher
f0e0e68ff1 Merge branch 'main' into check-pr.wif 2023-11-06 16:55:04 -07:00
Ward Fisher
9593dbfac9
Merge pull request #2790 from seanm/mmap-bsd
Renamed mmap variable, which conflicts with mmap() function on FreeBSD
2023-11-06 14:48:06 -07:00
Sean McBride
fb62738f72 Renamed mmap variable, which conflicts with mmap() function on FreeBSD
This fixes compiler errors on FreeBSD 14.
2023-11-06 16:05:24 -05:00
Dennis Heimbigner
6c99d07731 Update RELEASENOTES 2023-11-04 21:34:50 -06:00
Dennis Heimbigner
adea80f376 Remove the execinfo capability
re: Issue https://github.com/Unidata/netcdf-c/issues/2766

This attempt to programmatically dump stack never worked,
so it is time to kill it off.
2023-11-04 21:32:33 -06:00
Dennis Heimbigner
f878acf99e fix memory leak 2023-11-04 20:23:55 -06:00
Dennis Heimbigner
f8cb89e679 ckp 2023-11-04 16:42:36 -06:00
Dennis Heimbigner
64111c7f5e remove conflicts 2023-11-04 16:17:09 -06:00
Dennis Heimbigner
87497d79cf update 2023-11-04 16:08:59 -06:00
Sean McBride
1162f64d2a Fixed various UBSan warnings about invalid bit shifting
Just made sure to use unsigned, so that a bit does not get shifted into a sign bit.
2023-11-02 11:11:18 -04:00
Ward Fisher
e92404f11f Add fenceposting so DLL flags are only introduced wwhen we are compiling DLL-based shared libraries. 2023-11-01 11:45:31 -06:00
Ward Fisher
b9adb697ac Working to get the proposed change working with Visual studio 2023-11-01 11:35:52 -06:00
Ward Fisher
3385be8500
Merge branch 'main' into nczarr-tests-common-library 2023-10-30 15:10:43 -06:00
Ward Fisher
100dca4854
Merge pull request #2786 from Unidata/stray-lfs-character.wif
Remove stray character in cmake lfs tests for nczarr.
2023-10-30 13:17:37 -06:00
Ward Fisher
70ea45ad41 Remove stray character in cmake lfs tests for nczarr. 2023-10-30 12:26:16 -06:00
Ward Fisher
b8d76fefc2
Merge pull request #2764 from DennisHeimbigner/dapko.dmh
Fix Proxy problem for DAP2
2023-10-27 14:11:19 -06:00
Ward Fisher
37a46f2658
Merge pull request #2784 from WardF/gh2744-redux.wif
Replace exec_program with execute_process
2023-10-27 13:55:34 -06:00
Ward Fisher
8d422704ec Replace exec_program with execute_process 2023-10-27 12:20:46 -06:00
Ward Fisher
a5d15a5857
Merge pull request #2776 from ZedThree/cmake-optional-uninstall-target
CMake: Don't add uninstall target and CPack config if not top-level
2023-10-27 10:58:34 -06:00
Ward Fisher
7099fee924
Merge branch 'main' into dapko.dmh 2023-10-27 10:57:40 -06:00
Ward Fisher
329c4c9759
Merge pull request #2763 from DennisHeimbigner/noshape.dmh
Cleanup a number of issues.
2023-10-27 10:56:01 -06:00
Peter Hill
0b9c9941bc
CMake: Use helper libraries for nczarr tests
Avoids rebuilding the same files multiple times
2023-10-27 15:38:38 +01:00
Peter Hill
763e54f8a1
Fix most float conversion warnings
Fixes ~200 out of ~240 `-Wfloat-conversion` warnings on gcc 13.2
2023-10-26 16:01:24 +01:00
Ward Fisher
980c7cffb4
Merge pull request #2751 from mathstuf/find-hdf5-if-needed
netCDFConfig: find HDF5 if needed
2023-10-25 12:57:31 -06:00
Ward Fisher
12aa290fac
Merge pull request #2779 from WardF/github-action-concurrency.wif
Added stanza to workflow actions so that pushed changes cancel tests
2023-10-25 12:56:43 -06:00
Ward Fisher
1c0dfaa6c1 Added stanza to workflow actions so that pushed changes cancel any running tests in favor of testing the updated codebase. 2023-10-25 10:23:26 -06:00
Peter Hill
b41b79a8e5
CMake: Add backport of PROJECT_IS_TOP_LEVEL for CMake <3.21 2023-10-25 11:50:07 +01:00
Ward Fisher
333ab53e8b
Merge branch 'main' into dapko.dmh 2023-10-24 14:52:38 -06:00
Ward Fisher
7852b2b0e3
Merge branch 'main' into noshape.dmh 2023-10-24 14:51:48 -06:00