exiv2/cmake
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
..
msvc_conan_profiles New profiles as documented in README-CONAN.md 2020-11-20 18:56:28 +00:00
toolchain cmake: new toolchain file for MinGW cross-compilation on Ubuntu 2021-04-18 09:44:51 +02:00
compilerFlags.cmake make win debug builds a bit faster 2021-05-17 07:31:45 +02:00
compilerFlagsExiv2.cmake cmake: disable -Wuseless-cast 2021-04-22 18:40:03 +02:00
config.h.cmake Remove EXIV2_ENABLE_VIDEO and related stuff 2021-04-18 09:44:51 +02:00
Doxyfile.in [Doxygen] define PARSED_BY_DOXYGEN when building the documentation 2019-03-02 17:24:44 +01:00
exiv2_uninstall.cmake Match closing statement, doh 2021-03-19 16:14:27 +01:00
exiv2.pc.in cmake: Fix paths with absolute GNUInstallDirs 2020-09-05 11:18:46 +02:00
findDependencies.cmake Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
FindIconv.cmake Disable libiconv support when building with Visual Studio. 2020-07-19 17:10:35 +01:00
FindRegex.cmake MSYS2/MinGW: Disable Regex 2018-10-26 17:47:15 +02:00
gcovr.cmake cmake: Add target for obtaining local covarage reports 2021-05-14 22:38:30 +02:00
generateConfigFile.cmake Fix issues detected with PVS-Studio + other little improvements (#1689) 2021-06-01 12:39:10 +02:00
generateDoc.cmake Generate doxygen.hpp page 2019-03-02 17:24:10 +01:00
JoinPaths.cmake cmake: Fix paths with absolute GNUInstallDirs 2020-09-05 11:18:46 +02:00
mainSetup.cmake Add CTest support 2021-05-15 16:58:24 +02:00
packaging.cmake Remove EXIV2_ENABLE_VIDEO and related stuff 2021-04-18 09:44:51 +02:00
printSummary.cmake Remove typedef to Dictionary::const_iterator 2021-04-19 10:43:46 +02:00