5429 Commits (3c20cc06a9ede4e277a9efe94e211c20ceb0ce8d)
 

Author SHA1 Message Date
Luis Díaz Más cc7ff4122d Export all symbols when running unit tests. Add dummy test for private code.
I tried to use directly the private OBJECT library (exiv2lib_int) in the unit_tests targets, but the private objects have dependencies on the public symbols (circular dependency)
and therefore it is impossible to test the private code with that approach with the current design of the library.

Starting from CMake 3.3 we can use the variable CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS to export all the symbols of a shared library:
https://blog.kitware.com/create-dlls-on-windows-without-declspec-using-new-cmake-export-all-feature/

Even having the opportunity to use this variable (that will be only used when EXIV2_BUILD_UNIT_TESTS is enabled) the previous commits are still valid.
It is interesting to clearly differentiate between the public and private code of the library. Enforcing this, make us think twice before putting code in the public
part of the library.
8 years ago
Luis Díaz Más 8c010c903b Compile private part as an OBJECT library (CMake concept) 8 years ago
Luis Díaz Más d3748152a7 add _int suffix to all the internal files 8 years ago
Luis Díaz Más 44fc9ec528 Move Cr2Header to a new .cpp file 8 years ago
Jakub Wilk 11a910561e Fix typos in Polish translation 8 years ago
D4N 558acfe982
Merge pull request #179 from D4N/testSuiteFixAgain
[WIP] Make the testsuite really fail when tests don't pass
8 years ago
Dan Čermák 307138c12c reportTest function returns 3 on failure
the Makefile only aborts if the return value is > 2
8 years ago
Luis Díaz Más f0ee2b638c
Merge pull request #173 from piponazo/fixGtestWarningsOnWindows
Provide a gtestWrapper header to skip useless warnings
8 years ago
Luis Díaz Más cfe614d8c3 Provide a gtestWrapper header to skip useless warnings 8 years ago
Luis Díaz Más 4c4f91e407
Merge pull request #152 from piponazo/clangFormat
Add clang-format file
8 years ago
Luis Diaz Mas d48abab718 Apply clang-format to some lines of the file canonmn.cpp 8 years ago
Luis Diaz Mas d0a1c6d19d Apply clang-format to bmpimage.cpp 8 years ago
Luis Diaz Mas 6d9e0b5b3e Add .clang-format file 8 years ago
Luis Díaz Más 5d13356055
Merge pull request #157 from tbeu/legacy-svn
Remove obsolete SVN revision and EXIV2_RCSID
8 years ago
tbeu 2efc2e79da Remove obsolete id 8 years ago
tbeu 5b5987a596 Remove obsolete EXIV2_RCSID 8 years ago
tbeu 5df8b01b77 Remove obsolete svn revision 8 years ago
D4N f45fb51f51
Merge pull request #167 from D4N/testsuite-hotfix
Testsuite fails with non-zero exit code if a test does not pass
8 years ago
Dan Čermák eb33dcd9de Add md5sha1sum package for md5sum for the mac build on travis 8 years ago
Dan Čermák 78c559475b Testsuite fails with non-zero exit code if a test does not pass 8 years ago
D4N 81518c9e43
Merge pull request #143 from D4N/jp2Image_Robins_changes
Jp2image Bugfixes
8 years ago
Robin Mills e96e0daa8a Jp2Image::printStructure: Corrected used DataBuf for output 8 years ago
Robin Mills befe8c64e3 Jp2Image::printStructure: only print output when bPrint is set 8 years ago
Robin Mills 13db7fdec2 Formatting changes 8 years ago
D4N df504d2e82
Merge pull request #142 from D4N/reproducers_138_139_140
Added reproducers #138, #139 and #140
8 years ago
Dan Čermák c2d1614e7c Updated bugfixes-test.out 8 years ago
Dan Čermák 2b3e3f878b Added reproducers for #138, #139 & #140
the issues correspond to CVE-2017-14858, CVE-2017-14861 and
CVE-2017-14866 respectively
8 years ago
D4N 13771c8757
Merge pull request #148 from Exiv2/documentation-changes
Documentation update for Michal.
8 years ago
clanmills 12e7d2a53f Documentation update for Michal. 8 years ago
Luis Díaz Más a79b75a67b
Merge pull request #154 from D4N/stringFormat_update
stringFormat update / ammendment to #137
8 years ago
Luis Díaz Más 87a83c89d5
Merge branch 'master' into stringFormat_update 8 years ago
Luis Díaz Más 0816755854
Merge pull request #164 from piponazo/fixMsvcWarning
Fix conversion issue detected by MSVC
8 years ago
Luis Díaz Más 1fe8d5ba7f Fix conversion issue detected by MSVC 8 years ago
Luis Díaz Más 2ed661068c
Merge pull request #163 from piponazo/MsvcParallel
New MSVC flag to enable Object Level Parallelism in CMake code
8 years ago
Luis Díaz Más d0c9b8920c New MSVC flag to enable Object Level Parallelism in CMake code 8 years ago
D4N baeb664e28
Merge pull request #160 from D4N/fix_159
Fixed potential out of bounds file access in printIDFStructure
8 years ago
Dan Čermák 7bae890ebf Updated bugfixes-test.out 8 years ago
Dan Čermák 691fca4259 Added reproducer for 159 to the test suite 8 years ago
Dan Čermák 36df4bc997 Fixed potential out of bounds file access
This commit adds a out-of-bounds protection in the case that the
extracted values for offset & count are summed up larger than the size
of the file. Also this function checks for overflows before performing
the addition.

This fixes #159
8 years ago
Dan Čermák cfa5073a2c Added short explanation to internal function stringFormat 8 years ago
Dan Čermák 06cafadf4f Added assertion that call to vsnprintf succeeds 8 years ago
Luis Díaz Más f641f39ab9
Merge pull request #151 from piponazo/updateZlibDependency
Update zlib version in conanfile.py.
8 years ago
Luis Diaz Mas c243727264 Update zlib version in conanfile.py.
- The previous version of the zlib recipe failed to compile in new
  version of gcc (7.2)
8 years ago
Luis Díaz Más e2940cc30b
Merge pull request #137 from tbeu/some-cleanup
Cleanup some issues
8 years ago
tbeu c0ea5f4fba Rewrite the reallocation the C++ way
* Fix handling of the return value of vsnprintf
* In C++11 we could use buffer.data instead of &buffer[0]
8 years ago
tbeu 22dbd632bb Find single character 8 years ago
tbeu d1f73aa237 Make it floats 8 years ago
tbeu 849f416771 Avoid self-assignment 8 years ago
tbeu 867343b46f Utilize const Value reference 8 years ago
tbeu fd64d53e4b Remove superfluous variable declarations 8 years ago