Commit Graph

3261 Commits

Author SHA1 Message Date
Ward Fisher
e0a0ea7610 Removed debugging information in CMakeLists.txt. 2016-01-07 14:15:05 -07:00
Ward Fisher
2d25f9b915 Updated CMakeLists to explicitely look for static or shared hdf5 libraries. Required as part of hdf5 1.8.16, and is documented in https://github.com/Unidata/netcdf-c/issues/186 2016-01-07 14:11:44 -07:00
Ward Fisher
3bb57f0a8e Extending debug information for cmake and hdf5 1.8.16 on Windows. 2016-01-06 14:18:26 -07:00
Ward Fisher
34125fdecd Trying to nail down name of hdf5 library variable for hdf5 1.8.16. 2016-01-06 13:05:52 -07:00
Dennis Heimbigner
5e4cbd2fec Forgot to check cmake build 2016-01-05 22:26:20 -07:00
Dennis Heimbigner
d15f277252 The max dimension sizes do not take CDF-5 format into account.
NetCDF-c Github issue #185

The code in libsrc/dim.c has not been upgraded to support
CDF-5 format.

Rule we are implementing sets the max dimension sizes as follows:

Classic:	CDF-1	NC_MAX_INT - 3    = 2147483647 - 3
64 bit Offset:	CDF-2	NC_MAX_UINT - 3	  =  4294967295 - 3
64 bit Data:	CDF-5	NC_MAX_UINT64 - 3 = 18446744073709551615 - 3

The -3 is to handle rounding.
2016-01-05 21:26:25 -07:00
Ward Fisher
2c00e715e1 Addressing changes inherent in Visual Studio 2015 and the fact that it now supports snprintf. See http://stackoverflow.com/questions/27754492/vs-2015-compiling-cocos2d-x-3-3-error-fatal-error-c1189-error-macro-definiti for more background. 2016-01-05 15:49:18 -07:00
Ward Fisher
91d025d3ac Merge branch 'gh159-walkback' of https://github.com/Unidata/netcdf-c into gh159-walkback 2016-01-05 10:47:26 -07:00
Ward Fisher
926426abeb Cleaning up a couple stale files. 2016-01-05 10:46:20 -07:00
Ward Fisher
0ffbdee1eb Walking back API changes. 2016-01-04 21:59:51 +00:00
Ward Fisher
c616b53358 Walking back some of the changes to see if they were necessary (hard to tell), which should hopefully fix netcdf-cxx4 compatibility. 2016-01-04 14:49:47 -07:00
Ward Fisher
e17dfb4581 Provided clarification re: netcdf parallel io, see issue https://github.com/Unidata/netcdf-c/issues/157 on GitHub for more information. 2016-01-04 14:29:40 -07:00
Ward Fisher
21be11b031 Resolve merge conflict. 2016-01-04 14:22:26 -07:00
Ward Fisher
6c415b4ac9 Turned off CDash dashboard submission in travis-ci, as it's currently timing out causing a false-negative for travis-ci. 2015-12-31 15:01:17 -07:00
Ward Fisher
b78051168e Merge branch 'master' into gh181 2015-12-31 14:49:58 -07:00
Ward Fisher
0a0edca515 Cleanup prior to merge, added a reference to github issue http://github.com/Unidata/netcdf-c/issues/181 to the release notes. 2015-12-31 14:28:59 -07:00
Ward Fisher
ac9f02d01a Modified index passed for last row when printing with annotations, in support of fixing https://github.com/Unidata/netcdf-c/issues/181 2015-12-31 21:20:36 +00:00
Ward Fisher
6e8176f1ab Added a gdb command file. 2015-12-31 13:31:15 -07:00
Ward Fisher
b179512aec Added a gdb command file. 2015-12-31 13:31:07 -07:00
Ward Fisher
92fe7792ad Added an lldb command file. 2015-12-31 13:02:23 -07:00
Ward Fisher
1627a778fb Setting up to address GitHub issue https://github.com/Unidata/netcdf-c/issues/181 2015-12-31 12:07:54 -07:00
Ward Fisher
bb00562779 Addressed a static-analysis issue. 2015-12-31 11:47:39 -07:00
Ward Fisher
09ab3fc554 Merging from master in preparation for merging branch back into main development branch. 2015-12-30 13:00:12 -07:00
Ward Fisher
86ecb2c5a1 Trying to add signed/unsigned char tests. 2015-12-29 15:29:29 -07:00
Ward Fisher
023356ba9b Fixed typos. 2015-12-29 12:39:35 -07:00
Ward Fisher
19cfaa9308 A bit of cleaning up for the merge into master. 2015-12-29 11:12:50 -07:00
Ward Fisher
d8a62e14d6 Added reference to https://github.com/Unidata/netcdf-c/issues/178 in Release Notes. 2015-12-28 16:20:54 -07:00
Ward Fisher
a5bf72aa78 Merge branch 'gh178' 2015-12-28 16:19:19 -07:00
Ward Fisher
07621f6b04 Updated release notes with information regarding https://github.com/Unidata/netcdf-c/issues/159. 2015-12-28 16:10:31 -07:00
Ward Fisher
fc33c419e1 Cleaning up a few odds and ends. 2015-12-28 16:07:05 -07:00
Ward Fisher
d874ac40d2 Avoiding system conflict if __UNSIGNED_CHAR__ is already defined. 2015-12-28 15:52:54 -07:00
Ward Fisher
c5edd76b38 Modified config template for cmake to avoid a particular conflict. 2015-12-28 21:41:07 +00:00
Ward Fisher
cee769cc1e Converting CHAR_IS_SIGNED over to autoconf-style __CHAR_UNSIGNED__ 2015-12-28 21:27:27 +00:00
Ward Fisher
90541e6c17 Cleanup: Removing temporary tests. 2015-12-28 21:17:25 +00:00
Ward Fisher
db1b40ee0f Merge branch 'uc-gh159.2' into unsigned-char-gh159 2015-12-28 20:38:24 +00:00
Ward Fisher
8e4a8f4225 Chasing down implicit char cast which rounds a value to 0 when a negative value is cast to a different unsigned type. 2015-12-28 20:24:56 +00:00
Ward Fisher
bd92caa176 More changes towards fixing the issue where the file is read incorrectly. 2015-12-28 17:36:05 +00:00
Dennis Heimbigner
8e6beda671 NetCDF-c Github issue #178
NetCDF-c Github issue #178 / esupport BNL-694121

