Commit Graph

430 Commits

Author SHA1 Message Date
Matthew Stamy 56a4b9a04f Merge branch 'utils_fixes' of https://github.com/bamrhein/PyPDF2 into bamrhein-utils_fixes 2015-06-15 14:45:13 -05:00
Matthew Stamy 11bb9721b5 Merge pull request #148 from moshekaplan/patch-1
Add support for Embedded Files in the PDF
2015-06-15 14:41:16 -05:00
Matthew Stamy 1a2fc537b0 Merge branch 'master' of https://github.com/mstamy2/PyPDF2 2015-06-11 17:52:58 -05:00
Matthew Stamy 203f5510a0 merging 2015-06-11 17:47:11 -05:00
Matthew Stamy 9c105eb13b Merge branch 'linuxexp-Overflow-Error' 2015-06-11 16:55:44 -05:00
Matthew Stamy 2376a5ddb6 Merge branch 'Overflow-Error' of https://github.com/linuxexp/PyPDF2 into linuxexp-Overflow-Error 2015-06-11 16:51:10 -05:00
Matthew Stamy e3cf7c7207 Merge pull request #202 from vladir/feature/fixing_decodeStreamData_issue
Fix decode stream data issue
2015-06-11 16:40:06 -05:00
Rob Oakes 7808dc722e Added convenience method for retrieving form text fields 2015-06-04 12:10:18 -04:00
Rob Oakes 02de326fc3 Added methods which make it possible to create a copy of a document from a PDF reader instance
- Added a convenience method to merge a dictionary of form field values onto a page
2015-06-04 06:54:34 -04:00
Rob Oakes bca8a754e3 Merge branch 'upstream/merge' 2015-06-04 05:50:39 -04:00
Rob Oakes aa69bc95d7 Started work on a test suite, added a test for loading and decoding a PDF file
- Added resources for the test
2015-06-04 05:49:25 -04:00
Rob Oakes 4abded43ad Added instructions for running test suite 2015-06-04 05:48:05 -04:00
Rob Oakes 0a7b72d135 Merge branch 'gurulabs2' of http://dev.oak-tree.us/publishing/pypdf2 into roakes/gurulabs
Conflicts:
	.gitignore
	PyPDF2/generic.py
