Commit Graph

3021 Commits

Author SHA1 Message Date
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
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
Ward Fisher
4d9cb910ca Closer to replicating I think. 2015-12-23 13:00:16 -07:00
Ward Fisher
f83ec50bd0 I think we have this recreated as we would expect. 2015-12-23 19:40:05 +00:00
Ward Fisher
a0de63bcce Additional tweaking of the test. 2015-12-22 23:08:20 +00:00
Ward Fisher
7bf5012481 Duplicating the issue we've observed by forcing an overflow error. 2015-12-22 23:04:16 +00:00
Ward Fisher
5cb4efe02a Tweaked new test. 2015-12-22 15:48:05 -07:00
Ward Fisher
52f0fc8986 Added a test derived from nc_test2 cdf5 test data, for github issue http://github.com/Unidata/netcdf-c/issues/159 2015-12-22 15:44:57 -07:00
Ward Fisher
4055a81b57 Fixed a dangling issue with writing text. 2015-12-22 21:07:30 +00:00
Ward Fisher
5505187241 Added a small test program to print out characteristics of chars. 2015-12-22 20:27:04 +00:00
Ward Fisher
b66e37755f Fixed an unsigned-char related issue in test_nc_rename_att. 2015-12-22 13:13:45 -07:00
Ward Fisher
c6fd79dd3a Fixed unsigned char issue in check_atts. 2015-12-22 13:12:31 -07:00
Ward Fisher
92d374cbad Addressed an issue in check_vars when -funsigned-chars 2015-12-22 13:10:09 -07:00
Ward Fisher
60fc0f1181 Fixed an implicit cast in nc2dbl that caused problems when char was unsigned by default. 2015-12-22 13:07:00 -07:00
Ward Fisher
b40f10ee7e nc_test2 is now fixed, but we are seeing issues related to text attributes in nc_test, when -funsigned-char is set in CFLAGS. 2015-12-22 12:59:07 -07:00
Ward Fisher
c0e32ddb80 Fixed text-related range error, now observing value read not expected. 2015-12-22 12:39:16 -07:00
Ward Fisher
c39ea84ac3 Added an lldb debugging file. 2015-12-22 12:37:12 -07:00
Ward Fisher
f41058c5d4 Fixed range error for signed char test, now we have a range error for nc_get_var_text. 2015-12-22 12:17:00 -07:00
Ward Fisher
2ea988f84d Added a check for signed char. 2015-12-22 12:02:18 -07:00
Ward Fisher
9d4e72e75f Added a test case for bug. 2015-12-22 11:39:24 -07:00
Ward Fisher
d53f8166c8 Merge branch 'rmcgibbo-mingw' 2015-12-09 13:53:33 -07:00
Robert T. McGibbon
3303ccd519 Fix preprocessor for mingw 2015-12-07 18:08:13 -08:00
Ward Fisher
9c4777c092 Added a host identifier to the docker run command in travis configuration. 2015-12-03 14:47:13 -07:00
Ward Fisher
17c748904b Turning on CDash at request of @dmh. 2015-12-03 14:13:14 -07:00
Ward Fisher
683279c737 Merge branch 'travis-parallel' 2015-12-02 15:38:18 -07:00
Ward Fisher
8a7fcf63ef Removing parallel from travis build. It just doesn't work reliably. 2015-12-02 15:17:32 -07:00
Ward Fisher
1350b1216f Merge branch 'travis-parallel' 2015-12-02 13:37:16 -07:00
Ward Fisher
609e31748c Added parallel (openmpi) to travis CI. 2015-11-30 15:23:46 -07:00
Ward Fisher
b4459e072f Merge branch 'master' into gh152 2015-11-30 14:52:18 -07:00
Ward Fisher
b7455a8f0a Merge branch 'gsjaardema-max_vars_dims_cleanup' 2015-11-30 12:06:24 -07:00
Greg Sjaardema
ccb9682288 Merge branch 'master' into max_vars_dims_cleanup 2015-11-30 10:37:07 -05:00
Greg Sjaardema
2d8b20a97c Incorrect dimension was used; should be NC_MAX_VAR_DIMS 2015-11-30 10:32:53 -05:00
Greg Sjaardema
724453b113 Update comments related to NC_MAX_VARS and NC_MAX_DIMS 2015-11-30 10:28:06 -05:00
dmh
cbb6df3232 Github issue 152: https://github.com/Unidata/netcdf-c/issues/152
User request to have all orphaned DAP2 attributes kept as netcdf
global attributes. This is primarily a change in the oc code
nplus testcase dataset changes.

Result may be inconsistent with netcdf-Java output.
2015-11-29 20:38:12 -07:00
Ward Fisher
5d1207b335 Merge branch 'github156' 2015-11-26 18:15:55 -06:00
Ward Fisher
fce30a0d32 Updated ncgenl.c 2015-11-26 17:47:30 -06:00
Ward Fisher
04de3d3fa2 Merge branch 'NCF-345' into github156 2015-11-24 17:20:07 -06:00
Ward Fisher
dd2201621e Addressed an API-related usage of strncmp. 2015-11-24 17:19:36 -06:00