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
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
Luis Díaz Más
01a3bc716d
Fix warnings in VS
4 years ago
Luis Díaz Más
de4d43d4d1
Fix warnings EXIV2_TEAM_EXTRA_WARNINGS
...
Most of the warnings fixed were:
- Hiding of local variables
- Hiding of globals
- Useless casts
- Conversions between float/double
4 years ago
Luis Díaz Más
83dda6ccd7
Fix warnings related to -Wdeprecated-copy
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
Robin Mills
717fc098be
fix_1486_effort2 https://github.com/Exiv2/exiv2/pull/1486#discussion_r593161473
4 years ago
clanmills
ba6a577ab9
https://github.com/Exiv2/exiv2/pull/1486#issuecomment-796843835
4 years ago
Miloš Komarčević
fa41e52c8a
Add comment and test case
4 years ago
Miloš Komarčević
26ba26e241
Terminate empty ASCII strings as well
4 years ago
postscript-dev
5f563b5255
Fix spelling mistakes in LangAltValue::read()
...
Removed unneeded comments and empty space.
4 years ago
postscript-dev
282d1d6995
Add static to LangAltValue::read() const values
4 years ago
postscript-dev
6cd9263fa7
Fix langAltValue::read() parsing
...
+ Fix segmentation faults in langAlt parse
+ Fix mismatched quotation marks and incorrect values
+ Add Python testing
+ Some tests commented out as quotation marks are filtered, preventing them
from running.
Closes #1481 .
4 years ago
Robin Mills
9b5108583b
Revert "Revert "fix_1431_binary_comment.""
...
This reverts commit 2866415322
.
5 years ago
Robin Mills
c6167258ce
Revert "Restored 0.27.2 "toString()" behaviour of Exifdatum.value().toString() for CommentValue."
...
This reverts commit ecae9dc6eb
.
5 years ago
Robin Mills
2866415322
Revert "fix_1431_binary_comment."
...
This reverts commit b6bf20a897
.
5 years ago
Robin Mills
ecae9dc6eb
Restored 0.27.2 "toString()" behaviour of Exifdatum.value().toString() for CommentValue.
5 years ago
Robin Mills
b6bf20a897
fix_1431_binary_comment.
5 years ago
Robin Mills
963c91fe8a
fix_1266_GPSProcessingMethod
5 years ago
clanmills
ec979d522a
Changes following review.
5 years ago
clanmills
9df691c0c5
Report Comments as charset=encoding data (not charset="encoding" data)
5 years ago
clanmills
cca0245d87
Fix compiler warning.
5 years ago
clanmills
43b06b6814
Don't allow binary into the output stream!
5 years ago
Luis Díaz Más
aae84e4643
Add missing inclusions of cstdio and cstdarg
7 years ago
Luis Díaz Más
603692a1d8
Copyright to Exiv2 authors
7 years ago
Luis Díaz Más
da24df0ba0
snprintf versions for VS versions previous to 2015
7 years ago
Luis Diaz Mas
41499b8ecd
Use snprintf instead of sprintf in TimeValue::copy
...
- Replaced assert by enforce
7 years ago
Luis Díaz Más
335607054c
Use enforce instead of std::assert to fix warning about unused variable in realease mode
7 years ago
Luis Díaz Más
bd40c18f1c
Use variable in TimeValue::copy to remove -Wunused-variable warning
7 years ago
Luis Diaz Mas
a246c73d6f
Use unused variable instead of hard-coded values in DateValue::copy
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
6d5c2c3256
Getting ready to release v0.26
8 years ago
Andreas Huggel
fd80993ab0
Updated copyright notice.
10 years ago
Robin Mills
ce1d4cfc75
#1058 . Calming the test suite. LangAltValue comparator causes harmless changes in order of lang reporting.
10 years ago
Robin Mills
f2986148b5
CID: 982053/4. Restore os format
11 years ago
Andreas Huggel
f09fceda6b
Updated copyright year in a few files, version in runner.txt.
12 years ago
Andreas Huggel
8e325e1c32
#876 : Reverted changes made with r2966, r2976 and r2973 and added a fix to only output characters up to the first \0 in ASCII values.
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
e6e6d7b45c
Issue: #876 Fix for Exiv.Canon.LensModel displaying garbage bytes.
13 years ago
Robin Mills
64ea16eb92
Issue: #876 . Garbage in Exif.Canon.LensModel. Thanks to Markus for reporting this and providing test data.
13 years ago
Andreas Huggel
0d397b95c7
Updated copyright message for 2012.
13 years ago
Andreas Huggel
4fda7ac1e0
#799 : Fixed type-determination for nested properties,
...
XmpBag::read: don't do anything if the string is empty,
Added Iptc4xmpCore and Iptc4xmpExt as possible prefixes
14 years ago
Andreas Huggel
7770151915
Updated Copyright message for 2011.
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
238ab136ae
#717 : Retain TIFF IFD type when writing, removed unnecessary ValueType constructors.
15 years ago
Andreas Huggel
55ffbd9eb9
Added DoubleValue to deal with TIFF Double values (see #711 ).
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
f821caf029
Another fix similar to r2073 and a minor conversion fix that was exposed by the former.
15 years ago
Andreas Huggel
6d496a4888
Updated Copyright notice for 2010.
15 years ago
Andreas Huggel
6c0ecf66fb
#662 : Added new option -n and action fixcom to exiv2 utility.
16 years ago
Andreas Huggel
0bc517b545
#662 : Detect and interpret a BOM.
16 years ago
Andreas Huggel
e43a11f7b2
#662 : Code tweak and updated expected test results.
16 years ago
Andreas Huggel
dab01e73e9
#662 : Added CommentValue::detectCharset and an optional parameter for the encoding to CommentValue::comment().
16 years ago
Andreas Huggel
41b3365ad1
#662 : Charset conversion on read and write (and if needed on copy).
16 years ago
Andreas Huggel
3a76ca8ad7
#662 : Mostly formatting changes and a few tweaks. Move exifcomment tests to bugfixes-test.sh
16 years ago
Andreas Huggel
52f8c366c2
#662 : Patch exiv2-exifcomment-unicode.patch from Leo Sutic (unmodified, without exiv2-bug662.jpg).
16 years ago
Andreas Huggel
c5b1793ef7
Minor fix. (Fulvio Senore)
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
5ffbab1713
Added missing #includes for g++ 4.4 (Debian bug 505023, patch from Martin Michlmayr).
17 years ago
Andreas Huggel
7efd36d244
Removed trailing whitespace.
17 years ago
Andreas Huggel
27d9c0487f
Added type tiffIfd, made decoding of OlympusCs tags work.
17 years ago
Andreas Huggel
667d10ef93
Removed inline functions from class hierarchies (Patrick Spendrin).
17 years ago
Andreas Huggel
8f167ee426
Improved/fixed Exif (TIFF) type handling.
17 years ago
Andreas Huggel
b759193273
Removed trailing whitespace.
17 years ago
Andreas Huggel
0d55992e2f
Merged unstable branch to trunk.
17 years ago
Andreas Huggel
d1a305e30f
Added LangAltValue::toString(const std::string&) to get the value for a specific language qualifier (suggested by Marco Piovanelli).
17 years ago
Andreas Huggel
e878166f0d
Improved XMP value toLong, toFloat and toRational using new functions parseLong, parseFloat and parseRational. (Vladimir Nadvornik)
18 years ago
Andreas Huggel
3ac665a305
Added 2008 to Copyright notice.
18 years ago
Andreas Huggel
f51e7e0512
Added type keyword to XmpTextValue, added test with a command file that generates the same XMP packet as xmpsample.
18 years ago
Andreas Huggel
595665be33
Added reg command to utility, fixed set command to wrok better with XMP arrays, modified LangAlt write method to write default first, fixed registerNs bug.
18 years ago
Andreas Huggel
185ae8b8c0
#529 , patch from Michal Cihar: Added Pentax makernote support (AOC\0 type).
18 years ago
Andreas Huggel
52ddfc5938
Minor cleanup (memset -> std::memset, memcpy -> std::memcpy).
18 years ago
Andreas Huggel
91c4dafbf9
Fixed compiler issues (gcc-4.3, msvc 7.1)
18 years ago
Andreas Huggel
9beec8880d
Added XMP sample (incomplete), bugfixes.
18 years ago
Andreas Huggel
71c87ce89e
Bugfixes for XMP array handling.
18 years ago
Andreas Huggel
a9fa6688bf
Changed from xmpArray to xmpBag, xmpSeq and xmpAlt.
18 years ago
Andreas Huggel
97956266e6
Utility: Implemented modify action for XMP properties. Library: Bugfixes, tweaks.
18 years ago
Andreas Huggel
bc2fa9a4de
Merged rev. 1198-1213 from branches/xmp.
18 years ago
Andreas Huggel
ac314ddfbc
Intermediate state: Merged rev. 1153-1196 from branches/xmp.
18 years ago
Andreas Huggel
771738b475
Added includes required to compile with gcc 4.3 (prereleases)
18 years ago
Andreas Huggel
da6266da3b
Copyright updates for 2007
19 years ago
Andreas Huggel
2c82879afe
Added second attempt to parse an IPTC field into a string value, if parsing the actual type fails. Fixes bug #501 .
19 years ago
Andreas Huggel
9daaaa3f6d
Fixed compiler warnings
19 years ago
Andreas Huggel
8761340ed7
Check C-string pointer before using it. Fixes bug #456
20 years ago
Andreas Huggel
99b4e71459
Updated copyright and fsf address
20 years ago
Andreas Huggel
fc11d18013
Make sure the str argument to sscanf() is a 0 terminated C-string. Fixes Bug #447 .
20 years ago
Andreas Huggel
c32e706c36
Changed Value::read() to return an int indicating success instead of throwing. Added Support for HHMMSS and H:M:S formats to TimeValue (assumes timezone is UTC). Fixes bug #440 .
20 years ago
Andreas Huggel
06e5c0719e
Removed trailing whitespace from source files
20 years ago
Andreas Huggel
1a2183c2ea
This should fix 'unused parameter' warnings reported on Mac OS 10.4.1 Tiger / gcc4. To be confirmed.
20 years ago
Andreas Huggel
55aebc0686
Overhauled exception handling. The new class Error has a list of error messages, which is selected based on the error code provided in the constructor.
...
Image::read/writeMetadata and ImageFactory::open now throw Error in case of failure. Applications therefore now need an exception handler for the error handling of such function calls. This should result in shorter and simpler application code.
20 years ago
Andreas Huggel
8521dead83
Added 2005 to Copyright lines
21 years ago
Andreas Huggel
b8a7b77ade
Removed void AsciiValue::read(const byte*, long, ByteOrder); instead use that of the baseclass, which does not add a trailing null.
...
Adding a null can cause a metacopy operation to write from metadata instead of simply copying the metadata.
21 years ago
Andreas Huggel
423825593c
Added CommentValue
21 years ago
brad
6d3cb17189
right align output stream for date and time writes. bug #397
21 years ago