Commit Graph

1148 Commits

Author SHA1 Message Date
Dennis Heimbigner
6bed1e932e fix previous change to ensure proper return code 2012-12-07 02:25:57 +00:00
Dennis Heimbigner
c684a02d87 fix typo 2012-12-07 00:23:50 +00:00
Dennis Heimbigner
c114861e68 fix dfile.c error reporting 2012-12-06 21:17:36 +00:00
Ward Fisher
85382f21bc Fixed a handful of issues identified by Coverity. 2012-12-06 00:06:32 +00:00
Ward Fisher
d526b511ef Correcting an error defining functions when _WIN32 is defined. This
is a side-effect of the larger commit earlier.
2012-12-05 22:06:38 +00:00
Ward Fisher
81280c7878 Merge from latest netcdf-cmake branch.
- Fixes for Windows.
- CMake-based changes (functionality, tests).
- Smattering of coverity-informed bug-fixes.
2012-12-05 18:35:42 +00:00
Ward Fisher
f844126d0e Addressed a buffer overrun issue; making the assumption this is an
error. On the off chance it wasn't an error, a proper fix will be
formulated.
2012-12-05 17:44:39 +00:00
Dennis Heimbigner
ec761ec8fb null=>NULL error 2012-12-04 23:32:32 +00:00
Dennis Heimbigner
97344d8551 make consistent with svn/oc2.0 2012-12-04 03:32:41 +00:00
Russ Rew
f8ec45d20d Fix NCF-209, bug causing netcdf-fortran build to get assertion violation in 'make check' 2012-12-03 21:15:30 +00:00
Ward Fisher
027e503c3e Fixed a dangling pointer post-free. Marcos uncovered this issue
when using netcdf on linux via JNI.
2012-11-27 23:56:36 +00:00
Dennis Heimbigner
0803ba20ba fix Jira NCF-208; but note that this causes test.06 to fail because thredds mishandles grids 2012-11-21 23:57:42 +00:00
Russ Rew
0eef2f4c87 Add suffix support for nccopy -e option 2012-11-21 20:46:43 +00:00
Dennis Heimbigner
a53682fc66 fix Jira NCF-207: double call to del_from_NCLIST 2012-11-21 17:52:49 +00:00
Ward Fisher
876861cc07 Corrected a static-memory overrun. It was causing a segfault on my
32-bit linux VM, but nowhere else.  Coverity identified the issue 
(defect 743616), and correcting it fixed the crash.
2012-11-20 23:00:17 +00:00
Russ Rew
7e6ffcb334 Fix ncdump bug on 32-bit platforms 2012-11-20 21:49:28 +00:00
Ward Fisher
ff631c8156 Merged latest changes from cmake branch.
o Improved CMake support.
o Cmake module compatibility (netcdf-config*.cmake.in).
2012-11-19 21:43:12 +00:00
Dennis Heimbigner
cb1f6f0ae9 repair bad dap names 2012-11-19 21:26:34 +00:00
Russ Rew
920e248b61 Stop escaping '%' in CDL names 2012-11-19 21:14:41 +00:00
Dennis Heimbigner
047967515a fix tests to work with non-escaped % 2012-11-19 20:59:43 +00:00
Russ Rew
8b63afda70 Fix portability bug, no arithmetic on void * pointers 2012-11-19 20:02:22 +00:00
Russ Rew
592a120a55 Fixed bug NCF-206 (Fix strided access for NC_STRING type). Verified
fix with new test for strided access for NC_STRING type.
2012-11-19 17:20:53 +00:00
Ward Fisher
109460c42e Added the new test (tst_mud.sh) to the CMake build system. 2012-11-19 16:56:44 +00:00
Russ Rew
8e98e3727d Fixed bug NCF-144 (ncdump of variables with multiple unlimited
dimensions).  Added comprehensive tests that include variables with
lots of combinations of 0 through 4 fixed and unlimited dimensions.
2012-11-16 21:37:43 +00:00
Ward Fisher
afa67452f6 Took some time to address a handful of errors identified by Coverity.
Primarily focused on memory errors falling into a couple different types:

