Commit Graph

6023 Commits

Author SHA1 Message Date
Ward Fisher
90c3a0f6b3 Merge branch 'gh1178.wif' into v4.6.2-release-branch.wif 2018-11-07 11:21:22 -07:00
Ward Fisher
1ed5d4e0a0 Added DAP4.dox to doxygen template in support of https://github.com/Unidata/netcdf-c/issues/1178 2018-11-07 11:19:57 -07:00
Greg Sjaardema
d18457a2d0
RPATH handling is not needed for archive library
If not building shared libraries, then the RPATH handling should not be specified.  Although ignored on some compilers, the CRAY / Intel compiler will error out when installing the NetCDF executables if the RPATH settings are enabled.
2018-11-06 10:11:57 -07:00
Ward Fisher
31e42d02af Merge branch 'ejh_hdf5_sep_close' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into v4.6.2-release-branch.wif 2018-11-05 15:19:32 -07:00
Ward Fisher
0d5219ce82 Merge remote-tracking branch 'origin/ncgenjava.dmh' into v4.6.2-release-branch.wif 2018-11-05 15:10:32 -07:00
Ward Fisher
5cc1745d7d
Merge branch 'master' into ncgenjava.dmh 2018-11-05 15:09:01 -07:00
Ward Fisher
c92392a704 Merge remote-tracking branch 'origin/fixdiskless2.dmh' into v4.6.2-release-branch.wif 2018-11-05 15:07:34 -07:00
Ed Hartnett
c6376926f5 merged Dennis' fix for largefile tests 2018-11-05 05:48:16 -07:00
Dennis Heimbigner
571cf6b933 Fix test run_diskless2.sh with LARGE_FILE_TESTS
ret: https://github.com/Unidata/netcdf-c/issues/1162

The test nc_test/run_diskless2.sh fails
when LARGE_FILE_TESTS is enabled.
Since the goal of the test was to test out
diskless+persist on a reasonably large file,
I fixed by just limiting the file size to
1000000000L bytes.
2018-11-03 11:51:10 -06:00
Ed Hartnett
0ce28eb019 undid some unnecessary changes 2018-11-02 10:04:06 -06:00
Ed Hartnett
5f36a3b425 merged master 2018-11-02 10:00:53 -06:00
Ward Fisher
52519807e1
Merge pull request #1166 from Unidata/v4.6.2-release-branch.wif
Recreating 4.6.2 release branch.
2018-11-01 17:22:27 -06:00
Ward Fisher
8aad1671e6 Amended release date. 2018-11-01 12:57:02 -06:00
Ward Fisher
6eec91bc5f Merge branch 'leak1.dmh' into v4.6.2-release-branch.wif 2018-11-01 12:09:53 -06:00
Dennis Heimbigner
a2c3ae18ed Fix bug in utf8 -> utf16 conversion with ncgen -l java.
re: issue https://github.com/Unidata/netcdf-c/issues/1171
ncgen was checking validity of the utf8->utf16 conversion
incorrectly.
2018-10-31 21:10:51 -06:00
Ward Fisher
5ad2410a11 Modified a test file to work on OSX. 2018-10-31 16:52:34 -06:00
Dennis Heimbigner
245961de00 re: github issues
https://github.com/Unidata/netcdf-c/issues/1168
    https://github.com/Unidata/netcdf-c/issues/1163
    https://github.com/Unidata/netcdf-c/issues/1162

This PR partially fixes memory leaks in the netcdf-c library,
in the ncdump utility, and in some test cases.

The netcdf-c library now runs memory clean with the assumption
that the --disable-utilities option is used. The primary remaining
problem is ncgen. Once that is fixed, I believe the netcdf-c library
will run memory clean with no limitations.

Notes
-----------
1. Memory checking was performed using gcc -fsanitize=address.
   Valgrind-based testing has yet to be performed.
2. The pnetcdf, hdf4, and examples code has not been tested.

Misc. Non-leak changes
1. Make tst_diskless2 only run when netcdf4 is enabled (issue 1162)
2. Fix CmakeLists.txt to turn off logging if ENABLE_NETCDF_4 is OFF
3. Isolated all my debug scripts into a single top-level directory
   called debug
