Tim van der Meij
32cc021f31
Merge pull request #5899 from neves/master
...
add missing pt-BR page_scale_percent property
2015-04-02 20:35:21 +02:00
Marcos Neves
47b2e9355f
add missing pt-BR page_scale_percent property
2015-04-01 23:57:07 -03:00
Tim van der Meij
01f1761a8b
Merge pull request #5881 from mbbaig/master
...
Added the data-page-number dom attribute to the page rendered in the browser
2015-04-01 20:57:07 +02:00
Tim van der Meij
a7e6f6d4d0
Merge pull request #5895 from Snuffleupagus/viewer-pref-init-refactor
...
Re-factor and clean-up some preference related code in viewer.js
2015-04-01 20:54:19 +02:00
Jonas Jenwald
e5c4819601
Small refactoring of the code that calls |PDFViewerApplication.setInitialView|
...
This is a minor cleanup, to avoid an unnecessary `Promise.all` and to simplify catching |ViewHistory| errors.
2015-03-31 20:35:00 +02:00
Jonas Jenwald
6091e7bd6b
Move the code that resets the history state when the |showPreviousViewOnLoad| preference is set to |false|
...
Since this code is *only* necessary if/when the history is actually enabled, this patch refactors it to actually reflect that.
2015-03-31 18:12:15 +02:00
Jonas Jenwald
03497eabd5
Move fetching of the |defaultZoomValue| preference value to |PDFViewerApplication.initialize|
...
For consistency, this preference should be placed amongst the others. The current position is purely for "historical" reasons, since it was one of the first preferences that was added to the code.
2015-03-31 15:33:21 +02:00
Jonas Jenwald
a931885ddd
Merge pull request #5886 from andrewdacenko/patch-1
...
Restrict logging of errors with verbosity level
2015-03-30 13:25:52 +02:00
Andrew Dacenko
bdde3d6622
Restrict logging of errors with verbosity level
2015-03-28 21:44:41 +02:00
Tim van der Meij
3821b2d6aa
Merge pull request #5888 from Snuffleupagus/documentProperties-parseDate-comment
...
Remove reference to GNUpdf from comment in |DocumentProperties.parseDate|
2015-03-28 15:23:49 +01:00
Jonas Jenwald
3974adcc22
Remove reference to GNUpdf from comment in |DocumentProperties.parseDate|
...
Since the link is no longer valid, we should remove it from the comment.
(Using the Internet Archive, it seems that the contents of that page was basically identical to the PDF specification.)
2015-03-28 11:53:20 +01:00
Mohamed Baig
6d8adb31ad
Added the data-page-number dom attribute to the page rendered in the browser
...
Added data-page-id attribute to page container divs
Updated the attribute with a better label
2015-03-27 18:23:39 -04:00
Brendan Dahl
f6a8110041
Merge pull request #5882 from Snuffleupagus/bug-1046314-2
...
Don't map glyphs to Unicode position 0x0E33, i.e. Thai character SARA AM (bug1046314)
2015-03-26 16:04:51 -07:00
Jonas Jenwald
2b1a13ba28
Don't map glyphs to Unicode position 0x0E33, i.e. Thai character SARA AM (bug1046314)
...
*A similar approach as in PR 5705.*
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1046314 .
According to https://dxr.mozilla.org/mozilla-central/source/gfx/harfbuzz/src/hb-ot-shape-complex-thai.cc#270-365 , `0x0E33` is treated as a special case (by the font shaping code in Firefox). Hence it seems reasonable to skip it when adjusting the font mapping.
2015-03-26 13:22:45 +01:00
Yury Delendik
185067e0cf
Merge pull request #5868 from Snuffleupagus/bug-1112947
...
Add custom |outlineloaded| and |attachmentsloaded| events to the viewer (bug 1112947)
2015-03-25 14:15:24 -05:00
Brendan Dahl
3a8d4a7d72
Merge pull request #5713 from Snuffleupagus/evaluator-IdentityToUnicodeMap
...
Create a IdentityToUnicodeMap in evaluator.js when toUnicode contains IdentityH/IdentityV
2015-03-25 10:33:29 -07:00
Yury Delendik
64d49e1397
Merge pull request #5878 from Snuffleupagus/pr-5749-followup
...
PR 5749 followup
2015-03-24 22:13:55 -05:00
Brendan Dahl
519b6669f0
Merge pull request #5705 from Snuffleupagus/bug-1108301
...
Don't map glyphs to Unicode "Dotted circle" combining mark (bug 1108301)
2015-03-24 16:33:04 -07:00
Jonas Jenwald
b721e902dc
Remove unused |getChromeWindow| function from PdfStreamConverter.jsm
2015-03-24 18:58:20 +01:00
Jonas Jenwald
133cfc78fa
Remove obsolete CPOW code from PdfjsContentUtils.jsm (PR 5749 followup)
...
This code is unused since PR 5749, and according to https://github.com/mozilla/pdf.js/pull/5749#discussion_r25931841 it should be removed.
2015-03-24 18:36:05 +01:00
Yury Delendik
5cbb5004a3
Merge pull request #5749 from krizsa/removeCPOWs
...
Bug 1072350 - Removing CPOWs used by Find events.
2015-03-24 11:59:06 -05:00
Jonas Jenwald
94cc731616
Add custom |outlineloaded| and |attachmentsloaded| events to the viewer (bug 1112947)
2015-03-21 17:49:34 +01:00
Tim van der Meij
2d11266a52
Merge pull request #5866 from Snuffleupagus/scalechange-evt-pageActualOption
...
Add |pageActualOption| to the list of predefined zoom options in the |scalechange| event handler in viewer.js
2015-03-20 22:26:07 +01:00
Jonas Jenwald
36400ae48d
Add |pageActualOption| to the list of predefined zoom options in the |scalechange| event handler in viewer.js
...
This patch also rearrange the order of the references to the DOM elements of the predefined zoom values, in viewer.js, to correspond with the element order in the current viewer UI. (The previous ordering is a leftover from the previous viewer UI.)
2015-03-20 22:09:34 +01:00
Tim van der Meij
c5eb34ed09
Merge pull request #5844 from Snuffleupagus/noPageBorder
...
Add a |PDFViewer| option to remove the border shadow around pages (issue 5559)
2015-03-19 19:44:02 +01:00
Jonas Jenwald
43064e3cb9
Merge pull request #5856 from timvandermeij/hello-world-instructions
...
Improve the instructions for the 'hello world' example
2015-03-18 22:30:58 +01:00
Tim van der Meij
70cba472e0
Improve the instructions for the 'hello world' example
2015-03-18 22:27:00 +01:00
Jonas Jenwald
f6c1c2361b
Merge pull request #5855 from timvandermeij/broken-link-example
...
Remove broken links from hello world example
2015-03-18 21:07:29 +01:00
Tim van der Meij
fcefcb7e7e
Remove broken links from hello world example
2015-03-18 20:59:14 +01:00
Brendan Dahl
05991e9f4b
Merge pull request #5851 from brendandahl/v1.1
...
V1.1
2015-03-17 14:50:19 -07:00
Brendan Dahl
d402fbb162
Update beta version.
2015-03-17 14:42:40 -07:00
Brendan Dahl
a1e0859d8d
Update base version for 1.1.
2015-03-17 14:37:00 -07:00
Brendan Dahl
61043d0105
Move to version 1.1.
2015-03-17 14:13:07 -07:00
Tim van der Meij
4e95362f8f
Merge pull request #5848 from Snuffleupagus/fix-node-getinfo-example
...
Fix the node getinfo.js example
2015-03-17 21:43:34 +01:00
Jonas Jenwald
d762cad420
Fix the node getinfo.js example
...
This broke in PR 5366.
2015-03-17 14:26:58 +01:00
Jonas Jenwald
f7b3852dd5
Merge pull request #5843 from timvandermeij/svg-commands
...
Enable OPS.setHScale in the SVG backend
2015-03-16 12:50:07 +01:00
Jonas Jenwald
4a3b0d9c64
Add a |PDFViewer| option to remove the border shadow around pages (issue 5559)
2015-03-16 12:28:28 +01:00
Tim van der Meij
989eac2f1e
Enable OPS.setHScale in the SVG backend
2015-03-16 00:37:31 +01:00
Tim van der Meij
72cfa36b06
Merge pull request #5525 from Snuffleupagus/disableFullscreen
...
Disable PresentationMode for certain problematic configurations
2015-03-13 22:50:53 +01:00
Jonas Jenwald
65a5543efe
Disable PresentationMode for certain problematic configurations
...
Instead of trying to hack around various browser defects, let's just disable PresentationMode in the affected browsers. This patch:
- Disables PresentationMode in IE11+ when the viewer is embedded; fixes 4711.
2015-03-13 22:09:36 +01:00
Tim van der Meij
1fb1a99a43
Merge pull request #5838 from timvandermeij/safari-presentationmode
...
Make presentation mode work again in Safari
2015-03-13 21:54:50 +01:00
Tim van der Meij
230d8c40e4
Make presentation mode work again in Safari
2015-03-13 21:41:14 +01:00
Tim van der Meij
ac5d1fbb2d
Merge pull request #5785 from Snuffleupagus/bug-1138993
...
Revert PR 5510, except in WebKit browsers, for breaking print preview in Firefox
2015-03-12 21:16:29 +01:00
Tim van der Meij
5319d4fc87
Merge pull request #5829 from timvandermeij/typofix
...
Fixes minor typo from #5826
2015-03-11 21:12:45 +01:00
Tim van der Meij
0ab5bb4b42
Fixes minor typo from #5826
2015-03-11 21:09:03 +01:00
Tim van der Meij
6a77a97785
Merge pull request #5826 from Rob--W/webL10n-update-march-2015
...
WebL10n update (March 2015)
2015-03-11 21:05:10 +01:00
Tim van der Meij
70608be351
Merge pull request #5821 from Snuffleupagus/bug-1140761
...
Correctly detect the presence of the Adobe specific APP14 JPEG marker (bug 1140761)
2015-03-11 13:46:15 +01:00
Rob Wu
537216b872
[webL10n] Apply PDF.js-specific changes
2015-03-10 16:13:25 +01:00
Rob Wu
f20c5ddf99
Update to latest version of webL10n
...
New commits since last update:
- b5e072c...7d351d51b1
- Plus unmerged patch from PDF.js: https://github.com/fabi1cazenave/webL10n/pull/62
(the PDF.js-specific changes will be applied in a separate commit)
2015-03-10 16:11:59 +01:00
Jonas Jenwald
4a9ff471c4
Correctly detect the presence of the Adobe specific APP14 JPEG marker (bug 1140761)
...
According to the specification, http://partners.adobe.com/public/developer/en/ps/sdk/5116.DCT_Filter.pdf#G3.851943 , the content of the marker segment should begin with `Adobe`, and not `Adobe\x00` as the code currently look for.
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1140761 .
Fixes the colour conversion part of issues 4090 and 5623.
2015-03-10 13:07:09 +01:00