1479 Commits

Author SHA1 Message Date
Adrian-George Bostan
2227f4f372 Resolve page Resources references on writer page add, if page reader is lazy (#97) 2019-06-24 20:07:15 +00:00
Gunnsteinn Hall
2daa144856
Merge pull request #91 from adrg/xref-table-invalid-line
Attempt to parse invalid beginning lines of xref table subsections.
2019-06-14 06:33:52 +00:00
Gunnsteinn Hall
756f5e2886
Merge pull request #90 from adrg/form-field-metadata
Skip invalid Metadata stream in form field Kids array
2019-06-14 06:07:28 +00:00
Gunnsteinn Hall
779768607b
Merge pull request #89 from adrg/parser-unexpected-pattern
Handle improper usage of the array ending marker
2019-06-14 06:06:57 +00:00
Adrian-George Bostan
9dec1cdc9e Attempt to parse invalid beginning lines of xref table subsections. 2019-06-13 21:50:21 +03:00
Adrian-George Bostan
05eee50b4c Skip invalid Metadata stream in form field Kids array 2019-06-13 20:37:14 +03:00
Adrian-George Bostan
4d43867b1f Handle improper usage of the array ending marker 2019-06-12 22:12:58 +03:00
Gunnsteinn Hall
a60d343750 Merge branch 'release/v3.0.2' into development 2019-06-12 06:20:38 +00:00
Gunnsteinn Hall
6186242ee6 Merge remote-tracking branch 'upstream/master' into release/v3.0.2 2019-06-12 06:02:52 +00:00
Gunnsteinn Hall
75df2dcce9 Update version.go for release v3.0.2 2019-06-11 22:08:32 +00:00
Adrian-George Bostan
4bfc25d0ff Parse EOF markers missing the F character (#86) 2019-06-11 22:03:12 +00:00
Adrian-George Bostan
441e9a3177 Attempt to identify Pages nodes without Type (#85) 2019-06-11 22:02:36 +00:00
Adrian-George Bostan
4290e33c36 Skip loading outlines on invalid outline root node (#84) 2019-06-10 19:16:03 +00:00
Gunnsteinn Hall
c3a24925ff
License handling, expiry (#82) 2019-06-08 10:37:54 +00:00
Adrian-George Bostan
6e33703379 Take references with negative object numbers into account (#77) 2019-06-08 07:58:57 +00:00
Adrian-George Bostan
91d0d77b34 Consider files not encrypted when Encrypt object is null (#80) 2019-06-07 22:28:14 +00:00
Adrian-George Bostan
7e56b89e18 Fix page resources not being loaded from parent nodes (#78) 2019-06-07 21:59:14 +00:00
Adrian-George Bostan
6cd5c83f2b Fix parsing names with containing the # character (#73) 2019-06-05 23:28:06 +00:00
Gunnsteinn Hall
9bc50d0564
Merge pull request #72 from adrg/flate-encoder-empty-buffer
Check for empty encoded byte buffer on Flate decode
2019-06-03 19:07:15 +00:00
Adrian-George Bostan
bc5836551e Check for empty encoded byte buffer on Flate decode 2019-06-03 18:18:45 +03:00
Gunnsteinn Hall
a9d8725810
Merge master into development (#71) 2019-06-02 16:21:07 +00:00
Gunnsteinn Hall
112c39a889
Merge pull request #70 from gunnsth/release-v3.0.1
Release v3.0.1
v3.0.1
2019-06-02 15:25:25 +00:00
Gunnsteinn Hall
45bef6de26 Update README.md 2019-06-02 15:06:28 +00:00
Gunnsteinn Hall
33945e7779 Prepare for release. Update version.go and README. Fix testcase . 2019-06-02 14:59:15 +00:00
Adrian-George Bostan
1dcde7d76e Add support for vertical alignment of styled paragraphs inside table cells (#69) 2019-06-02 14:57:41 +00:00
Adrian-George Bostan
7f4e3b8f13 Update page resources Font dictionary when applying license information (#5)
* Make PdfObjectDictionary Merge method chainable
* Update page resources Font dictionary when applying license information
* Add license font to the page resources only when it does not exist
* Update hash for split test after verification
2019-06-02 14:57:41 +00:00
Adrian-George Bostan
3bae2f6035 Add support for vertical alignment of styled paragraphs inside table cells (#69) 2019-05-30 22:01:56 +00:00
Adrian-George Bostan
8425bf7c8f Update page resources Font dictionary when applying license information (#5)
* Make PdfObjectDictionary Merge method chainable
* Update page resources Font dictionary when applying license information
* Add license font to the page resources only when it does not exist
* Update hash for split test after verification
2019-05-30 10:52:05 +00:00
Gunnsteinn Hall
326742a81f
Update README.MD 2019-05-24 00:44:40 +00:00
Gunnsteinn Hall
bc0edcb8dd Update issue templates v3.0.0 2019-05-20 10:18:26 +00:00
Gunnsteinn Hall
37d822bead
unipdf move updates (#6)
* Update README and other documentation for unipdf
* Update Jenkinsfile
* Get test dependencies too (Jenkinsfile processing not fully module based yet)
* Update wercker file for modules
2019-05-19 12:41:13 +00:00
Adrian-George Bostan
c64812093d Remmove pdf folder and move packages up one level (#2) 2019-05-16 20:44:51 +00:00
Adrian-George Bostan
8acac88784 Update module version and import paths (#1)
* Update import path to use unipdf
* Update module name and version
2019-05-16 20:08:40 +00:00
Gunnsteinn Hall
ad1575fce9
Merge master into v3 (#476)
* Update README.md
2019-05-14 21:54:45 +00:00
Gunnsteinn Hall
9c0c5be661
Appender - Enhancements in Incremental Updates (#474)
* Improve loading and writing out merged-in fields/annotations Maintain annotations that are loaded as merged-in as merged in annotations when writing out.
* Appender fixes: Update objects instead of always adding new.  Create xref chains (only entries for new changes in xref).
* Update AcroForm Fields object in new signed revisions
* Add test for multiple signing revisions with multiple fields and appearances
* Fix acroform handling to reuse object
2019-05-14 21:14:53 +00:00
Gunnsteinn Hall
1046d82744
Contentstream: Check for valid object or operand following EI in inline image parsing (#471)
* Check for valid object or operand following EI in inline image.  Addresses #469
* Improve resiliency by checking 3 following objects after EI.  Add test cases.
2019-05-13 20:26:23 +00:00
Gunnsteinn Hall
fa9ac473a0
Support Encoding dictionaries with type not explicitly set (#455) 2019-05-13 19:50:07 +00:00
Gunnsteinn Hall
07ba42176d
Benchmark paragraph adding. Demonstrates issue #139. (#456)
Couple of TODO comments to where things appear to be slow.
2019-04-30 22:09:05 +00:00
Gunnsteinn Hall
7b7eccd65e
V3: Detect and fix stride offsets in loaded go images (#448)
* Detect and fix stride offsets in loaded go images
* Benchmarks for image copying performance
* Account for potential image offsets when constructing model Image data
Removes need for extra copying of image data
2019-04-30 19:10:52 +00:00
Gunnsteinn Hall
359d6965de
V3: Write page annots from loaded PDFs (#452)
* Add Annots when serializing page object
* Handle multiple dicts with pending objects per object (writer)
2019-04-28 12:57:11 +00:00
Adrian-George Bostan
dcc0723e70 Search xref objects with tolerance both to the left and right (#447)
* Search xref objects with tolerance both to the left and right. Try searching xref to the left only if not found to the right.
2019-04-28 12:26:50 +00:00
Gunnsteinn Hall
7cfcb9cdfd
Parser: Treat empty indirect objects as containing the null object (#446)
* Fix when writing an indirect object with nil inner PdfObject (addresses #445)
* Changed ParseIndirectObject to also handle parsing short indirect objects was EOFing right away previously.
2019-04-25 17:08:15 +00:00
Adrian-George Bostan
96daf06e35 Skip invalid data before PDF version on parse. (#441) 2019-04-24 19:04:30 +00:00
Gunnsteinn Hall
0511d00ed6
Merge pull request #440 from adrg/pdf-field-t-optional
Make T field optional on PDF field dictionary parse
2019-04-22 20:08:06 +00:00
Adrian-George Bostan
e1c918631a Make T field optional on PDF field dictionary parse 2019-04-22 22:43:55 +03:00
Gunnsteinn Hall
3b2c788c32
Merge pull request #439 from adrg/aes-bit-crypt-filter-length
Account for crypt filter length specified in bits for AESV2 and AESV3
2019-04-22 18:19:52 +00:00
Adrian-George Bostan
b93b4802ee Account for crypt filter length specified in bits for AESV2 and AESV3 2019-04-22 21:03:03 +03:00
Gunnsteinn Hall
15bd7e8b70
Merge pull request #438 from adrg/fix-reader-page-count
Account for page count being a reference in the reader
2019-04-22 17:34:32 +00:00
Adrian-George Bostan
c655336766 Account for page count being a reference in the reader 2019-04-22 20:13:47 +03:00
Gunnsteinn Hall
3d7ec12ac2
Merge pull request #432 from gunnsth/v3-fix-build
Make e2e split test version independent
2019-04-21 01:06:44 +00:00