4. Fix some USE_NETCDF4 dependencies in nc_test and nc_test4 Makefile.am
2018-10-30 20:48:12 -06:00
Ward Fisher
243730413e Updated release notes in support of https://github.com/Unidata/netcdf-c/issues/1146 2018-10-25 13:24:21 -06:00
Ward Fisher
94b7d8d492 Updated Release Notes. 2018-10-23 15:52:27 -06:00
Ward Fisher
c97e4b144e Merge branch 'patch-26' of https://github.com/gsjaardema/netcdf-c into v4.6.2-release-branch.wif 2018-10-23 15:51:04 -06:00
Greg Sjaardema
5435bcbcda
Incorrect flag is set test for readonly
I think that if the flag `NC_WRITE` *is* set, then the file is not readonly.  I think that the test should be negated.
2018-10-23 14:05:57 -06:00
Ed Hartnett
abd0bc07fb undid unintentional change to Makefile.am 2018-10-23 08:01:57 -06:00
Ed Hartnett
96ad72f446 undid unintentional change to Makefile.am 2018-10-23 08:01:05 -06:00
Ed Hartnett
73de4f62b2 clean up 2018-10-23 07:56:23 -06:00
Ed Hartnett
1d952cb43a clean up 2018-10-23 07:52:11 -06:00
Ed Hartnett
be4fe7a921 clean up 2018-10-23 07:41:16 -06:00
Ed Hartnett
c2cb3379f4 doing HDF5 closing in libhdf5 2018-10-23 06:59:22 -06:00
Ed Hartnett
35cfaefc0c closing HDF5 objects separately 2018-10-23 05:39:00 -06:00
Ed Hartnett
6589867154 clean up var_free 2018-10-23 05:07:52 -06:00
Ward Fisher
f5482d5f37 Recreating 4.6.2 release branch. 2018-10-22 16:52:07 -06:00
Ed Hartnett
452f75fadd commented out some tests 2018-10-22 15:04:44 -06:00
Ed Hartnett
958826d0af merged ejh_mem_check 2018-10-22 13:29:46 -06:00
Ed Hartnett
d2a5a0dde7 merged master 2018-10-22 13:29:19 -06:00
Ed Hartnett
9e171c3f27 getting tests working 2018-10-22 13:28:24 -06:00
Ed Hartnett
234e2ada6c messing with run_diskless2.sh to produce error 2018-10-22 08:57:23 -06:00
Ed Hartnett
975eb8a763 changed run_diskless2.sh 2018-10-21 11:17:57 -06:00
Ed Hartnett
01158b0a12 moved dependencies 2018-10-21 09:44:44 -06:00
Ed Hartnett
d261c4afe7 moved dependencies 2018-10-21 09:31:13 -06:00
Ed Hartnett
18a145fdfe moved dependencies 2018-10-21 09:16:56 -06:00
Ed Hartnett
188c5822a2 moved dependencies 2018-10-21 09:10:37 -06:00
Ed Hartnett
76745e5022 moved dependencies 2018-10-21 05:18:31 -06:00
Ed Hartnett
05b39db9eb restoring valgrind dependencies 2018-10-21 04:55:37 -06:00
Ed Hartnett
2862c01b95 working on getting build working 2018-10-20 03:53:38 -06:00
Dennis Heimbigner
0e9f1bb46a ckp 2018-10-19 12:51:58 -06:00
Dennis Heimbigner
1851b390eb Merge branch 'master' into infoleak.dmh 2018-10-19 11:13:45 -06:00
Dennis Heimbigner
e40eb2e950 switch 2018-10-19 11:11:36 -06:00
Ward Fisher
8d5e66ec5f
Merge pull request #1165 from Unidata/pr-aggregation.wif
Multiple PR's in aggregate
2018-10-18 16:24:17 -06:00
Ward Fisher
a1ab46ada6
Merge branch 'master' into pr-aggregation.wif 2018-10-18 13:59:18 -06:00
Ward Fisher
ef47ebf830
Merge pull request #1159 from Unidata/newchunkdoc.dmh
Restore lost chunking documentation
2018-10-18 13:58:56 -06:00
Ward Fisher
3511094419 Merge branch 'ejh_latefill_tests' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into pr-aggregation.wif 2018-10-18 12:57:37 -06:00