Jonas Jenwald
d53fa1884b
Simplify a couple of preprocessor tags in viewer.js
2015-01-31 22:45:20 +01:00
Jonas Jenwald
bb16475070
Use the |shadow| function from src/shared/util.js in viewer.js
2015-01-31 22:43:30 +01:00
Tim van der Meij
4c6ca1c78f
Remove DownloadManager dependency
...
We can pass it in using the options object. Note that that this also avoids creating a DownloadManager object for each separate link (instead, having only one is enough).
2015-01-28 20:53:01 +01:00
Tim van der Meij
733882ac25
Refactor PDFAttachmentView to be more class-like and to separate functionality into methods
2015-01-28 20:53:00 +01:00
Tim van der Meij
609e2a30e9
Rename DocumentAttachmentsView to PDFAttachmentView
2015-01-28 20:52:59 +01:00
Tim van der Meij
2c19d99a2e
Rename document_attachments_view.js to pdf_attachment_view.js
2015-01-28 20:52:22 +01:00
Tim van der Meij
ea1d37eb0d
Refactor PDFAttachmentView to be more class-like and to separate functionality into methods
2015-01-27 22:51:39 +01:00
Tim van der Meij
b17da309ed
Rename DocumentOutlineView to PDFOutlineView
2015-01-27 22:40:12 +01:00
Tim van der Meij
3eeb571425
Rename document_outline_view.js to pdf_outline_view.js
2015-01-27 22:38:45 +01:00
Jonas Jenwald
c55dcf19a0
Move PDFThumbnailViewer to its own file
2015-01-24 15:41:18 +01:00
Jonas Jenwald
af6170ffd0
Attempt to display the File size quicker in the Document Properties dialog (PR 5554 followup)
2015-01-13 09:38:34 +01:00
Jonas Jenwald
8d0c442004
Merge pull request #5632 from yurydelendik/b2g-start
...
Fixes B2G file open sequence.
2015-01-09 18:00:39 +01:00
Yury Delendik
d52289d8fd
Fixes B2G file open sequence.
2015-01-09 07:46:34 -06:00
Brendan Dahl
6ceb652abb
Merge pull request #5554 from yurydelendik/apiref
...
Refactors getDocument and adds PDFDataRangeTransport.
2015-01-08 14:24:38 -08:00
Jonas Jenwald
3f061cef86
Add a |textlayerrendered| event
2015-01-06 17:57:32 +01:00
Yury Delendik
3a61edfcae
Refactors getDocument and adds PDFDataRangeTransport.
2015-01-05 21:45:01 -06:00
Yury Delendik
22c62685b0
Removes Stats dependency from PDFPageView.
2014-12-19 13:07:28 -06:00
Yury Delendik
fe4ac86781
Removes PDFPageSource
2014-12-19 09:55:11 -06:00
Yury Delendik
f68678086d
Simple restructuring PageView into PDFPageView
2014-12-17 15:21:54 -06:00
Jonas Jenwald
6078901962
Prevent a "TypeError: pdfViewer is null" when the viewer loads (PR 5413 followup)
...
Currently if you manage to e.g. open the console (with <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>K</kbd>) before the viewer is initialized, the following will be printed in the console: `TypeError: pdfViewer is null`.
This doesn't cause any actual errors, but nevertheless it seems like something we should avoid.
Followup to PR 5413.
2014-11-15 12:17:10 +01:00
Yury Delendik
e294c8883a
Merge pull request #5203 from Snuffleupagus/disableAutoFetch-loadingBar
...
Fix loadingBar hiding when disableAutoFetch is enabled (issue 3590)
2014-11-11 09:05:16 -06:00
Jonas Jenwald
2505c8613b
Allow localization of the placement of percent signs in the zoom box
2014-10-21 21:41:06 +02:00
Jonas Jenwald
a1f4bff4f3
Disable zooming in Presentation Mode
2014-10-15 22:25:31 +02:00
Tim van der Meij
b215af30d3
Require destinations when they are needed and do not fetch all of them in advance
2014-10-06 22:26:18 +02:00
Jonas Jenwald
ecbb39f983
Fix loadingBar hiding when disableAutoFetch is enabled (issue 3590)
2014-10-05 23:16:36 +02:00
Jonas Jenwald
cfeb4c1019
Small refactoring of the loadingBar hiding code
2014-10-05 23:15:10 +02:00
Jonas Jenwald
a429e88c3b
Fix inconsistencies in the preference names used by PDFViewerApplication
...
Since `preferenceSidebarViewOnLoad` is an enumeration value, it seems better to initialize it with the default one instead of a boolean.
`preferencesPdfBugEnabled` uses a superfluous "s", which is a typo I made when I introduced it.
2014-10-01 12:30:11 +02:00
Jonas Jenwald
b9ef80e167
Add a page loading indicator to the page number input
2014-10-01 00:13:44 +02:00
Yury Delendik
5e0b2d383f
Fixes enabling pdfBug
2014-09-30 15:19:39 -05:00
Yury Delendik
374b94381d
Moves scrollPageIntoView to the PDFViewer.
2014-09-30 07:13:46 -05:00
Brendan Dahl
1145eb8c09
Merge pull request #5295 from yurydelendik/pdfviewer
...
Refactoring to move page display code into separate class
2014-09-29 15:23:35 -07:00
Yury Delendik
44779f14b0
Renames and refactors PDFView to PDFViewerApplication.
2014-09-28 10:39:56 -05:00
Yury Delendik
a89bba35b2
Adds types definitions (jsdoc) for the PDFViewer code.
2014-09-28 10:39:56 -05:00
Yury Delendik
3773972dce
Marks some private methods in PDFViewer and PDFThumbnailViewer
...
Conflicts:
web/pdf_viewer.js
2014-09-28 10:39:56 -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
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
c3f191a27c
Implement streaming using moz-chunk-arraybuffer
2014-09-19 19:05:25 -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
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
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
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
sangm
f4ccb1b61c
Bug 1031612 - In PDF Viewer, the buggy XMP title "Untitled" overrides the document info title
2014-09-11 11:10:47 -05:00