Rosen Penev
8dbc699858
clang-tidy: add missing explicit
...
Found with google-explicit-constructor
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
b8712188bb
clang-tidy: use auto
...
Found with modernize-use-auto
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
1b9b77c51f
clang-tidy: add ending namespace comments
...
Found with google-readability-namespace-comments
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
bf290e84e5
fix compilation with EXIV2_DEBUG_MESSAGES
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
2e73aa9dc0
default con/destructors in headers
...
Helps to optimize trivially destructable stuff.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
af7b2430c5
clang-tidy: use override
...
Found with modernize-use-override
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
bd6a996181
clang-tidy: use using
...
Found with modernize-use-using
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
8128716287
clang-tidy: use = default
...
Found with modernize-use-equals-default
Ran through git clang-format
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
4ceb325c8f
clang-tidy: range for loop conversions
...
Found with modernize-loop-convert
Ran through git clang-format.
Also removed several questionable loops and replaced with simpler
algorithms.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Luis Díaz Más
f85f7f717a
Replace many of the iterators types with auto
4 years ago
Luis Díaz Más
0bbaa6eff3
cpp: Replace auto_ptr by unique_ptr
4 years ago
Robin Mills
d632988bbd
Massive code prolog cleanup.
4 years ago
clanmills
43b06b6814
Don't allow binary into the output stream!
5 years ago
Robin Mills
05538ebea2
fix1001_rename_AFPrimaryPoint
6 years ago
clanmills
90f9f0bc19
Add support for Exif.Canon.AF tags to be read from images
...
This PR (and fix981_canonAutoFocus2) use a decoder listed in TiffMappingInfo to
decode Exif.Canon.AFInfo. The decoding function "manufactures" Exif tags such as
Exif.Canon.AFNumPoints from the data in Exif.Canon.AFInfo. These tags must never
be written to file and are removed from the metadata in
exif.cpp/ExifParser::encode().
Three of the tags created (AFPointsInFocus,AFPointsSelected, AFPrimaryPoint) are
bitmasks. As the camera can have up to 64 focus points, the tags are a 64 bit
mask to say which points are active. The function printBitmask() reports data
such as 1,2,3 or (none).
This decoding function decodeCanonAFInfo() added to TiffMappingInfo manufactures
the new tags. Normally, tags are processed by the binary tag decoder and that
approach was taken in branch fix981_canonAf. However, the binary tag decoder
cannot deal with AFInfo because the size of some metadata arrays cannot be
determined at compile time.
6 years ago
Luis Díaz Más
113136e134
Replace DEBUG with EXIV2_DEBUG_MESSAGES
...
Fixes #926
6 years ago
Robin Mills
9c516116c8
Fix #401 by fixing iteration over exif data tags
7 years ago
Luis Díaz Más
603692a1d8
Copyright to Exiv2 authors
7 years ago
Dan Čermák
316548d2de
Fix shadowing issues
...
- renamed variables that were shadowing a previously defined variables
7 years ago
Dan Čermák
efe2ccdcb6
Replaced all hardcoded error codes with ker... constants
7 years ago
tbeu
5b5987a596
Remove obsolete EXIV2_RCSID
8 years ago
tbeu
5df8b01b77
Remove obsolete svn revision
8 years ago
Robin Mills
82dbe6199d
https://github.com/Exiv2/exiv2/issues/11 Closed. Coincidentally Raphael reported issues with Visual Studio 2015 Community Edition. Issue 11 and Raphael's issues should now be resolved.
8 years ago
Robin Mills
6d5c2c3256
Getting ready to release v0.26
8 years ago
Robin Mills
5f9807cbef
#1216 . Rollback r4448/6/2/1 r4439/38 to restabilize test suite on trunk. r4449 is copy of r4448 to branches/develop
9 years ago
sridharb
d78dec24e3
Moved ExifDatum::ignore from exif.hpp to the exif.cpp.
...
This frees up exif.hpp from needing to include tags_int.hpp.
The downside is that this function is no longer inline.
9 years ago
Andreas Huggel
fd80993ab0
Updated copyright notice.
10 years ago
Robin Mills
d393b0fa7e
trunk: exiv2 v0.25
11 years ago
Robin Mills
4e530fbce0
Bumping the copyright notice again. (re-doing 3089 without breaking the build!)
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
Robin Mills
bdbdbf2360
fixed typos to build with ./configure "CXXFLAGS=-DDEBUG -ggdb"
13 years ago
Andreas Huggel
58044f9feb
#819 : Added the PentaxDng Preview image to the tags potentially stripped when encoding the Exif metadata for JPEG (related to #820 ).
13 years ago
Andreas Huggel
7fc3739b2c
#820 : Added SamsungPreview to the list of previews to potentially remove when encoding Exif metadata for JPEG.
13 years ago
Andreas Huggel
0d397b95c7
Updated copyright message for 2012.
13 years ago
Andreas Huggel
0e0845d7be
#635 : Added experimental write-support for CR2.
13 years ago
Andreas Huggel
7770151915
Updated Copyright message for 2011.
15 years ago
Andreas Huggel
ae501bba1c
#759 : Undid r2444. Instead, don't encode any tags larger than 40kB as a last resort when writing to JPEGs.
15 years ago
Andreas Huggel
ac0fc376a9
#759 : Do not write Exif.Image.DNGPrivateData to JPEGs.
15 years ago
Andreas Huggel
f25fca8808
#726 : Added support for thumbnail found in sub-IFD of IFD1 of Samsung .SRW files.
15 years ago
Andreas Huggel
a0bdc5528e
#721 : Removed Exif-specific reference functions from the ExifKey interface again.
15 years ago
Andreas Huggel
dc264bc00d
#476 , #614 : Introduced class LogMsg for enhanced logging, migrated all existing warnings and error messages (not the exceptions) to use the new logic. Every log message now has a type (debug, info, warning, error). Applications can set a logging level to determine which messages are processed and supply a custom log message handler at runtime. (Based on a contribution by Simson Garfinkel.)
15 years ago
Andreas Huggel
717d789c8e
#721 : Renamed ifdItem to groupName and big internal clean-up: consolidated groups and IfdIds.
15 years ago
Andreas Huggel
708bba8159
#721 : Removed IfdId from the published API. ExifKey now gives access to reference tag data. (Needs some polishing.)
15 years ago
Andreas Huggel
45c2eb2d34
#721 : Use Pimpl idiom for class ExifKey in preparation for more changes.
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
03057632f5
Backed out revisions 2210:2208.
15 years ago
Andreas Huggel
fc0d55dd8e
#611 : SonySR2 support, part 2, still experimental and incomplete.
15 years ago
Andreas Huggel
b68ecc7cb0
#686 : Removed const-qualifier to make things comply with the C++ standard.
15 years ago
Andreas Huggel
6d496a4888
Updated Copyright notice for 2010.
15 years ago
Andreas Huggel
f8197d8463
#668 : In TIFF and TIFF-like images, never modify 'image tags'. This patch implements the basic idea.
15 years ago
Andreas Huggel
13704dcba4
#684 : Extended SubIFD support to 9 SubIFDs.
16 years ago
Andreas Huggel
603680b2d1
Various optimizations (side-effect of the analysis for #677 ).
16 years ago
Andreas Huggel
ed6f195c7f
#677 : Changed the container for Exif metadata from a std::vector to a std::list (plus an unrelated optimization).
16 years ago
Andreas Huggel
763b4f7933
Removed trailing whitespace.
16 years ago
Andreas Huggel
bb71f49bdc
Added config for IFD3 (needed for CR2, at least some), fixed Nikon assertion failure for unknown complex binary arrays (reported by Marcel Wiesweg).
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
Andreas Huggel
b03cbe50fb
Improved ExifParser doc, fixed TiffParser to filter Panasonic raw tags, tweaks.
17 years ago
Andreas Huggel
3bd8cde75b
Fixed ExifParser::encode to delete Panasonic RAW tags, filter duplicate tags when reading RW2 images.
17 years ago
Andreas Huggel
6f5032db37
Do not access the first element of an empty vector.
17 years ago
Andreas Huggel
cbebc753fa
- Reverted exifprint idx display
...
- Fixed/enhanced ExifParser::encode
- Added API ExifData::erase(beg, end)
- Enhanced logic to find matching tags in non-intrusive writing
- Disabled sorting of IFD entries when writing makernote IFDs
17 years ago
Andreas Huggel
8e1098dad9
Removed some warnings.
17 years ago
Andreas Huggel
7a6907c10d
Fixed conversion special case: do not add an empty Exif datum if the (std) conversion failed.
17 years ago
Andreas Huggel
8e905cacc3
Fixed duplicate makernote issue, introduced logic to try and fit Exif data for JPEG in a 64kB block.
17 years ago
Andreas Huggel
fcd7b2ca45
Fixed test whether data area is outside of the data buffer (partially tested).
17 years ago
Andreas Huggel
7b6652a910
Added ExifData pointer to Metadatum::write et al, added CanonCs.LensType and pretty-print function, changed exiv2 tool to use the new methods to print interpreted values (which allows it to refer to other metadata).
17 years ago
Andreas Huggel
ec1ea1fe80
#568 : Check for empty value when creating thumbnail and preventively also in a number of other places.
17 years ago
Andreas Huggel
b759193273
Removed trailing whitespace.
17 years ago
Andreas Huggel
8489cec20c
Filter unwanted tags in ExifParser::encode.
17 years ago
Andreas Huggel
de403e5933
Reinstated sortByKey and sortByTag.
17 years ago
HumanDynamo
fbf2b0281e
sortByKey is missing. just to fix linking. Still todo..
17 years ago
Andreas Huggel
0d55992e2f
Merged unstable branch to trunk.
17 years ago
Andreas Huggel
81ff0d6a7c
Fixed g++-4.3 errors and warnings.
17 years ago
Andreas Huggel
d8e6b51c69
Refactored op<< for Metadatum, introduced std::string Metadatum::print(). Fixes #474 .
18 years ago
Andreas Huggel
3ac665a305
Added 2008 to Copyright notice.
18 years ago
Andreas Huggel
3478a05df9
Tweak
18 years ago
Andreas Huggel
1e6db63ae9
#534 : Prevent integer overflow.
18 years ago
Andreas Huggel
52ddfc5938
Minor cleanup (memset -> std::memset, memcpy -> std::memcpy).
18 years ago
Andreas Huggel
ac314ddfbc
Intermediate state: Merged rev. 1153-1196 from branches/xmp.
18 years ago
Andreas Huggel
da6266da3b
Copyright updates for 2007
19 years ago
Andreas Huggel
687f9d9432
Added test for the type of the entries to decide if non-intrusive writing is possible. Fixes bug #452 .
19 years ago
Andreas Huggel
0723a62899
Removed trailing whitespace
19 years ago
Andreas Huggel
f381cb6966
Do not write TIFF header to JPEG images if the Exif data is empty. Fixes bug #498 .
19 years ago
Andreas Huggel
592ca5c711
Improved loading of JPEG data in case of problems. Existing Exif data is not modified until the new IFD0 is read successfully. Improved ExifData::clear()
19 years ago
Andreas Huggel
9daaaa3f6d
Fixed compiler warnings
19 years ago
Andreas Huggel
73c6be0749
Stripped trailing whitespace
19 years ago
Andreas Huggel
521cf5eb01
Added support for Minolta CameraSettings, part 2
19 years ago
Andreas Huggel
5b57a1749b
TIFF parser checkpoint (experimental): Improved CR2 support (changes in the TIFF structure table), added support for Jpeg thumbnails, enhanced TiffDirectory so that the next pointer is optional.
19 years ago
Andreas Huggel
1311ff7b10
Fixed buffer overflow in ExifData::load() when called with an empty buffer; marked the function as deprecated, as it will eventually disappear.
19 years ago
Andreas Huggel
ab10daa6d9
Removed trailing whitespace
20 years ago
Andreas Huggel
a1a5ff02b8
Fixed invalid type id for user comment tag, bug #451
20 years ago
Andreas Huggel
99b4e71459
Updated copyright and fsf address
20 years ago
Andreas Huggel
f4adc6528b
Changed Exif parser to skip broken Ifds if possible. Fixes bug #443 .
20 years ago
Andreas Huggel
8c623635e9
Changed hasMakerNote to return an IfdId instead of bool
20 years ago
Andreas Huggel
260b9af10b
Removed hasMakerNote() from ExifData and made it a free function. Added setting to generate an XML tagfile to Doxyfile.
20 years ago
Andreas Huggel
06e5c0719e
Removed trailing whitespace from source files
20 years ago
Andreas Huggel
489fff191d
Canon CRW read support, first try. Introduces a new approach to parsing metadata. Cluttered by some related additions to the Canon makernote note and a bit of cleanup.
20 years ago
Andreas Huggel
47aad1f393
Added experimental bool ExifData::hasMakerNote() method
20 years ago
Andreas Huggel
5823ceaff3
Changed Ifd::read() to allow it to access the complete Exif data buffer. Corresponding changes done to makernotes. Fixes bug #424 .
20 years ago