Commit Graph

  • ae74e1bbd6 Deduct file type from content-disposition Rob Wu 2016-09-17 22:21:24 -07:00
  • f062695d62 Merge pull request #7633 from timvandermeij/interactive-forms-tx-flags Tim van der Meij 2016-09-17 17:19:47 +02:00
  • dbea302a6e Text widget annotations: do not render on canvas as well Tim van der Meij 2016-09-14 22:49:37 +02:00
  • adf0972ca5 Text widget annotations: improve unit and reference tests Tim van der Meij 2016-09-14 21:51:21 +02:00
  • f6965fadc0 Text widget annotations: support multiline and read-only fields Tim van der Meij 2016-09-14 16:32:51 +02:00
  • aadcbe98c8 Replace empty CharStrings with '.notdef' in Type1Font_wrap to prevent OTS from rejecting the font (bug 1252420) Jonas Jenwald 2016-09-17 14:36:42 +02:00
  • 4acd31f51e Merge pull request #7550 from Snuffleupagus/Type1-toUnicode-builtInEncoding-fallback Jonas Jenwald 2016-09-16 17:51:55 +02:00
  • 834a7ff329 Merge pull request #7636 from yurydelendik/rm-refresh Brendan Dahl 2016-09-15 10:01:11 -07:00
  • 503bf45eca Drops unneeded HTTP refresh header for the extension. Yury Delendik 2016-09-15 09:12:16 -05:00
  • 26da2d57ce Merge pull request #7632 from Snuffleupagus/more-efficient-expandTextDivs Tim van der Meij 2016-09-15 16:01:07 +02:00
  • 3b94ecf563 Merge pull request #7634 from Snuffleupagus/remove-mozDash Tim van der Meij 2016-09-15 14:10:31 +02:00
  • 8eaa2cbce3 Remove the deprecated mozDash/mozDashOffset canvas 2D context methods Jonas Jenwald 2016-09-15 09:49:14 +02:00
  • cb5f9df0c8 [EnhanceTextSelection] Make expandTextDivs more efficient by updating all styles at once instead of piecewise Jonas Jenwald 2016-09-13 17:04:57 +02:00
  • a7c35025fe Merge pull request #7629 from timvandermeij/interactive-form-unit-tests Jonas Jenwald 2016-09-13 16:52:30 +02:00
  • 323e86c442 Text widget annotations: implement unit testing and sanitize data values Tim van der Meij 2016-09-13 14:57:11 +02:00
  • 356b321f6d Fallback to the StandardEncoding for Nonsymbolic fonts without /Encoding entry (issue 7580) Jonas Jenwald 2016-09-13 13:43:23 +02:00
  • 4d1592883d Merge pull request #7626 from yashsriv/lint-fix-url-polyfill Tim van der Meij 2016-09-12 21:15:47 +02:00
  • 4e428c7675
    Fix lint warnings in URL polyfill Yash Srivastav 2016-09-12 19:09:25 +05:30
  • 03588ccbf7 Merge pull request #7623 from Snuffleupagus/jpx-error Tim van der Meij 2016-09-12 15:34:05 +02:00
  • 230b1e3275 Merge pull request #7624 from Snuffleupagus/yury-fake-cloning Jonas Jenwald 2016-09-12 12:41:33 +02:00
  • 160b176109 Adding "proper" message port for fake worker. Yury Delendik 2016-02-01 13:21:08 -06:00
  • f620f61887 Change src/core/jpx.js to use the error utility function instead of using throw new Error Jonas Jenwald 2016-09-04 12:56:33 +02:00
  • 6b05cfd1b8 Merge pull request #7622 from timvandermeij/interactive-forms-text Tim van der Meij 2016-09-11 21:42:22 +02:00
  • 325f7afcca For embedded Type1 fonts without included ToUnicode/Encoding data, attempt to improve text selection by using the builtInEncoding to amend the toUnicode map (issue 6901, issue 7182, issue 7217, bug 917796, bug 1242142) Jonas Jenwald 2016-08-17 18:33:06 +02:00
  • be485f59ab Text widget annotations: implement maximum length and text alignment Tim van der Meij 2016-09-11 17:04:33 +02:00
  • bf6f5d1cc9 Merge pull request #7621 from Snuffleupagus/more-symbolic-fonts-without-included-encoding-tests Tim van der Meij 2016-09-11 20:44:30 +02:00
  • ae2cc9119b Add a couple more, mostly text, reference tests for non-embedded symbolic fonts without included encoding information Jonas Jenwald 2016-09-10 13:10:15 +02:00
  • 1fae435e88 Merge pull request #7546 from Snuffleupagus/issue-7544 Jonas Jenwald 2016-09-11 15:20:36 +02:00
  • e68f4f855f fixing 7590 by delaying div shrink after mouse up Jeremy Press 2016-09-08 13:20:11 -07:00
  • 0b75f63c03 Don't duplicate the first entry in the charCodeToGlyphId map for CIDFontType2 fonts with a CIDToGIDMap that already mapped the first entry to a non-zero glyphId (issue 7544) Jonas Jenwald 2016-08-16 12:23:53 +02:00
  • b112f9f9f4 Merge pull request #7600 from Snuffleupagus/issue-7598 Tim van der Meij 2016-09-09 22:02:58 +02:00
  • 22c7ff494a Merge pull request #7609 from Snuffleupagus/enhanceTextSelection-pref-hack Tim van der Meij 2016-09-09 16:38:45 +02:00
  • 23a0264a15 Merge pull request #7619 from Snuffleupagus/SecondaryToolbar-setMaxHeight-events Tim van der Meij 2016-09-09 16:07:51 +02:00
  • be8a69a52c Ensure that we provide the source parameter when dispatching the button click events in SecondaryToolbar (PR 7313 follow-up) Jonas Jenwald 2016-09-08 12:40:51 +02:00
  • 6e126b31dc Only update the max-height of the SecondaryToolbar when it's actually visible Jonas Jenwald 2016-09-08 12:35:49 +02:00
  • e12c48b73f Add a enhanceTextSelection preference Jonas Jenwald 2016-09-07 14:52:52 +02:00
  • ca61ccc533 Merge pull request #7602 from timvandermeij/interactive-forms Jonas Jenwald 2016-09-08 10:13:27 +02:00
  • e281ce7c73 Enable regression testing for interactive forms Tim van der Meij 2016-09-07 16:06:18 +02:00
  • e686db250c Render interactive form (AcroForm) text widget annotations Tim van der Meij 2016-09-06 22:26:57 +02:00
  • 8dbb5a7c4a Merge pull request #7596 from timvandermeij/widget-annotation-cleanup Jonas Jenwald 2016-09-06 13:46:31 +02:00
  • 44b75c01a1 Check that Type1C fonts does not actually contain OpenType font files (issue 7598) Jonas Jenwald 2016-09-06 09:56:18 +02:00
  • 576f742047 Improve the structure for widget annotations Tim van der Meij 2016-09-05 23:46:52 +02:00
  • b26af7ee24 Merge pull request #7595 from Snuffleupagus/api-reject-with-Error Tim van der Meij 2016-09-05 17:14:44 +02:00
  • 37998076c9 In display/api.js ensure that we always reject with an Error in JpegDecode, and adjust a couple of other rejection sites as well Jonas Jenwald 2016-09-05 14:43:16 +02:00
  • 38c85039d1 Merge pull request #7588 from timvandermeij/text-layer-weakmap Jonas Jenwald 2016-09-04 21:25:48 +02:00
  • 96593571eb Optimize scale calculation in text_layer.js Tim van der Meij 2016-09-04 20:19:31 +02:00
  • 7db1983d64 Merge pull request #7591 from Snuffleupagus/jpeg-error Tim van der Meij 2016-09-04 20:11:09 +02:00
  • a35773ec8c Change src/core/jpg.js to use the error utility function instead of throwing Jonas Jenwald 2016-09-03 12:17:00 +02:00
  • d03651efff Merge pull request #7407 from Snuffleupagus/issue-7406 Tim van der Meij 2016-09-04 14:49:01 +02:00
  • 31f6180a08 Merge pull request #7592 from timvandermeij/revert Tim van der Meij 2016-09-03 20:42:21 +02:00
  • eb2ba3287a Revert "Move the Preferences initialization/fetching code to the top of PDFViewerApplication.initialize, to enable using them when initializing the viewer components" Tim van der Meij 2016-09-03 20:27:01 +02:00
  • a2525a8ba3 Revert "Add a enhanceTextSelection preference to the viewer" Tim van der Meij 2016-09-03 20:26:46 +02:00
  • b3818d5c36 Replace div.dataset with a WeakMap in text_layer.js Tim van der Meij 2016-09-02 18:10:37 +02:00
  • 461a18a74a Merge pull request #7586 from Snuffleupagus/viewer-initialize-Preferences-earlier Tim van der Meij 2016-09-03 18:55:24 +02:00
  • b10add14f3 Refactor text_layer.js to pass the task as a parameter Tim van der Meij 2016-09-02 17:51:13 +02:00
  • 15e45d772f Add a enhanceTextSelection preference to the viewer Jonas Jenwald 2016-09-02 13:17:40 +02:00
  • ffb876fdf4 Move the Preferences initialization/fetching code to the top of PDFViewerApplication.initialize, to enable using them when initializing the viewer components Jonas Jenwald 2016-09-02 13:06:35 +02:00
  • 8522625da2 Merge pull request #7585 from timvandermeij/text-selection-code-fixes Tim van der Meij 2016-09-01 18:48:04 +02:00
  • 7c961b6b7a Minor code style improvements after #7539 Tim van der Meij 2016-09-01 18:07:12 +02:00
  • 6bb95e3129 Merge pull request #7539 from jeremypress/fairexpand Tim van der Meij 2016-09-01 17:43:31 +02:00
  • 61a576c41f Merge pull request #7583 from Snuffleupagus/Named-Action-GoToPage-select Tim van der Meij 2016-09-01 15:38:37 +02:00
  • 0db76dc58c Change the GoToPage Named Action to select the contents of the pageNumber input, rather than just focusing the element Jonas Jenwald 2016-09-01 13:23:18 +02:00
  • 1ceeb4d17b added text enhancement regression tests Jeremy Press 2016-08-17 10:56:43 -07:00
  • 6faa84abdb Continuing fairexpand #6663 1. Expanding divs to improve text selection. (Yury) 2. Adding enhanceTextSelection as an option. 3. Moving feature functionality from text_layer_builder.js to text_layer.js. 4. Added expandTextDivs method to only load expanded divs on first click, and only show on subsequent clicks Jeremy Press 2016-08-16 16:06:35 -07:00
  • 3ac23200ba Add a reduced test-case for issue 7406 Jonas Jenwald 2016-07-23 13:04:27 +02:00
  • 1bbc694ac3 Assign the quantizationTables after parsing the entire JPEG image, to prevent issues when the DQT (Define Quantization Tables) marker is encountered after SOF{n} (Start of Frame) markers (issue 7406) Jonas Jenwald 2016-06-13 13:29:32 +02:00
  • 23b13d368e Merge pull request #7579 from Snuffleupagus/updateUIToolbar-correctly-disable-zoom-buttons Tim van der Meij 2016-08-31 15:33:49 +02:00
  • f3b7fa091d Ensure that the zoom buttons are disabled correctly if the scale is smaller/larger than MIN_SCALE/MAX_SCALE in PDFViewerApplication._updateUIToolbar Jonas Jenwald 2016-08-31 13:15:28 +02:00
  • ffa99397ad Merge pull request #7387 from Snuffleupagus/issue-5808 Yury Delendik 2016-08-30 15:21:41 -05:00
  • a75b020423 Merge pull request #7575 from timvandermeij/update-l10n Tim van der Meij 2016-08-28 16:20:21 +02:00
  • d1ca5c11ec Update translations Tim van der Meij 2016-08-28 16:14:03 +02:00
  • b0a0bef267 Merge pull request #7440 from Snuffleupagus/bug-874482 Tim van der Meij 2016-08-28 15:47:40 +02:00
  • f520616e00 Merge pull request #7570 from Snuffleupagus/issue-7569 Tim van der Meij 2016-08-28 00:23:59 +02:00
  • fb6fde9d00 Merge pull request #7574 from timvandermeij/unit-test-font-cleanup Tim van der Meij 2016-08-27 23:29:06 +02:00
  • b81d661556 Remove unused globals from fonts unit test file Tim van der Meij 2016-08-27 23:20:03 +02:00
  • d944c320b4 Merge pull request #7540 from Snuffleupagus/ProblematicCharRanges-unit-test Tim van der Meij 2016-08-27 23:14:55 +02:00
  • 8aa9b790be Merge pull request #7573 from Snuffleupagus/mobile-viewer-async-open/close Tim van der Meij 2016-08-27 22:45:42 +02:00
  • 65e9ff68aa [mobile-viewer] Add an async close method to the example, and change open to also be async (issue 7571) Jonas Jenwald 2016-08-27 12:46:05 +02:00
  • 088ce6c009 Add a unit-test to check that ProblematicCharRanges contains valid entries Jonas Jenwald 2016-08-13 12:20:03 +02:00
  • 78889646c8 Create a fallback annotation id for entries in Annots dictionaries that are not indirect objects (issue 7569) Jonas Jenwald 2016-08-26 16:01:25 +02:00
  • 0e20d44fef Merge pull request #7563 from brendandahl/upstream-l10n Brendan Dahl 2016-08-24 09:49:17 -07:00
  • 8cf32cde6c Upstream l10n changes from Bug 1259859. Brendan Dahl 2016-08-24 09:47:36 -07:00
  • e5baf7ec36 Merge pull request #7330 from Snuffleupagus/issue-7188 Jonas Jenwald 2016-08-22 20:36:54 +02:00
  • 5379749d4b Try to prevent CanvasGraphics_getSinglePixelWidth from intermittently returning incorrect values in Firefox (issue 7188) Jonas Jenwald 2016-05-16 12:15:00 +02:00
  • 200c8575ab Merge pull request #7555 from Snuffleupagus/primitives-async-unit-tests Tim van der Meij 2016-08-22 13:29:40 +02:00
  • db1526c59e Add unit-tests for asynchronous methods in primitives.js Jonas Jenwald 2016-08-21 18:44:58 +02:00
  • a9c37c242e Merge pull request #7521 from brendandahl/bug-1291709 Brendan Dahl 2016-08-17 14:35:39 -07:00
  • ef45085f10 Merge pull request #7548 from Rob--W/window-print-avoid-microtask Tim van der Meij 2016-08-17 21:35:12 +02:00
  • b4c8814fc9 Merge pull request #7534 from Snuffleupagus/isName-name-check Tim van der Meij 2016-08-17 15:48:42 +02:00
  • 76d29759c5 Avoid window.print in a microtask Rob Wu 2016-08-17 05:52:27 -07:00
  • 084fc517fe Merge pull request #7021 from Snuffleupagus/bug-1250079 Jonas Jenwald 2016-08-17 13:46:09 +02:00
  • 544d29f5cb Add a recoveryMode that suppresses errors from the Parser, and utilize it when searching for the main trailer in XRef_indexObjects (bug 1250079) Jonas Jenwald 2016-02-24 17:56:28 +01:00
  • 83ce6f0b6d Adjust the (applicable) existing isName callsites to use the new isName(v, name) version of the function Jonas Jenwald 2016-08-04 15:13:37 +02:00
  • af636aae96 Add a parameter to the isName function that enables checking not just that something is a Name, but also that the actual name properties matches Jonas Jenwald 2016-08-04 14:57:31 +02:00
  • 94089960c0 Merge pull request #7532 from Snuffleupagus/PDFViewer-remove-obsolete-onAfterDraw-comment Brendan Dahl 2016-08-08 10:53:01 -07:00
  • 31cd23a6df Remove an obsolete comment for onAfterDraw in pdf_viewer.js Jonas Jenwald 2016-08-08 13:36:44 +02:00
  • 076e25f1ca Prevent destinations with bad left/top values from scrolling the wrong page into view (bug 874482) Jonas Jenwald 2016-06-20 12:30:05 +02:00
  • 6cb77d6580 fix outline may jump to previous page issue Xiliang Chen 2016-01-21 11:39:30 +13:00
  • ca81f4df18 Merge pull request #7529 from Snuffleupagus/setCurrentPageNumber-warn-on-outOfBounds Tim van der Meij 2016-08-07 14:43:31 +02:00
  • 7706cfa9fe Log an error when the value passed to set currentPageNumber is out of bounds (PR 7502 followup) Jonas Jenwald 2016-08-07 13:10:50 +02:00