Commit Graph

9069 Commits

Author SHA1 Message Date
Ward Fisher
394cf6466e Correct version string change that should not have ended up in this branch. 2023-01-09 15:07:46 -08:00
Ward Fisher
bd0341256b Add libiconv-devel to cygwin CI 2023-01-09 14:55:30 -08:00
Ward Fisher
e02f678168 Correct libcurl development package. 2023-01-09 14:45:02 -08:00
Ward Fisher
19a1f9ec29 Add libcurl-dev to cygwin github actions 2023-01-09 14:43:50 -08:00
Ward Fisher
ecd48ae14e Cleaning up NCZARR_S3 summary, turning on byterange by default. 2023-01-09 13:48:54 -08:00
Ward Fisher
9ea273961b Added S3 status to libnetcdf.settings, turned byterange on by default. 2023-01-09 12:11:16 -08:00
Ward Fisher
435f16bcb9 Merge branch 'loop.dmh' of https://github.com/DennisHeimbigner/netcdf-c into v4.9.1-wellspring.wif 2023-01-04 14:07:34 -08:00
Ward Fisher
a71d77bcb9 Merge branch 'restore_old_doc.wif' of https://github.com/WardF/netcdf-c into v4.9.1-wellspring.wif 2022-12-20 10:39:38 -07:00
Ward Fisher
c228426c07 Fix a logic error re: DAP4 tests, when DAP4 is specified, but hdf5/netcdf4 support is disabled. 2022-12-19 16:57:36 -07:00
Ward Fisher
dd99d60294 Added another old static html page in preparation for updating. 2022-12-19 14:55:31 -07:00
Ward Fisher
9226b52ca5 Add an old static file. 2022-12-19 10:23:10 -07:00
Dennis Heimbigner
a03bb5e601 Fix infinite loop in file inferencing
re: Issue https://github.com/Unidata/netcdf-c/issues/2573

The file type inferencer in libdispatch/dinference.c has a simple
forward inference mechanism so that the occurrence of certain mode
values in a URL fragment implies inclusion of additional mode values.
This kind of inference is notorious for leading to cycles if not
careful. Unfortunately, this occurred in the one in dinference.c.

This was fixed by providing a more complicated, but more reliable inference
mechanism.

## Misc. Other Changes
* Found and fixed a couple of memory leaks.
* There is a recent problem in building HDF4 support on github actions. Fixed by using the internal HDF4 xdr capability.
* Some filter-related code was not being properly ifdef'd with ENABLE_NCZARRA_FILTERS.
2022-12-18 13:18:00 -07:00
Ward Fisher
573e8924e1 DAP4 is back on for cmake-based builds. 2022-11-21 16:24:16 -07:00
Ward Fisher
74b4aae6c7 Update release date. 2022-11-18 15:08:24 -07:00
Ward Fisher
087d3b6c37 Supported headers for hdf4 are not installed in actions, and there does not appear (currently) to be an easy way to reinstall these. 2022-11-18 11:34:09 -07:00
Ward Fisher
19b8ae47bf Added target release date for RC2. 2022-11-17 14:56:54 -07:00
Ward Fisher
7559b86fbb Restore release date for 4.9.1 RC1 in release notes. 2022-11-17 14:56:03 -07:00
Ward Fisher
0fc2c817b2
Merge pull request #2559 from WardF/gh2132.wif
Add fenceposting for HAVE_DECL_ISINF and HAVE_DECL_ISNAN
2022-11-16 16:42:29 -07:00
Ward Fisher
4d63f03364 Fix mismatched arguments warning in CMakeLists.txt 2022-11-16 15:43:13 -07:00
Ward Fisher
ac7a080df8 Add a check for HAVE_DECL_ISINF and HAVE_DECL_ISNAN in support of https://github.com/Unidata/netcdf-c/issues/2132 2022-11-16 15:41:38 -07:00
Ward Fisher
c99f4f9378
Merge pull request #2557 from DennisHeimbigner/unknown.dmh
Suppress nczarr_test/tst_unknown filter test
2022-11-16 15:20:40 -07:00
Dennis Heimbigner
53a3e9ad86 retry 2022-11-15 18:56:25 -07:00
Dennis Heimbigner
887c22c681 Update Release Notes 2022-11-15 16:17:59 -07:00
Dennis Heimbigner
d37147d0ce Suppress nczarr_test/tst_unknown filter test (and its nczarr_test equivalen)
The test case nc_test4/tst_unknown.sh deletes and then restores
a filter in the plugins directory. The test nczarr_test/run_unknown.sh
also does this.  However if both are running at the same time in a
parallel bit, they apparently can interfere and can cause a race
condition failure.

