Commit Graph

285 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
Rosen Penev
5a4c3cd057 convert Pair to std::pair
This is C++11 now.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-03 07:16:51 +02:00
Luis Díaz Más
582edd399c cmake: ignore PDBs warnings on Win/Debug/Static buils 2021-05-03 06:40:02 +02:00
Rosen Penev
84220855b2 clang-tidy: use = delete
Found with modernize-use-equals-delete

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-03 06:34:47 +02:00
Luis Díaz Más
53f18cf408 conan: use cmake_paths generator instead of cmake
We also upgraded the xcode version on Travis-CI
2021-04-23 14:53:08 +02:00
Luis Díaz Más
f601d23d5e conan: update conan recipe versions 2021-04-23 14:53:08 +02:00
Luis Díaz Más
c33c6abc82 Remove useless explicit constructor 2021-04-22 18:40:03 +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
75e4bd9059 Remove rest of useless typedefs from datasets.hpp 2021-04-19 10:43:46 +02:00
Luis Díaz Más
83dda6ccd7 Fix warnings related to -Wdeprecated-copy 2021-04-18 18:49:58 +02:00
Luis Díaz Más
94b87a8dec Remove deprecated SSH support 2021-04-18 09:44:51 +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
fe1c338fc2
Merge pull request #1504 from eokeeffe/0.27-maintenance
metacopy -x parameter not in optstring
2021-04-03 12:56:37 +01: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
evanokeeffe
160ee8ba9b found a bug in metacopy, the -x parameter wasn't in the optstring. rectified that 2021-03-23 12:49:26 +00:00
Robin Mills
d632988bbd Massive code prolog cleanup. 2021-03-17 13:34:21 +00:00
Lemures Lemniscati
77ef37fe79 samples/xmpprint.cpp: Fix typos 2020-12-28 22:22:38 +09:00
Miloš Komarčević
5e92d5e078 Fix easyaccess-test 2020-11-03 11:03:46 +01:00
Miloš Komarčević
95c0df6c14 Test cover for added easyaccess methods 2020-11-03 09:04:15 +01:00
Robin Mills
da1b02d644 fix_1268_GPSProcessingMethod 2020-08-29 12:10:50 +01:00
Robin Mills
7bf40a2408 fix_1211_c++11_0.27. I'll explain this in the PR. 2020-05-28 14:16:08 +01:00
clanmills
f24f24e026 Documentation updates for v0.27.3 RC2 2020-05-18 18:28:30 +01:00
clanmills
2f2bf69f6c README.md General revision. Mostly simplifying "4 Test Suite". 2020-05-17 17:59:22 +01: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
Robin Mills
7e55f5d5be
Merge branch '0.27-maintenance' into http_iotest_0.27 2020-05-14 21:09:40 +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
Robin Mills
3d0e05f40d
Merge branch '0.27-maintenance' into http_iotest_0.27 2020-05-14 13:19:17 +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
clanmills
e15c483e29 Use toString() instead of value() to write to std::cout. https://github.com/Exiv2/exiv2/issues/901#issuecomment-627872855 2020-05-13 10:46:15 +01:00
clanmills
43b06b6814 Don't allow binary into the output stream! 2020-05-11 18:29:35 +01:00
Robin Mills
a1abe21a71 Discussion: https://github.com/Exiv2/exiv2/issues/1200#issuecomment-623975537 2020-05-05 11:58:55 +01:00
clanmills
8f5b740270 put them back. 2020-05-02 19:05:25 +01:00
clanmills
79b37ec3aa Putting geotag.cpp back into the product (git strikes again) 2020-05-02 18:48:53 +01:00
Robin Mills
cd9ee99567
Delete geotag.cpp 2020-05-02 18:33:10 +01:00
clanmills
63a13e8620 Adding option -DEXIV2_BUILD_USE_C++11 2020-05-02 12:21:21 +01:00
clanmills
d994161e80 Added option -remove to samples/geotag.cpp 2020-05-01 17:40:20 +01:00
clanmills
759ce9fffe fix_1046_sample_geotag Take advantage of fix to #1046 in samples/geotag.cpp 2020-05-01 16:18:01 +01:00
Robin Mills
df04671976 Enforce cxx_std_98 in samples, unit_tests, and exiv2 application (to eliminate 2305 GCC unique_ptr warnings) 2020-04-30 11:20:37 +01:00
Robin Mills
f7c14e62fb taglist_unexpected_arg_0.27 2020-04-28 14:51:29 +01:00
Luis Diaz Mas
215099e977 Fix in largeiptc-test 2020-04-24 07:42:41 +02:00
clanmills
13565be3d2 Change for solaris. 2020-04-15 16:53:03 +01:00
clanmills
e62bd8b94e fix_1158_0.27 2020-04-14 09:04:17 +01:00
clanmills
0eabfc4053 Adding CPP changes 2020-03-29 15:58:03 +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