Commit Graph

6460 Commits

Author SHA1 Message Date
Dennis Heimbigner
6934aa2e8b Thread safety: step 1: cleanup
re: https://github.com/Unidata/netcdf-c/issues/1373 (partial)

* Mark some global constants be const to indicate to make them easier to track.
* Hide direct access to the ncrc_globalstate behind a function call.
* Convert dispatch tables to constants (except the user defined ones)
  This has some consequences in terms of function arguments needing to be marked
  as const also.
* Remove some no longer needed global fields
* Aggregate all the globals in nclog.c
* Uniformly replace nc_sizevector{0,1} with NC_coord_{zero,one}
* Uniformly replace nc_ptrdffvector1 with NC_stride_one
* Remove some obsolete code
2019-03-30 14:06:20 -06:00
Ward Fisher
7addb30afd
Merge pull request #1367 from jschueller/patch-1
Fix STRNG typo in CMakeList
2019-03-26 15:33:00 -06:00
Ward Fisher
0810d00511
Merge pull request #1377 from Unidata/ansifileno.dmh
Fix minor --ansi warnings in dinfermodel.c and bzlib.c
2019-03-26 15:31:47 -06:00
Ward Fisher
85b94a4244
Merge pull request #1364 from NetCDF-World-Domination-Council/ejh_non_contoversial
non controversial parts of last PR
2019-03-26 11:14:33 -06:00
Dennis Heimbigner
4026323383 Fix minor --ansi warnings in dinfermodel.c and bzlib.c
re:

Needed to provide centralized definitions of fileno and fdopen;
also need to #include sys/types.h
2019-03-22 15:16:47 -06:00
Ward Fisher
a25236eac4
Merge pull request #1348 from Unidata/pluginst.dmh
Support installation of the bzip2 plugin under name libh5bzip2.so
2019-03-20 15:42:06 -06:00
Ed Hartnett
54eb9dad77
Merge branch 'master' into ejh_non_contoversial 2019-03-19 14:16:52 -06:00
Ward Fisher
6b470b2c37
Merge pull request #1267 from Unidata/byterange.dmh
Provide byte-range reading of remote datasets
2019-03-19 14:03:57 -06:00
Ward Fisher
e2b31ffae4
Merge branch 'master' into byterange.dmh 2019-03-19 12:05:44 -06:00
Ward Fisher
3de2cf3d55
Merge pull request #1346 from wkliao/nc_mpiio
move checking for flag conflict to nc_create_par
2019-03-19 12:04:38 -06:00
Julien Schueller
5a5981989c
Fix STRNG typo in CMakeList 2019-03-17 09:09:16 +01:00
Ed Hartnett
af84c8d023
Merge branch 'master' into ejh_non_contoversial 2019-03-16 18:08:49 -06:00
Ward Fisher
d74817206e
Merge pull request #1366 from Unidata/nccopydiskless.dmh
Fix nccopy to use NC_PERSIST so that -w actually persists the output.
2019-03-15 15:20:12 -06:00
Dennis Heimbigner
2420b69a83 Fix nccopy to use NC_PERSIST so that -w actually persists the output.
re: Issue https://github.com/Unidata/netcdf-c/issues/1365

