summaryrefslogtreecommitdiffstats
path: root/c++/src
Commit message (Collapse)AuthorAgeFilesLines
* Removed checks/workarounds for pre-C++89 compatibility (#449)Sean McBride2021-03-1010-49/+0
| | | | | | | | After 30+ years, just assume that the following exist: - extension-less includes - namespaces - std:: - static_cast - bool
* More warning fixes (#400)Sean McBride2021-03-044-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fixed -Wunused-local-typedef warning * Fixed -Wformat warnings In one case also removed a `z` character. There was a `z%d` that I think was supposed to be `%zd` * Fixed -Wshorten-64-to-32 warnings * Fixed -Wself-assign warnings * Fixed -Wreserved-id-macro warnings * Commit format changes from clang-format, clang version 10.0.1. * Fixed -Wself-assign warnings * Fixed -Wunused-local-typedef warning * Fixed -Wformat warnings In two cases also removed a `z` character. There was a `z%d` that was supposed to be `%zd`. * Fixed -Wshorten-64-to-32 warnings * Fixed -Wreserved-id-macro warnings * Fixed -Wself-assign warnings * Format source. * Remove blank lines to pass format check. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Changes found during merge to 1.12 (#414)Allen Byrne2021-03-044-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-256-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2330-90/+90
| | | | | | | | | | | | | | | | * 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-1770-70/+70
| | | | | | * 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.
* 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
* Basic alignment with async branch (#115)Quincey Koziol2020-11-231-1/+1
| | | | | | | * Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
* CMake: Add an option to opt-out static libgccMichel Zou2020-10-311-1/+1
| | | | | With sjlj exception model, statically link to libgcc/libstdc++ prevents exceptions to be caught from other dynamic libraries.
* Clang-format of source filesAllen Byrne2020-09-3065-4797/+5135
|
* OESS-98 merge with clang-format changesAllen Byrne2020-09-251-3/+3
|
* CMake and script changes for clang-formatAllen Byrne2020-09-041-0/+11
|
* Minor change to header comments in file locking C++ changes.Dana Robinson2020-08-031-2/+2
|
* Squash merge of file locking fixesDana Robinson2020-08-032-0/+53
|
* Trim trailing whitespaceQuincey Koziol2020-04-208-11/+11
|
* TRILAB-192 add c++ and fortran warnings build systems one fileAllen Byrne2020-04-051-6/+2
|
* 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
|
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-165-47/+181
|
* Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim()Jerome Soumagne2019-10-082-6/+6
|
* Update versioning to next major versionAllen Byrne2019-09-251-0/+12
|
* Update develop branch version to 1.13.0 after creation of hdf5_1_12Larry Knox2019-09-251-1/+1
| | | | branch.
* HDFFV-10845 make flags privateAllen Byrne2019-07-181-1/+1
|
* Correct syntaxAllen Byrne2019-07-181-1/+1
|
* Fix typoAllen Byrne2019-07-181-1/+1
|
* HDFFV-1045 gcc static must be link flagsAllen Byrne2019-07-181-1/+5
|
* HDFFV-10845 quote multiple strings in cmake link commandAllen Byrne2019-07-181-1/+1
|
* HDFFV-10845 update mingw cmake changesAllen Byrne2019-07-171-1/+4
|
* HDFFV-10845 fix configure check and PATHsAllen Byrne2019-07-171-1/+1
|
* HDFFV-10581 add missed change and release note.Allen Byrne2019-07-091-1/+1
|
* HDFFV-10805 Add option to only build shared targetsAllen Byrne2019-06-181-17/+23
| | | | | 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
* Snapshot version 1.11 release 5.hdftest2019-05-021-1/+1
| | | | Update version to 1.11.6.
* Added more info to the function headers.Binh-Minh Ribler2019-04-221-2/+3
|
* Added new C++ wrappers - HDFFV-10622Binh-Minh Ribler2019-04-223-4/+50
| | | | | | | | | | | | | | | | Description: Added wrappers for H5Pset/get_create_intermediate_group: // Specifies in property list whether to create missing // intermediate groups void setCreateIntermediateGroup(bool crt_intmd_group) const; // Determines whether property is set to enable creating missing // intermediate groups bool getCreateIntermediateGroup() const; Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1011test)
* Add C++, Java, and FORTRAN wrappers and tests for H5Fget_filenoQuincey Koziol2019-04-143-0/+60
|
* Snapshot version 1.11 release 4.hdftest2019-04-011-1/+1
| | | | Update version to 1.11.5.
* Removed an extra "using" statementBinh-Minh Ribler2019-02-151-2/+0
|
* Adding documentationBinh-Minh Ribler2019-02-151-1/+7
| | | | | Description Added detail about the argument "fields" of H5Object::visit.
* Adding a C++ wrapperBinh-Minh Ribler2019-02-144-23/+94
| | | | | | | | | | | | | Description: - Added a wrapper for H5Ovisit2 to class H5Object // Recursively visit elements reachable from this object. void visit(H5_index_t idx_type, H5_iter_order_t order, visit_operator_t user_op, void *op_data, unsigned int fields); - Fixed various typos in documentation Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1011test)
* Fixed documentation - typo onlyBinh-Minh Ribler2018-12-231-2/+1
|
* Removed H5I_REFERENCE from the library. It has always been unusedDana Robinson2018-12-082-3/+0
| | | | and has been marked 'deprecated' since 1.10.0. Fixes HDFFV-10252.
* Snapshot version 1.11 release 3.hdftest2018-11-051-1/+1
|
* VOL FEATUREDana Robinson2018-10-104-4/+52
|
* Snapshot version 1.11 release 2.hdftest2018-09-201-1/+1
|
* Develop normalization with vol_integration.Dana Robinson2018-09-191-5/+5
| | | | | Mostly peripheral things like the tools and wrappers, with just enough core library code to support that.
* Merge branch 'develop' of ↵Binh-Minh Ribler2018-07-281-7/+8
|\ | | | | | | https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp4 into develop
| * Add missing '\' in the middle of the public headers list in Makefile.am.Larry Knox2018-07-241-4/+4
| |
* | Fixed document formatBinh-Minh Ribler2018-07-2813-0/+17
| | | | | | | | | | Platforms tested: Linux/64 (jelly) (only in comment sections)
* | Fixed missing backslashBinh-Minh Ribler2018-07-241-7/+6
|/