Commit Graph

8834 Commits

Author SHA1 Message Date
Edward Hartnett
4e4209b6f0 code and documentation cleanup 2022-07-02 08:13:13 -06:00
Edward Hartnett
309d4bec35 code and documentation cleanup 2022-07-02 07:51:33 -06:00
Edward Hartnett
a2aeec8936 documentation 2022-07-02 06:19:52 -06:00
Edward Hartnett
536cdd28f9 fix and test quantize mode for NC_CLASSIC_MODEL 2022-07-02 06:14:32 -06:00
Ward Fisher
a00bb62167
Merge pull request #2439 from WardF/disable_quant_option.wif
Add `--disable-quantize` to configure
2022-07-01 10:05:35 -06:00
Ward Fisher
b6bdcacde7 Update release notes. 2022-06-30 14:44:09 -06:00
Ward Fisher
d1a3f6fbe6 configure.ac logic for disabling quantize. 2022-06-30 14:41:18 -06:00
Ward Fisher
a494ac50cd
Merge pull request #2438 from WardF/gh2271.wif
Updated CMakeLists to avoid corner case cmake error
2022-06-29 16:29:58 -06:00
Ward Fisher
f3426bc7d9 Updated CMakeLists to avoid the error described in https://github.com/Unidata/netcdf-c/issues/2271 2022-06-29 14:44:49 -06:00
Ward Fisher
5794ae4dd3
Merge pull request #2437 from WardF/gh2435.wif
Fix pnetcdf tests in cmake
2022-06-28 18:52:44 -06:00
Ward Fisher
9d44421024 Work in a one-line change as originally suggested in https://github.com/Unidata/netcdf-c/pull/2426. 2022-06-28 16:58:24 -06:00
Ward Fisher
dfc47497e3 Make pnetcdf tests run in serial fashion when using cmake 2022-06-28 16:53:38 -06:00
Ward Fisher
7d6d4b9b40 Fix a typo. 2022-06-28 16:31:15 -06:00
Ward Fisher
73a0d92f9d Fix a typo. 2022-06-28 16:30:26 -06:00
Ward Fisher
e34f8d5dc0 Run one-off tests first. 2022-06-28 16:29:35 -06:00
Ward Fisher
ff34b66182 Fix cache check. 2022-06-28 16:27:23 -06:00
Ward Fisher
8637265e7f Merge branch 'main' into gh2435.wif 2022-06-28 16:15:44 -06:00
Ward Fisher
f414e51b1a
Merge pull request #2423 from edwardhartnett/ejh_docs_1
fixed RELEASE_NOTES.md
2022-06-28 16:15:11 -06:00
Ward Fisher
baaa2b6f00 Building test programs invoked by run_pnetcdf_tests.sh 2022-06-28 15:28:40 -06:00
Ward Fisher
bfca030037 Fixing cmake-based run_pnetcdf_tests.sh 2022-06-28 15:04:58 -06:00
Ward Fisher
24bdf6c067 Generate nc_test/run_pnetcdf_tests.sh when using cmake, in support of https://github.com/Unidata/netcdf-c/issues/2435 2022-06-28 14:56:38 -06:00
Ward Fisher
47d35cc24e
Merge pull request #2319 from wkliao/part 2022-06-27 11:47:20 -06:00
Edward Hartnett
e45292f6ca moved quantize error documentation 2022-06-23 09:51:09 +02:00
Edward Hartnett
68b0d50af0 change to trigger CI 2022-06-23 07:25:09 +02:00
Edward Hartnett
f9494ab296 change to trigger CI 2022-06-23 07:09:16 +02:00
Edward Hartnett
03668614b8 changed backslash to and 2022-06-23 06:46:01 +02:00
Edward Hartnett
a9ffa1c503 fixed missing quote 2022-06-23 06:44:03 +02:00
Edward Hartnett
650ae97fa8 fixed missing quote 2022-06-23 06:43:23 +02:00
Edward Hartnett
45f29f884a fixed RELEASE_NOTES.md 2022-06-23 06:18:17 +02:00
Ward Fisher
884610d2f1
Merge pull request #2392 from edwardhartnett/ejh_notes
updated release notes
2022-06-22 14:00:03 -06:00
Ward Fisher
545ce88476
Merge pull request #2377 from edwardhartnett/ejh_update_doxyfile
Updating Doxyfile.in with doxygen-1.8.17, turned on WARN_AS_ERROR, added doxygen build to CI run
2022-06-22 13:31:25 -06:00
Ward Fisher
3dfc730af4
Merge branch 'main' into ejh_notes 2022-06-22 13:15:24 -06:00
Ward Fisher
648a8f1fd1
Merge pull request #2417 from WardF/gh2410-retry.wif
Check for libxml2 development files
2022-06-22 11:01:52 -06:00
Ward Fisher
d6dee0c8ca Add libxml2 install to mingw GitHub actions. 2022-06-21 17:05:47 -06:00
Ward Fisher
c8a6628da2 Added a check for xml2-config as a test for the libxml2-dev header files. 2022-06-21 16:56:19 -06:00
Ward Fisher
6d55794fe1
Merge pull request #2416 from DennisHeimbigner/homedir.dmh
Fix choice of HOME dir
2022-06-21 15:44:26 -06:00
Ward Fisher
7eeb3f8ea7
Merge pull request #2412 from georgthegreat/patch-1
Fix typo in CMakeLists.txt
2022-06-21 14:29:30 -06:00
Dennis Heimbigner
7a22b7c630 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-21 14:09:10 -06:00
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
Yuriy Chernyshov
80a6611cfc
Fix typo in CMakeLists.txt
At the time generated dynamic library is named `libnetcdf.so.19}` which looks like a typo.
2022-06-19 19:29:20 +03:00
wkliao
9c33cfc62c use malloc to increase read chunk size from 1 KB to 4 MB
Otherwise running command below as part of nc_test/run_inmemory.sh can
be very slow
    ./tst_diskless4 500000000 opendiskless
2022-06-18 13:06:37 -05: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