Commit Graph

6772 Commits

Author SHA1 Message Date
Dennis Heimbigner
aa3a9f033a Add tests 2019-10-31 16:08:57 -06:00
Dennis Heimbigner
af94f09f89 ncgen -lc is incorrectly handling _Format
re: https://github.com/Unidata/netcdf-c/issues/1504 (partial)

The ncgen c-code generator is incorrectly generating an attribute
for _Format.
Soln: remove code.
2019-10-30 12:53:54 -06:00
Ward Fisher
cca9ae64f6
Merge pull request #1505 from DennisHeimbigner/fixincludes.dmh
Fix includes/netcdf_xxx.h files to not include ncexternl.h
2019-10-28 12:34:15 -06:00
Dennis Heimbigner
9062af4697 cleanup netcdf_mem.h and netcdf_dispatch.h 2019-10-28 10:56:24 -06:00
Dennis Heimbigner
5ec10a97e9 CMake: install netcdf_filter.h and netcdf_dispatch.h 2019-10-28 10:52:05 -06:00
Dennis Heimbigner
40cd180957 Fix includes/netcdf_xxx.h files to not include ncexternl.h
re: https://github.com/Unidata/netcdf-c/issues/1502

If you plan to use any of the netcdf_XXX.h files, then it it is assumed
that you first include netcdf.h, followed by any netcdf_XXX.h files
you need. The EXTERNL (and other things) are defined in netcdf.h
so they should be available for use by the netcdf_XXX.h files.

This PR ensures that the above assumption is true.  It also adds
some comments to that effect to the start of the netcdf_xxx.h files.
2019-10-28 10:29:39 -06:00
Ward Fisher
ca4e1ca5cf
Merge pull request #1501 from Unidata/sa_cleanup.wif
Assorted Static Analysis cleanup
2019-10-25 14:25:09 -06:00
Ward Fisher
f77b96b066 Fixed a potential null/garbage free. 2019-10-24 16:37:52 -06:00
Ward Fisher
36ccecf053 Addressing a potential null argument to strlen 2019-10-24 14:28:39 -06:00
Ward Fisher
f62412fa79 Corrected a potential unix API error. 2019-10-24 13:54:38 -06:00
Ward Fisher
4596e1bc8b Cleaned up a couple unlikely, but technically possible, memory leaks detected by static analysis. 2019-10-24 12:55:43 -06:00
Ward Fisher
e23f0429ce Corrected a potential garbage value return as reported by static analysis. 2019-10-24 12:46:26 -06:00
Ward Fisher
6555488dfc
Merge pull request #1499 from Unidata/v4.7.2-wellspring.wif
V4.7.2 wellspring.wif
2019-10-22 14:54:47 -06:00
Ward Fisher
d20df55cb4 Updated release notes with date again. 2019-10-22 10:50:57 -06:00
Ward Fisher
12b22db2fb Updated release date for 4.7.2 2019-10-21 12:14:07 -06:00
Ward Fisher
f8a588843d Preparing for 4.7.3 development pushed back upstream, forking off to 4.7.2 release branch. 2019-10-18 12:09:28 -06:00
Ward Fisher
50102d07be Updated SO version. 2019-10-18 12:07:05 -06:00
Ward Fisher
5c7a2c8f83
Merge pull request #1498 from gsjaardema/patch-35
Remove incorrect comment
2019-10-16 16:03:38 -06:00
Greg Sjaardema
5ecad63c6a
Remove incorrect comment
The comment states that prefix must end in '/', but the '/' is added in the function itself, so the prefix should *not* end in '/' and the comment is incorrect.
2019-10-16 08:40:58 -06:00
Ward Fisher
2f18d4ee1f
Merge pull request #1495 from Unidata/git_cleanup.wif
Git Cleanup, Fix for #1486
2019-10-11 15:42:38 -06:00
Ward Fisher
568c1067e3 Updated release notes to reference https://github.com/Unidata/netcdf-c/issues/1486 2019-10-10 17:31:37 -06:00
Ward Fisher
9b4a930bde Restoring CMake compilation document. 2019-10-10 13:30:05 -06:00
Ward Fisher
d001ec8590 Removing a problematic const causing issues on OSX. 2019-10-09 17:18:48 -06:00
Ward Fisher
cca0f8d46e Moved code of conduct and contributing to .github folder. 2019-10-08 10:27:32 -06:00
Ward Fisher
d1dd318f0b
Merge pull request #1493 from DennisHeimbigner/newinfer.dmh
Change (again), and simplify, the file model inference algorithm
2019-10-07 14:51:50 -06:00
Dennis Heimbigner
f1506d552e Change (again), and hopefully simplify, the file model inference algorithm.
* For URL paths, the new approach essentially centralizes all information
  in the URL into the "#mode=" fragment key and uses that value
  to determine the dispatcher for (most) URLs.

