Commit Graph

3492 Commits

Author SHA1 Message Date
Wei-keng Liao
0d24dccbd3 copy ncx.m4 from PnetCDF 2016-10-13 02:15:45 -05:00
Wei-keng Liao
fbbed1f9ff move ncid check to the first and add varid check before name check 2016-10-13 02:12:26 -05:00
Wei-keng Liao
df91c19f3c add NULL name check 2016-10-12 13:45:41 -05:00
Wei-keng Liao
125ca43cfb add NULL name check 2016-10-12 13:33:44 -05:00
Wei-keng Liao
4725c1484b move varid check right after ncid 2016-10-12 13:33:17 -05:00
Wei-keng Liao
c4a148e136 type cast (char) before comparison 2016-10-10 00:20:23 -05:00
Wei-keng Liao
8bf99abe77 silence compile warning from -Wsign-conversion 2016-10-10 00:07:24 -05:00
Wei-keng Liao
dbb9be59d2 temporally disable __arm__ for testing 2016-10-09 22:21:32 -05:00
Wei-keng Liao
835ff7cd1e make test subroutine return nok, add comments on X_CHAR_MIN and X_CHAR_MAX 2016-10-09 22:18:46 -05:00
Wei-keng Liao
9cf01256cf revise sunroutine equal, add equal2 for matched ityep and xtype APIs, and add nc_err_code_name 2016-10-09 22:16:09 -05:00
Wei-keng Liao
ecc851b21c borrow PnetCDF test_put.m4 2016-10-09 22:13:40 -05:00
Wei-keng Liao
aacb3c2e11 borrow PnetCDF test_get.m4 2016-10-09 22:13:30 -05:00
Wei-keng Liao
f336af5474 now ncx.m4 is the same as PnetCDF's except PNETCDF is not defined 2016-10-09 21:58:43 -05:00
Wei-keng Liao
0eff6cb128 add CDF format checking in hash4 to exclude the NC_BYTE-to-uchar exception fro CDF-5 format 2016-10-08 13:48:22 -05:00
Wei-keng Liao
e1643f9fd8 handle special case when calling _uchar APIs to access NC_BYTE attributes/variables in CDF-2 file format (no NC_ERANGE check) 2016-10-06 00:50:52 -05:00
Wei-keng Liao
f8813bbd04 handle special case when calling _uchar APIs to access NC_BYTE attributes in CDF-2 file format 2016-10-06 00:49:13 -05:00
Wei-keng Liao
dd19b27b44 handle special case when calling _uchar APIs to access NC_BYTE attributes/variables in CDF-2 file format 2016-10-06 00:48:01 -05:00
Wei-keng Liao
4b911c1435 add a rule to delete folder results 2016-10-06 00:44:50 -05:00
Wei-keng Liao
1f32277afb use ncx_get_uint32 instead of ncx_get_int_int 2016-10-06 00:43:40 -05:00
Wei-keng Liao
f6804fc5c0 handle special case when calling _uchar APIs to access NC_BYTE variables in CDF-2 file format 2016-10-06 00:42:55 -05:00
Wei-keng Liao
688ad6d218 handle special case when calling _uchar APIs to access NC_BYTE attributes in CDF-2 file format 2016-10-06 00:41:53 -05:00
Wei-keng Liao
c277853af3 use ncx_get_uint64 instead of ncx_get_int64 2016-10-06 00:39:16 -05:00
Wei-keng Liao
4b7d9fec19 add 4 new subroutines defined in ncx.m4 2016-10-06 00:37:58 -05:00
Wei-keng Liao
39b47f6d78 borrow ncx.m4 from PnetCDF 2016-10-06 00:36:54 -05:00
Ward Fisher
327c19499c Removed reference to an obsolete error code. 2016-10-03 12:36:15 -06:00
Ward Fisher
60399ede49 Added an example for nc_inq_var_chunking 2016-10-03 11:20:35 -06:00
Ward Fisher
ba21beb3b5 Brought over rest of old documentation for nc_def_var_chunking in support of https://github.com/Unidata/netcdf-c/issues/318 2016-09-30 16:35:16 -06:00
Ward Fisher
5b8756d0b2 Updating documentation for nc_def_var_chunking, in support of https://github.com/Unidata/netcdf-c/issues/318 2016-09-30 15:55:43 -06:00
Ward Fisher
af9ffb7883 Added EXTREME_NUMBERS option to cmake, based on option in autotools, which had somehow not made it's way over previously. 2016-09-27 11:20:41 -06:00
Ward Fisher
cdf7717666 Updated OFF_T_MAX computation to avoid an undefined behavior warning reported by clang/gcc. 2016-09-26 10:14:38 -06:00
Ward Fisher
b6c5d34c32 Updated documentation to reflect DAP2 reserved keywords. See https://github.com/Unidata/netcdf-c/issues/308 for more info. 2016-09-19 15:36:50 -06:00
Ward Fisher
49fb3241c6 Corrected coverity issue 1372965. 2016-09-15 11:07:11 -06:00
Ward Fisher
a08be0a312 Corrected issue 1372910 in coverity. 2016-09-14 16:26:08 -06:00
Ward Fisher
934bb4bd66 Corrected typo. 2016-09-14 16:20:43 -06:00
Ward Fisher
ad1220453a Corrected issue 1372911 in Coverity. 2016-09-14 16:16:06 -06:00
Ward Fisher
485faa0333 Addressed defect 1372912 in coverity. 2016-09-14 16:11:22 -06:00
Ward Fisher
4e46a31088 Corrected an issue reported in https://github.com/Unidata/netcdf-c/issues/317 2016-09-13 13:55:33 -06:00
Ward Fisher
5132ffa80f Corrected dead links. 2016-09-13 11:21:42 -06:00
Ward Fisher
b477a9c1b3 Corrected a typo resulting in a cmake warning. 2016-09-06 12:41:48 -06:00
Ward Fisher
aac250d657 Merge pull request #315 from Unidata/issue314.dmh
Fix for Github issue 314.
2016-09-02 16:48:06 -06:00
DennisHeimbigner
4984536a60 Merge branch 'master' into issue314.dmh 2016-09-02 14:18:41 -06:00
Dennis Heimbigner
e2967bb622 Fix for Github issue 314.
Problem was in oc2/dap.y.
In definition of errormsg:, change WORD_WORD to WORD_STRING
since the msg field of an opendap error response is a quoted
string.

