summaryrefslogtreecommitdiffstats
path: root/fortran/src/H5match_types.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [svn-r12440] Purpose:Quincey Koziol2006-06-271-4/+4
| | | | | | | | | | | Code cleanup Description: Trim trailing whitespace in Makefile.am and C/C++ source files to make diffing changes easier. Platforms tested: None necessary, whitespace only change
* [svn-r12270] Purpose: Bug fix (it is quite serious, so I decided to check ↵Elena Pourmal2006-04-171-4/+4
| | | | | | | | | | | | | | | the fix in) Description: H5match_types uses reserved "INT" string and writes it to the H5H5fortran_types.f90 file. If application uses Fortran intrinsic INT and HDF5, compilation fails since it becomes redefined in H5H5fortran_types.f90. Solution: Rename INT to Fortran_INTEGER Platforms tested: copper, shanti, heping with g95 Misc. update:
* [svn-r11543] Purpose:James Laird2005-10-111-1/+18
| | | | | | | | | | | | Copyright fix Description: Added copyright notice to fortran/src/H5match_types.c and fortran/src/H5test_kind.f90 Platforms tested: heping
* [svn-r11372] Purpose: Maintenance/improvementElena Pourmal2005-09-081-1/+134
| | | | | | | | | | | | | | | | Description: Added support for "big" REAL and DOUBLE PRECISION datatypes (i.e. sizes of Fortran real and double precision may be 8 and/or 16 bytes; usually specified by compilers flags like -r8, -r16, -d8, etc.) Solution: Added code to generate all necessary datatypes on a fly. Platforms tested: heping with g95 (-r8, -d8) mir with ifc (-r16, -r8) Note: multi file test failed when REAL is 128 bit. I will address this later. Misc. update:
* [svn-r11370] Purpose: Typo fixElena Pourmal2005-09-071-1/+1
| | | | | | | | | | Description: Fixed a typo introduced by my previous check in Solution: Platforms tested: heping Misc. update:
* [svn-r11359] Purpose: Bug fix/maintenance/new featureElena Pourmal2005-09-071-0/+2
| | | | | | | | | | | | | | | | | | | Description: Currently we are trying to match excatly Fortran and C types. Unfortunately, some systems (SX-6) provide compiler switches (-ew) that make ALL Fortran types to be at least of size 8. As a result, Fortran library cannot be compiled. Solution: Allow INTEGER(HID_T) type to be 8 bytes if necessary. The values of this type are originated in the C library and can be safely passed back and forth. Please note that we cannot do the same for INTEGER(SIZE_T) type. Fortunately there is a switch that allows size_t be 8 bytes for both C and Fortran compilers. Platforms tested: It is a minor change, therefore SX-6 only; daily tests will do the rest :-) Misc. update:
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-4/+4
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10970] Purpose: New feature/bug #350 fixElena Pourmal2005-06-221-4/+4
| | | | | | | | | | | | | | | | | | | | Description: When compiler flag was used to set the size of Fortran integer to 8 bytes, library would fail. Solution: Cleaned up the code; added detection of Fortran INTEGER type size and appropriately defined int_f type for C-stubs routines. Platforms tested: Solaris 2.8 32 and 64-bit, AIX 5.1 64-bit parallel PGI Fortran with -i8 flag on heping Absoft Fortran with -i8 flag on heping g95 on mir (Fortran integer is 8 bytes by default that cannot be changed - compiler bug ;-) AIX Fortran with -qintsize=8 32 and 64-bit modes on copper Misc. update:
* [svn-r10736] Purpose:Quincey Koziol2005-05-071-144/+48
| | | | | | | | | | | Code cleanup Description: Clean up some compiler warnings Platforms tested: FreeBSD 4.11 (sleipnir) h5committest