Skip to content
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

Bug fixes and code cleanup #257

Closed
wants to merge 10 commits into from
Closed

Conversation

david-russo
Copy link
Member

@david-russo david-russo commented Jun 7, 2017

  • Fixed a false invalid result for encrypted PDFs
  • Improved TIFF and PDF error-handling
  • Improved file-handling during errors
  • Changed status to "Unknown" instead of "Not well-formed" for inaccessible files
  • Minor refactoring in JhoveBase, PDF and WAVE modules
  • Changed WAVE files' reported MIME type from audio/x-wave to audio/vnd.wave per RFC 2361

@david-russo david-russo changed the title Fixes a false invalid result for encrypted PDFs Bug fixes and code cleanup Jun 28, 2017
@david-russo david-russo added the bug A product defect that needs fixing label Jul 19, 2017
Value 4 was introduced in PDF 1.5. This fixes a false invalid result.
Improved grammar; replaced iterators with for-each loops; disambiguated
variable names; removed unused code; edited comments; made whitespace
consistent; etc.
david-russo and others added 4 commits August 30, 2017 14:31
Removed declaration of support for non-PCMWAVEFORMAT-derived
("WAVEFORMAT") formats, which are currently unsupported.

Changed reported MIME type from `audio/x-wave` to `audio/vnd.wave`
per RFC 2361. This will allow support for the extended MIME type
`codec` parameter to be added in the future, also per the RFC.
Fixed indentation; replaced magic numbers; removed unused code;
optimized imports; refactored minor methods; cleaned-up JavaDoc
- Corrected modules list
- Updated JHOVE versions and dates
- Updated copyright year
- Made minor copy edits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A product defect that needs fixing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants