Constantine Khrulev
91d3a89bdd
Fix NC_coord_zero indexing in NCDISPATCH_initialize()
...
Fixes #1518 .
2019-11-14 08:26:33 -09:00
Ward Fisher
108e938b2f
Merge pull request #1514 from turingeret/master
...
Changes to make it possible to nest this project inside of another CMake project.
2019-11-07 17:30:57 -07:00
Turing Eret
b633ea97fd
Reverted changes to C files. Can't change them as that messes with the
...
other configuration paths. Tweaked CMakeLists.txt to set the TOPSRCDIR
to the netcdf root.
2019-11-07 15:46:50 -07:00
Turing Eret
84a293351e
Changes to make it possible to nest this project inside of another CMake
...
project.
2019-11-07 14:00:53 -07:00
Ward Fisher
b5673f58cb
Merge pull request #1506 from DennisHeimbigner/cformat.dmh
...
ncgen -lc is incorrectly handling _Format
2019-11-06 10:34:42 -07:00
Dennis Heimbigner
30cfd348e6
Remove debug output
2019-11-06 09:33:14 -07:00
Dennis Heimbigner
c28a3517bd
Misnamed baseline file
2019-11-05 14:06:15 -07:00
Dennis Heimbigner
5ba4c6a0d6
Forgot to put test in EXTRA_DIST
2019-11-05 13:43:59 -07:00
Ward Fisher
f0dc61a73c
Merge pull request #1508 from Unidata/gh1507.wif
...
Added EXTERNL definition in netcdf_par.h
2019-11-05 11:31:38 -07:00
Ward Fisher
91dfcd0248
Fixed another instance of netcdf_par.h being included before netcdf.h
2019-11-04 14:13:51 -07:00
Ward Fisher
07d157d016
Whack-a-mole
2019-11-04 14:11:55 -07:00
Ward Fisher
ea51c67baf
Removed previous kludgy fix.
2019-11-04 14:09:25 -07:00
Ward Fisher
72d889d15a
A better solution to previous fix, in line with documented usage of netcdf.h and other header files.
2019-11-04 14:07:50 -07:00
Ward Fisher
726030dabd
Added EXTERNL definition in support of https://github.com/Unidata/netcdf-c/issues/1507
2019-11-04 13:38:14 -07:00
Dennis Heimbigner
9e016b85aa
Add test cases
2019-11-03 12:03:13 -07:00
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