Commit Graph

3411 Commits

Author SHA1 Message Date
Ward Fisher
c1ec950d70 Merge branch 'extent-llu' of https://github.com/brtnfld/netcdf-c into consolidate-gh 2016-07-15 14:42:49 -06:00
Ward Fisher
d419b53925 Merge branch 'patch-1' of https://github.com/gsjaardema/netcdf-c into consolidate-gh 2016-07-15 14:40:32 -06:00
Ward Fisher
9fde5ed227 Merge branch 'patch-3' of https://github.com/gsjaardema/netcdf-c into consolidate-gh 2016-07-15 14:37:55 -06:00
Ward Fisher
373e3ae87e Merge branch 'master' into gh277 2016-07-13 15:17:30 -06:00
Ward Fisher
cd6b94f2f4 Merge branch 'nc3-hashmap-fix' of https://github.com/gsjaardema/netcdf-c into gh282 2016-07-13 11:35:09 -06:00
Ward Fisher
2fe943d32e Wiring in test contributed by Greg Sjaardema in support of https://github.com/Unidata/netcdf-c/issues/282 2016-07-12 16:58:49 -06:00
Ward Fisher
55e4b7acfd Merge branch 'master' into gh277 2016-07-12 13:48:00 -06:00
Ward Fisher
ad8a85769d Merge pull request #287 from Unidata/typedef
mutiple typedefs causing compile problems
2016-07-12 13:22:35 -06:00
Greg Sjaardema
fcb1455b28 Update nc4hdf.c
If H5Aopen_idx on line 1964 fails, then attid will be < 0.  The BAIL will goto exit at line 1989 and then the test of "if (attid ...)" at line 1995 will pass (attd != 0) and then call H5Aclose(attid) with a negative attid.    Similar issue for spaceid.  

Result of function if probably the same since there is a failure somewhere, but more difficult to track down if looks like failure is happening in the wrong place.
2016-07-12 08:59:01 -04:00
Greg Sjaardema
c361938c8e Fix att_name size
There was a mismatch between the allocated size of att_name and the size that H5Aget_name was told the size was.
2016-07-12 08:12:23 -04:00
Ward Fisher
af26592f50 Filled in short description for group-related functions in support of https://github.com/Unidata/netcdf-c/issues/277 full documentation still pending. 2016-07-11 16:55:30 -06:00
Ward Fisher
c5d1b664f3 refactoring of documentation. 2016-07-11 14:43:39 -06:00
Dennis Heimbigner
d3f44747f1 A couple of people have reported that
the multiple definitions of
    typedef struct DCEparsestate
near lines 10 and 42 causes compiler
problems with some versions of gcc.
remove the second typedef.
2016-07-11 14:11:20 -06:00
Greg Sjaardema
586e832f64 Fix variable and dimension renaming for nc3 with hashmap
The problem is that the name was being updated prior to the old
variable being removed from the hashmap. It checks whether the key and
the name of the variable being removed match, but since the name had
already been updated, the names did not match so the variable was not
removed. This patch removes the variable from the hashmap first,
then updates the name, and then adds the variable with the new name to
the hashmap.

