Rosen Penev
b8855fb3b5
misc sonarlint cleanups
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-08-05 01:01:25 -07:00
Kevin Backhouse
b0040e3bbe
Convert type of depth parameter to size_t.
2022-07-30 22:22:50 -04:00
Kevin Backhouse
0f1ea7571b
Refactor printTiffStructure depth increment
2022-07-30 21:31:20 -04:00
Rosen Penev
9ca7f861cf
remove string_view from headers
...
This should allow usage with C++11 projects. It's also wrong. The only
user of this assigns an std::string from a string_view, which is not
safe.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-07-24 16:37:25 -07:00
Kevin Backhouse
3ef783e02a
Convert IfdId and SectionId to enum classes.
2022-07-11 22:37:52 +01:00
Luis Díaz Más
30bf563f4d
Update .clang-format file & apply clang-format to whole project
2022-03-16 22:30:53 +01:00
Rosen Penev
b2b6d834ba
some std::array conversions ( #2148 )
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-15 10:17:06 +01:00
Luis Diaz
4355d635d4
More conversions to size_t while removing static_casts
2022-03-14 11:55:10 +01:00
Luis Díaz Más
96f7f2e4c5
Convert Exiv2::ErrorCode into an enum class
2022-03-12 16:58:40 +01:00
Luis Díaz Más
b3a216310a
Removing unused headers thanks to IWYU
2022-03-07 22:25:51 +01:00
Luis Díaz Más
b17828b454
Use SPDX for licenses ( #2122 )
...
* Use SPDX identifier in header files
* Use SPDX identifier in rest of source files
* Fix usage of SPDX for files with 2 licenses
* Add global license file
* Fix compilation
2022-03-04 11:44:39 +01:00
Luis Díaz Más
c5a9dfd9af
Merge pull request #2109 from Exiv2/main_StringView
...
Refactoring & cleanup
2022-02-21 22:29:43 +01:00
Luis Díaz Más
8b3da36f42
Improvements from code review
2022-02-19 17:27:29 +01:00
Kevin Backhouse
90aa007188
Convert type of pixelHeight/pixelWidth to platform-independent uint32_t.
2022-02-18 22:17:32 +00:00
Luis Díaz Más
a6185d29c6
Image::setComment now takes string_view
2022-02-18 18:01:02 +01:00
Kevin Backhouse
256365830a
Replace Metadatum::toLong() with Metadatum::toInt64().
2022-02-18 12:30:33 +00:00
Luis Díaz Más
0f03e77634
Simplify code around UniquePtr(s) & use make_unique over new
2022-02-05 11:02:04 +01:00
Rosen Penev
2c57f214c5
clang-tidy: use nullptr
...
Found with modernize-use-nullptr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-26 08:31:45 +02:00
Rosen Penev
743da1a564
clang-tidy: use C++ casting
...
Found with google-readability-casting
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-20 07:29:02 +02:00
Rosen Penev
bf290e84e5
fix compilation with EXIV2_DEBUG_MESSAGES
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-14 17:23:10 +02:00
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>
2021-05-03 14:50:04 +02:00
Luis Díaz Más
f85f7f717a
Replace many of the iterators types with auto
2021-04-19 10:43:46 +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
Luis Díaz Más
113136e134
Replace DEBUG with EXIV2_DEBUG_MESSAGES
...
Fixes #926
2019-07-12 11:14:35 +02:00
Robin Mills
8ff26931e3
Do not use Image::printStructure() when reading images as this causes security issues.
2018-09-13 11:18:29 +02:00
Luis Díaz Más
603692a1d8
Copyright to Exiv2 authors
2018-09-12 19:22:31 +02:00
Dan Čermák
efe2ccdcb6
Replaced all hardcoded error codes with ker... constants
2018-02-18 09:28:57 +01:00
clanmills
c082537967
Fix #220 https://github.com/Exiv2/exiv2/issues/220
2018-01-29 09:13:27 +00:00
Luis Díaz Más
d3748152a7
add _int suffix to all the internal files
2017-11-28 17:36:08 +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
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.
2017-06-29 22:13:26 +01:00
Robin Mills
11993b3b55
#1271 Thanks to Ben for reporting this and providing the patch.
2017-03-15 21:30:55 +00: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
d393b0fa7e
trunk: exiv2 v0.25
2014-12-25 13:55:57 +00:00
Andreas Huggel
f09fceda6b
Updated copyright year in a few files, version in runner.txt.
2013-12-01 12:13:42 +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
7770151915
Updated Copyright message for 2011.
2011-02-13 14:08:44 +00:00
Andreas Huggel
e62c70a867
Improved determination of MIME type (not complete yet), optimized TIFF accessors pixelWidth, pixelHeight, mimeType and primaryGroup.
2010-10-01 14:09:47 +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
717d789c8e
#721 : Renamed ifdItem to groupName and big internal clean-up: consolidated groups and IfdIds.
2010-08-30 19:33:07 +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
763b4f7933
Removed trailing whitespace.
2009-12-28 14:47:58 +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
8a6d9dbc42
Updated Copyright notice for 2009.
2009-02-16 14:30:51 +00:00