Commit Graph

257 Commits

Author SHA1 Message Date
Ward Fisher
209c31d3f3 Bringing config.h as generagted by cmake in line with config.h as generated by autotools. 2017-01-27 17:41:03 -07:00
Ward Fisher
77b6fbd90b Corrected a typo. 2016-12-05 13:07:09 -07: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
Dennis Heimbigner
0cf1e2c49f re: Github issue netcdf-c 300
Modified provenance code to allocate the minimal space
needed for _NCProperties attribute in file.  Basically
required using malloc in the provenance code and in ncdump.
Otherwise should cause no externally visible effects.
Also removed the ENABLE_FILEINFO from configure.ac since
the provenance code is no longer optional.
2016-08-08 09:24:19 -06:00
Ward Fisher
6b79ffaa16 While I'm at it, fixed an incorrect development version. 2016-06-30 12:20:50 -06:00
Ward Fisher
6aa3763622 Bumped version humber in autotools file. 2016-06-28 13:26:02 -06:00
dmh
5bfdf54263 The name hash for hdf4 variables was
not being computed. Fix in nc4file.c.
Not sure how this ever worked for any variable.
What is also weird is that the dim hash is
apparently being computed.
2016-06-01 15:20:36 -06:00
Dennis Heimbigner
8c1f8f57ee re: https://github.com/Unidata/netcdf-c/issues/269
The hash field for phony dimensions was not being set
(in nc4hdf.c). Also added test case (nc_test4/?).
Note that I searched for other similar failures and
did not find any, but I may have missed them.
2016-05-24 19:37:21 -06:00
Ward Fisher
d88ad0e0d9 Corrected an issue with autoconf config date using source_date_epoch even when SOURCE_DATE_EPOCH was not defined. 2016-05-23 15:31:40 -06:00
Ward Fisher
527dcb484f Corrected/correcting a stray '@' symbol, noticed by czender in https://github.com/Unidata/netcdf-c/issues/265 2016-05-23 15:24:32 -06:00
Bas Couwenberg
aa8f23c5bb Use SOURCE_DATE_EPOCH instead of current date.
The environment variable is used to support Reproducible Builds.

https://reproducible-builds.org/specs/source-date-epoch/
2016-05-15 17:20:18 +02:00
Dennis Heimbigner
11a259ad86 Add provenance info for netcdf-4 files.
This consists of a persistent attribute named
_NCProperties plus two computed attributes
_IsNetcdf4 and _SuperblockVersion.
See the 'Provenance Attributes' section
of docs/attribute_conventions.md for details.
2016-05-07 14:32:07 -06:00
Ward Fisher
9136afdcbe Modified configure to assume an empty CFLAGS, which can/must then be overridden by any downstream developers. 2016-05-02 22:07:14 +00:00
Ward Fisher
9d91a9684a Merge branch 'gh252' 2016-04-12 10:03:40 -06:00
Ward Fisher
3f773258bd Corrected an issue with hashmap and missing random() function on Windows using Visual Studio 2013 2016-04-11 16:07:27 -06:00
Ward Fisher
038b7350c5 Wired in fix for out-of-source build for hdf5 file compatibility check. https://github.com/Unidata/netcdf-c/issues/252 2016-04-11 13:42:14 -06:00
Ward Fisher
b69cba26b6 Added libver_bounds check to configure.ac. 2016-04-08 21:37:37 +00:00
Ward Fisher
2206527ba5 Wired logging status into nc-config generated by cmake. 2016-02-29 11:32:26 -07:00
Ward Fisher
e4ee2add6b Modified nc-config to reflect value of --has-f03 when netcdf-fortran is found, and also added '--enable-logging' to determine if netcdf-c was built with logging enabled. 2016-02-29 11:22:10 -07:00
Ward Fisher
1a42d4ff99 Corrected version string to reflect development branch is 4.4.1 in support of correcting https://github.com/Unidata/netcdf-c/issues/214. 2016-02-08 17:36:04 -07:00
Ward Fisher
cf9a477daa Modified spacing in configure.ac. 2016-01-26 10:09:14 -07:00
Ward Fisher
60644f3c4c Bumped next development version. 2016-01-13 10:01:34 -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
Dennis Heimbigner
8fc2cd2df5 Merge branch 'master' into github156 2015-11-24 13:16:27 -07:00
Ward Fisher
9b9fb791d4 Added a fix for how autodist was checking for szip with libhdf5 [158] 2015-11-20 21:58:28 +00:00
dmh
47e10591b4 ckp 2015-11-19 13:44:55 -07:00
Ward Fisher
05034bfd57 More cleaning up of configuration status messages. 2015-11-17 17:14:22 -07:00
dmh
413e49d758 1. There were several bugs in ncdump/dumplib.c
that were not taking the CDF-5 format into account.

