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

260 Коммитов

Автор SHA1 Сообщение Дата
Bob Owen 2c3ffe3ac4 Bug 1441598: Don't try and send messages to PrintProgressDialogChild when printing is complete. r=jwatt 2018-03-05 08:22:14 +00:00
Florian Quèze c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Timothy Guan-tin Chien b073441b39 Bug 1422386 - Remove toolbardecoration, toolbar, and toolbar-base binding, r=Paolo
The only purpose of these bindings was to insert a stylesheet, which has been
moved to be included in toolkit/content/components.css.

MozReview-Commit-ID: 23jqkIrbVvi

--HG--
extra : rebase_source : 8d13f7a8afa730207d40e1457e36ec51331c4ea7
2018-02-13 22:12:18 +08:00
Bob Owen 27e71ca989 Bug 1379117 Part 2: Remove some deprecated PrintUtils functions. r=jwatt
I noticed these while looking for other things that were gettting an
nsIWebBrowserPrint for print preview. I think these must have been left for
legacy addons and they don't seem to be used, so I think they can go.
2018-02-08 08:59:20 +00:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
arai 3d4967a6e0 Bug 1265174 - do not restore "onclose" attribute to null value in print preview window, when there was none at the start. r=smaug 2018-01-13 10:16:00 +02:00
Jorg K bc6ff2f863 Bug 1427553 - Handle mull gracefully in ellipseString(). r=bobowen 2018-01-05 06:52:00 -05:00
Cameron McCormack 0c46625eab Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Dorel Luca 5343debb6a Backed out 3 changesets (bug 1417837) for failing browser/chrome/test_media_playback.html r=backout on a CLOSED TREE
Backed out changeset 9556f12b4058 (bug 1417837)
Backed out changeset 49a463e85e42 (bug 1417837)
Backed out changeset 7a76f2363663 (bug 1417837)
2017-12-04 14:59:31 +02:00
Cameron McCormack 311c671019 Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Coroiu Cristina 035be65ea1 Backed out 3 changesets (bug 1417837) for ESlint failures at /builds/worker/checkouts/gecko/toolkit/components/narrate/NarrateControls.jsm r=backout on a CLOSED TREE
Backed out changeset 0d6b56293cbf (bug 1417837)
Backed out changeset 1c341a427a7a (bug 1417837)
Backed out changeset fa4f488ea88f (bug 1417837)
2017-12-04 12:34:37 +02:00
Cameron McCormack 33f3ce5cd6 Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
MozReview-Commit-ID: 8C65ljtFDrh

--HG--
extra : rebase_source : 442d8cbaf7f7252b6b6393845d2d09e265678ae9
2017-11-16 17:58:37 +08:00
Mark Banner 3619944268 Bug 1371293 - Fix remaining instances of no-multi-spaces after upgrading to ESLint 4. r=mossop
MozReview-Commit-ID: EL6qI2VDyT1

--HG--
extra : rebase_source : df939b81e6f879bfe97ae70f4596d60682d6beb6
2017-11-06 13:40:13 +00:00
Matheus Longaray 36fecc2a3b Bug 1404176 - Remove aborted print preview browser before bailing out. r=mconley
This patch clears out set of print preview browsers before bailing out when
there is an error while putting the document into print preview mode.

MozReview-Commit-ID: 20cm4DCktQk

--HG--
extra : rebase_source : 9881245cc09ef50cadd1139b6a9c1b32e7847612
2017-11-13 17:17:57 +01:00
Mark Banner 3f5fe07fd8 Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components/printing. r=mossop
MozReview-Commit-ID: 6g26rPnSN1r

--HG--
extra : rebase_source : 193915d7d7d5c6260d711adbbb5cf4afbfbd5abd
2017-10-30 17:08:42 +00:00
Mantaroh Yoshinaga 60c5093160 Bug 1411121 - Part 4. Remove printPageSetup resources from linux package since Linux will display native dialog. r=mconley
This patch will remove printPageSetup resources from Linux package. This xul is
'PageSetup' dialog, but gecko doesn't use this dialog since gecko will display
a native page setup dialog.
(For Detail, See nsPrintDialogServiceGTK::ShowPageSetup)

MozReview-Commit-ID: 4AFjaM3cB35

--HG--
extra : rebase_source : 9ed0e9f0c3289c7d66b8f839417a899f884b345c
2017-11-06 09:27:05 +09:00
Mantaroh Yoshinaga 26d5a3372b Bug 1411121 - Part 2: Remove printdialog.xul and printjoboptions.xul. r=mconley
This patch will remove printing xul dialog and related files since a caller of
this xul dialog doesn't exist.
The printjoboptions.xul is only used by printdialog.xul.

MozReview-Commit-ID: B6VZuj3Lg1b

