Commit Graph

1918 Commits

Author SHA1 Message Date
Ward Fisher
1cb69fb402 Corrected an issue on Windows 2013-10-07 12:39:54 -06:00
Ward Fisher
c8baf5c0e3 Updating how Windows tracks HDF5 libraries to link against. 2013-10-07 11:14:24 -06:00
Ward Fisher
09d4854165 Corrected a CMake issue which appeared to happen between two different versions of OSX. 2013-10-07 10:18:44 -06:00
Ward Fisher
c61b058807 Updated CMakeLists.txt to only link against the HDF5_hdf5 and HDF5_hdf5_hl libraries. 2013-10-04 17:07:10 -06:00
Ward Fisher
4eb423312c Removed a duplicate section. 2013-09-30 15:56:46 -06:00
Ward Fisher
75f45e53ec Reorganizing CMakeLists.txt for clarity and expanded options. Attempting to clean up some warnings on output, and to make it easier to find things within the file. 2013-09-30 15:51:34 -06:00
Quincey Koziol
857080f1e1 Merge branch 'master' into ncf-177 2013-09-28 13:33:22 -05:00
Quincey Koziol
0eecce2924 Merge remote-tracking branch 'upstream/master'
Conflicts:
	libsrc4/nc4hdf.c
2013-09-28 13:25:14 -05:00
Quincey Koziol
d9069aaeaa More progress toward fixing NCF-177. 2013-09-28 12:40:21 -05:00
dmh
850af2d435 [NCF-271]
Fix bug introduced by [NCF-267].
The bug was that octal constants that had
the highest bit set (e.g. '\200')
were not recognized as proper octal
constants. Fix was to keep as integer
until it was needed as an 8-bit byte.
2013-09-26 10:10:26 -06:00
Ward Fisher
1aef893cea Updated configuration files, RELEASE_NOTES so that changes from this point forward go under the heading of rc4. This may be changed if there is not a new release candidate. 2013-09-24 16:32:39 -06:00
Ward Fisher
e84cb3caa3 Added release date for 4.3.1-rc3 in release notes. 2013-09-24 15:56:22 -06:00
Ward Fisher
f9e5cc94ab Added autom4te.cache directory to repository ignore file. 2013-09-24 15:56:22 -06:00
Ward Fisher
5757f9ef5b Updated windows binaries documentation page to reflect new download links. 2013-09-24 15:56:22 -06:00
Ward Fisher
04f17eb384 Removed stray maintainer mode directive. 2013-09-24 15:23:27 -06:00
Ward Fisher
ba9e1979f6 Updated Release notes re: NCF-166 2013-09-24 15:19:41 -06:00
Ward Fisher
6f5325f6f7 Updated Doxyfile. 2013-09-24 13:02:02 -06:00
dmh
71dbc89dbb Update RELEASE_NOTES for NCF-267 2013-09-23 19:25:26 -06:00
dmh
1f99e63a65 resolve conflicts 2013-09-23 17:13:22 -06:00
dmh
10b0ac536f [NCF-267]/SAI-630695
Add support for embedded NUL characters
in character arrays and added some test cases.

Note that embedded NULs in netcdf-4
string constants are still illegal. This is
because strings are not counted in the netcdf
API, so they are implicitly NUL terminated.
2013-09-23 17:11:59 -06:00
dmh
1aa2f695a0 overwrote 2013-09-23 17:11:24 -06:00
dmh
a4d3f8306c add test cases 2013-09-23 17:11:24 -06:00
dmh
065a935456 [NCF-267]/SAI-630695
Add support for embedded NUL characters
in character arrays and added some test cases.

Note that embedded NULs in netcdf-4
string constants are still illegal. This is
because strings are not counted in the netcdf
API, so they are implicitly NUL terminated.
2013-09-23 17:08:50 -06:00
Ward Fisher
f0dddd75db Fixed an issue building with netcdf-4 disabled. 2013-09-23 16:21:35 -06:00
dmh
ef0e16194d overwrote 2013-09-23 14:19:40 -06:00
dmh
e78841007d add test cases 2013-09-23 14:06:55 -06:00
Ward Fisher
3e82887ab9 Corrected Windows-related issue. 2013-09-23 12:04:39 -06:00
Ward Fisher
976c11ca5c Added note re: NC_USE_STATIC_CRT option. 2013-09-23 10:57:01 -06:00
dmh
e7414e16d0 [NCF-265] again.
1. Updated the ncgen manual (ncgen.1)
   to discuss handling of ambiguous
   enumeration constant references.
2. Fixed the test case. It is currently
   XFAIL'd until such time as ncdump
   is modified to output properly
   disambiguated enumeration constant
   references.
2013-09-22 12:08:27 -06:00
dmh
06d91c3084 [NCF-265] again.
Added code to verify that enum constants
(and other constants) are consistent
with the type of the variable or
attribute to which they are assigned.
This addresses the ncdump failure.
2013-09-21 16:19:06 -06:00
dmh
fc16046432 [NCF-265]
Ncgen is unable to resolve
ambiguous references to an enum
constant when two different enums
have same econstant name.

