-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for EXIF 2.32 #49
base: master
Are you sure you want to change the base?
Conversation
9b27ee3
to
d82fdb4
Compare
This PR does not make Should you have any idea how to fix these constants without breaking backwards compatibility, I would be happy to read about it. |
Hi @gitne Thanks a lot for your contribution. I am currently overseas, but planning to look into this PR as soon as I have some spare time. On backward compatibility, thanks a lot for taking that into consideration. That's an important point. We have added 1 backward incompatible change after the alpha1 release. Which means that the alpha2 release would not be backward compatible. There was some discussion in the mailing list on whether it would be OK or not to add such changes in alpha releases. I believe for now we are going with a per-component policy, where alpha releases in Commons Imaging would not be behaviour/binary backward compatible (we still have time to discuss that before alpha2). I'm writing to that thread about this PR, to confirm whether we are keeping BC or not. If not, it would be great if you would be willing to complete the work for fully compliance with the standard. Thanks |
After thinking about it a bit longer, I have realized that this PR already does break backwards compatibility in a specific situation. Namely, if an application relies on a deprecated We can work around Furthermore, |
@gitne I think we are good with breaking changes before the final 1.0 release (see mailing archive: https://markmail.org/thread/dszscnnjpy5shu5f). Feel free to complete the PR with any other changes you may find useful. Just let us know once it's ready for review 👍 And thanks for your contribution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One test failing on Travis:
[ERROR] Failures:
[ERROR] TiffTagIntegrityTest.testTagIntegrity:62->verifyFields:115 Missing tag 34867
[INFO]
[ERROR] Tests run: 615, Failures: 1, Errors: 0, Skipped: 16
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
Thank you for catching this. 👍 I have rebased the faulty commit. I have one commit yet to come. It is just basically a reorder of Additionally, IMHO all non-standard tags should either be put into separate |
Yeah, that's a not very nice issue finding the tags... but I think that's probably better done in another PR later. |
The Travis CI job fails for some PR unrelated reason. Can you fix it? Basically, this PR is done, unless you want me to change something. |
@gitne it's a checkstyle issue. If you click on "Details" next to the Travis CI check (👇 ) there should be a few jobs within this PR's build. Looking at a random job's log, I see:
Looking at the changed files in this PR, it's possible to spot that your editor probably removed the empty line at the end of the file. If you add that back, squash your commit, and push, Travis should kick again and hopefully pass this time 🤞 BTW, I've been holding back reviewing this one until you confirmed you got everything ready. I remember you mentioning you wanted to add something more... so just let us know once it's ready for review :) Cheers |
I have added terminal newlines where applicable but Travis CI still fails for some unrelated reason. Btw, personally I consider tools which require you to put a terminal newline in your files to be broken or to have a badly implemented parser. That pseudo argument for terminal newlines where stream processing concatenated files my lead to undesired behavior is dumb. It is naive to assume that processing concatenated files and processing files separately will or should always produce identical results. It is the file format that governs parsing not the mode of processing. |
Hi @gitne
You have to rebase your branch on master. I've fixed the Javadoc error on JVM 13. So once rebased, this PR should pass Travis with no issues 🤞 . Do you intend to modify anything else in the PR? Add any feature/code?
Just to clarify, the newline here is for git. I believe it came from unix where it was good practice to have the newline. Not sure if there's a practical reason for that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased, and tried to fix conflicts. @gwlucastrig some constants changed here are related to your previous change in TIFF constants class, maybe you can confirm they look good too, from what you remember?
Will re-read the PR later, with more calm, and see if it's ready to be merged or if it needs any further work. Thanks @gitne
This PR also fixes some tag names and deprecates invalid tags.