311 Commits

Author SHA1 Message Date
Gunnsteinn Hall
9ec828c8f7 Check to avoid division by zero. Fixes #106. 2017-08-06 11:28:39 +00:00
Gunnsteinn Hall
008469dfd2 Merge pull request #105 from peterwilliams97/xmaster
Fixed some bugs found while getting pdf_descibe.go to work
2017-08-05 12:56:16 +00:00
Peter Williams
a1e1e31fee Merge remote-tracking branch 'upstream/master' into xmaster 2017-08-05 21:25:07 +10:00
Gunnsteinn Hall
3261689684 Add GetObjectNums 2017-08-05 00:56:05 +00:00
Gunnsteinn Hall
22c2e5eb41 Address go vet issues 2017-08-04 22:50:28 +00:00
Gunnsteinn Hall
2adbc645ad Fix comment typo 2017-08-04 08:26:36 +00:00
Peter Williams
141519790a Fixed some bugs found while getting pdf_descibe.go to work 2017-08-04 17:47:55 +10:00
Gunnsteinn Hall
b800238e36 Address golint recommendations in core 2017-08-03 15:33:51 +00:00
Gunnsteinn Hall
ad47c116aa Address core golint recommendations in crypt, io 2017-08-03 15:13:40 +00:00
Gunnsteinn Hall
a9f70a16ac Add check for base colorspace type when loading Indexed colorspace. Fixes #95. 2017-08-03 14:55:06 +00:00
Gunnsteinn Hall
714b4bcb60 Address more golint recommendations #89 2017-08-02 18:01:31 +00:00
Gunnsteinn Hall
2ecf2acce5 Checks on stated byte lengths in xref stream objects. Closes #94. 2017-08-02 15:46:31 +00:00
Gunnsteinn Hall
28aea0d8d7 Address golint recommendations. Add TODO comments for recommended future refactoring work in next major release. 2017-08-02 12:56:32 +00:00
Gunnsteinn Hall
30ffbe3cbe Only attempt to load annotation from a valid indirect object for annotation Popup entries. Fixes #91. 2017-08-01 15:21:33 +00:00
Gunnsteinn Hall
944d6dd371 Address godoc code block line wrapping 2017-08-01 15:07:47 +00:00
Gunnsteinn Hall
5d3a6d9ab9 Fix godoc code block line wrapping 2017-08-01 15:04:06 +00:00
Gunnsteinn Hall
be56472a73 Updated doc.go 2017-08-01 14:49:20 +00:00
Gunnsteinn Hall
acb65b071e Address golint recommendations. Exported types Subchapter, Rectangle, TableCell, TableOfContentsEntry. Closes #82. 2017-08-01 13:10:48 +00:00
Gunnsteinn Hall
4d0f30edd1 Address golint recommendations 2017-07-31 15:25:28 +00:00
Gunnsteinn Hall
badce2938f Address gofmt simplify items 2017-07-31 14:54:14 +00:00
Gunnsteinn Hall
3c340d1085 Address golint comments 2017-07-31 14:21:57 +00:00
Gunnsteinn Hall
7ace3c96db Exported creator's Color interface. Addressed golint issues in creator's color.go, const.go 2017-07-31 14:06:47 +00:00
Gunnsteinn Hall
12f09116a2 Change from paragraph to exported type Paragraph. Address golint issues in creator's chapter.go. 2017-07-31 13:07:02 +00:00
Gunnsteinn Hall
5bc9d83bb1 Check to ensure row length cannot be greater than data length. Fixes #88. 2017-07-31 12:52:53 +00:00
Gunnsteinn Hall
416eb89964 Address golint issues for creator Block 2017-07-31 12:32:18 +00:00
Gunnsteinn Hall
0420787b50 Context update fixes 2017-07-26 16:11:28 +00:00
Gunnsteinn Hall
eb1f314e40 Update README 2017-07-25 16:46:28 +00:00
Gunnsteinn Hall
ee23f22df6 Use build flag unidev to build development utils 2017-07-25 16:36:32 +00:00
Gunnsteinn Hall
25e3cd3710 Move utility go programs into separate folders to bypass main redeclared issue 2017-07-25 16:26:36 +00:00
Gunnsteinn Hall
72bcce2004 Add roboto TTF font to test cases 2017-07-25 15:57:56 +00:00
Alfred Hall
e1325e4477 Fix 2017-07-25 15:12:28 +00:00
Alfred Hall
779d4e4676 Fix 2017-07-25 15:10:47 +00:00
Alfred Hall
e4f39d597e Fix 2017-07-25 15:07:52 +00:00
Alfred Hall
e72acfc371 Attempted fixes. 2017-07-25 14:59:22 +00:00
Gunnsteinn Hall
6effda191d Update version to v2.0.0 2017-07-25 14:38:36 +00:00
Gunnsteinn Hall
acd5bff019 Merge branch 'v2' 2017-07-25 14:31:35 +00:00
Gunnsteinn Hall
dffbb8c64e Merge branch 'master' into v2 2017-07-25 14:29:57 +00:00
Gunnsteinn Hall
4a7bb0d79b Added access point for accessing PdfWriter with creator. Example test case for adding password protection. Closes #76. 2017-07-24 20:39:30 +00:00
Gunnsteinn Hall
7f83a4ea2f Add bounds check in crypt, parser. Avoid division by zero. 2017-07-23 20:20:05 +00:00
Gunnsteinn Hall
3639b5c279 Add check for ID array length 2017-07-23 12:30:21 +00:00
Gunnsteinn Hall
9ff2413609 Add check to ensure stream length cannot be larger than file size. Test cases updated. 2017-07-23 12:21:42 +00:00
Gunnsteinn Hall
68bca163a9 Type checking for index list elements 2017-07-23 11:47:21 +00:00
Gunnsteinn Hall
124bd10e7c Check bounds on XRef stream index list (found by fuzzing) 2017-07-23 11:37:35 +00:00
Gunnsteinn Hall
99872f29ba Type check for xref Prev entries added. 2017-07-23 01:54:31 +00:00
Gunnsteinn Hall
c6660b62c9 Fix test case 2017-07-22 16:46:22 +00:00
Gunnsteinn Hall
b2bb6d9836 Fixed problem found by fuzzing when Encrypt pointing to invalid reference 2017-07-22 16:44:42 +00:00
Gunnsteinn Hall
6e30b10029 Prevent recursive loop errors while tracing stream Lengths. Test case included. Fixes #80. 2017-07-22 12:11:58 +00:00
Gunnsteinn Hall
1cf2ac4a98 Fix error return value 2017-07-22 11:17:48 +00:00
Gunnsteinn Hall
469856432b Fix fuzz-detected problem where stream length referring to stream itself (with a test case to verify) 2017-07-21 21:31:23 +00:00
Gunnsteinn Hall
1769c68234 Add type check for Size in trailer. Fixes #77 2017-07-21 14:18:35 +00:00