Commit Graph

165 Commits

Author SHA1 Message Date
Rosen Penev e93ad82734 clang-tidy: use braced init list
Found with modernize-return-braced-init-list

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-03 06:55:09 +02:00
Luis Díaz Más 01a3bc716d Fix warnings in VS 2021-04-19 10:43:46 +02:00
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
2021-04-18 18:49:58 +02:00
Luis Díaz Más 83dda6ccd7 Fix warnings related to -Wdeprecated-copy 2021-04-18 18:49:58 +02:00
Luis Díaz Más 0bbaa6eff3 cpp: Replace auto_ptr by unique_ptr 2021-04-15 06:56:11 +02:00
Robin Mills d632988bbd Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
Robin Mills 717fc098be fix_1486_effort2 https://github.com/Exiv2/exiv2/pull/1486#discussion_r593161473 2021-03-12 13:16:17 +00:00
clanmills ba6a577ab9 https://github.com/Exiv2/exiv2/pull/1486#issuecomment-796843835 2021-03-11 18:31:52 +00:00
Miloš Komarčević fa41e52c8a Add comment and test case 2021-03-11 14:26:50 +01:00
Miloš Komarčević 26ba26e241 Terminate empty ASCII strings as well 2021-03-10 21:44:12 +01:00
postscript-dev 5f563b5255 Fix spelling mistakes in LangAltValue::read()
Removed unneeded comments and empty space.
2021-03-09 12:13:48 +00:00
postscript-dev 282d1d6995 Add static to LangAltValue::read() const values 2021-03-08 10:27:11 +00:00
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.
2021-03-06 18:59:31 +00:00
Robin Mills 9b5108583b Revert "Revert "fix_1431_binary_comment.""
This reverts commit 2866415322.
2020-12-14 20:29:27 +00:00
Robin Mills c6167258ce Revert "Restored 0.27.2 "toString()" behaviour of Exifdatum.value().toString() for CommentValue."
This reverts commit ecae9dc6eb.
2020-12-14 20:15:42 +00:00
Robin Mills 2866415322 Revert "fix_1431_binary_comment."
This reverts commit b6bf20a897.
2020-12-14 20:01:17 +00:00
Robin Mills ecae9dc6eb Restored 0.27.2 "toString()" behaviour of Exifdatum.value().toString() for CommentValue. 2020-12-13 20:55:17 +00:00
Robin Mills b6bf20a897 fix_1431_binary_comment. 2020-12-11 15:10:35 +00:00
Robin Mills 963c91fe8a fix_1266_GPSProcessingMethod 2020-08-29 10:22:23 +01:00
clanmills ec979d522a Changes following review. 2020-05-13 19:13:27 +01:00
clanmills 9df691c0c5 Report Comments as charset=encoding data (not charset="encoding" data) 2020-05-11 19:05:28 +01:00
clanmills cca0245d87 Fix compiler warning. 2020-05-11 18:45:33 +01:00
clanmills 43b06b6814 Don't allow binary into the output stream! 2020-05-11 18:29:35 +01:00
Luis Díaz Más aae84e4643 Add missing inclusions of cstdio and cstdarg 2018-11-11 12:27:26 +01:00
Luis Díaz Más 603692a1d8 Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
Luis Díaz Más da24df0ba0 snprintf versions for VS versions previous to 2015 2018-09-10 10:31:00 +02:00
Luis Diaz Mas 41499b8ecd Use snprintf instead of sprintf in TimeValue::copy
- Replaced assert by enforce
2018-08-27 13:02:56 +02:00
Luis Díaz Más 335607054c Use enforce instead of std::assert to fix warning about unused variable in realease mode 2018-05-31 14:44:24 +02:00
Luis Díaz Más bd40c18f1c Use variable in TimeValue::copy to remove -Wunused-variable warning 2018-04-08 10:10:12 +02:00
Luis Diaz Mas a246c73d6f Use unused variable instead of hard-coded values in DateValue::copy 2018-04-08 10:10:12 +02:00
Dan Čermák efe2ccdcb6 Replaced all hardcoded error codes with ker... constants 2018-02-18 09:28:57 +01:00
tbeu 5b5987a596 Remove obsolete EXIV2_RCSID 2017-11-19 11:17:12 +01:00
tbeu 5df8b01b77 Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
Robin Mills 6d5c2c3256 Getting ready to release v0.26 2017-03-08 20:42:28 +00:00
Andreas Huggel fd80993ab0 Updated copyright notice. 2015-05-02 11:55:40 +00:00
Robin Mills ce1d4cfc75 #1058. Calming the test suite. LangAltValue comparator causes harmless changes in order of lang reporting. 2015-04-20 18:07:25 +00:00
Robin Mills f2986148b5 CID: 982053/4. Restore os format 2014-07-13 20:09:35 +00:00
Andreas Huggel f09fceda6b Updated copyright year in a few files, version in runner.txt. 2013-12-01 12:13:42 +00:00
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. 2013-10-06 14:04:48 +00:00
Robin Mills a297d2b69e Rollback 3089 - somehow it's broken the build! 2013-07-24 05:05:52 +00:00
Robin Mills da1ed8c536 Bumping the copyright notice in src &samples from 2012 to 2013 2013-07-24 03:12:38 +00:00
Robin Mills e6e6d7b45c Issue: #876 Fix for Exiv.Canon.LensModel displaying garbage bytes. 2013-01-13 01:31:18 +00:00
Robin Mills 64ea16eb92 Issue: #876. Garbage in Exif.Canon.LensModel. Thanks to Markus for reporting this and providing test data. 2013-01-12 18:58:46 +00:00
Andreas Huggel 0d397b95c7 Updated copyright message for 2012. 2012-03-22 15:19:35 +00:00
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
2012-01-11 14:24:23 +00:00
Andreas Huggel 7770151915 Updated Copyright message for 2011. 2011-02-13 14:08:44 +00:00
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.) 2010-09-10 14:02:09 +00:00
Andreas Huggel 238ab136ae #717: Retain TIFF IFD type when writing, removed unnecessary ValueType constructors. 2010-08-07 11:19:51 +00:00
Andreas Huggel 55ffbd9eb9 Added DoubleValue to deal with TIFF Double values (see #711). 2010-08-05 01:46:27 +00:00
Andreas Huggel bc54748634 #711: Added FloatValue to deal with TIFF Float values. (Nice one! :) 2010-07-22 02:41:02 +00:00