1) Static overrun errors.
2) Dereference uninitialized memory errors.

make distcheck works after applying these fixes, and coverity no longer sees an issue, so hopefully they are properly resolved.
2012-11-14 18:24:45 +00:00
Ward Fisher
3232c1182c Merged latest changes from the cmake branch. 2012-11-12 16:34:48 +00:00
Ward Fisher
d6179aca32 Merged changes from the trunk. 2012-11-12 15:59:42 +00:00
Ward Fisher
645d1dbaaf Moved the check for szip libraries so that it is only sought out if hdf5 includes szip support. 2012-11-09 23:11:01 +00:00
Ward Fisher
9f443e01cf Refactored how HDF5 is searched for. 2012-11-09 22:45:33 +00:00
Ward Fisher
9b751ac7af Modified method for locating szip.lib 2012-11-09 21:19:17 +00:00
Ward Fisher
c127c03923 2012-11-07 17:35:35 +00:00
Ward Fisher
f4dea1a337 2012-11-07 17:34:05 +00:00
Ward Fisher
a3341e1987 2012-11-07 17:30:12 +00:00
Ward Fisher
cc25ae9c4b 2012-11-05 22:52:14 +00:00
Ward Fisher
9c8c3b468a 2012-11-05 22:44:01 +00:00
Ward Fisher
ef140d0df7 Corrected an issue with custom .dll names. 2012-10-31 22:30:10 +00:00
Ward Fisher
1aa9a95cbb Added new option to allow for custom library names. 2012-10-31 22:17:33 +00:00
Ward Fisher
45f77090a1 Addressed a handful of minor 'fixed-length buffer overrun'
errors identified by Coverity.  The fixes involved replacing calls
to strcpy, strcat with strncpy, strncat.
2012-10-31 21:31:47 +00:00
Russ Rew
c34a4e674b - Deleted --has-szlib option for nc-config, since that is controlled
by an HDF5 configure option, not a netCDF-4 configure option.
 - Fixed bug in HDF5 strings test code.
 - Minor fixes to nccopy man page documentation.
 - Minor fixes to Fortran-90 texinfo docs, since we don't have doxygen
   docs for Fortran yet: just using "Fortran" instead of "fortran" or
   "FORTRAN".
2012-10-31 21:31:07 +00:00
Dennis Heimbigner
d22134376c Fix bug NCF-199 2012-10-31 20:07:11 +00:00
Ward Fisher
e427d52e1b Removing pkgconfig support for now. 2012-10-30 17:11:51 +00:00
Ward Fisher
c43bc9957a Initial stab at pkgconfig support. Not complete. 2012-10-29 18:46:56 +00:00
Ward Fisher
db4a3160ef 2012-10-26 21:41:07 +00:00
Ward Fisher
1609386670 Corrected an erro re-introduced at some point with the CMake config file and missing quotes.
Bug was reported by Orion Poplawski, thanks!
2012-10-26 14:36:25 +00:00
Ward Fisher
28741e1761 2012-10-24 19:49:31 +00:00
Ward Fisher
36ccdd3e67 Corrected for a mix of debug, release libraries for visual studio builds. 2012-10-24 19:46:24 +00:00
Ward Fisher
ef254ff11b Added netcdf.3 man page for convienece sake. 2012-10-22 20:58:40 +00:00
Ward Fisher
fc684dd05f Re-added the CTest configuration file. 2012-10-19 20:48:43 +00:00
Ward Fisher
0ce5296b3f Creating a new netcdf-cmake branch from the latest trunk. 2012-10-19 20:48:09 +00:00
Ward Fisher
76b7f8029b Merging latest changes from netcdf-cmake build into trunk.
o Various improvements/bugfixes.
o Added a 'make uninstall' target.
o Corrected an issue related to external variables on Windows.
2012-10-19 17:25:43 +00:00