Skip to content

Releases: mozilla/pdf.js

v1.1.114

11 May 17:00
Compare
Choose a tag to compare

Changes:
#5851 V1.1
#5855 Remove broken links from hello world example
#5856 Improve the instructions for the 'hello world' example
#5844 Add a |PDFViewer| option to remove the border shadow around pages (issue 5559)
#5866 Add |pageActualOption| to the list of predefined zoom options in the |scalechange| event handler in viewer.js
#5749 Bug 1072350 - Removing CPOWs used by Find events.
#5705 Don't map glyphs to Unicode "Dotted circle" combining mark (bug 1108301)
#5878 PR 5749 followup
#5713 Create a IdentityToUnicodeMap in evaluator.js when toUnicode contains IdentityH/IdentityV
#5868 Add custom |outlineloaded| and |attachmentsloaded| events to the viewer (bug 1112947)
#5882 Don't map glyphs to Unicode position 0x0E33, i.e. Thai character SARA AM (bug1046314)
#5888 Remove reference to GNUpdf from comment in |DocumentProperties.parseDate|
#5886 Restrict logging of errors with verbosity level
#5895 Re-factor and clean-up some preference related code in viewer.js
#5881 Added the data-page-number dom attribute to the page rendered in the browser
#5899 add missing pt-BR page_scale_percent property
#5907 Provide only one browser manifest example
#5906 Fixed a small typo in the italian translation
#5911 Remove commented out code about |disableWorker| in the test suite
#5908 Read jshint version from package.json
#5914 Bug 1151303 - [zh-TW] Translation update proposed for browser/pdfviewer/...
#5913 [B2G] Stub the |DownloadManager| to avoid error
#5912 Remove ShellJS copy and use the NPM version
#5933 Remove commented out code from viewer.html
#5926 prevent viewer from zooming on cmd+mousewheel (bug 1018932)
#5936 Update .gitattributes
#5937 Crypt filter EFF key should have StmF value as default, not StrF
#5923 Don't map glyphs to certain problematic General Punctuation Unicode locations (bug 911034)
#5944 Fail with a more informative error message if the browser executable pat...
#5945 Use Int32Array instead of Uint32Array in FlateStream
#5917 Address review comments from Bug 1148192 - Update pdf.js to version 1.1.24
#5951 Bug 1156287 - Do not extract unreachable code after return
#5655 Avoid getting stuck in empty nodes in the Pages tree when calling |Catalog_getPageDict| (issue 5644)
#5699 Refactor the Presentation Mode code
#5756 Guess CIDFontType0 subtype based on font file contents (issue 5751)
#5963 Clarify bug reporting with regards to providing a pdf
#5809 Attempt to infer if a CMap file actually contains just a standard Identity-H/Identity-V map
#5959 Refactor document properties overlay
#5966 Enable linting of Firefox specific code in viewer.js
#5953 Remove no longer needed hacks that enable spacebar scrolling in Firefox (issue 3498)
#5905 Remove SpecialPowers addon
#5828 Fix flaw in mozCurrentTransform polyfill
#5977 Prevent Firefox from warning about |unreachable code after return statement|
#5598 Disable Range Support for Chrome 39+40 (#5512)
#5979 Revert #5603 regarding Chrome range request bug
#5964 Handle the Encoding being a dictionary in PartialEvaluator_preEvaluateFont (bug 1157493)
#5983 Bug 1152841 - make pdf.js viewer app handle open requests from file viewers

v1.1.3

17 Mar 21:52
Compare
Choose a tag to compare

