Commit Graph

1790 Commits

Author SHA1 Message Date
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
dmh
6e954fa2ce Quincey noted the following declarations
are duplicated in netcdf.h and netcdf_par.h
This commit removed the duplicates from netcdf.h
since they are only used when parallism is
enabled.

    /* Use these with nc_var_par_access(). */
    #define NC_INDEPENDENT 0
    #define NC_COLLECTIVE 1

    /* Set parallel access for a variable to independent (the default) or
     * collective. */
    EXTERNL int
    nc_var_par_access(int ncid, int varid, int par_access);
2013-09-04 11:28:40 -06:00
Ward Fisher
e636881aa7 Debugging an issue with LFS tests on Windows. 2013-09-03 14:22:55 -06:00
Ward Fisher
b0875ff244 Merge branch 'master' of http://github.com/Unidata/netcdf-c 2013-09-03 11:18:16 -06:00
Ward Fisher
9ed3b6a907 Somehow, several defines were deleted whilst working on
LFS for Windows.  This restores those definitions.
2013-09-03 11:17:31 -06:00
Ward Fisher
85187fc2a2 Updated RELEASE_NOTES.md for clarity. 2013-09-03 10:33:56 -06:00
Ward Fisher
4e4974bfdc Added note in CMakeLists.txt to specify why we're doing something on Windows platforms. 2013-08-30 15:25:28 -06:00
Ward Fisher
5f8f8e8c73 Debug LFS issue on Windows. 2013-08-30 15:16:17 -06:00
Ward Fisher
e6e8bba26a Added TOC, FAQ to CMake instructions document. 2013-08-29 17:04:26 -06:00
Ward Fisher
55eed7ffa1 Removed stray (but harmless) debugging info. Updated windows-binaries documentation to allow both latest stable release as well as latest release candidate. 2013-08-29 15:48:03 -06:00
Ward Fisher
c132d94608 Increased timeout to 3600, to prevent test timeouts with large file tests when submitting to an online dashboard. 2013-08-29 13:57:44 -06:00
Ward Fisher
a595c62d7f Updated RELEASE_NOTES with reference to LFS Jira ticket. Temporarily removed an LFS test on Windows. 2013-08-28 16:30:41 -06:00
Ward Fisher
c25b5b2ba2 Corrected error preventing LFS on 32-bit Windows. 2013-08-28 16:04:04 -06:00
Russ Rew
042f84cade Merge branch 'master' of http://github.com/Unidata/netcdf-c 2013-08-28 13:37:34 -06:00
Ward Fisher
38ea619b99 Made H5_USE_16_API an option in CMakeLists.txt, added string to describe what it does. 2013-08-28 12:57:07 -06:00
Ward Fisher
e117af0ab7 Made H5_USE_16_API an option in CMakeLists.txt, added string to describe what it does. 2013-08-28 12:43:45 -06:00
Ward Fisher
8ae3105e32 Corrected invocation of a large file test in the CMake system, when large file tests are enabled. 2013-08-28 09:38:43 -06:00
Ward Fisher
b29b189d86 Added emacs temporary files to .gitignore. 2013-08-26 13:53:08 -06:00
Ward Fisher
b6e4715104 Added fixes to CMake-based system, when building pnetcdf. 2013-08-26 13:50:27 -06:00
Ward Fisher
a2186617bf Clarified netCDF-C CMake build instructions, based on feedback from Stefan Mauerberger. 2013-08-26 09:35:16 -06:00
Quincey Koziol
e808067582 Merge branch 'master' into ncf-177 2013-08-24 14:35:21 -05:00
Ward Fisher
bd51d8d568 Removed older directories no longer used in active development:
* librpc/
	* udunits/
	* libcf/
	* libcdmr/

Updated RELEASE_NOTES.md to reflect this.
Removed any dangling references from configure.ac, CMakeLists.txt.
2013-08-22 15:26:42 -06:00
Ward Fisher
c768cbd4e9 Merge branch 'master' of file:///media/psf/Home/Desktop/gitprojects/netcdf-c 2013-08-22 11:24:36 -06:00
Ward Fisher
9d99fbdcaa Added reference for Apple configuration. 2013-08-22 11:24:30 -06:00
Ward Fisher
36a1eb9a1a Re-added use of CMAKE_INSTAL_LIBDRI 2013-08-22 11:23:19 -06:00
Ward Fisher
6a0978594c Updating CMakeLists.txt to address RPATH problem on OSX. 2013-08-22 11:15:12 -06:00
Ward Fisher
e3de20971d Replaced large version with small version. 2013-08-21 15:10:48 -06:00
Ward Fisher
21adf62b9e Updated doxyfile with some of the modern options. Also added proper identification of project, version. 2013-08-21 14:00:34 -06:00
Ward Fisher
4d4e431c6a Bumped next revision to be RC3 for 4.3.1. 2013-08-21 13:38:36 -06:00