summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5rImp.c
Commit message (Collapse)AuthorAgeFilesLines
* Reduce casts of HDcalloc()/HDmalloc() that -Wc++-compat required.David Young2020-01-291-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce gratuitous casts---e.g., (size_t)1. Use the right format string for a pointer. In the H5C sanity checks, change a "size increase" variable from ssize_t (too narrow) to int64_t (wide enough). Parenthesize every appearance of `storage` in the macro `H5D_CHUNK_STORAGE_INDEX_CHK(storage)` so that you can pass in an expression like &sc and it works properly. Disallow re-assignment of the `dset` parameter to H5D__chunk_init() because it helped assure me that it's safe to replace the repeating expression `&dset->shared->layout.storage.u.chunk` with `sc` throughout. Replace lengthy expressions such as `&dset->shared->layout.storage.u.chunk` with `sc` throughout several functions in H5Dchunk.c ISTR that the compiler warned that `sc` was declared but unused in a couple of functions, and then I found that `sc` could be used in many places. Maybe the disused `sc` appeared because a bunch of code was copied and pasted, I don't know. Anyway, it's a lot tighter code now that I use `sc`. In H5D__chunk_update_old_edge_chunks() and H5D__chunk_delete() I actually expand `sc` and another temporary variable, `pline`, because they're used only in !defined(NDEBUG) code. This squashes unused-variable warnings in the defined(NDEBUG) configuration. Don't drop the `volatile` qualification with a cast in tools/src/h5import/h5import.c.
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-14/+14
|
* HDFFV-10976,-10980 Init obj_type before calling H5Rget_obj_type3Allen Byrne2019-12-201-1/+1
|
* Address compile warningsAllen Byrne2019-12-061-7/+4
|
* Update reference files and fix int as stringAllen Byrne2019-12-031-6/+6
|
* HDFFV-10876 Update h5dump and h5ls for new ref api.Allen Byrne2019-11-071-2/+591
|
* Java formatting of argsAllen Byrne2019-05-301-1/+1
|
* Fixes for JNI updatesJordan Henderson2019-02-121-0/+2
|
* Re-write of Java JNI error handlingJordan Henderson2019-02-111-210/+189
|
* HDFFV-10536 callback crash fixed by using stack structureAllen Byrne2018-08-171-1/+0
|
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* Fix URL nameAllen Byrne2017-04-111-1/+1
|
* [svn-r30313] HDFFV-9972: unsatisfied link error under debug on Windows.Allen Byrne2016-08-221-30/+26
| | | | | | | | | | Added windows name suffix for debug to CMake cmd_arg for examples and test. Fix issues discovered under debug testing; Create a version of H5Iget_name that correctly returns the name. Rework PIN_JAVA_STRING macro and usage to eliminate possible memory leaks by using if-else instead of mid-routine return. Update example to use new H5Iget_name API. Tested: windows under debug
* [svn-r29873] Java add missing APIs.Allen Byrne2016-05-041-6/+12
| | | | | Adjust whitespace in H5.java for exception indentation. Adjust whitespace in JNI for function signature formatting.
* [svn-r29226] HDFFV-9552: merge in java code.Allen Byrne2016-02-291-0/+324