Commit Graph

52 Commits

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`
2022-09-27 09:26:26 +01:00
Viktor Schneider
2c41063984 update test cases to respect new fujifilm tags 2022-05-13 13:57:58 +02:00
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 $
```
2022-02-14 16:29:59 +01:00
Alex Esseling
1afeea0f29 fix test cases 2022-02-14 16:29:52 +01:00
Alex Esseling
55de9f4dea fix test_issue_1122.py 2022-02-14 16:29:45 +01:00
Alex Esseling
3e0d9a8b66 fix of test_issue_1151.py 2022-02-14 16:29:45 +01:00
Luis Díaz Más
c7185c71db Move all tests depending on sample applications to bash_tests 2022-02-09 22:19:49 +01:00
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
2021-12-29 17:19:23 +01:00
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.
2021-09-23 12:00:48 +01:00
Kevin Backhouse
483a1497a0
Improved handling of jpg segments to avoid out-of-bound reads. 2021-07-26 12:04:54 +01:00
Christoph Hasse
7bc9c01d95 fix: update tests following new canon lens identification 2021-06-08 22:35:45 +02:00
Luis Díaz Más
e8181a2bec Revert "Remove EPS tests"
This reverts commit 6d7d85a1ec988287ec2362e6c6b267860cab89e2.
2021-04-22 18:39:31 +02:00
Luis Díaz Más
fa4b69e2bc Remove EPS tests 2021-04-18 09:44:51 +02:00
Miloš Komarčević
77d31037eb Improve precision of GPS lat/lon printed values 2021-04-14 11:53:35 +02:00
Miloš Komarčević
bdd23ae328 Improve printing of GPS info 2021-04-13 17:22:34 +02:00
Robin Mills
0889b4518f Fixing test suite. I've explained the changes in a note in the PR. 2021-01-13 18:56:26 +00:00
Robin Mills
9b5108583b Revert "Revert "fix_1431_binary_comment.""
This reverts commit 2866415322.
2020-12-14 20:29:27 +00:00
Robin Mills
2866415322 Revert "fix_1431_binary_comment."
This reverts commit b6bf20a897.
2020-12-14 20:01:17 +00:00
Robin Mills
b6bf20a897 fix_1431_binary_comment. 2020-12-11 15:10:35 +00:00
Miloš Komarčević
5e7a563407 Pretty print PlanarConfig 2020-12-09 09:28:49 +01:00
Miloš Komarčević
8cf241ca46 Update CalibrationIlluminant test 2020-11-12 12:45:20 +01:00
Miloš Komarčević
f6abec4432 exiv2 pr uses easyaccess API (co-authored with clanmills) 2020-11-04 19:19:40 +01:00
Miloš Komarčević
ae3cda2dc8 Preserve trailing space in test_easyaccess.py output 2020-11-03 11:25:24 +01:00
Miloš Komarčević
5e92d5e078 Fix easyaccess-test 2020-11-03 11:03:46 +01:00
clanmills
3f4eccd43c Test changes to use -b where necessary. 2020-05-12 10:59:00 +01:00
clanmills
deaed70f7c Test file changes 2020-05-11 19:05:54 +01:00
clanmills
43b06b6814 Don't allow binary into the output stream! 2020-05-11 18:29:35 +01:00
clanmills
ef58603260 fix_1047_0.27 2020-04-06 11:58:10 +01:00
Daniel Beichl
1ec4f19101 Adapt Testcases to reflect new makernote attributes. 2020-03-25 17:07:06 +01:00
clanmills
db1be4ae8e fix_1046_pt-GPSProcessingMethod 2020-03-22 20:56:38 +00:00
clanmills
8859209b95 fix_1004_lens_exiftool_compatibility 2019-10-09 09:00:14 +02:00
Luis Diaz Mas
fce84fdfdf Adapt test after updating nikon lens database 2018-12-23 20:18:44 +01:00
Luis Diaz Mas
9a84d4b64f Skip python tests using -pR 2018-11-22 18:19:08 +01:00
Luis Díaz Más
2ea9039879 Adapt fujifilm regression tests 2018-11-07 12:56:23 +01:00
Dan Čermák
c7a3a57aff [testsuite] Port redmine issue #1137 (requires stdin passing) 2018-08-30 16:26:56 +02:00
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.
2018-08-30 16:26:56 +02:00
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
2018-08-30 16:26:27 +02:00
Dan Čermák
116f5fe5bd [testsuite] Port redmine issue 1074 using the binary output feature 2018-08-30 12:33:31 +02:00
Luis Diaz Mas
3d35b93fc0 Skip test 1054 unless timezone is UTC 2018-07-31 18:18:14 +02:00
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
2018-07-31 18:18:14 +02:00
Dan Čermák
39b7151b2e [testsuite] Port redmine issues 831 to 937 to the new testsuite 2018-06-06 13:59:34 +02:00
Luis Diaz Mas
5bd26ee82b Port redmine issues 1179-1305
- Authorship: Luis Díaz Más & Dan Čermák
2018-06-01 07:56:13 +02:00
Dan Čermák
d7f4453dbd [testsuite] Remove usage of $cat via hooks 2018-05-29 10:21:13 +02:00
Dan Čermák
23e29e9527 [testsuite] Use system_tests.path() in some test cases 2018-05-29 10:21:13 +02:00
Luis Díaz Más
b8b94dc67a Escape characters properly once we started using python literals 2018-05-24 11:06:18 +02:00
Luis Díaz Más
48078e9c8b Fix tests on windows by using os.path.join 2018-05-24 11:06:18 +02:00
Luis Díaz Más
72faa7331d Fix issues with python strings & literals 2018-05-24 11:06:18 +02:00
Dan Čermák
f55cdce761 [testsuite] Port redmine issues 498-825 2018-05-24 11:06:18 +02:00
Dan Čermák
2356984274 [testsuite] Ported redmine bugfixes 426-495 2018-05-24 11:06:18 +02:00
Robin Mills
4239ff6734 Test for Tamron SP AF 150-600mm F/5-6.3 VC USD G2 (A022) for Nikon 2018-05-06 12:00:20 +01:00