Commit Graph

59 Commits

Author SHA1 Message Date
Ward Fisher
59960fcc20 Minor fixes (dead code) to correct errors found by Coverity 2012-07-30 21:49:16 +00:00
Dennis Heimbigner
a6b932826b add NC_MMAP flag and tests 2012-06-23 19:25:49 +00:00
Russ Rew
79cde861ac Delete obsolete libdiskless directory, replaced by new diskless
implementation.  Deleted obsolete win32, soon to be replaced by Ward's
Windows 32- and 64-bit fixes for building with MSYS/MinGW.  Made
cosmetic cleanup to output of "make check" to make it easier for users
to interpret.  Fixed bug NCF-175: ncdump -t incorrectly interpreting
units attribute (such as "days") without a base time (such as "since
2007-01-01") as a time unit.

Changed name to 4.2.1-beta.
2012-06-12 21:50:02 +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
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
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
5b2aee44a7 windows support fixes plus add --disable-diskless 2012-05-15 17:48:27 +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
Russ Rew
c6f399c731 Fix non-portable test that depends on nonstandardized floating-point format using e+08, not e+008. Fixes for some problems reported in scan-build static analysis. 2012-04-23 23:59:24 +00:00
Dennis Heimbigner
00e50f5a44 1. changed from using port 8080 to 8081 for motherlode
2. Fixed Ward's IGNORE problem with oc
3. Mmap support now works.
4. Fix an uninitialized variable pointed out by Russ in dnclog.c
2012-04-22 20:34:21 +00:00
Russ Rew
85743d97f0 Fix ncopy so it actually uses -r option instead of ignoring it. Remove a large number of dead assignments found by clang in nc_test/tt_atts.c. 2012-04-13 02:52:30 +00:00
Dennis Heimbigner
3e444c39d8 made run_diskless2 only run when doing large file tests 2012-04-09 22:43:30 +00:00
Dennis Heimbigner
48ca394d2e diskless: make read and write loop to read/write whole file when persisting 2012-04-09 22:03:02 +00:00
Dennis Heimbigner
5536bccee1 allow NC_DISKLESS with nc_open() to operate as a in-memory cache 2012-04-08 22:47:38 +00:00
Russ Rew
8a9599c850 Merge my branch back into trunk! 2012-04-01 23:42:53 +00:00
Dennis Heimbigner
7e27052f87 - Implemented diskless files for both netcdf classic and extended.
The in-memory files can be made persistent if nc_create is called with
  NC_DISKLESS|NC_WRITE flags set. Initial test case also included.
- Modified ncio mechanism to support
  multiple ncio packages; this is so we
  can have posixio and memio operating
  at the same time.
- cleanup up a bunch of lint issues (unused variables, etc).
2012-03-26 01:34:32 +00:00
Dennis Heimbigner
82287e3a37 conditional testnc3perf.c 2012-02-03 21:30:43 +00:00
Dennis Heimbigner
e3c5364ab8 missed file cleanup 2012-01-23 19:25:47 +00:00
Dennis Heimbigner
434e7d91bc added nc3 performance test 2012-01-19 20:17:40 +00:00
Russ Rew
2d46d44e96 Remove windows incompatibility in nc_test test program (NCF-121) 2012-01-07 23:24:53 +00:00
Dennis Heimbigner
efd9808b0a completely rewritten constraint system 2011-11-14 04:20:19 +00:00
Dennis Heimbigner
1578ddac0c 2011-09-20 20:39:04 +00:00
Ed Hartnett
fde5e75730 removed diskless files for non-netcdf-4 builds 2011-08-23 15:07:24 +00:00
Ed Hartnett
d58c18c623 added diskless files API, subsetting not working, classic model only 2011-08-16 21:04:33 +00:00
Russ Rew
75af04d4a8 Fix NCF-101 bug, and add test for fix. Delete debugging leftover in nccopy.c. Fix typo in installation guide. 2011-07-18 19:11:28 +00:00
Dennis Heimbigner
4f30d3694c cleanup misc. issues 2011-07-14 22:24:02 +00:00
Russ Rew
ba59f198bf Add nofill bug test that uses nc_create() rather than nc__create(). 2011-05-17 21:02:28 +00:00
Ed Hartnett
e2685a1475 changes to remove EXTERN_LDFLAG from build, also to fix netCDF-4 sync bug 2011-05-17 19:14:35 +00:00
Russ Rew
2d766790fe Add nofill bug test that just uses nc_create() rather than nc__create(). 2011-05-16 19:09:16 +00:00
Ed Hartnett
2f4cf5382e took out ldflags in Makefile.am files 2011-05-11 17:09:12 +00:00
Ed Hartnett
cda773c8db took extra_test protection away from dreaded nofill bug test 2011-04-29 21:00:35 +00:00
Russ Rew
74c9b713bd Fix for nofill bug and test 2011-04-28 19:50:56 +00:00
Ed Hartnett
4de8b33251 rolled everything back to 1119 2011-04-28 17:11:21 +00:00
Russ Rew
0f4a94518d Fixed nofill bug, cosmetic updates to tutrial 2011-04-28 15:08:03 +00:00
Ed Hartnett
29e8619787 simplified build system 2011-04-26 20:57:24 +00:00
Ed Hartnett
2a00a4cceb simplified test 2011-04-26 17:06:04 +00:00
Ed Hartnett
3c404a02c7 new test 2011-04-26 13:24:21 +00:00
Ed Hartnett
8559e6f976 added test that activates classic library bug 2011-04-25 17:09:14 +00:00
Ed Hartnett
1a3ba4a6d8 cywin-mingw32 dlls now building 2011-01-06 20:12:06 +00:00
Russ Rew
52e525c19c Factor out common functionality in ncdump and nccopy and share between them. 2011-01-05 23:48:47 +00:00
Ed Hartnett
659fd84edb Removed all void functions from tst programs. Thanks to solaris C compiler for being sensitive enough to notice this sort of thing. 2011-01-03 15:41:20 +00:00
Ed Hartnett
7f554f08ce took out void function 2011-01-03 15:37:00 +00:00
Ed Hartnett
7235ea9982 changed void function to int to please solaris compiler 2011-01-02 13:22:42 +00:00
Ed Hartnett
99496dd311 turned void returns into int returns, to stop Sun conplaining about my ERR macro using a return 2010-12-22 12:48:12 +00:00
Dennis Heimbigner
209742ebec Fixed dap memory leaks 2010-12-17 23:54:09 +00:00
Ed Hartnett
d689efdc06 don't run tst_atts unless this is a netcdf-4 build 2010-12-16 18:13:52 +00:00
Ed Hartnett
9617477e83 changed test to prevent so much output 2010-12-16 17:36:14 +00:00
Ed Hartnett
03f63a5f1c many changes for memory fixes 2010-11-29 22:23:16 +00:00
Ed Hartnett
f4ea963b02 changed permissions 2010-10-15 12:05:53 +00:00