netcdf-c/libdispatch
Dennis Heimbigner 9cde91687a re: pull request https://github.com/Unidata/netcdf-c/pull/364
This is a follow-on in that the old utf8 code was still being
used in ncgen to convert utf8->utf16 when converting cdl to Java
(see genj.c).

The new code apparently has no utf16 support, but it does have
utf32 support. Converting utf32 -> utf16 can be approximated by
truncating the 32bits to 16 bits, unless the top 16 bits are
not zero. This latter condition is unlikely to be common because
it implies use of some rather obscure characters.

So solution is to convert to utf32 and truncate to 16 bits to
get utf16. An error is reported if the high-order truncated 16
bits are not zero. If we get complaints, then I will figure out
how to convert full utf32 to a utf16 pair.

Other changes:
1. removed the old code from ncgen.
2. changed UTF8PROC_DLLEXPORT (in utf8proc) to EXTERNL
   and added appropriate includes. This should fix
   issue https://github.com/Unidata/netcdf-c/issues/404,
   but since we cannot duplicate the failure, I am not quite
   sure.
2017-06-18 21:06:19 -06:00
..
u Resolves Github issue https://github.com/Unidata/netcdf-c/issues/349. 2017-02-16 14:27:54 -07:00
CMakeLists.txt ckp 2017-04-14 11:05:30 -06:00
datt.c Add provenance info for netcdf-4 files. 2016-05-07 14:32:07 -06:00
dattget.c ckp 2016-04-06 19:51:40 -06:00
dattinq.c Fixed netcdf-c issue #30 (on github) related to cmake-generated nc-config script. 2014-03-11 13:07:04 -06:00
dattput.c change error code from NC_EINVAL to NC_EGLOBAL when trying to set global _FillValue 2017-03-25 14:47:25 -05:00
dcompound.c Fixed netcdf-c issue #30 (on github) related to cmake-generated nc-config script. 2014-03-11 13:07:04 -06:00
dcopy.c Merge branch 'master' into cdf-5, in preparation for merging the CDF-5 functionality into the master branch. This will be the key new feature for netcdf 4.4.0. 2015-11-05 13:40:35 -07:00
ddim.c ckp 2016-04-06 19:51:40 -06:00
ddispatch.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
defcheck.c Modified a number of tests 2014-10-04 15:59:16 -06:00
denum.c doxygen work on netcdf4 functions 2011-07-14 12:21:03 +00:00
derror.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
dfile.c No idea how this was possibly working, previously. 2017-05-23 16:55:29 -06:00
dgroup.c Filled in short description for group-related functions in support of https://github.com/Unidata/netcdf-c/issues/277 full documentation still pending. 2016-07-11 16:55:30 -06:00
dinternal.c ckp 2016-04-06 20:20:57 -06:00
doffsets.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
dopaque.c doxygen work on netcdf4 functions 2011-07-14 12:21:03 +00:00
dparallel.c More cleaning up of documentation (there will probably be a lot of this) and tweaking files so that documentation renders as expected. 2016-01-14 16:02:00 -07:00
drc.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
dstring.c remove special treatments for arm architecture 2017-03-11 13:33:58 -06:00
dtype.c Removed redundant error group. 2014-12-09 15:57:59 -07:00
dutf8.c re: pull request https://github.com/Unidata/netcdf-c/pull/364 2017-06-06 15:23:59 -06:00
dv2i.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
dvar.c Removed reference to an obsolete error code. 2016-10-03 12:36:15 -06:00
dvarget.c add configure option --enable-relax-coord-bound for issue #243 2016-11-12 23:58:09 -06:00
dvarinq.c Added an example for nc_inq_var_chunking 2016-10-03 11:20:35 -06:00
dvarput.c Merged master, DAP4 support into branch. 2017-04-19 09:29:35 -06:00
dvlen.c Minor tweaks to comments and LOG messages. 2014-02-17 13:34:05 -06:00
dwinpath.c ckp 2017-04-14 11:05:30 -06:00
heap Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
json.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
Make0 Fix pull request https://github.com/Unidata/netcdf-c/pull/374 (dap4.dmh) 2017-04-03 21:39:44 -06:00
Makefile.am ckp 2017-04-14 11:05:30 -06:00
nc.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncaux.c Coverity: 711838 2014-07-31 16:32:50 -06:00
ncbytes.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nchashmap.c conflict resolution 2014-03-10 12:13:16 -06:00
nclist.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nclistmgr.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
nclog.c Primary change: add dap4 support 2017-03-08 17:01:10 -07:00
ncsettings.hdr Add ability to programmatically 2014-08-29 14:51:14 -06:00
nctime.c Sync with oc project. 2014-12-24 10:22:47 -07:00
ncuri.c ckp 2017-04-14 11:05:30 -06:00
netcdf.m4 In preparation for adding dap4 support, I have cleaned up 2014-03-24 14:02:52 -06:00
stubdef.c rebuilt dap constraints 2011-04-16 20:56:36 +00:00
test_ncuri.c ckp 2017-04-14 11:05:30 -06:00
test_pathcvt.c ckp 2017-04-14 11:05:30 -06:00
u8.c Resolves Github issue https://github.com/Unidata/netcdf-c/issues/349. 2017-02-16 14:27:54 -07:00
u8.h Resolves Github issue https://github.com/Unidata/netcdf-c/issues/349. 2017-02-16 14:27:54 -07:00
utf8proc_data.c Refactored additional constants. 2017-02-28 11:15:51 -07:00
utf8proc.c Corrected an issue with autotools and OSX and utf8. 2017-04-05 11:14:42 -06:00
utf8proc.h re: pull request https://github.com/Unidata/netcdf-c/pull/364 2017-06-18 21:06:19 -06:00