Commit Graph

2289 Commits

Author SHA1 Message Date
Ward Fisher
69d487e57a Added DESTDIR compatibility for netcdf builds that generate a dll via autotools. 2014-10-29 16:09:37 -06:00
dmh
481b9ac8ee The CDL example and the associated text
in docs/cdl.dox do not show and describe
how declare the type of an attribute.
So modified the example and text to
clarify. Also clarified how type inference
works for attributes whose value is a string.
2014-10-27 16:24:22 -06:00
Ward Fisher
13be04f699 Updated minimum version reference for hdf5. 2014-10-27 14:13:56 -06:00
Ward Fisher
bde6718f50 Added information re: setting the environment variables, adapted from old documentation at https://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Environment.html#Environment. I suspect this will need to be made available for C instructions as well. 2014-10-27 12:53:59 -06:00
Ward Fisher
5015ea6de8 Merge branch 'nschloe-cmake-hdf5-variable-names' 2014-10-15 15:25:53 -06:00
Ward Fisher
d9ae7dff7a Merge branch 'cmake-hdf5-variable-names' of https://github.com/nschloe/netcdf-c into nschloe-cmake-hdf5-variable-names 2014-10-15 15:24:37 -06:00
Ward Fisher
1edb7059b7 Merge branch 'nschloe-link-what-you-use' 2014-10-15 14:51:22 -06:00
Ward Fisher
4b7349885a Merge branch 'link-what-you-use' of https://github.com/nschloe/netcdf-c into nschloe-link-what-you-use 2014-10-15 14:51:08 -06:00
dmh
d67d00ca7e re NCF-319
The pnetcdf support was not
properly being used to provide
mpi parallel io for netcdf-3 classic
files. The wrong dispatch table was being
used.  The fix was to modify
dfile.c#NC_check_file_type to properly
specify the pnetcdf dispatch table when
use_parallel was true.
2014-10-13 14:33:06 -06:00
dmh
938e8d260e test pnetcdf 2014-10-12 21:29:55 -06:00
dmh
8a71ed7569 Partially deprecated varm function 2014-10-12 12:38:41 -06:00
dmh
7c7db22bc7 Removed some useless code 2014-10-11 12:27:17 -06:00
dmh
e79befedfe re: NCF-318
Fixed bug in ncgen. When classic format was in force (k=1 or
k=4), the "long" datatype should be treated as int32. Was
returning an error.
2014-10-10 15:02:02 -06:00
dmh
b76d1ee722 re: NCF-318
Fixed bug in ncgen. When classic format was in force (k=1 or
k=4), the "long" datatype should be treated as int32. Was
returning an error.
2014-10-10 15:00:40 -06:00
Ward Fisher
7a13f2afc9 The call to h5cc (used to determine the hdf5 version) was not working properly on OSX or Ubuntu 14.04. Replaced with a similar call. Also modified the call to use h5pcc in the event we are on a parallel system. 2014-10-09 16:00:01 -06:00
Nico Schlömer
9d6431a040 tests are using HDF5 explicitly, so link against HDF5 2014-10-08 12:50:55 +02:00
Nico Schlömer
89bec1cd8b move macro defintions behind option settings
This allows us to access HDF5 variables in the macros.
2014-10-08 12:47:58 +02:00
Nico Schlömer
16ce3507f4 nc_test explicitly uses libm 2014-10-08 12:41:48 +02:00
Nico Schlömer
9cc1e8035a rename HDF5_*_LIBRARY to HDF5_*_LIBRARIES
This makes sure that netCDF plays nicely with FindHDF5.cmake
from CMake.

Conflicts:
	liblib/CMakeLists.txt
