Commit Graph

268 Commits

Author SHA1 Message Date
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
Luis Díaz Más
2de3bad869 Remove EXIV2_ENABLE_VIDEO and related stuff 2021-04-18 09:44:51 +02:00
Luis Díaz Más
94b87a8dec Remove deprecated SSH support 2021-04-18 09:44:51 +02:00
Robin Mills
d632988bbd Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
Robin Mills
b354ad8b2a Might be the last one. Probably not. I want to fix the last-minute surprised of #1219. 2020-05-25 16:46:04 +01:00
Robin Mills
97304989b7 Documentation Polishing. 2020-05-04 12:04:58 +01:00
Robin Mills
f96ad7f0b3 Updated for MinGW/msys2 support. 2020-05-04 08:31:25 +01:00
Robin Mills
cd5512e761 WIP. C++11 support 2020-05-04 08:17:37 +01:00
Sridhar Boovaraghavan
bd6645fad4 Removed LICENSE 2020-04-22 11:19:43 +05:30
Sridhar Boovaraghavan
42cc07d907 Minor formatting issues. 2020-04-22 11:17:09 +05:30
Sridhar Boovaraghavan
84dd66fef4 Updated documentation 2020-04-22 11:07:35 +05:30
Sridhar Boovaraghavan
dc92e0fc05 Updated dependencies 2020-04-13 11:02:23 +05:30
clanmills
8b6c70e0f2 https://github.com/Exiv2/exiv2/pull/1134#issuecomment-609606563 2020-04-06 08:21:13 +01:00
Robin Mills
01ec6d44e2 Fixing "lost" change. 2020-04-05 11:51:53 +01:00
clanmills
9f88437169 sridharb1_contrib_msvc4_0.27 2020-04-05 09:31:05 +01:00
clanmills
73f9913786 sridharb1_contrib_msvc4_0.27 2020-04-05 09:22:32 +01:00
Robin Mills
6d09582dc8 sridharb1_contrib_msvc3_0.27 2020-04-02 09:47:10 +01:00
clanmills
b0f1380629 Patches: sridharb1_contrib_msvc2_0.27 2020-03-30 09:38:12 +01:00
clanmills
8e01d17d54 sridharb1_contrib_msvc2_0.27 2020-03-30 09:37:49 +01:00
Robin Mills
26e1c521be Modified owner name in LICENSE 2020-03-29 11:28:37 +01:00
Robin Mills
37b3c4247b sridharb1_contrib_msvc_0.27 2020-03-28 16:14:41 +00:00
Dan Čermák
49970cd820
[ci] Bump version of the GitLab CI containers and Vagrant boxes
(cherry picked from commit dc338f9341925740a2f4903a62e0aba3cc0bf722)
2019-10-01 23:39:11 +02:00
Robin Mills
11e21493af contrib: Remove the work directory in organize 2019-03-17 17:05:47 +01:00
Dan Čermák
e9975c1457
[CI] Remove utils.source in the Vagrant provisioning scripts
=> we no longer need the shared volume, which is broken on Alpine Linux

(cherry picked from commit 07cb39bb06ef9d5cfb4100a6c8da66f509d067f5)
2019-02-09 12:58:43 +01:00
Robin Mills
079f0ce712 Remove contrib/buildserver (it's now in svn://dev.exiv2.org/svn/team/contrib/buildserver) 2018-11-16 17:23:47 +01:00
Robin Mills
9763f9d553 Copying categorize.py from team/contrib/buildserver (although I intend to remove contrib/buildserver from RC2 later) 2018-11-16 17:23:47 +01:00
Robin Mills
4bb18a32ff Use cmake option -DEXIV2_TEAM_PACKAGING 2018-11-16 17:23:47 +01:00
Robin Mills
d20b88674f Fix bug in prepareToClone() 2018-11-16 17:23:47 +01:00
Robin Mills
20223d716f Change default contrib/buildserver/build.sh --build branch to 0.27-RC2 2018-11-16 17:23:47 +01:00
Robin Mills
609951e1d7 Fix categorize.py to handle .DS_Store 2018-10-30 15:26:23 +01:00
Robin Mills
e2bc0af884 Remove Contrib/Qt which applies to MinGW msys/1.0 which is obsolete. 2018-10-26 17:47:15 +02:00
Robin Mills
a3bdd0283b Almost there. Removing contrib/build/msvc and other obsolete stuff. 2018-10-26 17:47:15 +02:00
Robin Mills
dd8d82fdac Adding categories for Weekly and Monthly to categorize.py 2018-10-26 17:47:15 +02:00
Robin Mills
8c762e83a1 contrib/buildserver/build.sh documentation update 2018-10-26 17:47:15 +02:00
Robin Mills
33032bed8c Changes in build.sh
Fixes while debugging build.sh and the CPack targets
2018-10-26 17:47:15 +02:00
Robin Mills
b953af18ea Only copy samples/exifprint to package + Create source package from build.sh 2018-10-26 17:47:15 +02:00
Robin Mills
d6407a87fc Adding option --test 2018-10-26 17:47:15 +02:00
Robin Mills
9fae0bed37 Removing obsolete contributions 2018-10-26 17:47:15 +02:00
Robin Mills
6ff5471447 Added option --builds, implemented --clone and updated categorize.py to work with build.sh 2018-10-26 17:47:15 +02:00
Robin Mills
b12af2a0a0 Implemented options --status --clone and --publish 2018-10-26 17:47:15 +02:00
Robin Mills
ad155805dc Documentation update following review by Luis. Simplified command-line processing in build.sh 2018-10-26 17:47:15 +02:00
Robin Mills
41d16d6ebd adding git pull --rebase to build.sh unixBuild 2018-10-26 17:47:15 +02:00
Robin Mills
25c6270341 adding git pull --rebase to build.sh 2018-10-26 17:47:15 +02:00
Robin Mills
682707d1c3 Adding --mingw32 option to build.sh and preliminary work on --publish 2018-10-26 17:47:15 +02:00
Robin Mills
a72782932c buildserver maintenance and documentation update. 2018-10-26 17:47:15 +02:00
Robin Mills
42084f2563 Add support for MinGW/msys2 in 32 bits + Updates in buildserver 2018-10-26 17:47:15 +02:00
Robin Mills
01bcb9404b buildserver maintenance. 2018-10-26 17:47:15 +02:00
Robin Mills
5fdbe86712 Restore rmillsmm buildserver 2018-10-26 17:47:15 +02:00
Luis Díaz Más
085d8a309a Remove COMMERCIAL Cmake variable 2018-09-12 19:22:31 +02:00
clanmills
3c42fdddeb Fix include <exiv2/exiv2.hpp> to include exiv2/config.h (and consequential changes)
Fix cltest.cpp and version.cpp to report MSVC 2017 in which _MSC_VER == 1910
2018-09-01 20:19:45 +02:00