Commit Graph

6050 Commits

Author SHA1 Message Date
Ward Fisher
504c851313 Merge branch 'ejh_next_2' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into gh1182.wif 2018-11-08 15:19:37 -07:00
Ward Fisher
8b75fbb6d9 Corrected VS2010 compilation issue in support of https://github.com/Unidata/netcdf-c/issues/1184 . Solution provided by Mark Rivers on the NetCDF mailing list. 2018-11-08 12:37:03 -07:00
Ed Hartnett
7534cb24fe cleanup 2018-11-08 11:12:38 -07:00
Ed Hartnett
e88b98daaa moving hdf5_objid field to hdf5-specific dim info 2018-11-08 11:05:20 -07:00
Ed Hartnett
856e4ead03 moved hdf_dimscaleid to hdf5-specific dim info 2018-11-08 10:55:21 -07:00
Ed Hartnett
cc02ec3aa3 more use of HDF5-specific dim info 2018-11-08 10:48:02 -07:00
Ed Hartnett
1dd9004a11 more use of HDF5-specific dim info 2018-11-08 10:43:36 -07:00
Ed Hartnett
7ab71a69bb more use of HDF5-specific dim info 2018-11-08 10:40:39 -07:00
Ed Hartnett
30da28edff using hdf5-specific dim info 2018-11-08 10:37:32 -07:00
Ed Hartnett
0ef97a84f1 cleanup 2018-11-08 10:27:34 -07:00
Ed Hartnett
bff06f2c4d starting to use HDF5-specific dim info 2018-11-08 10:22:37 -07:00
Ed Hartnett
dab52a97ee more looking up of HDF5 dim info 2018-11-08 10:16:55 -07:00
Ed Hartnett
92dc85b802 continuing to set hdf5-specific dim info struct 2018-11-08 10:11:46 -07:00
Ed Hartnett
b85eec1bb8 starting to set hdf5-specific dim info struct 2018-11-08 10:07:59 -07:00
Ed Hartnett
e89ad03b24 more looking up HDF5-specific dim info 2018-11-08 10:02:17 -07:00
Ed Hartnett
3e80723525 continuing to find HDF5 specific dim info 2018-11-08 09:20:01 -07:00
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
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