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
ce33d888a1
Add missing ERANGE_FILL to cmake-generated config.h. Include config.h in ncx.c.
2023-11-14 15:43:58 -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
b10ab54b56
Update to latest master
2023-11-04 20:45:40 -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
Dennis Heimbigner
9df7f8d14b
Update release notes
2023-10-25 15:26:46 -06:00
Dennis Heimbigner
bef8cf0460
Reduce warning by changing type of NC_OBJ.id.
...
re: https://github.com/Unidata/netcdf-c/issues/2780
As noted in the above issue, changing the NC_OBJ.id field
type from size_t to int reduces irrelevant warning.
There is no semantic effect since the number of distinct ids
will never approach the max positive integer value.
Note that this could change in the future if the id becomes
more than a simple counter.
2023-10-25 15:14:29 -06: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
Ward Fisher
f3c0fb5ea0
Merge branch 'main' into find-hdf5-if-needed
2023-10-24 14:50:00 -06:00
Ward Fisher
fa8d831a83
Merge pull request #2601 from DWesl/autotools-pseudo-make-distcheck
...
CI: Have nc-autotools use source distribution instead of repository
2023-10-24 13:28:56 -06:00
Ward Fisher
f512fdd17b
Merge pull request #2778 from WardF/cdash-script.wif
...
Add ctest script to CI.
2023-10-24 13:24:37 -06:00
Ward Fisher
d476629704
Replace accidental flag removal
2023-10-24 13:16:11 -06:00
Ward Fisher
347b2504bf
Undo previous change.
2023-10-24 13:15:12 -06:00
Ward Fisher
bbcbab7a26
Clarify name of a Github Action.
2023-10-24 11:48:29 -06:00
Ward Fisher
3e341bd6e1
Turning off cdash integration for the moment, but merging PR to include other changes/updates.
2023-10-24 11:46:21 -06:00