Commit Graph

301 Commits

Author SHA1 Message Date
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 Diaz Mas
e87424b5e0 Add CTest support 2021-05-15 16:58:24 +02:00
Rosen Penev
4aa5566cf6 clang-tidy: make several member functions const
Found with readability-make-member-function-const

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-15 08:42:04 +02:00
Rosen Penev
1b9b77c51f clang-tidy: add ending namespace comments
Found with google-readability-namespace-comments

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-14 17:34:09 +02:00
Rosen Penev
fddb035106 clang-tidy: remove pointless const
Found with readability-avoid-const-params-in-decls

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-13 16:02:18 +02:00
Rosen Penev
80595f8468 clang-tidy: remove duplicate public
Found with readability-redundant-access-specifiers

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-13 11:52:02 +02:00
Rosen Penev
5d716c7df4 clang-tidy: empty() conversions
Found with readability-container-size-empty

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-12 07:12:15 +02:00
Rosen Penev
9642e3cceb clang-tidy: remove pointless string init
Found with readability-redundant-string-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-12 07:12:15 +02:00
Rosen Penev
143a1fbbe2 clang-tidy: don't use string compare
Found with readability-string-compare

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-12 07:12:15 +02:00
Rosen Penev
8337462032 clang-tidy: use empty() instead of comparing size
Found with readability-container-size-empty

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-11 22:02:47 +02:00
Rosen Penev
af7b2430c5 clang-tidy: use override
Found with modernize-use-override

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-11 17:39:59 +02:00
Rosen Penev
15f0a600ed clang-tidy: use default member init
Found with modernize-use-default-member-init

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-11 15:01:26 +02:00
Rosen Penev
bd6a996181 clang-tidy: use using
Found with modernize-use-using

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-09 17:42:51 +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
Rosen Penev
1dc1186760 clang-tidy: simplify boolean expressions
Found with readability-simplify-boolean-expr

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-09 17:30:46 +02:00
Rosen Penev
8128716287 clang-tidy: use = default
Found with modernize-use-equals-default

Ran through git clang-format

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-05-09 15:18:50 +02:00
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