Commit Graph

5928 Commits

Author SHA1 Message Date
Ed Hartnett
008d4ee796 starting to find HDF5 specific dim info 2018-11-08 08:57:44 -07:00
Ed Hartnett
9373989931 allocating and freeing space for HDF5-specific dim info 2018-11-08 08:51:46 -07:00
Ed Hartnett
8aabd2020c moving HDF5 dim fields to hdf5internal.h from nc4internal.h 2018-11-08 07:09:11 -07:00
Ed Hartnett
de17520300 merged ejh_next_2 2018-11-08 07:03:44 -07:00
Ed Hartnett
a5bb5fef65
Merge branch 'master' into ejh_next_2 2018-11-07 14:32:23 -07:00
Ed Hartnett
7e4138a11c comment 2018-11-07 14:26:08 -07:00
Ed Hartnett
8d31f5b806 clean up 2018-11-07 14:23:55 -07:00
Ed Hartnett
6f4b4ac80d moving attribute HDF5 stuff to libhdf5 2018-11-07 14:21:57 -07:00
Ed Hartnett
11d725facc allocating and freeing memory for hdf5-specific attribute info 2018-11-07 13:45:51 -07:00
Ward Fisher
086801a81b
Merge pull request #1177 from Unidata/v4.6.2-release-branch.wif
Merge v4.6.2 release branch back upstream
2018-11-07 13:36:56 -07:00
Ed Hartnett
9929e7acf9 moving att HDF5 stuff to libhdf5 2018-11-07 11:33:02 -07:00
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
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
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