52 Commits (aefd901befd375da7fdedfe031e818fcbc63dd67)

Author SHA1 Message Date
Peter 9dc34ad39c
Update Sony(1|2) tags (#2323)
* Update Sony(1|2) group (minor Minolta changes)

Transcribe all tags (except for `LensID`) from main ExifTool Sony
group into Exiv2.
Changes include:
- Rename `ColorReproduction` -> `CreativeStyle` and
  `LongExposureNoiseReduction` -> `FocusMode3` to reflect use.
- Rename `0x*` tagnames to equivalent ExifTool tags (e.g.,
  `0x2006` -> `Sharpness`).
- Remove tag entries that are Groups (e.g., `ShotInfo`).
- Separate some common Sony/Minolta data as the camera types use
  different values (e.g., `Quality`)
- Additional `exiv2-Sony*.exv` test files come from ExifTool Sony
  samples (https://exiftool.org/Sony.tar.gz).

ExifTool Sony tags sources:
https://www.exiftool.org/TagNames/Sony.html
1e17485cbb/lib/Image/ExifTool/Sony.pm

* Improve coverage of `Sony(1|2)` group

* Fix clang compilation on macOS

* Fix github-code-scanning warnings

* Fix minor `Exif.Sony(1|2)` problems

* Fix tests and update `Sony(1|2)` group coverage

* Fix testing

* Minor fixes and regenerate Regression data

* Update Sony tags with `getModel()`

Make finding the Sony model more resilient by also using
`SonyModelID`.

* Fix `Exif.Sony(1|2).AFPointsUsed` type

* Improve `Exif.Sony(1|2).*` coverage

* Fix types in Sony func `getFocusMode()`

* Update Regression tests for `Sony(1|2)`

* Minor fixes to `Sony(1|2)` tags

* Update `Sony(1|2)` tag coverage

* Improve `Sony(1|2)` tag coverage

* Update easyaccess with `Exif.Sony(1|2)` tags

* Update `SonyModelID` array comment

* Add Sony `LensSpec` tag to easyaccess

* Update `Sony(1|2)` label/descriptions

* Update `int` to `size_t` (credit:@kevinbackhouse)

* Fix Windows build warning in `src/tags_int.hpp`
3 years ago
Viktor Schneider 2c41063984 update test cases to respect new fujifilm tags 3 years ago
Robin Mills e1889e39bd Fixing tests. test_issue_981.py is now running all 6 commands. The output Key has correctly changed. The type and value are wrong.
```bash
730 rmills@rmillsmm-local:~/gnu/github/exiv2/update_canon_tags_2/build $ env DYLD_LIBRARY_PATH=$PWD/lib bin/exiv2 -g InfoSize ../test/data/*981*a.exv
Exif.CanonAf2Id.AFInfoSize                   SLong       1  131168
731 rmills@rmillsmm-local:~/gnu/github/exiv2/update_canon_tags_2/build $ exiv2 -g InfoSize ../test/data/*981*a.exv
Exif.Canon.AFInfoSize                        SShort      1  96
732 rmills@rmillsmm-local:~/gnu/github/exiv2/update_canon_tags_2/build $
```
3 years ago
Alex Esseling 1afeea0f29 fix test cases 3 years ago
Alex Esseling 55de9f4dea fix test_issue_1122.py 3 years ago
Alex Esseling 3e0d9a8b66 fix of test_issue_1151.py 3 years ago
Luis Díaz Más c7185c71db Move all tests depending on sample applications to bash_tests 3 years ago
Facundo b52b6db39f
Output of -PV was not suitable for inputting to -m-, key was missing. (#1970)
* Output of -PV was not suitable for inputting to -m-, key was missing.

Fix #1969

* Make V flag to -P also print the type

This makes -PV work also for non-built-in tags (of which their type is
not known by exiv2).

* Adjust man to accomodate for the V flag change
4 years ago
postscript-dev 7ace96263e
Add SonyMisc(2b|3c) Groups in TIFF files
- Previous version only supported JPEGs.
- Update Python test to use more specific grep, as this prevents
  SonyMisc(2b|3c) from being included. Regression test to be added
  in a different commit.
4 years ago
Kevin Backhouse 483a1497a0
Improved handling of jpg segments to avoid out-of-bound reads. 4 years ago
Christoph Hasse 7bc9c01d95 fix: update tests following new canon lens identification 4 years ago
Luis Díaz Más e8181a2bec Revert "Remove EPS tests"
This reverts commit 6d7d85a1ec988287ec2362e6c6b267860cab89e2.
4 years ago
Luis Díaz Más fa4b69e2bc Remove EPS tests 4 years ago
Miloš Komarčević 77d31037eb Improve precision of GPS lat/lon printed values 4 years ago
Miloš Komarčević bdd23ae328 Improve printing of GPS info 4 years ago
Robin Mills 0889b4518f Fixing test suite. I've explained the changes in a note in the PR. 4 years ago
Robin Mills 9b5108583b Revert "Revert "fix_1431_binary_comment.""
This reverts commit 2866415322.
5 years ago
Robin Mills 2866415322 Revert "fix_1431_binary_comment."
This reverts commit b6bf20a897.
5 years ago
Robin Mills b6bf20a897 fix_1431_binary_comment. 5 years ago
Miloš Komarčević 5e7a563407 Pretty print PlanarConfig 5 years ago
Miloš Komarčević 8cf241ca46 Update CalibrationIlluminant test 5 years ago
Miloš Komarčević f6abec4432 exiv2 pr uses easyaccess API (co-authored with clanmills) 5 years ago
Miloš Komarčević ae3cda2dc8 Preserve trailing space in test_easyaccess.py output 5 years ago
Miloš Komarčević 5e92d5e078 Fix easyaccess-test 5 years ago
clanmills 3f4eccd43c Test changes to use -b where necessary. 5 years ago
clanmills deaed70f7c Test file changes 5 years ago
clanmills 43b06b6814 Don't allow binary into the output stream! 5 years ago
clanmills ef58603260 fix_1047_0.27 5 years ago
Daniel Beichl 1ec4f19101 Adapt Testcases to reflect new makernote attributes. 5 years ago
clanmills db1be4ae8e fix_1046_pt-GPSProcessingMethod 5 years ago
clanmills 8859209b95 fix_1004_lens_exiftool_compatibility 6 years ago
Luis Diaz Mas fce84fdfdf Adapt test after updating nikon lens database 7 years ago
Luis Diaz Mas 9a84d4b64f Skip python tests using -pR 7 years ago
Luis Díaz Más 2ea9039879 Adapt fujifilm regression tests 7 years ago
Dan Čermák c7a3a57aff [testsuite] Port redmine issue #1137 (requires stdin passing) 7 years ago
Dan Čermák 872e158173 [testsuite] Port redmine issue 1043
This test used shell wildcards, which we work around by creating the
list of files to process manually.
7 years ago
Dan Čermák bf43cbbccc [testsuite] Set env var TZ in redmine issue 1054 & remove skip
The manual export TZ=UTC in run.sh is thereby no longer needed
7 years ago
Dan Čermák 116f5fe5bd [testsuite] Port redmine issue 1074 using the binary output feature 7 years ago
Luis Diaz Mas 3d35b93fc0 Skip test 1054 unless timezone is UTC 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
Dan Čermák 39b7151b2e [testsuite] Port redmine issues 831 to 937 to the new testsuite 7 years ago
Luis Diaz Mas 5bd26ee82b Port redmine issues 1179-1305
- Authorship: Luis Díaz Más & Dan Čermák
7 years ago
Dan Čermák d7f4453dbd [testsuite] Remove usage of $cat via hooks 7 years ago
Dan Čermák 23e29e9527 [testsuite] Use system_tests.path() in some test cases 7 years ago
Luis Díaz Más b8b94dc67a Escape characters properly once we started using python literals 7 years ago
Luis Díaz Más 48078e9c8b Fix tests on windows by using os.path.join 7 years ago
Luis Díaz Más 72faa7331d Fix issues with python strings & literals 7 years ago
Dan Čermák f55cdce761 [testsuite] Port redmine issues 498-825 7 years ago
Dan Čermák 2356984274 [testsuite] Ported redmine bugfixes 426-495 7 years ago
Robin Mills 4239ff6734 Test for Tamron SP AF 150-600mm F/5-6.3 VC USD G2 (A022) for Nikon 7 years ago