summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
Commit message (Collapse)AuthorAgeFilesLines
* Clang-format of source filesAllen Byrne2020-09-301-189/+178
|
* Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-271-5/+4
|\
| * File changes to affect formattingAllen Byrne2020-09-041-7/+6
| |
* | Merge remote-tracking branch 'hdffv/develop' into rebased-fprintf-experimentDavid Young2020-09-031-28/+28
|\ \ | |/
| * Trivialities noticed while merging things to 1.10Dana Robinson2020-08-151-21/+21
| |
| * Minor normalizations with 1.12 branchDana Robinson2020-08-011-8/+8
| |
* | Use HDva_copy() and introduce a bunch of compatbility format-string constantsDavid Young2020-07-301-1/+4
| | | | | | | | | | | | | | for uppercase hexadecimal strings, `PRIX...`. Should fix the VS2010 errors that Allen mentioned: H5system.obj : error LNK2019: unresolved external symbol va_copy referenced in function HDvasprintf [C:\autotest\hdf5trunk-StdShar-code-vs10\build\ctest\hdfbld\src\hdf5-shared.vcxproj] 2 ..\..\..\hdfsrc\test\h5test.c(2103): error C2146: syntax error : missing ')' before identifier 'PRIX64' [C:\autotest\hdf5trunk-StdShar-code-vs10\build\ctest\hdfbld\test\hdf5_test-static.vcxproj]
* | Take pains to provide UINT64_MAX in all conditions.David Young2020-07-071-0/+6
| |
* | Squash my changes on branch `fprintf-experiment` into one commit forDavid Young2020-07-071-57/+67
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reapplication to my new warnings branch, `warnings-again`. These changes are included: commit 915551b7bf64e777dd2007386ec77b1d117770da Merge: 63858c2 a8892bb Author: David Young <dyoung@hdfgroup.org> Date: Mon Nov 25 17:39:49 2019 -0600 Merge remote-tracking branch 'hdf5/develop' into fprintf-experiment commit a8892bb42d6f6e4fbc30fae0eb2b957f81c938b9 Merge: 5c911d8 f907b51 Author: David Young <dyoung@hdfgroup.org> Date: Mon Nov 25 17:33:54 2019 -0600 Merge pull request #2055 in HDFFV/hdf5 from ~DYOUNG/vchoi_fork:add-werror-and-squash-some to develop * commit 'f907b511d06612dafc7814a7c30f2f3d2b76d52b': Oops, remove more C99 designated initializers for VS 2010 compatibility. commit 63858c22e168acaec0af8ced6641f26102cc6bb0 Merge: 20ae787 5c911d8 Author: David Young <dyoung@hdfgroup.org> Date: Mon Nov 25 17:04:42 2019 -0600 Merge remote-tracking branch 'hdf5/develop' into fprintf-experiment commit 5c911d8baf3ee7fe654269088eebdf07f59a8192 Merge: b8a5671 62208b0 Author: David Young <dyoung@hdfgroup.org> Date: Mon Nov 25 16:58:27 2019 -0600 Merge pull request #2030 in HDFFV/hdf5 from ~DYOUNG/vchoi_fork:add-werror-and-squash-some to develop * commit '62208b056a09c01855fbac7f75146be58ad6bfe5': (44 commits) Add an #include to get a function declaration. Don't use C99 designated initializers, they're not compatible with Visual Studio 2010. Quiet some more maybe-uninitialized warnings---each is a false positive, *sigh*. This is more code that may not compile with VS2010, *sigh sigh*. Always warn on maybe-uninitialized. -Wincompatible-pointer-types was not available until GCC 5, so enable it only if that's the GCC version we're using. Only promote maybe-uninitialized warnings to errors on GCC 8. Even on GCC 8, there may be false positives at low optimization levels? I need to check. Only use -Werror=cast-function-type with GCC 8 and later. Put all of the -W options back into the order I found them in so that it's easier to compare old and new config/gnu-flags. Add new source files to CMakeLists.txt. Mention the -Werror= flags in libhdf5.settings.in. free -> HDfree Promote decleration-after-statement warnings to errors. Quiet decleration-after-statement warnings. Move a statement under some declarations since some vintages of Visual Studio don't like declarations after statements. Document H5D__chunk_mem_xfree_wrapper(). Undo accidental test deletion. Oops, delete a debug printf that snuck in here. Undo my changes to the HD macros, hadn't really intended those to be on this branch.... Make errors of some more warnings. Move disabled warnings to DEVELOPER_WARNING_CFLAGS. Put just one warning option on a line, and sort some of the options. Cast to the parameter type, H5VL_token_t *, instead of to unsigned char *. Change hdset_reg_ref_t and H5R_ref_t from arrays of unsigned char to structs containing those arrays. Encapsulating the arrays in this way makes it easier to write and think about pointers to these types, casts to/from these types, etc. ... commit 20ae7877e33931b95e8c3502b027d6c3fe94a11f Merge: 46f8c61 edd5297 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 15:34:09 2019 -0600 Merge remote-tracking branch 'origin/add-werror-and-squash-some' into fprintf-experiment commit 46f8c613d5117a8be5bc8385a072daa0b4262f06 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 15:29:00 2019 -0600 GCC really wants us to use `ll` to format `long long`, so try to make that work before any other format modifier. Seems like we're not compiling the autoconf test program with -Werror=format ? Probably should. commit eee35b8ef3759c391327cd48a9b3c56b6f8abc99 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 15:28:05 2019 -0600 It's hard to know just how wide an HDoff_t will be, and I don't think POSIX or C standards provide a PRI macro for it, so cast to intmax_t and format using PRIdMAX. commit 86eab12df7a89b546a38e99f8178dd2adbcb3433 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 15:26:25 2019 -0600 URemove some casts.se the right format string for the argument. Here and there stop casting a printf argument. commit f722f7cbecbaa99449941484b014426f62f1bed5 Merge: 58e3743 6d5ec83 Author: David Young <dyoung@hdfgroup.org> Date: Fri Nov 22 14:44:16 2019 -0600 Merge branch 'add-werror-and-squash-some' into fprintf-experiment commit 58e3743b7faa9836606ee91798fe80dfc0040da7 Author: David Young <dyoung@hdfgroup.org> Date: Wed Nov 20 21:07:21 2019 -0600 Remove custom HDfprintf implementation, using the standard library's, instead. Take a swipe at repairing fprintf format strings, mainly replacing "%Hu" with "%" PRIuHSIZE, "%a" with "%" PRIuHADDR, "%Zu" with "%zu". Here and there remove an awkward cast of a printf argument to `long long` and use PRI[doux]8, PRI[doux]32, or PRI[doux]64, instead. Change occurrences of "%t" to "%s" and perform a suitable change of argument, `cond` -> `cond ? "TRUE" : "FALSE"`. Some occurrences of %Hu, %a, and %t remain, they just weren't flagged by the compiler because of #ifdef'age. commit d4366909293fa970c23512ac80e5d865d76cddbf Author: David Young <dyoung@hdfgroup.org> Date: Wed Nov 20 20:54:32 2019 -0600 Promote format-string warnigns to errors.
* Small changes discovered with mingw and windows defines movedAllen Byrne2020-07-021-69/+31
|
* Trim trailing whitespaceQuincey Koziol2020-04-201-1/+1
|
* Revise API for H5get_alloc_stats() to take a struct instead of separate values.Quincey Koziol2020-03-201-3/+14
|
* Add routines to query the library's free list sizes and allocation stats.Quincey Koziol2020-03-101-0/+5
|
* Provide C99/POSIX.1 format strings PRI[doux]{8,16,32,64,MAX,PTR} on systemsDavid Young2020-02-071-1/+39
| | | | that are missing <inttypes.h>.
* Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-0/+12
|
* Update develop branch version to 1.13.0 after creation of hdf5_1_12Larry Knox2019-09-251-3/+3
| | | | branch.
* Added MPICH_SKIP_MPICXX and OMPI_SKIP_CXX to H5public.h to avoid inadvertantDana Robinson2019-09-171-0/+3
| | | | linking to the deprecated MPI C++ wrappers. Fixes HDFFV-10893.
* Snapshot version 1.11 release 5.hdftest2019-05-021-2/+2
| | | | Update version to 1.11.6.
* Snapshot version 1.11 release 4.hdftest2019-04-011-2/+2
| | | | Update version to 1.11.5.
* Snapshot version 1.11 release 3.hdftest2018-11-051-2/+2
|
* Snapshot version 1.11 release 2.hdftest2018-09-201-2/+2
|
* Fixed HDFFV-10404Binh-Minh Ribler2018-07-131-2/+2
| | | | | | | | | Description: Applied the typo fixes from user's report. The previous pull request couldn't be merged because it was too old, and it was too complicated for me to resolve conflicts. Platform tested: Linux/64 (jelly) - very minor
* Revert "Merge pull request #1116 in HDFFV/hdf5 from ↵hdftest2018-06-241-4/+4
| | | | | | | ~HDFTEST/hdf5_hft:hdf5_1_10 to develop" This reverts commit e9f476dad47ce593f13dacb77b1cc664d1f24e7b, reversing changes made to 2ff00b1b937ebe36ac6ddf590c16a4c27fc0b053.
* Snapshot version 1.10 release 3 (snap3)hdftest2018-06-241-2/+2
|
* Snapshot version 1.10 release 3 (snap2)hdftest2018-06-041-2/+2
|
* Updated version to 1.10.3-snap2hdftest2018-05-291-2/+2
|
* Updated version to 1.10.3-snap1hdftest2018-04-301-2/+2
|
* Updated version to 1.10.3-snap0lrknox2018-03-141-3/+3
|
* Snapshot version 1.10 release 2 (snap9)hdftest2018-02-111-2/+2
|
* Snapshot version 1.10 release 2 (snap8)hdftest2018-01-081-2/+2
|
* Snapshot version 1.10 release 2 (snap7)hdftest2017-12-311-2/+2
|
* Snapshot version 1.10 release 2 (snap6)hdftest2017-12-241-2/+2
|
* Snapshot version 1.10 release 2 (snap5)hdftest2017-12-171-2/+2
|
* Merge branch 'develop' into hdf5_1_10M. Scot Breitenfeld2017-12-121-0/+1
|\
| * Normalization with VOL integration branch.Dana Robinson2017-11-301-0/+1
| |
| * 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.
| * Extend h5vers to update version strings in java files and h5repacklrknox2017-03-201-3/+3
| | | | | | | | | | | | | | | | version test expected output file. Update version on develop branch to 1.11.0. Please enter the commit message for your changes. Lines starting
* | Snapshot version 1.10 release 2 (snap4)hdftest2017-12-111-2/+2
| |
* | Snapshot version 1.10 release 2 (snap3)hdftest2017-11-201-2/+2
| |
* | Snapshot version 1.10 release 2 (snap2)HDF Tester2017-10-161-2/+2
| |
* | Snapshot version 1.10 release 2 (snap1)hdftest2017-08-091-2/+2
| |
* | Snapshot 1.10.2-snap1hdftest2017-08-041-2/+2
| | | | | | | | (Committed 8/1/2017 but not pushed from fork)
* | Change copyright headers to replace url referring to file to be removedlrknox2017-04-141-6/+4
| | | | | | | | | | | | | | | | and replace it with new url for COPYING file. Fix 2 lines in java error test expected output file where messages include line numbers changed by reducing the copyright header by 2 lines.
* | Merge bin/h5vers changes from develop.lrknox2017-03-241-3/+3
| | | | | | | | | | Pull version from configure for version test in h5repack_plugin.sh.in Update version to 1.10.2-snap0 for hdf5_1_10 branch.
* | set initial version for HDF5 1.10.1.lrknox2017-03-171-4/+4
|/
* Snapshot version 1.9 release 235hdftest2016-12-161-2/+2
|
* Snapshot release: increment version.lrknox2016-10-011-2/+2
|
* [svn-r30113] Description:Quincey Koziol2016-06-281-13/+6
| | | | | | | | Clean up warnings (from 2774 -> 1560, with my standard debug build) Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & production (h5committest forthcoming)
* [svn-r29350] Revert h5check_version change to check LT_VERS_XXXX numbers ↵Larry Knox2016-03-081-12/+3
| | | | | | | | | | | | | | | | | rather than HDF5 library version numbers. Svn revisions reverted: 29341, 29326 Branch features/h5check_version was created for further development. Files changed test/tcheck_version.c test/testcheck_version.sh.in src/H5public.h src/H5.c config/lt_vers.am bin/h5vers Tested with h5committest.new
* [svn-r29326] HDFFV-9536: Changed H5check_version() to use libtool shared ↵Albert Cheng2016-03-071-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | library version numbers instead of the library version numbers. bin/h5vers: Changed to copy the shared lib version from lt_vers.am to H5public.h (Thanks to Larry who made the changes.) config/lt_vers.am: cosmetic change, nothing material. src/H5public.h: Changed by bin/h5vers. src/H5.c: Changed H5check_version() to use shared library version for compatibility checking. test/tcheck_version.c: test/testcheck_version.sh.in: Changed to use shared library version numbers instead of the HDF5 library version numbers for testing. Tested: tested in Jam (C only), platypus and osx1010dev (enable fortran and C++).