10000 v3.1.0 release by gunnsth · Pull Request #124 · unidoc/unipdf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v3.1.0 release #124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jul 19, 2019
Merged

v3.1.0 release #124

merged 14 commits into from
Jul 19, 2019

Conversation

gunnsth
Copy link
Contributor
@gunnsth gunnsth commented Jul 18, 2019

This change is Reviewable

adrg and others added 14 commits July 2, 2019 21:51
Add resources of blocks created from pages to the output page resources
* 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
* Decoded full document
* 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
* 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.
* Integrate jbig2 tests with build system
* Added jbig2 integration test golden files.
* Minor jbig2 integration test fix
* Removed jbig2 integration image assertions
* Fixed jbig2 rowstride issue. Implemented jbig2 bit writer
* Changed golden files logic. Fixes r13 issues.
* Added text bounding box extraction.
* Add `font` field to textMark struct;
Create a new method `TextComponents` to retrieve all the text components of the extracted text in the page, with position and character informations
* Reorganizing extractor/text.go
* Added a text extraction position test.
* Added another text extraction location test.
* Text extraction location testing.
* Added tests for text extraction with location information.
* Cleaned up text extraction tests. No changes to functionality.
* Simplifying text extraction code.
* Simplified line construction in text.go
* Returning TextMark's in TextMarkArray which are based on PdfObjectArray but read-only, so not pointers.
* Added text extraction to show PDFs marked-up with bounding boxes of substring in extracted text.
* Add comments explaining how to calculate text bounding boxes.
* Made text_test.go naming consistent with function comments in text.go
* Use tm, pt, tl for textMark/TextMark PageText and TextLine receivers and local variables.
* uncommeted text stress test. Use go test --short to skip
* TextMark.Offset is now an index into the extracted text. It was an index into []rune(text)
@codecov
Copy link
codecov bot commented Jul 18, 2019

Codecov Report

Merging #124 into master will decrease coverage by 0.68%.
The diff coverage is 51.45%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
- Coverage   56.94%   56.25%   -0.69%     
==========================================
  Files         154      187      +33     
  Lines       28029    33656    +5627     
==========================================
+ Hits        15960    18932    +2972     
- Misses      10185    12297    +2112     
- Partials     1884     2427     +543
Impacted Files Coverage Δ
core/utils.go 39.48% <ø> (+0.85%) ⬆️
internal/sampling/resample.go 91.59% <ø> (ø) ⬆️
creator/creator.go 68.95% <0%> (-1.14%) ⬇️
internal/jbig2/decoder/huffman/encoded_table.go 0% <0%> (ø)
internal/jbig2/segments/eos.go 0% <0%> (ø)
internal/jbig2/segments/table_segment.go 0% <0%> (ø)
internal/transform/point.go 38.88% <100%> (ø) ⬆️
internal/jbig2/segments/kind.go 11.59% <11.59%> (ø)
internal/transform/matrix.go 60% <12.5%> (-5.46%) ⬇️
...ternal/jbig2/segments/generic-refinement-region.go 21.81% <21.81%> (ø)
... and 83 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73898f5...9818e52. Read the comment docs.

@gunnsth gunnsth merged commit ac84eab into unidoc:master Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0