Commit Graph

5549 Commits

Author SHA1 Message Date
Jonas Jenwald
9fcb1a9e40 Merge pull request #3671 from Rob--W/toolbar-layout-fix
Fix layout of main toolbar
2013-09-26 07:55:52 -07:00
Yury Delendik
e140d2ca58 Merge pull request #3696 from Rob--W/webL10n-tot
Update webL10n to latest version (september 2013) (+support for attributes in mozL10n.get)
2013-09-25 18:57:54 -07:00
Yury Delendik
a3e59b5e2a Merge pull request #3722 from Moistly/no-cy-locales
Norwegian and Welsh locales added
2013-09-25 18:46:20 -07:00
Yury Delendik
1c7f1cee00 Merge pull request #3674 from brendandahl/cmap-squash
Read multi-byte character codes based on codespace ranges.
2013-09-25 18:04:49 -07:00
Brendan Dahl
7f49dba87c Merge pull request #3720 from biggert/localpdfmanager-undefined
Prevent undefined error when calling .destroy on a document when LocalPdfManager is used
2013-09-25 15:57:27 -07:00
biggert
fb957f5c6e Prevent undefined error on null object when calling .destroy on a
document initialized with LocalPdfManager.

Per @brendandahl's recommendation, moved the terminate function out of worker
and into the PdfManager
2013-09-25 16:25:41 -05:00
Brendan Dahl
f32e65b19f Read multi-byte character codes based on codespace ranges. 2013-09-25 10:32:04 -07:00
Yury Delendik
1bcb3efd4a Merge pull request #3729 from prometheansacrifice/page-outofbounds
Trying to fix #3611
2013-09-25 06:18:32 -07:00
Paul Francis
bc70a195da Norwegian and Welsh locales added
Norsk (no), Cymreag (cy)
2013-09-25 11:43:49 +01:00
Brendan Dahl
9f50c1ba75 Merge pull request #3730 from brendandahl/chrome-timeout
Increase api unit tests timeout for chrome.
2013-09-24 12:55:34 -07:00
Tim van der Meij
0c49f8c3c4 Merge pull request #3731 from Snuffleupagus/swedish-password-l10n
Add password strings to the Swedish l10n
2013-09-24 11:43:16 -07:00
Jonas Jenwald
b31ace14b5 Add password strings to the Swedish l10n 2013-09-24 20:30:02 +02:00
Manas
de179e3d9b Trying to fix #3611 2013-09-24 22:54:27 +05:30
Brendan Dahl
2a2150380a Merge pull request #3527 from timvandermeij/better-password-prompt
Improved password prompt
2013-09-24 09:36:02 -07:00
Brendan Dahl
730a2cc550 Increase api unit tests timeout for chrome. 2013-09-24 09:30:54 -07:00
Tim van der Meij
63233fa8c2 Improved password prompt 2013-09-24 17:46:54 +02:00
Brendan Dahl
e79935d8b3 Merge pull request #3691 from Snuffleupagus/PDFHistory-followup-3341
[PDFHistory] Prevent the history from skipping entries in certain edge cases, when specifying an initialBookmark in the hash parameters on document load
2013-09-23 18:06:21 -07:00
Yury Delendik
7001a50e88 Merge pull request #3717 from mark-5/master
dont display file input when printing
2013-09-21 08:54:19 -07:00
mark-5
866186dcaa dont display file input when printing
closes #2464
2013-09-20 19:08:41 -04:00
Yury Delendik
d3e9a957f7 Merge pull request #3716 from brendandahl/dpi2
Use canvas and css width/height instead of css transform for high dpi.
2013-09-20 12:50:54 -07:00
Brendan Dahl
6ef44da10b Use canvas and css width/height instead of css transform for high dpi. 2013-09-20 12:11:14 -07:00
Tim van der Meij
31fda50123 Merge pull request #3663 from Snuffleupagus/move-PageView
Move PageView from viewer.js to its own file
2013-09-20 10:52:21 -07:00
Tim van der Meij
bf1b945101 Merge pull request #3692 from Snuffleupagus/issue-3690
Prevent trying to set the 'maxHeight' property of the secondaryToolbar before the viewer is completely loaded
2013-09-20 10:43:15 -07:00
Jonas Jenwald
2cf2eb0dfc Fix coding style in page_view.js 2013-09-20 09:28:03 +02:00
Jonas Jenwald
cebf3c60e2 Move PageView from viewer.js to its own file 2013-09-20 09:25:41 +02:00
Yury Delendik
a8320b2e18 Merge pull request #3695 from SSk123/transform
Adding transformation to the extract code
2013-09-19 18:45:59 -07:00
Srishti
3808d02a53 implementing transform matrix to getTextContent 2013-09-20 06:37:08 +05:30
Yury Delendik
9cdcb3881d Merge pull request #3686 from timvandermeij/rtl-improvements
Improvements for RTL languages
2013-09-19 16:21:39 -07:00
Brendan Dahl
c270d7e056 Merge pull request #3641 from Snuffleupagus/properly-disable-presentationMode-when-embedded
Properly disable presentation mode when the viewer is embedded
2013-09-17 13:49:11 -07:00
Tim van der Meij
67071e4967 Merge pull request #3680 from ebraminio/master
Adding Persian Translations
2013-09-17 12:03:38 -07:00
Brendan Dahl
0b7d54f9f6 Merge pull request #3623 from Snuffleupagus/disable-range-requests-in-old-Android
Disable range requests in old Android versions
2013-09-17 11:36:31 -07:00
Brendan Dahl
60997bffb8 Merge pull request #3698 from timvandermeij/revert-lang-changes
Revert language string changes
2013-09-17 10:11:28 -07:00
Tim van der Meij
8bb340cc96 Merge pull request #3703 from xavier114fch/zh-TW
Update zh-TW locale
2013-09-17 08:07:47 -07:00
Tim van der Meij
da74611f58 Merge pull request #3699 from Haebaru/master
Update ja locale
2013-09-17 08:04:19 -07:00
Xavier fung
0c2919903f Update zh-TW locale 2013-09-17 09:07:16 +08:00
Haebaru
4dcc7873df Update ja locale 2013-09-16 15:43:25 +09:00
Tim van der Meij
9d6ec2ea6f Revert language string changes 2013-09-15 22:50:50 +02:00
Rob Wu
9f4745fd3f webL10n: Apply PDF.js-specific changes
Based on http://pastebin.mozilla.org/3061694

