5615 Commits (0d6abb5b5130fbce8bdc398b6728d225838bb382)
 

Author SHA1 Message Date
Luis Diaz Mas 0d6abb5b51 Remove leftovers from autotools and .gitignore 7 years ago
Luis Diaz Mas a3444f055e Rename config folder to cmake 7 years ago
Luis Diaz Mas 69ee165291 msvc: Remove manually generated configuration files for MSVC builds 7 years ago
Luis Diaz Mas 41bb15f7b7 Remove usage of CMAKE_DEBUG_POSTFIX
This option should be provided when calling to the cmake command.
Otherwise, we overwrite the value even when the user pass the value
in the command line.
7 years ago
Luis Diaz Mas c49882159a Remove msvc folder 7 years ago
Luis Diaz Mas abf6e8ec27 Remove code related with autotools 7 years ago
D4N f1c4734e84
Merge pull request #357 from Exiv2/gitlab_deploy_test
Add Gitlab deploy stage
7 years ago
Dan Čermák de2e260d0c Fix doxygen documentation generation
The tagfile location in the Doxyfile was wrong and would point to a non-existent
location, causing make doc to fail.
7 years ago
Dan Čermák b8a9423c5a [CI] Deploy documentation to GitLab pages 7 years ago
Dan Čermák 7ac40ba0b2 [CI] Move CCache config out of python build script 7 years ago
Dan Čermák 7d1d10c338 [CI] Add installation test to GitLab CI 7 years ago
Dan Čermák 653814afb0 [testsuite] Allow setting the binary location for make tests 7 years ago
Luis Diaz Mas 71638014a3 CMake: control doc generation with a new CMake option 7 years ago
Luis Diaz Mas 211a7a3edd Require dot command for 'doc' and change output folder
dot is needed to generate the exiv2 documentation. Furthermore we were
generating the documentation in ${PROJECT_BINARY_DIR}/html while the
CMake 'install' command was expecting to find the documentation directory
at ${PROJECT_BINARY_DIR}/doc/html. This has been also fixed in this
commit.
7 years ago
D4N 493b7284ae
Merge pull request #353 from Exiv2/redmine_issues_831_to_937
Port redmine issues 831 to 937 to the new testsuite
7 years ago
Dan Čermák 35e7037f86 [testsuite] Change the calling order of setUp & tearDown in decorator
The FileDecoratorBase injects a new setUp & tearDown function. These new
functions would call the old setUp & tearDown in an inconvenient order: e.g. the
child class CopyFiles would at first call the user provided setUp and then copy
the files. This makes it impossible to perform some action on the file copy in
setUp.
=> This commit changes the call order, so that setUp & tearDown always "see" the
finished environment after file copies are in place and before any cleanup took
place.
7 years ago
Dan Čermák 39b7151b2e [testsuite] Port redmine issues 831 to 937 to the new testsuite 7 years ago
Dan Čermák 7e1cd7d1b6 [testsuite] Fix name of regression test #283
issue got a CVE assigned
7 years ago
Luis Díaz Más d9d2c2217a CMake: macro to generate documentation
We use now the Doxyfile.in template file with some variables that are
replaced at configuration time by absolute paths. Therefore, we can run
later the doxygen command with absolute paths from the
PROJECT_BINARY_DIR.

