735 Commits

Author SHA1 Message Date
Ward Fisher
43b5dcccb9 Updated nvdims to return -1 in appropriate instances, on appropriate platforms. (see notes for previous commit.) 2012-06-12 18:52:50 +00:00
Ward Fisher
aa33c3c85c o Under right circumstances, nvdims would return an uninitialized value
(on windows platforms), resulting in a downstream SIGSEGV upon memory
  allocation of 0 bytes.  Gave nvdims a default value of 1. This may not
  be the best possible fix, but in the short term it has fixed the issue.
  The problem would occur when NetCDF was compiled with NetCDF-4 support,
  on Windows, in 64-bit mode, and when nctest/nctest.exe would run.
2012-06-11 23:17:20 +00:00
Ward Fisher
1ca8b5d09c Updating the scripts to make sure the libraries being linked again are consistent. 2012-06-11 19:44:32 +00:00
Ward Fisher
b676336b6c o Added configuration script for 32-bit dll w/ DAP support.
o Corrected the check for curl when building DLL. For some reason it just assumed it was missing? No real check was performed.
o Made configuration scripts a little more generic.
o Modified daputil.h to externalize nc__testurl on Windows.
2012-06-07 22:35:17 +00:00
Ward Fisher
7ddebc5027 Merged changes from trunk, revision 2243 2012-06-06 22:00:28 +00:00
Ward Fisher
540b721f21 o Corrected ncdap_test scripts to modify the path on windows systems using MinGW. 2012-06-06 21:57:29 +00:00
Dennis Heimbigner
d144438455 fix temp file creation problems re: wfisher 2012-06-06 21:33:53 +00:00
Ward Fisher
6b8107b25a Merged trunk changes 2160-2239 into my branch 2012-06-05 17:09:51 +00:00
Russ Rew
74f8a38e2a Test for macro definitions of LLONG_MAX, LLONG_MIN, ULONG_MAX in <limits.h> to fix portability problem. 2012-06-05 17:02:43 +00:00
Russ Rew
49cecab08f Add config.h include 2012-05-31 15:19:51 +00:00
Russ Rew
d6d38094c2 Cleaned up tst_atts3.c test program. Fixed several bugs in detection
of NC_ERANGE errors, especially with unsigned types, resolving most
NCF-172 issues and confusion between long and long long types in
llibsrc/ncx.m4.  Eliminated some unnecessary tests, e.g. tests
for negative values for unsigned types.
2012-05-31 01:28:42 +00:00
Ward Fisher
3370c1a4bd Updated paths in script. 2012-05-30 22:27:36 +00:00
Ward Fisher
054db9fb64 o Modified configure.ac to check for the official zlib static library.
o Updated static 64-bit nc4 configure script.
2012-05-29 21:13:00 +00:00
Russ Rew
1f4eeafcb9 Fixed doxygen installation guide source file to preserve line breaks
in code and scripts.

Fixed bug NCF-171: error reading external int into longlong or writing
from longlong array to external int on 32-bit platforms and classic
format files.

Promoted test demonstrating NCF-171 bug from longlong array from
"extra test" to "test".
2012-05-29 15:50:15 +00:00
Ward Fisher
a5c4bf581f o Moved a couple more scripts around to use a uniform
naming convention.

o Modified ncdump shell, test scripts so that the extra
  digit in an exponent on windows wouldn't be a problem.

o Modified configure.ac to check for the zlib dll provided
  by the zlib group; they recommend using the official dll for
  windows builds.
2012-05-25 21:22:09 +00:00
Ward Fisher
47425e1145 Build script reorganization. 2012-05-25 16:40:55 +00:00
Russ Rew
dbaf62f5e6 Updated some links in Doxygen version of user guide. Fixed some
range_error checks in netCDF-4 type conversion code.  Made netCDF
attribute tests with type conversion more comprehensive and stringent,
fixing bugs identified with better tests.  Changed a test in
nc_test/tst_atts.c to use netCDF-3 file instead of netCDF-4 file,
because that directory is supposed to be for tests that work with
--disable-netcdf-4.  Added test demonstrating NCF-171 bug on 32-bit
platforms, only run when configured with --enable-extra-tests.
2012-05-24 16:29:22 +00:00
Dennis Heimbigner
7a9c9347a8 fix NCF-173 2012-05-24 00:58:48 +00:00
Ward Fisher
9746a01bf6 2012-05-23 22:18:53 +00:00
Ward Fisher
d1b159bfa1 Modified Makefile.am scripts to run tests when working with
Windows DLLs.
2012-05-23 20:27:34 +00:00
Ward Fisher
ff81029eeb o Modified configure/utility scripts.
o include/nctime.h:
  o Modified how the following functions are specified 
    external when building a DLL:
    * cdRel2Iso
    * cdChar2Comp
    * Cdh2e
    * Cde2h
    * cdParseRelunits
