Commit Graph

8780 Commits

Author SHA1 Message Date
Ward Fisher
a3998aa2f0
Merge pull request #2408 from DennisHeimbigner/rcapi.dmh
Make public a limited API for programmatic access to internal .rc tables
2022-06-21 10:03:45 -06:00
Dennis Heimbigner
abba5c383b Fix errors:
1. I accidentally used ncrc_initialize instead of nc_initialize.
2. Change HTTP.CAINFO to HTTP.SSL.CAINFO
2022-06-20 14:09:05 -06:00
Dennis Heimbigner
2445d779a3 Update Release Notes 2022-06-17 15:01:03 -06:00
Dennis Heimbigner
aabbdbf64c Make public a limited API for programmatic access to internal .rc tables
re: https://github.com/Unidata/netcdf-c/issues/2337
re: https://github.com/Unidata/netcdf-c/issues/2407

Add two functions to netcdf.h to allow programs to get/set
selected entries into the internal .rc tables. This should fix
the above issues by allowing HTTP.CAINFO to be set to the
certificates directory.  Note that the changes should be
performed as early as possible in the program because some of
the .rc table entries may get cached internally and changing the
entry after that caching occurs may have no effect.

The new signatures are as follows:

1. Get the value of a simple .rc entry of the form "key=value".
Note that caller must free the returned value, which might be NULL.
````
char* nc_rc_get(char* const * key);

@param key table entry key
@return value if .rc table has entry of the form key=value
@return NULL if no such entry is found.
````

2. Insert/Overwrite the specified key=value pair in the .rc table.
````
int nc_rc_set(const char* key, const char* value);

@param key table entry key -- may not be NULL
@param value table entry value -- may not be NULL
@return NC_NOERR if no error
@return NC_EINVAL if error
````

Addendum:

re: https://github.com/Unidata/netcdf-c/issues/2407

Modify dhttp.c to use the .rc entry HTTP.CAINFO if defined.
2022-06-17 14:35:12 -06:00
Ward Fisher
7375f4bfb3
Merge pull request #2405 from DennisHeimbigner/homefix.dmh
Use env variable USERPROFILE instead of HOME for windows and mingw.
2022-06-15 11:03:37 -06:00
Dennis Heimbigner
17ee10be4b restart github 2022-06-14 16:52:16 -06:00
Dennis Heimbigner
a30df40f51 Update release notes 2022-06-14 14:46:00 -06:00
Dennis Heimbigner
fda1219534 Use env variable USERPROFILE instead of HOME for windows and mingw.
re: https://github.com/Unidata/netcdf-c/issues/2380
re: https://github.com/Unidata/netcdf-c/issues/2337

This PARTIALLY fixes some HOME problems because under Windows,
the HOME environment variable may not be set. In that case, use the
USERPROFILE environment variable instead.
2022-06-14 14:44:23 -06:00
Ward Fisher
d68c2ff4ed
Merge pull request #2404 from WardF/add_manual_github_actions.wif
Add manual GitHub actions triggers for the tests.
2022-06-13 16:57:56 -06:00
Ward Fisher
5f1e18b83d Add manual GitHub actions triggers for the tests. 2022-06-13 16:56:22 -06:00
Ward Fisher
8fc5fe8f14
Merge pull request #2387 from Unidata/v4.9.0-wellspring.wif
Merge relevant info updates back into `main`
2022-06-13 14:58:00 -06:00
Ward Fisher
a065aa1b2a
Merge pull request #2403 from DennisHeimbigner/nofletch.dmh
Fix nc_def_var_fletcher32 operation
2022-06-13 14:57:37 -06:00
Dennis Heimbigner
610c8aacb4 Update release notes 2022-06-13 14:12:47 -06:00
Dennis Heimbigner
b1600db106 Fix nc_def_var_fletcher32 operation
re: Github Issue https://github.com/Unidata/netcdf-c/issues/2401

