Commit Graph

430 Commits

Author SHA1 Message Date
Noah Kessler 2ab68320d7 Renamed zeroXref since it's an internal method; added *actual* support for warnings redirection by redefining showwarning method. 2012-05-18 16:12:12 -05:00
Noah Kessler 9adc508201 Moved strerr redirection to be first call in PdfFileReader constructor 2012-05-18 14:40:28 -05:00
Noah Kessler b2458da5f4 Made spacing between methods uniform 2012-05-18 14:39:47 -05:00
Noah Kessler f0589c781b Modified setup.py to reflect renaming/Phaseit takeover 2012-05-18 14:08:19 -05:00
Noah Kessler 17784214c9 Allows for redirection of stderr. This has been implemented to assist increase the functionality of the online validator. 2012-05-17 16:46:53 -05:00
Noah Kessler 1e352334c7 Added support for new strict/relaxed version of PdfFileReader; defaults to strict. 2012-03-13 16:06:56 -05:00
Noah Kessler 693f759ea0 Changed default PdfFileReader behavior to strict. 2012-03-13 15:51:47 -05:00
Noah Kessler 5c689b6536 Removed unnecessary and confusing comment regarding previous commit's changes. 2012-03-13 15:07:33 -05:00
Noah Kessler 9ef4984518 Cross reference tables that should be zero-indexed are corrected on-the-fly in relaxed mode allowing some previously-unreadable files to be read. If strict, error is thrown and user is warned. 2012-03-13 15:05:10 -05:00
Noah Kessler 7204bf2e5d Merge branch 'master' of https://github.com/knowah/PyPDF2 2012-03-13 14:03:53 -05:00
Noah Kessler eb9c02bcb7 Attempting to remove index.html 2012-03-13 14:03:11 -05:00
Noah Kessler a4769677b4 Added strict parameter to pydoc for PdfFileReader class. Also made a nondefined object a fatal error in strict mode. 2012-03-13 11:38:48 -05:00
Cameron Laird e90446607b First real content. 2012-03-11 17:13:51 -05:00
Cameron Laird d7d9bb6fa7 Merge branch 'master' of ssh://github.com/knowah/PyPDF2 2012-03-11 17:05:40 -05:00
Cameron Laird d3f624e539 First experiment with Web page. 2012-03-11 17:02:35 -05:00
Noah Kessler a443a62d2b Added byte-location of errors in PDF when raising PdfReadError 2012-03-11 16:49:08 -05:00
Noah Kessler f7f699e3ad Began implementing warnings.warn; includes line at top of file to use utils.customformat for warn output 2012-03-11 16:46:03 -05:00
Noah Kessler 032f2554e0 Added modified method for formatting warnings.warn output to be implemented for all non-fatal errors in the future; also added a method to remove 'L' suffix from built-in hex() method. 2012-03-11 16:44:32 -05:00
Noah Kessler 5ab7eed1f6 Added strict parameter to PdfFileReader to allow for relaxed (default) or strict reading. Also modified the readObjectHeader to not warn about extra whitespace unless strict is specified. Some TODO statements about future strict implementation. 2012-03-02 17:56:10 -06:00
Noah Kessler 79d5b647c3 User now warned if an object referenced by another is not in the xref table (most likely because it does not exist) 2012-02-19 23:35:29 -06:00
Noah Kessler ad55f0e104 Verbose error message upon reading an object that has an ID different from what would be expected from the XRef table. 2012-01-31 22:22:24 -06:00
Noah Kessler 7a25ab6906 Reverted to calling PdfFileWriter.getReference() since it has been re-implemented in pdf.py 2012-01-31 22:07:39 -06:00
Noah Kessler 73437b1106 Added many methods (destination/bookmark, etc.) back to PdfFileWriter; also made a workaround to read object headers with superfluous whitespace (readObjectHeader); various debugging statements added 2012-01-31 22:06:43 -06:00
Noah Kessler 2867d77970 Added new method to skip over whitespace in stream and return whether whitespace was read 2012-01-31 22:02:06 -06:00
Noah Kessler 496461e91e Added TreeObject, Destination, and Bookmark classes from the NIWR local copy of PyPDF. 2012-01-31 21:59:46 -06:00
Noah Kessler 80ff51ae67 Added a workaround to avoid reference to obsolete method getReference() in PdfFileWriter 2012-01-11 17:03:32 -06:00
Noah Kessler 428c6a90a3 pdf.py updated to that of 1.13 AND further modified to support reading PDFs that use the CR+LF convention 2012-01-06 12:14:44 -06:00
Noah Kessler 50426a4ac5 Updated generic.py from the 1.12 to the 1.13 version 2012-01-06 12:12:44 -06:00
Noah Kessler dac8e7950f Updated CHANGELOG to that of PyPDF 1.13 2012-01-06 12:09:27 -06:00
Adam Coleman c59a212a4c First commit
Original PyPDF code. Updates should be coming from Noah soon.
2011-12-30 09:04:56 -06:00