Commit Graph

2972 Commits

Author SHA1 Message Date
Luis Díaz Más
4265ac5e0f exiv2-xmp linked privately 2019-02-10 22:01:52 +01:00
Seth Parker
892d39e3bf Add missing libintl include dirs to exiv2lib_int and exiv2 2019-02-07 23:15:26 +01:00
Michał Walenciak
6887822243 removing unused header generation 2019-02-02 09:53:05 +01:00
Michał Walenciak
a7340a3801 removinf usage of EXIV2_DEPRECATED macro
It can expand to [[deprecated]] which cannot be combined
with result of EXIV2API macro expansion: __attribute__(...)
2019-02-02 09:52:39 +01:00
Michał Walenciak
aae88060ca Use ${CMAKE_INSTALL_LIBDIR} as proper files location 2019-01-29 21:09:13 +01:00
Michał Walenciak
4ddd44e9da create & install exiv2ConfigVersion.cmake 2019-01-29 20:03:30 +01:00
Luis Diaz Mas
127c2eac0e Fix warnings on MSVC 2019-01-25 08:12:59 +01:00
Luis Díaz Más
704fc56d52 Keep the profileName from readMetadata and use it in writeMetadata 2019-01-24 23:16:25 +01:00
Luis Díaz Más
e385599067 Refactoring to make the doe more readable. Fix icc tests 2019-01-24 22:30:30 +01:00
Luis Díaz Más
436b0f87b5 Add missing header when -DDEBUG is present 2019-01-24 21:28:49 +01:00
Luis Díaz Más
d1097fab59 Factor our function to read PNG Chunk info 2019-01-24 21:21:47 +01:00
Luis Díaz Más
914a8c5585 Factor out exception throw in different places inside isPngType 2019-01-24 18:52:38 +01:00
Luis Diaz Mas
88f22e13cb Fix ICC profile in PNG images 2019-01-21 23:10:12 +01:00
Luis Diaz Mas
6abdb7e77a Install new file exiv2lib_compiler_detection.h 2019-01-18 15:29:35 +01:00
Luis Diaz Mas
9d62998973 cmake: compile video sources conditionally 2019-01-15 12:58:06 +01:00
Luis Díaz Más
798396e71a cmake: use CONAN_PKG::OpenSSL only if NOT APPLE 2019-01-12 23:18:54 +01:00
Luis Díaz Más
08478c3217 Fix SSL linking issues on Windows 2019-01-12 23:16:26 +01:00
Luis Díaz Más
4fa2bc7008 Propagate CURL linkage when it is enabled 2019-01-12 23:13:24 +01:00
Luis Díaz Más
04c9b181cc Fix #644. Export specializations of BasicError
- Only export BasicError::setMsg which is the only implementation present in the .cpp
- Only export BasicError specialization on __APPLE__

It seems that gcc automatically adds the attribute when the visibility
settings are set to hidden. See this link for more information:
https://reviews.llvm.org/D35388
2019-01-12 17:10:14 +01:00
Luis Diaz Mas
6f8d8e3da6 cleanup header inclusions in API 2019-01-11 15:55:25 +01:00
Luis Diaz Mas
acc9fa012d Reliable detection of strerror_r variants 2019-01-06 23:59:40 +01:00
Andreas Schneider
ed3a0f1341 cmake: Install header files without globbing
Fixes #627

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 0b34ccb9a3b26cd1c5267c6a5c15e9fa1a665adb)
2019-01-05 13:08:49 +01:00
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)
2019-01-05 13:08:49 +01:00
Alexander Steffen
8453ef0466 Add Tamron SP 24-70mm f/2.8 Di VC USD G2 for Canon
Fixes #330.
2019-01-04 09:41:14 +01:00
Alexander Steffen
f586d57bb1 Add various Sigma and Canon lenses 2019-01-04 09:41:06 +01:00
Alexander Steffen
cf4f14c67b Add new IDs for Sigma lenses with firmware 2.00
The firmware update changed the IDs, so that the same lens may now be known
under different IDs.
2019-01-04 09:40:58 +01:00
Natanael Copa
63f1fde85b Fix path for errno.h
Fix warnings when built with musl libc by using the correct path for
errno.h as defined in POSIX.

