Rob Latham
af4eb0fb1d
sync lines for generated C files
...
m4 can emit 'sync lines' which tell the toolchain "hey, this code
actually came from this other file over here". Should help prevent
anyone accidentally editing a generated file.
2014-12-05 12:55:49 -06:00
Rob Latham
3b61804ff7
fix m4 dealing with split lines
...
Wei-keng Liao fixed this for pnetcdf. See pnetcdf revision 1904.
2014-12-05 12:55:38 -06:00
Ward Fisher
074603293f
Corrected several static analysis issues related to potential null pointer dereferences and memory leaks.
2014-11-11 15:05:55 -07:00
Ward Fisher
9f9de5a493
Added a fix for a 'garbage/undefined value' bug reported by clang. in var.c, when varp->shape was being allocated, it was not being initialized properly and as a result, in some circustances, could potentially be dereferenced and evaluated without having a proper value. It is now initialized to 0. Hopefully this does not cause a problem. All the tests continue to pass, but I'm leaving a verbose comment here in case there is a knock-on problem discovered somewhere down the line.
2014-11-06 14:43:09 -07:00
Ward Fisher
52189b7725
Corrected an an issue where memcpy might be passed a NULL destination buffer.
2014-10-01 16:31:57 -06:00
Ward Fisher
461c96cdbe
Fixed a clang-reported NULL pointer dereference issue.
2014-09-30 11:30:00 -06:00
Ward Fisher
9b1eb01923
Modified comment to adhere to doxygen format.
2014-09-18 13:31:30 -06:00
Ward Fisher
056de3f69d
Corrected a logic error introduced in previous commit.
2014-08-27 15:40:41 -06:00
Ward Fisher
dac65bdab8
Removed a commented-out block of code.
2014-08-27 14:40:40 -06:00
Ward Fisher
4286822b91
Moved lseek call out of assert statement into an explicit check. JIRA NCF-312.
2014-08-27 14:26:54 -06:00
Ward Fisher
ae927f3c84
Fixed a dereference issue where ndims was greater than 0 but the allocation for dimids would fail. Identified by clang static analysis.
2014-07-09 12:45:06 -06:00
Ward Fisher
7f812b367e
Manual merge of pull request https://github.com/Unidata/netcdf-c/pull/64 contributed by nschloe. Assorted CMake improvements.
2014-06-11 15:51:31 -06:00
Ward Fisher
05aaa4b376
Renamed man4 directory to docs.
2014-05-21 14:40:39 -06:00
Ward Fisher
44fae42214
Cleaned up indentation, white space in multiple CMakeLists.txt files.
2014-04-21 11:15:33 -06:00
Russ Rew
4a90e9a888
Change assertions that indicate file corruption into error status return.
2014-04-16 08:04:00 -06:00
Dennis Heimbigner
576cd84754
Merge branch 'master' of https://github.com/Unidata/netcdf-c
2014-03-29 13:36:02 -06:00
Dennis Heimbigner
4e68a3b8d3
add some jna personal scripts
2014-03-29 13:35:52 -06:00
Ward Fisher
76e5e0f1fa
Addressed several minor issues revealed by static analysis (coverity, clang). Mostly to do with extreme corner cases in which a null pointer would be dereferenced, or dereferencing a non-null (but non-initialized) pointer would result in garbage.
2014-03-28 17:11:26 -06:00
Quincey Koziol
4bfd9b27a0
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
libdap2/common34.c
oc2/ocutil.c
2014-02-11 17:26:09 -06:00
Quincey Koziol
b2dfacbcfa
Big clean up to type handling in libsrc4, which makes fill-values work
...
correctly for variables with string datatype, plus a few other minor changes.
2014-02-11 17:12:08 -06:00
Ward Fisher
5600bd327e
Updated CMake file.
2014-02-06 11:35:35 -07:00
Ward Fisher
7786b78cfc
Reorganized Windows includes.
2014-02-04 11:10:27 -07:00
Ward Fisher
c1407c3239
Removed stray debugging message.
2014-02-03 14:42:56 -07:00
Quincey Koziol
cd71eb525c
Corrected "BAIL" macros to avoid infinite loop when logging is disabled and an
...
error occurs after an "exit:" label.
Corrected a dozen Coverity errors (mainly allocation issues, along with a few
other things):
711711, 711802, 711803, 711905, 970825, 996123, 996124, 1025787,
1047274, 1130013, 1130014, 1139538
Refactored internal fill-value code to correctly handle string types, and
especially to allow NULL pointers and null strings (ie. "") to be
distinguished. The code now avoids partially aliasing the two together
(which only happened on the 'write' side of things and wasn't reflected on
the 'read' side, adding to the previous confusion).
Probably still weak on handling fill-values of variable-length and compound
datatypes.
Refactored the recursive metadata reads a bit more, to process HDF5 named
datatypes and datasets immediately, avoiding chewing up memory for those
types of objects, etc.
Finished uncommenting and updating the nc_test4/tst_fills2.c code (as I'm
proceeding alphabetically through the nc_test4 code files).
2013-12-29 01:12:43 -06:00
dmh
582410a407
[NCF-273]/HZY-708311
...
Add a new function called nc_inq_format_extended that
returns more detailed format information (vis-a-vis
nc_inq_format) about an open dataset.
Note that the netcdf API will present the file as if it had
the format specified by nc_inq_format. The true file
format, however, may not even be a netcdf file; it might be
DAP, HDF4, or PNETCDF, for example. This function returns
that true file type. It also returns the effective mode for
the file.
signature: nc_inq_format_extended(int ncid, int* formatp, int* modep)
where
* ncid is the NetCDF ID from a previous call to nc_open() or
nc_create().
* formatp is a pointer to a location for returned true format.
* modep is a pointer to a location for returned mode flags.
Refer to the actual list in the file netcdf.h to see the
currently defined set.
Also added test cases (tst_formatx*).
2013-12-22 12:53:20 -07:00
Ward Fisher
b3388178b4
Corrected a double-free issue reported by Coverity.
2013-12-17 15:54:14 -07:00
Quincey Koziol
b3044de434
Refactored read_scale(), memio_new(), var_create_dataset() and makespecial()
...
to clean up resources properly on failure.
Refactored doubly-linked list code for objects in the libsrc4 directory,
cleaning up the add/del routines, breaking out the common next/prev
pointers into a struct and extracting the add/del operations on them,
changed the list of dims to add new dims in the same order as the other
types, made all add routines able to optionally return a pointer to the
newly created object.
Removed some dead code (pg_var(), nc4_pg_var1(), nc4_pg_varm(), misc. small
routines, etc)
Fixed fill value handling for string types in nc4_get_vara().
Changed many malloc()+strcpy() pairs into calls to strdup().
Cleaned up misc. other minor Coverity issues.
2013-12-08 03:29:26 -06:00
Ward Fisher
5566cbb772
Added a check for _filelengthi64 in configuration. When found, this will be used instead of fstat when computing file length.
2013-11-04 12:58:33 -07:00
Ward Fisher
bda59030cb
Replaced call to fstat with call to filelength, on apropriate system.
2013-11-01 16:30:33 -06:00
Ward Fisher
3a4d8252c3
Corrected an issue on OSX 'Mavericks'.
2013-10-21 17:39:13 -06:00
Ward Fisher
e636881aa7
Debugging an issue with LFS tests on Windows.
2013-09-03 14:22:55 -06:00
Ward Fisher
dae5e2f697
Added a short copyright message at head of a couple CMakeLists files; this will be propegated to the others.
...
Updated version in configure.ac to 4.3.1-rc2.
2013-08-15 09:43:59 -06:00
Ward Fisher
85465d8c10
Added stanza to only invoke m4 in non-MSVC environments.
2013-08-13 15:57:53 -06:00
Ward Fisher
43532c4193
Updated revision to rc2.
...
Refactored CMakeLists.txt in libsrc to generate, install netcdf.3 man page.
2013-08-13 15:42:45 -06:00
Ward Fisher
d91aa28110
Corrected a couple resource leak issues reported by Coverity static analysis.
2013-08-09 16:19:45 -06:00
Dennis Heimbigner
b85d3568ec
Added the necessary code to support
...
group renaming. The primary API
is 'nc_rename_grp(int grpid, const char* name)'.
No test cases provided yet.
This also required adding a rename_grp entry
to the dispatch tables.
2013-07-19 21:48:37 +00:00
Ward Fisher
1c23ec06b8
Merging latest from netcdf-cmake branch. Includes a handful
...
of fixes for coverity-identified errors.
2013-07-19 21:32:27 +00:00
Ward Fisher
33d3d06971
Added initial 'make dist', 'make distcheck' support to
...
CMake-based builds.
2013-06-03 16:42:04 +00:00
Russ Rew
946a7ab8b5
Fix contributed by Nath Gopalaswamy to large file problem reading
...
netCDF classic or 64-bit offset files that have a UINT32_MAX flag for
large last record size of a variable that has values larger than 1
byte. This problem had previously been fixed for *writing* such data,
but was only tested with an ncbyte variable. Fixed test to
demonstrate problem and the fix.
More updates to chunking documentation, cosmetic fixes for some
"--option=" documentation that doxygen turns into mdash.
2013-05-31 20:18:18 +00:00
Ward Fisher
da16fc1cde
Fixed an issue with Windows builds
...
not compiling due to how
ssize_t was being detected/defined.
2013-05-24 21:19:07 +00:00
Dennis Heimbigner
c659633d2e
merge from trunk
2013-03-26 16:45:02 +00:00
Dennis Heimbigner
4b7817e69e
Return EACCES instead of NC_EMETADATA when failing to create an HDF5 file
2013-03-26 16:31:56 +00:00
Ward Fisher
89ea9a4631
Added include for Windows in order to make use of alloca.
2013-03-25 21:02:11 +00:00
Dennis Heimbigner
9b4db7a039
Make some things static that do not need to be externally visible
2013-03-24 17:33:17 +00:00
Ward Fisher
f26a4a559a
Merged latest from netcdf-cmake branch.
...
Addressed several cmake-related issues, in terms of
building on Windows. Also added XGetopt.c to
EXTRA_dist in Makefile.am files.
2013-03-19 22:40:15 +00:00
Dennis Heimbigner
dea3c726c8
merge trunk into this branch
2013-03-15 20:31:07 +00:00
Dennis Heimbigner
9eaac2a595
Apply Wei-Keng's fix
...
for JIRA issue NCF-241.
This is only temporary
until I can make pnetcdf
operate as a separate dispatch table.
Also, fix nc_test4/tst_pnetcdf
to open with nc_open_par;
this is necessary because a pnetcdf
created file cannot be opened
as a netcdf classic file.
2013-03-13 17:34:47 +00:00
Dennis Heimbigner
c18c90b012
removed some unused local variables
2013-03-12 20:45:58 +00:00
Ward Fisher
c23a97dd7f
Fixed a windows-related issue (required malloc.h include),
...
update documentation related to netcdf for Windows.
2013-03-11 22:45:26 +00:00
Russ Rew
4b89b3c392
Applied Wei-keng Liao's patch for fixing bug NCF-234, fixing variable offsets in files created by pnetcdf but rewritten by calling nc_enddef.
2013-03-10 01:09:06 +00:00
Dennis Heimbigner
80cf3a2c75
fix typo in previous checkin
2013-03-08 18:27:45 +00:00
Dennis Heimbigner
841f7c7148
Move onstack.h from libsrc
...
to include because it is used
both in libsrc and libdispatch
2013-03-08 18:08:11 +00:00
Ward Fisher
0444a6c711
Fixed a couple of tests on Windows,
...
Fixed some compile errors on Windows.
2013-02-21 23:56:15 +00:00
Ward Fisher
ddf3c31bb0
Corrected a handful of syntax issues in CMake config files,
...
probably introduced more.
Added CMake-related files to Makefile.am files for inclusion
when creating a distribution package.
2013-02-20 23:28:28 +00:00
Ward Fisher
21523c8582
Merged changes from cmake branch. oc2 changes are just
...
'file property' changes, not sure what exactly.
2012-12-20 21:50:45 +00:00
Dennis Heimbigner
5f2eb8afbf
Fix a number of potential problems by changing calls to nc_XXX to NC3/4_XXX
2012-12-12 20:05:06 +00:00
Ward Fisher
81280c7878
Merge from latest netcdf-cmake branch.
...
- Fixes for Windows.
- CMake-based changes (functionality, tests).
- Smattering of coverity-informed bug-fixes.
2012-12-05 18:35:42 +00:00
Russ Rew
f8ec45d20d
Fix NCF-209, bug causing netcdf-fortran build to get assertion violation in 'make check'
2012-12-03 21:15:30 +00:00
Dennis Heimbigner
a53682fc66
fix Jira NCF-207: double call to del_from_NCLIST
2012-11-21 17:52:49 +00:00
Ward Fisher
ff631c8156
Merged latest changes from cmake branch.
...
o Improved CMake support.
o Cmake module compatibility (netcdf-config*.cmake.in).
2012-11-19 21:43:12 +00:00
Ward Fisher
afa67452f6
Took some time to address a handful of errors identified by Coverity.
...
Primarily focused on memory errors falling into a couple different types:
1) Static overrun errors.
2) Dereference uninitialized memory errors.
make distcheck works after applying these fixes, and coverity no longer sees an issue, so hopefully they are properly resolved.
2012-11-14 18:24:45 +00:00
Ward Fisher
057701e1fa
Added man pages to 'make install'
2012-10-17 21:14:30 +00:00
Ward Fisher
d0a665f83f
Including .c files generated from .m4 to accomodate
...
Windows users (who generally will lack m4). This policy
can be re-evaluated if need be.
2012-10-02 16:45:27 +00:00
Dennis Heimbigner
076e78e91c
Fix Jira bug NC-198
2012-10-02 14:54:19 +00:00
Ward Fisher
cb10672d0d
2012-09-14 22:54:55 +00:00
Ward Fisher
1a72ec6adb
2012-09-14 21:38:46 +00:00
Ward Fisher
59af056da6
2012-09-14 16:15:18 +00:00
Ward Fisher
2de3388cf1
Additional CMake usage.
2012-09-13 18:27:23 +00:00
Ward Fisher
a83c1bd851
2012-09-12 20:18:48 +00:00
Ward Fisher
53843f134e
2012-09-10 22:37:38 +00:00
Ward Fisher
f820e5e5ee
2012-09-10 21:19:57 +00:00
Ward Fisher
54a3c8290a
2012-09-07 16:34:23 +00:00
Ward Fisher
776e179f23
Corrected CMakeList files.
2012-09-06 21:50:00 +00:00
Ward Fisher
e55d002dbc
Merged Dennis' changes from trunk.
2012-09-06 21:15:37 +00:00
Dennis Heimbigner
5ca78309cc
The effect of this change is to make the struct NC structure
...
contain as little file-type specific info as possible. It
modifies especially libsrc so that all of the netcdf-3 data
that used to be in struct NC is now kept in a separate chunk
of data pointed to by the struct NC. This makes all of
current protocols consistent: netcdf-3, netcdf-4, and dap.
2012-09-06 19:44:03 +00:00
Ward Fisher
04e61d5894
Added MSVC-compatibility items.
2012-08-27 21:19:25 +00:00
Ward Fisher
d5d15cbdd1
Added a minor change from the trunk.
2012-08-24 18:42:40 +00:00
Ward Fisher
e8453be1e5
Merged from trunk into branch
2012-08-20 18:30:04 +00:00
Russ Rew
4d6f11288b
Fix Coverity complaint about passing big parameter by value
2012-08-17 22:00:36 +00:00
Ward Fisher
c8febf92ed
Modified related to m4 file conversion macro.
2012-08-13 16:10:36 +00:00
Ward Fisher
14619ec4c4
2012-08-09 18:40:41 +00:00
Ward Fisher
0607b62375
Added coverage test flags to CMakeLists.txt files.
2012-08-09 17:07:41 +00:00
Ward Fisher
0d90326575
Integrated latest changes to trunk, added preliminary CPack support.
2012-08-02 22:56:57 +00:00
Dennis Heimbigner
bc3a732e25
fix e-support YOP-841363 plus a number of coverity found bugs
2012-08-02 18:43:21 +00:00
Ward Fisher
111ea759e1
CMake Integration
2012-07-19 22:30:05 +00:00
Ward Fisher
86b9a01f2d
Merged changes from trunk.
2012-07-19 21:38:43 +00:00
Ward Fisher
71075cee2e
Additional changes in support of CMake.
2012-07-18 21:12:58 +00:00
Dennis Heimbigner
cd36ff7682
fix #elif problem
2012-07-18 16:14:08 +00:00
Dennis Heimbigner
8c01f7437f
fixed valgrind error in tst_h_strings.c
2012-07-18 15:50:29 +00:00
Ward Fisher
d66293beca
More changes in support of CMake support
2012-07-17 21:44:41 +00:00
Ward Fisher
2dc39563cc
Changes in suport of CMake
2012-07-16 22:31:35 +00:00
Ward Fisher
ec4b3dd141
2012-07-13 16:49:20 +00:00
Ward Fisher
8f508bedba
Updatec CMakeLists.txt
2012-07-13 16:37:14 +00:00
Ward Fisher
b2210e7166
Added missing CMakeLists.txt file.
2012-07-10 17:45:28 +00:00
Ward Fisher
75a48b9e9e
Integrated changes from trunk, began adding CMake support, updated 'build everything' script.
2012-07-02 22:59:59 +00:00
Dennis Heimbigner
60b3f3b6f3
change file permissions for memio and mmapio
2012-06-28 17:12:02 +00:00
Russ Rew
3e37e69b8e
Fixed ncdump to return failure status when unknown option specified.
...
Removed extra netcdf_par.h include file.
2012-06-27 15:03:19 +00:00
Dennis Heimbigner
a6b932826b
add NC_MMAP flag and tests
2012-06-23 19:25:49 +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
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
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
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
Dennis Heimbigner
e29a6fb164
added list of configure flags to man4/install.doc
2012-04-13 02:41:00 +00:00
Dennis Heimbigner
353b7ebf53
fix bug in memio.c realloc code
2012-04-12 02:06:28 +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
7a9802dc7c
forgot to check the case when HAVE_MEMMOVE is false
2012-03-28 17:46:25 +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
25c3167841
ckp
2012-03-26 01:30:22 +00:00
Russ Rew
7592240cb1
recommit Khroulev fix I thought I committed in January
2012-03-20 19:06:08 +00:00
Dennis Heimbigner
99eef24bc2
- Fix NCF-158 to modify ncgen flag defaults.
...
- Fix NCF-157 to modify DAP code to support
partial variable retrieval.
- Fix of NCF-154 to solve problem of ncgen
improperly processing data lists for variables
of size greater than 2**18 bytes.
- Fix ncgen processing of char variables that have
multiple unlimited dimensions.
- Partly fix Jira issue: NCF-145 (vlen issues).
- Benchmark program nc_test4/tst_ar4_*) requires arguments
and should only be invoked inside a shell
script; fixed so that they terminate cleanly
if invoked with no arguments.
- Fix the Doxygen processing so it will work
with make distcheck.
- Begin switchover to using an alternative to ncio.
- Begin support for in-memory (diskless) files.
2012-03-14 23:26:48 +00:00
Dennis Heimbigner
3e592a2604
fix dap string handling
2012-02-03 21:31:50 +00:00
Dennis Heimbigner
7b3c25b9db
restore hashbig visibility
2012-01-30 17:06:59 +00:00
Dennis Heimbigner
76f9b30ea9
fix reference to hashbig
2012-01-30 16:55:39 +00:00
Dennis Heimbigner
aebd11348a
1)Integrate the oc with improved performance
2012-01-29 18:56:29 +00:00
Ed Hartnett
7b47adf3a1
removed executable permissions from all code files
2011-10-04 16:05:11 +00:00
Dennis Heimbigner
1578ddac0c
2011-09-20 20:39:04 +00:00
Dennis Heimbigner
732fbff7ce
2011-09-20 17:30:02 +00:00
Dennis Heimbigner
12d4f46668
2011-09-18 20:57:51 +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
Ed Hartnett
296ca23237
minor changes to improve visual studio and vxworks builds
2011-07-13 12:36:22 +00:00
Ed Hartnett
17d09ddac5
moved string.c to libdispatch
2011-07-12 17:58:42 +00:00
Dennis Heimbigner
fec4cdb230
Fixed the following Jira minor bugs:
...
NCF-42: _Format attribute sometimes being ignored
NCF-43: Fixed unsigned long long parsing.
NCF-47: Make opendap code properly handle illegal names like "x.y" by
supressing them
NCF-49: check for uint type
NCF-50: properly handle username:pwd embedded in urls.
2011-05-12 17:51:32 +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
Dennis Heimbigner
80d8926bad
fix user+password;also the bad-name problem;also merged libncdap3+ncdap4->libdap2
2011-04-27 20:50:27 +00:00
Ed Hartnett
965a3aac70
minor refactor of the build system to work better for cross-compiling
2011-03-15 10:19:08 +00:00
Dennis Heimbigner
bc5abe766e
fixed opendap perf. bug for nc_get_vars
2011-02-23 17:37:11 +00:00
Ed Hartnett
1a3ba4a6d8
cywin-mingw32 dlls now building
2011-01-06 20:12:06 +00:00
Dennis Heimbigner
f7e41dde66
add cdmremote skeleton code
2010-12-15 21:45:05 +00:00
Ed Hartnett
184b2d0945
freed new path string for nc3 and nc4 files
2010-12-01 18:21:47 +00:00
Ed Hartnett
03f63a5f1c
many changes for memory fixes
2010-11-29 22:23:16 +00:00
Ed Hartnett
8cc0fd982f
fixed valgrind problems
2010-11-29 21:07:09 +00:00
Russ Rew
23307ac97b
Fix bug in name/hash code for renaming a dimension.
2010-11-23 18:10:51 +00:00
Dennis Heimbigner
b2c05fa4d0
fixed:
...
ncgen: nan bug
made semicolons optional after type decls
libncdap{3,4}: revamped the NC surrogate to better match
with libsrc
libdispatch: Added a new_nc function to the dispatch table; its purpose
is to allow hierarchical use of NC compatible data structures.
libsrc: cleaned up the NC structure by removing drno field
general: removed --with-oc options
2010-11-09 22:53:03 +00:00
Ed Hartnett
a658960034
added more valgrind testing
2010-10-13 22:53:25 +00:00
Ed Hartnett
a27fd4390c
added opendap memory test
2010-08-20 17:20:32 +00:00
Ed Hartnett
1aedb82327
fixed some memory problems, more progress towards nc_inq_path
2010-08-19 17:37:29 +00:00
Ed Hartnett
a0e1b037e5
added nc_inq_path in dispatch tables
2010-08-18 15:11:17 +00:00
Russ Rew
bd267e503b
merge recent trunk changes
2010-08-09 22:27:24 +00:00
Dennis Heimbigner
ea8379719c
fixed char datalist bug and did some more dispatch cleanup
2010-08-09 20:39:36 +00:00
Russ Rew
252fbb9b9b
merge with latest trunk changes
2010-08-08 23:17:15 +00:00
Dennis Heimbigner
7e1ce62211
fix undefined fsync warning: HT to Larry Baker
2010-08-06 01:16:48 +00:00
Dennis Heimbigner
dd4fe6d25c
dispatch.h->ncdispatch.h to avoid visualstudio filename conflict
2010-08-05 02:44:59 +00:00
Russ Rew
b07789adfd
turn on VALGRIND macro for portability
2010-08-03 18:59:54 +00:00
Russ Rew
7b259541c4
Merged latest trunk changes to my branch.
2010-07-31 23:37:04 +00:00
Dennis Heimbigner
6edff3f964
cleanup pre-dispatch stuff
2010-07-30 22:16:15 +00:00
Dennis Heimbigner
c5cb1104b7
removed USE_DISPATCH and most uses of nc3 from libsrc4
2010-07-30 19:20:22 +00:00
Russ Rew
bedaaf998f
Added file with Bob Jenkin's hash functions, modified for use in
...
netCDF dim and var lookup.
2010-07-30 16:12:53 +00:00
Russ Rew
86cfc908ad
Get rid of uses of NC_MAX_DIMS in ncdump that are easy to eliminate.Get rid of some uses of NC_MAX_DIMS from nccopy. Add libsrc/pstdint.hfor systems that have no stdint.h.
2010-07-29 22:41:05 +00:00
Russ Rew
0790f81cf9
Merged var/dim name hashing for fast lookups into my branch.
2010-07-28 21:42:03 +00:00
Russ Rew
7a34f42844
Applied Harold Anlauf's patch for a longstanding bug in
...
libsrc/posixio.c when providing a sizehint which is larger than the
hardcoded value of NCIO_MAXBLOCKSIZE, which doesn't then get used.
2010-06-30 17:27:24 +00:00
Ed Hartnett
2ce4c3e368
removed unneeded files from repository
2010-06-29 14:22:30 +00:00
Ed Hartnett
bb57cf2e4b
moved functions out of m4 into c files in libdispatch/netcdf.m4
2010-06-18 14:01:51 +00:00
Ed Hartnett
4496123ff7
moved tests t_nc and t_type from libsrc to nc_test and nc_test4 to simplify build
2010-06-10 21:10:50 +00:00
Ed Hartnett
1e87ea9cbd
fixed shared build problems
2010-06-09 16:01:32 +00:00
Ed Hartnett
bb0035c95d
fixed Makefile.am includes to find new netcdf.h location
2010-06-07 15:40:31 +00:00
Ed Hartnett
440ee71dad
fixed t_nc to work with new location of strerror
2010-06-07 12:50:53 +00:00
Ed Hartnett
cdabf7bbf4
build system clean-up
2010-06-03 20:33:02 +00:00
Ed Hartnett
92ccf1c5fa
moved headers to include directory
2010-06-03 20:22:55 +00:00
Ed Hartnett
ebd2ba0bc3
fixed makefile problem for libsrc
2010-06-03 19:20:05 +00:00
Ed Hartnett
18f4bca367
moving to trunk subdir
2010-06-03 13:24:43 +00:00