Граф коммитов

38 Коммитов

Автор SHA1 Сообщение Дата
Florian Quèze 0f55cd45be Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs. 2017-12-21 11:10:23 +01:00
Joel Maher 583be02ed0 Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop 2017-08-25 13:08:45 -04:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Nathan Froyd 452dc60022 Bug 1372670 - part 4 - use nsIThreadManager::dispatchToMainThread more from JS; r=florian
We did an automated conversion for many of these in another bug, but
these instances were either missed or have been added since then.
2017-06-21 12:59:28 -04:00
Nathan Froyd 27c58cf89f Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
lochang 715b00892d Bug 1367334 - Use pdf name as default name of save to file in embedded pdf case. r=brsun
MozReview-Commit-ID: 1AZxOj5DZzC

--HG--
extra : rebase_source : 241d6ee0717ed2fc6137c649ee90c82caee5402e
2017-05-25 10:59:50 +08:00
lochang eeb9fec1eb Bug 1346682 - Set title to document name for print to file. r=brsun
MozReview-Commit-ID: ATNXpc5xM0C

--HG--
extra : rebase_source : 0ef72d72ad154e85745e984df5632b0555755ce9
2017-05-09 11:11:30 +08:00
Ya-Chieh Wu 5940d8d6db bug 1360494 - part 2 add mochitest to make sure the image files exist. r=evelyn
MozReview-Commit-ID: B66VMsoum6W

--HG--
extra : rebase_source : 0615ec1c39b57ecdb143584697ca09cccacb7c79
2017-05-12 17:55:07 +08:00
Ya-Chieh Wu 285d4417f9 bug 1360494 - part 1 remove duplicate image files and reference them from pdfjs. r=evelyn
MozReview-Commit-ID: HOphfTkjNK5

--HG--
extra : rebase_source : d417306c4d3edc531125626ca960f4787be0e2a5
2017-05-12 09:48:18 +08:00
lochang 22a4f20aa8 Bug 1363291 - Handle save to file when printing pdf in non-e10s. r=brsun
MozReview-Commit-ID: CF9eRC3ZJWU

--HG--
extra : rebase_source : cd52051e70d932c239c5c012e16b8ef42ad8f191
2017-05-12 13:15:45 +08:00
Ya-Chieh Wu 200dc0cdc7 Bug 1345328 - modify moz.build to build pdfium as a build-in addon. r=rhelmer
--HG--
rename : browser/extensions/mortar/host/pdf/install.rdf => browser/extensions/mortar/host/pdf/install.rdf.in
2017-04-18 19:18:00 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst d8496d0a1f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EjT9dcum69m
2017-04-14 23:56:10 +02:00
Ya-Chieh Wu 68460d7321 Bug 1340995 - [pdfium] skip to render key in form when the key is being pressed with Control or Meta. r=ehung.
--HG--
extra : rebase_source : d56f49b844a49e31a25a4f87831db28268618d53
2017-04-13 18:39:00 +08:00
Luke Chang d13a18d068 Bug 1299406 - [mortar][PDF] Implement document outlines. r=evelyn
Implements "Sidebar" and "OutlineView" layouts for rendering the bookmarks of PDF

MozReview-Commit-ID: 2Evg13Ohwg

--HG--
extra : rebase_source : d04dd42b9f5f0d79d3290a40cbc4ec23720c864e
2017-04-14 15:31:16 +08:00
Rex Lee 2a6a2e2288 Bug 1347504 - [jsplugins][UI] Support opening external links in PDF files. r=evelyn,lochang, f=lchang, f=lochang
MozReview-Commit-ID: CIrC4ise4Zs

Hotkeys works like normal DOM links, except "Open in background tab" (which corresponds to ctrl/command + click)
open tabs in foreground due to limitation from outside chrome process.

--HG--
extra : rebase_source : 6a3b43c518e23c61fe3c48cc4317b813a39acc7a
2017-04-06 16:14:23 +08:00
Rex Lee e3453feccf Bug 1317228 - [Mortar][PDF] Implement mouse and keyboard control in presentation mode. r=evelyn, f=lchang
MozReview-Commit-ID: FLYox0cU7Ok

--HG--
extra : rebase_source : 15fe6a13d72beeca8511fe82f8483ad591ad17ad
2017-03-21 15:35:38 +08:00
lochang 79448e55da Bug 1311586 - Implement method |PPB_PDF::Print|. r=brsun
From eb817ace782f0c7deb420e61c5d9d6185c665e28 Mon Sep 17 00:00:00 2001
---
 .../mortar/host/common/ppapi-runtime.jsm           | 205 +++++++++++++++++++++
 .../mortar/host/pdf/chrome/js/toolbar.js           |   4 +
 .../mortar/host/pdf/chrome/js/viewport.js          |   6 +
 .../mortar/host/pdf/ppapi-content-sandbox.js       |  70 +++++++
 4 files changed, 285 insertions(+)