Fixes the following warning:
In file included from /home/ncopa/src/exiv2/src/http.cpp:74:
/usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
 #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
  ^~~~~~~
2018-12-25 16:09:00 +01:00
Natanael Copa
480430d397 Fix usage of strerror_r
Only GNU libc has implementation of the GNU variant of strerror_r, so
also for __GLIBC__ to determine which strerror_r implemenation to use.

This fixes build with musl libc, which makes some, but not all, GNU
extensions available with _GNU_SOURCE.
2018-12-25 16:08:51 +01:00
Luis Díaz Más
17fecb358f Merge branch 'master' of https://github.com/FreddieWitherden/exiv2 into FreddieWitherden-master 2018-12-21 14:46:01 +01:00
Robin Mills
a9404154bc Fix: https://github.com/Exiv2/exiv2/issues/585 2018-12-09 18:54:40 +01:00
Robin Mills
88ec8b88ea Fix #562 for 32 bit builds (don't throw arithmetic exception). 2018-12-09 18:54:40 +01:00
Robin Mills
a33041a8b7 Fix: https://github.com/Exiv2/exiv2/issues/562 for stringFormat() crashes. 2018-12-09 18:54:40 +01:00
Robin Mills
03b4f1deae Fix: https://github.com/Exiv2/exiv2/issues/580 2018-12-09 18:54:40 +01:00
Robin Mills
56ba273a90 Fix: https://github.com/Exiv2/exiv2/issues/577 2018-12-09 18:54:40 +01:00
Robin Mills
43683f1eff Fix #531 2018-12-09 18:54:40 +01:00
Robin Mills
23483dff86 #571 Restore the original windows getProcessCode() because Microsoft's GetModuleFileName isn't effective! 2018-11-30 14:18:17 +01:00
Robin Mills
108509a089 Correction to Microsoft sample code! https://docs.microsoft.com/en-gb/windows/desktop/Services/installing-a-service 2018-11-30 14:18:17 +01:00
Robin Mills
9cb6c1e4c9 Correction in futils.cpp 2018-11-30 14:18:17 +01:00
Robin Mills
22e49cc78b Try to fix https://github.com/Exiv2/exiv2/issues/572 2018-11-30 14:18:17 +01:00
Robin Mills
3af6f43ff0 Fix: https://github.com/Exiv2/exiv2/issues/571 2018-11-30 14:18:17 +01:00
Robin Mills
eab816fd32 src/version.cpp report enable_nls 2018-11-30 14:18:17 +01:00
clanmills
c22a38cfb4 Fix for https://github.com/Exiv2/exiv2/issues/560 (eraseFamily() crashes in MSVC/Debug). 2018-11-30 14:18:17 +01:00
Robin Mills
062bad7535 Adding output for have_regex to version.cpp 2018-11-30 14:18:17 +01:00
Robin Mills
1b136f0657 Revision to PR#557. Restored XmpData::erase() and added XmpData::eraseFamily(). Restored and augumented conversions.sh 2018-11-30 14:18:17 +01:00
Robin Mills
ccd708df24 Fix: https://github.com/Exiv2/exiv2/issues/521
conversions.sh reveals a (harmless) order change runTest exiv2 -M'set Xmp.xmp.ModifyDate 2015-04-17T18:10:22Z' v.xmp
2018-11-30 14:18:17 +01:00
Luis Díaz Más
0d7b3ecd1e Update man page 2018-11-28 17:55:16 +01:00
Luis Díaz Más
4ed5bdc78b CMake: Supress MSVC PDB warnings 2018-11-27 18:20:20 +01:00
skal
ecaf1dd478 Fix alpha bit detection in VP8L chunks
As per the spec ([1]), the alpha_bit is located on the 4th byte of the payload, just after the height.

This seems to fix the bug reported on GIMP ([2]) where an incorrect file was generated.



[1] https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification#2_riff_header
[2] https://gitlab.gnome.org/GNOME/gimp/issues/1818
2018-11-26 16:43:55 +01:00
Luis Díaz Más
6e42c1b55e Fix #561. Use proper counter for the idx variable 2018-11-26 16:39:00 +01:00
Luis Díaz Más
34e411d2fc Fix 547: option -pR only available in Debug mode.
Note that the method Params::evalPrint() has been clang-formatted.
2018-11-22 18:19:08 +01:00