Commit Graph

7896 Commits

Author SHA1 Message Date
Ward Fisher
7446311dfd
Merge pull request #2014 from Unidata/fix-makedist.wif
Another PR to fix 'make distcheck' issues that had crept in.
2021-06-01 15:26:23 -06:00
Ward Fisher
cab3743568 Added missing file. 2021-06-01 15:05:42 -06:00
Ward Fisher
a1f8145038
Merge pull request #2011 from DennisHeimbigner/authfix.dmh
Re-enable DAP2 authorization tests
2021-06-01 14:09:50 -06:00
Ward Fisher
b0f85f41df
Merge branch 'master' into authfix.dmh 2021-06-01 14:09:43 -06:00
Ward Fisher
bc98720e3c Merge branch 'master' into fix-makedist.wif 2021-06-01 13:55:30 -06:00
Ward Fisher
64fa63a774 Clean up stray file that was fouling make distcheck 2021-06-01 13:55:10 -06:00
Ward Fisher
82271ff612
Merge pull request #1998 from DennisHeimbigner/mktmp.dmh
Fix bug with windows version of mkstemp that causes failure to create more than 26 temp files
2021-06-01 12:58:23 -06:00
Dennis Heimbigner
cfa935967f Fix conflicts 2021-06-01 12:45:30 -06:00
Dennis Heimbigner
069a542725 Add backslash escape option to pathcvt and test 2021-05-30 16:16:25 -06:00
Dennis Heimbigner
a99afdefc6 Add backslash escape option to pathcvt and test 2021-05-30 16:12:40 -06:00
Dennis Heimbigner
1bb482dbae Update RELEASE NOTES 2021-05-29 21:57:06 -06:00
Dennis Heimbigner
e632d02041 Re-enable DAP2 authorization tests
The thredds-test server now has some password protected datasets
that can be used to test DAP2 authorization support.
The general location is
````
https://thredds.ucar.edu/thredds/tdscapabilities/authTest.html
````
and specifically:
````
https://thredds.ucar.edu/thredds/dodsC/test3/testData.nc.html
````

This PR replaces old testcases with ncdap_test/testauth.sh.
This testcase allows us to test use of the .dodsrc file and .netrc file
and embedded user+pwd.

As part of this, I had to create a program (ncdap_test/pathcvt.c)
that is essentially the equivalent to cygpath. Given a path in
windows, unix, msys or cygwin format, it converts it to the
equivalent format in one of those four cases.  So it can be used
to convert a cygwin path to a windows path, for example. This is
needed in testpathcvt and testauth to make sure that the paths
in .daprc (e.g. the reference to .netrc) are of the proper
format.

Misc. Other Changes:
1. Fix some memory leaks in libdap2
2. Setting the env variable CURLOPT_VERBOSE allows tracking of curl
   operations.
3. Make tst_charvlenbug be conditional on NC_VLEN_NOTEST.
2021-05-29 21:30:33 -06:00
Dennis Heimbigner
3c5740dde5 sigh 2021-05-29 21:17:52 -06:00
Dennis Heimbigner
fe16d0884f final 2021-05-29 20:51:09 -06:00
Dennis Heimbigner
67df42a536 converted 2021-05-29 19:50:41 -06:00
Dennis Heimbigner
b95d2302b5 pathcvtadd 2021-05-29 17:14:16 -06:00
Dennis Heimbigner
2cb7f4768b pathcvt 2021-05-29 16:52:41 -06:00
Dennis Heimbigner
c361c1056d update file permission 2021-05-29 16:40:38 -06:00
Dennis Heimbigner
42a9360f9a charvlen 2021-05-28 21:53:12 -06:00
Dennis Heimbigner
74793520b2 szip 2021-05-28 14:27:22 -06:00
Dennis Heimbigner
571c9b4323 merge 2021-05-28 13:09:16 -06:00
Ward Fisher
b8e9929e34
Merge pull request #1986 from DennisHeimbigner/ncdumpvlenbug.dmh
Fix ncdump bug when printing VLENs with basetype char
2021-05-27 15:13:50 -06:00
Ward Fisher
19809e2c26
Merge branch 'master' into ncdumpvlenbug.dmh 2021-05-27 14:50:05 -06:00
Ward Fisher
3d997de7d3
Merge pull request #1959 from DennisHeimbigner/typescope.dmh
Regularize the scoping of types
2021-05-27 14:34:05 -06:00
Ward Fisher
2c26f94a49
Merge branch 'master' into typescope.dmh 2021-05-27 14:13:14 -06:00
Ward Fisher
73e7b84294
Merge pull request #2009 from DennisHeimbigner/xgetoptmingw.dmh
Fix Mingw versus XGetopt (again)
2021-05-27 14:07:30 -06:00
Ward Fisher
e0ddc7c4e0
Merge branch 'master' into xgetoptmingw.dmh 2021-05-27 14:07:18 -06:00
Ward Fisher
991069ea93
Merge pull request #1973 from gsjaardema/patch-48
Fix some HDF5-related tests
2021-05-27 12:31:30 -06:00
Ward Fisher
1eb7522528
Merge pull request #2000 from DennisHeimbigner/badfilter.dmh
Improve error message when non-existent filter is encountered.
2021-05-27 12:30:44 -06:00
Ward Fisher
cc618af959
Merge branch 'master' into badfilter.dmh 2021-05-27 12:30:39 -06:00
Ward Fisher
ca9be04be0
Merge pull request #2007 from Unidata/fix-makedist.wif
Makedist is failing in nczarr_test
2021-05-27 09:11:58 -06:00
Dennis Heimbigner
014db82bd4 Update Release notes 2021-05-26 16:06:17 -06:00
Dennis Heimbigner
d3f6c126b6 Fix Mingw versus XGetopt (again)
re: https://github.com/Unidata/netcdf-c/pull/2003#issuecomment-847637871