#5552 Creates/refactors PDFPageView class
#5603 Use Content-Range instead of Content-Length #5512
#5618 Version 1.0.1040
#5606 Add a |textlayerrendered| event
#5600 Implement guards for stringToBytes and bytesToString
#5622 Move the |pagerendered| event to pdf_page_view.js
#5554 Refactors getDocument and adds PDFDataRangeTransport.
#5632 Fixes B2G file open sequence.
#5627 Whitelists 'tel' schema.
#5631 Refactor searching for end of inline (EI) JPEG image streams
#5624 Base64 example and be more flexible what type of data is passed
#5638 Fix thumbnail scaling regression for files with different page sizes (issue 5637)
#5641 Prevent setting |isStandardFont| to |undefined| for non-embedded fonts
#5639 Attempt to display the File size quicker in the Document Properties dialog (PR 5554 followup)
#5646 Amend the docs for |disableAutoFetch| to mention that streaming must also be disabled
#5619 Chrome extension: Add options page
#5567 Add marker segment (PLT, PLM) and refactor TLM
#5659 Fix thumbnail rendering regression, when using |draw|, for PDF files with blend modes (issue 5637)
#5660 Fill temporary canvases with a white background too
#5511 Bug 639134 - update check for document colors
#5610 Better thumbnail image scaling
#5596 Fix border sizes around thumbnails
#5588 Remove unused anchor links placed before every page
#5671 Remove unused index.html.template
#5674 Avoid getting |childNodes| twice in PDFPageView_reset, by using the variable instead
#5672 Remove unused viewer-snippet-b2g-activity-header.html
#5675 Remove obselete file from .gitignore
#5669 Avoid out of range array access in JBIG2 decoder
#5673 Refactor the thumbnail code
#5679 Refactor the outline code
#5678 Refactor the attachment code
#5684 Make sure that an A entry in an annotation dictionary is also a dictionary itself
#5691 Use the |shadow| function from src/shared/util.js in viewer.js
#5634 Add support for TrueType (0, 0) cmap tables (issue 5501, issue 5574, and bug 1037973)
#5651 Try to skip mapping of missing TrueType and CIDFontType2 glyphs
#5717 Test case for issue 5567
#5729 Fix CCITTStream regression by byte-aligning rows before checking EOL marker
#5703 Relax the |isSymbolicFont| check for TrueType (3, 1) cmap tables (issue 5701)
#5743 Only skip the |!isSymbolicFont| check for TrueType (3, 1) cmap tables if no previous cmap table was found (PR 5703 followup)
#5763 Update to version 1.0.1149
#5748 Fetch parameters if they are a |Ref| in CalGray/CalRGB color spaces (issue 5747)
#5744 Fix regression that prevents resetting the zoom level to "Automatic" when using the |Ctrl + 0| keys
#5721 Move the call to |PDFFindController.resolveFirstPage| into PDFViewer
#5731 Skip fill bytes (0xFF) when decoding JPEG images (issue 5331)
#5711 Remove the |el| property in PDFPageView and PDFThumbnailView
#5586 Update thumbnails only when they are visible (to improve scrolling through large documents)
#5758 Add option to open external links in new window
#5693 cleaned whitespace
#5769 nbsp normalization
#5680 Reset state upon load if showPreviousViewOnLoad
#5771 Remove unused isNull utility function
#5778 Add a |text| test-case for issue 5421
#5734 Lower space factor threshold
#5806 Add a reduced test-case for issue 5734
#5802 Embedded Viewer Should Not Override Page Title
#5770 Correctly detect OpenType font files with CFF data
#5819 Using newChannel2 instead of newChannel in the extension.
#5595 Use binary search in getVisibleElements()
#5582 Fix handling of "Fit" zoom values in setHash (issue 5581)
#5692 [l10n] Treat language as case-insensitive
#5821 Correctly detect the presence of the Adobe specific APP14 JPEG marker (bug 1140761)
#5826 WebL10n update (March 2015)
#5829 Fixes minor typo from #5826
#5785 Revert PR 5510, except in WebKit browsers, for breaking print preview in Firefox
#5838 Make presentation mode work again in Safari
#5525 Disable PresentationMode for certain problematic configurations
#5843 Enable OPS.setHScale in the SVG backend
#5848 Fix the node getinfo.js example

v1.0.1149

26 Feb 23:33
Compare
Choose a tag to compare

Changes:

#5552 Creates/refactors PDFPageView class
#5603 Use Content-Range instead of Content-Length #5512
#5618 Version 1.0.1040
#5606 Add a |textlayerrendered| event
#5600 Implement guards for stringToBytes and bytesToString
#5622 Move the |pagerendered| event to pdf_page_view.js
#5554 Refactors getDocument and adds PDFDataRangeTransport.
#5632 Fixes B2G file open sequence.
#5627 Whitelists 'tel' schema.
#5631 Refactor searching for end of inline (EI) JPEG image streams
#5624 Base64 example and be more flexible what type of data is passed
#5638 Fix thumbnail scaling regression for files with different page sizes (issue 5637)
#5641 Prevent setting |isStandardFont| to |undefined| for non-embedded fonts
#5639 Attempt to display the File size quicker in the Document Properties dialog (PR 5554 followup)
#5646 Amend the docs for |disableAutoFetch| to mention that streaming must also be disabled
#5619 Chrome extension: Add options page
#5567 Add marker segment (PLT, PLM) and refactor TLM
#5659 Fix thumbnail rendering regression, when using |draw|, for PDF files with blend modes (issue 5637)
#5660 Fill temporary canvases with a white background too
#5511 Bug 639134 - update check for document colors
#5610 Better thumbnail image scaling
#5596 Fix border sizes around thumbnails
#5588 Remove unused anchor links placed before every page
#5671 Remove unused index.html.template
#5674 Avoid getting |childNodes| twice in PDFPageView_reset, by using the variable instead
#5672 Remove unused viewer-snippet-b2g-activity-header.html
#5675 Remove obselete file from .gitignore
#5669 Avoid out of range array access in JBIG2 decoder
#5673 Refactor the thumbnail code
#5679 Refactor the outline code
#5678 Refactor the attachment code
#5684 Make sure that an A entry in an annotation dictionary is also a dictionary itself
#5691 Use the |shadow| function from src/shared/util.js in viewer.js
#5634 Add support for TrueType (0, 0) cmap tables (issue 5501, issue 5574, and bug 1037973)
#5651 Try to skip mapping of missing TrueType and CIDFontType2 glyphs
#5717 Test case for issue 5567
#5729 Fix CCITTStream regression by byte-aligning rows before checking EOL marker
#5703 Relax the |isSymbolicFont| check for TrueType (3, 1) cmap tables (issue 5701)
#5743 Only skip the |!isSymbolicFont| check for TrueType (3, 1) cmap tables if no previous cmap table was found (PR 5703 followup)

v1.0.1040

06 Jan 14:20
Compare
Choose a tag to compare

Changes:

#5420 Update l10n files (October 2014)
#5422 Avoid rendering invisible Type3 fonts (issue 5421)
#5418 Fix error in WidgetAnnotation
#5350 For JPX decoding only read next packet after checking for byte aligning.
#5433 Version 1.0.907
#5401 Add a reduced test case for bug 847420
#5390 Add a reduced test case for PR 5286
#5426 Fix JPX "Out of Packets" Error (issues 4358, 4659, 4814)
#5438 Add fkaelberer to the list of authors
#5409 Black text not visible #5291
#5443 Add a reduced test case for issue 5291
#5447 [issue 5440] fix rtl direction bug for full language codes
#5437 Change bug878194 to an |eq| test
#5454 Fix regression that prevents downloading of font files in the debugger
#5471 Fix typed array assignment in the |constructPostScriptFromIRResult| function (issue 5470)
#5428 Bug 1076909 - change args order in registerAddonHistogram.
#5416 Allow localization of the placement of percent signs in the zoom box
#5203 Fix loadingBar hiding when disableAutoFetch is enabled (issue 3590)
#5478 Prevent text selection in Presentation Mode (bug 1018882)
#5473 Use fewer multiplications for Ycck to Rgb conversion
#5485 fixed multi precinct handling in jpx
#5492 Fixes typo in webgl.js
#5488 Prevent a "TypeError: pdfViewer is null" when the viewer loads (PR 5413 followup)
#5465 [GENERIC viewer] Fix the background color of the findInput when the search term is not found
#5516 Fallback to the |Dummy| Pattern when we fail to parse a Shading Pattern (issue 5509)
#5507 Fix passing null as onFullfilled (which is broken in Chrome(-ium) 32)
#5523 removed rounding of values in composeSMaskLuminosity
#5524 Increases chunk size in SMask composition to 1M pixels
#5528 Add a (linked) test case for bug 1064894
#5448 Added try/catch #5427
#5449 Use 3 param method for converting r,g,b into css string.
#5532 Add a (linked) test case for bug 1108753 (PR 5276)
#5508 Refactor searching for the SOI marker of inline JPEG image streams
#5445 Fixes caching of inline images during parsing.
#5406 [Firefox] Enable linting of *.jsm files and update the code style in extensions/firefox/content
#5549 Support EPH and SOP markers.
#5551 Remove the link to the AMO extension from the README
#5553 Two JPX test cases for recently merged PRs
#5383 Fix searching for end of inline (EI) images with ASCII85Decode filters (bug 1077808)
#5494 Support all progression orders
#5510 Added page break hints in viewer css.
#5463 Add basic support for non-embedded Wingdings fonts
#5379 Don't map glyphs to unicode non breaking space.
#5562 Test case for issue 5481
#5446 minor improvements and code cleanup for canvas.js
#5536 Add fallback for non-embedded "Century Gothic" CIDFontType2 font (issue 4722 and bug 879561)
#5214 Improves rendering performance of annotation layers.
#5566 Fixed empty packet parsing bug
#5569 Remove unused annotation highlight div
#5578 Update linting on Travis to cover *.jsm files (PR 5406 followup)
#5571 Remove unused hasOperatorList code
#5594 Add a reduced test case for issue 4379
#5597 CCITTFaxStream: fix regression when EncodedByteAlign is true and EndOfLine is false
#5602 Ensure that |get fingerprint| doesn't fail if the ID is not an array (issue 5599)
#5382 Fix the placement of arrows in the zoom box
#5612 Add missing comma to German add-on description

v1.0.907

22 Oct 13:28
Compare
Choose a tag to compare

Changes:

