summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5match_types.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers (#2184)Larry Knox2022-11-011-3/+0
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* Changes found during merge to 1.12 (#414)Allen Byrne2021-03-041-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 * 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
* Update license url part2 (#333)Larry Knox2021-02-171-3/+3
| | | | | | * 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.
* Clang-format of source filesAllen Byrne2020-09-301-280/+298
|
* Trim trailing whitespaceQuincey Koziol2020-04-201-5/+5
|
* testpar/t_2Gio.c: Fix a typo that I think was introduced by aDavid Young2020-01-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | previous warnings PR. An array element was assigned to itself---shape[2]Â =Â shape[2];---instead of being assigned to chunk[2]. fortran/src/H5Pf.c: move conditional compilation controlled by H5_NO_DEPRECATED_SYMBOLS outside of a function for readability. fortran/src/H5match_types.c: put a variable's declaration under the same conditional compilation (H5_FORTRAN_HAVE_C_LONG_DOUBLE) as its use. For now, skip compilation of some unused debug dump routines in the JNI. While I'm in the JNI, delete a set-but-unused variable. src/H5Z.c: condition a variable declaration on H5_NO_DEPRECATED_SYMBOLS so that it's not declared but unused or vice versa. test/cache_common.h: add an #include in to get some symbols we need to avoid implicit declaration warnings. test/dsets.c: use a more conventional conditional-compilation syntax. test/dt_arith.c, test/fillval.c: initialize a bunch of uninitialized variables before use. test/vfd.c: pass the expected type of `void **` to posix_memalign(3) instead of `int **`. testpar/t_bigio.c: explicitly compare with 0 instead of using ! when "equal to 0?" is the question not "is false?" Repair some indentation while I'm here. testpar/testpar.h: repair misaligned line-continuation backslashes in a macro that probably should be a function so that we don't have to fiddle with the line continuation to begin with. tools/src/h5repack/h5repack_main.c: fix some compiler fussing about enums. tools/test/perform/pio_engine.c: the compiler fusses if you cast a function call returning double directly to off_t. It's ok if you cast a variable that's a double to off_t, however. Write and use a new function, sqrto(), to avoid the cast warnings.
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-2/+8
|
* Updated configure & CMake compiler flags for GCC 8.x, along with correspondingQuincey Koziol2019-06-281-3/+3
| | | | | changes to warnhist script (and some extra improvements for condensing C++ and Java warnings), and fixed a bunch of warnings.
* HDFFV-10443: Add "field" parameter to H5Oinfo* and H5Ovisit* APIs.Scot Breitenfeld2019-01-081-0/+13
|
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-18/+12
| | | | | | | | | | 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.
* Removed unused variables.M. Scot Breitenfeld2016-09-291-12/+12
|
* Fixed: Fortran_DOUBLE was being set to C_LONG_DOUBLE when C_LONG_DOUBLE is ↵M. Scot Breitenfeld2016-09-291-10/+15
| | | | not available.
* Added number of integer KINDs found to the header files.M. Scot Breitenfeld2016-09-261-19/+19
|
* Misc. cleaning up of the program.M. Scot Breitenfeld2016-09-231-56/+2
|
* misc. format code-cleanupM. Scot Breitenfeld2016-09-221-6/+0
|
* HDFFV-9973 Fortran library fails to compile and fails tests with NAG compilerM. Scot Breitenfeld2016-09-221-11/+29
| | | | Fixes issues with KIND = BYTE assumptions.
* [svn-r29337] Cleaning warnings in Fortran code.Dana Robinson2016-03-081-2/+2
| | | | | Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial w/ Fortran
* [svn-r27818] Minor warning fixes.Dana Robinson2015-09-171-10/+0
| | | | Tested on: h5committest
* [svn-r27493] Trying again to merge the F2003_v1.10 branch to the trunk.Scot Breitenfeld2015-08-111-345/+232
| | | | Tested: h5committest --PASSED--
* [svn-r27489] reverted merge of branchScot Breitenfeld2015-08-111-232/+345
|
* [svn-r27392] removed unused C functionsScot Breitenfeld2015-07-151-126/+6
|
* [svn-r27221] Reworked Fortran autools REAL KIND detection.Scot Breitenfeld2015-06-161-19/+34
|
* [svn-r27186] added fix for jam with promoted reals and integersScot Breitenfeld2015-06-101-0/+10
|
* [svn-r27184] added case for real*16 when C does not have that precisionScot Breitenfeld2015-06-101-1/+6
|
* [svn-r27167] more DT fixesScot Breitenfeld2015-06-091-15/+15
|
* [svn-r27164] various bug fixes for DTScot Breitenfeld2015-06-081-2/+2
|
* [svn-r27154] fixed issue with mis-matching long double between Fortran and CScot Breitenfeld2015-06-051-6/+22
|
* [svn-r27151] fixed __float128 errorsScot Breitenfeld2015-06-041-17/+17
|
* [svn-r27122] removed dependency on generatored fortran source codeScot Breitenfeld2015-05-281-3/+7
|
* [svn-r27119] handles INTEGER*16 caseScot Breitenfeld2015-05-281-1/+1
|
* [svn-r27118] fixed character lengthScot Breitenfeld2015-05-281-1/+1
|
* [svn-r27115] Moved testing KINDs and SIZEOFs to configure.Scot Breitenfeld2015-05-271-341/+266
|
* [svn-r26937] added generated Fortran file to Fortran CMakeList.txtScot Breitenfeld2015-04-281-1/+1
|
* [svn-r26919] fixed real promoted to 8 bytesScot Breitenfeld2015-04-241-7/+39
|
* [svn-r26809] Changed Fortran file endings from ".f90" to ".F90"Scot Breitenfeld2015-04-141-2/+2
|
* [svn-r26417] Removed compiler warnings from HL. HDF5-237Scot Breitenfeld2015-03-101-99/+103
| | | | Tested: h5committest
* [svn-r25980] Reverting check-in 25978, C_LONG_DOUBLE seems to be 16 bytes ↵Scot Breitenfeld2015-01-151-217/+7
| | | | sometimes and 10 bytes other times. Not sure why.
* [svn-r25978] Bug fix for HDFFV-8847Scot Breitenfeld2015-01-131-7/+217
| | | | Tested: h5committest
* [svn-r24727] Description:Quincey Koziol2014-02-211-12/+12
| | | | | | | | | Revert change of sprintf -> snprintf, due to failures on Windows. We'll need to figure out the correct course of action in the future. Tested on: MacOSX/64 10.9.1 (amazon) w/C++, FORTRAN (too minor to require h5committest)
* [svn-r24726] Description:Quincey Koziol2014-02-201-26/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert some earlier usage of strncpy, which was incorrect. Bring Coverity changes from branch back to trunk: r20821: Use HDstrncpy. --gh (Fixed already, with strdup) r20822: (Not merged, incorrect use of HDstrncpy()) r20823: (Not merged, incorrect use of HDstrncpy()) r20824: Maintenance: Bug fix: addressed CID 666. Value stored at *expression_len should be used in the call to HD5packFstring to avoid overflow (and unnecessary arithmetic calculation and casting) r20825: Issue 642: Added check for error and handler with print to stderr and exit. r20826: Undo revision 20818, as that issue has already been fixed in the 1.8 branch and trunk (but not coverity branch) r20827: (Not merged, incorrect use of HDstrncpy()) r20828: Use HDstrncpy. --gh (Corrected use of strncpy()) r20829: Check return of H5Lget_val(print_udata->fid, path, targbuf, linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0. Check if H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL, &filename, &objname) was successful and allow print. Otherwise filename and objname are not created. (init those to NULL) r20830: resolved coverity issues 939, 940, 941, 944, and 947. all were complaints about use of sprintf, and in all cases, the buffers used were large enough for all eventualities. Resolved issue by replacing calls to sprintf with calls to snprintf. r20831: Maintenance: Addressed CID 852 Replaced sprintf with snprintf r20832: Purpose: Fix valgrind issues with hl/examples/ex_image2 Description: Modified hl/examples/ex_image2 to free global "gbuf" before exit. Tested on: Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety (too minor to require h5committest)
* [svn-r23325] DescriptionScot Breitenfeld2013-03-051-0/+13
| | | | | | | | | | | ------------ Fix for: HDFFV-8149: h5pset_external_f API - the offset is declared integer which can cause problem if use 64-bit integer Added new type off_t, modified source files and added a new test. Tested (jam, intel, gnu)
* [svn-r22824] FIX: HDFFV-8118: Support Fortran compiler flags that change the ↵Scot Breitenfeld2012-09-271-1/+23
| | | | | | default size of integer and real Tested: jam(gnu,intel), machine with gcc 4.7 and C long double = 16 bytes.
* [svn-r21434] Description: Removed 12 byte real tests and definition from ↵Scot Breitenfeld2011-09-301-38/+10
| | | | | | fortran types, it was not used in the main fortran src. Tested: jam (gnu, g95, intel)
* [svn-r21248] Mereged the F2003 branch into the trunk.Scot Breitenfeld2011-08-181-113/+143
| | | | | | | | | Items merged: fortran directory, src/libhdf5.settings.in configure.in configure MANIFEST Tested: (all platforms used by daily tests, both with --enable-fortran and --enable-fortran2003)
* [svn-r18197] Description:Quincey Koziol2010-01-301-6/+6
| | | | | | | | | Trim trailing whitespace from source code files with this command: find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//' Tested on: None - eyeballed only
* [svn-r17049] Description:Scot Breitenfeld2009-06-151-7/+7
| | | | | | | Changed fprintf statements for printing unsigned int from %d to %u. Platforms tested: smirom
* [svn-r16489] Fixed bug #1459 by eliminating the macro long_long and ↵Allen Byrne2009-02-181-8/+8
| | | | | | | | | | | replacing all instances with long long. Tested: h5comittest fedora 10 x64 Vista 32, VS2005, IVF101 XP32, Cygwin
* [svn-r15903] Purpose: Fix Windows compiler errorScott Wegner2008-10-201-4/+5
| | | | | | | | Description: Visual Studio compiler was complaining because variables were declared mid-function, when they should be declared at the top. This checkin simply moves the declarations to the top. Tested: Simple edit, VS2005 only
* [svn-r15864] Description:Scot Breitenfeld2008-10-141-11/+46
| | | | | | | | We check for all the available reals in Fortran and if 16 byte real is available in Fortran and not in C then we disable the 16 byte real in Fortran. Also added the test for 12 byte real in Fortran so that it can match the 12 byte float in C if available. Note: if KIND=10 and KIND=16 are both avaiable as when using g95, then it may be the case on some systems that the size of KIND=10 and KIND=16 are both 16 bytes, so the program will print twice in H5fort_type_defines.h #define H5_FORTRAN_HAS_REAL_16 which should not cause any errors.
* [svn-r15849] Description:Scot Breitenfeld2008-10-131-53/+156
| | | | | | Changed the datatype test programs such that we don't distinguish between writeDoubleToFiles and writeFloatToFiles so that we only define c_float_4, c_float_8, and c_float_16 in H5f90i_gen.h Added the definition of real_4_f, real_8_f, real_16_f depending on if they are available, also in H5f90i_gen.h