pdfminer.six/pdfminer
htInEdin 33d7dde4d1
Fix bug: _is_binary_stream should recognize TextIOWrapper as non-binary, escaped \r\n should be removed (#616)
* detect TextIOWrapper as non-binary

* I don't understand the CHANGELOG.md format, hope this is good enough

* Delete \\\r\n in Literal Strings (ref. section 7.3.4.2 of PDF32000_2008)

* Keep Travis CI happy

* Added test

* Remove pdfminer/Changelog

* Prettify _parse_string_1

* Add CHANGELOG.md

* Satisfy flake8

* Update CHANGELOG.md

* Use logging.Logger.warning instead of warning.warn in most cases, following
 the Python official guidance that warning.warn is directed at _developers_,
 not users

 * (pdfdocument.py) remove declarations of PDFTextExtractionNotAllowedWarning,
			PDFNoValidXRefWarning

 * (pdfpage.py) Don't import warning, don't use PDFTextExtractionNotAllowedWarning

 * (tools/dumppdf.py) Don't import warning, don't use PDFNoValidXRefWarning

 * (tests/test_tools_dumppdf.py) Don't import warning, check for logging.WARN rather
				  than PDFNoValidXRefWarning

* get name right

* make flake8 happy

* Revert "make flake8 happy"

This reverts commit 4592769686.

* Revert "get name right"

This reverts commit 80091ea211.

* Revert "Use logging.Logger.warning instead of warning.warn in most cases, following"

This reverts commit 3c1e3d6606.

* Revert "Merge branch 'preferLoggingToWarning' into hst"

This reverts commit 9d9d139921, reversing
changes made to 80091ea211.

* Revert "Revert "Merge branch 'preferLoggingToWarning' into hst""

This reverts commit b3da21934d.

Co-authored-by: Henry S. Thompson <ht@home.hst.name>
Co-authored-by: Pieter Marsman <pietermarsman@gmail.com>
2021-09-27 20:30:40 +02:00
..
cmap Include compiled cmap resources to simplify installation for CJK languages 2015-12-27 13:32:29 +09:00
Makefile apply more patches 2010-02-13 15:00:43 +00:00
__init__.py Remove explicit support for Python 3.4 and 3.5, adding tests for python 3.9 (#522) 2020-10-25 12:34:51 +01:00
_saslprep.py Add support for ISO 32000-2 AES256 encryption (#614) 2021-09-06 22:00:23 +02:00
arcfour.py Change pycryptodome dependency to the faster, smaller, and industry standard cryptography package (#456) 2020-07-20 22:00:54 +02:00
ascii85.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
ccitt.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
cmapdb.py Fix extraction of some cjk characters (#593) 2021-08-26 21:05:03 +02:00
converter.py Fix bug: _is_binary_stream should recognize TextIOWrapper as non-binary, escaped \r\n should be removed (#616) 2021-09-27 20:30:40 +02:00
encodingdb.py Catch ValueError when converting font encoding differences to characters (#389) 2020-03-16 20:12:45 +01:00
fontmetrics.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
glyphlist.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
high_level.py Raise proper error when bad --output-type is used and fix formatting output of TagExtractor 2021-08-31 20:46:20 +02:00
image.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
jbig2.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
latin_enc.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
layout.py Fix ordering of textlines within a textbox when boxes_flow is disabled (#412) 2020-05-09 15:37:49 +02:00
lzw.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfcolor.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
pdfdevice.py Raise proper error when bad --output-type is used and fix formatting output of TagExtractor 2021-08-31 20:46:20 +02:00
pdfdocument.py Add support for ISO 32000-2 AES256 encryption (#614) 2021-09-06 22:00:23 +02:00
pdffont.py Fix extraction of some cjk characters (#593) 2021-08-26 21:05:03 +02:00
pdfinterp.py Validate that object is PDFStream in do_EI (#451) 2020-07-05 13:42:15 +02:00
pdfpage.py Replace internal usage of PDFTextExtractionNotAllowedError (deprecated) with PDFTextExtractionNotAllowed 2020-07-26 15:09:32 +02:00
pdfparser.py Fix issue of ValueError and KeyError rasied in PDFdocument and PDFparser (#574) 2021-08-26 20:55:02 +02:00
pdftypes.py Pack the /P (ermissions) entry from the /Encrypt dictionionary in the file trailer, as unsigned long (#352) 2020-01-07 21:59:13 +01:00
psparser.py Fix bug: _is_binary_stream should recognize TextIOWrapper as non-binary, escaped \r\n should be removed (#616) 2021-09-27 20:30:40 +02:00
runlength.py Drop support for legacy Python 2 (#346) 2020-01-04 16:47:07 +01:00
settings.py Remove webapp and other (un)helpful application references: django, cgi, and pyinstaller. (#320) 2019-10-26 19:16:37 +02:00
utils.py Raise proper error when bad --output-type is used and fix formatting output of TagExtractor 2021-08-31 20:46:20 +02:00