Commit Graph

3984 Commits

Author SHA1 Message Date
Dennis Heimbigner
d1e17b5ee7 re: pull request: https://github.com/Unidata/netcdf-c/issues/487
The use of the following version-specific curl flags
is not always properly wrapped or aliased using
config.h HAVE_CURL... ifdefs.
# CURLOPT_USERNAME is not defined until curl version 7.19.1
# CURLOPT_PASSWORD is not defined until curl version 7.19.1
# CURLOPT_KEYPASSWD is not defined until curl version 7.16.4
  -- aliased as needed to CURLOPT_SSLKEYPASSWD
# CURLINFO_RESPONSE_CODE is not defined until curl version 7.10.7
  -- aliased as needed to CURLINFO_HTTP_CODE
# CURLOPT_CHUNK_BGN_FUNCTION is not defined until curl version 7.21.0
  -- not used in our code
2017-09-18 16:44:31 -06:00
Dennis Heimbigner
ddacf2db38 When ncgen is invoked without a -k flag,
it tries to infer the file kind based on
the constructs and types used in the .cdl
file. Previously, it included cdf5 as an
inferrable kind, but this is almost never
what is wanted. So limit inferable kinds
to netcdf classic vs netcdf enhanced.
Also fix tst_inttags4.sh test.
2017-09-15 21:03:05 -06:00
Ward Fisher
15263f7a95 Merge pull request #482 from Unidata/d4rcfix.dmh
Important fix to d4rc.c
2017-09-08 17:06:09 -06:00
Dennis Heimbigner
b7f6941da8 It is imperative that this fix goes into
v4.5-release-candidate branch and master branch ASAP.

The bug occurs in d4rc.c where strcmp is being applied to NULL.
Also, the code in which it occurs is debugging code, so it needs
to be #ifdef'd.  This fix may cause minor conflicts with other
outstanding pull requests that fix the same bug. But the
conflicts should be minor and easy to resolve.
2017-09-08 13:54:02 -06:00
Ward Fisher
e4d6a13257 Merged in support of https://github.com/Unidata/netcdf-c/pull/470 2017-09-06 11:53:59 -06:00
Ward Fisher
a8d90288b6 Merge branch 'fill_value_undefined' of https://github.com/pelson/netcdf-c into gh470 2017-09-06 11:52:27 -06:00
Ward Fisher
69136c0ddd Merge branch 'patch-4' of https://github.com/gsjaardema/netcdf-c into v4.5.0-release-branch 2017-09-05 15:48:12 -06:00
Ward Fisher
8c03980cf3 Merge branch 'master' into fill_value_undefined 2017-09-05 15:46:47 -06:00
Ward Fisher
fde8720fd3 Infile given absolute path. 2017-09-05 13:13:08 -06:00
Ward Fisher
eeeef6f2a6 Tweaking makefile.am 2017-09-05 13:05:01 -06:00
Greg Sjaardema
3a30cdc1bc Fix bad output from nc-config
I was getting "yes" output from some of the options which were not enabled.  This was due to two reasons:
* If CMake set the variable to "OFF", then the `-z $var test` would fail and `$var` would be set to "yes" even though it should be "no"
* If CMake set the variable to empty string (`has_var=""`), then the `-z $has_var` test would also fail and set it to yes instead of no.

With these changes, it looks like I am getting the correct output from nc-config consistent with my configuration options.
2017-09-02 08:36:58 -06:00
Ward Fisher
1f7ea554a8 Added execute flag 2017-09-01 16:47:26 -06:00
Ward Fisher
62511cc634 Removed a stray line in makefile.am 2017-09-01 13:03:49 -06:00
Ward Fisher
db7f9c518a Updated release notes in relation to https://github.com/Unidata/netcdf-c/issues/425 and https://github.com/Unidata/netcdf-c/issues/463 2017-09-01 12:36:12 -06:00
Ward Fisher
0119b7f83b Merge branch 'v4.5.0-release-branch' into gh425 2017-09-01 12:02:35 -06:00
Ward Fisher
b6ebc0e77e Wired in new test to CMake-based build. 2017-09-01 11:58:37 -06:00
Ward Fisher
812a7b223d Wiring new test into autotools. 2017-09-01 11:57:28 -06:00
Ward Fisher
a5d9c2dbcd Adding a test to check for regressions when subsetting a netCDF3 file. 2017-09-01 11:47:42 -06:00
Ward Fisher
a95a7c18bb Corrected an issue with netcdf3 files that would prevent the -v and -V flags from working properly when using nccopy. See https://github.com/Unidata/netcdf-c/issues/425 and https://github.com/Unidata/netcdf-c/issues/463 for more information. 2017-08-31 16:16:21 -06:00
Ward Fisher
2bf1f68cf7 Updated release notes in support of https://github.com/Unidata/netcdf-c/pull/473 2017-08-30 12:24:52 -06:00
Ward Fisher
6bdb975ceb Merge branch 'patch-2' of https://github.com/gsjaardema/netcdf-c into gsjaardema 2017-08-30 12:22:04 -06:00
Greg Sjaardema
076d71e888 Fix (I think) the --has-dap and --has-dap4 output
The `has_dap4` define was missing trailing @.  I also added tests similar to other code to result in lowercase yes no for `--has_dap4`.