Also took the opportunity to modify ncgen to
transfer the logging level (-L flag) into the c-code
generated using -lc.
2016-09-01 22:06:07 -06:00
Ward Fisher
c179cf0c5f Updated cmakelists.txt for the final test failure. 2016-08-31 15:53:34 -06:00
Ward Fisher
8580fe543c Updated release notes. 2016-08-31 15:53:12 -06:00
Ward Fisher
486f69522c Merged utility-based tests fix into cmake-based builds. 2016-08-31 15:48:10 -06:00
Ward Fisher
b2e4b74e3a Restricted tests from running when they require the utilities but the utilities were not built, in autoconf-based tests. See https://github.com/Unidata/netcdf-c/issues/313 for more information. 2016-08-31 15:38:59 -06:00
Ward Fisher
a2073089bd Merge branch 'spelling-errors' of https://github.com/sebastic/netcdf-c into gh312 2016-08-29 13:12:15 -06:00
Ward Fisher
4d0c055677 Merge pull request #311 from sebastic/hdf5-include-path
Fix HDF5 include directory with CMake >= 3.6.0.
2016-08-29 10:22:47 -06:00
Bas Couwenberg
988b4ff868 Fix spelling errors.
* characers -> characters
 * varaible  -> variable
2016-08-28 15:45:36 +02:00
Bas Couwenberg
6e5c74550d Fix HDF5 include directory with CMake >= 3.6.0.
HDF5_INCLUDE_DIR has been deprecated some time ago,
only HDF5_INCLUDE_DIRS is set for CMake >= 3.6.0.
2016-08-28 15:26:35 +02:00