* The new approach has the following steps:

  1. canonicalize the path if it is a URL.
  2. use the mode= fragment key to determine the dispatcher
  3. if dispatcher still not determined, then use the mode flags
     argument to nc_open/nc_create to determine the dispatcher.
  4. if the path points to something readable, attempt to read the
     magic number at the front, and use that to determine the dispatcher.
     this case may override all previous cases.

* Misc changes.

  1. Update documentation
  2. Moved some unit tests from libdispatch to unit_test directory.
  3. Fixed use of wrong #ifdef macro in test_filter_reg.c
     [I think this may fix an previously reported esupport query].
2019-09-29 12:59:28 -06:00
Ward Fisher
40cf6fb958 Despite name of the branch, updated RELEASE_NOTES.md not readme. 2019-09-24 12:19:00 -06:00
Ward Fisher
c2905467ef
Merge pull request #1492 from jbuonagurio/parallel-fix-windows
Support parallel functions in MSVC
2019-09-24 12:16:59 -06:00
John Buonagurio
bc2a3babf9 Enable HDF5 parallel support for MSVC; add MPI dependency. 2019-09-21 21:56:39 -04:00
John Buonagurio
fbc4d1a53d Add missing DLL exports for parallel functions. 2019-09-21 21:55:11 -04:00
Ward Fisher
b9330d2055
Merge pull request #1491 from Unidata/gh1487.wif
#1487 + Release Note entry
2019-09-20 14:57:06 -06:00
Ward Fisher
1d42cab572 Updated Release Notes. 2019-09-20 14:12:15 -06:00
Ward Fisher
e7cc899264 Merge branch 'ejh_try2' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into gh1487.wif 2019-09-20 14:04:56 -06:00
Ward Fisher
2e64fdb538
Merge pull request #1490 from gsjaardema/spelling_fixes
Spelling fixes
2019-09-19 14:38:20 -06:00
Greg Sjaardema
56c0d5cf8a Spelling fixes 2019-09-18 08:03:01 -06:00
edwardhartnett
c296a3deb8 porting tests 2019-09-16 11:38:48 -06:00
edwardhartnett
2cd228bcd4 porting changes from other PR 2019-09-16 11:28:18 -06:00
Ward Fisher
ee941decca
Merge pull request #1482 from Unidata/v4.7.1-wellspring.wif
Merge some changes from 4.7.1 preparation back upstream into master.
2019-08-29 17:09:46 -06:00
Ward Fisher
b12ae3d2b1 Reformated release notes to keep style consistent. 2019-08-29 16:32:18 -06:00
Ward Fisher
dd876820bf Added a note about running autoreconf -if in support of https://github.com/Unidata/netcdf-c/issues/1397 2019-08-27 11:24:25 -06:00
Ward Fisher
b09dac692e Bumped release date to the 27th. 2019-08-26 14:56:53 -06:00
Ward Fisher
1465e14279 Bumped to next development version. 2019-08-26 13:08:34 -06:00
Ward Fisher
7aab16254a Bumped to next development version. 2019-08-26 13:07:51 -06:00
Ward Fisher
78a932039c Bumped SO version in preparation for 4.7.1 release as per http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html 2019-08-26 13:04:40 -06:00
Ward Fisher
235b29b981 Updated Release Notes. 2019-08-23 16:24:52 -06:00
Ward Fisher
525eaeb8e6
Merge pull request #1474 from Unidata/gh1472.wif
Unit tests plus cmake infrastructure
2019-08-22 13:30:30 -06:00
Ward Fisher
842f520efc Merge branch 'ejh_more_unit_tests' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into gh1472.wif 2019-08-22 09:51:03 -06:00
edwardhartnett
0ce88e6c95 updated RELEASE_NOTES 2019-08-21 18:43:57 -06:00
edwardhartnett
5d1e3b4593 more doxygen documentation for nc4internal.h 2019-08-21 18:31:37 -06:00
edwardhartnett
5b3891a253 more unit tests, starting on doxygen docs for nc4internal.h 2019-08-21 16:04:59 -06:00