Rosen Penev
cdbee3c26c
clang-tidy: init in member initializer
...
Found with cppcoreguidelines-prefer-member-initializer
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
8564d0b394
clang-tidy: pass by value
...
Found with modernize-pass-by-value
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
f9d394adf0
clang-tidy: run through performance checks
...
Found with performance*
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
b8712188bb
clang-tidy: use auto
...
Found with modernize-use-auto
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
8e52032ee0
clang-tidy: range loop conversions
...
Found with: modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
c73dfa0106
clang-tidy: use uppercase numeric literals
...
Found with readability-uppercase-literal-suffix
Signed-off-by: Rosen Penev <rosenp@gmail.com>
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 Diaz Mas
e87424b5e0
Add CTest support
4 years ago
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>
4 years ago
Rosen Penev
1b9b77c51f
clang-tidy: add ending namespace comments
...
Found with google-readability-namespace-comments
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
fddb035106
clang-tidy: remove pointless const
...
Found with readability-avoid-const-params-in-decls
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
80595f8468
clang-tidy: remove duplicate public
...
Found with readability-redundant-access-specifiers
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
5d716c7df4
clang-tidy: empty() conversions
...
Found with readability-container-size-empty
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
9642e3cceb
clang-tidy: remove pointless string init
...
Found with readability-redundant-string-init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
143a1fbbe2
clang-tidy: don't use string compare
...
Found with readability-string-compare
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
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>
4 years ago
Rosen Penev
af7b2430c5
clang-tidy: use override
...
Found with modernize-use-override
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
15f0a600ed
clang-tidy: use default member init
...
Found with modernize-use-default-member-init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
bd6a996181
clang-tidy: use using
...
Found with modernize-use-using
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
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>
4 years ago
Rosen Penev
1dc1186760
clang-tidy: simplify boolean expressions
...
Found with readability-simplify-boolean-expr
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
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>
4 years ago
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>
4 years ago
Rosen Penev
5a4c3cd057
convert Pair to std::pair
...
This is C++11 now.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Luis Díaz Más
582edd399c
cmake: ignore PDBs warnings on Win/Debug/Static buils
4 years ago
Rosen Penev
84220855b2
clang-tidy: use = delete
...
Found with modernize-use-equals-delete
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Luis Díaz Más
53f18cf408
conan: use cmake_paths generator instead of cmake
...
We also upgraded the xcode version on Travis-CI
4 years ago
Luis Díaz Más
f601d23d5e
conan: update conan recipe versions
4 years ago
Luis Díaz Más
c33c6abc82
Remove useless explicit constructor
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
75e4bd9059
Remove rest of useless typedefs from datasets.hpp
4 years ago
Luis Díaz Más
83dda6ccd7
Fix warnings related to -Wdeprecated-copy
4 years ago
Luis Díaz Más
94b87a8dec
Remove deprecated SSH support
4 years ago
Luis Díaz Más
0bbaa6eff3
cpp: Replace auto_ptr by unique_ptr
4 years ago
Robin Mills
fe1c338fc2
Merge pull request #1504 from eokeeffe/0.27-maintenance
...
metacopy -x parameter not in optstring
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
evanokeeffe
160ee8ba9b
found a bug in metacopy, the -x parameter wasn't in the optstring. rectified that
4 years ago
Robin Mills
d632988bbd
Massive code prolog cleanup.
4 years ago
Lemures Lemniscati
77ef37fe79
samples/xmpprint.cpp: Fix typos
5 years ago
Miloš Komarčević
5e92d5e078
Fix easyaccess-test
5 years ago
Miloš Komarčević
95c0df6c14
Test cover for added easyaccess methods
5 years ago
Robin Mills
da1b02d644
fix_1268_GPSProcessingMethod
5 years ago
Robin Mills
7bf40a2408
fix_1211_c++11_0.27. I'll explain this in the PR.
5 years ago
clanmills
f24f24e026
Documentation updates for v0.27.3 RC2
5 years ago
clanmills
2f2bf69f6c
README.md General revision. Mostly simplifying "4 Test Suite".
5 years ago
Robin Mills
c64f2e8ea1
iotest.cpp polishing.
5 years ago
Robin Mills
ef56e5b61e
Fix comment typo
5 years ago
clanmills
158fba1b99
Fix blocksize in iotest.cpp.
5 years ago
clanmills
32b9a2dfa1
Change EXIV2_HTTP default to http://localhost to keep msvc build happy. iotest.cpp modified to compile with msvc.
5 years ago
Robin Mills
7e55f5d5be
Merge branch '0.27-maintenance' into http_iotest_0.27
5 years ago
clanmills
5aa09915ea
Documentation update. Fixed typo in comment in functions.source
5 years ago
clanmills
7956aa0ad9
See #1029 Added option to samples/iotest.cpp to specify blocksize for remote copy.
5 years ago
Robin Mills
3d0e05f40d
Merge branch '0.27-maintenance' into http_iotest_0.27
5 years ago
clanmills
c0ec4cf6a4
Polishing iotest.sh by moving functions start/closeHttpServer to functions.source. Updated documentation.
5 years ago
clanmills
037849ea9e
Add optional parameter to iotest.cpp to create the input file by copying from a remote location.
5 years ago
clanmills
e15c483e29
Use toString() instead of value() to write to std::cout. https://github.com/Exiv2/exiv2/issues/901#issuecomment-627872855
5 years ago
clanmills
43b06b6814
Don't allow binary into the output stream!
5 years ago
Robin Mills
a1abe21a71
Discussion: https://github.com/Exiv2/exiv2/issues/1200#issuecomment-623975537
5 years ago
clanmills
8f5b740270
put them back.
5 years ago
clanmills
79b37ec3aa
Putting geotag.cpp back into the product (git strikes again)
5 years ago
Robin Mills
cd9ee99567
Delete geotag.cpp
5 years ago
clanmills
63a13e8620
Adding option -DEXIV2_BUILD_USE_C++11
5 years ago
clanmills
d994161e80
Added option -remove to samples/geotag.cpp
5 years ago
clanmills
759ce9fffe
fix_1046_sample_geotag Take advantage of fix to #1046 in samples/geotag.cpp
5 years ago
Robin Mills
df04671976
Enforce cxx_std_98 in samples, unit_tests, and exiv2 application (to eliminate 2305 GCC unique_ptr warnings)
5 years ago
Robin Mills
f7c14e62fb
taglist_unexpected_arg_0.27
5 years ago
Luis Diaz Mas
215099e977
Fix in largeiptc-test
5 years ago
clanmills
13565be3d2
Change for solaris.
5 years ago
clanmills
e62bd8b94e
fix_1158_0.27
5 years ago
clanmills
0eabfc4053
Adding CPP changes
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
Luis Díaz Más
398139ec54
Usage of EXIT_SUCCESS and EXIT_FAILURE
6 years ago
Luis Díaz Más
23eb91aa6e
Replace for-loop with while to improve readability.
...
Note that I also moved the std::string out of the loop so that we do not
need to allocate/deallocate the string several times.
6 years ago
clanmills
34f10994fb
fix 987: Added options all and ALL to samples/taglist
6 years ago
Luis Díaz Más
113136e134
Replace DEBUG with EXIV2_DEBUG_MESSAGES
...
Fixes #926
6 years ago
Robin Mills
0a47d93ccf
Add README-SAMPLES.md and remove exiv2samples.1 ( #921 )
...
* Add README-SAMPLES.md and remove exiv2samples.1
* Remove samples man page from CMake
* Add all sample programs to Doxygen.
* Adding links to source code on exiv2.org
Authored-By: Robin Mills <robin@clanmills.com>
Authored-By: Luis Díaz Más <piponazo@gmail.com>
6 years ago
Luis Díaz Más
f05d100579
CURL lib and include directories private for exiv2lib
...
(cherry picked from commit 5d64a0b11c5a45dd9d58c56e946301f3f98942a7)
6 years ago
Luis Díaz Más
85c27ea3b4
Link geotag sample against exiv2-xmp
6 years ago
Luis Díaz Más
4fa2bc7008
Propagate CURL linkage when it is enabled
7 years ago
Luis Diaz Mas
6f8d8e3da6
cleanup header inclusions in API
7 years ago
Luis Díaz Más
4ed5bdc78b
CMake: Supress MSVC PDB warnings
7 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
Luis Díaz Más
e20329b8e0
Remove EXV_HAVE_DLL and disable C4251 always on msvc.
7 years ago
Luis Díaz Más
2d1e1fe6ef
Reduce the scope of variables
7 years ago
Luis Díaz Más
dc7eb5008b
Add explicit to constructors with 1 argument
7 years ago
clanmills
4a1d0962fc
Fix samples/tags.cpp to call ExifTags::taglist() ( https://github.com/Exiv2/exiv2/issues/465 )
7 years ago
Robin Mills
12d44f8f17
Fix https://github.com/Exiv2/exiv2/issues/468
7 years ago
Luis Díaz Más
c43d998457
Fix cppcheck issues: passedByValue
7 years ago
Luis Díaz Más
989acd18c7
Fix cppcheck issues: uninitMemberVar & uninitVar
7 years ago
Robin Mills
8b9cbc5888
Update taglist sample with more functionality
7 years ago
Luis Díaz Más
18690f4c54
Provide default and copy constructor for AnyError
7 years ago
Luis Díaz Más
2afba9b127
Remove useless cmake information message
7 years ago
Luis Díaz Más
603692a1d8
Copyright to Exiv2 authors
7 years ago
Luis Díaz Más
320e186f44
Fix -Wmaybe-uninitialized warnings
7 years ago
Luis Díaz Más
2698490584
Delete CRW samples that were not compatible with MinGW
7 years ago
clanmills
3c42fdddeb
Fix include <exiv2/exiv2.hpp> to include exiv2/config.h (and consequential changes)
...
Fix cltest.cpp and version.cpp to report MSVC 2017 in which _MSC_VER == 1910
7 years ago
Robin Mills
6f5c339859
Fix getopt-test to build on MSVC (which does not have unistd/getopt())
7 years ago
Robin Mills
74bc0e0535
Changes for cross-platform getopt
7 years ago
Luis Diaz Mas
a9c9451588
Remove localtime.c and any other trick to handle timegm
7 years ago