Commit Graph

46 Commits

Author SHA1 Message Date
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
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
Luis Díaz Más
b3a216310a Removing unused headers thanks to IWYU 2022-03-07 22:25:51 +01:00
Rosen Penev
04bacdedd6 clang-tidy: use auto
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-04 15:54:05 -08:00
Luis Díaz Más
b9f9d041ea Several transformations on DataBuf + migration to size_t
- Provide begin/end iterators to DataBuf and simplify code
- Adapt test output after last changes
- Replacing long by size_t in value.hpp
- Use size_t in some Photoshop functions
- Remove some static_casts
2022-02-27 09:41:47 +01:00
Luis Díaz Más
2505e52345 Avoid naked new operator in sample apps 2022-02-27 09:36:46 +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
b3040da54c clang-tidy: don't check for NULL with delete
Found with readability-delete-null-pointer

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-09 17:42:26 +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
Robin Mills
d632988bbd Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
Robin Mills
c64f2e8ea1 iotest.cpp polishing. 2020-05-16 10:11:40 +01:00
Robin Mills
ef56e5b61e Fix comment typo 2020-05-16 08:38:42 +01:00
clanmills
158fba1b99 Fix blocksize in iotest.cpp. 2020-05-15 18:24:52 +01:00
clanmills
32b9a2dfa1 Change EXIV2_HTTP default to http://localhost to keep msvc build happy. iotest.cpp modified to compile with msvc. 2020-05-15 09:15:24 +01:00
clanmills
5aa09915ea Documentation update. Fixed typo in comment in functions.source 2020-05-14 16:42:55 +01:00
clanmills
7956aa0ad9 See #1029 Added option to samples/iotest.cpp to specify blocksize for remote copy. 2020-05-14 14:55:59 +01:00
clanmills
c0ec4cf6a4 Polishing iotest.sh by moving functions start/closeHttpServer to functions.source. Updated documentation. 2020-05-14 12:51:48 +01:00
clanmills
037849ea9e Add optional parameter to iotest.cpp to create the input file by copying from a remote location. 2020-05-14 10:31:13 +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
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
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
7b882f121a #1175 more cast ripples on GCC5/Linux 2017-04-23 20:08:03 +00:00
Robin Mills
1ff0bef409 #1175 Correction to r4597 Additional file (which, in error, I didn't to commit) 2017-04-23 11:00:17 +00:00
Robin Mills
67859f4f4e #1175 I'm going to accept the recommendation to change BasicIo::size() to return size_t. This passes the test suite. The only "ripple" outside of basicio is to iotest.cpp. This change enables several casts to be removed. 2017-04-19 17:03:54 +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
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
7770151915 Updated Copyright message for 2011. 2011-02-13 14:08:44 +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
c6ae14cbb9 Added includes for g++-4.4 (Debian 4.4.2-3). 2009-12-28 14:11:23 +00:00
Andreas Huggel
8a6d9dbc42 Updated Copyright notice for 2009. 2009-02-16 14:30:51 +00:00
Andreas Huggel
3ac665a305 Added 2008 to Copyright notice. 2008-01-09 16:44:09 +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