Similar change for renaming dimensions.
2016-07-11 15:44:40 -04:00
Ward Fisher
ca49086a32 Cleaned up warnings about undocumented parameters for NC_inq_var_all. 2016-07-11 13:43:19 -06:00
Ward Fisher
37162e55cc Roughed in documentation blocks for the group-related functions in dgroup.c. Details for the bulk of the code still need to be filled in. 2016-07-11 11:27:26 -06:00
Ward Fisher
6da5d38dde Started filling out group documentation. See https://github.com/Unidata/netcdf-c/issues/277 for more information. 2016-07-08 15:38:05 -06:00
Ward Fisher
13fabc4036 Merge branch 'doc-update' 2016-07-08 10:26:31 -06:00
Ward Fisher
973ec5f2ad Updated hdf5 version in documentation for pre-built Windows installers. 2016-07-07 15:14:48 -06:00
Ward Fisher
900fcd2e1f Merge branch 'master' into coverity 2016-07-06 16:06:26 -06:00
Ward Fisher
6d5a924354 Addressed coverity issue 719941, missing varargs cleanup. 2016-07-06 15:41:49 -06:00
Ward Fisher
8507d923b7 Fixed a typo in 'makeparser' ncgen/ target. 2016-07-06 15:32:53 -06:00
Ward Fisher
ad201da5f1 Addressed coverity issue 1256385, potential resource leak. 2016-07-06 15:06:06 -06:00
Ward Fisher
d8e86219b5 Corrected coverity issue 1264401, buffer not null terminated. 2016-07-06 14:49:15 -06:00
Ward Fisher
2406afd368 Merge branch 'master' into staging 2016-07-06 14:48:11 -06:00
Ward Fisher
6b79ffaa16 While I'm at it, fixed an incorrect development version. 2016-06-30 12:20:50 -06:00
Ward Fisher
120fe1def3 Bumped development version to reflect current state and post 4.4.1 release. 2016-06-30 12:19:35 -06:00
Ward Fisher
5452f7f1ab Added new test to autoconf-based builds and make dist, in support of https://github.com/Unidata/netcdf-c/issues/281 2016-06-30 12:11:05 -06:00
Ward Fisher
be24f34e63 Merge branch 'patch-17' of https://github.com/gsjaardema/netcdf-c into gh274 2016-06-29 15:06:08 -06:00
Ward Fisher
a4189e9dd3 Bumped SO version. 2016-06-28 13:33:12 -06:00
Ward Fisher
6aa3763622 Bumped version humber in autotools file. 2016-06-28 13:26:02 -06:00
Ward Fisher
770a646a89 Added some notes to release notes. 2016-06-28 13:23:14 -06:00
Ward Fisher
e502b40d6a Updated static software html page. 2016-06-27 15:38:29 -06:00
Ward Fisher
b4e805bd8a Added a link to https://github.com/Unidata/netcdf-c/pull/279 in Release notes. 2016-06-27 15:12:31 -06:00
Ward Fisher
17903e617d Merge pull request #279 from Unidata/dapreport
Make ncdump/nccopy return a better error when given a bad constraint in a dap url
2016-06-27 21:09:28 +00:00
Ward Fisher
ac861dcb5b Merge branch 'master' into dapreport 2016-06-27 17:39:02 +00:00
DennisHeimbigner
d285569517 Merge branch 'master' into dapreport 2016-06-24 16:33:47 -06:00
Ward Fisher
a9b04ec696 Corrected a doxygen issue in types.dox. 2016-06-24 15:31:13 -06:00
Dennis Heimbigner
1bf34d8557 A netcdfgroup email
(Re: [netcdfgroup] nccopy fails with corrupted double link list)
shows that ncdump/nccopy was returning EPERM instead of
NC_EDAPCONSTRAINT as an error when we have a malformed constraint.
Also clean up a potential bug that might occur if the user invokes
nc_set_default_format before calling nc_open on a dap url.
2016-06-24 15:28:50 -06:00
Ward Fisher
1beeef771d Removing generated version of software.html. 2016-06-24 15:05:06 -06:00
Ward Fisher
09751a638e Moving static, non-generated software into version control. 2016-06-24 15:02:18 -06:00
Scot Breitenfeld
55bf63d35c Merge branch 'master' into extent-llu 2016-06-21 13:07:20 -05:00
M. Scot Breitenfeld
2bf233c9d5 This patch changes the algorithm for determining the extended size of a dataset in parallel to pass a variable of type unsigned long long to MPI_Allreduce. Despite the comment in the code on this line (removed in this patch), the current usage is not correct. For example, consider if process 0 has an extend size of 2^32 (0x100000000) and process 2 has an extend size of 1 (0x1). The current algorithm will compute the max of each 4 byte segment then combine these into an 8 byte number, yielding a max of (2^32)+1 (0x100000001), when it should simply be 2^32.
N. Fortner
2016-06-21 13:04:15 -05:00
Ward Fisher
3e24dcd575 Removed some dead assignments reported by clang. 2016-06-20 15:28:46 -06:00
Ward Fisher
bb96050e66 Addressed a UNIX API issue reported by clang. 2016-06-20 15:19:18 -06:00
Ward Fisher
34006f8615 Updated release notes in preparation for the third release candidate. 2016-06-17 10:32:06 -06:00
Ward Fisher
49b416182a Flagged _netcdf_dim_info and _netcdf_var_info as deprecated in documentation in service of https://github.com/Unidata/netcdf-c/issues/254 2016-06-16 14:07:42 -06:00
Ward Fisher
1118628a09 Deleted gdb debug file. 2016-06-14 12:53:32 -06:00
Ward Fisher
46c63344f7 Added comments where needed. 2016-06-14 10:47:24 -06:00
Ward Fisher
a499bf1ed8 Extending when attributes are copied. 2016-06-14 10:29:14 -06:00