netcdf-c/ncgen
Quincey Koziol b3044de434 Refactored read_scale(), memio_new(), var_create_dataset() and makespecial()
to clean up resources properly on failure.

Refactored doubly-linked list code for objects in the libsrc4 directory,
    cleaning up the add/del routines, breaking out the common next/prev
    pointers into a struct and extracting the add/del operations on them,
    changed the list of dims to add new dims in the same order as the other
    types, made all add routines able to optionally return a pointer to the
    newly created object.

Removed some dead code (pg_var(), nc4_pg_var1(), nc4_pg_varm(), misc. small
    routines, etc)

Fixed fill value handling for string types in nc4_get_vara().

Changed many malloc()+strcpy() pairs into calls to strdup().

Cleaned up misc. other minor Coverity issues.
2013-12-08 03:29:26 -06:00
..
bindata.c Refactored 'Constant' to 'NCConstant' in ncgen/ to avoid 2013-07-16 20:22:48 +00:00
bytebuffer.c fix perf bug in bytebuffer code where setlength was always realloc'ing even when enough space was available 2012-08-30 16:43:34 +00:00
bytebuffer.h Resolve Lynton's vlen problems (partially) re: jira NCF-145 2012-02-14 00:25:32 +00:00
c0_4.cdl 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
c0.cdl [NCF-265] again. 2013-09-21 16:19:06 -06:00
cdata.c [NCF-267]/SAI-630695 2013-09-23 17:11:59 -06:00
cdfdata.c removed executable permissions from all code files 2011-10-04 16:05:11 +00:00
CMakeLists.txt 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
cmldata.c removed executable permissions from all code files 2011-10-04 16:05:11 +00:00
ConvertUTF.c fix a cosmetic issue with config.h 2012-08-01 17:18:58 +00:00
ConvertUTF.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
ctests.sh move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
cvt.c [NCF-267]/SAI-630695 2013-09-23 17:11:59 -06:00
data.c sync with oc2.0 2013-11-14 15:13:20 -07:00
data.h [NCF-265] again. 2013-09-21 16:19:06 -06:00
debug.c removed executable permissions from all code files 2011-10-04 16:05:11 +00:00
debug.h sync with oc2.0 2013-11-14 15:13:20 -07:00
depend moving to trunk subdir 2010-06-03 13:24:43 +00:00
dump.c [NCF-265] 2013-09-20 20:43:09 -06:00
dump.h Refactored 'Constant' to 'NCConstant' in ncgen/ to avoid 2013-07-16 20:22:48 +00:00
env 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
escapes.c [NCF-271] 2013-09-26 10:10:26 -06:00
f77data.c Refactored 'Constant' to 'NCConstant' in ncgen/ to avoid 2013-07-16 20:22:48 +00:00
foo.cdl Resolve Lynton's vlen problems (partially) re: jira NCF-145 2012-02-14 00:25:32 +00:00
ftests.sh move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
genbin.c sync with oc2.0 2013-11-14 15:13:20 -07:00
genc.c [NCF-265] again. 2013-09-21 16:19:06 -06:00
genchar.c 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
gencml.c [NCF-265] 2013-09-20 20:43:09 -06:00
generate.c Refactored read_scale(), memio_new(), var_create_dataset() and makespecial() 2013-12-08 03:29:26 -06:00
generr.c - Fix NCF-158 to modify ncgen flag defaults. 2012-03-14 23:26:48 +00:00
generr.h - Fix NCF-158 to modify ncgen flag defaults. 2012-03-14 23:26:48 +00:00
genf77.c [NCF-265] 2013-09-20 20:43:09 -06:00
genj.c [NCF-265] 2013-09-20 20:43:09 -06:00
genjjni.c [NCF-265] 2013-09-20 20:43:09 -06:00
genjstd.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
genlib.c Correct minor unmerged change. 2013-12-01 00:09:27 -06:00
genlib.h [NCF-267]/SAI-630695 2013-09-23 17:11:59 -06:00
getfill.c Refactored read_scale(), memio_new(), var_create_dataset() and makespecial() 2013-12-08 03:29:26 -06:00
includes.h - Fix NCF-158 to modify ncgen flag defaults. 2012-03-14 23:26:48 +00:00
internals.html moving to trunk subdir 2010-06-03 13:24:43 +00:00
jdata.c Refactored 'Constant' to 'NCConstant' in ncgen/ to avoid 2013-07-16 20:22:48 +00:00
jdatajni.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
jdatastd.c cleanup and remove unused code 2012-04-01 20:15:06 +00:00
jtests.sh move from oc1.0 to oc2.0; create new dir oc2 2012-07-31 20:34:13 +00:00
lfs-tests moving to trunk subdir 2010-06-03 13:24:43 +00:00
list.c update utilities: list,byte,hash,uri,log 2012-08-19 21:54:30 +00:00
list.h Added MSVC-compatibility items. 2012-08-27 21:19:25 +00:00
main.c Corrected Windows-related issue. 2013-09-23 12:04:39 -06:00
Make0 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
Makefile.am 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
nc_iter.c Corrected a garbage-value error reported by Clang. 2013-11-22 13:48:30 -07:00
nc_iter.h Fix Jira NCF-233. 2013-02-28 17:51:09 +00:00
ncf199.cdl Fix bug NCF-199 2012-10-31 20:07:11 +00:00
ncgen.1 Added stripped grammar to ncgen man page (ncgen.1). 2013-11-04 10:43:45 -07:00
ncgen.h [NCF-265] 2013-09-20 20:43:09 -06:00
ncgen.l 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
ncgen.y Refactored read_scale(), memio_new(), var_create_dataset() and makespecial() 2013-12-08 03:29:26 -06:00
ncgentab.c 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
ncgentab.h 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
ncgenyy.c 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
odom.c Updated CMake files, added a few changes to fix linux-based compile warnings. 2012-08-07 21:34:55 +00:00
odom.h cleanup and remove unused code 2012-04-01 20:15:06 +00:00
offsets.c moving to trunk subdir 2010-06-03 13:24:43 +00:00
offsets.h moving to trunk subdir 2010-06-03 13:24:43 +00:00
ref_camrun.cdl moving to trunk subdir 2010-06-03 13:24:43 +00:00
run_nc4_tests.sh 1. [NCF-276]/XXI-796914 2013-11-17 14:26:14 -07:00
run_tests2.sh moving to trunk subdir 2010-06-03 13:24:43 +00:00
run_tests.sh Added additional tests 2012-08-07 22:42:42 +00:00
semantics.c Removed old code from NCF213 2013-12-07 20:19:53 -07:00
util.c Corrected an issue in genlib.c where a strcpy was used with overlapping buffers. 2013-10-30 16:04:35 -06:00
util.h [NCF-265] 2013-09-20 20:43:09 -06:00
XGetopt.c Merge from latest netcdf-cmake branch. 2012-12-05 18:35:42 +00:00