You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
4 years ago
..
basicio.hpp Fix issues detected with PVS-Studio + other little improvements (#1689) 4 years ago
bmffimage.hpp Fix issues detected with PVS-Studio + other little improvements (#1689) 4 years ago
bmpimage.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
config.h Move winsock2 inclusion to http.cpp 5 years ago
convert.hpp Massive code prolog cleanup. 4 years ago
cr2image.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
crwimage.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
datasets.hpp clang-tidy: avoid global non const variables 4 years ago
easyaccess.hpp Massive code prolog cleanup. 4 years ago
epsimage.hpp eps: Fix code after usage of unique_ptr. Remove deprecation tags 4 years ago
error.hpp default con/destructors in headers 4 years ago
exif.hpp default con/destructors in headers 4 years ago
exiv2.hpp Update bmffimage.hpp include order and path 4 years ago
futils.hpp Remove deprecated SSH support 4 years ago
gifimage.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
http.hpp Massive code prolog cleanup. 4 years ago
image.hpp clang-tidy: convert to static 4 years ago
ini.hpp clang-tidy: run through performance checks 4 years ago
iptc.hpp default con/destructors in headers 4 years ago
jp2image.hpp clang-tidy: fix declartation names 4 years ago
jpgimage.hpp clang-tidy: avoid global non const variables 4 years ago
metadatum.hpp default con/destructors in headers 4 years ago
mrwimage.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
orfimage.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
pgfimage.hpp clang-tidy: convert to static 4 years ago
pngimage.hpp clang-tidy: fix declartation names 4 years ago
preview.hpp clang-tidy: pass by value 4 years ago
properties.hpp clang-tidy: pass by value 4 years ago
psdimage.hpp clang-tidy: convert to static 4 years ago
rafimage.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
rw2image.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
slice.hpp Massive code prolog cleanup. 4 years ago
tags.hpp more constexpr 4 years ago
tgaimage.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
tiffimage.hpp Fix issues detected with PVS-Studio + other little improvements (#1689) 4 years ago
types.hpp Fix issues detected with PVS-Studio + other little improvements (#1689) 4 years ago
value.hpp default con/destructors in headers 4 years ago
version.hpp Massive code prolog cleanup. 4 years ago
webpimage.hpp clang-tidy: avoid global non const variables 4 years ago
xmp_exiv2.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
xmpsidecar.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago