Hengjie
eaa587753b
Fix issue where pdfDocument is null
...
Happens when no file is loaded
11 years ago
Tim van der Meij
097bf41285
Use strict equalities in web/compatibility.js
11 years ago
Tim van der Meij
ddd3c8fc2f
Use strict equalities in web/debugger.js
11 years ago
Tim van der Meij
7ca6f0839f
Use strict equalities in web/document_properties.js
11 years ago
Tim van der Meij
ea85a2f7a7
Use strict equalities in web/viewer.js
11 years ago
Tim van der Meij
24cf969422
Use strict equalities in web/ui_utils.js
11 years ago
Rob Wu
00746011a3
Managed preferences for Chrome administrators
...
Implement support for managed preferences. This feature allows users
(administrators) to easily change the default settings of the PDF Viewer for
all Chrome or Chromium browsers within their organization.
External resources for end users (administrators)
- http://www.chromium.org/administrators/
- http://www.chromium.org/administrators/configuring-policy-for-extensions
- http://www.chromium.org/administrators/windows-quick-start
- http://www.chromium.org/administrators/mac-quick-start
- http://www.chromium.org/administrators/linux-quick-start
- http://www.chromium.org/administrators/policy-templates
Administrators can read one of the previous links to learn more about creating
policies. We want to auto-generate these templates, but there are no public
tools for doing that. It will be added in the future, see:
https://code.google.com/p/chromium/issues/detail?id=389061
Resources for PDF.js/extension developers
- http://cs.chromium.org/file:policy_templates.json
- https://developer.chrome.com/extensions/manifest/storage
11 years ago
Tim van der Meij
dbe22475e1
Converting PDFFindBar and PDFFindController to classes
11 years ago
Rob Wu
bb13fb939e
Initialize PDFView.url = ''
...
The absence of this property caused the following error in PDFView.download:
Cannot read property 'split' of undefined
This property was unset when the PDF was loaded through a typed array instead
of a URL. With the fix, the file name will default to "document.pdf", as
defined by getPDFFileNameFromURL in web/ui_utils.js
11 years ago
Lu Wang
91b7030bf4
fix typo
11 years ago
Yury Delendik
561fc8f98b
Adds ImageData set support for legacy safari
11 years ago
Jonas Jenwald
28e194f670
Adjust the tabindices in the viewer
...
The current way that the tabindices are defined, has the unfortunate consequence that adding a single button to the UI might mean having to change almost all tabindices. (This was the case in e.g. PR 4329.)
This patch attempts to avoid that situation happening again, by re-defining the tabindices slightly.
11 years ago
Tim van der Meij
34728ee49b
Removing unused code
11 years ago
Fabian Lange
54fb1f7226
Improving CanvasPixelArray polyfill for Android
11 years ago
Fabian Lange
6447397c04
Do not run cleanup while printing is ongoing.
11 years ago
Fabian Lange
9fd6cc7f1e
Fixes CanvasPixelArray set polyfill for chrome < 21 ( #4974 )
11 years ago
Tim van der Meij
fa33b9c643
Refactoring PDFFindController in the text layer builder
11 years ago
Tim van der Meij
a968da8887
Convert the text layer builder to a class
11 years ago
Tim van der Meij
2a052c4aad
Refactoring text layer builder
11 years ago
Tim van der Meij
fbfb9458d6
Implement text normalization for page content and queries
11 years ago
Tim van der Meij
ec1b58a30a
Fix code style issues in pdf_find_controller.js and build strings more efficiently
11 years ago
Yury Delendik
c1c950ce74
Fixes AnnotationUtils in the extension build
11 years ago
Yury Delendik
bdeca30fbf
Splits shared/annotation.js into core/ and display/
11 years ago
Yury Delendik
df87df59b6
Increases page cache size when needed
11 years ago
Yury Delendik
dccc709b50
Disables broken rAF on iOS
11 years ago
Yury Delendik
6f79aef03a
Uplift for B2G bug 1009780 - Improve open mechanism for downloads.
11 years ago
Yury Delendik
0cd28ebfa3
Telemetry for used stream and font types
11 years ago
Yury Delendik
7ac1c6b034
Reporting print usage
11 years ago
Jonas Jenwald
c145f0e063
Add larger zoom values to zoom dropdown box
11 years ago
Jonas Jenwald
5ac4dd9593
Prevent rendering unnecessary pages when the HOME/END keys are pressed
...
Currently (at least in Firefox) when the HOME/END keys are pressed, this will trigger unnecessary rendering of pages that lay between the current page and the first/last page. Avoid this by going straight to the first/last page instead.
11 years ago
Nicholas Nethercote
5b7df1830d
Fix PageView cache re-insertions.
11 years ago
Nicholas Nethercote
f852cefdd8
Halve the size of the PageView cache.
11 years ago
Nicholas Nethercote
29d3db4422
Cache pages at the start of drawing, not the end.
11 years ago
Samuel Chantaraud
952545e20f
Limit the size of canvases to 5MP (iOS restriction)
11 years ago
Yury Delendik
d57f83e087
Reverting back disableWebGL preferences check
11 years ago
Yury Delendik
3b405cf611
Protects PDFJS.disableXXX == true from change
11 years ago
Yury Delendik
a338a7966d
Fixes drawImage for thumbs
11 years ago
Nicholas Nethercote
97cc06a7f9
Zero the height and width of the PageView canvas before deleting.
11 years ago
deathy
7d975dfe22
Fix destination name for 'Fit' zoom levels in hash params
11 years ago
Samuel Chantaraud
221d00a11f
Removed non-base64 bytes before the last 3 characters
11 years ago
Mohammed Abu-alsaad
2b595e6d32
Fixed IE links bug by adding a base64 transparent gif for anchor tags for
...
IE only.
11 years ago
Yury Delendik
f9befa189b
Disables worker if XHR does not support arraybuffer
11 years ago
Yury Delendik
9c87fa24f7
Removes mozResponseArrayBuffer
11 years ago
Mohammed Abu-alsaad
e6546642db
Added more preference variables from the available hash parameters
11 years ago
Yury Delendik
34089212e0
Reverts mozRequestAnimationFrame to compatibility.js
11 years ago
Yury Delendik
d95f78610e
Adds compatibility.js to the Firefox extension
11 years ago
Yury Delendik
68b037ffb0
Add preprocessor directives for the extension; and refactor FirefoxCom callback
11 years ago
Michał Gołębiowski
85291dd8da
Update web/compatibility.js
...
1) Remove obsolete workarounds
2) Add support comments
11 years ago
Jonas Jenwald
164535fa93
[OverlayManager] Add preventDefault to the keydown event handler
11 years ago
Tim van der Meij
1f1de20d11
Small comment fix
11 years ago