Rosen Penev
e93ad82734
clang-tidy: use braced init list
...
Found with modernize-return-braced-init-list
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Robin Mills
d632988bbd
Massive code prolog cleanup.
4 years ago
Jan Tojnar
48f2c9dbba
cmake: Fix paths with absolute GNUInstallDirs
...
It is not generally true that `CMAKE_INSTALL_<dir>` variables are relative paths:
https://github.com/jtojnar/cmake-snips#concatenating-paths-when-building-pkg-config-files
https://github.com/jtojnar/cmake-snips#assuming-cmake_install_dir-is-relative-path
Let's join them properly as paths, not strings.
On Windows, the absolute paths will likely remain unsupported as neither the CMake function,
nor the C++ code is able to detect absolute paths.
Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
5 years ago
Luis Díaz Más
d1c2e2f64f
bindtextdomain point to relative path to bin directory
7 years ago
Luis Díaz Más
417ad89e4b
Pass argument by const reference
7 years ago
Dan Čermák
962962a8e9
Port Iptc::printStructure & getUshort to slices API
...
This fixes #211 , #210 , #209
7 years ago
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.
7 years ago
Luis Díaz Más
989acd18c7
Fix cppcheck issues: uninitMemberVar & uninitVar
7 years ago
Dan Čermák
916c535d94
clang-format floatToRationalCast
7 years ago
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
b9f913d5af
Move implementation to .cpp files. Fix more issues related to visibility settings
7 years ago
Luis Díaz Más
603692a1d8
Copyright to Exiv2 authors
7 years ago
Luis Díaz Más
0bfa0168df
Cleanup some of the PACKAGE_XXX variables and rely in the ones given by the project() command
7 years ago
Luis Díaz Más
980f2e9462
Use isnan(f) as an alternative to isinf() on __APPLE__
7 years ago
Luis Díaz Más
2ae0cffe18
isinf for Visual Studio versions previous to 2013
7 years ago
Dan Čermák
11df43be78
[types] Apply Safe::abs() in floatToRationalCast & gcd
...
Also check for infinity in floatToRationalCast as depending on the
compiler special values of floats are converted to either
LONGMAX/LONGMIN or +/-inf
7 years ago
Luis Diaz Mas
00f86a8df4
Cleanup unused variable warnings
7 years ago
Dan Čermák
b12a868454
Add EXV_WARN_UNUSED_RESULT macro & add it to DataBuf::release()
...
EXV_WARN_UNUSED_RESULT is a conditional macro that expands to either
__attribute__((warn_unused_result)) on gcc & clang or to _Check_return
for MSVC
=> Compiler warns if the return value is ignored
7 years ago
Dan Čermák
1b74db8f51
[types] Add DataBuf::free()
...
DataBuf::release() easily cause memory leaks, when the return value is
ignored. free() provides the desired behavior, when the internal data should
just be deleted and not used further.
7 years ago
tbeu
5b5987a596
Remove obsolete EXIV2_RCSID
8 years ago
tbeu
5df8b01b77
Remove obsolete svn revision
8 years ago
Michał Walenciak
ab27bfab3c
introducing getULongLong()
8 years ago
Robin Mills
559ace375b
#1291 Reverting change in r4763 relating to windows.h as they break the Cygwin build. Retain changes in exiv2/exiv2.hpp and exv_msvc.h
8 years ago
Robin Mills
f36cccefa2
#1291 include header simplification
8 years ago
Robin Mills
6d5c2c3256
Getting ready to release v0.26
8 years ago
Andreas Huggel
fd80993ab0
Updated copyright notice.
10 years ago
Robin Mills
6897087279
#1039 . Thank You, Torsten for raising this matter. Thank You, Phil for your help with this.
10 years ago
Robin Mills
27ef590773
Roll-back for 3355 (GSoC2013 video write code). Regrettably, this appears to cause all MSVC build to fail our test harness. I'll deal with the video13 code in a different branch.
11 years ago
Robin Mills
74e8adfa37
fix MSVC build errors for GSoC2013 VideoWrite
11 years ago
Robin Mills
66e473db32
GSoC2013 Video Write Code. Thank You, Mahesh for a lot of hard work. And Thanks to Abhinav for mentoring. Great Job, Guys.
11 years ago
Mahesh
d3e0539bac
Coverity scan fixes CID : 982031 through 982054
11 years ago
Andreas Huggel
f09fceda6b
Updated copyright year in a few files, version in runner.txt.
12 years ago
Robin Mills
a297d2b69e
Rollback 3089 - somehow it's broken the build!
12 years ago
Robin Mills
da1ed8c536
Bumping the copyright notice in src &samples from 2012 to 2013
12 years ago
Andreas Huggel
0d397b95c7
Updated copyright message for 2012.
13 years ago
vog
115ba5a04e
Improved epsimage.cpp and preview.cpp to avoid unnecessary type casts, also make some implicit type casts explicit for clarity
14 years ago
Robin Mills
ebfb513a21
Removing the casts which were regrettably added with SVN: 2525.
14 years ago
Robin Mills
b960062f90
EPS: fixed a cast and removed a useless comment.
14 years ago
Robin Mills
e2c570a1ce
EPS project.
...
added long ul2Data(byte* buf, size_t s, ByteOrder byteOrder) to the DevStudio 64 bit build.
This rippled requiring casts to differentiate ul2Data(byte*, uint32_t,size_t) and ul2Data(byte*,size_t,size_t)
Team review requested.
14 years ago
Andreas Huggel
7770151915
Updated Copyright message for 2011.
15 years ago
Andreas Huggel
d164180d65
Bugfix (Matthias Baas)
15 years ago
Andreas Huggel
248cfb33c5
#719 : Removed standard Exif tag definitions and pretty-print functions from the API. Fixed warnings in the code for Float and Double values (added for #711 ).
15 years ago
Andreas Huggel
55ffbd9eb9
Added DoubleValue to deal with TIFF Double values (see #711 ).
15 years ago
Andreas Huggel
5d24f66ebd
Added static cast to prevent MSVC warning and comment highlighting non-conforming C++.
15 years ago
Andreas Huggel
bc54748634
#711 : Added FloatValue to deal with TIFF Float values. (Nice one! :)
15 years ago
Andreas Huggel
06ce0d18b6
- Introduced exiv2.hpp as a wrapper to include all Exiv2 objects. (Renamed existing exiv2.hpp to exiv2app.hpp)
...
- Changed Sony/Minolta pretty-print function to print EV value
- Renamed rcsid.hpp to rcsid_int.hpp, do not publish it anymore
15 years ago
Andreas Huggel
6d496a4888
Updated Copyright notice for 2010.
15 years ago
Andreas Huggel
603680b2d1
Various optimizations (side-effect of the analysis for #677 ).
16 years ago
Andreas Huggel
370af5c8a3
Merged all changes from the unstable branch into the trunk.
16 years ago
Andreas Huggel
8a6d9dbc42
Updated Copyright notice for 2009.
17 years ago