1. Remove "debug helpers" and use console.log/console.warn directly (top).
2. Remove page load initialization (middle).
3. Remove window._ alias (bottom)

The original diff contained an extra entry
"Adds fallback argument to the getL10nData;",
but this was already implemented in the rebased webL10n, so it's no
longer PDF.js-specific.
2013-09-15 15:31:37 +02:00
Rob Wu
d0d3b071ec Update webL10n to latest version + features
Base version of l10n:
- https://github.com/fabi1cazenave/webL10n/tree/b18c753c6f
4 extra commits (expected to be accepted):
- https://github.com/fabi1cazenave/webL10n/pull/38

New features compared to mozL10n:
- Support for getting translated attributes in get()

The previous version of mozL10n was based on:
- https://github.com/fabi1cazenave/webL10n/commits/0c06867a75
- diff: http://pastebin.mozilla.org/3061694

To make it easier to update webL10n in the future, I will apply
the PDF.js-specific changes in a separate commit.
2013-09-15 15:13:47 +02:00
Tim van der Meij
67e4c03786 Improvements for RTL languages 2013-09-14 19:33:00 +02:00
Jonas Jenwald
fabed80b5f Prevent trying to set the 'maxHeight' property of the secondaryToolbar before the viewer is completely loaded 2013-09-14 18:00:36 +02:00
Jonas Jenwald
fc73dbe695 [PDFHistory] Prevent the history from skipping entries in certain edge cases, when specifying an initialBookmark in the hash parameters on document load 2013-09-14 17:14:04 +02:00
Ebrahim Byagowi
8ef6cd6272 Adding Persian Translations 2013-09-13 00:39:37 +04:30
Rob Wu
d45d622354 Fix layout of main toolbar
Before this commit there were two main issues:

- In small windows, the zoom controls visually floated above the page number
  (e.g. 733px).
- In small windows, the (transparent) zoom container covered the go-to-page
  input box, which prevented one from using the input field to quickly navigate
  to a different page.
2013-09-11 18:56:10 +02:00
Yury Delendik
4f243b39b4 Merge pull request #3347 from vivin/master
issue #3346: Text Selection Example
2013-09-10 13:45:27 -07:00
Jonas Jenwald
50c4f482c8 Merge pull request #3667 from thorlarholm/iefullscreen
Support for fullscreen presentationMode in Internet Explorer
2013-09-10 13:33:13 -07:00
Thor Larholm
3c2d079c42 Fixed review notes: Adding specificity and removing redundant declaration 2013-09-10 22:17:40 +02:00
Thor Larholm
0f07d8ad55 Squashed: Added basic support for presentationMode in IE11 2013-09-10 21:40:14 +02:00
Brendan Dahl
da1c944929 Merge pull request #3656 from timvandermeij/annotation-svg
Fixing annotation icon issues
2013-09-09 12:46:26 -07:00
Yury Delendik
69eff38d09 Merge pull request #3660 from maxidirienzo/master
viewer.js: Do not process keyboard shortcuts when focused element is a t...
2013-09-09 08:17:50 -07:00