Commit Graph

24 Commits

Author SHA1 Message Date
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 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 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 Diaz Mas 0d9065274e Remove redefinition of UNUSED 2018-08-24 16:45:52 +02:00
Luis Díaz Más 8baf07decb Fix warnins reported by -Wunused-variable
This trick is a bit nasty but I do not want to mess up to much with the
XMPSample application at this moment. Once we have more unit tets for
that part of the code, the xmpsample could disappear.
2018-05-31 14:44:24 +02:00
Luis Diaz Mas 773bdfd14e Create a header where to keep an unique definition of UNUSED 2018-05-31 14:44:24 +02:00
Dan Čermák 79f8d63a8b Whitespace cleanup 2018-05-16 10:15:53 +02:00
Dan Čermák 5e36363138 Fix double promotion issues 2018-05-16 10:15:53 +02:00
Dan Čermák bc58752d18 Remove useless casts
This commit removes only casts where type A is cast to the exactly same
type (and not to a platform dependent typedefs)
2018-05-16 10:15:53 +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 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 0544694ff5 Added CreatorContactInfo structure to XMP sample. 2011-11-28 03:18:37 +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 ff47483e85 Mainly changes to make MSVC compilers happy, improved accuracy of GPS coordinates conversion. 2008-06-03 17:28:46 +00:00
Andreas Huggel e878166f0d Improved XMP value toLong, toFloat and toRational using new functions parseLong, parseFloat and parseRational. (Vladimir Nadvornik) 2008-03-05 07:45:16 +00:00
Andreas Huggel 2e3672d211 #539: Make registration of namespaces actually work (Vladimir Nadvornik, S M Ryan) 2008-01-24 14:32:18 +00:00
Andreas Huggel f51e7e0512 Added type keyword to XmpTextValue, added test with a command file that generates the same XMP packet as xmpsample. 2007-10-16 15:57:27 +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