Commit Graph

77 Commits

Author SHA1 Message Date
Luis Díaz Más
d8fcbc4562 Add new tests for Iptc classes 2022-02-04 17:21:10 +01:00
Rosen Penev
e5894d71e1 default con/destructors in headers
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-19 23:31:50 -07:00
Rosen Penev
1b9b77c51f clang-tidy: add ending namespace comments
Found with google-readability-namespace-comments

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-14 17:34:09 +02:00
Rosen Penev
091fd77885 clang-tidy: remove redundant member init
Found with readability-redundant-member-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-12 16:45:12 +02:00
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>
2021-05-09 15:18:50 +02:00
Robin Mills
d632988bbd Massive code prolog cleanup. 2021-03-17 13:34:21 +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
clanmills
cc1a6033db fix_1045_0.27 2020-04-06 12:56:43 +01:00
Robin Mills
76d2798172 Pushing very helpful suggestion by @lantw44 2019-07-17 22:30:18 +02:00
Luis Díaz Más
04c9b181cc Fix #644. Export specializations of BasicError
- Only export BasicError::setMsg which is the only implementation present in the .cpp
- Only export BasicError specialization on __APPLE__

It seems that gcc automatically adds the attribute when the visibility
settings are set to hidden. See this link for more information:
https://reviews.llvm.org/D35388
2019-01-12 17:10:14 +01:00
Luis Díaz Más
18690f4c54 Provide default and copy constructor for AnyError 2018-09-14 13:20:08 +02:00
Luis Díaz Más
b9f913d5af Move implementation to .cpp files. Fix more issues related to visibility settings 2018-09-14 13:20:08 +02:00
Luis Díaz Más
603692a1d8 Copyright to Exiv2 authors 2018-09-12 19:22:31 +02:00
Dan Čermák
d3c3c036b8 Incorporated error codes into errList 2018-02-18 09:26:47 +01:00
Robin Mills
df4113b765 changes to MemIo::reserve() for #200 (#213)
* changes to MemIo::reserve() for #200

* Changes following review by Dan (thanks, Dan).
2018-01-26 09:19:03 +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
Dan Čermák
6c1ba331b9 Added arithmetic operation overflow error 2017-10-11 09:46:04 +02:00
Dan Čermák
65f45a3505 Added new error message to warn about corrupted metadata 2017-10-11 00:11:15 +02:00
clanmills
6e3855aed7 Fix https://github.com/Exiv2/exiv2/issues/55 2017-09-27 09:20:13 +01:00
clanmills
d3c2b99385 #1297 Fix submitted. 2017-06-11 11:56:20 +01:00
Robin Mills
6d5c2c3256 Getting ready to release v0.26 2017-03-08 20:42:28 +00:00
Robin Mills
5f1d52e497 #1230 Added stdin-test and fixing issue identified by the test. 2016-09-25 22:43:40 +00:00
Robin Mills
5edc759cc9 #1074 For discussion see: http://dev.exiv2.org/issues/1074#note-23 2016-09-14 10:02:51 +00:00
Andreas Huggel
fd80993ab0 Updated copyright notice. 2015-05-02 11:55:40 +00:00
Robin Mills
4e530fbce0 Bumping the copyright notice again. (re-doing 3089 without breaking the build!) 2013-07-24 05:15:04 +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
Andreas Huggel
0d397b95c7 Updated copyright message for 2012. 2012-03-22 15:19:35 +00:00
Andreas Huggel
7d8becc8e5 Added -Q option to the utility, set the default log level for LogMsg to "warn", converted debug message about write strategy to an EXV_INFO log message. 2011-12-10 08:51:07 +00:00
Andreas Huggel
7770151915 Updated Copyright message for 2011. 2011-02-13 14:08:44 +00:00
Andreas Huggel
4e1a789f78 #750: Replaced assert with exception. 2011-01-04 12:43:31 +00:00
Andreas Huggel
f25fca8808 #726: Added support for thumbnail found in sub-IFD of IFD1 of Samsung .SRW files. 2010-09-21 15:45:07 +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
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
2010-06-27 10:04:39 +00:00
Andreas Huggel
6d496a4888 Updated Copyright notice for 2010. 2010-04-03 07:53:30 +00:00
Andreas Huggel
f8197d8463 #668: In TIFF and TIFF-like images, never modify 'image tags'. This patch implements the basic idea. 2010-04-01 16:20:54 +00:00
Andreas Huggel
ade0b51b79 #671: Fixed error handling for read-only files. 2010-02-15 09:25:25 +00:00
Andreas Huggel
2ce6c3dd00 Compile WError stuff only if Unicode paths are configured. 2010-01-25 15:23:06 +00:00
Andreas Huggel
18f1cc97b7 More W/Error changes to better support w/what(). 2010-01-25 15:00:54 +00:00
Andreas Huggel
49e040ee8d Generalized class Error, added class WError for use with Unicode-Paths. 2010-01-17 14:36:08 +00:00
Andreas Huggel
cef63099dc Fixed visibility warning on Mac OSX 10.6.2 2009-12-13 10:27:43 +00:00
Andreas Huggel
370af5c8a3 Merged all changes from the unstable branch into the trunk. 2009-11-27 05:59:23 +00:00
Andreas Huggel
a5ee17b636 #642: Applied patch from Matthias Barkhoff. 2009-07-30 15:47:53 +00:00
Andreas Huggel
8a6d9dbc42 Updated Copyright notice for 2009. 2009-02-16 14:30:51 +00:00
Andreas Huggel
105a4e417d Changed FileIo::transfer to only write a warning if changing file permissions fails and fixed the use of strerror_r. Fixes digiKam bug 178103. 2008-12-30 15:54:46 +00:00
Andreas Huggel
5f5d9adfa3 Fixed typos, updated po files (Oliver Doerr). 2008-11-16 05:25:04 +00:00
Andreas Huggel
454d599da9 Fixed issue with custom namespaces ending with a #. (Reported by chrysn) 2008-09-20 07:11:54 +00:00
Andreas Huggel
66af728d38 Removed struct ErrMsg from public API. 2008-08-23 04:28:06 +00:00
Andreas Huggel
faf3087de0 Added support to write TiffArrayElements with multi-component values. 2008-07-11 10:36:41 +00:00