The ncgen man pages says:
> Note also that the words variable',dimension', data',group', and
> `types' are legal CDL names, but be careful that there is a space be-
> tween them and any following colon character when used as a variable
> name. This is mostly an issue with attribute declarations.

Ncdump does not obey this rule.
The fix is to modify ncdump/ncdump.c to check if a variable name is
a keyword.

Also added test case.
2015-12-26 18:19:04 -07:00
Ward Fisher
7a417b9c37 Added more debugging info to gdb commands file. 2015-12-24 18:14:04 +00:00
Ward Fisher
30d2b09374 Putting travis configuration back the way it was for now. 2015-12-24 17:58:52 +00:00
Ward Fisher
9e5c03bdc0 Updated travis.yml 2015-12-24 17:21:13 +00:00
Ward Fisher
fce2f87a3c Updated travis to test both signed and unsigned chars. 2015-12-24 16:58:19 +00:00
Ward Fisher
103863ca24 More architecture-specific fenceposting. 2015-12-24 16:42:54 +00:00
Ward Fisher
d71e9ed5f6 Fenceposting the bug fixes with __arm__ ifdefs. 2015-12-24 09:35:32 -07:00
Ward Fisher
925da14d2a Some additional errors reared up after fixing the main frustrating one. Working towards fixing them. 2015-12-24 01:37:42 +00:00
Ward Fisher
6eec405e13 Added explit cast from signed in ncx.m4 to address https://github.com/Unidata/netcdf-c/issues/159. It is likely overly broad; I will refine it once I've had a chance to read up on m4. 2015-12-23 22:16:49 +00:00
Ward Fisher
d10688a6fb Issue identified, see https://github.com/Unidata/netcdf-c/issues/159 for specifics. Also see http://stackoverflow.com/questions/10541200/is-the-behaviour-of-casting-a-negative-double-to-unsigned-int-defined-in-the-c-s for some background info that lead me to the fix. 2015-12-23 22:08:13 +00:00
Ward Fisher
3e2a1cc540 Tweaking the test a little bit 2015-12-23 21:29:30 +00:00
Ward Fisher
8e3c7febf3 More tweaks during debugging. 2015-12-23 21:21:57 +00:00
Ward Fisher
bd6f4909cf Captured a conversion error. 2015-12-23 21:17:53 +00:00