2017-03-14 15:22:07 +08:00
Evelyn Hung c8d68ef0a5 Bug 1278204 - Fix HiDPI issue by detecting devicePixelRatio. r=lochang
--HG--
extra : rebase_source : dc560a8adc243018615473e301560997925256bd
2017-03-15 17:27:47 +08:00
Rex Lee d98bc3f107 Bug 1287012 - [mortar][PDF] Enable select all feature. f=lchang, r=evelyn
Achieved by handling XUL command from sandbox side, to ensure commands from
menu bar and other places all runs correctly. Text copy is changed to be
handled there for the same reason.

MozReview-Commit-ID: 34aCjNsBKYs

--HG--
extra : rebase_source : 530d5b6b8b9502976569961df0f1b21a8126241c
2017-03-10 19:48:58 +08:00
Ya-Chieh Wu c075f7b427 Bug 1338476 - Add "pdfium.enabled" as a pref for turning on/off mortar pdf. r=evelyn, r=Gijs 2017-03-13 19:57:00 +01:00
Rex Lee 984929ffe1 Bug 1338095 - [Mortar] Implement "View bookmark" button in PDF viewer. f=lchang, f=lochang, r=evelyn
MozReview-Commit-ID: 2W0Fqy9KGuP

--HG--
extra : rebase_source : 7b79d27faab0fdbcd0e89bf8f3e5a8c8fad5d689
2017-02-22 19:51:52 +08:00
lochang a5e82bccb0 Bug 1328495 - Parameter |page_ranges| in |PrintPages| function should be an array. r=peterv 2017-03-07 01:33:00 -05:00
Ya-Chieh Wu 1e21b15fcc Bug 1331298 - Handle Control characters code units from U+0000 to U+001F in rpc.h. r=peterv 2017-03-06 18:36:00 -05:00
Ya-Chieh Wu b08524a4f3 Bug 1325896 - Implement PPB_KeyboardInputEvent_Create. r=peterv 2017-03-06 18:26:00 -05:00
Ya-Chieh Wu 74ef9a167c Bug 1340472 - Add a way to unregister the plugin in mortar-pdf's bootstrap. r=ehung. 2017-03-05 22:07:00 +01:00
Rex Lee 6aa1497673 Bug 1338094 - [Mortar] Support keyboard copy. f=lchang, r=evelyn
MozReview-Commit-ID: KvLR3Ajio1n

--HG--
extra : rebase_source : 3eb74758d258e928f6ed25284ecf69d8bef462c4
2017-02-14 11:44:38 +08:00
Rex Lee 7befa4db25 Bug 1338092 - [Mortar] Remove de-scoped UI components for PDF viewer. f=lchang, r=evelyn
MozReview-Commit-ID: 7SpoAEssLF9

--HG--
extra : rebase_source : af1209e2ec6711dcc27906da98529e44babcf151
2017-02-09 19:05:19 +08:00
Ya-Chieh Wu 43e8390bdd Bug 1324622 - merge unit test into mortar. r=ehung 2017-02-09 23:34:00 +01:00
lochang fe0f824fb3 Bug 1330196 - Can not render pdf with latest PDFium binary. r=brsun 2017-02-09 16:33:32 +08:00
Rex Lee b64cd8f280 Bug 1330932 - [Mortar] Support password-locked PDF file. f=lchang, r=evelyn
MozReview-Commit-ID: 7V3vh4Shvw

--HG--
extra : rebase_source : 36fc8ddc04bd390ac3bd52334783e336393e327d
2017-01-17 19:48:09 +08:00
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Peter Van der Beken af556561f8 Bug 1324708: add missing attributes in URLLoader; r=brsun 2016-12-20 21:47:07 +00:00
Luke Chang 21aea98345 Bug 1299405 - [jsplugins][UI] Implement presentation mode. r=evelyn
MozReview-Commit-ID: DYkul38pL3v

--HG--
extra : rebase_source : e6bf21244e5f4c9fe0aa22f2ba733f4167b0a36f
2017-01-09 14:43:21 +08:00
Luke Chang a87878e727 Bug 1316526 - [jsplugins][UI] Implement download feature; r=evelyn
MozReview-Commit-ID: 55RLoqTgHw9

--HG--
extra : rebase_source : a5c39624d4092afb3406063c0594c1a853434d0e
2016-12-29 18:37:02 +08:00
lochang 6c19bb7391 Bug 1313295 - Integrate mortar into gecko build system. r=glandium
--HG--
extra : rebase_source : 8c7b15dc524f196317754772394a0fc4bef6d3ad
2016-11-29 18:21:00 -05:00
lochang 5d827f498b Bug 1313295 - Merge mortar into mozilla-central. r=peterv
--HG--
extra : rebase_source : 196b777aae3f41d477c35001ba284a6c213ea8d6
2016-12-12 19:30:00 -05:00