#5209 Set transformOrigin for text layer in css.
#5219 Avoid creating intermediate strings in sanitizeMetrics
#5232 Chrome extension: Isolate pageAction logic
#5240 In src/display/api.js, add documentation for the |progressCallback| parameter in |PDFJS.getDocument|
#5242 Fix for minutes tz calculation in document properties
#5237 Fix the placement of the findInput loading indicator in RTL locales
#5259 Handtool: Remove focus from previous node on click
#5251 Add basic support for ZapfDingbats
#5249 CCITTFaxStream parser: resolve xref if needed
#5260 Add more cases to |mapSpecialUnicodeValues| to fix the rendering of various Symbol encoded brackets
#5267 Version 1.0.712
#5226 Fix Zoom box resizing when it's hidden when the viewer loads (issue 5224)
#5248 Add getStats unit test
#5276 Fix handling of RGBA buffers in CalRGB colorspace (issue 5270)
#5235 Remove a duplicate PDF file from the test suite
#5221 Don't scale single-char text divs.
#5281 Fetches params in makeFilter
#5229 Auto zoom landscape documents (like slide presentations) to fit their height
#5271 Opera fixes
#5247 Fix links to wiki subsections and remove TextDecoder feature tests
#5284 Fetch decodeParams if it's a |Ref| in JBIG2Decode streams
#5289 Fixed typo in core/jpx.js #5227
#5287 Bug 1031612 - In PDF Viewer, the buggy XMP title "Untitled" overrides th...
#5286 Fix loading of inline JPEG images
#5254 Avoid showing 'blob..' as a title when using pdfjs from B2G
#5233 Workaround for TrueType fonts with exotic cmap tables (bug 1057544)
#5302 Removes examples from jsbin.com
#5275 Fix the exception propagation when rejecting workerReadyCapability
#5245 Further amend GlyphMapForStandardFonts (issue 5244)
#5115 Firefox pdf viewer support for e10s (Bug 942707).
#5306 Update zh-TW translation
#5305 Miscellaneous e10s fixes
#5315 Adds preprocessor directive to the X-Content-Security-Policy stuff
#5317 Bug 1064496 review changes
#5312 For |make firefox/mozcentral| builds, add cleanupJSSource to remove duplicate file headers in extensions/firefox/content/PdfjsChromeUtils.jsm
#5320 Merge of the #5311 and #4956
#5311 Lowerize the params to allow case sensitive
#5321 Fixes milestones link in README.md and adds pdfBugEnabled to the Chrome extension preferences
#5318 textLayer is not used anymore in render context
#5327 Builds distribution package for npm and bower.
#5330 Improve the getData unit test
#5314 Fixes names collisions in content.js
#5282 TextLayer selection coloring improvement for overlap.
#5337 Fix a regression preventing page change in the Stepper in the debugger
#5335 Fix text highlighting in the Font Inspector in the debugger
#5339 Adds readme file for the pdfjs-dist repo.
#5308 Add support for MMType1 fonts with embedded font files
#5263 Implement streaming using moz-chunk-arraybuffer
#5346 Misc follow ups on the streaming requests
#5250 Fix Symbol fonts without font file but with Encoding dictionary (issue 5238)
#5295 Refactoring to move page display code into separate class
#5359 Fixes typo/regression of #5295 for presentation mode
#5360 Followup fix for entering/exiting Presentation mode
#5361 Moves scrollPageIntoView to the PDFViewer.
#5362 Use CSS import to separate pdfviewer styles
#5363 Packages PDFViewer as a UI component.
#5367 Fixes enabling pdfBug
#5366 Use font loader api
#5368 Fixes printing regression a10fde1
#5373 Disables streaming in the extension when length is undefined.
#5369 Fix inconsistencies in the preference names used by PDFViewerApplication
#5371 Fix disableAutoFetch regression in the generic viewer
#5364 Firefox addon: Use isContentWindowPrivate instead of isWindowPrivate if available
#5374 Fix |cleanup| regression in the viewer
#5376 Adds optional argument to FontFace contructor call.
#5351 Require destinations when they are needed and do not fetch all of them in advance
#5352 Use |toUnicode| when creating the glyph map for standard CIDFontType2 fonts without embedded font file
#5325 Update findbar to wrap on initial search
#5399 Fix "Automatic Zoom" for landscape documents with very wide pages (issue 5398)
#5396 Bug 1071709 - 5-30% TART / Session Restore regressions on Inbound (v.35) september 22 from rev d3a7f765152f
#5395 [Firefox] Use getTabForBrowser instead of _getTabForBrowser if possible
#5402 Refactors PdfDataLister buffering.
#5407 Package.json update
#5413 Disable zooming in Presentation Mode
#5414 Bug 1072164 - Fixes decoding for CMYK jpegs.

v1.0.712

04 Sep 23:17
Compare
Choose a tag to compare

Changes since last update:

