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
..
CMakeLists.txt Add CTest support 4 years ago
Jzon.cpp clang-tidy: use nullptr 4 years ago
Jzon.h clang-tidy: remove pointless member init 4 years ago
addmoddel.cpp clang-tidy: use nullptr 4 years ago
conntest.cpp clang-tidy: empty() conversions 4 years ago
convert-test.cpp cpp: Replace auto_ptr by unique_ptr 4 years ago
easyaccess-test.cpp clang-tidy: use using 4 years ago
exifcomment.cpp cpp: Replace auto_ptr by unique_ptr 4 years ago
exifdata-test.cpp Replace many of the iterators types with auto 4 years ago
exifdata.cpp clang-tidy: use using 4 years ago
exifprint.cpp clang-tidy: don't use else after return 4 years ago
exifvalue.cpp cpp: Replace auto_ptr by unique_ptr 4 years ago
exiv2json.cpp clang-tidy: use nullptr 4 years ago
geotag.cpp Fix issues detected with PVS-Studio + other little improvements (#1689) 4 years ago
getopt-test.cpp clang-tidy: use C++ casting 4 years ago
httptest.cpp fix_1508_enableBMMF_effort2 4 years ago
ini-test.cpp fix_1508_enableBMMF_effort2 4 years ago
ini-test.ini #1034 Added exiv2 config file support for lens recognition. 9 years ago
iotest.cpp clang-tidy: use nullptr 4 years ago
iptceasy.cpp cpp: Replace auto_ptr by unique_ptr 4 years ago
iptcprint.cpp Replace many of the iterators types with auto 4 years ago
iptctest.cpp clang-tidy: use auto 4 years ago
key-test.cpp clang-tidy: run through performance checks 4 years ago
largeiptc-test.cpp clang-tidy: use nullptr 4 years ago
metacopy.cpp clang-tidy: simplify boolean expressions 4 years ago
metacopy.hpp clang-tidy: use override 4 years ago
mmap-test.cpp clang-tidy: use C++ casting 4 years ago
mrwthumb.cpp Replace many of the iterators types with auto 4 years ago
mt-test.cpp fix_1508_enableBMMF_effort2 4 years ago
path-test.cpp fix_1508_enableBMMF_effort2 4 years ago
prevtest.cpp clang-tidy: range for loop conversions 4 years ago
remotetest.cpp Replace many of the iterators types with auto 4 years ago
stringto-test.cpp clang-tidy: avoid global non const variables 4 years ago
taglist.cpp clang-tidy: run through performance checks 4 years ago
tiff-test.cpp clang-tidy: use nullptr 4 years ago
tiffaddpath-test.cpp more constexpr 4 years ago
toexv.cpp fix_1508_enableBMMF_effort2 4 years ago
toexv.hpp cpp: Replace auto_ptr by unique_ptr 4 years ago
werror-test.cpp fix_1508_enableBMMF_effort2 4 years ago
write-test.cpp Replace many of the iterators types with auto 4 years ago
write2-test.cpp Replace many of the iterators types with auto 4 years ago
xmpdump.cpp cpp: Replace auto_ptr by unique_ptr 4 years ago
xmpparse.cpp clang-tidy: range for loop conversions 4 years ago
xmpparser-test.cpp clang-tidy: range for loop conversions 4 years ago
xmpprint.cpp clang-tidy: range for loop conversions 4 years ago
xmpsample.cpp clang-tidy: range for loop conversions 4 years ago