Releases: mozilla/pdf.js
v1.0.277
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
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
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)
v0.8.1334
Changes since last update:
#4437 Fixes corrupted by Aspose fonts
#4444 Estimate the size of decoded streams in advance.
#4451 Makes firefox extension's l10n get() behavior similar to webL10n
#4426 Making extensions/chromium/*.js adhere to the style guide
#4434 Jbig2 optimizations
#4460 Fix coding style in external/builder/builder.js
#4465 Fix coding style in src/display
#4467 Fix coding style in /test
#4468 Fix coding style in make.js
#4454 Fix gaia css lint errors.
#4463 Fix copy-paste typo
#4473 Prevent infinite loop in CFFParser_parseHeader
#4477 Fixes HiDPI icons of the secondary toolbar for Chrome
#4440 refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument
#4470 CMaps binary packing
#4447 Allocate fewer objects
#4464 Fixes pages without Resources in their dictionary
#4481 refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument
#4488 Sync pt-BR translations with l10n-mozilla-aurora
#4474 Introduce paintSolidColorImageMask command to handle 1x1 solid image
#4453 Add a cache for glyphs
#4478 Use a vanilla array for fnArray
#4452 Making src/core/{image,obj,parser}.js adhere to the style guide
#4493 Fixes ignoring of the escaped CR LF
#4497 jpgjs performance improvements
#4503 Fix coding style in src/core/fonts.js
#4508 Fix coding style in extensions/firefox
#4507 Fix coding style in src/core
#4505 Making src/core/evaluator.js adhere to the style guide
#4509 Update lint config to enforce braces for single line statements
#4501 [Firefox] Lazy load network.js in PdfStreamConverter.js
#4517 Fixes for small colour variations in tests
#4511 Fix for #3181: jbig2 encoding for number of instances greater than 1
#4518 [Firefox] Stop importing default_preferences.js as a module and include it instead
#4466 Faster 1 bpp image drawing
#4504 Import l10n files from mozilla-aurora
#4525 [Firefox] Only load 'PdfStreamConverter' and 'PdfRedirector' when PDF.js is enabled
#4527 Partially reverts #3641
#4519 Cleaning up the viewer and pdfbug; fixes bugs in Stepper
#4515 Replaces test.py with test.js
#4529 Fix error message typo
#4521 Assign non-zero width/height to all rectangles (issue 4260)
#4541 Cools down Chrome/Windows during testing
#4543 Fixes lint for windows; adds test/font/fontutils.js
#4542 Fix typo/unused argument in fontloader.js->spliceString()
v0.8.1181
#4392 Fixes CSS for webkit
#4399 Fixes infinite loop in DecodeStream_ensureBuffer()
#4397 Fix JPX colors
#4393 Fix scrolling using Shift+Spacebar in Firefox
#4404 Fixes off-by-one error when finding missing endstream
#4318 Improved annotations' display/behavior.
#4412 Making src/core/bidi.js adhere to the style guide
#4414 Add braces to single line statements in src/shared
#4416 Fixes typo in function.js
#4413 Making src/core/ps_parser.js adhere to the style guide
#4417 Making all examples adhere to the style guide
#4418 Making src/core/crypto.js adhere to the style guide
#4421 Making src/display/{metadata,font_loader}.js adhere to the style guide
#4422 Making src/core/jbig2.js adhere to the style guide
#4424 Fix coding style in /web
#4425 Making src/core/jpx.js adhere to the style guide
#4433 Move globals in web/pdf_find_bar.js
#4406 Improve image mask handling again
#4442 Update index.html
#4405 Avoid unnecessary re-reading of streams
#4446 Follow JMPR op only if outside of FDEF and IF
#4431 Extract arithmetic decoder to own file
#4420 Removing set-presence-in-ImageData check from canvas.js