2014-10-08 12:38:20 +02:00
dmh
6d22cbb203 Name conflict when using mpi see NCF-317 2014-10-07 16:24:17 -06:00
dmh
31d15ec532 re: NCF-317
If the netCDF-C library is built with the
HDF5 library but without the HDF4 library and one attempts
to open an HDF4 file, an abort occurs rather than returning
a proper error code (NC_ENOTNC).
Fix is to modify dfile.c#NC_check_file_type to properly
#ifdef relevant tests.
2014-10-07 12:37:41 -06:00
Ward Fisher
7d8e7fc777 Merge branch 'master' of https://github.com/Unidata/netcdf-c 2014-10-06 11:03:54 -06:00
Ward Fisher
7ccb57dc0b Merging https://github.com/Unidata/netcdf-c/pull/84, "Fix segmentation fault when parsing malformed URLs". 2014-10-06 11:03:17 -06:00
Ward Fisher
0029d386f6 Merge branch 'martin-steghoefer-fix-crash-on-malformed-uris' 2014-10-06 10:50:06 -06:00
Ward Fisher
b0de596344 Merge branch 'fix-crash-on-malformed-uris' of https://github.com/martin-steghoefer/netcdf-c into martin-steghoefer-fix-crash-on-malformed-uris 2014-10-06 10:49:40 -06:00
Ward Fisher
d4c9482ab6 Coverity: 1243512, Resource Leak. 2014-10-06 10:48:11 -06:00
Ward Fisher
1dae994c75 Removed a stray assignment in the test. 2014-10-06 10:08:36 -06:00
Ward Fisher
92c4292578 Addressed an issue reported by Wei-keng Liao, XBL-579505. 2014-10-06 09:56:54 -06:00
Martin Steghöfer
a9012c7bfe Fix segmentation fault when parsing malformed URLs (e.g. "http:/"). 2014-10-05 19:28:03 +02:00
dmh
1739c50622 Modified a number of tests
to make use of remotetest.unidata.ucar.edu
optional. Purpose is purely for testing
new dts and thredds servers.
2014-10-04 15:59:16 -06:00
Ward Fisher
c60b45394f Coverity: 711882, leaked storage bug. 2014-10-03 12:57:02 -06:00
Ward Fisher
a8009ba312 Coverity: 1229128 corrected. 2014-10-03 12:38:32 -06:00
Ward Fisher
85e8e7e945 Addressed man page syntax warnings reported in github issue 52, https://github.com/Unidata/netcdf-c/issues/52 2014-10-03 10:46:02 -06:00
Ward Fisher
21eaec9583 corrected an undefined value error identified by clang. 2014-10-02 12:43:27 -06:00
Ward Fisher
3fde3da0a7 Fixed a potential null dereference in ncgen. 2014-10-02 11:28:07 -06:00
Ward Fisher
03ce4c9761 Cast malloc return to appropriate type. 2014-10-01 17:04:56 -06:00
Ward Fisher
a451f546da Fixed a malloc issue on some systems. 2014-10-01 16:42:27 -06:00
Ward Fisher
52189b7725 Corrected an an issue where memcpy might be passed a NULL destination buffer. 2014-10-01 16:31:57 -06:00
Ward Fisher
a641a8834d Addressed a memory leak issue identified by static analysis. 2014-10-01 16:18:00 -06:00
Ward Fisher
cad531a487 Corrected a clang-reported issue where NULL might be passed to emalloc(). 2014-09-30 11:42:44 -06:00
Ward Fisher
461c96cdbe Fixed a clang-reported NULL pointer dereference issue. 2014-09-30 11:30:00 -06:00
Ward Fisher
33cd78fa2c Merge branch 'master' of https://github.com/Unidata/netcdf-c 2014-09-30 10:44:19 -06:00
Ward Fisher
42b5a4a32a Updated RELEASE_NOTES with additional information re: NC_EXTRA_DEPS. 2014-09-29 14:15:45 -06:00
Ward Fisher
5b62a7199b Added NC_EXTRA_DEPS option to netcdf-c 2014-09-29 12:04:35 -06:00
Ward Fisher
4826fd73ce Tightened up formatting for generated netcdf_meta.h file. 2014-09-26 13:57:50 -06:00
Ward Fisher
780add18de Corrected a logic error in CMake-based system when building with server-based search. 2014-09-24 12:40:27 -06:00
Ward Fisher
4c8bcd265a Updated release notes re: server based search. 2014-09-24 12:34:38 -06:00
Ward Fisher
36ca7ca972 Moved previously defined macros out of meta.h and back into netcdf.h, so that we don't break the just-released netcdf-fortran release. 2014-09-24 10:22:40 -06:00
Ward Fisher
f595aec24a Updated references for impending rc2 release. 2014-09-24 10:10:38 -06:00
dmh
8074e0fdec re: Jira NCF-309
The code for handling character constants
in datalists in ncgen has some problems.
1. It failed on large constants
2. It did not handle e.g. var = 'a', 'b', ...
   in the same way that ncgen3 did.
3. The code for generate.c and genchar.c needed
   some refactoring to make it a little simpler
   (but not simple).
2014-09-22 14:50:59 -06:00