Releases: mozilla/pdf.js
v1.4.11
#6758 Fix incorrect position of text widget
#6683 Adds UMD headers to core, display and shared files.
#6762 Only export Uint32ArrayView
when it's actually defined, to prevent breaking e.g. the Firefox addon/built-in version
#6764 Collapses UMD headers in bundled files.
#6766 Bump versions to 1.3.
#6773 Changing Firefox Addon ID
#6765 Remove unused variables
#6767 Strip referrer from link annotation.
#6778 Fixing externalLinkTarget
#6772 Remove a superfluous "s" in AnnotationsLayerBuilder
from files in web/
#6770 Refactor annotation display layer code to use classes
#6780 Implement annotation layer regression testing
#6787 Change test-case issue4914
to an annotations
test
#6785 Adds/modifies examples for node.js and webpack.
#6792 Implement support for Popup annotations
#6805 Do not modify data.rect
in AnnotationElement_createContainer
, since that will corrupt the annotation position on subsequent calls
#6808 Rename and reorder link annotation CSS
#6814 Ensure that the baseTransform
is applied when rendering annotations
#6807 Ensure that hidden popups do not use any space
#6813 Implement support for Underline annotations
#6821 Bug 951051 - Better crypto key length recovery.
#6771 Removes hardcoded module loading order
#6819 Implement support for StrikeOut annotations
#6823 Implement support for Squiggly annotations
#6827 Implement support for Highlight annotations
#6724 Add validation for callsubr and callgsubr for type 2 charstrings.
#6837 Fix a typo in the "file" entry for issue3694_reduced in test_manifest.json
#6834 Strip null
(\x00) characters from the URLs in LinkAnnotations (issue 6832)
#6842 Update the link location for 'intelisa.pdf' to point to the Internet Archive
#6843 shading-pattern: Decreased Shadings.SMALL_NUMBER
#6825 Adds UMD header to pdf.js and pdf.worker.js files.
#6820 Apply Patterns, if necessary, when rendering text
#6839 Check that CIDFontType0 fonts does not actually contain OpenType font files (issue 6782)
#6855 Issue 6854 - Update the link locations to point to the Internet Archive for tests: 20130226130259, JST2007-5, P020121130574743273239, SFAA_Japanese, TaroUTR50SortedList112
#6858 Issue 6854 - Re-enable testing of 'aboutstacks.pdf'
#6859 Update five linked test cases to point to the Internet Archive
#6860 Issue 6854 - Update the link locations to point to the Internet Archive for tests: artofwar, bpl13210, bug766138, bug808084, bug887152
#6862 Issue 6854 - Update the link locations to point to the Internet Archive for tests: cable, fips197, fit11-talk, geothermal, hmm
#6853 Update the link location for 'issue3666.pdf' to point to the Internet Archive
#6864 Update links to point to the Internet Archive for ohkubo-SS04, pal-o47, pdf, piperine and preistabelle
#6865 Update the linked test case hmm.pdf to point to the intended version
#6846 Use URL constructor for combineURL.
#6873 Add an extra set of //
to the comment for the URL polyfill, since the preprocessor eats one set, thus breaking the world (PR 6846 followup)
#6867 Disable e10s.
#6866 Issue 6854 - Update the link locations to point to the Internet Archive for tests: html5checker, hudsonsurvey, ichiji, issue1010, issue1015
#6869 Issue 6854 - Update the link locations to point to the Internet Archive for tests: issue1049, issue1096, issue1127, issue1133, issue1169
#6871 Issue 6854 - Update the link locations to point to the Internet Archive for tests: issue1233, issue1257, issue1309, issue1317, issue1419
#6875 Issue 6854 - Update the link locations to point to the Internet Archive for tests: issue1466, issue1629, issue1658, issue1685, issue1687
#6876 Issue 6854 - Update the link locations to point to the Internet Archive for tests: issue1709, issue1721, issue1729, issue1796, issue1810
#6878 Issue 6854 - Update the link locations to point to the Internet Archive for tests: issue1878, issue1912, issue1936, issue1998, issue2006
#6880 Update links to point to the Internet Archive for issue818, issue919, jai, liveprogramming and mao
#6881 Update links to point to the Internet Archive for issue3384, issue3848, issue3903, issue3925 and issue5592
#6884 Remove 'tcpdf_033.pdf.link', since it has been replaced with a reduced test-case
#6883 Issue 6854 - Update the link locations to point to the Internet Archive for tests: issue2129, issue2139, issue2386, issue2442, issue2531
#6885 Replace the linked test-case for issue 1155 with a reduced one
#6886 Issue 6854 - Update the link locations to point to the Internet Archive for tests: issue2829, issue2853, issue2881, issue3062, issue3999
#6887 Remove 'issue2537.pdf.link', since it has been replaced with a reduced test-case
#6888 Update links to point to the Internet Archive for issue1597, issue2627 and kdchart
#6848 [TrueType] Recover from a missing "glyf" table by replacing it with dummy data, utilizing the existing code in sanitizeGlyphLocations
#6895 Update links to point to the Internet Archive for issue2799 and issue5726
#6822 [api-minor] Add support for URLs in the document outline
#6900 Set type="password" for the PasswordPrompt
input dynamically, to prevent unnecessary warnings in Firefox for http:// documents (issue 6898)
#6891 Map missing glyphs to the notdef
glyph for TrueType (3, 1) fonts regardless if the 'post' table is defined or not (issue 6889)
#6803 [api-minor] Add support for PageLabels in the API
#6916 Allow foriegn origin URLs only for hosted viewers.
v1.2.109
Changes:
#6464 Version 1.1.469
#6200 Refactor the previous history rewriting logic
#6450 Update the link location for the issue3115
test file
#6452 Replace the unavailable linked test-case for PR 2875 with a reduced test-case
#6482 Ensure that the baseTransform
is always defined for TilingPatterns
#6468 Don't clear the canvas
until re-rendering is finished when the scale
or rotation
is changed (issue 6467)
#6475 Tweak PDFPageView
to reflect that this.annotationLayer
is an AnnotationsLayerBuilder
instance, instead of a DOM element (PR 5552 follow-up)
#6485 Prevent PartialEvaluator_buildFormXObject
from failing if the Matrix
or BBox
contains indirect objects
#6411 Remove Parser_fetchIfRef
since it's obsolete
#6489 Upstream changes from Bug 1202902 - Give loader scripts and XUL frame scripts a lexical scope that doesn't break everything?
#6473 Upstream the changes from Bug 1165272 - unify Get*CodebasePrincipal with createCodebasePrincipal in nsIScriptSecurityManager
#6501 Slightly improved getPage
unit-tests
#6494 Add a unit-test for bug 1020226
#6491 Make XRef_indexObjects
even more robust against bad PDF files, by checking for the existence of 'trailer' if 'xref' is not found
#6500 Add a (linked) test-case for PR 4897
#6499 Add a (linked) load test for issue 4387
#6503 Follow-up to PR 6489 - Upstream changes from Bug 1202902
#6502 Add a reduced load test-case for bug 1020858
#6476 Right-size the map
array in PartialEvaluator_readToUnicode
#6520 [CRX] Call callback instead of onCompleted
#6434 Replace the unavailable linked test-case for issue 4436 with a reduced test-case
#6524 Fix a regression, from PR 5356, that breaks all scrolling in PresentationMode
#6481 Add a (linked) test-case for issue 4914
#6528 Ensure that Dict_getArray
doesn't fail if xref
in undefined (PR 6485 follow-up)
#6531 Fixes bluebeam password protection issue
#6532 Add unit-tests for PR 6531
#6540 Add unit-tests for the onPassword/onProgress
callbacks of the API
#6550 Ignore operators that are known to be unsupported
#6543 Prevent getOperatorList from failing to correctly parse OPS.paintXObject for TilingPatterns that are missing some /Resources entries (issue 6541)
#6554 Add a reduced test-case for issue 4575
#6557 Pushing update reason for gh-pages and bower.
#6546 [api-minor] Adds controlled destruction of the worker.
#6555 Update version number for minor API changes.
#6558 Add a reduced test-case for issue 6151
#6560 Prevent TypeError: page is undefined
when the document has been destroyed (PR 6546 follow-up)
#6562 Improved get fingerprint
unit-tests (PR 5124)
#6566 Add a totalLength
getter to OperatorList
, since the length
is zero after flushing
#6568 [api-minor] Add an optional param to DocumentInitParameters for speci…
#6552 Better CSS scaling for deviceRixelRatio != 1.
#6578 Ignore any pending data when worker is terminated.
#6576 Replace the linked test-case for issue 1293 with a reduced test-case
#6445 Fix exception when rotate page without a document
#6580 Find match count (rebase of #5051)
#6585 Replace the linked test-case for issue 3879 with a reduced test-case
#6587 Move VIEW_HISTORY_MEMORY constant to view_history.js
#6588 Better spacing in text layer.
#6586 Create a new indeterminate loading bar animation for the default viewer
#6591 Non/less flashing text layer during selection.
#6597 Ensure that the textLayer
has the same dimensions as the canvasWrapper
(issue 6596)
#6595 Uses document.currentScript for pdf.worker.js path.
#6590 Combines standalone chars into text groups.
#6601 Fixes incorrect PDF file font metrics.
#6602 Adding to authors
#6604 Add a reduced text
test-case for issue 4665
#6607 Prevent readCmapTable
from failing if the cmap
is missing in TrueType fonts
#6608 Improve error message for non-existent local files
#6617 Correctly handle /FitH destinations with null
as the parameter
#6620 Use random port in test webserver
#6318 For documents with different page sizes, ensure that the correct page becomes visible on load when e.g. the 'page' hash parameter was provided (bug 1191279, issue 6393)
#6600 Improve reliability of the test server
#6622 Remove mozcentral test files.
#6610 Replace the unavailable linked test-case for issue 2128 with a reduced test-case
#6625 Dispatch the pagerendered
event when zooming is only done with CSS (issue 6463)
#6599 Generate better API documentation
#6629 Downgrade the JSHint version in order to fix linting failures on Travis
#6628 Ignore the /Mask entry in images unless its /ImageMask entry is explicitly set to true
(issue 6621)
#6630 Fix minor capitalization issue in viewer
v1.1.469
Changes:
#6273 Refactor annotation code to use a factory
#6285 Rename PatternType
to ShadingType
to avoid confusion
#6281 Keep the Link annotation's data URL on one line
#6292 Fix various shading pattern regressions (issue 6287)
#6270 Adjust the heuristics used to detect OpenType font file with CFF data (bug 1186827, bug 1182130, issue 6264)
#6222 Improve robustness of builder (esp. on Windows)
#6304 fix handling of flags 1-3 in coons shading
#6308 Apply hover style to .overlayButton not only when hovered, but also when focused.
#6310 fix handling of flags 1-3 in tensor shading
#6282 Add a PDFLinkService
instance to the "simpleviewer" component example
#6315 Test case for tensor shading PR 6310
#6321 Removes PdfRedirector.js and PlayPreview support.
#6325 Version 1.1.366
#6314 Fix regressions affecting both the 'pagemode' hash parameter and certain 'namedaction' types (PR 5971)
#6327 Prevent switching to disabled views (i.e. outline or attachments) in the sidebar
#6329 cmaps: Use cmap.forEach instead of Array.forEach
#6354 Fix typo in drawFigures
, in webgl.js, which causes shadingPatterns with figure.type === triangles
to render incorrectly
#6349 Fixes supportsMozChunked for node.js
#6233 Improve support for viewing PDFs from file://-URLs in the Chrome extension
#6366 Only take the fast-path in PDFImage_createImageData
for un-masked JPEG images with "standard" colour spaces (issue 6364)
#6141 Provide a fallback for font rendering when not allowed to use eval
#6332 Serialize errors before invoking postMessage
#6370 api/getDocument: handle ArrayBuffer check for PDF binary data (byteLength)
#6372 Also check maybeLength
when deciding if a stream is empty in Parser_makeFilter
(issue 6360, bug 1191694)
#6375 Make XRef_indexObjects
more robust against bad PDF files (issue 5752)
#6337 Adjust which TrueType (3, 1) glyphs we attempt to skip mapping of (issue 6336)
#6362 Add disableStream
to the list of preferences read by PDFViewerApplication.initialize
(issue 6361)
#6369 Add locatization notes for the DocumentProperties strings with parameters
#6358 Don't catch MissingDataException
in Parser_tryShift
#6242 Allow outline to be collapsed / shown via +/-.
#6388 Use the Retina assets for outlineItemToggler
when in HiDPI mode
#6390 Switch expanded/collapsed
in the names of the treeitem-*
assets
#6395 Fix typo in test_manifest.json
that prevents test-case issue1419.pdf
from running
#6401 Add a unit-test for skipping paintXObject
if Subtype === PS
(PR 4861)
#6386 Add a warning when we encounter an empty stream in Parser_makeFilter
#6404 Add unit-tests for Linearization dictionary parsing (PR 5023 follow-up)
#6403 Add a reduced test-case for issue 6113
#6399 Slightly improved test coverage for vertical text
#6402 Set TZ=UTC before calls to zip
#6405 Add a (linked) load
test for PR 4731
#6357 Avoid more allocations for RTL text in bidi.js
#6417 Add (linked) load
tests for PR 1976 and 4606
#6414 Ensure that the clipping path is reset when the state is restored (issue 6413)
#6407 Fallback in readCmapTable
, instead of using error
, for TrueType fonts with unsupported cmap formats (bug 1200096)
#6421 Adjust the min-width
of outline items and use more consistent border-radius
(PR 6242 follow-up)
#6423 Add mirrored triangle (TOC item icon)
#6425 Only choose a (3, 1) cmap table for TrueType fonts that have an encoding specified (issue 6410)
#6431 Add a utility function, for the viewer, that removes null
(\x00) characters (issue 6416)
#6433 Add unit-tests for stringToPDFString
#6420 Add a reduced test-case for PR 4922
#6427 Make get fingerprint
slightly more robust against corrupt PDF files
#6299 Convert canvas thumbnails to PNG
#6441 Misc. follow-up fixes to PR 6299 (Convert canvas thumbnails to PNG)
#6443 Don't show thumbnails until the canvas
to image
conversion is done (issue 6442)
#6447 Add unit-tests for removeNullCharacters
(PR 6431 follow-up)
#6435 Replace the unavailable linked test-case for issue 3205 with a reduced test-case
#6391 Fix text spacing with vertical fonts (#6387)
v1.1.366
Changes:
#6131 Version 1.1.215
#6134 Ensure that we fetch all indirect objects (i.e. |Ref|s) in ColorSpace_parseToIR
#6138 Ignore paint form XObject when the name is missing (issue 4558)
#6147 Further improvements of the getStats and getDownloadInfo unit tests
#6146 Add a reduced test-case for issue 4909
#6150 Localization updates (June 29, 2015)
#6140 Move the page switching code into set currentPageNumber
in PDFViewer
instead of placing it in the pagechange
event handler
#5947 Simplify B2G viewer
#6155 Update Adobe CMaps URL and license
#6135 Skip mapping of CIDFontType2 glyphs when the font either has a |IdentityToUnicodeMap| or a |toUnicodeMap| with 65536 elements (issue 5677)
#6171 Adds more characters to the PUA range
#6170 Zoom relative to cursor position via mouse wheel
#6173 Add more reduced test-cases for PR 6171
#6176 [CRX] Ignore PDFs from responses to POST requests
#6177 Pass in a PDFViewer
instance to PDFPresentationMode
and use it to eliminate all references to PDFViewerApplication
#6178 Remove InteractiveAnnotation abstraction
#6169 Bug 1179262 - Remove PlayPreview registration from PDF Viewer.
#6180 Do not draw a border if neither a Border nor a BS entry is present
#6175 fontLoadPromises -> fontsToLoad
#6181 Add --downloadOnly flag to test.js
#5918 [Firefox] Replace the CPOW with asynchronous messages for the Fallback bar
#6182 Remove the currentScaleValue
getter from PDFViewerApplication
(issue 6158)
#6192 Refactor the 'resize' event handler in viewer.js (issue 6158)
#6166 Add a supplemental glyph map for non-embedded ArialBlack fonts (issue 5801)
#6193 Issue a warning instead of an error for long Names
#6195 Remove PDFViewerApplication.updateScaleControls
(issue 6158)
#6194 Subtract start offset for xrefs in recovery mode
#6110 Refactor viewer code to fix issues with the "pageviewer" components example (issue 6056)
#6197 Improve robustness of stream parser (invalid length)
#6199 Simplify the code that resets the value of the pageNumber
element in PDFViewerApplication.setInitialView
#6198 Use taskkill to stop the browser on Windows in tests
#6187 A couple of improvements of getDestination
(unit-test included)
#6207 Remove PDFViewerApplication.setScale
and further simplify the scalechange
event handler (issue 6158)
#6208 Fetch all indirect objects (i.e. Ref
s) in NameTree_getAll
and NameTree_get
(issue 6204)
#6214 Refactor annotation color handling and add unit tests
#6157 Make sure that the document is rendered on zooming and rotation for PDFViewer
instances using the defaultRenderingQueue
#6221 Fixing find toolbar checkboxes not being accessible through keyboard
#6226 Update fonttools location and version (issue 6223)
#6220 Ignore double negative in Lexer_getNumber
(issue 6218)
#6215 More cleanup regarding annotation border styles
#6201 [CRX] Respect download requests in main frame
#6196 Add --testfilter and -t flags
#6189 Improved build tools (preprocessor & postprocessor)
#6232 Simplify annotation data passing
#6235 Move handling of the 'custom' scale value from pdf_viewer.js to viewer.js
#6239 Refactor annotation rectangle code and add unit tests
#6254 Prevent documents from intermittently opening with the zoom level set to 1% (issue 6253)
#6256 Ensure that the viewer always receives focus when the HOME/END keys are pressed (bug 1186842)
#6257 Remove unused globals and updateViewarea function from viewer.js
#6240 Check if the Decode
entry is non-default when deciding if JPEG images are natively supported/decodable (issue 6238)
#6268 Optimize text layer: Avoid unneeded .textContent access
#6236 Detect scripted auto-print requests
v1.1.215
Changes:
#5815 Ensure that entries in the Differences array of Type1 fonts are either numbers or names
#5991 Update README.md with shorter clone command and improved instruction order
#6002 Version 1.1.114
#5867 Change |pages| to be a "private" property of |PDFViewer|
#6004 Bug 1163404 - Disables rAF for the printing.
#5898 Extract more accurate glyph heights from type3 fonts
#5910 Fix error reading concatenated pdfs
#5999 Bug 1122280 - Handle UTF-8 encoding in URI
#5989 Add the |location| to the |updateviewarea| UI event
#6015 Add a reduced test-case for issue 5896
#5857 Set page size via @page + size
#5995 Apply char spacing only when there are chars.
#6014 Fix scroll to zoom jump between 25% and 1000%
#5901 Fall back to the |defaultEncoding| when no valid "post" table is found in TrueType fonts (bug 1050040)
#6023 Remove unused require() directive
#6020 Tweak the :focus/:hover CSS rules of the .toolbarField class used in Overlay dialogs
#6024 [Firefox] Parse all JPEG images in the addon
#6016 Convert UTF8 encoded passwords to ISO-8859-1 for |R = 6| encryption (issue 6010)
#6030 Fixed the ShellJS version
#6026 Eliminate transition effects from thumbnail loader
#6025 viewer: Support Retina/HiDPI thumbnails
#6021 Refactor the test driver
#6054 [Firefox] Fix newChannel/asyncFetch fallout from bug 1167053
#6051 [Firefox] Re-add _getTabForBrowser compatibility hack for the addon
#6046 Extract correct PDF format version from the catalog
#5971 Extracts PDFLinkService and PDFHistory APIs
#6063 Tweak the PDFLinkService a bit
#6065 Always traverse the entire parent chain in Page_getInheritedPageProp (issue 5954)
#6062 Revert PR 6024 "[Firefox] Parse all JPEG images in the addon", since it's fixed upstream
#6080 Ensure that PDFHistory does not incorrectly replace the initial document hash (issue 6079)
#6082 Fetch parameters if they are |Ref|s in Pattern color spaces (issue 6081)
#5823 [Chrome extension] Add Referer request header if needed
#5990 Skip mapping of CIDFontType2 glyphs in fonts with a |IdentityToUnicodeMap|, unless |properties.widths| is defined for the glyph
#6088 Check availability of canvas & PDF before printing
#6089 Update README (Chrome & Opera section)
#5998 Don't map glyphs to certain problematic Thai/Lao Unicode locations (issue 5994)
#6076 Apply padding on , not the button
#6101 Add a test-case for issue 6099 - CalRGB color space where the parameters are a |Ref|
#6093 Slightly improved Crypto unit tests
#6091 Increase the font weight used for non-embedded ArialBlack fonts
#6090 Map missing glyphs to the notdef glyph for TrueType (3, 1) fonts (issue 6068)
#6112 Use the Alternate entry, if it exists, in ICCBased Colour Space dictionaries (issue 5836, issue 5939, issue 6055)
#6114 Ensure that the result of |constructStichedFromIRResult| is a number (issue 6113)
#6122 Fix a typo causing a TypeError when attempting to call pdfHistory_clearHistoryState (issue 6121)
#6125 Remove issue6113.pdf from the test-suite for failing intermittently in Firefox on the Linux bot
#6120 Clear the |getSinglePixelWidth| cache when rendering Type3 fonts (issue 6117)
v1.1.114
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
#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
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
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
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.