Rosen Penev
d458bf2540
clang-tidy: apply to newly merged stuff
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-03 01:24:04 -08:00
Luis Díaz Más
c5c315b6e7
Usage of EXIT_SUCCESS/FAILURE instead of hard-coded values
2022-03-23 16:55:18 +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
Luis Díaz Más
7119b7676f
remove templating & simplify error message
...
+ clang-format in Error files
+ Remove AnyError
2022-03-12 16:58:41 +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
c115d4daf7
Merge pull request #2131 from Exiv2/mainCleanups
...
Include what you use + more SPDX identifiers + few other cleanups
2022-03-11 21:02:45 +01:00
Rosen Penev
b6bdbf5574
clang-tidy: don't use else after return/throw
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-07 14:42:33 -08:00
Luis Díaz Más
bbc99ae581
Use auto for unique pointers
2022-03-07 22:25:51 +01:00
Luis Díaz Más
5a6ec65315
Use SPDX identifiers in more files
2022-03-07 22:25:51 +01:00
Rosen Penev
5833101b9b
manual nullptr conversions
...
Mostly not caught because I'm not running clang-tidy on Windows.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-05 16:21:25 -08:00
Luis Díaz Más
fdfb295cc4
windows: Trick to get UTF-8 encoded argv in main entry point
...
- Adapt exifprint to the new wmain strategy
- Delete have_unicode_path
- wmain does not work with MSYS & MinGW
- cmake: entry point via cmake instead of pragma
- cmake: better doc for MSVC flags
- Fix entry point in sample apps
- Adapt CMake code to work with MSVC & MinGW
2022-02-13 22:49:32 +01:00
Christoph Hasse
7251a96da6
remove exv_grep_keys_t type alias
2021-07-25 20:58:06 +02:00
Robin Mills
6452a9ce36
Fixing typos.
2021-06-24 17:49:47 +01:00
Robin Mills
739673335c
Forgive "SHORT or LONG" tags. Add test code.
2021-06-24 09:49:22 +01:00
Robin Mills
fd2ab89de5
exifprint_lint
2021-06-23 14:24:46 +01:00
Rosen Penev
fdf9d3799c
clang-tidy: don't use else after return
...
Found with llvm-else-after-return
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-15 17:32:56 +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
4a8d365e80
fix_1508_enableBMMF_effort2
2021-04-03 11:03:31 +01:00
Robin Mills
9da2aed5d2
Use the documented 5 line prolog in every sample application. Tidy up sample prologs and header code.
2021-04-02 16:58:20 +01:00
clanmills
2f2bf69f6c
README.md General revision. Mostly simplifying "4 Test Suite".
2020-05-17 17:59:22 +01:00
clanmills
43b06b6814
Don't allow binary into the output stream!
2020-05-11 18:29:35 +01:00
Robin Mills
7844b11e4b
[xmpsdk] Add XMP Initialisation/Cleanup code to all main() programs
...
- update documentation
- Removed redundant calls to Exiv2::XmpParser::terminate() (legacy of our
discusssion with @tester0077).
- this fixes #976
2019-10-05 10:19:53 +02:00
Robin Mills
89375979d8
https://github.com/Exiv2/exiv2/issues/555
...
I have restored the Macro EXIV2_TEST_VERSION in include/exiv2/version.hpp
I have added an option --version-test to exifprint.cpp to test/validate EXIV2_TEST_VERSION works as documented.
Version strings in Exiv2 v0.27 and later have a fourth digit to indicate the pre-release number of the build.
Pre-release builds should never be used for production purposes.
2018-11-19 11:38:26 +00:00
Robin Mills
12d44f8f17
Fix https://github.com/Exiv2/exiv2/issues/468
2018-10-26 17:47:15 +02:00
Dan Čermák
efe2ccdcb6
Replaced all hardcoded error codes with ker... constants
2018-02-18 09:28:57 +01:00
tbeu
5df8b01b77
Remove obsolete svn revision
2017-11-19 11:17:11 +01:00
Robin Mills
f02b94a6b4
#1169 . Code simplication/clarification.
2016-04-22 12:34:04 +00:00
Robin Mills
30f279787f
#1169 Fix submitted.
2016-04-21 11:26:29 +00:00
Robin Mills
aa1e9e88e5
#1109 and #1041 Added documentation and log files to the published builds.
2015-12-12 19:10:52 +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
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
50d9dce7af
Make sure BasicError<> typeinfo symbol is published in the shared library, provide a test case in exifprint.cpp
2010-01-23 15:31:00 +00:00
Andreas Huggel
917080fc37
Handle unknown type name (reported by Marijn Kampf).
2009-03-07 03:23:38 +00:00
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
2008-11-30 14:19:17 +00:00
Andreas Huggel
b657f8a9be
Minor improvements when writing duplicate tags.
2008-11-26 09:34:48 +00:00
Andreas Huggel
a6440d4ed1
Moved sample programs into new samples/ directory. Cleaned-up the makefiles and applied BSD license to all makefiles.
2007-10-08 09:17:20 +00:00