The nc_def_var_fletcher32 code in hdf5 is always setting fletcher32
when invoked.
Fix is to properly test value of the fletcher32 argument.
2022-06-13 13:14:55 -06:00
Ward Fisher
23e207a1c3 Make plugin dir off by default for this release. 2022-06-10 15:03:36 -06:00
Ward Fisher
c879f710f5 Incorporated GitHub-generated release notes into the manually managed release notes, and updated the list of included dependencies for Windows installer downloads. 2022-06-10 14:43:50 -06:00
Ward Fisher
f987c94a70 Corrected Makefile.am error. 2022-06-10 14:17:51 -06:00
Ward Fisher
5e3e79e26b Make dist is generating a distribution with missing files, that only cmake seems to complain about. 2022-06-10 14:16:16 -06:00
Ward Fisher
0ff56543b4 Correct error in make dist 2022-06-10 14:08:57 -06:00
Ward Fisher
c3ed070fe5 Testing manual workflow_dispatch for github actions. 2022-06-09 15:04:10 -06:00
Ward Fisher
8dccf6055b Updated release date to reflect actual release. 2022-06-09 14:49:02 -06:00
Ward Fisher
2021ceeb68 Merge branch 'main' into v4.9.0-wellspring.wif 2022-06-09 14:43:57 -06:00
Ward Fisher
5df5539576
Merge pull request #2383 from gsjaardema/patch-52
Initialize potentially uninitialized variable
2022-06-09 14:42:34 -06:00
Ward Fisher
3ba081a88f
Merge pull request #2382 from gsjaardema/patch-51
Initialize variable
2022-06-09 14:42:08 -06:00
Ward Fisher
d03d44be46
Merge pull request #2368 from edwardhartnett/ejh_dimlen
fixing issues with dimlens of unlitmited dims in complex situations
2022-06-09 14:41:44 -06:00
Ward Fisher
d35c7c265a
Merge pull request #2375 from rkouznetsov/lossydoc
Add doc on errors introduced by lossy compression
2022-06-09 14:40:57 -06:00
Ward Fisher
746477be8f
Merge pull request #2386 from gsjaardema/patch-53
Specify correct plugin suffix
2022-06-08 12:23:11 -06:00
Rostislav Kouznetsov
8715fcac53 Fix typo 2022-06-08 19:35:16 +03:00
Greg Sjaardema
ac90192e6d
Specify correct plugin suffix
CMake by default uses the ".so" suffix for libraries with the `MODULE` attribute.  Specify the desired suffix with by setting the `SUFFIX` property explicitly on the plugin targets.  Fixes plugin install issue on Macs.
2022-06-08 07:45:03 -06:00
Ward Fisher
c494723ef2 Merge branch 'main' into v4.9.0-wellspring.wif 2022-06-07 16:06:28 -06:00
Ward Fisher
93742f8e7b
Merge pull request #2384 from gsjaardema/patch-53
Fix syntax error
2022-06-07 15:19:43 -06:00
Greg Sjaardema
254f232133
fix typo 2022-06-07 15:12:38 -06:00
Greg Sjaardema
2a0d8042ed
Fix syntax error
The include_files argument was malformed due to a missing `${` at the beginning.  Was expanding to (e.g.) the literal `Zstd_INCLUDE_DIRS}` instead of to the contents of the `Zstd_INCLUDE_DIRS` variable.
2022-06-07 14:38:09 -06:00
Greg Sjaardema
f89dcb9dfa
Initialize potentially uninitialized variable
If `cvtoptions.pathkind` is true, then `canon` will not be initialized and it is accessed at line 279.
2022-06-07 14:28:01 -06:00
Greg Sjaardema
b74dc50dd3
Initialize variable
In the second case, `arraycount` is uninitialized. In the first, just initializing at definition instead of a couple lines later...
2022-06-07 14:19:56 -06:00
Rostislav Kouznetsov
7564e7e797 Add doc on errors introduced by lossy compression
Also references to relevant papers
2022-06-07 11:13:15 +03:00
Ward Fisher
9db9ccdd46 Merge branch 'main' into v4.9.0-wellspring.wif 2022-06-06 14:37:12 -06:00
Ward Fisher
b2097a77aa
Merge pull request #2373 from edwardhartnett/ejh_docs_5
fixed documentation warnings in filters.md
2022-06-06 14:36:10 -06:00
Ward Fisher
4997d126ec
Merge pull request #2364 from edwardhartnett/ejh_docs_3
fixed more doxygen warnings
2022-06-06 14:35:41 -06:00
Ward Fisher
b8f352e96b
Merge pull request #2363 from edwardhartnett/ejh_doc_2
fixed some doxygen warnings
2022-06-06 14:35:28 -06:00
Ward Fisher
054c392fee
Merge pull request #2362 from edwardhartnett/ejh_doc
adding quantize documentation
2022-06-06 14:35:04 -06:00
Ward Fisher
e38f1250fe Updated doxygen version, added target release date to RELEASE_NOTES 2022-06-03 11:03:00 -06:00
Ward Fisher
7403497dd7 Bumped dev version in CMakeLists.txt. SO Version remains unchanged. 2022-06-03 10:55:41 -06:00
Ward Fisher
b3b74eb9f3 Revised netCDF version and SO version 2022-06-03 10:52:00 -06:00
Edward Hartnett
cb36cd5424 turned set -x off again 2022-06-02 13:42:46 +03:00
Edward Hartnett
26e0ff248e turn on set -x for failing test script 2022-06-02 12:37:50 +03:00
Edward Hartnett
db9b097da9 change to trigger CI 2022-06-01 12:15:12 +03:00
Edward Hartnett
b6c105fc12 fixed documentation warnings in filters.md 2022-06-01 07:24:06 +03:00
Ward Fisher
bef049d311
Merge pull request #2370 from WardF/install_dmh.wif
#2348
2022-05-31 16:42:30 -06:00
Ward Fisher
981235796e Turned off plugin directory during CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/home/wfisher/Desktop/gitprojects/netcdf-c/missing' aclocal-1.16 -I m4 in support of https://github.com/Unidata/netcdf-c/pull/2348#issuecomment-1142649052 2022-05-31 15:50:37 -06:00