Closed Bug 990852 Opened 10 years ago Closed 10 years ago

Update pdf.js to version 0.8.1334

Categories

(Firefox :: PDF Viewer, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 31

People

(Reporter: RyanVM, Assigned: RyanVM)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #983927 +++

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()
Assignee: nobody → ryanvm
Status: NEW → ASSIGNED
Attachment #8400366 - Flags: review?(ydelendik)
Comment on attachment 8400366 [details] [diff] [review]
Update pdf.js to version 0.8.1334

r? Mossop for the PdfStreamConverter.jsm change
Attachment #8400366 - Flags: review?(dtownsend+bugmail)
Depends on: 971080
Attached patch cmaplicense.diff (obsolete) — Splinter Review
Attachment #8400590 - Flags: review?(gerv)
Attachment #8400366 - Flags: review?(ydelendik) → review+
Comment on attachment 8400590 [details] [diff] [review]
cmaplicense.diff

r=gerv, except "AdobeCMap" comes _after_ "ACE" and "acorn". And can we have it lower case? I know ACE is wrong, but still.

Thanks,

Gerv
Attachment #8400590 - Flags: review?(gerv) → review+
(In reply to Gervase Markham [:gerv] from comment #4)
> Comment on attachment 8400590 [details] [diff] [review]
> cmaplicense.diff
> 
> r=gerv, except "AdobeCMap" comes _after_ "ACE" and "acorn". And can we have
> it lower case? I know ACE is wrong, but still.

Done. Thanks
Attachment #8400590 - Attachment is obsolete: true
Comment on attachment 8400366 [details] [diff] [review]
Update pdf.js to version 0.8.1334

Review of attachment 8400366 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/extensions/pdfjs/content/PdfJs.jsm
@@ +64,5 @@
> +var DEFAULT_PREFERENCES = {
> +  showPreviousViewOnLoad: true,
> +  defaultZoomValue: '',
> +  ifAvailableShowOutlineOnLoad: false
> +};

The incorrect indentation here should be corrected.
Attachment #8400366 - Flags: review?(dtownsend+bugmail) → review+
>The incorrect indentation here should be corrected.

This is another case where the code is included from a preprocessor. See https://github.com/mozilla/pdf.js/blob/master/extensions/firefox/content/PdfJs.jsm#L63
https://hg.mozilla.org/mozilla-central/rev/e1d196155712
https://hg.mozilla.org/mozilla-central/rev/dce94f2f8124
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 31
Blocks: 845751
Blocks: 995431
Blocks: 866395
Depends on: 1027130
Depends on: 1028735
QA Whiteboard: [qa-]
Depends on: 1046314
Depends on: 1108301
Depends on: 1107257
Depends on: 1108922
No longer depends on: 1108922
Depends on: 1125614
Blocks: 892457
Depends on: 1175962
Depends on: 1337429
No longer blocks: 995431
Type: defect → task
No longer depends on: 983927
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: