Wei-keng Liao
08aef9af5d
remove special treatments for arm architecture
2017-03-11 13:33:58 -06:00
Wei-keng Liao
7aa8fc36c7
include config.h the way suggested by autoconf
2017-03-11 13:03:17 -06:00
Wei-keng Liao
af258dcec9
update for arm to use char as much as possible, instead of signed char
2017-03-10 12:00:59 -06:00
Ward Fisher
8e3790f7ce
Merged master.
2017-03-09 12:53:28 -07:00
Ward Fisher
ec526880dd
Merge branch 'master' into NC_USHORT_rec_align
2017-03-02 15:22:36 -07:00
Ward Fisher
1a8e7891f0
Merge branch 'master' into master
2017-03-02 13:34:51 -07:00
Dennis Heimbigner
47daf33074
Resolves Github issue https://github.com/Unidata/netcdf-c/issues/349 .
...
Update utf8proc.[ch] to use the version now
maintained by the Julia Language project
(https://github.com/JuliaLang/utf8proc/blob/master/LICENSE.md ).
The license for the previous version was
unacceptable for the Debian and Ubuntu release
systems. The new version both updates the code
and addresses the license issue.
It turns out that the utf8proc software we are using
was turned over to the Julia Language developers
and the license terms changed to allow modification.
(https://github.com/JuliaLang/utf8proc/blob/master/LICENSE.md ).
So the fix here is as follows:
1. Wrap the library with a fixed interface: libdispatch/dutf8.c
and include/ncutf8.h.
2. Replace the existing utf8proc code with the new version
from https://github.com/JuliaLang/utf8proc .
3. Add a couple more test cases: nc_test/tst_utf8_validate.c
and nc_test_utf8_phrases.c. If/when I can find a usable
normalization test, I will incorporate that later.
2017-02-16 14:27:54 -07:00
Ward Fisher
a257db6670
Merge branch 'ghpull-319' into ghpull-319-arm
2017-02-14 10:51:53 -07:00
Ward Fisher
eec0a81437
Merge branch 'issue258' of https://github.com/wkliao/netcdf-c into ghpull-319
2017-02-14 10:51:21 -07:00
Wei-keng Liao
fc40f92fca
bug fix: values stored in NC_attr.xvalue are in external representation, may need byte-swap when retrieved to a memory buffer (internal representation)
2017-02-10 17:46:26 -06:00
Ward Fisher
20721cc46b
Additional work in trying to diagnose failures in nc_test.
2017-02-07 15:16:32 -07:00
Ward Fisher
e100aaf6b0
We cannot assume char is signed or unsigned.
2017-02-07 14:20:59 -07:00
Ward Fisher
6689d7a63f
Adjusted behavior when casting from a signed char pointer to an unsigned type.
2017-02-03 12:21:54 -07:00
Ward Fisher
fe17747261
Corrected missing endif stanza.
2017-02-03 11:29:59 -07:00
Ward Fisher
7edb08977a
Added platform checks for ARM.
2017-02-03 11:19:39 -07:00
Ward Fisher
3e5124996e
Merged https://github.com/Unidata/netcdf-c/pull/319 to resolve some recently arisen conflicts, in preparation for larger merge.
2017-02-01 13:27:29 -07:00
Romero B. de S. Malaquias
dfda46a3a0
Merge branch 'master' into master
2017-01-11 09:29:40 -03:00
Romero B. de S. Malaquias
452f6e2361
Avoiding conditional directives that break statements
2017-01-10 16:46:17 -03:00
Ward Fisher
a099c974dc
Deleted extraneous header file, removed extraneous .
2017-01-09 13:26:23 -07:00
Ward Fisher
5502767d98
Added code to accomodate Visual Studio 2012 in support of https://github.com/Unidata/netcdf-c/issues/304
2017-01-09 13:02:08 -07:00
Ward Fisher
029cbd7aeb
Another tweak for a rushed fix.
2017-01-09 12:01:17 -07:00
Ward Fisher
7d75fd3731
Updated code, location of variable declarations in support of https://github.com/Unidata/netcdf-c/issues/304
2017-01-09 11:37:35 -07:00
Ward Fisher
2f3b894bec
Reverted to different code in support of https://github.com/Unidata/netcdf-c/issues/344
2017-01-04 15:40:19 -07:00
Ward Fisher
59618c481b
Removed stray comment.
2017-01-03 13:57:30 -07:00
Ward Fisher
c13c917835
Addressing an issue in https://github.com/Unidata/netcdf-c/issues/344 not sure if this is a fix, but why were the casts to float being used?
2017-01-03 12:21:54 -07:00
Ward Fisher
ad58e5232a
Small tweak to cmakelists.txt
2017-01-03 12:10:05 -07:00
Wei-keng Liao
fe9685deb4
implement an error code precedence
2016-12-01 12:31:20 -06:00
Wei-keng Liao
340f0d2a91
Classic Format Specification says: Header padding uses null (\x00) bytes
2016-11-28 11:54:16 -06:00
Wei-keng Liao
3889617a2a
bug fix: record size alignment for NC_USHORT is missing
2016-11-28 11:50:31 -06:00
Wei-keng Liao
467fded268
bug fix: record size alignment for NC_USHORT is missing
2016-11-25 10:35:43 -06:00
Wei-keng Liao
2081ae7099
add configure option --enable-relax-coord-bound for issue #243
2016-11-12 23:58:09 -06:00
Wei-keng Liao
5137be27d1
add configure/cmake option to disable erange_fill
2016-11-03 15:14:14 -05:00
Wei-keng Liao
06c1f744e8
silence gcc compile warnings when using -Wconversion
2016-10-30 00:44:28 -05:00
Wei-keng Liao
7572e1cbbf
add sizeof checks for unsigned data types
2016-10-28 18:16:49 -05:00
Wei-keng Liao
309303e34e
remove argument fillv for get APIs as we use default fill values for fillv
2016-10-28 10:34:51 -05:00
Wei-keng Liao
39ea0963e1
make ERANGE_FILL default
2016-10-25 15:10:25 -05:00
Wei-keng Liao
7fbde1b5bc
add a new option ERANGE_FILL to use fill values when NC_ERANGE occurs; sync ncx.m4 with PnetCDF
2016-10-25 15:09:52 -05:00
Wei-keng Liao
c282d18080
add two fill value inquiry subroutines
2016-10-25 13:14:03 -05:00
Wei-keng Liao
0d24dccbd3
copy ncx.m4 from PnetCDF
2016-10-13 02:15:45 -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
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
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
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