Commit Graph

5856 Commits

Author SHA1 Message Date
Robin Mills
fdaa42d433 Release Documentation Updates 2018-10-26 17:47:15 +02:00
Robin Mills
40ff9b8423 Remove exiv2.pc from mix 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
79ef0f0102 Fix error in packaging.cmake relating to file ReadMe.txt 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
4a7a4fdb3e Change package name for MinGW/32 2018-10-26 17:47:15 +02:00
clanmills
29339190bb Updating README-CONAN.md for webready and static builds with Visual Studio. 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
87278e6be3 MSYS2/MinGW: Disable Regex 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
e347b41279 Modified Exiv2::Internal::stringFormat() to use larger initial guess for 'need' to fix test/.icc-test.sh on MinGW. 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
clanmills
4a1d0962fc Fix samples/tags.cpp to call ExifTags::taglist() (https://github.com/Exiv2/exiv2/issues/465) 2018-10-26 17:47:15 +02:00
Robin Mills
12d44f8f17 Fix https://github.com/Exiv2/exiv2/issues/468 2018-10-26 17:47:15 +02:00
Robin Mills
2b0ebd12ca Release documentation and Documentation updates. 2018-10-26 17:47:15 +02:00
Robin Mills
5f6ef65695 Update PROJECT_VERSION & add install() commands for CPack
- Version updated to 0.27.0.1.
- Release notes for MacOS-X Package, Linux, CYGWIN, win64 and msvc
- Redmine Release Notes Updated.
2018-10-26 17:47:15 +02:00
Luis Díaz Más
dc086d2ebb Default to /MD(d) even for STATIC builds.
We had issues to compile exiv2 due to a undefined symbol referenced in expat.lib (Explained in #487).
Static builds in Windows need to use msvcrt.lib where the missing symbol ("__imp__mbspbrk") was
defined. We can still decide to use the STATIC CRT  library by using:

cmake -DBUILD_SHARED_LIBS=OFF -DEXIV2_ENABLE_DYNAMIC_RUNTIME=OFF
2018-10-17 13:05:23 +02:00
Luis Díaz Más
6686c1c93f Appveyor: Fix the unit & integration tests execution 2018-10-17 06:39:57 +02:00
Luis Díaz Más
f7d8ea9f77 Appveyor: Disable WEBREADY 2018-10-16 17:09:17 +02:00
Luis Díaz Más
3976dbc0e7 CMake: Do not rename library outputs (dlls, pdbs, etc). Fixes a debugging issue with MSVC 2018-10-16 17:09:17 +02:00
Luis Díaz Más
155b1a5a6b CMake: Remove magic configuration about WEBREADY. Users will need to specify what to use. 2018-10-16 17:09:17 +02:00
Luis Díaz Más
4ffdfb0ce0 conan - Disable WEBREADY libraries by default (curl + openssl). 2018-10-16 17:09:17 +02:00
Robin Mills
9c516116c8 Fix #401 by fixing iteration over exif data tags 2018-10-16 12:41:36 +02:00
Robin Mills
b3d077dcae Fix #460 by adding more checks in CiffDirectory::readDirectory 2018-10-14 11:58:25 +02:00
Luis Díaz Más
274b65a671 Add reproducer for #460 2018-10-14 11:58:25 +02:00
Luis Díaz Más
670fb73dd5 Fix #457 2018-10-13 11:37:57 +02:00
Luis Díaz Más
3f97960a1c Add reproducer for #457 2018-10-13 11:37:57 +02:00
D4N
d68f42a609
Merge pull request #479 from D4N/add_reproducers
Add reproducers for #159, #216 and #263
2018-10-12 09:20:55 +02:00
Dan Čermák
f6d775b400 [testsuite] Add reproducers for #263
This issue got resolved by #180 and #461.
2018-10-12 00:41:46 +02:00
Dan Čermák
d224f897b0 [testsuite] Add reproducer for #216
The bug got resolved by PR #461 (slices).
2018-10-12 00:41:46 +02:00
Dan Čermák
eeb520bf39 [testsuite] Add reproducer for second bug from #159
The bug described in the issue got resolved by PR #461 (slices).
2018-10-12 00:41:46 +02:00
Dan Čermák
4c093fece1 Revert "[Travis CI] Add gcc 8 to the build for UBSAN"
This reverts commit 7d7bbec517.
2018-10-11 22:39:17 +02:00
D4N
9366a935d1
Merge pull request #461 from D4N/slices
Add new API: Slices (aka std::span, but with range checks)
2018-10-11 17:42:32 +02:00
Dan Čermák
1af8e2875e [testsuite] Add reproducers for CVE-2017-17724 & #209, #211 2018-10-11 14:06:16 +02:00
Dan Čermák
962962a8e9 Port Iptc::printStructure & getUshort to slices API
This fixes #211, #210, #209
2018-10-11 14:06:16 +02:00
Dan Čermák
fec6535ae8 [binaryToString] Reimplement using Slices
- reimplement binaryToString:
  - it now accepts a Slice and nothing else
  - it does not return a std::string but instead a proxy object that implements
    operator<< (this should be more efficient, as we do not need to touch the
    heap in most cases)
- addapt unit tests
- replace all occurences with the new API
2018-10-11 14:06:16 +02:00
Dan Čermák
a48d0347b7 [binaryToString] Fixed overread when passing start > 0
binaryToString(DataBuf&) only calls the C-array version. Unfortunately, its
safety check is flawed, as it only works when start is 0 (probably due to its
conterintuitive interface).
binaryToString(byte*) formats the range (start,start+size) => we have to trimm
size if size + start is larger than the DataBuf's size_
2018-10-11 14:06:16 +02:00
Dan Čermák
bfd84ddf5a [binaryToString] Improved ambiguous documentation 2018-10-11 14:06:16 +02:00
Dan Čermák
30787e6f1e [binaryToString] Add unit tests 2018-10-11 14:06:16 +02:00
Dan Čermák
7a7ae7a1df [image_int] Move internal functions into separate translation unit 2018-10-11 14:06:16 +02:00
Dan Čermák
98bca06592 Add Slices: views of STL containers & C-arrays and add unit tests
This commit adds a very simple implementation of std::span but with
mandatory range checks and only the most essential functionality.
2018-10-11 14:06:16 +02:00
Luis Díaz Más
97379dec1d Add braces around try-catch block. Apply clang-format to the function. 2018-10-11 13:40:03 +02:00
Luis Díaz Más
4216dcd0c2 Fix cppcheck issues: knownConditionTrueFalse 2018-10-11 13:40:03 +02:00
Luis Díaz Más
ab35759de8 Fix cppcheck issues: unreachableCode 2018-10-11 13:40:03 +02:00
Luis Díaz Más
54ad1bc91a Fix cppcheck issues: duplicateBreak 2018-10-11 13:40:03 +02:00