The solution is to suppress one of them. Since nczarr code
is more unstable, we need to run this test. So suppress the
corresponding test in nc_test4.
2022-11-15 16:15:32 -07:00
Ward Fisher
06df257e22
Merge pull request #2553 from WardF/fix_dap4_ac.wif
Make dap4 reference dap instead of hard-wired to be disabled.
2022-11-11 11:22:29 -07:00
Ward Fisher
37917f0d39 Make dap4 reference dap instead of hard-wired to be disabled. 2022-11-10 14:42:37 -07:00
Ward Fisher
cbad310d20
Merge pull request #2552 from DennisHeimbigner/racecond1.dmh
Fix race condition in ncdump (and other) tests.
2022-11-09 14:22:36 -07:00
Dennis Heimbigner
683d1ffea2 Update RELEASE_NOTES.md 2022-11-09 13:43:03 -07:00
Dennis Heimbigner
c60e11302e Merge branch 'racecond1.tmp' into racecond1.dmh 2022-11-09 13:38:14 -07:00
Dennis Heimbigner
e46b83a15a ckp 2022-11-09 13:37:40 -07:00
Dennis Heimbigner
1fd0bcc78b test4 2022-11-09 13:06:05 -07:00
Dennis Heimbigner
aa459e503f Restore DAP4 functionality and testing 2022-11-09 13:03:31 -07:00
Dennis Heimbigner
929ff0a56c test3 2022-11-09 12:59:46 -07:00
Dennis Heimbigner
2943a78ebb Merge main and fix conflicts 2022-11-09 12:58:40 -07:00
Ward Fisher
773745b1d0
Merge branch 'main' into racecond1.dmh 2022-11-09 12:58:10 -07:00
Dennis Heimbigner
6d009ea9b3 merged 2022-11-09 12:56:12 -07:00
Ward Fisher
87b50932de
Merge pull request #2530 from Unidata/v4.9.1-wellspring.wif
Merge subset of v4.9.1 files back into main development branch
2022-11-09 12:44:18 -07:00
Dennis Heimbigner
03b0e277d2 Update RELEASE notes 2022-11-08 20:18:12 -07:00
Dennis Heimbigner
9f848c9e53 Fix race condition in ncdump (and other) tests.
re: Issue https://github.com/Unidata/netcdf-c/issues/2551

Ryan May identified the use of a common scratch file (tmp.cdl)
across multiple test shell scripts in ncdump directory
and the nczarr_test directory.
This sometimes causes errors because of race conditions
between those scripts.

I renamed those common files to avoid the race condition.  I
also did some further checking and found some additional,
similar conflicts and fixed those. Also did some minor cleanup
of unused files.

Tests fixed:
ncdump: run_back_comp_tests.sh tst_bom.sh tst_nccopy4.sh tst_nccopy5.sh
nczarr_test: git df master -- run_nccopyz.sh run_nczarr_fill.sh run_scalar.sh
2022-11-08 20:12:38 -07:00
Dennis Heimbigner
71815264d9 merged 2022-11-08 20:09:27 -07:00
Dennis Heimbigner
7f98d4d7df Merge branch 'master' into racecond1.tmp 2022-11-08 20:07:38 -07:00
Dennis Heimbigner
d1d0ceaecf test2 2022-11-08 19:06:24 -07:00
Dennis Heimbigner
6d4ecf2f76 test 2022-11-08 16:56:51 -07:00
Ward Fisher
e57e742d30
Merge pull request #2529 from DWesl/cygwin-ci-no-install-plugins
Add Cygwin CI and stop installing unwanted plugins
2022-11-08 13:45:02 -07:00
Dennis Heimbigner
2e92b40d42 test 2022-11-08 13:24:19 -07:00
Ward Fisher
3c8c8d6498 Merge branch 'main' into v4.9.1-wellspring.wif 2022-11-08 10:59:03 -07:00
Ward Fisher
7de5b8fcc7
Merge pull request #2550 from ibaned/strlen-ambiguous
Rename variable to avoid function name conflict
2022-11-08 10:39:32 -07:00
Dan Ibanez
6173956790 Rename variable to avoid function name conflict
I was getting the following error while compiling:

```
netcdf-c/libnczarr/zutil.c:544:26: error: called object 'strlen' is not a function or function pointer
  544 |     if(dnamep) *dnamep = strdup(dname);
      |                          ^~~~~~
netcdf-c/libnczarr/zutil.c:533:68: note: declared here
  533 | ncz_nctype2dtype(nc_type nctype, int endianness, int purezarr, int strlen, char** dnamep)
      |                                                                ~~~~^~~~~~
```

My interpretation is that strdup() is implemented as a macro
which calls strlen() the standard C function, and when that
macro is being substituted here the call to strlen tries
to "call" the integer variable named strlen.

Resolving this by renaming the integer variable to "len"
instead of "strlen", avoiding a conflict with a standard
C library function name.
2022-11-07 13:24:20 -07:00
DWesl
4c1a39bb71
BLD: Declare nulldup backup definition static not extern
The use of this function currently runs into problems with multiple definitions: once for each file including ncconfigure.h.  Defining this as static rather than extern should hide the definitions from each other.

static inline would still be closer to the definition as a macro, but that requires a #define to work on all platforms (not all compilers have inline yet).
2022-11-01 08:01:10 -04:00
DWesl
3b74e0bb93 FIX: ifndef requires no parentheses. 2022-10-29 13:27:17 -04:00