Turns out that mingw defines both _WIN32 and also defines getopt.
This means that this test:
````
#ifdef _WIN32
#include "XGetopt.h"
#endif
````
fails on this error:
````
../include/XGetopt.h:38:24: error: conflicting types for 'getopt'
````

Fix is to replace
````
#ifdef _WIN32
with
#if defined(_WIN32) && !defined(__MINGW32__)
````
2021-05-26 14:27:27 -06:00
Ward Fisher
5b49ee9f3b Temporarily remove distcheck from Github Actions 2021-05-26 13:55:59 -06:00
Ward Fisher
6eaf39f3c3 Revert previous change. 2021-05-26 13:54:40 -06:00
Ward Fisher
a5d7277092 Testing a different theory 2021-05-26 13:44:56 -06:00
Ward Fisher
5f95b7ca9f Temporarily add an ssh-interface when make distcheck fails. 2021-05-26 13:15:12 -06:00
Ward Fisher
ceb9b29e17 Speculating on fix, perhaps a race issue on make distcheck when passed the command to use concurrent processes. 2021-05-26 11:16:22 -06:00
Ward Fisher
141446514b Trying to fix a confounding error in make distcheck. 2021-05-26 11:03:29 -06:00
Ward Fisher
e2eb7bb52e Added DISTCHECK_CONFIGURE_FLAGS to Github Actions distcheck stanza. 2021-05-26 10:44:07 -06:00
Ward Fisher
d003f98367 Updated github actions to add make distcheck 2021-05-25 10:55:14 -06:00
Ward Fisher
ac6c9eb20d Updated Release Notes. 2021-05-25 10:52:55 -06:00
Ward Fisher
345b9e6f2c Clean up a leftover directory. 2021-05-25 10:13:32 -06:00
Ward Fisher
427166f02d
Merge pull request #2003 from DennisHeimbigner/closedir.dmh
Fix NCclosedir in dpathmgr.c
2021-05-20 15:43:40 -06:00
Dennis Heimbigner
0e931f22a5 More cygwin fixes 2021-05-19 21:04:53 -06:00
Dennis Heimbigner
537f41aeb3 Fix 2 for cygwin build 2021-05-19 17:41:41 -06:00
Dennis Heimbigner
edc2c7af98 fix cygwin build 2021-05-19 17:19:33 -06:00
Dennis Heimbigner
453ad847b9 turn off tracing 2021-05-19 14:38:07 -06:00
Dennis Heimbigner
fba7198039 Fix NCclosedir in dpathmgr.c
re: Issue https://github.com/Unidata/netcdf-c/issues/1999

NCclosedir code is incorrect. Fix.
Note that this issue crops up when using a non-VisualStudio windows build
such as Mingw because Mingq defines dirent.h, but Visual Studio does not.

Addendum:
Fix some mingw bugs:

1. Modify XGetopt.h to be conditional on _WIN32 instead of _MSC_VER.
2. Make sure sys/stat.h is included in ncpathmgr.h
2021-05-19 14:19:28 -06:00
Ward Fisher
92e8808cd9
Merge pull request #2004 from DennisHeimbigner/dimcount.dmh
Fix counting of dimensions in ncdump
2021-05-19 11:29:48 -06:00