Ward Fisher
f9f27c5ab7
Merge branch 'master' into newhash0.dmh
2018-02-21 14:19:43 -07:00
Dennis Heimbigner
727b613459
This is the initial step in moving to the new higher performance
...
(I hope) metadata mechanism. This mostly just adds new pieces of
code (e.g. nclistmap) and does some minor fixes.
It should be transparent to everything else.
The next set of changes will be the big step.
2018-02-08 19:53:40 -07:00
Ed Hartnett
2358d4a910
moved HDF4 to its own dispatch layer
2018-02-08 06:20:58 -07:00
Ward Fisher
9276fdaf9a
Merge branch 'ejh_var_docs_only_unidata_2' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into ejh_batch
2018-02-05 11:43:52 -07:00
Ward Fisher
27693ba4a3
Merge branch 'master' into nc3-per-var-fill-v2
2018-02-01 11:45:40 -07:00
Ed Hartnett
06c1a027b5
doc changes only
2018-01-30 11:01:50 -07:00
Dennis Heimbigner
6633932fd4
re: GH Issue https://github.com/Unidata/netcdf-c/issues/806
...
Incorrect reference to byteswap8 in libdispatch/dfilter.c
Change byteswap8 -> NC_byteswap8.
2018-01-25 13:51:42 -07:00
Ward Fisher
d0339c8902
Merge branch 'pr-catchup' into v4.6.0-release-branch
2018-01-24 15:51:24 -06:00
Dennis Heimbigner
3e47f5f300
Rebuilt the filter parameter handling code to use a common
...
parser everywhere.
2018-01-23 16:00:11 -07:00
Ed Hartnett
da928c1b83
merged 780
2018-01-20 06:05:34 -07:00
Ed Hartnett
ce7041d9a6
merged 765
2018-01-20 06:04:34 -07:00
Ed Hartnett
38c7cddf8f
further test development, added documentation for uncommitted user-defined types, fixed check of return value
2018-01-18 06:47:50 -07:00
Dennis Heimbigner
99fccab359
1. Keep up to date by merging master
...
2. Fixed plugin building (nc_test4/hdf5plugins)
to be done properly by cmake and automake.
4. Duplicated part of the nc_test4 filter test code
in examples/C
An incomplete and untested set of hooks exist
for OS-X in nc_test4/findplugins.in. They need testing.
2018-01-16 11:00:09 -07:00
Greg Sjaardema
1b68ca28f7
Eliminate warning from clang compilers.
...
Eliminate this warning from clang:
```
TPL/netcdf/netcdf-c/libdispatch/ncuri.c:914:31: warning: for loop has empty body [-Wempty-body]
for(p=sp,q=sp+1;(*p++=*q++););
^
TPL/netcdf/netcdf-c/libdispatch/ncuri.c:914:31: note: put the semicolon on a separate line to silence this warning
1 warning generated.
```
2018-01-11 10:31:13 -07:00
Greg Sjaardema
cdec707429
Eliminate potential buffer overflow
...
I realize strncat is being eliminated, but in case the elimination isn't done prior to release, this patch should be applied.
2018-01-11 10:28:18 -07:00
Wei-keng Liao
3278c63776
using NC_GLOBAL in nc_def_var_fill returns error NC_EGLOBAL
2017-12-23 11:33:41 -06:00
Wei-keng Liao
0f4a85b9f2
a clean commit for #383
2017-12-20 20:53:30 -06:00
Ed Hartnett
ea49cc1d3f
merged ejh_notbuilt_errors
2017-12-04 13:23:31 -07:00
Ed Hartnett
1153f0f084
merged in branch ejh_cleanup
2017-12-04 13:20:42 -07:00
Ed Hartnett
652f3b1a9c
more docs
2017-12-04 13:11:54 -07:00
Ed Hartnett
4de61e21f2
more docs, more cleaning
2017-12-04 12:21:14 -07:00
Ed Hartnett
3514ae9d08
more internal docs
2017-12-03 07:11:51 -07:00
Ed Hartnett
2066232dc0
more tests, more interanl documentation
2017-12-03 06:05:37 -07:00
Ed Hartnett
3e45557157
more docs, more tests, eliminated two unneeded functions
2017-12-01 10:02:40 -07:00
Ed Hartnett
5d11415b83
adding internal documentation
2017-12-01 08:18:49 -07:00
Ed Hartnett
857dda487f
fixed two doxygen warnings
2017-11-30 08:45:53 -07:00
Ed Hartnett
46d3bca8f4
removed non-working BUILD_DLL target
2017-11-30 05:40:17 -07:00
Ed Hartnett
34c9248e6f
Merge branch 'master' into ejh_notbuilt_errors
2017-11-28 17:16:56 +00:00
Ward Fisher
7796ecb196
Merge branch 'master' into vc9
2017-11-27 15:03:02 -07:00
Nehal J Wani
1b91bd89d4
Fix build on pre-C99 compilers
...
- Make sure that the variables are declared at the top of the block.
- Add fix to enable inline for various compilers
2017-11-26 01:47:54 +05:30
Nehal J Wani
f5e650a669
Use refactored variable names introduced by 773fe807
2017-11-26 01:47:46 +05:30
Dennis Heimbigner
4db4393e69
Begin changing over to use strlcat instead of strncat because
...
strlcat provides better protection against buffer overflows.
Code is taken from the FreeBSD project source code. Specifically:
https://github.com/freebsd/freebsd/blob/master/lib/libc/string/strlcat.c
License appears to be acceptable, but needs to be checked by e.g. Debian.
Step 1:
1. Add to netcdf-c/include/ncconfigure.h to use our version
if not already available as determined by HAVE_STRLCAT in config.h.
2. Add the strlcat code to libdispatch/dstring.c
3. Turns out that strlcat was already defined in several places.
So remove it from:
ncgen3/genlib.c
ncdump/dumplib.c
3. Define strlcat extern definition in ncconfigure.h.
4. Modify following directories to use strlcat:
libdap2 libdap4 ncdap_test dap4_test
Will do others in subsequent steps.
2017-11-23 10:55:24 -07:00
Ed Hartnett
d64550d3f0
Merge branch 'master' into ejh_notbuilt_errors
2017-11-22 17:14:24 +00:00
Ward Fisher
2ab3e56747
Added error message for new error NC_ENULLPAD. [skip ci]
2017-11-20 17:31:08 -07:00
Ed Hartnett
eecade6af9
Merge branch 'master' into ejh_notbuilt_errors
2017-11-18 21:24:11 +00:00
Ed Hartnett
a9ba19b43c
merged in changes from master
2017-11-15 12:57:11 -07:00
Ed Hartnett
241127447c
merged in ejh_docs_10
2017-11-15 04:51:10 -07:00
Ed Hartnett
de8ac2f6ee
documentation fixes for dvarinq.c
2017-11-15 04:50:28 -07:00
Ed Hartnett
96bdc96831
merged changes from ejh_docs_9
2017-11-15 04:09:46 -07:00
Ed Hartnett
ca45c203c5
added return code documentation for dtype.c and datt.c
2017-11-15 04:08:58 -07:00
Ed Hartnett
3b82328902
Merge branch 'master' into ejh_more_warnings
2017-11-15 03:41:12 -07:00
Ed Hartnett
e928964e9e
Merge branch 'master' into ejh_notbuilt_errors
2017-11-15 03:38:49 -07:00
Ed Hartnett
230eb845c1
Merge branch 'master' into ejh_all_docs
2017-11-15 03:38:27 -07:00
Ed Hartnett
6aa9b38537
merging documentation fixes
2017-11-14 11:53:01 -07:00
Ed Hartnett
0113ddd3b2
merging documentation fixes
2017-11-14 11:49:16 -07:00
Ed Hartnett
ff0b1406fd
merging documentation fixes
2017-11-14 11:48:49 -07:00
Ed Hartnett
de87247983
merging documentation fixes
2017-11-14 11:48:08 -07:00
Ed Hartnett
e540b18762
fixed doxygen warnings in dattinq.c
2017-11-14 11:22:48 -07:00
Ed Hartnett
a8d5323083
fixed leak in event of null paramter
2017-11-14 09:34:26 -07:00
Ed Hartnett
98fbd794f2
fixed doxygen warnings by adding docs
2017-11-14 06:48:38 -07:00