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

246 Коммитов

Автор SHA1 Сообщение Дата
Magnus Melin e649e2651e Bug 1553077 - Part 2: more createElementNS(XUL_NS,...) -> createXULElement(...) conversions. r=jorgk DONTBUILD
find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
-name '*.js' -exec sed -r -i 's/createElementNS[(]XUL_NS, /createXULElement(/g' {} \;
find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
-name '*.jsm' -exec sed -r -i 's/createElementNS[(]XUL_NS, /createXULElement(/g' {} \;
find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
-name '*.xml' -exec sed -r -i 's/createElementNS[(]XUL_NS, /createXULElement(/g' {} \;

and some manual fixups of XUL_NS declarations
2019-05-22 10:35:02 +02:00
Magnus Melin 77a0566714 Bug 1553077 - Port [Bug 1479538 - Rewrite callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...)]. r=jorgk
find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
-name '*.js' -exec sed -r -i 's/createElementNS[(]XULNS, /createXULElement(/g' {} \;

find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
-name '*.xml' -exec sed -r -i 's/createElementNS[(]XULNS, /createXULElement(/g' {} \;

find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
-name '*.js' -exec sed -r -i 's#createElementNS[(]"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",#createXULElement(#g' {} \;

 + some manual fixups
2019-05-21 12:35:48 +03:00
Khushil Mistry f759b2f94f Bug 1134760 - thunderbird help menu revamp. r=mkmelin 2019-05-19 06:56:00 +03:00
Geoff Lankow 3195c35104 Bug 1549166 - Centralise configuration of ESLint environments for test directories; r=aceman 2019-05-20 14:09:54 +12:00
Geoff Lankow e0991f35b0 Bug 1552634 - Change bootstrapped extensions to using manifest.json; r=Fallen
--HG--
rename : mail/test/mozmill/folder-tree-modes/test-extension/install.rdf => mail/test/mozmill/folder-tree-modes/test-extension/manifest.json
2019-05-20 14:09:38 +12:00
Magnus Melin 5d200f5df9 Bug 1546352 - [de-xbl] convert the menu-button-base + menubutton.xml#menu-button bindings to custom element. r=khushil
--HG--
rename : common/bindings/menubutton.xml => mail/base/content/button-menu-button.js
2019-05-19 14:24:39 +03:00
Magnus Melin b5f088faa4 Bug 1546338 - fix some more instances of Port [Bug 1551320 - In XUL documents replace all callers of createElement with createXULElement]. r=jorgk 2019-05-19 16:26:42 +03:00
Magnus Melin 2b1d2dc344 Bug 1546338 - Port [Bug 1551320 - In XUL documents replace all callers of createElement with createXULElement]. r=jorgk
find . -type f -not -path "*.hg/*" -not -path "*suite/*" -not -path "./chat/protocols/matrix/matrix-sdk/*"
 -not -path "./mail/components/about-support/*" -not -path "./mail/components/newmailaccount/content/*"
 -not -path "./mailnews/extensions/newsblog/content/*" -not -path "./mailnews/extensions/newsblog/content/*"
 -name '*.js' -exec sed -r -i
 '/React.|("(iframe|div|hr|img|title|a|li|ol|ul|h2|h3|facet-result-message|facet-boolean|facet-boolean-filtered|
  facet-discrete|select|option|canvas|strong|td|tr|tbody|pre|span|head|meta|map|area|table|caption|p|br|b))"/!
  s/createElement[(]/createXULElement(/g' {} \;
2019-05-16 15:21:51 +03:00
Jorg K 5ed7fbb063 Bug 1546075 - Fork viewZoomOverlay.js to common/ to fix zooming bug. r=darktrojan DONTBUILD 2019-05-14 11:47:26 +02:00
Alessandro Castellani 3c0ac6681b Bug 1549343 - restore menuitem iconic. r=mkmelin 2019-05-08 10:23:10 -07:00
Magnus Melin 06598f8b07 Bug 1547054 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags. r=Paenglab,philipp DONTBUILD 2019-04-28 22:14:40 +02:00
Alessandro Castellani 905a39d134 Bug 1536935 - [de-xbl] remove the forked notification binding. r=mkmelin 2019-04-26 10:23:36 +02:00
Jorg K afff23953e Bug 1535725 - Follow-up: Fix multiple retrievals of bounding rect on same object. r=darktrojan 2019-04-24 09:26:01 +02:00
Jorg K 57d1361e9a Bug 1546364 - Reformat to Google coding style in common/. rs=reformat
# ignore-this-changeset
2019-04-24 00:24:59 +02:00
Magnus Melin 394b7e184f Bug 1546342 - [de-xbl] remove unused toolbarpaletteitem-palette-wrapping-label binding. r=khushil 2019-04-23 15:15:28 +03:00
Magnus Melin 7957fca3f3 Bug 1546328 - [de-xbl] remove unused menubar binding. r=khushil 2019-04-23 13:52:45 +03:00
Richard Marti 022ae11241 Bug 1546082 - Remove the <resources> from menu-button binding in menubutton.xml. r=mkmelin 2019-04-22 13:48:30 +02:00
Geoff Lankow b6580a2ac5 Bug 1543559 - Fix CSS errors detected using static analysis tests; r=mkmelin
--HG--
rename : mail/themes/windows/mail/icons/tick.png => mail/themes/shared/mail/icons/tick.png
2019-04-19 10:19:57 +12:00
Jorg K 4b0b034136 Bug 1535725 - Port bug 1519948: Replace use of boxObject: .x, .y, .height, .width, .screenX, .screenY. r=me 2019-04-17 23:58:15 +02:00
Mike Hommey 9a309af799 Bug 1541793 - Replace NSMODULE_DEFN component registration with a static initializer using XRE_AddStaticComponent. r=BenC,jorgk
Differential Revision: https://phabricator.services.mozilla.com/D26268

--HG--
extra : rebase_source : ab9506dc91c117dfbef5c7a532ee2e3d3af7b13d
2019-04-09 09:31:35 +02:00
Geoff Lankow 7c84bbe769 Bug 1542609 - Invalidate startup cache when uninstalling a bootstrapped addon; r=mkmelin DONTBUILD 2019-04-08 20:40:07 +12:00
Jorg K 7ba184af9c Bug 1541144 - Backed out changeset 270dd6e22821. Not necessary any more since bug 1542352 restored 0-arg CTOR of nsBaseCommandController. a=backout 2019-04-07 00:01:59 +02:00
Jorg K 1ac558c67e Bug 1541144 - Port bug 1540965: Hand-roll NS_GENERIC_FACTORY_CONSTRUCTOR(nsBaseCommandController). rs=bustage-fix 2019-04-04 08:54:08 +02:00
Jorg K de353e4424 Bug 1526811 - Port more of bug 1472557 to fix attachment navigation. r=mkmelin DONTBUILD 2019-04-02 15:31:00 +02:00
aceman 4fd2bb880f Bug 1540457 - remove remaining Array generics in Thunderbird. r=mkmelin DONTBUILD 2019-03-31 15:51:00 +02:00
Jorg K 352cee08b9 Bug 1463266 - fix typos in chat/, common/ and editor/ using codespell. rs=comment-only,typo-fix 2019-03-29 21:04:35 +01:00
Magnus Melin 5d3fce9314 Bug 1531254 - Port bug 1531119 - Remove editMenuCommands.inc.xul and make editMenuOverlay.js in charge of constructing the relevant commandset DOM. r=darktrojan 2019-02-28 09:09:53 +02:00
Geoff Lankow 46c9d9466a Port bug 1246594 - Enable ESLint rule no-throw-literal by default; rs=bustage-fix DONTBUILD 2019-03-21 20:45:20 +13:00
Paul Morris 80f5b263d5 Bug 1534930 - [de-xbl] Remove the spinbuttons, numberbox and textbox bindings. r=mkmelin
--HG--
rename : mail/themes/linux/mail/numberbox.css => mail/themes/linux/mail/textbox.css
rename : mail/themes/osx/mail/numberbox.css => mail/themes/osx/mail/textbox.css
rename : mail/themes/windows/mail/numberbox.css => mail/themes/windows/mail/textbox.css
2019-03-13 15:34:10 -04:00
Magnus Melin 833523864f Bug 1535582 - nuke now unused bindings xbl-menulist, menulist-popuponly, menulist-editable, panellist, datetextpicker, datetimepicker-base, and fix menulist.css inclusion. r=darktrojan 2019-03-16 23:38:10 +02:00
Magnus Melin da337fb3ab Bug 1534948 - ensure html namespace is available in all the thunderbird xul files. r=Paenglab, r=Fallen
Scripts:

grep -rl -L --exclude-dir=.hg --exclude-dir=suite --include="*.xul" --exclude="*.inc.xul" 'xmlns:html="http://www.w3.org/1999/xhtml"' . | xargs sed -i 's#xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"#xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml"#g' {} \;

grep -r -L --exclude-dir=.hg --exclude-dir=suite --include="*.xul" --exclude="*.inc.xul" 'xmlns:html="http://www.w3.org/1999/xhtml"' .
2019-03-14 21:53:23 +02:00
Geoff Lankow af4ed9de6d Bug 1527770 - Convert Thunderbird preferences to use preferencesBindings.js; r=aceman
--HG--
rename : common/bindings/preferences.xml => mail/components/preferences/preferences.xml
2019-03-07 22:57:21 +13:00
Geoff Lankow c04c2f1e7f Bug 1533085 - Remove extends="xul:*" and display="xul:*" in XBL bindings; rs=bustage-fix 2019-03-07 15:17:03 +13:00
Jorg K 011e2259f0 Port bug 1528751 - fix inconsistent if bracing. r=me DONTBUILD 2019-03-01 00:58:16 +01:00
Ben Campbell e53ea84c67 Bug 1531307 - Follow-up: minor whitespace/comment cleanup. r=jorgk 2019-03-01 11:10:55 +13:00
Geoff Lankow f8b2cbf41a Bug 1531453 - Port bug 1529374 - Fix getResourceURI() for bootstrapped addons; rs=bustage-fix 2019-03-01 12:10:42 +13:00
Jorg K 528705f7f8 Bug 1531307 - Port bug 1525319: Remove context parameter from OnStartRequest/OnStopRequest/OnDataAvailable, tests. rs=bustage-fix 2019-02-28 20:52:16 +01:00
Jorg K 1338c9e403 Bug 1531307 - Port bug 1525319: Remove context parameter from OnStartRequest/OnStopRequest/OnDataAvailable, C++ part. rs=bustage-fix CLOSED TREE DONTBUILD 2019-02-28 15:08:09 +01:00
Geoff Lankow 748f16cb25 Bug 1527535 - Remove datepicker widget from address book; r=mkmelin 2019-02-21 14:15:09 +13:00
Richard Marti f3d3ad7a95 Bug 1524457 - Fix the editable menulist CSS. r=darktrojan, jorgk 2019-02-19 15:58:37 +01:00
Geoff Lankow c741939c0a Bug 1524457 - Convert menulist-editable to custom element; r=mkmelin 2019-02-21 14:14:48 +13:00
Geoff Lankow 699017ad8b Bug 1525516 - Fix bootstrapped extension tests after bug 1525445 broke them; rs=bustage-fix 2019-02-08 16:57:34 +13:00
Jorg K ae84e20246 Bug 1525886 - Fork RDFDataSource.jsm to common/ after its removal in bug 857458. rs=bustage-fix DONTBUILD 2019-02-07 14:55:47 +01:00
Jorg K 21b6745c2b Bug 1525516 - skip all tests in common/test/xpcshell. rs=bustage-fix 2019-02-06 12:16:18 +01:00
Arrigo Marchiori f41e1f2493 Bug 1521454 - Follow-up: Avoid exception due to bad locale code when appending [-u]-ca-gregory-nu-latn (more call sites). r=jorgk 2019-02-04 01:06:00 +01:00
Richard Marti f8c564afeb Bug 1524457 - Fix the CSS of xbl-menulists and the msgIdentity when it is editable. r=jorgk 2019-02-01 22:23:35 +01:00
Geoff Lankow aeb94dd12d Bug 1522778 - Remove prefwindow and preftab bindings. r=aceman 2019-01-29 10:54:10 +13:00
Geoff Lankow 21d092bc36 Bug 1523384 - Replace editable menulist with xbl-menulist in calendar datepickers; rs=bustage-fix
This stops the custom element from interfering with the menulist, but breaks the popup. This change should be undone ASAP.
2019-02-01 17:03:58 +13:00
Geoff Lankow d78c72d468 Bug 1523384 - Replace editable menulist with xbl-menulist in account creation wizard; rs=bustage-fix
This stops the custom element from interfering with the menulist, but breaks the popup. This change should be undone ASAP.
2019-02-01 17:00:39 +13:00
aceman a0a481012c Bug 1520643 - fix imports in viewSource.js. r=jorgk 2019-01-31 15:01:00 +01:00
Richard Marti 879d1a43fc Bug 1523384 - Restore the menulist binding after its removal in bug 1518932. r=mkmelin 2019-01-31 16:17:52 +01:00
Jorg K faf3ae81c7 Port bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks). rs=bustage-fix 2019-01-31 15:29:21 +01:00
Geoff Lankow b02e068a9e Bug 1523535 - Get extension location from resource URI, since it is no longer given. r=mkmelin DONTBUILD 2019-01-31 20:39:05 +13:00
Jorg K 800ba7394a Bug 1520643 - Revert changes to JSM files from rev ca94d6b0a917. a=backout 2019-01-30 09:56:17 +01:00
Geoff Lankow 0a77384a34 Bug 1520643 - Port bug 1514594: Change all call sites of ChromeUtils.import() to the "new" scheme; rs=bustage-fix DONTBUILD 2019-01-30 20:53:39 +13:00
aceman eb4fcd45e5 Bug 1520643 - convert some more 'const' imports to 'var'. r=darktrojan 2019-01-30 20:53:36 +13:00
Magnus Melin 06179f8d01 Bug 1520643 - Port bug 1514594: correct previous changesets by changing 'const' to 'var', various misc. fixes. rs=bustage-fix,jorgk 2019-01-29 22:21:26 +01:00
Geoff Lankow e0e6e32a52 Bug 1520643 - Port bug 1514594: Change import call sites manually which were missed. rs=bustage-fix,jorgk 2019-01-29 14:57:42 +01:00
Geoff Lankow 2efdc7aa13 Bug 1520643 - Port bug 1514594: Change import call sites manually to address linting errors. rs=bustage-fix,jorgk 2019-01-29 12:49:32 +01:00
Geoff Lankow ed26cc6a11 Bug 1520643 - Port bug 1514594: Change import call sites using kmag's script. rs=bustage-fix,jorgk 2019-01-29 11:25:29 +01:00
Geoff Lankow 5aa29b6220 Bug 1523535 - Port bug 1512436: Adapt to changed parameters of loadScope(). rs=jorgk 2019-01-29 21:14:30 +13:00
Geoff Lankow 2dfa4fbed9 Bug 1522608 - remove uses of eval() in IMAP tests and Overlay.jsm. r=aceman 2019-01-26 05:37:00 +01:00
Jorg K d694beea61 Bug 1521454 - Avoid exception due to bad locale code when appending [-u]-ca-gregory-nu-latn. r=zibi 2019-01-25 22:54:32 +01:00
Jorg K 531aa80287 Bug 1521309 - Refresh richlistbox.xml from last pre-CE version of 2019-01-04. r=Paenglab 2019-01-19 20:50:41 +01:00
Richard Marti d20ec64b14 Bug 1521277 - Port bug 1241885: Implement support for -moz-window-dragging in GTK and remove toolkit toolbar-drag binding. r=jorgk DONTBUILD 2019-01-19 09:52:30 +01:00
Jorg K ec5ec6052f Bug 1521277 - Port bug 1241885: Remove reference to WindowDraggingUtils.jsm, take 2. rs=bustage-fix DONTBUILD 2019-01-19 09:43:30 +01:00
Jorg K 3c36e3406a Bug 1518552 - Follow-up: Fix linting errors. rs=bustage-fix DONTBUILD 2019-01-08 21:02:38 +01:00
Jorg K 680873dcda Bug 1518552 - Follow-up: Remove unneeded test_sanitizer.js. rs=bustage-fix DONTBUILD 2019-01-08 19:25:40 +01:00
Jorg K 66107db79d Bug 1518552 - Fork saxparser to common/ after its removal in bug 1447707. rs=bustage-fix 2019-01-08 19:08:28 +01:00
Arshad Khan 4175ecf0eb Bug 1517040 - Port bug 1472558: fork richlistbox.xml until we have our code converted. rs=bustage-fix,jorgk 2019-01-04 21:32:40 +05:30
Geoff Lankow 47c5958fef Bug 1517088 - Rename extensionSupport.jsm to ExtensionSupport.jsm; r=jorgk DONTBUILD
--HG--
rename : common/src/extensionSupport.jsm => common/src/ExtensionSupport.jsm
2019-01-02 22:40:15 +13:00
Geoff Lankow 0e5856c8ee Bug 1514993 - Resolve overlays' script/stylesheet references relative to the overlay; r=Fallen 2018-12-31 12:17:45 +13:00
Geoff Lankow 1c6d030b26 Bug 1512581 - Match original behaviour of insertbefore/insertafter attributes; r=Fallen DONTBUILD 2018-12-21 22:27:05 +13:00
Geoff Lankow 6bf07a5bdf Bug 1515174 - Remove unnecessary box wrapping pref pane contents. r=jorgk 2018-12-19 10:39:48 +13:00
Geoff Lankow 548196f1dc Bug 1513449 - Port bug 1415483: changes to reject-importGlobalProperties rule. r=jorgk DONTBUILD
--HG--
extra : rebase_source : a950d6944b70b4d35d00c0cdf37f2be151e1ceac
extra : amend_source : d17b20436d5a249520ef68b319e5647fdb024a6c
2018-12-12 19:58:45 +13:00
Geoff Lankow d077228c6b Bug 1510097 - Move bootstrapped extension and install.rdf handling to comm-central. r=mkmelin 2018-11-30 11:16:51 +13:00
Geoff Lankow 2529e6be03 Bug 1509779 - Codify unwritten rules in ESLint configuration; r=aceman 2018-11-29 12:04:40 +13:00
Geoff Lankow 514a5dcf91 Bug 1509779 - Stop ignoring mozilla/use-cc-etc linting rule, and other linting mistakes; r=aceman 2018-11-29 12:04:38 +13:00
Magnus Melin 20e30ac0de Bug 1510178 - remove broadcasters from common/. r=darktrojan 2018-11-28 12:40:22 +02:00
Arshad Khan ext:(%20and%20Richard%20Marti%20%3Crichard.marti%40gmail.com%3E) 90aa934295 Bug 1507245 - Rename xbl notification element to xbl-notification. r=mkmelin 2018-11-15 06:18:30 +05:30
Magnus Melin 2aebf689ec Bug 1504560 - move the the comm-central customElements.js to mail/. r=jorgk
--HG--
rename : common/content/customElements.js => mail/base/content/customElements.js
extra : amend_source : ca9261c3308e24e2ff3eff54b612e86e271b7ecf
2018-11-13 11:50:41 +02:00
Geoff Lankow 870a44a1f2 Bug 1500620 - Make menulist editable/non-editable with attributes instead of properties. r=aceman 2018-11-14 00:16:33 +13:00
Magnus Melin 5ed81256e6 Bug 1505288 - adapt comm-central to notification box for changes in bug 1471403 (Migrate <notificationbox> to a JS class). r=jorgk
- calendarCreation.xul was still using the toolkit notificationbox binding
- notification changed a bit, so easiest to copy that binding too and de-XBL it at the same time as comm-central notificationbox

--HG--
extra : rebase_source : e5a76ae38600ebe710e5a676953cf47bd1602140
2018-11-11 15:25:05 +02:00
Jorg K 43c39962fa Bug 1505435 - Follow-up: Import Services.jsm. rs=bustage-fix DONTBUILD 2018-11-09 21:29:48 +01:00
Jonathan Kamens 7af68f4c5a Bug 1505435 - Switch date-picker from Intl.DateTimeFormat to mozIMozIntl. r=jorgk
--HG--
extra : rebase_source : 5597fb53be62ba04b938c27b4f6f781751716088
2018-11-08 18:08:00 +01:00
Magnus Melin fb66cb5f5b Bug 1497544 - de-XBL folderSummary-popup, folderSummary, folderSummary-message. r=Paenglab 2018-11-04 22:00:45 +02:00
Arshad Khan 55dbb85cb9 Bug 1491660 - Remove statusbar and statusbarpanel bindings. r=mkmelin,MakeMyDay 2018-09-16 16:50:00 +05:30
Richard Marti f14861943f Bug 1496752 - Part 2: Make it possible to enable the extra drag space in customize window. r=jorgk 2018-10-11 19:29:10 +02:00
Jorg K 59550099c4 Bug 1501718 - Port bug 1501404, part 7: Move XPCOM registration of nsSyncStreamListener to C-C common/. rs=bustage-fix 2018-10-24 21:11:27 +02:00
Geoff Lankow c4e69f281b Bug 1498967 - Display restart message in Add-Ons Manager when changing legacy extensions. r=mkmelin 2018-10-24 16:10:18 +13:00
Jorg K a0bf018511 Backed out 2 changesets, 09209cd02343:8f2aaabd3130 (bug 1498967) for MozMill failures. a=backout
Backed out changeset 8f2aaabd3130 (bug 1498967)
Backed out changeset 09209cd02343 (bug 1498967)
2018-10-23 15:11:17 +02:00
Geoff Lankow 7656565a19 Bug 1498967 - Display restart message in Add-Ons Manager when changing legacy extensions. r=mkmelin 2018-10-23 21:07:33 +13:00
aceman d1abc91b2f Bug 1499240 - clean up textbox.xml according to toolkit version of the file. r=Paenglab
https://hg.mozilla.org/mozilla-central/rev/5d283ff675b4
https://hg.mozilla.org/mozilla-central/rev/ef26c0022369
2018-10-16 22:44:00 +02:00
Geoff Lankow 2171c6ff36 Bug 1498863 - Fix broken remembering of selected preference pane after bug 1481949. r=jorgk DONTBUILD 2018-10-15 14:47:59 +13:00
Geoff Lankow 73ee60d5b5 Bug 1497705 - Remove ESLint rule overrides in common/ and broken code they were hiding. r=jorgk 2018-10-10 18:44:21 +13:00
Arshad Khan 6502dcb1ba Bug 1491699 - Convert mail-newsgroup and mail-newsgroups-headerfield bindings to custom element. r=mkmelin 2018-09-17 00:35:25 +05:30
Arshad Khan db40333316 Bug 1489795 - Migrate statuspanel binding to custom element. r=mkmelin 2018-09-09 00:34:20 +05:30
Jorg K 3699b7041f Backed out changeset f6d8ba2898f9 (bug 1491698) for test failures. a=backout 2018-10-09 20:39:50 +02:00
Arshad Khan a361f6cb4c Bug 1491698 - Convert mail-emailaddress binding to custom element. r=mkmelin 2018-09-17 00:11:11 +05:30
Jorg K 70bd49d0af Backed out changeset b4b14a46f3f8 (bug 1489795) for additional test failures in testBasicFunctionality.js. a=backout 2018-10-05 14:35:48 +02:00