Commit Graph

7412 Commits

Author SHA1 Message Date
Yury Delendik
2704119c90 Builds distribution package for npm and bower. 2014-09-22 18:06:34 -05:00
Yury Delendik
a1eca2084d Moves constants to avoid dependency on PDFView 2014-09-21 12:47:26 -05:00
Yury Delendik
f1851c6393 Removes any usage of PDFView in the PageView 2014-09-21 12:47:26 -05:00
Yury Delendik
fbd7eedce8 Removes PresentationMode dependency from PDFViewer 2014-09-21 12:47:26 -05:00
Yury Delendik
a06a974f78 Moves rendering queue logic from PDFView 2014-09-21 12:47:26 -05:00
Yury Delendik
7642c39734 Moves pdfDocument.getPage/getTextContent requests out of PDFView 2014-09-21 12:47:26 -05:00
Yury Delendik
7af8748151 Moves viewer code into PDFViewer and some code from PageView. 2014-09-21 12:47:07 -05:00
Yury Delendik
d6328bbbed Imports L10n 2014-09-20 08:31:13 -05:00
Yury Delendik
3bce14761a Moves thumbs logic into PDFThumbnailViewer. 2014-09-20 08:19:04 -05:00
Yury Delendik
bfefadb87c Moves watchScroll and getVisibleElements from PDFView 2014-09-20 08:19:04 -05:00
Yury Delendik
12ec2a000b Merge pull request #5318 from mitar/patch-2
textLayer is not used anymore in render context
2014-09-20 08:17:35 -05:00
Tim van der Meij
a4cb67b9d1 Merge pull request #5321 from timvandermeij/misc-fixes
Fixes milestones link in README.md and adds pdfBugEnabled to the Chrome extension preferences
2014-09-20 10:28:19 +02:00
Tim van der Meij
6f3ae49b8c Adds pdfBugEnabled to the Chrome extension preferences 2014-09-20 10:24:04 +02:00
Tim van der Meij
7dba085fa8 Fixes milestones link in README.md 2014-09-20 10:22:14 +02:00
Yury Delendik
07a2539867 Replaces (chunk in this.loadedChunks) 2014-09-19 19:05:25 -05:00
Yury Delendik
c3f191a27c Implement streaming using moz-chunk-arraybuffer 2014-09-19 19:05:25 -05:00
Yury Delendik
477efd52bc Merge pull request #5320 from yurydelendik/hashes
Merge of the #5311 and #4956
2014-09-19 18:47:46 -05:00
Yury Delendik
63b7fa5634 Merge branch 'issue-4954' of https://github.com/Snuffleupagus/pdf.js into hashes
Conflicts:
	web/viewer.js