2012-05-23 16:28:25 +00:00
Ward Fisher
aaf6507c6b Minor script update 2012-05-21 22:56:54 +00:00
Ward Fisher
a60aecb031 Update script so it works in windows 2012-05-21 22:40:36 +00:00
Ward Fisher
e5b5bbfa32 Added a python script for managing multiple netcdf build scripts. Temporary, not part of final distribution. 2012-05-21 22:32:46 +00:00
Ward Fisher
a10d72ef86 Temporarily adding my utility configure script files. 2012-05-21 21:21:39 +00:00
Ward Fisher
f2516809c5 Corrected a typo in dv21.c, added a stanza for zlib.dll into configure.ac 2012-05-21 21:08:49 +00:00
Dennis Heimbigner
89bb83e41d disable doxygen by default 2012-05-18 20:31:50 +00:00
Ward Fisher
0cdced57ed Integrated latest changes from trunk 2012-05-18 15:23:44 +00:00
Ward Fisher
16336f9e87 Integrated latest changes from trunk 2012-05-18 15:23:27 +00:00
Dennis Heimbigner
5b2aee44a7 windows support fixes plus add --disable-diskless 2012-05-15 17:48:27 +00:00
Dennis Heimbigner
ff2d9bc542 add --disable-diskless flag 2012-05-15 17:10:41 +00:00
Dennis Heimbigner
14c3dae49e more win32 fixes 2012-05-15 03:47:52 +00:00
Dennis Heimbigner
4f68d6c5f8 win32/mingw fixes 2012-05-15 03:13:08 +00:00
Dennis Heimbigner
79c751b806 catch some distclean files 2012-05-13 18:42:10 +00:00
Ward Fisher
640699ffb5 Added temporary doxygen file at root level. 2012-05-11 22:45:26 +00:00
Ward Fisher
08c5ebba45 Corrected error in configure.ac causing problems in non-windows environments. 2012-05-11 22:14:22 +00:00
Ward Fisher
ed3f676414 Corrected type in previous commit. 2012-05-11 20:27:34 +00:00
Ward Fisher
f620046772 Excluded absolute path ncdump test from running on windows platforms for the time being. See notes in tst_netcdf4.sh 2012-05-11 20:26:11 +00:00
Ward Fisher
1070a41a20 Merged changes from trunk into branch 2012-05-10 23:11:46 +00:00
Russ Rew
2f534e11d6 Added entry on doxygen fixes [NCF-26] 2012-05-10 20:18:07 +00:00
Russ Rew
f638446d00 Fix typo in configure.ac. Also, if we have to have multiple copies of 2012-05-09 17:21:32 +00:00
Ward Fisher
08c29d0f06 o ncdump.c: set PRINTF_EXPONENT_DIGITS=2 when in windows to control the number of digits in the exponent.
o *.sh: Added stanza's to ensure that srcdir is set if it's not already set.
2012-05-08 22:37:56 +00:00
Ward Fisher
9fc359f29b Added -b flag to diff in shell scripts, to ignore whitespace, newlines, carriage returns. 2012-05-08 19:36:27 +00:00
Ward Fisher
9ec37b647f Balanced ifdef, endif statements in dfile.c 2012-05-08 19:25:43 +00:00
Ward Fisher
f5effe05d2 Creating Wards Windows branch 2012-05-08 18:53:56 +00:00
Dennis Heimbigner
b47d95b121 fix valgrind error 2012-05-07 16:41:01 +00:00
Russ Rew
4f6b3a04c4 Fix ncdump bug (NCF-169), not escaping characters special to CDL in enumeration labels. 2012-05-07 12:58:22 +00:00
Dennis Heimbigner
e42d7d7f61 fix bug in opaque parsing 2012-05-05 22:31:24 +00:00
Dennis Heimbigner
766b45b459 fix discovered bug in opaque data handling 2012-05-04 19:22:30 +00:00
Dennis Heimbigner
c39c006039 fix fill bug (re: WJF-305473) 2012-05-04 17:32:14 +00:00