Dan Čermák
6fd1c5b4bf
[types] Fix check for finite numbers on Linux
...
On Linux we were merely checking whether f is finite, but that does
not cover the case f=NaN.
=> use isfinite instead which checks whether f != inf && f != NaN
7 years ago
Luis Díaz Más
c5d46ac440
Expect std::exception instead of Exiv2::Error
7 years ago
Luis Díaz Más
18690f4c54
Provide default and copy constructor for AnyError
7 years ago
Luis Díaz Más
6e4404da81
Move implementation details from tags.cpp to tags_int.cpp
7 years ago
Luis Díaz Más
b9f913d5af
Move implementation to .cpp files. Fix more issues related to visibility settings
7 years ago
Luis Díaz Más
e3f975137c
Use STATIC_DEFINE to solve issues with OBJECT library
7 years ago
Luis Díaz Más
4574a659cc
Do not use EXIV2API where it is not needed
7 years ago
Luis Díaz Más
6ba4081f95
Use CMake-GenerateExportHeader to generate a macro to export symbols
...
- Delete the hardcoded macros in config.h taking care of that.
7 years ago
Luis Díaz Más
b78d85c9bb
Set default visibility to hidden
7 years ago
Luis Díaz Más
a0e7b7490f
Add MSVC definitions back that are still needed
7 years ago
Luis Díaz Más
812762cf5a
Remove usage of CPLUSPLUS11
7 years ago
Luis Díaz Más
78c0efeaef
Remove unused c++11 stuff from config.h
7 years ago
Luis Díaz Más
5c0a3b9786
Remove unused definitions from config.h
7 years ago
Luis Díaz Más
0da42d0399
Remove useless header inclusions from config.h
7 years ago
Luis Díaz Más
a6aeadc26b
Remove unused definitions for MSVC
7 years ago
Luis Díaz Más
ab6aac054a
Remove deprecated code from version source files
7 years ago
Luis Díaz Más
1871ce5acd
Remove 'version.hpp' inclusion from places where it is not needed
...
By removing the inclusion from types.hpp we avoid lots of recompilation
of source files.
7 years ago
Luis Díaz Más
10a6e6f96c
Adapt output in exiv2-test.out
7 years ago
Luis Díaz Más
d46f7a8746
Remove deprecated stuff from config.h.cmake
7 years ago
Luis Díaz Más
e5bcabd026
Do not print hexadecimal version value when running exiv2 --version
7 years ago
Luis Díaz Más
808de65c37
Use CMake PROJECT_VERSION components in version files
7 years ago
Luis Díaz Más
5eb692d536
CPack: Add tweak number. Now packages include the tweak number in the name
7 years ago
D4N
ae0bfa44df
Merge pull request #180 from Exiv2/disable-printStructure
...
Disable printStructure()
7 years ago
Dan Čermák
19bb57ff25
Add reproducer for #262 to the test suite
7 years ago
Luis Díaz Más
2b74ad4feb
Default initialyze DataBuf::pData_ so that valgrind does not complain
7 years ago
Dan Čermák
67ec90bdab
Fix switch value in BigTiffImage::readData
...
This function extracts a 2, 4 or 8 byte integer from the image and
swaps it according to the current setting. However, it was implicitly
assuming, that it reads the same amount from the image is is
requested.
If that is not the case, e.g. if 8 bytes are requested but
only 4 are read
=> result is created via byteSwap8() which reads 8 bytes
!but 4 of those are uninitialized!
Using the actually read size fixes this problem.
7 years ago
Dan Čermák
ecf955812d
Replace reachable assertions with enforce in BigTiffImage::readData
7 years ago
Dan Čermák
b3199a0720
Fix division by zero in BigTiffImage::printIFD
...
This fixes #262
7 years ago
Dan Čermák
03799c75e1
[testsuite] Add support for binary output to check_no_ASAN_UBSAN_errors
7 years ago
Dan Čermák
4090ca475f
[testsuite] disable bugfixes-test.sh
7 years ago
Dan Čermák
75415693d8
[testsuite] Update testsuite after printStructure deletion
7 years ago
Robin Mills
afb98cbc6e
Allocate correct amount of memory for the ICC profile
7 years ago
Robin Mills
8ff26931e3
Do not use Image::printStructure() when reading images as this causes security issues.
7 years ago
Robin Mills
90305cee1e
Fix in exiv2-test.sh for Cygwin
7 years ago
Robin Mills
b6a8d39613
Ensure MSYS is detected in functions.source
7 years ago
Luis Díaz Más
f06b69fa56
CPack: ignore files for generating the sources tarball
7 years ago
Luis Díaz Más
92b5c37695
CPack: Intructions about how to use cpack
7 years ago
Luis Díaz Más
8a3f2606cf
README-CMAKE transformed in Markdown file + Update info
7 years ago
Luis Díaz Más
e75731f8c2
README.md - use markdown headers
7 years ago
Luis Díaz Más
07f63003b7
COMMERCIAL changes
7 years ago
Luis Díaz Más
84e3e8a73a
Copyright changes
7 years ago
Luis Díaz Más
d5001f8929
Modify exiv2-test.out to adapt it to the changes
7 years ago
Luis Díaz Más
1bdbb86b0c
Fix warning about implicit conversion to bool
7 years ago
Luis Díaz Más
dba48ac3d9
Fix warning on VS2008
7 years ago
Luis Díaz Más
085d8a309a
Remove COMMERCIAL Cmake variable
7 years ago
Luis Díaz Más
2afba9b127
Remove useless cmake information message
7 years ago
Luis Díaz Más
5324ac8c0e
Move CMake variables to the file where they are used
7 years ago
Luis Díaz Más
603692a1d8
Copyright to Exiv2 authors
7 years ago
Luis Díaz Más
48e0b1d0c1
Remove obsolete lsm file
7 years ago
Luis Díaz Más
19d9ae844b
Remove hardcoded CURL_STATICLIB definition in config.h
7 years ago