summaryrefslogtreecommitdiffstats
path: root/hl/src
Commit message (Collapse)AuthorAgeFilesLines
* Changes found during merge to 1.12 (#414)Allen Byrne2021-03-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction * Update supported platforms * Revert whitespace changes * Correct whitespace * Changes from PR#3 * HDFFV-11213 added option to control gcc10 warnings diagnostics * HDFFV-11212 Use the new references correctly in JNI utility and tests * format source * Fix typo * Add new test file * HDFFV-11212 - update test and remove unused arg * Minor non-space formatting changes * Use H5I_INVALID_ID instead of "-1" * source formatting * add missing testfile, update jni function * Undo commit of debug code * remove mislocated file * Fix h5repack test for handling of fapls and id close * Update h5diff test files usage text * HDFFV-11212 add new ref tests for JNI export dataset * src format update * Remove blank line typo * src format typo * long double requires %Lg * Another long double foramt specifer S.B. %Lg * issue with t128bit test * Windows issue with h5dump and type. * Fix review issues * refactor function nesting and fix error checks * format fixes * Remove untested functions and javadoc quiet comments * Restore TRY block. * Change string append errors to memory exception * revert to H5_JNI_FATAL_ERROR - support functions need work * Add assertion error for h5util functions * remove duplicate function * format fix * Revert HD function error handling * Update copyright comments * GH #386 java folder copyright corrections * Whitespace * GH #359 implement and fix tools 1.6 API usage * remove excessive comments * Flip inits to correct ifdef section * rework ifdef to be simpler * format issue * Reformat ifdef inits * remove static attribute * format compliance * Update names * Revert because logic relies on float not being int * Changes noticed from creating merge of #412 * Double underscore change * Correct compiler version variable used * Remove header guard underscores * Whitespace cleanup
* Patches from vtk (#358)Sean McBride2021-02-252-16/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Drop the export attribute on forward declaration They don't mean anything on forward declarations anyways. * Fixed -Wunused-parameter warnings in some C++ files Allowed all the attribute #defines to work in C++ also. * Fixed -Wunused-variable warnings by removing dead code * Fixed all -Wshorten-64-to-32 warnings by adjusting casts There was no truncation in fact, since the unsigned result was upcast to size_t then implicitly downcast to uint32_t. * Fixed all -Wcomma warnings by spliting statements onto own lines * Fixed all -Wself-assign warnings with different unused param suppression * Fixed all -Wextra-semi warnings * Fixed all -Wswitch-enum warnings Just added new explicit cases with the existing default case. * Fixed all -Wmissing-prototypes warnings Just made functions static. Moved them into an extern "C" block. * Reformatted source with bin/format_source using clang version 10.0.1 Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Fixed many -Wreserved-id-macro warnings by fixing header guard spelling (#361)Sean McBride2021-02-2314-31/+31
| | | | | | | | | | | | | | | | * Fixed many -Wreserved-id-macro warnings by fixing header guard spelling Removed leading underscore(s) from header guard spelling. Used 2 regexes: ` _H5(.*)_H` ` __H5(.*)_H` Applied case-insensitively to only .h files. * Modified scripts that generate header files to not use underscore prefix Interestingly, there was already no leading underscore in the trailing comment at the end of the file * Fixed remaining -Wreserved-id-macro warning not caught by regex
* Update license url part2 (#333)Larry Knox2021-02-1727-27/+27
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - files not in src or test.
* Fix clang unknown pragma warnings (#337)Sean2021-02-152-2/+6
| | | | | Although clang defines __GNUC__ and supports most gcc warnings, it doesn't support all, and will in fact even warn about an unknown pragma. Guard appropriately.
* Reclassify CMake messages - HDFFV-11144 (#253)Allen Byrne2021-01-131-1/+1
| | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages
* dev -Update pkgconfig settings with version - #218 (#220)Allen Byrne2020-12-221-2/+2
| | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Pkgconfig fix - #218 * Update all pkgconfig settings with version
* Update reformatting settings, trace wrapping, and printf-format strings (#22)Quincey Koziol2020-10-063-3993/+3739
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add BEGIN_FUNC / CATCH / END_FUNC to macros * Remove incorrect trailing '{' * Update trace script to wrap H5TRACE macros at 110 characters and improve comments for code that performs this operation. * Clean up printf-formatting in H5public.h and correct some oversights in the code. * Reformat with BEGIN_FUNC / END_FUNC handled correctly by clang-format * Run clang-format on changes. * Correct H5_SIZEOF_HSIZE_T/H5_SIZEOF_HSSIZE_T macros to match typedef. * And make the undef value match also. * Update comment * Update clang-format actions to exclude generated files. * Post-process generated H5LTparse.h file as well as H5LTparse.c file. * Fix formatting * Update version of github clang-format action
* Fix VFD h5repacktest (#20)Allen Byrne2020-10-063-117/+101
| | | | | | | | | | | | | | * h5repacktest VFD fix and formatting changes * Fix memory leak in H5PL__find_plugin_in_path When encountering a directory, the current loop iteration was skipped without freeing the memory allocated for the path. * Refactor parser GCC diagnostic statements * genparser on jelly with default bison/flex Co-authored-by: Michael Kuhn <michael.kuhn@ovgu.de>
* Clang-format of source filesAllen Byrne2020-09-3025-10033/+9215
|
* OESS-98 merge with clang-format changesAllen Byrne2020-09-251-2/+2
|
* Fix comment formatting due to tabs conversionAllen Byrne2020-09-241-42/+42
|
* File changes to affect formattingAllen Byrne2020-09-041-75/+75
|
* CMake and script changes for clang-formatAllen Byrne2020-09-041-0/+19
|
* Minor refactoring based on 1.10 normalization workDana Robinson2020-08-171-13/+12
|
* Addresseda Dana's comments from the pull request.Elena2020-08-141-29/+32
|
* Fixed several typos in the comments found by Larry during the review.Elena2020-08-121-3/+3
|
* The H5DSis_scale function was updated to return "not a dimension scale" (0)Elena2020-08-121-40/+49
| | | | | instead of failing (-1), when CLASS or DIMENSION_SCALE attributes are not written according to Dimension Scales Specification (HDFFV-10436).
* Removes staff email addresses from the repositoryDana Robinson2020-08-076-450/+367
| | | | Removes redundant C library headers from hl library
* Fixes -Wnull-dereference warning in hl/src/H5DS.cDana Robinson2020-08-061-4/+3
|
* Adds -Wnull-dereference to the warnings we ignore in flex/bisonDana Robinson2020-08-064-1301/+1392
| | | | generated code (that we have no control over).
* Fix HDFFV-10591Binh-Minh Ribler2020-06-191-1/+2
| | | | | | | | | | | | Description: h52gif produced a segfault when a buffer overflow occurred because the data size was corrupted and became very large. This commit added a check on the data size against the buffer size to prevent the segfault. It also added error reporting to h52gif to display an error message instead of silently exiting when the failure occurred. Platforms tested: Linux/64 (jelly) SunOS 5.11 (emu)
* Eliminate unneccesary creation of DXPLQuincey Koziol2020-06-021-14/+3
|
* Trim trailing whitespaceQuincey Koziol2020-04-209-327/+327
|
* TRILAB-192 update LTparse filesAllen Byrne2020-04-073-1206/+1129
|
* TRILAB-192 add c++ and fortran warnings build systems one fileAllen Byrne2020-04-051-9/+3
|
* TRILAB-192 restrict extensive warnings to librariesAllen Byrne2020-03-241-0/+6
|
* TRILAB-142 Change minimum CMake version to 3.12Allen Byrne2020-02-211-1/+1
|
* Cleaned up remaining warnings in high-level library.Dana Robinson2020-01-305-672/+915
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-162-64/+111
|
* Small changes from the token_refactoring branch, to reduce the delta to developQuincey Koziol2020-01-041-18/+18
|
* Revert "Make a squash commit of 'Quiet some warnings by adjusting warnings ↵David Young2019-11-271-1/+1
| | | | level and fixing some code.' (commit 5c911d8baf3)"
* Revert "Oops, remove more C99 designated initializers for VS 2010 ↵David Young2019-11-271-5/+1
| | | | | | compatibility." This reverts commit f907b511d06612dafc7814a7c30f2f3d2b76d52b.
* Oops, remove more C99 designated initializers for VS 2010 compatibility.David Young2019-11-251-1/+5
|
* Initialize a variable before its first use.David Young2019-11-131-1/+1
|
* Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim()Jerome Soumagne2019-10-082-9/+9
|
* HDFFV-10845 fix configure check and PATHsAllen Byrne2019-07-171-1/+1
|
* Merge branch 'develop' into feature/update_gcc_flagsQuincey Koziol2019-07-101-1/+1
|\
| * HDFFV-10581 fix locations for static pdb filesAllen Byrne2019-07-081-1/+1
| |
* | Add support for GCC9, update warnhist script, and clean up warnings.Quincey Koziol2019-07-034-373/+380
|/
* Updated configure & CMake compiler flags for GCC 8.x, along with correspondingQuincey Koziol2019-06-281-2/+2
| | | | | changes to warnhist script (and some extra improvements for condensing C++ and Java warnings), and fixed a bunch of warnings.
* Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-211-9/+10
| | | | clean up warnings.
* Add H5_HLDLL prefix for windows linkAllen Byrne2019-06-201-5/+12
|
* HDFFV-10805 Add option to only build shared targetsAllen Byrne2019-06-181-14/+20
| | | | | HDFFV-10805 Add ONLY_SHARED_LIBS option and prefer shared over static HDFFV-10803 Update FindSZIP.cmake find module Remove unneeded modules and update java modules
* Makes the installed header files the same between the autotoolsDana Robinson2018-10-271-3/+6
| | | | | | | | | | | | and CMake. * CMake will no longer install private generated headers and tools library headers. * Several empty public header files (which represent internal packages) were removed. These were only installed by CMake. * Autotools installs will install H5FDwindows.h. Fixes HDFFV-10614.
* HD prefix and whitespaceAllen Byrne2018-08-281-53/+53
|
* Merge pull request #1043 in HDFFV/hdf5 from ↵Dana Robinson2018-05-312-172/+84
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DEROBINS/hdf5_der:h5do_direct_chunk_hl_to_src to develop * commit '1da9c5545c013ebc540ba3044810889d4acfa5be': Restored some unused #defines to the deprecated section of H5Dpublic.h. Added deprecated symbol wrappers for the H5DOwrite/read_chunk wrappers. Updated commenting in the H5DO compat test. Stripped out most of the duplicated functionality in the H5DO compat test. * Added H5DO compatibility functions. * Changed the offset copy to use an array on the stack. * Yanked some unused #defines. * Fixed the error tests * Moved common functionality into helper functions Normalize with trunk prior to update merge Fixed a warning. Finished move of H5DOread/write_chunk calls to H5D. First stage of moving H5DOread/write_chunk() to src/ and making them H5D calls. * Moved H5DOread/write_chunk() to H5Dio.c and renamed to H5D*. * Moved the hl/test/test_dset_opt test to test/ and renamed to direct_chunk. * Moved the hl/test/dectris_hl_perf test to tools/test/perform and renamed to direct_write_perf. * Updated autotools and CMake files.
| * Merge branch 'develop' into h5do_direct_chunk_hl_to_srcDana Robinson2018-05-151-14/+15
| |\
| * | Added deprecated symbol wrappers for the H5DOwrite/read_chunkDana Robinson2018-05-042-0/+11
| | | | | | | | | | | | wrappers.
| * | * Added H5DO compatibility functions.Dana Robinson2018-05-042-8/+61
| | | | | | | | | | | | | | | * Changed the offset copy to use an array on the stack. * Yanked some unused #defines.