#5075 fix typo
#5080 Version 1.0.473
#5081 Fixes typo in promises implementation for legacy browsers
#5078 Optimize Ref_toString().
#5083 Initialize PDFView.url = ''
#5034 [SVG] Adds clip operator, fixes setGState, fill, stroke operators
#5074 Use Array.join to build up strings in readPostScriptTable().
#5077 Fix loading of PDF files with invalid or missing Type3 characters (issue 5039)
#5088 Stop including cidmaps.js
#5023 Re-factor parsing of the Linearization dictionary
#5063 Avoid creating intermediate strings in the PostScriptLexer
#5096 Right-size |chars.length| and |type.length| in bidi().
#5099 Add a reduced test-case for bug 1027533
#5059 Removing unused code and enforcing additional JSHint options
#5090 Re-run feature detection after downgrading the Chromium browser.
#5103 Add a reduced test-case for issue 4800
#5104 Use CSS.supports instead of '..' in ....style
#5082 Managed preferences for Chrome administrators
#5106 Attempt to fix Travis
#5105 Add a couple of reduced test-cases for PR 4259
#5101 Avoid expensive for..in loops involving CMaps
#5109 Use strict equalities in test/*
#5110 Fix JBIG2 decoding issue #5026
#5108 Use strict equalities in web/*
#5112 Add strict equalities in src/shared/*
#5113 Add strict equalities in src/display/*
#5116 Add strict equalities in src/core/* (part 1)
#5119 Use strict equalities in make.js, external/* and extensions/*
#5121 Use strict equalities in src/core/{image, jpx, jpg, jbig2}.js
#5120 Add strict equalities in src/core/* (part 2)
#5125 Add strict equalities in src/core/* (part 3)
#5122 Enforce strict equalities with JSHint
#5127 Fix issue where pdfDocument is null
#5129 Add reduced test-cases for issues 4875 and 4881
#5111 Represent cid chars using integers, not strings.
#5136 Properly set this.eof in CCITTFaxStream
#5134 Improves speed of the functions
#5008 Make QueueOptimizer easier to read.
#5095 Adjust the heuristics to recognize more cases of unknown glyphs for |toUnicode| (issue 5070)
#5007 Converting PDFFindBar and PDFFindController to classes
#5071 Optimize a font-heavy document
#5141 Fixes lint errors
#5140 Removes some bind() calls from fetchAsync
#5137 Optimize TextLayerBuilder_renderLayer() for text heavy documents.
#5135 Make IdentityCMaps more compact.
#5100 Load file:-URLs in the main thread.
#5142 Fixes text-selection example
#5143 Simplify text-selection example.
#5145 Revert commit 9a41659 (PR 5005) for breaking the loading of certain PDF files in the Firefox addon when range requests are active
#5149 Fixes CCITTFaxStream regression
#5114 Faster JBIG2 bitmap decoding
#5158 Change Rob's email address
#5157 Disable spellcheck in Chromium's URL popup
#5151 Avoid repeated creation of a simple RegExp object.
#5156 Fixes a regression from PR 4982
#5153 Preserve reference fragment in Chromium URL router
#5154 AES cipher: make padding optional
#5162 [SVG] Reduces amount of used memory during PNG creation.
#5147 [SVG] Adds image and mask features, fixes clippath
#5164 Nit fixes for svg.js
#5150 Fix #4935
#5160 only convert in IE9 if the requested responseType is actually an arraybu...
#5163 Refactoring of OpenType/TrueType font construction
#5166 Remove old unused code from PDFView.close()
#5170 [SVG] Uses float number formatter to print numbers in SVG
#5171 Fix typo
#5169 Attempt to display the File size quicker in the Document Properties dialog
#5175 Disable the "Go to First/Last Page" buttons when the first/last page is currently active
#5174 Add even more unit tests for the API
#5172 Avoid an allocation in readCharCode().
#5177 Remove two instances of leftover console.log debug statements
#5179 Miscellaneous code improvements for svg.js
#5180 Minor changes for api.js, font_loader.js and svg.js
#5183 Adds width at the beginning of the Type2 charstring
#5185 Fix CMap unit tests
#5182 SVG Command line tool for exporting output
#5188 Refactors some SVG api and includes svg.js in the build
#5184 Use cff glyph width in the hmtx table
#5191 Right-size the array in getSampleArray().
#5168 Avoid unnecessary array allocations in EvaluatorPreprocessor_read().
#5187 Reduce ASCII checks in makeInlineImage().
#5186 Fix the error handling for CMaps that fail to load
#5181 Optimizes defaults for svg.js
#5165 implement CalRGB color space
#5192 Ignore setGState no-ops.
#5194 Remove position: absolute from text divs.
#5195 Add unit test for PDF file loaded as typed array
#5198 Implements paintFormXObject in svg.js
#5199 Bug 1054590 - [pdf.js] Update to use gaia-header
#5200 CalRGB: optimize CalRGB calculations
#5201 Small re-factoring of DocumentProperties
#5205 Remove setGStateForKey() closure.
#5193 Only use data-font-name attributes when necessary.
#5210 Fixes Type3 negative font direction
#5208 Debounces scroll events in web viewer.
#5212 Fix ensureByte() function name (copy-and-paste error)
#5204 Apply the GRAYSCALE_1BPP optimization when needsDecode is set.