2. Had to update ncgen.1 man page to define the new
   k-flag rules to deal with cdf-5.

3. Had to fix some tests that use 'cmp' for comparison;
   this really should be deprecated.

3. There was a bug in configure.ac with respect
   to using the enable-netcdf-4 flag vs
   using disable-netcdf-4.
2015-11-06 17:03:28 -07:00
Ward Fisher
612b35a84c 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
Ward Fisher
da44a0bf25 Fixed a typo. 2015-11-03 10:37:42 -07:00
Ward Fisher
3c0a487674 Applying a patch for cygwin submitted by Marco Atzeri. 2015-11-02 16:26:50 -07:00
dmh
39ccdc5ee3 conflicts 2015-10-11 13:43:19 -06:00
dmh
ed57a337ec add ptrdiff_t checks 2015-10-11 13:35:44 -06:00
Ward Fisher
77d06c276a Added PARALLEL4 flag to CMakeLists. 2015-10-09 14:13:50 -06:00
Dennis Heimbigner
554034b712 1. Added temporary work-around for cygwin where
AC_CHECK_SIZEOF is not working because anti-virus
   will not allow very rapid creation/deletion of a
   file with same name.
2. modified some test baselines to attempt to fix
   Ward's issue
2015-10-09 10:33:40 -06:00
dmh
8fc86035b2 merge-squash 2015-10-09 10:22:00 -06:00
Dennis Heimbigner
dccbc87d24 1. Added temporary work-around for cygwin where
AC_CHECK_SIZEOF is not working because anti-virus
   will not allow very rapid creation/deletion of a
   file with same name.
2. modified some test baselines to attempt to fix
   Ward's issue
2015-10-09 10:14:45 -06:00
dmh
49597a64af merge-squash 2015-10-09 10:12:11 -06:00
Ward Fisher
ffa0a63a72 There were a few changes that needed to be made, and we needed to disable extra tests by default or 'make distcheck' fails, for now. Will investigate in more depth later. 2015-10-08 11:02:31 -06:00
Ward Fisher
885da233ae Refined Dennis's patch for mitigating a cygwin issue with sleep statements in configure.ac so that only cygwin builds are affected. 2015-09-23 12:49:08 -06:00
dmh
6da2c4969b There is a problem under cygwin on windows 7.
The command ./configure fails on
calls to AC_CHECK_SIZEOF.
A temporary fix is to prefix all such calls
with 'sleep 5' to slow things down.
2015-09-22 15:19:07 -06:00
dmh
765dd83592 Merge branch 'master' of http://github.com/Unidata/netcdf-c 2015-08-19 17:46:50 -06:00
dmh
b8f0522c91 add experimental stdio based ncio module 2015-08-19 17:14:13 -06:00
Ward Fisher
32d788fc7d Merge branch 'header_mod' 2015-08-17 16:00:42 -06:00
Ward Fisher
b5af8f287b Wired new doxygen options in to autoconf based builds. 2015-08-17 12:19:51 -06:00
dmh
fab66699d1 Moved libsrc5 to libsrcp
because pnetcdf is used for
more than CDF-5 files.
2015-08-14 20:39:56 -06:00
Ward Fisher
32100c77b1 Turned extra tests on by default. 2015-07-07 13:49:39 -06:00
Ward Fisher
267d422810 Bumped version number to proper revision in configure.ac. 2015-06-19 12:50:55 -06:00
Ward Fisher
dbd2be12ae Changed version to include 'development' signifier. This will be removed/changed when preparing releases. This way, there will never be a question about what is being worked on. 2015-06-19 12:29:15 -06:00
dmh
7bb344982e Undo commit 6f753dacd1.
Apparently not needed after all.
2015-06-17 15:31:52 -06:00