Ward Fisher
faad52041f
Merge branch 'ejh_valgrind_removal_unidata_again' of https://github.com/NetCDF-World-Domination-Council/netcdf-c into pr-aggregation2.wif
2018-03-02 14:22:42 -07:00
Ward Fisher
63736532e2
Merge branch 'have-alloc-h-check' of https://github.com/mathstuf/netcdf-c into pr-aggregation2.wif
2018-03-02 14:22:27 -07:00
Ward Fisher
cec9bcd29c
Merge branch 'classic_ext_ncid' of https://github.com/wkliao/netcdf-c into pr-aggregation2.wif
2018-03-02 14:22:16 -07:00
Ward Fisher
8280586c16
Merge branch 'tst_names' of https://github.com/wkliao/netcdf-c into pr-aggregation2.wif
2018-03-02 14:22:02 -07:00
Dennis Heimbigner
686304e804
conflict resolution on include/nclistmap.h
2018-03-01 22:23:38 -07:00
Dennis Heimbigner
f6a45b942e
Merge branch 'master' into newhash1.dmh
2018-03-01 22:13:50 -07:00
Ward Fisher
d8f4f3ed6c
Merge pull request #889 from Unidata/gh843.wif
...
Revert change that broke extant NCO workflow
2018-02-28 15:34:30 -07:00
Ward Fisher
ffa36e69c9
Updated release notes.
2018-02-28 14:32:45 -07:00
Ward Fisher
61e9c1c9b1
Corrected typo in test.
2018-02-28 13:40:50 -07:00
Ward Fisher
03bffa1e11
Accomodate non-standard characters in build path in test_common.in
2018-02-28 12:54:53 -07:00
Ward Fisher
c4551856d4
Simplified fix.
2018-02-28 12:20:53 -07:00
Ward Fisher
3ccce81190
Accomodating special characters in path name.
2018-02-28 12:18:20 -07:00
Dennis Heimbigner
9240f04dc7
1. make uptodate wrt master
...
2. fix lgtm alert
4. fix problem in examples/C/hdf5plugins
where a file overwrite problem occurs.
2018-02-28 11:10:35 -07:00
Dennis Heimbigner
618f786053
Merge branch 'master' into inmemory.dmh
2018-02-28 10:46:02 -07:00
Dennis Heimbigner
1be630f466
Merge branch 'newhash1.dmh' of https://github.com/Unidata/netcdf-c into newhash1.dmh
2018-02-27 15:46:33 -07:00
Dennis Heimbigner
225453f12f
Fix memory leaks re utf8_normalize
2018-02-27 15:46:19 -07:00
Ward Fisher
faf1470887
Commented out the code, rather than just adding a comment block.
2018-02-27 15:20:58 -07:00
Ward Fisher
6ce110e362
Updated libsrc/attr.m4 in support of https://github.com/Unidata/netcdf-c/issues/843
2018-02-27 15:15:43 -07:00
Ward Fisher
bee7413989
Corrected a buffer overrun error in genlib.c
2018-02-27 15:00:49 -07:00
Dennis Heimbigner
d0a10dbbac
re: gh issue https://github.com/Unidata/netcdf-c/issues/887
...
Make sure that all attempts to access the rc file
triples check first for triple->host being null.
2018-02-27 14:22:04 -07:00
Ward Fisher
1f6264273e
Merge branch 'master' into newhash1.dmh
2018-02-27 12:15:06 -07:00
Ward Fisher
3dcb627ea1
Merge pull request #883 from Unidata/gh881-ac-par.wif
...
Gh881 ac par.wif
2018-02-27 12:13:19 -07:00
Ed Hartnett
49ebcc0e57
fixed problem of test file
2018-02-27 11:10:04 -07:00
Ed Hartnett
64e5742d88
added tst_bug324 to cmake build
2018-02-27 08:53:58 -07:00
Ed Hartnett
45329862a8
removed valgrind stuff
2018-02-27 08:36:12 -07:00
Ward Fisher
cebe81a742
Corrected logic error in cmake.
2018-02-26 17:16:15 -07:00
Ward Fisher
18c47417f7
Updated ac, cmake based builds to require parallel functionality when parallel tests are requested.
2018-02-26 17:08:26 -07:00
Ward Fisher
43b9c6302c
Fix in support of https://github.com/Unidata/netcdf-c/issues/881
2018-02-26 12:56:10 -07:00
Dennis Heimbigner
25045b78ce
fix lgtm alert
2018-02-26 12:18:01 -07:00
Dennis Heimbigner
ccc70d640b
re: esupport MQO-415619
...
and https://github.com/Unidata/netcdf-c/issues/708
Expand the NC_INMEMORY capabilities to support writing and accessing
the final modified memory.
Three new functions have been added:
nc_open_memio, nc_create_mem, and nc_close_memio.
The following new capabilities were added.
1. nc_open_memio() allows the NC_WRITE mode flag
so a chunk of memory can be passed in and be modified
2. nc_create_mem() allows the NC_INMEMORY flag to be set
to cause the created file to be kept in memory.
3. nc_close_mem() allows the final in-memory contents to be
retrieved at the time the file is closed.
4. A special flag, NC_MEMIO_LOCK, is provided to ensure that
the provided memory will not be freed or reallocated.
Note the following.
1. If nc_open_memio() is called with NC_WRITE, and NC_MEMIO_LOCK is not set,
then the netcdf-c library will take control of the incoming memory.
This means that the original memory block should not be freed
but the block returned by nc_close_mem() must be freed.
2. If nc_open_memio() is called with NC_WRITE, and NC_MEMIO_LOCK is set,
then modifications to the original memory may fail if the space available
is insufficient.
Documentation is provided in the file docs/inmemory.md.
A test case is provided: nc_test/tst_inmemory.c driven by
nc_test/run_inmemory.sh
WARNING: changes were made to the dispatch table for
the close entry. From int (*close)(int) to int (*close)(int,void*).
2018-02-25 21:45:31 -07:00
Dennis Heimbigner
199221eef6
fix memory leak
2018-02-25 20:35:24 -07:00
Dennis Heimbigner
ab96eb36ad
Fix lgtm alerts
2018-02-25 11:28:06 -07:00
Dennis Heimbigner
8cb1fc4cfe
This is the second step in refactoring the libsrc4 code.
...
The first was branch newhash0.dmh.
As with newhash0.dmh, these changes should be transparent.
2018-02-24 20:36:24 -07:00
Ed Hartnett
a45b8c7b70
merged upstream master
2018-02-23 08:33:07 -07:00
Ward Fisher
a8faac9292
Merge branch 'master' into classic_ext_ncid
2018-02-22 17:15:34 -07:00
Ward Fisher
fc6ab9881f
Merge pull request #855 from Unidata/newhash0.dmh
...
Higher performance hash for metadata: step 0
2018-02-22 16:52:59 -07:00
Ward Fisher
8e169175e4
Merge branch 'master' into newhash0.dmh
2018-02-22 14:55:31 -07:00
Ward Fisher
a242afe77c
Merge pull request #860 from NetCDF-World-Domination-Council/ejh_extra_tests
...
Some extra attribute and rename testing that I neglected to include in previous PRs
2018-02-22 14:48:20 -07:00
Ward Fisher
f9f27c5ab7
Merge branch 'master' into newhash0.dmh
2018-02-21 14:19:43 -07:00
Ed Hartnett
9de58cad99
Merge branch 'master' into ejh_extra_tests
2018-02-19 18:52:50 -07:00
Ben Boeckel
3d710563ae
onstack: check whether HAVE_ALLOCA_H is defined or not
...
If it isn't available, it isn't defined at all.
2018-02-19 10:14:19 -05:00
Ed Hartnett
f345c2f729
merged upstream master
2018-02-19 07:02:44 -07:00
Ward Fisher
db41b2a653
Merge pull request #868 from Unidata/gh849.wif
...
Pull #849 plus a note in the release notes.
2018-02-16 14:30:14 -07:00
Ward Fisher
a3ea416eb5
Updated release notes in reference to https://github.com/Unidata/netcdf-c/pull/849
2018-02-16 13:05:45 -07:00
Ward Fisher
40805e5dfa
Merge branch 'master' into ejh_hdf4_dispatch_unidata2
2018-02-16 13:02:05 -07:00
Ward Fisher
3f035d9d7a
Merge pull request #814 from mathstuf/minor-cleanups
...
Minor cleanups
2018-02-16 13:01:30 -07:00
Ed Hartnett
3792348f27
merged upstream master
2018-02-16 11:59:13 -07:00
Ed Hartnett
ca5f314fc0
minor test cleanup
2018-02-16 09:00:15 -07:00
Ed Hartnett
13fcc67d90
Merge branch 'master' into ejh_hdf4_dispatch_unidata2
2018-02-15 13:25:11 -07:00
Ben Boeckel
bdae9b4c44
nc4hdf: use PRId64 for hid_t format strings
2018-02-14 17:24:49 -05:00