v1.0.473

24 Jul 14:51
Compare
Choose a tag to compare

Changes since last update:

#4879 Version 1.0.277
#4851 Added more preferences for the available hash parameters.
#4866 Removes mozResponseArrayBuffer
#4876 Prevent adding undefined array entries to CMap.map in mapRangeToArray (issue 4875)
#4835 Prevent font error when no preferred cmap table is found (workaround for issue 4800)
#4886 Adds color components decoding to the JPEG
#4891 Fixes typo in getAsync
#4889 Optimized loops in JPG conversion.
#4868 Added a base64 transparent gif image to links for IE
#4894 Optimize JPG.js receiveAndExtend for 1 bit case.
#4896 Deleted unused variables in jpgjs buildComponentData.
#4897 Optimization for FlateStream_getCode, making more pdfs parsable.
#4902 Prevent infinite loop when scanning for endstream (bug 1020226)
#4907 add object id to streams to prevent infinite loops.
#4892 Fixes masked JPEG image
#4867 Fixes murmurhash for old webkit.
#4895 Small optimizations 1
#4870 Enable browser cache when running test server
#4910 Handle cases where the fontName contains non-alphanumeric characters (issue 4909)
#4912 Fixes optional backdrop regression
#4917 Fixed base64 image in CSS
#4920 Zero the height and width of the PageView canvas before deleting.
#4922 Return ErrorFont in loadFont when the fontRef is undefined
#4915 Fix #4914
#4925 Protects PDFJS.disableXXX == true from change
#4864 Translate statcmp.py to JavaScript
#4928 Removes statcmp.py
#4929 Imports most recent l10n files
#4930 Re-add Attachment strings to the Swedish l10n
#4932 Cache pages at the start of drawing, not the end.
#4924 Fixes drawImage for thumbs
#4933 Fix mishandling of incomplete, inverted masks.
#4834 Limit the size of canvases to 5MP (iOS restriction)
#4937 Halve the size of the PageView cache.
#4936 Fix PageView cache re-insertions.
#4938 Added support for decrypting PDF 1.7/2.0 Algorithm 5 revision 5 and 6. (perf)
#4939 Fixes JPX COC support / JPX error reporting refactoring
#4942 Add larger zoom values to zoom dropdown box
#4941 Prevent rendering unnecessary pages when the HOME/END keys are pressed
#4952 Collect More Telemetry Data
#4955 Renames concatenateToArray to appendToArray
#4959 Zero the height and width of cached canvases before deleting them.
#4950 Faster JPEG transform
#4951 Added getOperatorList to api.js
#4946 Refactor fake worker loading (issue 3862)
#4962 Increases page cache size when needed
#4961 Disables broken rAF on iOS
#4966 Add ChunkedStream.ensureByte().
#4965 Splits shared/annotation.js into core/ and display/
#4969 Implements onerror for JpegStreams
#4970 Fixes AnnotationUtils in the extension build
#4968 Build up textChunk.str more efficiently.
#4972 Avoid allocating return object in EvaluatorPreprocessor_read().
#4971 Removes error catch from fetchUncompressed()
#4945 Let Parser_makeFilter return NullStream when an invalid stream is encountered (issue 3417)
#4973 Factor out repeated Ref key string generation code.
#4979 SVG Viewer Example demo
#4981 Misc SVG Viewer example fixes
#4987 Refactoring PDF find controller and implementing page content and query normalization
#4982 Use null instead of [] for ops with no args.
#4991 Refactoring text layer builder and converting text layer builder to a class
#4944 Don't blindly trust toUnicode when building toFontChar for non-standard fonts without a font file (issue 4934)
#4976 Restructured EvaluatorPreprocessor_read to be more natural.
#4980 Additional heuristics to recognize unknown glyphs for toUnicode (bug 1027533)
#4993 Group 'rectangle' operator into constructPath
#4999 [SVG] Optimization of save/restore usage, Addition of paint methods
#4997 Fixes CanvasPixelArray set polyfill (#4974)
#5001 Do not run cleanup while printing is ongoing.
#5004 Improving CanvasPixelArray polyfill for Android
#5000 [SVG] Optimization of constructPath & Adds unit lengths
#5017 [CIDFontType2] Map characters missing in toUnicode to the private use area (bug 1028735 and issue 4881)
#5014 A few small font optimizations
#5025 Improve how DecodeStream handles empty buffers.
#5050 In the reftest analyzer, make it possible to toggle "Circle differences" with the D key
#5033 Avoid creating intermediate strings in Util.makeCssRgb().
#5015 Zero the height and width of the WebGL canvases on cleanup
#5005 Faster chunkedStream_getByte()
#5021 Fixes mesh fill pattern with optional matrix
#5062 Adjust the tabindices in the viewer
#5037 Add |fillRgb| method to LabCS
#5012 Prevent CMapFactory.create from failing by passing the necessary parameters from PartialEvaluator_readToUnicode (issue 5010)
#5068 Adds ImageData set support for legacy safari
#5069 Revert commit fc73e2e (PR 5005) for breaking certain PDF files
#4995 Fix another seac regression (issue 4801)