The CMake 'doc' target is added only if doxygen is available in the
system.
7 years ago
D4N 4f9d3e4836
Merge pull request #153 from tbeu/more-cleanup
More cleanup
7 years ago
tbeu 6b1615840f Remove redundant check
V547 Expression 'bPrint' is always true. rafimage.cpp 112
V547 Expression 'bPrint' is always true. rafimage.cpp 125
V547 Expression 'bPrint' is always true. rafimage.cpp 136
V547 Expression 'bPrint' is always true. rafimage.cpp 147
V547 Expression 'bPrint' is always true. rafimage.cpp 158
V547 Expression 'bPrint' is always true. rafimage.cpp 169
V547 Expression 'bPrint' is always true. rafimage.cpp 190
V547 Expression 'bPrint' is always true. rafimage.cpp 213
V547 Expression 'bPrint' is always true. rafimage.cpp 236
V547 Expression 'bPrint' is always true. rafimage.cpp 252
V547 Expression 'bPrint' is always true. rafimage.cpp 262
V547 Expression 'bPrint' is always true. rafimage.cpp 272
7 years ago
tbeu eca251865f Fix check (on comparing unsigned minus signed greater zero)
V555 The expression 'object->sizeDataArea_ - buf.size_ > 0' will work as 'object->sizeDataArea_ != buf.size_'. tiffvisitor.cpp 911
7 years ago
tbeu bb9034e029 Do not implicitly cast enum to Boolean
V768 The expression 'fileProtocol(path)' is of enum type. It is odd that it is used as an expression of a Boolean-type. futils.cpp 288
7 years ago
tbeu 12d0da619b Use clear to reset string
V815 Decreased performance. Consider replacing the expression 'token = ""' with 'token.clear()'. http.cpp 193
7 years ago
tbeu 9569ef2fda Use auxiliary variable
V807 Decreased performance. Consider creating a reference to avoid using the 'image_.exifData()' expression repeatedly. preview.cpp 530
7 years ago
tbeu 75cdbc8b91 Use pre-increment on iterators
V803 Decreased performance. In case 'userEnd' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. futils.cpp 405
V803 Decreased performance. In case 'authEnd' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. futils.cpp 410
V803 Decreased performance. In case 'hostEnd' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. futils.cpp 428
V803 Decreased performance. In case 'e' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. epsimage.cpp 711
V803 Decreased performance. In case 'e' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. epsimage.cpp 841
V803 Decreased performance. In case 'e' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. epsimage.cpp 958
V803 Decreased performance. In case 'i' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. epsimage.cpp 855
V803 Decreased performance. In case 'it' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. jpgimage.cpp 817
V803 Decreased performance. In case 'lib' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. version.cpp 508
V803 Decreased performance. In case 'it' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. version.cpp 563
V803 Decreased performance. In case 'it' is iterator it's more effective to use prefix form of increment. Replace iterator++ with ++iterator. xmpsidecar.cpp 138
7 years ago
tbeu e5a4f1cf35 Use auxiliary variable
V807 Decreased performance. Consider creating a reference to avoid using the 'image.exifData()' expression repeatedly. crwimage.cpp 1320
7 years ago
tbeu 3674ce2c1d Remove superfluous assignment
V519 The 'md_st' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 155, 156. easyaccess.cpp 156
7 years ago
tbeu 9c507b9d20 Fix function declaration
V762 It is possible a virtual function was overridden incorrectly. See third argument of function 'printStructure' in derived class 'TiffImage' and base class 'Image'. tiffimage.hpp 93
7 years ago
Luis Díaz Más 7e824f9130 Doc: Add a table in the README.md for the CI badges 7 years ago
Luis Díaz Más dd51169a02 CMake: cleanup config.h.cmake template 7 years ago
Luis Diaz Mas 5bd26ee82b Port redmine issues 1179-1305
- Authorship: Luis Díaz Más & Dan Čermák
7 years ago
Luis Diaz Mas b3265c21e0 cleanup FindIconv.cmake 7 years ago
Luis Diaz Mas 5fa8f5aa87 CMake: minimum version bumped to 3.3.2 7 years ago
Luis Díaz Más 9f67edd9bd Conan: bring libiconv dependency for Windows 7 years ago
Luis Díaz Más 9339cfcac8 CMake: Update FindIconv.cmake.
I've taken this file from the CMake repository directly. Apparently the FindIconv module is available in the latest
CMake versions, but we should not update the CMake requirement for the moment.
7 years ago
Luis Díaz Más 8baf07decb Fix warnins reported by -Wunused-variable
This trick is a bit nasty but I do not want to mess up to much with the
XMPSample application at this moment. Once we have more unit tets for
that part of the code, the xmpsample could disappear.
7 years ago
Luis Díaz Más e82cd1734c Fix warnings reported by -Wmisleading-indentation 7 years ago
Luis Díaz Más 88ba920962 Extract out common code for two switch-cases into a function to fix warning
The warning was caused by -Wimplicit-fallthrough:
https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/

I also realized that the method printStructure was duplicated in the
classes Print and Erase. By moving the implementation to a free function
into the cpp file, I could remove the duplication in the code.
7 years ago
Luis Díaz Más 335607054c Use enforce instead of std::assert to fix warning about unused variable in realease mode 7 years ago
Luis Diaz Mas 773bdfd14e Create a header where to keep an unique definition of UNUSED 7 years ago
Luis Díaz Más 9fa4c62561 Appveyor: use conan 1.3.3 7 years ago
Luis Díaz Más 85d021cbe3 Appveyor: cache conanCache folder 7 years ago
D4N 2ab4f72c89
Merge pull request #329 from Exiv2/test_suite_improvements
Test suite improvements:
- the variables defined in the config file are now accessible inside the system_tests namespace
- a new function path was added, that converts unix paths to Windows paths on Windows
- hooks were added to the test suite and are used to remove the usage of $cat
7 years ago
Dan Čermák d7f4453dbd [testsuite] Remove usage of $cat via hooks 7 years ago
Dan Čermák 41ac25c4f4 [testsuite] Add hooks & documentation for hooks 7 years ago
Dan Čermák 23e29e9527 [testsuite] Use system_tests.path() in some test cases 7 years ago
Dan Čermák 4e32929956 [testsuite] Add notes concerning escaping in commands 7 years ago
Dan Čermák 53c265f8a7 [testsuite] Add path conversion function 7 years ago
Dan Čermák 300b1dc0ef [testsuite] Testsuite injects config file values into its namespace 7 years ago