At some point (4.6.1) we changed the diskless handling of flags
and added a new NC_PERSIST flag. Looks like we did not fix all
occurrences of the old flag set, specifically for 'nccopy -w' command.
Also added some tests (tst_nccopy_w{3,4}.sh) for this situation.
2019-03-15 12:05:27 -06:00
Ed Hartnett
42bcf4594b example documentation cleanup 2019-03-12 10:28:10 -06:00
Ed Hartnett
1ad17d71e0 example documentation cleanup 2019-03-12 10:26:38 -06:00
Ed Hartnett
6c89b7a4b9 example documentation cleanup 2019-03-12 10:22:44 -06:00
Ed Hartnett
cab5458c2e example documentation cleanup 2019-03-12 10:21:36 -06:00
Ed Hartnett
59ca5b8cec example documentation cleanup 2019-03-12 10:20:30 -06:00
Ed Hartnett
afff56a83b example documentation cleanup 2019-03-12 10:12:44 -06:00
Ed Hartnett
12635339c5 example documentation cleanup 2019-03-12 10:11:07 -06:00
Ed Hartnett
930f6e3e87 example documentation cleanup 2019-03-12 10:06:31 -06:00
Ed Hartnett
6efc184fb3 example documentation cleanup 2019-03-12 10:02:25 -06:00
Ed Hartnett
c88253677a clean up 2019-03-12 09:54:16 -06:00
Ed Hartnett
f91e246699 turned off some ncdump test output 2019-03-12 09:26:15 -06:00
Ed Hartnett
c89fad34e0 only run some benchmark tests if utilities have been built 2019-03-12 09:23:49 -06:00
Ed Hartnett
1c9a9e117b Makefile.am cleanup 2019-03-12 09:18:31 -06:00
Ed Hartnett
5214b51622 fixed examples/C/Makefile.am for parallel builds without parallel testing 2019-03-12 09:17:00 -06:00
Ed Hartnett
39c258449c now properly running pnetcdf example program in parallel 2019-03-12 09:00:31 -06:00
Ed Hartnett
1077459a18 configure.ac cleanup 2019-03-12 08:55:30 -06:00
Ed Hartnett
63f8680540 configure.ac cleanup 2019-03-12 08:39:06 -06:00
Ed Hartnett
c0717426fd removed extra --with-chunck-cache-preemption option to configure 2019-03-12 08:37:07 -06:00
Ed Hartnett
d05c88b4db removed unused option --enable-extra-example-tests 2019-03-12 08:35:54 -06:00
Ward Fisher
a57101d4b7
Merge pull request #1327 from Unidata/filemacroncgen.dmh
Remove all references to __FILE__ in ncgen
2019-03-08 15:10:11 -07:00
Ward Fisher
0c0b95da67 Merge branch 'master' into filemacroncgen.dmh 2019-03-08 14:04:57 -07:00
Ward Fisher
c0d24c827b
Merge pull request #1326 from NetCDF-World-Domination-Council/ejh_file_name_in_built_files
provide NDEBUG version of macro NC_CHECK which does not use code file name
2019-03-08 13:54:53 -07:00
Ward Fisher
44cefb144c
Merge pull request #1332 from Unidata/v4.6.3-dev-branch.wif
4.6.3 prep, upstream propegation
2019-03-05 16:22:02 -07:00
Ward Fisher
a4d18bdd66 Bumped SO version in line with http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning 2019-02-28 13:25:56 -07:00
Ward Fisher
415c19dffe Corrected syntax error. 2019-02-27 16:50:07 -07:00
Dennis Heimbigner
15e4fdcbb4 Support installation of the bzip2 plugin under name libh5bzip2.so
re: https://github.com/Unidata/netcdf-c/issues/1347

It turns out that the plugin libraries (bzip2 and misc) were
being installed as part of 'make installed'. This was not intended
behavior. But after some discussion in the above issue, it was decided
to install the bzip2 plugin. However, in order to avoid naming conflicts,
the plugin is installed under the name 'libh5bzip2.so'.
Note that this is automake behavior only; the install does not
(yet) occur using cmake.

Misc. unrelated changes
-----------------------
1. turn off some debug output in ncdump/Makefile.am
2019-02-27 15:22:46 -07:00
Ward Fisher
513481ce48 Updated release notes to reflect date of 4.6.3 release. 2019-02-27 14:42:21 -07:00
Ward Fisher
371cb333dc Updated release notes. Starting process of release. 2019-02-27 14:41:45 -07:00
Ward Fisher
62109e59e4 Merge branch 'ejh_rename_docs' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into v4.6.3-dev-branch.wif 2019-02-27 14:38:46 -07:00
Ward Fisher
eb9f6097d5 Bringing netcdf.pc generated by cmake in line with netcdf.pc generated by configure, in support of https://github.com/Unidata/netcdf-c/issues/gh1324 2019-02-27 14:36:42 -07:00
Ward Fisher
f940969fdc Fix typo, exploring solution to https://github.com/Unidata/netcdf-c/issues/1324 2019-02-27 14:14:53 -07:00
Ward Fisher
e906114068 Merge branch 'typo' of https://github.com/opoplawski/netcdf-c into v4.6.3-dev-branch.wif 2019-02-27 13:55:26 -05:00
Ward Fisher
980082ace6 Merge remote-tracking branch 'origin/fixfilterparser.dmh' into v4.6.3-dev-branch.wif 2019-02-27 13:54:12 -05:00
Ward Fisher
b933a31d0c Some .travis.yml scaffolding. 2019-02-27 13:48:41 -05:00
Ward Fisher
bac16d6e58 Merge branch 'master' into v4.6.3-dev-branch.wif 2019-02-26 15:51:20 -07:00
Ward Fisher
137c509ae1
Merge pull request #1345 from Unidata/ncgenoctal.dmh
Fix ncgen handling of octal constants (with leading 0).
2019-02-26 15:50:42 -07:00