v1.0.277

02 Jun 17:18
Compare
Choose a tag to compare

Changes since last update:
#4520 Force default icon size for Text annotations without appearance stream
#4663 Version 1.0.68
#4645 Only handle scroll events when PDFView.pdfDocument is defined (issue 4642)
#4666 PDFImage_resize: copy in place with alpha and ~5x speed up
#4675 Dutch translations for attachments strings
#4674 Move DocumentOutlineView and DocumentAttachmentsView to their own files
#4671 Guesses Type1C font type based on file content
#4679 [Firefox] Workaround for sessionStorage error when the preference network.cookie.lifetimePolicy is set to 1 (bug 1000777)
#4686 Converts attachment items to buttons instead of links
#4697 Fix the display of the indeterminate progress bar when the loaded percentage is NaN (issue 4696)
#4687 Providing content type for attachment downloads
#4676 Force Unix line endings for text files
#4692 Add support for setting multiple values at once in ViewHistory
#4528 Less color conversion
#4693 Ensure that the viewer loads even if there are errors when the preferences are read
#4699 Reduces memory used during testing
#4669 Add a preference to set the sidebarView on load
#4689 Fixes DownloadManager for IE10 and above
#4701 Prevent trying to map characters to the specials unicode block in adjustMapping (issue 4650)
#4707 Link to FAQ from startpage
#4700 Reject polyfill and createPromiseCapability
#4705 Refactor how the database is read in ViewHistory
#4716 Amend GlyphMapForStandardFonts to fix issue 4276
#4709 Remove legacy promises from api.js
#4667 Remove LegacyPromise in src/core/chunked_stream.js
#4721 Tiny updates
#4724 Fixes cancel rendering regression
#4730 Fixes disableWorker regression
#4731 Fixes rendering of PDFs with nested trailer dictionary
#4725 Remove LegacyPromise in src/core/pdf_manager.js
#4727 Remove LegacyPromise in src/shared/annotation.js
#4726 Remove LegacyPromise in src/core/core.js
#4728 Remove LegacyPromise in src/core/worker.js
#4729 Remove LegacyPromise
#4733 Completes unit tests for PostScript evaluator and fixes two bugs in the evaluator itself
#4708 Graphic optimizations 1
#4732 Fixes tests for #926 and #2537
#4750 Reduce the number of resources loaded by GetDoc
#4756 Add getFindBar for Fx extension (refactor)
#4753 Add getFindBar for Fx extension
#4759 Refactoring annotation.js and removing old TODOs/comments
#4683 Groups path commands into single operation
#4763 Uses rAF to interrupt the operator list execution
#4767 Removes unused code from web/compatibility.js
#4740 Adds pageviewport documentation
#4769 update DE translation (attachments)
#4738 Allow unsafe-eval to fix font renderer in Chromium extension
#4771 Fix typo when rejecting Promise in getPage
#4768 Handle more cases of invalid line dash patterns in annotation borders
#4772 Reduce the number of calls to PDFView.getVisiblePages from updateViewarea
#4781 Move jshint & yargs to devDependencies
#4784 Switch to Node.js 0.10
#4783 Use jQuery 2 in examples
#4782 Remove type="text/javascript" from script tags.
#4777 Refactor the CSS rules for the overlayContainer
#4752 Refactors MessageHandler.send to remove callbacks
#4793 Fix regression that prevents downloading the PDF file (PR 4752)
#4796 Check if the Names dictionary actually contains a Dests dictionary before attempting to get the destinations
#4795 Add unit test for getData
#4736 Build paths for glyph accents when drawing text as curves
#4797 Update text layer correctly when zooming with USE_ONLY_CSS_ZOOM
#4764 Graphic optimizations 2
#4549 / support in Chrome / Opera
#4799 Handle nested post script arguments in the preprocessor
#4773 Simplify Jbig2Image.decodeInteger()
#4812 Add more unit tests for the API
#4809 Fix loading of fonts with empty font files (bug 866395 and issue 3522)
#4808 Fix strange looking buttons in mobile Firefox
#4770 Adds Promises to getOperatorList
#4817 Graphic optimizations 3
#4815 Refactors loadFont for translateFont be async
#4821 Fixes regression in the cleanup
#4826 Wrapped localstorage.setItem in try block to avoid uncaught exceptions.
#4831 Adds some addon/mozcentral files to the preprocessor
#4824 Moves colorspace.js and function.js into core/
#4829 small optimizations in parser.getObj(), lexer.getObj()
#4845 adjust the aurora path in the tests browser.json
#4823 Simplify the interaction with overlays by adding an OverlayManager
#4850 Small comment fix
#4833 OpenAction support for printing
#4857 Making sure we are not importing CRs and BOMs
#4858 Bug 1015115 - switch to cloneInto in pdf.js
#4856 [OverlayManager] Add preventDefault to the keydown event handler
#4832 Refactors showText: split type3, remove showSpacedText
#4861 Fixes unhandled XObject subtype PS error
#4803 [WIP] Update web/compatibility.js
#4865 Adds compatibility.js to the Firefox extension
#4877 PdfRedirector checks if plugin is still in PlayPreview mode