Solved by allowing more specific
forms for econstant references.
1. /.../enumname.enumconstname
2. enumname.enumconstname
3. enumconstname

Case 1 is resolved by using the econstant
in the specific enum definition. If none is
found, an error is reported.

Case 2 is resolved by
1. finding an enclosing group with an
   enum definition with the specified name
   and containing the specified econstant.
   If there are more than one, then an error is reported
2. finding all enum definitions in the dataset that have
   the specified enum name and contain the specified
   econstant. If more than one is found, then an error is reported.
If the above two methods fail, then report an error.

Case 3 is similar to case 2, but all enums, irrespective
of name are used if they contains the specified enum constant.

The ref_tst_econst.cdl test in ncdump is causing ncdump
to fail. So there may be yet some problem.
2013-09-20 20:48:05 -06:00
dmh
c99058741a [NCF-265]
Ncgen is unable to resolve
ambiguous references to an enum
constant when two different enums
have same econstant name.

Solved by allowing more specific
forms for econstant references.
1. /.../enumname.enumconstname
2. enumname.enumconstname
3. enumconstname

Case 1 is resolved by using the econstant
in the specific enum definition. If none is
found, an error is reported.

Case 2 is resolved by
1. finding an enclosing group with an
   enum definition with the specified name
   and containing the specified econstant.
   If there are more than one, then an error is reported
2. finding all enum definitions in the dataset that have
   the specified enum name and contain the specified
   econstant. If more than one is found, then an error is reported.
If the above two methods fail, then report an error.

Case 3 is similar to case 2, but all enums, irrespective
of name are used if they contains the specified enum constant.

The ref_tst_econst.cdl test in ncdump is causing ncdump
to fail. So there may be yet some problem.
2013-09-20 20:43:09 -06:00
Ward Fisher
beead09310 Added NC_USE_STATIC_CRT option to Cmake-based builds. 2013-09-18 14:49:37 -06:00
Russ Rew
3e0bbd6052 Merge branch 'master' of http://github.com/Unidata/netcdf-c 2013-09-17 15:32:57 -06:00
Ward Fisher
5c2cce3016 Added error messages when compiling hdf4 support but no hdf4 libraries are present. 2013-09-17 15:10:17 -06:00
Russ Rew
0130bd8501 Add release notes entry. 2013-09-16 20:12:23 -06:00
Russ Rew
68c8303743 Quincey's patch for NCF-269 parallel I/O bug. 2013-09-16 20:06:54 -06:00
Ward Fisher
530be59c55 Merge branch 'master' of https://github.com/Unidata/netcdf-c 2013-09-16 16:04:19 -06:00
Ward Fisher
f6894db67c Reduced default warning number to accomodate bandwidth limitations on hosted CDash. 2013-09-16 15:21:11 -06:00
Ward Fisher
74767a91f0 Updated RELEASE_NOTES.md with issues addressed by Quincy K. 2013-09-16 15:19:00 -06:00
Russ Rew
5f6f724d3d Merge branch 'master' of http://github.com/Unidata/netcdf-c before
making patch.
2013-09-16 15:09:53 -06:00
Russ Rew
752fd3869b Fixed Jira number in entry. 2013-09-16 15:09:25 -06:00
Ward Fisher
58d8a4279d Merge branch 'cmake' of https://github.com/opoplawski/netcdf-c into opoplawski-cmake 2013-09-16 13:53:45 -06:00
Ward Fisher
49a8340e3a Increased timeout for large file tests. 2013-09-16 13:50:48 -06:00
Orion Poplawski
a9518d07b3 Fix some cmake syntax errors 2013-09-16 12:16:44 -06:00
Ward Fisher
49ad32e610 Added new option to enable/disable 'Data Conversion warnings', ENABLE_CONVERSION_WARNINGS, when using CMake-based builds.
Added a custom cmake test configuration file to override the default '50' warnings when submitting to a remote dashboard.
Updated Building-with-CMake file.
2013-09-16 11:45:34 -06:00
Quincey Koziol
a5d23868b7 Merge branch 'master' into ncf-177 2013-09-14 13:22:12 -05:00
Quincey Koziol
7a4479be6b Minor cleanups to reduce warnings in headers, and switch from MPI_BYTE to MPI_INT
for MPI_Allreduce() call.
2013-09-14 13:19:58 -05:00
Ward Fisher
c238435853 Added stanza in nc4file.c, read_var, to avoid crashes when reading an h5 file with layout == "H5D_COMPACT". 2013-09-09 15:03:03 -06:00
Ward Fisher
5421016565 For some reason, the stack-allocated memory stopped working on Windows, for all versions of the file, not just the HEAD. Changing it over to heap-allocated memory seems to have fixed the problem. No Idea why this sprang up out of nowhere. 2013-09-09 12:58:42 -06:00