2014-09-19 18:25:11 -05:00
Yury Delendik
f6e2167b73 Merge pull request #5311 from manolopm/master 2014-09-19 18:11:43 -05:00
Mitar
2f72ac1255 textLayer is not used anymore in render context.
It should be removed to prevent confusion when reading the code.
2014-09-19 15:13:01 -07:00
Yury Delendik
e77e5c442f Copies pdfjschildbootstrap.js for MOZCENTRAL 2014-09-19 16:00:13 -05:00
Yury Delendik
d323f23750 Merge pull request #5312 from Snuffleupagus/e10s-fixes-2
For |make firefox/mozcentral| builds, add cleanupJSSource to remove duplicate file headers in extensions/firefox/content/PdfjsChromeUtils.jsm
2014-09-19 15:38:43 -05:00
Yury Delendik
9855fa39d7 Merge pull request #5317 from yurydelendik/e10s-rev
Bug 1064496 review changes
2014-09-19 15:34:54 -05:00
Jim Mathies
b399f19426 Bug 1064496 review changes 2014-09-19 15:31:21 -05:00
Yury Delendik
b614782ebb Merge pull request #5315 from yurydelendik/bug1053028
Adds preprocessor directive to the X-Content-Security-Policy stuff
2014-09-19 15:21:02 -05:00
Yury Delendik
861a7615ff Adds preprocessor directive to the X-Content-Security-Policy stuff 2014-09-19 15:18:37 -05:00
Yury Delendik
dd48d1c352 Fixes names collisions in content.js 2014-09-19 13:58:12 -05:00
Jonas Jenwald
6c9aa6d795 For |make firefox/mozcentral| builds, add cleanupJSSource to remove duplicate file headers in extensions/firefox/content/PdfjsChromeUtils.jsm 2014-09-18 21:55:04 +02:00
Manuel Padrón Martínez
293d566f67 Changed to lowercase everywhere the hashParams is compared 2014-09-18 20:18:23 +01:00
Manuel Padrón Martínez
4623f20221 Lowerize the params to allow case sensitive 2014-09-18 19:42:04 +01:00
Yury Delendik
d66314cfb3 Merge pull request #5305 from Snuffleupagus/e10s-fixes
Miscellaneous e10s fixes
2014-09-18 11:56:16 -05:00
Jonas Jenwald
3c759e296a Add support for MMType1 fonts with embedded font files 2014-09-18 16:10:46 +02:00
Jonas Jenwald
8d27f38c64 Rename |_isPrefAllowed| to |_ensurePreferenceAllowed| in extensions/firefox/content/PdfjsChromeUtils.jsm 2014-09-18 15:06:34 +02:00
Jonas Jenwald
dbe756c406 Update the license header in extensions/firefox/content/pdfjschildbootstrap.js; see https://bugzilla.mozilla.org/show_bug.cgi?id=942707#c99 2014-09-18 12:08:48 +02:00
Jonas Jenwald
c00951e3e4 Add back pdfBugEnabled pref check in the |log| function in extensions/firefox/content/PdfStreamConverter.jsm 2014-09-18 12:08:48 +02:00
Jonas Jenwald
3ac9bd063d Fix setPreferences regression from the e10s patch (PR 5115) 2014-09-18 12:08:47 +02:00
Jonas Jenwald
b97d2351aa Merge pull request #5306 from xavier114fch/zh-TW
Update zh-TW translation
2014-09-18 11:57:02 +02:00
Xavier Fung
0340e4c12f Update zh-TW translation
Update text of "unexpected_response_error".
2014-09-18 16:21:02 +08:00
Brendan Dahl
f6745d5b03 Merge pull request #5115 from yurydelendik/e10s
Firefox pdf viewer support for e10s (Bug 942707).
2014-09-17 14:28:41 -07:00
Yury Delendik
1cda4c7a4b Loading PDF.js extension into e10s windows 2014-09-17 16:14:04 -05:00
Jonas Jenwald
b16c973d9d Fix Symbol fonts without font file but with Encoding dictionary (issue 5238) 2014-09-16 21:38:53 +02:00
Yury Delendik
15681adbb9 Merge pull request #5245 from Snuffleupagus/issue-5244
Further amend GlyphMapForStandardFonts (issue 5244)
2014-09-16 10:12:07 -05:00
Yury Delendik
ffb613bbac Merge pull request #5275 from Snuffleupagus/exception-propagation
Fix the exception propagation when rejecting workerReadyCapability
2014-09-16 10:05:34 -05:00
Jonas Jenwald
e09666901d Merge pull request #5302 from yurydelendik/issue5293
Removes examples from jsbin.com
2014-09-16 16:43:53 +02:00
Yury Delendik
de844a8826 Removes examples from jsbin.com 2014-09-16 09:24:48 -05:00
Brendan Dahl
403b7df6e7 Merge pull request #5233 from Snuffleupagus/bug-1057544
Workaround for TrueType fonts with exotic cmap tables (bug 1057544)
2014-09-15 14:47:31 -07:00
Jonas Jenwald
ed5fc43510 Add |UnexpectedResponseException| to fix the exception handling when file loading fails because the server responds with a non 404 status message 2014-09-14 11:52:33 +02:00
Yury Delendik
74d02c3406 Merge pull request #5254 from mancas/bug
Avoid showing 'blob..' as a title when using pdfjs from B2G
2014-09-11 17:03:47 -05:00
Yury Delendik
0d72784a9e Merge pull request #5286 from Snuffleupagus/inline-jpeg-image-loading
Fix loading of inline JPEG images
2014-09-11 14:31:45 -05:00
Yury Delendik
fd4134cf96 Merge pull request #5287 from sangm/bug1031612
Bug 1031612 - In PDF Viewer, the buggy XMP title "Untitled" overrides th...
2014-09-11 14:17:26 -05:00