exiv2/src
Luis Díaz Más f30022d73d
Fix issues detected with PVS-Studio + other little improvements (#1689)
* avoid re-declaration of constant variables

* Replace pthreads critical section with std::mutex

* ci - better naming

* cmake - increase minimum version to 3.11. Use project DESCRIPTION

* fix - do not treat string::find() return type as bool

* remove conditions that were always true

* remove condition that were always false

* Remove EXV_HAVE_GMTIME_R which is not used anymore

* pixelWidth_ was inherited from Exiv2::Image

The width & height variables in the TiffImage class need to be mutable
to be able to change their values on the getters pixelHeight() and
pixelWidth() ... Do not ask me why ...

* Remove superfluous if

* pvs:V766 item with identical key added already

* pvs:V730 not all members were initialized (time)

* pvs:V730 not all members are initialized

* pvs:v668 no point in testing pointer against null after new

* pvs:V1048 variable assigned the same value

* replace c-style dynamic vector with std one

* pvs:547 fakeData is always true

* Remove useless constructor in derived class

* pvs:V690 modern way to disable copy-ctor

* Replace malloc/free with new/delete. No need to check for null

* pvs:V1028 cast operands and not result

* Remove custom MIN/MAX functions

* pvs:V595 pointer used before verified against null

* pvs: index used before being checked

* pvs:V1028 possible overflow. Cast operands

* pvs:v575 potential null pointer passed to other functions

* pvs:V547 deal with always true/false expressions

* pvs:V560 part of conditional expressions always false or true

* pvs:V701 possible break in realloc -> move to std::vector

* Make some classes 'final'

* Replace sprintf with std::to_string()

* fix compilation on windows
2021-06-01 12:39:10 +02:00
..
actions.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
actions.hpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
basicio.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
bmffimage.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
bmpimage.cpp clang-tidy: add ending namespace comments 2021-05-14 17:34:09 +02:00
canonmn_int.cpp clang-tidy: use C++ casting 2021-05-20 07:29:02 +02:00
canonmn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
casiomn_int.cpp clang-tidy: use C++ casting 2021-05-20 07:29:02 +02:00
casiomn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
CMakeLists.txt Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
convert.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
cr2header_int.cpp clang-tidy: avoid global non const variables 2021-05-25 08:43:27 +02:00
cr2header_int.hpp clang-tidy: avoid global non const variables 2021-05-25 08:43:27 +02:00
cr2image.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
crwimage_int.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
crwimage_int.hpp default con/destructors in headers 2021-05-12 09:10:36 +02:00
crwimage.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
datasets.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
doxygen.hpp.in Add README-SAMPLES.md and remove exiv2samples.1 (#921) 2019-06-25 23:06:39 +02:00
easyaccess.cpp clang-tidy: use auto 2021-05-17 21:52:03 +02:00
enforce.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
epsimage.cpp clang-tidy: don't use else after return 2021-05-15 17:32:56 +02:00
error.cpp default con/destructors in headers 2021-05-19 23:31:50 -07:00
exif.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
exiv2.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
exiv2app.hpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
fff.h #1149. Added fff.h (from plir.com) and code strengthening. 2016-01-10 19:02:38 +00:00
fujimn_int.cpp more constexpr 2021-05-19 14:11:42 +02:00
fujimn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
futils.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
getopt.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
getopt.hpp default con/destructors in headers 2021-05-12 09:10:36 +02:00
gifimage.cpp cpp: Replace auto_ptr by unique_ptr 2021-04-15 06:56:11 +02:00
helper_functions.cpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
helper_functions.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
http.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
i18n.h Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
image_int.cpp clang-tidy: use C++ casting 2021-05-20 07:29:02 +02:00
image_int.hpp Fix warnings EXIV2_TEAM_EXTRA_WARNINGS 2021-04-18 18:49:58 +02:00
image.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
ini.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
iptc.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
jp2image.cpp clang-tidy: use C++ casting 2021-05-20 07:29:02 +02:00
jpgimage.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
makernote_int.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
makernote_int.hpp default con/destructors in headers 2021-05-12 09:10:36 +02:00
metadatum.cpp default con/destructors in headers 2021-05-12 09:10:36 +02:00
minoltamn_int.cpp remove some pointless std::set 2021-05-25 08:29:51 +02:00
minoltamn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
mrwimage.cpp Replace many of the iterators types with auto 2021-04-19 10:43:46 +02:00
nikonmn_int.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
nikonmn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
olympusmn_int.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
olympusmn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
orfimage_int.cpp clang-tidy: add ending namespace comments 2021-05-14 17:34:09 +02:00
orfimage_int.hpp default con/destructors in headers 2021-05-12 09:10:36 +02:00
orfimage.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
panasonicmn_int.cpp more constexpr 2021-05-19 14:11:42 +02:00
panasonicmn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
pentaxmn_int.cpp clang-tidy: use C++ casting 2021-05-20 07:29:02 +02:00
pentaxmn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
pgfimage.cpp clang-tidy: use C++ casting 2021-05-20 07:29:02 +02:00
pngchunk_int.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
pngchunk_int.hpp clang-tidy: run through performance checks 2021-05-18 14:30:08 +02:00
pngimage.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
preview.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
private.h Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
properties.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
psdimage.cpp clang-tidy: convert to static 2021-05-19 14:45:20 +02:00
rafimage.cpp clang-tidy: use C++ casting 2021-05-20 07:29:02 +02:00
rw2image_int.cpp clang-tidy: add ending namespace comments 2021-05-14 17:34:09 +02:00
rw2image_int.hpp default con/destructors in headers 2021-05-12 09:10:36 +02:00
rw2image.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
safe_op.hpp clang-tidy: use using 2021-05-09 17:42:51 +02:00
samsungmn_int.cpp more constexpr 2021-05-19 14:11:42 +02:00
samsungmn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
sigmamn_int.cpp more constexpr 2021-05-19 14:11:42 +02:00
sigmamn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
sonymn_int.cpp more constexpr 2021-05-19 14:11:42 +02:00
sonymn_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
tags_int.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
tags_int.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
tags.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
tgaimage.cpp cpp: Replace auto_ptr by unique_ptr 2021-04-15 06:56:11 +02:00
tiffcomposite_int.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
tiffcomposite_int.hpp clang-tidy: convert to static 2021-05-19 14:45:20 +02:00
tifffwd_int.hpp clang-tidy: use using 2021-05-09 17:42:51 +02:00
tiffimage_int.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
tiffimage_int.hpp default con/destructors in headers 2021-05-12 09:10:36 +02:00
tiffimage.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
tiffvisitor_int.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
tiffvisitor_int.hpp clang-tidy: convert to static 2021-05-19 14:45:20 +02:00
timegm.h Use ctime instead of time.h 2020-09-16 21:39:27 +02:00
TODO typo (GNU compliant) 2010-04-20 09:01:57 +00:00
types.cpp refactor!: remove free() function from DataBuf to avoid potential problems, see #1542 2021-05-27 08:26:00 +02:00
tzfile.h Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
unused.h Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
utils.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
utils.hpp Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
value.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
version.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
webpimage.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
xmp.cpp clang-tidy: use nullptr 2021-05-26 08:31:45 +02:00
xmpsidecar.cpp clang-tidy: avoid global non const variables 2021-05-25 08:43:27 +02:00