Commit Graph

10118 Commits

Author SHA1 Message Date
Dennis Heimbigner
a669cb7bc9 debug1 2024-04-17 13:37:05 -06:00
Ward Fisher
e153c8a81d Remove appveyor config file. 2024-04-17 13:33:55 -05:00
Ward Fisher
cdfe909a1a Add CI for a Windows Runner on Github Actions. 2024-04-17 13:29:18 -05:00
Ward Fisher
6dc3789efe
Merge pull request #2900 from ZedThree/silence-ncgen3-warnings
Fix warnings in `ncgen3`
2024-04-15 17:52:01 -06:00
Ward Fisher
b0b5853bcc
Merge pull request #2907 from WardF/fix_curl_dep.wif
Remove superflous check for libcurl
2024-04-08 15:32:18 -06:00
Ward Fisher
1081d2931f Add cmake prefix path to appveyor config. 2024-04-08 14:43:44 -06:00
Ward Fisher
7eca596e68
Merge pull request #2906 from GiGainfosystems/vendor_strlcat_symbol
Rename the vendored strlcat symbol
2024-04-08 14:40:24 -06:00
Ward Fisher
c2c6129980 Attempt to fix zlib-related error in appveyor. 2024-04-08 14:38:19 -06:00
Ward Fisher
610afe8c2c Correct typo. 2024-04-08 11:51:52 -06:00
Ward Fisher
2798948670 Remove check for libcurl unless it is necessary for required functionality. 2024-04-08 10:34:22 -06:00
Georg Semmler
4693556520
Rename the vendored strlcat symbol
Fixes #927
2024-04-08 13:13:08 +02:00
Peter Hill
c72511404e
Fix conversion warnings in libdispatch 2024-04-08 11:31:13 +01:00
Ward Fisher
9639ba445d
Merge pull request #2875 from seanm/clang-tidy-fixes
Misc clang-tidy fixes, and added a .clang-tidy config file
2024-04-05 14:45:22 -06:00
Peter Hill
03db612ef1
Merge branch 'main' into silence-ncgen-warnings
* main:
  Set flags to avoid warning messages if curl isn't found.
  Use modern cmake nomenclature for curl.
  Skip checking for duplicates if only one element in list
  Change format of backwards-loops
2024-04-05 17:12:45 +01:00
Ward Fisher
b1d4b4147f
Merge pull request #2904 from WardF/curl-cmake.wif
Modernize CURL in netCDF cmake
2024-04-03 14:30:37 -06:00
Ward Fisher
19d6c02314 Set flags to avoid warning messages if curl isn't found. 2024-04-03 12:06:24 -06:00
Ward Fisher
acec11d515 Use modern cmake nomenclature for curl. 2024-04-03 11:42:59 -06:00
Ward Fisher
0b9631fd1b
Merge pull request #2899 from ZedThree/silence-reverse-loop-warnings
Fix warnings from backwards-loops
2024-04-02 17:19:56 -06:00
Ward Fisher
38d3831319
Merge branch 'main' into clang-tidy-fixes 2024-04-02 15:30:47 -06:00
Peter Hill
33a6ab034a
Fix truncated-format warning in ncgen 2024-03-25 16:10:08 +00:00
Peter Hill
cffc5187a2
Fix some conversion warnings in ncgen3 2024-03-25 16:10:08 +00:00
Peter Hill
317d2bfd08
Fix some conversion warnings in ncgen3 generated files 2024-03-25 16:10:07 +00:00
Peter Hill
e0622c8a3a
Regenerate ncgen3
Use flex 2.6.4 and bison 3.8.2

