51 Commits

Author SHA1 Message Date
Peter Williams
5777ee1394
Handle multibyte entries in CMaps. (#353)
* Fixed filename:page in logging

* Got CMap working for multi-rune entries

* Treat CMap entries as strings instead of runes to handle multi-byte encodings.

* Added a test for multibyte encoding.

* Changed rune->CharCode maps to string->CharCode.

* Removed unintentional changes.

* Updated comments to match new function definitions.

* Changed some []rune APIs to string

* Fixes for reviewer comments.
2020-06-03 13:55:15 +00:00
Gunnsteinn Hall
db242dbcff Update version.go for 3.6.2 2020-04-23 01:36:32 +00:00
Gunnsteinn Hall
3060409720 Update version.go to 3.6.1 2020-04-08 13:04:30 +00:00
Gunnsteinn Hall
dadddb40f1 Update version.go to 3.6.0 2020-04-07 00:07:24 +00:00
Jacek Kucharczyk
c582323a8f
JBIG2 Generic Encoder (#264)
* Prepared skeleton and basic component implementations for the jbig2 encoding.

* Added Bitset. Implemented Bitmap.

* Decoder with old Arithmetic Decoder

* Partly working arithmetic

* Working arithmetic decoder.

* MMR patched.

* rebuild to apache.

* Working generic

* Working generic

* Decoded full document

* Update Jenkinsfile go version [master] (#398)

* Update Jenkinsfile go version

* Decoded AnnexH document

* Minor issues fixed.

* Update README.md

* Fixed generic region errors. Added benchmark. Added bitmap unpadder. Added Bitmap toImage method.

* Fixed endofpage error

* Added integration test.

* Decoded all test files without errors. Implemented JBIG2Global.

* Merged with v3 version

* Fixed the EOF in the globals issue

* Fixed the JBIG2 ChocolateData Decode

* JBIG2 Added license information

* Minor fix in jbig2 encoding.

* Applied the logging convention

* Cleaned unnecessary imports

* Go modules clear unused imports

* checked out the README.md

* Moved trace to Debug. Fixed the build integrate tag in the document_decode_test.go

* Initial encoder skeleton

* Applied UniPDF Developer Guide. Fixed lint issues.

* Cleared documentation, fixed style issues.

* Added jbig2 doc.go files. Applied unipdf guide style.

* Minor code style changes.

* Minor naming and style issues fixes.

* Minor naming changes. Style issues fixed.

* Review r11 fixes.

* Added JBIG2 Encoder skeleton.

* Moved Document and Page to jbig2/document package. Created decoder package responsible for decoding jbig2 stream.

* Implemented raster functions.

* Added raster uni low test funcitons.

* Added raster low test functions

* untracked files on jbig2-encoder: c869089 Added raster low test functions

* index on jbig2-encoder: c869089 Added raster low test functions

* Added morph files.

* implemented jbig2 encoder basics

* JBIG2 Encoder - Generic method

* Added jbig2 image encode ttests, black/white image tests

* cleaned and tested jbig2 package

* unfinished jbig2 classified encoder

* jbig2 minor style changes

* minor jbig2 encoder changes

* prepared JBIG2 Encoder

* Style and lint fixes

* Minor changes and lints

* Fixed shift unsinged value build errors

* Minor naming change

* Added jbig2 encode, image gondels. Fixed jbig2 decode bug.

* Provided jbig2 core.DecodeGlobals function.

* Fixed JBIG2Encoder `r6` revision issues.

* Removed public JBIG2Encoder document.

* Minor style changes

* added NewJBIG2Encoder function.

* fixed JBIG2Encoder 'r9' revision issues.

* Cleared 'r9' commented code.

* Updated ACKNOWLEDGEMENETS. Fixed JBIG2Encoder 'r10' revision issues.

Co-authored-by: Gunnsteinn Hall <gunnsteinn.hall@gmail.com>
2020-03-27 11:47:41 +00:00
Gunnsteinn Hall
0a0e53d8c7 Update version to 3.5.0 2020-03-08 23:54:58 +00:00
Gunnsteinn Hall
c22b7efbe1 Prepare release of v3.4.2 2020-03-08 23:51:01 +00:00
Gunnsteinn Hall
42c9cd2e02 Update version to 3.4.0 prepare for release 2020-02-10 08:54:32 +00:00
Gunnsteinn Hall
9e35f60de7 Update version.go to 3.3.1 2020-01-04 19:06:38 +00:00
Gunnsteinn Hall
d1d154c0fe Update version to 3.2.0 2019-09-07 13:14:54 +00:00
Gunnsteinn Hall
fa79413895 Update version.go to 3.1.1 2019-08-04 18:39:19 +00:00
Gunnsteinn Hall
9a41273494 Fix - Both path and customer name must be set 2019-08-04 10:21:14 +00:00
Gunnsteinn Hall
1d7b969b91 Simplify license loading and support environment variables 2019-08-04 09:28:42 +00:00
Gunnsteinn Hall
a3fb2b8f47 Prepare release v3.1.0 2019-07-24 20:10:43 +00:00
Gunnsteinn Hall
5a29de60ae Prepare release of unipdf v3.0.3 2019-07-24 20:10:43 +00:00
Gunnsteinn Hall
75df2dcce9 Update version.go for release v3.0.2 2019-06-11 22:08:32 +00:00
Gunnsteinn Hall
c3a24925ff
License handling, expiry (#82) 2019-06-08 10:37:54 +00:00
Gunnsteinn Hall
a9d8725810
Merge master into development (#71) 2019-06-02 16:21:07 +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
8f92c00976 Update version info for v3.0.0-rc.1 release 2019-04-20 23:41:19 +00:00
Gunnsteinn Hall
f8ac397bdf
NewPdfReaderLazy supports reading PDF files in lazy-load mode (#409)
* Lazy loading support NewPdfReaderLazy. 
* Change colorspace and annotations loading to lazy. Clean up page object loading.
* Clear up reference resolving and remove redundant traceToObject function.
* Add IsLogLevel function to logger.  Can be used to avoid calling resource intensive functions except when running trace only.
2019-04-14 22:22:41 +00:00
Gunnsteinn Hall
3d22e17a91 Prepare release of v3.0.0-alpha.3 2019-03-28 17:19:39 +00:00
Gunnsteinn Hall
323dc5394f release v3.0.0-alpha.2 2019-02-07 12:17:54 +00:00
Gunnsteinn Hall
cd9a2c45e9 Update version 2019-01-10 23:28:38 +00:00
Denys Smirnov
3687c83b37 errors should start with a lower case 2018-12-15 18:49:15 +05:00
Denys Smirnov
0a8b46daff don't use generic receiver names; make sure receiver name is consistent 2018-12-09 21:47:15 +02:00
Denys Smirnov
6d2c39043c make sure comments begin with a type/function name 2018-12-09 20:22:33 +02:00
Denys Smirnov
5993a8b171 remove redundant types in literals 2018-12-09 19:30:13 +02:00
Gunnsteinn Hall
e63a74cc9c Merge branch 'master' into v3-merge-master-in 2018-09-06 09:45:04 +00:00
Alfred Hall
de4548fc61 Adding customerName parameter to SetLicenseKey
This is to make the license information more verbose. Breaking change.
2018-08-16 17:10:53 +00:00
Alfred Hall
7311bdfd8e Fixing so old licenses still work correctly. 2018-08-15 13:39:58 +00:00
Alfred Hall
3733585ae3 Optional license expiry for trial purposes. 2018-08-15 11:12:01 +00:00
Gunnsteinn Hall
b1c6401dfd Bump version to 2.1.1 2018-08-14 19:41:06 +00:00
Gunnsteinn Hall
654dc16e35 fix package description license 2018-08-03 10:18:53 +00:00
Peter Williams
adf69f755f fixed logging stack reference 2018-06-26 14:02:59 +10:00
Gunnsteinn Hall
9fdc8d2668 Release 2.1.0 version 2018-05-20 23:35:56 +00:00
Gunnsteinn Hall
51f575080a Licensing updates 2018-02-23 14:07:26 +00:00
Gunnsteinn Hall
e498030678 Updated version 2017-08-14 11:59:12 +00:00
Gunnsteinn Hall
6effda191d Update version to v2.0.0 2017-07-25 14:38:36 +00:00
Gunnsteinn Hall
206dccb560 Release v2.0.0-rc.1 2017-07-17 20:48:02 +00:00
Gunnsteinn Hall
85cd1d21f8 Move license to common. 2017-07-11 13:08:48 +00:00
Gunnsteinn Hall
8c50cd43a8 Update version to v2.0.0-alpha.5 2017-07-07 17:20:37 +00:00
Gunnsteinn Hall
4d6d6b4b24 update version to 2.0.0-alpha.4 2017-04-04 12:45:01 +00:00
Gunnsteinn Hall
a40fc446bd Bump version to 2.0.0-alpha.3 2017-03-15 13:01:20 +00:00
Gunnsteinn Hall
9247f5d954 Add Trace log level and change Debug to Trace where appropriate. Add log levels to Console logger. 2017-02-28 12:16:46 +00:00
Gunnsteinn Hall
5566df5057 Add multi encoding support (serial) and basic test case. Added line numbers to logs. 2017-02-13 20:35:42 +00:00
Gunnsteinn Hall
d33cdf1c5c Update versioning 2017-01-03 15:24:54 +00:00
Alfred Hall
f167f70f36 Revised licensing. 2016-07-29 17:23:43 +00:00
Alfred Hall
f2fb3337fb Fixing the logger. 2016-07-17 19:59:17 +00:00
Alfred Hall
3f1532c9c0 Wrecker 2016-07-09 21:05:53 +00:00