v1.0.68

24 Apr 01:21
Compare
Choose a tag to compare

Changes since last update:
#4621 Setting empty tooltips for zoom select box items
#4628 Ensure that the errorWrapper is closed when a new document is opened (issue 4625)
#4622 version 1.0.21
#4607 Remove a bunch of unused local variables from web/ and src/
#4552 Prevent the annotationLayer from being recreated when the page is redrawn
#4538 Less copying in the JPX decoder
#4633 Fixes spacing in the text layer builder
#4636 Rename getUint32 to getInt32 and collect readInt*() in util.js
#4640 Fix special powers add-on for firefox.
#4637 Fix #3483 and simplify readCodingpasses()
#4638 Recognizes ASCII type1 encoding
#4641 Fixes invalid CFF name for Mac OSX
#4646 Update of zh-TW
#4644 Add Attachment strings to the Swedish l10n
#4656 Fix regression preventing the setting of breakpoints in the Stepper (PDFBug)
#4653 Fix corrupted images #4649
#4655 Add integer conversion to RGB colour values in convertToRgb in DeviceCmykCS (issue 4443)
#4654 Basic node.js example that demonstrate pdf.combined.js file use
#4600 Optimized JPX decoder ~6% faster

v1.0.21

14 Apr 21:56
Compare
Choose a tag to compare

Changes since last update:
#4535 Avoid drawing text when the font size is zero (issue 4484)
#4512 Clean up duplicate string conversion functions
#4539 Workaround for missing 'Rect' entry in annotation dictionaries (issue 4537)
#4554 Better test process killing for Windows
#4546 Prevent the Document Properties from being empty when the dialog is opened before the file has started loading
#4524 Use full screen width in presentation mode
#4545 Use new Chromium APIs for FTP and redirects
#4482 Rewrite 'Preferences' to make it async
#4516 Added CSS rules to improve scrolling on iOS devices
#4455 Fix download button waiting if document has started but not completed downloading
#4559 Refactors history and how the database is stored
#4563 Test with opera
#4565 Read color info from JPX stream + fix color problem #4540
#4286 WebGL and misc memory optimizations
#4374 Doesn't traverse cyclic references in Dict.getAll; reduces empty-Dict GC
#4578 Workaround for cases where FontName in the FontDescriptor differs from BaseFont in the Font (bug 847420)
#4569 Handle 'space' character correctly in MacRomanEncoding (bug 878026)
#4423 Treat fonts with the same font descriptor and encoding as aliases
#4574 Handle 'space' character correctly in WinAnsiEncoding (bug 850854)
#4568 Jpx optimization
#4570 Build the text layer geometry on the worker.
#4587 Fixes text-selection example
#4584 Create the WORKER_SRC_FILES and EXT_SRC_FILES lists in make
#4585 Redo and add more documentation to gh-pages.
#4593 Fix version numbers.
#4590 Relaxes murmurhash array requirement.
#4589 Remove leading and trailing spaces from info.Producer and info.Creator when printing debug info in the console (bug 872827)
#4556 Use Opaque Canvas
#4577 Removes custom test/reporter.js from the lint process
#4550 Heuristics to recognize the unknown glyphs for toUnicode
#4588 Adds text-only example
#4597 Print WebGL status in the console
#4595 Append whitespace divs so matches still line up.
#4602 Introduces .jshintignore
#4601 Fixes documentation for PDFPage.render
#4599 Adds then method to the RenderTask
#4596 Fix seac regression.
#4598 Work-around for filesystem:-URL bug
#4604 Fixes broken link in the documentation
#4605 1.0 release.
#4611 Exclude B2G stubs from linting
#4612 Fixes number of glyphs in the generated font
#4606 Makes PDF files load when xrefEntry is undefined
#4614 Refactor - remove redundant function and all references
#4617 Changes 'documentload' event behavior.
#4618 Refactoring - remove duplicated code in TextLayerBuilder
#4616 Creates make.js code to build jsdoc.
#4613 Refactors buildImage to use Promise; don't draw bad images
#4581 Check that images have valid dimensions (issue 4575)