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
Luis Diaz Mas
d96b619515
Add braces for the main functions in the new source files at samples
7 years ago
Luis Diaz Mas
00502eabdd
Move mrwthumb to samples
7 years ago
Luis Diaz Mas
e9a6597a48
Move xmpdump to samples
7 years ago
Luis Diaz Mas
ac51fda7b5
Move crwparse to samples
7 years ago
Luis Diaz Mas
32b618b1c7
Move crwedit from exiv2lib to samples
7 years ago
Luis Diaz Mas
0d9065274e
Remove redefinition of UNUSED
7 years ago
Luis Diaz Mas
145f8fc456
Port redmine issues from the bash test suite to the python one.
...
* Port redmine issue 1024
* Port redmine issue 1026
* Port redmine issue 1040
* Port redmine issue 1044
* Port redmine issue 1053
* Port redmine issue 1054 (not finished yet; I found some issues there)
* Port redmine issue 1058
* Port redmine issue 1062
* Port redmine issue 1080
* Port redmine issue 1108
* Port redmine issue 1112
* Port redmine issue 1114
* Port redmine issue 1122
* Port redmine issue 1140
* Port redmine issue 1144
* Port redmine issue 1145
* Port redmine issue 1153
* Port redmine issue 1155
* Port redmine issue 1166
* Port redmine issue 1167
* Port redmine issue 1170
* Replace escaped chars in 1054
* Add brackets in exiv2json::main()
* Link all sample apps against exiv2lib
* Changes in 1054
* test 1054: fix dates depending on Local time
* Do not run make with VERBOSE=1
* Use system_tests.path
* Fix windows issues with quotes
* Use system_tests.path
* Use itertools to simplify test code
7 years ago
Luis Diaz Mas
abf6e8ec27
Remove code related with autotools
7 years ago
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.
7 years ago
Luis Díaz Más
335607054c
Use enforce instead of std::assert to fix warning about unused variable in realease mode
7 years ago
Luis Diaz Mas
773bdfd14e
Create a header where to keep an unique definition of UNUSED
7 years ago
Dan Čermák
79f8d63a8b
Whitespace cleanup
7 years ago
Dan Čermák
5e36363138
Fix double promotion issues
7 years ago
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)
7 years ago
Luis Díaz Más
d55b2b1b65
Remove HAVE_STDLIB_H check and replace stdlib.h by cstdlib
7 years ago
Mario Emmenlauer
548d7688c7
samples/geotag.cpp: fixed debugging code to be in the correct ifdef
7 years ago
Dan Čermák
8b7941b733
[cmake] Add EXTRA_COMPILE_FLAGS to samples & unitTests
...
Add the additional compiler flags added by -DEXIV2_TEAM_EXTRA_WARNINGS=ON to
the targets in samples/ & unitTests/
This fixes #204
7 years ago
Luis Díaz Más
d21e794239
Do not deference value when it does not exist (Thanks D4N)
7 years ago
Dan Čermák
efe2ccdcb6
Replaced all hardcoded error codes with ker... constants
7 years ago
Robin Mills
8f5b795eaa
Fixes to autotools build to respect mn_int.cpp files ( #186 )
...
* Fixes to autotools build to respect mn_int.cpp files
* Changes following Luis' code review.
8 years ago
tbeu
2efc2e79da
Remove obsolete id
8 years ago
tbeu
5df8b01b77
Remove obsolete svn revision
8 years ago
Luis Díaz Más
3dbc7c1969
Fix compilation on Windows
8 years ago
Robin Mills
22aaff8682
Fix cmakeBuild.cmd --static to use zlibstatic.lib
8 years ago
clanmills
d366943297
Refactoring EXV_USE_CURL and EXV_USE_SSH
8 years ago
Robin Mills
60d436c969
Many changes to CMakeLists.txt and cmakeBuild.cmd to support unicode, static linking, passing shared library build flags.
8 years ago
Robin Mills
78e7cc8f69
Fixing samples/Makefile on linux
8 years ago
Robin Mills
b5cac373b1
Merge pull request #39 from Exiv2/autotoolsMacLink
...
./configure --with-adobe[=2016|2014|2013] for MacOSX
8 years ago
Andreas Sturmlechner
a768b85191
Lowercase target_link_libraries
8 years ago
Andreas Sturmlechner
1fc319c0e4
Lowercase add_custom_target, configure_file, install macros
8 years ago
Andreas Sturmlechner
40565761d1
Lowercase add_{definitions,subdirectory}, set{_*} and option macros
8 years ago
clanmills
573b2cfcd2
XMPsdk fixes. 2013 and 2016 build and (mostly) pass the test suite.
8 years ago
Luis Diaz Mas
90e8ad8a72
Only set CMAKE_RUNTIME_OUTPUT_DIRECTORY once
8 years ago
Luis Díaz Más
6a00d4b282
Move code from CMake_msvc.txt to config/compilerFlags.cmake
8 years ago
Andreas Sturmlechner
aa6374b202
Use more GNUInstallDirs
...
Conveniently fixes multiarch install dir issues.
8 years ago
Luis Diaz Mas
c415e7f509
Fix CMake configuration when XMP is disabled. Check XMP variable instead LIBXMP
8 years ago
Luis Diaz Mas
35c3e31958
Fixes for MSVC case
8 years ago
Luis Diaz Mas
27cde135d9
Remove more useless include_directories
8 years ago
Luis Diaz Mas
f5f5826c03
Use target_sources to extend the list of sources in exceptional situations
8 years ago
Luis Díaz Más
0ebd53b1fa
Simplify CMake code, and unify to lower case commands
8 years ago
Luis Díaz Más
73f53cc6f9
Move sample applications from src/CMakeLists.txt to samples/CMakeLists.txt
8 years ago
Luis Diaz Mas
b387d58507
Remove EXPAT_LIBRARIES from where it is not needed (already inherited from exiv2lib target)
8 years ago
Luis Diaz Mas
b4a2b822c2
Remove usage of global variable INSTALL_TARGET_STANDARD_ARGS. Specify install destinitions in each target
8 years ago
clanmills
2e816165ea
Changes to autotools to support C++11 (work in progress)
8 years ago
Luis Díaz Más
291726ae45
The geotag sample depends on EXIV2_ENABLE_LIBXMP
8 years ago
Luis Díaz Más
b6885c8028
Since we are requiring CMake 3.1 we can remove the usage of PRIVATE_VAR and use directly PRIVATE or PUBLIC
8 years ago
clanmills
122cd5737f
Cosmetic modifications to Pull-21. Fix to ensure Cygwin uses #include <unistd.h>
8 years ago
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.
8 years ago
clanmills
290164d1b6
Work in progress: https://github.com/Exiv2/exiv2/issues/3
...
Tested on MacOS-X. I'll test Linux/Cygwin/MSVC and close if good.
8 years ago
draekko
f23dc54b9c
Adding xmpprint sample
8 years ago
clanmills
038fe6cb94
#1233 Fixed bug in samples/geotag.cpp
8 years ago
Robin Mills
7b882f121a
#1175 more cast ripples on GCC5/Linux
8 years ago
Robin Mills
1ff0bef409
#1175 Correction to r4597 Additional file (which, in error, I didn't to commit)
8 years ago
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.
8 years ago
Robin Mills
73047ce568
#1279 Correction to r4748 which broke the CMake build.
8 years ago
Robin Mills
be0945016b
#1269 Thank You to Ben for reporting this and providing the patch.
8 years ago
Robin Mills
6d5c2c3256
Getting ready to release v0.26
8 years ago
Robin Mills
6ea3b00b02
#1249 Fixes
9 years ago