146 Commits (18a981e8957b440fc08341f7aff06449eb416b2c)

Author SHA1 Message Date
Rosen Penev 0f85d5a0e9 cmake: add format file
Helps to keep the CMake stuff consistent.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev ec561bb185 meson: use more subdir meson files
Makes the main one smaller.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Miloš Komarčević c04dcc8341 Remove exiv2-xmp from CMake exported config 2 years ago
Steve Robbins 527dc9f666 xmpsdk: Unconditionally use <stdint.h>
to define known bit-width types.
2 years ago
Rosen Penev 0a5c1299e4 fix WIN32 macro
MinGW implements the _ version.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Rosen Penev 4a735ef046 xmpsdk: Fix dangling pointer warning
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years ago
Luis Díaz Más 83a4fd5081 cmake: exiv2-xmp is now an OBJECT library 3 years ago
Kevin Backhouse 4bc4757404
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39555
Remove bogus code.
4 years ago
Kevin Backhouse bb9ff53ebe
Throw an exception on integer overflow. 4 years ago
Kevin Backhouse 395389aa15
Add more checks to prevent integer overflow. 4 years ago
Kevin Backhouse 4d55cb6692
Comment out bogus code.
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38189
4 years ago
Luis Díaz Más 6c2141959a conan - change generator to be able to use latest expat version 4 years ago
Kevin Backhouse ee3b8d1fc2 Fix quadratic complexity performance bug.
(cherry picked from commit c261fbaa2567687eec6a595d3016212fd6ae648d)
4 years ago
Luis Díaz Más 6c0059b5a0 cmake: Treat xmpsdk headers as system ones
This is done so that when we use EXIV2_TEAM_EXTRA_WARNINGS we do not get
warnings about XMPSDK (we do not want to deal with those)
4 years ago
Luis Díaz Más 50d5887e65 localtime_r support on MinGW 4 years ago
Rosen Penev c15d3b1323 xmpsdk: don't use register
register is gone with C++17.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Luis Díaz Más 8dc42199e8 Hide exiv2-xmp dependency in CMake config file: 5 years ago
Luis Díaz Más f39b23806b Assume existence of stdint.h 5 years ago
Robin Mills 7bf40a2408 fix_1211_c++11_0.27. I'll explain this in the PR. 5 years ago
clanmills 0eabfc4053 Adding CPP changes 5 years ago
Kevin Backhouse fe538e9438 Check bounds in XMP SDK (#852)
* Check bounds of month and day.

* Add some more bounds checks.

* Fix test failure in clang.
6 years ago
clanmills c261db2b5f sync changes to ExpatAdapter from master to 0.27 (removes compiler warnings) 7 years ago
Andreas Schneider 189da93480 xmpsdk: Build with -DBanAllEntityUsage=1
Prevent a denial-service-attack related to XML entity expansion
("billion laughs attack").
See https://bugzilla.redhat.com/show_bug.cgi?id=888769

Search for BanAllEntityUsage in xmpsdk/src/ExpatAdapter.cpp

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit e44d1dbe769f3b60a3d671be310f4af4f9490e6b)
7 years ago
Andreas Schneider 6062b1b803 cmake: Rename xmp to exiv2-xmp to avoid name conflicts
There is already a libxmp file by the xmp project on https://xmp.sf.net.
To avoid issues prefix with exiv2.

Fixes #624

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 89509d7a3915ba474cbc3f8c85ab9bec4954ceda)
7 years ago
Robin Mills 3f21ff2fac Fix: https://github.com/Exiv2/exiv2/issues/570 7 years ago
Luis Díaz Más bc940231e7 Define XML_STATIC only for MSVC 7 years ago
Luis Díaz Más 4752b66bed CMake: Remove XML_STATIC definition that is not needed with expat 2.2.6 7 years ago
Luis Díaz Más f92030d650 CMake: remove XMPSRC variable. 7 years ago
Luis Diaz Mas 9733863030 Remove experimental approach to handle new XMPSDK versions
Note that the way to bring a newer version of XMP is by using conan.
7 years ago
Luis Diaz Mas 8b68afd4be Remove xmp Makefile. Now it is always handled by CMake 7 years ago
Luis Diaz Mas 4afb61411c Remove xmp visibility flags. Already done in cmake/mainSetup.cmake 7 years ago
Borchers, Henry Samuel 11e66c6c9e BUILD_INTERFACE for include directories use PROJECT_SOURCE_DIR to allow for being built as a CMake subproject 7 years ago
Luis Díaz Más 320e186f44 Fix -Wmaybe-uninitialized warnings 7 years ago
Luis Díaz Más d55b2b1b65 Remove HAVE_STDLIB_H check and replace stdlib.h by cstdlib 7 years ago
tbeu 5df8b01b77 Remove obsolete svn revision 8 years ago
Luis Diaz Mas 2784b1f7f7 Remove EXIV2_ENABLE_LIBXMP variable, always build static XMP library, remove cmake OBJECT library 8 years ago
Luis Díaz Más 686edde5ef Provide exiv2Config file automatically generated by CMake 8 years ago
Robin Mills c71322bff7 Correction for buildbreaker in 2f010487 8 years ago
Luis Díaz Más 8ad49f6d73 Robin changes in sync with master changes 8 years ago
clanmills 678e2b8517 Explicitly list files to be processed CMake generated builds [remove file(GLOB...)] 8 years ago
clanmills 305424bbad Reverting changes to MD5.h 8 years ago
clanmills 10e6ebdef3 AdobeXMPsdk Simplification for detection of stdint_h 8 years ago
clanmills 35c244e911 AdobeXMPsdk. Revert most of xmpsdk/CMakeLists.txt to enable debugging with Xcode. 8 years ago
Robin Mills 60d436c969 Many changes to CMakeLists.txt and cmakeBuild.cmd to support unicode, static linking, passing shared library build flags. 8 years ago
Luis Díaz Más c1c6c42834 Do not use certain compiler flags on windows 8 years ago
Luis Díaz Más d206604743 Fix some compilation issues with the xmp 8 years ago
Luis Díaz Más 557d056add Fix linking issues with EXPAT and the xmp static library (on windows) 8 years ago
Robin Mills 68effb1772 xmpsdk/buildXMPsdk.cmd work-in-progress 8 years ago
Robin Mills f281556e85 xmpsdk/buildXMPsdk.cmd work-in-progress 8 years ago
Robin Mills 23aff3a11a buildXMPsdk.cmd testing/work-in-progress. 8 years ago