37 Commits (e87de698f31ad3f902238dbcfa122cc56aee7c16)

Author SHA1 Message Date
Luis Díaz Más c5c315b6e7 Usage of EXIT_SUCCESS/FAILURE instead of hard-coded values 3 years ago
Luis Díaz Más 30bf563f4d Update .clang-format file & apply clang-format to whole project 3 years ago
Luis Díaz Más 7119b7676f remove templating & simplify error message
+ clang-format in Error files
+ Remove AnyError
3 years ago
Luis Díaz Más 96f7f2e4c5 Convert Exiv2::ErrorCode into an enum class 3 years ago
Luis Díaz Más c115d4daf7
Merge pull request #2131 from Exiv2/mainCleanups
Include what you use + more SPDX identifiers + few other cleanups
3 years ago
Rosen Penev b6bdbf5574 clang-tidy: don't use else after return/throw
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más bbc99ae581 Use auto for unique pointers 3 years ago
Luis Díaz Más 5a6ec65315 Use SPDX identifiers in more files 3 years ago
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>
3 years ago
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
3 years ago
Christoph Hasse 7251a96da6 remove exv_grep_keys_t type alias 4 years ago
Robin Mills 6452a9ce36 Fixing typos. 4 years ago
Robin Mills 739673335c Forgive "SHORT or LONG" tags. Add test code. 4 years ago
Robin Mills fd2ab89de5 exifprint_lint 4 years ago
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>
4 years ago
Luis Díaz Más f85f7f717a Replace many of the iterators types with auto 4 years ago
Luis Díaz Más 0bbaa6eff3 cpp: Replace auto_ptr by unique_ptr 4 years ago
Robin Mills 4a8d365e80 fix_1508_enableBMMF_effort2 4 years ago
Robin Mills 9da2aed5d2 Use the documented 5 line prolog in every sample application. Tidy up sample prologs and header code. 4 years ago
clanmills 2f2bf69f6c README.md General revision. Mostly simplifying "4 Test Suite". 5 years ago
clanmills 43b06b6814 Don't allow binary into the output stream! 5 years ago
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
6 years ago
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.
7 years ago
Robin Mills 12d44f8f17 Fix https://github.com/Exiv2/exiv2/issues/468 7 years ago
Dan Čermák efe2ccdcb6 Replaced all hardcoded error codes with ker... constants 7 years ago
tbeu 5df8b01b77 Remove obsolete svn revision 8 years ago
Robin Mills f02b94a6b4 #1169. Code simplication/clarification. 9 years ago
Robin Mills 30f279787f #1169 Fix submitted. 9 years ago
Robin Mills aa1e9e88e5 #1109 and #1041 Added documentation and log files to the published builds. 10 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
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 50d9dce7af Make sure BasicError<> typeinfo symbol is published in the shared library, provide a test case in exifprint.cpp 16 years ago
Andreas Huggel 917080fc37 Handle unknown type name (reported by Marijn Kampf). 17 years ago
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
17 years ago
Andreas Huggel b657f8a9be Minor improvements when writing duplicate tags. 17 years ago
Andreas Huggel a6440d4ed1 Moved sample programs into new samples/ directory. Cleaned-up the makefiles and applied BSD license to all makefiles. 18 years ago