I'm not as sure about the `--has-dap` changes.  One place was outputting `$has_dap` which is never defined.  I think that the intent is that `--has-dap` returns the same as `--has-dap2` so made changes that did that.  If that isn't the intent, then let me know and I will back out those changes and only leave the dap4-related change.
2017-08-29 15:27:39 -06:00
Ward Fisher
71db48eb78 Updated types documentation in support of https://github.com/Unidata/netcdf-c/issues/469 2017-08-28 12:55:30 -06:00
Ward Fisher
f186b0800b Merge branch 'v4.5.0-release-branch' 2017-08-23 16:39:33 -06:00
pelson
b5866843dc Added detail about _FillValue being undefined. 2017-08-22 14:33:58 +01:00
Ward Fisher
ceb3b4bc1c Merge branch 'master' of https://github.com/edhartnett/netcdf-c into v4.5.0-release-branch 2017-08-21 15:16:25 -06:00
Ward Fisher
751dde9066 Merge branch 'wkliao-ghpull464' into v4.5.0-release-branch 2017-08-21 10:42:43 -06:00
Ward Fisher
b532eff1ba Merge branch 'v4.5.0-release-branch' 2017-08-21 10:13:05 -06:00
Ward Fisher
55397c345c Merge remote-tracking branch 'origin/authdoc.dmh' into v4.5.0-release-branch 2017-08-21 10:02:43 -06:00
Ward Fisher
784ed7449c Merge branch 'erange_fill_fix' of https://github.com/wkliao/netcdf-c into wkliao-ghpull464 2017-08-21 09:42:13 -06:00
Dennis Heimbigner
37834917e9 Fix up documentation to replace old auth documentation
with a revised auth.md document.
2017-08-20 18:27:48 -06:00
Dennis Heimbigner
b0cf032ddd Merge branch 'master' into authtesting.dmh 2017-08-20 15:01:19 -06:00
Wei-keng Liao
8b6d131cbe Because ncx.c and putget.c are to be released with the package in case users do not have m4, the generation of the two C files cannot depend on the configure option of --enable-erange-fill. This commit fixes this problem by replacing m4 conditional define with C conditional preprocess. 2017-08-20 14:32:57 -05:00
edhartnett
6ef8dc32fe fixed some refs 2017-08-20 04:40:27 -06:00
Wei-keng Liao
2a68d58433 avoid calling NC3_inq_var_fill when ERANGE_FILL is enabled 2017-08-20 02:04:29 -05:00
Ward Fisher
028e1b1831 Merge branch 'static-analysis' into v4.5.0-release-branch 2017-08-15 14:23:31 -06:00
edhartnett
40e53580b6 fixed some refs 2017-08-15 14:01:17 -06:00
edhartnett
6b407dd38b fixed a subsection header 2017-08-15 13:33:03 -06:00
edhartnett
50566bad6b fixed some refs 2017-08-15 13:30:55 -06:00
Ward Fisher
04f88f5d83 Corrected some potential buffer overruns flagged by clang via static analysis. 2017-08-15 12:19:05 -06:00
Ward Fisher
cfb6549606 Corrected an issue reported by clang. 2017-08-15 12:03:15 -06:00
Ward Fisher
80318f6413 Merge branch 'v4.5.0-release-branch' 2017-08-14 13:52:13 -06:00
Ward Fisher
e006ea5e07 Fixed a simple mistake in test organization. 2017-08-11 18:36:44 -06:00
Ward Fisher
85e9aaf368 Wiring in a large test to check against a regression for the issue described in https://github.com/Unidata/netcdf-c/pull/457 2017-08-11 18:18:11 -06:00
Ward Fisher
22d4754306 Merge branch 'free_mpi_obj' of https://github.com/wkliao/netcdf-c into two-pulls 2017-08-10 14:30:59 -06:00
Ward Fisher
8fcf0e53cc Merge branch 'master' of https://github.com/edhartnett/netcdf-c into two-pulls 2017-08-10 14:30:05 -06:00
Ed Hartnett
eb98d238d0 Merge branch 'master' into master 2017-08-10 12:47:17 -06:00
edhartnett
96c8e190e7 fixed table and link in Large File section 2017-08-10 12:44:57 -06:00
Ward Fisher
8251784ec2 Merge branch 'tmp' into v4.5.0-release-branch 2017-08-09 14:13:42 -06:00
Ward Fisher
290ca69a70 Merge branch '17_64BIT_DATA_bug' of https://github.com/pastewka/netcdf-c into tmp 2017-08-09 14:13:30 -06:00