--HG--
extra : rebase_source : 7cf2e94c491147a2cb84616ab922adeb833cb447
2017-11-06 09:27:05 +09:00
Csoregi Natalia b111f07e40 Backed out 3 changesets (bug 1411121) for failling browser-chrome browser/base/content/test/static/browser_all_files_referenced.js r=backout on a CLOSED TREE
Backed out changeset 9f02fcb3d28c (bug 1411121)
Backed out changeset 9d8722dd9693 (bug 1411121)
Backed out changeset d390f8888d71 (bug 1411121)
2017-11-01 11:47:48 +02:00
Mantaroh Yoshinaga b37cd99810 Bug 1411121 - Part 2: Remove printdialog.xul and printjoboptions.xul. r=mconley
This patch will remove printing xul dialog and related files since a caller of
this xul dialog doesn't exist.
The printjoboptions.xul is only used by printdialog.xul.

MozReview-Commit-ID: B6VZuj3Lg1b

--HG--
extra : rebase_source : 22c7fcacbca20e0a1eca66450a64653d5c4f0f5c
2017-11-01 12:05:40 +09:00
Mark Banner 4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Dan Banner 7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Christoph Kerschbaumer 737aea1a0f Bug 1397657 - Update tests within toolkit/ to comply with new toplevel data: URI navigation policy. r=francois,dtownsend 2017-09-12 07:06:03 +02:00
Bob Owen 8aa3f52fda Bug 1274746: Use previous custom scale value when switching from Shrink To Fit in Print Preview. r=mconley
The change here is to make the prompt return the value even if it hasn't changed,
because we still need to reprocess if we are switching from Shrink To Fit.
2017-09-11 11:53:14 +01:00
dagasatvik d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Bob Owen b2ce31f287 Bug 1365601 Part 2: Disable parts of the Print Preview toolbar until update has finished. r=mconley 2017-07-11 07:38:36 +01:00
Bob Owen 8cde474060 Bug 1365601 Part 1: Send number of pages on printPreviewUpdate event instead of requesting from parent. r=mconley
This also makes sure that we don't call nsIWebBrowserPrint::PrintPreview while we're still in a previous call.
2017-07-05 18:12:36 +01:00
Rajesh Kathiriya 881bce09ea Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW

--HG--
extra : rebase_source : 84bccaeba083bc430316d3c80d5c8f56494f1950
2017-07-04 21:30:18 +05:30
Dan Banner ea09f270ab Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ

--HG--
extra : rebase_source : 66d17c7981c4b0987c482ce092b25990b42c07fb
2017-05-27 15:17:29 +01:00
Florian Quèze 5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Mark Banner 2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst 95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner 256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Mike Conley ebc56f8c56 Bug 1308820 - Make sure to close the print progress dialog if print preview is exited. r=Gijs
MozReview-Commit-ID: 391bf9J2Qcf

--HG--
extra : rebase_source : 82e245b089459e3dea9b71551d17b6533dbf76ec
2017-05-01 12:53:31 -04:00
Matheus Longaray 1cec8e74d5 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: FZSRUyC49Wk
2017-05-01 17:30:48 +02:00
Sebastian Hengst 8961c1494e Backed out changeset 99fd6973d18e (bug 1332386) for frequently failing browser_tabSwitchPrintPreview.js on Linux x64 opt-ish builds. r=backout a=backout
MozReview-Commit-ID: 7oyiuBSTGtI
2017-04-29 20:47:54 +02:00
Matheus Longaray e723d98949 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: FZSRUyC49Wk

--HG--
extra : rebase_source : cccc12f17f315089c9e5d05116077b7f87f4053b
2017-04-20 14:04:03 +02:00
Wes Kocher 9f7208991b Backed out changeset 6404057679f4 (bug 1332386) for frequent failures in browser_preview_switch_print_selected.js a=backout 2017-04-18 16:21:58 -07:00
Matheus Longaray 89917b659f Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: 77pLXhdbpPp

--HG--
extra : rebase_source : 7201f230299c571d6c3a86ce650d6852c43e0943
2017-04-18 22:21:10 +02:00
Frank-Rainer Grahl 8609ec93f0 Bug 1353439 - Cc and Ci are not defined in printUtils.js so use Components full names. r=jhector 2017-04-05 03:08:00 -04:00
Mark Banner bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Dão Gottwald 3d9dca980f Bug 1343330 - Use fast-forward and fast-rewind characters instead of skip-to-end and skip-to-start on Windows 7. r=Felipe
MozReview-Commit-ID: LUfyeUcDkmC

--HG--
extra : rebase_source : c69437309725c9c0fe11f3f661d18deab5940036
2017-03-14 13:03:42 +01:00
Carsten "Tomcat" Book 01be573810 Backed out changeset 8cd4168dbb04 (bug 1343330) for eslint failure 2017-03-14 12:43:21 +01:00
Dão Gottwald 906d239e2d Bug 1343330 - Use fast-forward and fast-rewind characters instead of skip-to-end and skip-to-start on Windows 7. r=Felipe
MozReview-Commit-ID: Lla9l6swSU3

--HG--
extra : rebase_source : 83adebe90eadbcc06f529d08537825ef9573871d
2017-03-10 14:16:56 +01:00
Florian Quèze c3d51cb515 Bug 1345513 - Stop shipping unreferenced printing files on Mac, r=mconley. 2017-03-11 12:51:21 +01:00
Florian Quèze 9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00