Lots of changes but does squash a bunch of warnings
2024-03-25 16:10:07 +00:00
Peter Hill
6176eaa785
CMake: Add option to automatically regenerate ncgen3/ncgen 2024-03-25 16:10:07 +00:00
Peter Hill
1cf1522436
Skip checking for duplicates if only one element in list 2024-03-25 14:25:38 +00:00
Peter Hill
3c6bd83330
Change format of backwards-loops
Enables using correct `size_t` type for loop counter, usually fixing
some conversion warnings
2024-03-25 14:25:38 +00:00
Peter Hill
920ec707dd
Change format of backwards-loop to allow correct types 2024-03-25 11:15:23 +00:00
Peter Hill
a04cfdd3a4
Fix some casts from macros in ncdap4 2024-03-25 11:15:23 +00:00
Peter Hill
607ae02f0a
Change some struct member types to avoid conversion warnings 2024-03-25 11:15:23 +00:00
Peter Hill
6f092f01ec
Fix types in binary search function 2024-03-25 11:15:23 +00:00
Peter Hill
0b98970677
Make debugcrc32 signature match that of NC_crc32 (which it wraps) 2024-03-25 11:15:23 +00:00
Peter Hill
dc054494ed
Fix some conversion warnings in ncdap4 2024-03-25 11:15:23 +00:00
Peter Hill
424e6280e9
Remove unused argument from internal function 2024-03-25 11:15:23 +00:00
Peter Hill
9315ca101a
Merge branch 'main' into silence-ncgen-warnings
* main: (107 commits)
  Updated Release Notes.
  A bit of cleanup for now, more to follow, but moving on to other roadblocks.
  Comment out debugging messages, will remove before final merge.  Clean up the logic, remove some rough edges.
  Add a filter to process options and report deprecation warning.
  Remove dangling define in netcdf_meta.h template file.
  No effect other than to remove a personal annoyance I introduced in the first place.
  Updated the nc-config script with the following:
  adding deprecation error for usage of NETCDF_ENABLE_NETCDF4
  removing cmake alias variable for netcdf4
  removing script
  replacing something that removes semicolons
  another one
  fixing some that were missing?
  removing variables
  Replacing NC_USE_STATIC_CRT with NETCDF_USE_STATIC_CRT
  Replace NC_FIND_SHARED_LIBS with NETCDF_FIND_SHARED_LIBS
  Replace ENABLE_XGETOPT with NETCDF_ENABLE_XGETOPT
  Replace ENABLE_UNIT_TESTS with NETCDF_ENABLE_UNIT_TESTS
  Replace ENABLE_TESTS with NETCDF_ENABLE_TESTS
  Replace ENABLE_STRICT_NULL_BYTE_HEADER_PADDING with NETCDF_ENABLE_STRICT_NULL_BYTE_HEADER_PADDING
  ...
2024-03-25 09:25:25 +00:00
Peter Hill
0d354152ca
Silence some conversion warnings in ncgen generated files 2024-03-25 09:25:24 +00:00
Peter Hill
c74b78efc6
Fix return type of listlength 2024-03-25 09:25:24 +00:00
Peter Hill
320c29c723
Fix more sign conversion warnings in ncgen 2024-03-25 09:25:24 +00:00
Peter Hill
47d1b68599
Cast to correct type in assignment 2024-03-25 09:25:24 +00:00
Peter Hill
3134af3ce7
Remove unused static variable 2024-03-25 09:25:24 +00:00
Peter Hill
17a7b28301
Change type of opaque object length member 2024-03-25 09:25:24 +00:00
Peter Hill
6b17d77e7a
Fix some size/conversion warnings in ncgen.l/y 2024-03-25 09:25:24 +00:00
Peter Hill
ad8b7b74b6
Remove unused function from ncgen/dump.c 2024-03-25 09:25:23 +00:00
Peter Hill
a90730c402
Try to be more consistent in char type for escaping characters 2024-03-25 09:25:23 +00:00
Peter Hill
506a09df7e
Try to be more consistent with types of alignments/offsets 2024-03-25 09:25:23 +00:00
Peter Hill
c1977cacc9
Fix some sign conversion warnings in ncgen 2024-03-25 09:25:23 +00:00
Peter Hill
c244ed6683
Use char consistently for fillchar in genchar.c 2024-03-25 09:25:23 +00:00
Peter Hill
57e754f579
Silence lots conversion warnings in ncgen 2024-03-25 09:25:23 +00:00
Peter Hill
83faffacaa
Change type of string length member
Fixes lots of sign-conversion warnings
2024-03-25 09:25:23 +00:00
Peter Hill
c80d71213d
Fix a bunch of sign conversion warnings from ncgen.y 2024-03-25 09:25:23 +00:00
Peter Hill
6c249365f0
Change bbAppendn argument type to size_t
Fixes lots of warnings about conversions changing value
2024-03-25 09:25:18 +00:00