108 Commits (main)

Author SHA1 Message Date
norbertwg b1b9e74df8 change print of Exif.Canon.SerialNumber
output now aligned with Canon Photo Digital Professional 4
as print0x000c was also used for 0x000a, new function print0x000a
as copy from old print0x000c
1 year ago
Miguel Borges de Freitas 6b5cb98411 Add test to validate jpeg parse 1 year ago
norbertwg d43d91e5f0 three Nikon keys added to easyaccess 2 years ago
norbertwg fc7d570207 remove Exif.Photo.SceneCaptureType from sceneMode,
because it is included in easyaccess group sceneCaptureType
2 years ago
norbertwg d8174f23bc Nikon printApertureLd4 translate value 0 to n/a 2 years ago
luzpaz 39a4b9b930 Fix various typos
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./doc/ChangeLog,./xmpsdk -L alis,discus,filetest,ist,nd,ois,optio,siz,te,tempdate`
Excluded 3rd-party code (ie ./xmpsdk)
2 years ago
Rosen Penev ff7bfb3798
Merge pull request #2422 from norbertwg/interpretation-for-Exif.Photo.LensSpecification
Interpretation for Exif.Photo.LensSpecification
2 years ago
norbertwg db2f4ee377 interpretation for ExifPhoto.LensSpecification
printLensSpecification is copied from old Nikon3MakerNote::print0x0084
call of Nikon3MakerNote::print0x0084 replaced by printLensSpecification

add two lens tags to EasyAccess API
Exif.Photo.LensSpecification and Exif.Nikon3.Lens

handling of zero; more precision for focal length

silence compiler warnings
2 years ago
Kevin Backhouse 4a6d786256 Fix test failures on 32-bit platforms. 2 years ago
norbertwg 9ca161d1e5
Rename resp. remove duplicate exif keys (#2434)
* rename resp. remove duplicate Exif keys

Duplicate key names with different tag are renamed
Following most of the existing entries, the key with higher tag number
is renamed to ...2.
Exceptions: Canon.CustomFunctions,Olympus.ImageHeight,Olympus.ImageWidth
In the available images samples only the key with higher tag number is
used, so changing the other has less impact on test data and also on
users.
Canon.WhiteBalanceTable with tag 0x00a4 was listed twice, once with
description "SharpnessTable". The entry with the deviating description
is deleted.

* clang format

* adjust test output files (after merge with Exiv2)

* add Exif.NikonLd4.FocusDistance to EasyAccess API

* clang format
2 years ago
norbertwg e38d3d9976 several keys added to easyaccess
sample easyaccess-test enhanced with additional optional arguments
"category" for easier definition of some tests
3 years ago
Peter dc4ae73013
Add tag description option to exiv2 app (#2279)
* Add `tagDesc()` to (Exif|Xmp|Iptc) Datums and Keys
* Add `--Print d` option to exiv2 app
* Add testing for all exiv2 application `--Print` options
* Update manpage
3 years ago
Luis Díaz Más 941017d281
Fix issues on ARM builds (#2205)
* Specify base class initialization in Copy Constructor

* Fix printing of uint64_t variable in ARM 32bits

Use cinttypes

* Fix alignment issues on ARM 32 bits

* tests: add assertion with custom message
3 years ago
Luis Díaz Más c6340caca7 Remove exiv2json sample and tests depending on it 3 years ago
Peter d17b7e4484
Fix test_pr_1905.py for native 2019msvc64 (#2108) (#2112)
* Fix test_pr_1905.py for native 2019msvc64 (#2108)

* Move test_pr_1905_poc1_ref.out to reference dir
3 years ago
Luis Díaz Más 50fc40bb7c Add system test to reproduce issue with special characters 3 years ago
Christoph Hasse e3ca59b01f move test_regression_allfiles.py into its own subdirectory and add the test to cmakelists.txt 3 years ago
Christoph Hasse b318b9de65 feat(testing): add a new extensive regression test that runs exiv2 over every test file we have 3 years ago
Christoph Hasse d0131ebb75 move test reference files into their own subdirectory 3 years ago
Luis Díaz Más c7185c71db Move all tests depending on sample applications to bash_tests 3 years ago
Robin Mills 82371c4d09 Adding version_test.py. 4 years ago
Robin Mills 13a2cf336d
fix_1416_iptc_DateCreated (#1547)
* fix_1416_iptc_DateCreated

* Fix unit tests

* DateValue:read 2nd iteration on pre-condition

* test with ISO_8601 date format

* Use std::regex for ISO 8601 basic & extended date formats

* Use std::regex for ISO 8601 basic & extended time formats

* Add more tests & notes for DateValue & TimeValue

* Comment tests using local calendar times

* DateValue::write also adds padding to year field

Co-authored-by: Luis Díaz Más <piponazo@gmail.com>
4 years ago
Christoph Hasse 08975e3dfc refactor: small cleanup of test infra to avoid duplicate runs 4 years ago
Robin Mills 5c13660f1e Add optional parameter forgive=False to reportTest() for use by nls_test to avoid false fails. 4 years ago
Robin Mills da52bb3b0b Better logic and error message. 4 years ago
Robin Mills 72b73bb146 Sniff for unit_tests.exe! 4 years ago
Robin Mills bbec658185 Fix LD_LIBRARY_PATH. Add option arg raw=False to runTest() Use raw=True in unit_test.py. 4 years ago
Robin Mills 354a8f6971 Fix comments. 4 years ago
Robin Mills 5e82f260a1 Add python scripts equivalent to test/version_test.sh and unit_test.sh 4 years ago
Robin Mills 19aab434a5 Move system_tests.runTest() and system_tests.verbose_version() to system_tests.BT 4 years ago
clanmills 985617cdfc Adding support for VALGRIND and EXIV2_BINDIR 5 years ago
clanmills 43698f414b Adding support for environment strings EXIV2_HTTP and EXIV2_PORT 5 years ago
LeoHsiao bae5032ba0 Merge branch 'feature_1372_support_env_variables' of https://github.com/Exiv2/exiv2 into feature_1372_support_env_variables 5 years ago
LeoHsiao 7abb8dbe0f Cancel adding a newline when testing 5 years ago
clanmills d6b029ad6e Don't set --verbose in makefile. Don't treat exiv2_echo == VERBOSE. 5 years ago
LeoHsiao da919e3d68 Set the default value for the variable VALGRIN to empty 5 years ago
LeoHsiao 0c7d231752 let `make python_tests` runs in verbose mode 5 years ago
LeoHsiao e0486ec063 Set the variable EXIV2_ECHO when executing `make python_tests VERBOSE=1` 5 years ago
LeoHsiao 3aedb60513 Support variables: DYLD_LIBRARY_PATH, LD_LIBRARY_PATH 5 years ago
LeoHsiao ded2b3c9a3 Support to display the command to execute 5 years ago
LeoHsiao 5e11376609 Supports setting EXIV2_HTTP or EXIV2_PORT to '' to ignore HTTP test 5 years ago
LeoHsiao 076cdf6f1e Fix nls_test(): Check only part of the output 5 years ago
LeoHsiao 068a80c1e2 Correct the output of exiv2-test 5 years ago
Robin Mills 55bdaafebf
Merge pull request #1341 from Exiv2/fix_1278_nls_test_0.27
Fix 1278 nls test 0.27
5 years ago
LeoHsiao ae1fbab645 Fix variable LANG in nls_test() 5 years ago
Robin Mills 256a65753c https://github.com/Exiv2/exiv2/pull/1356#issuecomment-707828789 5 years ago
LeoHsiao fc91004830 add nls_test() 5 years ago
LeoHsiao 64e64b4a9b Enhance function find(), cp(), rm(), mv() 5 years ago
clanmills 9fa6d3965a C++ changes requested by @piponazo. Fix python png_test() recommended by @LeoHsiao1. Update reference output. 5 years ago
clanmills 834dca39d0 Code changes 5 years ago