Commit Graph

2277 Commits

Author SHA1 Message Date
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
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
dmh
84c1af3b0a fix valgrind discovered problem 2014-09-22 14:31:19 -06:00
Ward Fisher
63c67fa2e5 Fixed an issue with out-of-source libtool builds related to the netcdf_meta test in nc_test/. 2014-09-22 13:38:34 -06:00
dmh
c99ad288fc Update release notes 2014-09-19 12:44:30 -06:00
dmh
2e20b700af Forgot to update cmake wrt to directory name changes 2014-09-19 12:43:39 -06:00
dmh
51b891ab58 Update release notes for NCF-309 2014-09-18 18:45:59 -06:00
dmh
7e582ad3f2 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-18 18:26:06 -06:00
Ward Fisher
4958670b0c Added a new .gitignore specific to include/.
Added netcdf_meta.h to user documentation generated by doxygen.
2014-09-18 15:05:08 -06:00
Ward Fisher
9b1eb01923 Modified comment to adhere to doxygen format. 2014-09-18 13:31:30 -06:00
Ward Fisher
6d6abddae7 Removed calls to process Doxygen templates that no longer exist. 2014-09-18 12:26:42 -06:00
Ward Fisher
490387577a Cleaned out old Doxyfile templates that aren't needed yet/any longer.
They will eventually be recreated but not for a while. Also, modified
the install documentation to remove references to 'ed/local'.
2014-09-18 11:26:52 -06:00
Ward Fisher
1593fccd69 Addressed issues related to running large file tests on machines < 4GB memory. Updated messages to indicate what the problem was specifically, so that I don't spend another day somewhere down the road figuring out the problem yet again. 2014-09-17 13:28:36 -06:00
Ward Fisher
841729d2ec Removed explicit optimization for debug builds. 2014-09-17 10:39:24 -06:00