2015-06-04 01:18:57 -04:00
Vladir Parrado Cruz a87a394e05 If there is not data to decode we should not try to decode the data. 2015-05-31 15:09:19 +02:00
Matthew Stamy 646fd168cf Merge pull request #197 from elena/master
Fix "file has not been decrypted" error #51.
2015-05-26 14:06:49 -05:00
Elena Williams 15bd71bd1f Fix "file has not been decrypted" error #51.
Work around for PDFs which behave as if decrypted, though were 
encrypted without a password.
2015-05-01 06:45:10 +08:00
Matthew Stamy af7dc5f2c4 Merge pull request #173 from sbywater/master
Catch for UnicodeEncodeError in NameObject
2015-03-23 17:37:52 -05:00
Matthew Stamy 465b80b0ca Merge pull request #186 from manuelzs/add_hash_to_odd_escape_sequences
Add hash (#) to list of odd escape sequences
2015-03-23 17:35:56 -05:00
Raja Jamwal 6b67442887 updated changelog 2015-03-13 10:44:09 +05:30
Raja Jamwal 53192de419 OverflowError:python int too large to convert to C long
Some PDF include values exceeding size of long, therefore Overflow error
in generic.py at line 256
2015-03-13 08:21:00 +05:30
Manuel Zapata ec80b1ebbe Add # to list of odd escape sequences 2015-03-11 14:39:15 +00:00
Brent Amrhein 94952e48b2 utils.py changes
----------------
 - Adding functions isString(), isInt(), isBytes() to make type testing simpler and more consistent. Works for Python 2 and 3.
   - Note: "string_type", "bytes_type" and "int_types" are functionally unchanged: Made sure all references to these types were compatible with how things worked pre-fork.
2015-02-13 16:21:36 -05:00
Steve Bywater f2c8778bbc Catch for UnicodeEncodeError in NameObject 2015-01-23 14:10:30 -05:00
jerickbixly 6b1e210065 Python3 support for ASCII85Decode 2015-01-15 08:06:24 +08:00
Matthew Stamy 41d90b4d14 Version 1.24 2014-12-31 15:45:23 -06:00
Matthew Stamy 386d67ed92 Fixed encoding issue in merger (with eshellman) closes #135, closes #136 2014-12-31 14:37:47 -06:00
Matthew Stamy 9c8afe6c2e Adding script 2014-12-30 16:07:55 -06:00
Matthew Stamy e29d5bec32 Merging 2014-12-30 16:06:54 -06:00
Matthew Stamy 23299bda38 Create folder for scripts 2014-12-30 15:56:54 -06:00
Matthew Stamy 05989cc368 Replace file() with open() 2014-12-30 15:46:16 -06:00
Matthew Stamy d4b6f6554e Merge pull request #166 from direvus/issue165
Use utils.readUntilRegex in NumberObject.readFromStream.
2014-12-29 15:30:53 -06:00
Brendan Jurd 5ee3a87353 Use utils.readUntilRegex in NumberObject.readFromStream.
This probably should have happened when readUntilRegex was first
introduced in d990367334, but looks like
it was missed accidentally.

readUntilRegex includes awareness of EOF, which means that for some
cases which would have otherwise gone into an infinite loop, we now
throw an exception.

See mstamy2/PyPDF2#165
2014-12-29 17:53:54 +11:00
Matthew Stamy 6b0cdf22b3 Merge pull request #155 from eshellman/ignore_bad_outlines
ignore bad outlines
2014-12-19 15:41:05 -06:00
Matthew Stamy b3a4c70b6c Merge pull request #156 from erny/master
PEP8 fixes: mixed tabs / spaces, blank lines.
2014-12-16 16:52:58 -06:00
Matthew Stamy a991115f9a Merge pull request #150 from caxap/fix-number-parser
Fix for parsing number tokens with leading spaces.
2014-12-16 16:37:58 -06:00
Matthew Stamy 096048505b Merge branch 'cyrusv-master' 2014-12-16 15:39:35 -06:00
Matthew Stamy c9070c8831 utilize PdfReadError 2014-12-16 15:35:53 -06:00
Matthew Stamy e2abbeace9 Merge branch 'master' of https://github.com/cyrusv/PyPDF2 into cyrusv-master 2014-12-16 15:20:39 -06:00
Matthew Stamy 7b25f2cc32 Merge pull request #139 from naure/master
Do not loop forever after reaching start of file.
2014-12-16 15:08:24 -06:00
Ernesto Revilla 164707a64b PEP8 fixes: mixed tabs / spaces, blank lines. 2014-11-26 22:43:35 +01:00
Matthew Stamy 8cbca8c882 Merge pull request #146 from pqqp/master
Inline images parsing in python 3 fix
2014-11-25 21:42:00 -06:00
eric b521520c4a ignore bad outlines 2014-11-23 12:39:09 -05:00
Maxim Kamenkov 4b8a4d26be Fix for parsing number tokens with leading spaces. 2014-11-14 18:31:32 +03:00
Moshe Kaplan 08212cd17e Add support for Embedded Files in the PDF 2014-11-12 18:26:06 -05:00
pqqp fa03c13edc Inline images parsing in python 3 fix 2014-10-31 18:55:47 +04:00
Cyrus Vafadari a405822c60 Prevent infinite loops in malformed PDFs 2014-10-24 15:25:19 -04:00
Matthew Stamy 7ad1aaf712 Merge pull request #137 from anthony-tuininga/master
Fix finding of startxref entry in Python 3.
2014-10-08 13:11:26 -05:00
Aure N b21bc918a8 Do not loop forever after reaching start of file. 2014-09-10 08:31:34 +02:00
Anthony Tuininga e823f0c45b Fix finding of startxref entry in Python 3. 2014-09-05 10:51:45 -06:00
Matthew Stamy 219bb09021 Merge pull request #132 from anthony-tuininga/master
Fix content parsing in Python 3.
2014-08-15 14:25:09 -05:00