Geoff Lankow
6d70c88163
Bug 1705109 - Remove WeTransfer FileLink provider. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D119842
--HG--
extra : rebase_source : 3fbeac5af2e1469df7f289ec05c515a72a2c6b31
2021-07-14 14:19:27 +12:00
Henry Wilkes
17ada85449
Bug 1717417 - Remove about:newinstall pages and dialogs. r=mkmelin
...
Differential Revision: https://phabricator.services.mozilla.com/D118335
--HG--
extra : amend_source : 136ce9e39b62d5ea6744fe6fa6dc779ad915a71b
2021-06-24 13:38:46 +03:00
Rob Lemley
e648cae4cc
Bug 1717088 - Add MAPI headers to source tree. r=mkmelin
...
The Outlook 2010 Headers are no longer available for download from Microsoft.
The same files are part of the MAPIStubLibrary under MIT license on Github.
Differential Revision: https://phabricator.services.mozilla.com/D118278
2021-06-17 18:42:13 +00:00
Geoff Lankow
b83d4b1340
Bug 1710548 - Move everything out of calendar/lightning. r=mkmelin
...
This removes the calendar/lightning directory from the source and lightning.jar from the packaging. The chrome://lightning/content namespace also disappears here.
Some of this will move again in a few revisions' time, but it is too time-consuming to backport the second moves.
Differential Revision: https://phabricator.services.mozilla.com/D114942
--HG--
rename : calendar/lightning/content/lightning.js => calendar/base/calendar.js
rename : calendar/lightning/content/calendar-appmenu-panelviews.inc.xhtml => calendar/base/content/calendar-appmenu-panelviews.inc.xhtml
rename : calendar/lightning/content/calendar-buttons-mail-toolbar.inc.xhtml => calendar/base/content/calendar-buttons-mail-toolbar.inc.xhtml
rename : calendar/lightning/content/calendar-commands.inc.xhtml => calendar/base/content/calendar-commands.inc.xhtml
rename : calendar/lightning/content/calendar-context-menus-and-tooltips.inc.xhtml => calendar/base/content/calendar-context-menus-and-tooltips.inc.xhtml
rename : calendar/lightning/content/calendar-keys.inc.xhtml => calendar/base/content/calendar-keys.inc.xhtml
rename : calendar/lightning/content/calendar-menu-events-tasks.inc.xhtml => calendar/base/content/calendar-menu-events-tasks.inc.xhtml
rename : calendar/lightning/content/calendar-status-bar.inc.xhtml => calendar/base/content/calendar-status-bar.inc.xhtml
rename : calendar/lightning/content/calendar-tab-panels.inc.xhtml => calendar/base/content/calendar-tab-panels.inc.xhtml
rename : calendar/lightning/content/calendar-today-pane.inc.xhtml => calendar/base/content/calendar-today-pane.inc.xhtml
rename : calendar/lightning/content/calendar-view-menu.inc.xhtml => calendar/base/content/calendar-view-menu.inc.xhtml
rename : calendar/lightning/content/lightning-calendar-properties.js => calendar/base/content/dialogs/lightning-calendar-properties.js
rename : calendar/lightning/content/imip-bar-overlay.inc.xhtml => calendar/base/content/imip-bar-overlay.inc.xhtml
rename : calendar/lightning/content/imip-bar.js => calendar/base/content/imip-bar.js
rename : calendar/lightning/content/lightning-invitation.xhtml => calendar/base/content/lightning-invitation.xhtml
rename : calendar/lightning/content/lightning-item-iframe.js => calendar/base/content/lightning-item-iframe.js
rename : calendar/lightning/content/lightning-item-iframe.xhtml => calendar/base/content/lightning-item-iframe.xhtml
rename : calendar/lightning/content/lightning-item-panel.inc.xhtml => calendar/base/content/lightning-item-panel.inc.xhtml
rename : calendar/lightning/content/lightning-item-panel.js => calendar/base/content/lightning-item-panel.js
rename : calendar/lightning/content/lightning-item-toolbar.inc.xhtml => calendar/base/content/lightning-item-toolbar.inc.xhtml
rename : calendar/lightning/content/lightning-utils.js => calendar/base/content/lightning-utils.js
rename : calendar/lightning/content/messenger-overlay-preferences.inc.xhtml => calendar/base/content/preferences/calendar-preferences.inc.xhtml
rename : calendar/lightning/content/messenger-overlay-preferences.js => calendar/base/content/preferences/calendar-preferences.js
rename : calendar/lightning/modules/ltnInvitationUtils.jsm => calendar/base/modules/ltnInvitationUtils.jsm
rename : calendar/lightning/components/CalMimeConverter.jsm => calendar/base/src/CalMimeConverter.jsm
rename : calendar/lightning/components/CalItipProtocolHandler.jsm => calendar/itip/CalItipProtocolHandler.jsm
extra : rebase_source : 482ed4926fcf7998979bd835a20c679c379a24b9
extra : histedit_source : c0f31f7cfeb62810922807654558ab385da03040
2021-05-11 14:45:05 +12:00
Rob Lemley
e4dee3a7ab
Bug 1692289 - Follow-up: Reference correct support-files in fluent-lint configuration. r=justdave
...
Fix the paths in support-files to reflect what changes will trigger a check
of all ftl files. Usually, only files changed in a push will be checked.
Differential Revision: https://phabricator.services.mozilla.com/D114381
--HG--
extra : moz-landing-system : lando
2021-05-05 22:08:47 +00:00
Rob Lemley
7cc9f73444
Bug 1692289 - [fluent-lint] Fixes for OpenPGP. r=aleca
...
Depends on D114294
Differential Revision: https://phabricator.services.mozilla.com/D114295
--HG--
extra : moz-landing-system : lando
2021-05-05 22:08:46 +00:00
Rob Lemley
c4d4998fc8
Bug 1692289 - Port bug 1416149: Add support for fluent-lint exclusions to commlint wrapper. r=justdave
...
commlint:lint_wrapper is a hack to get mozlint to apply exclude lists that are
appropriate for Thunderbird to the various lint checks run in CI.
The fluent-lint check allows for more targetted exclusions than mozlint itself
supports, reading exlcusions.yml from tools/lint/fluent-lint.
In order to find the Thunderbird version of that file, lintargs["root"] needs
to be monkeypatched right before calling fluent-lint's lint function.
To test, first run "mach lint -l fluent-lint comm/**/*.ftl". That will use the
Firefox configurations in tools/lint. Then run
"mach lint -l fluent-lint --config-path=comm/tools/lint comm/**/*.ftl" which
uses the configurations in comm/tools/lint. There should be a drop in the number
of reported problems.
exclusions.yml as included in this patch is incomplete, but is sufficient to
test that it works and for identifying actual problems in the .ftl files so they
can be addressed.
Differential Revision: https://phabricator.services.mozilla.com/D113189
--HG--
extra : moz-landing-system : lando
2021-05-03 17:00:23 +00:00
Rob Lemley
6001e7384c
Bug 1700821 - Port bug 1700423: Remove py2 and py3 source linters. r=justdave
...
Port of D109647.
Differential Revision: https://phabricator.services.mozilla.com/D109767
--HG--
extra : amend_source : 01e18bf3a9dccf2f8dbda32c4862bbe3fced2e44
2021-03-26 12:11:52 +02:00
Magnus Melin
72622f2a79
Bug 1684772 - remove editor/ui from linting. r=rjl
2021-01-07 22:00:59 +02:00
Rob Lemley
8a81725ff0
Bug 1678766 - Enable license linting SVG files. rs=linting
...
--HG--
extra : rebase_source : 61a085aacf31088949b20bf04a3156775428808c
extra : histedit_source : 2553b15070c2e514e953111277f056d7f18c1708
2020-12-05 00:02:39 -05:00
Rob Lemley
3aec4a4823
Bug 1678441 - Update license lint configs and run on all Thunderbird CI projects. r=mkmelin,justdave
...
Brings the taskgraph config in line with the linter config, add appropriate
exclusions, and run the check on all projects.
Differential Revision: https://phabricator.services.mozilla.com/D97678
2020-11-20 17:53:34 +00:00
Rob Lemley
ca4c379cf7
Bug 1677508 - Follow-up: Exclude the test directory from l10n linter's configuration. rs=bustage-fix
...
--HG--
extra : rebase_source : e98df929e267e974d50e8d803786b660e505b3a3
extra : amend_source : b3a6d5c71ccdb80cc170ef77f4b464b2d6c57da8
2020-11-19 14:59:28 -05:00
Rob Lemley
94b17a5d1c
Bug 1672798 - Run black formatting on all python files. r=mkmelin
...
Bringing some sanity to our Python scripts.
Differential Revision: https://phabricator.services.mozilla.com/D95400
--HG--
extra : rebase_source : 932e2174a7322a3e2dcde9bf002093e3f895a73f
extra : histedit_source : 6bb0f8818d40de39811c621d6bf12026af999bf6
2020-10-30 13:41:24 -04:00
Rob Lemley
059f32e855
Bug 1672798 - Add black formatting mozlint check to run in CI. r=justdave
...
Differential Revision: https://phabricator.services.mozilla.com/D95399
--HG--
extra : rebase_source : 4ccacecc75dbb0d1419cb21af1d73a1821a88c87
extra : histedit_source : 5f7a5e0d44eb4f944a6e8be374d1bbc393677aa8
2020-10-30 13:33:36 -04:00
Joshua Cranmer
8cba0fa9e6
Bug 875059, part 4: Flatten mailnews/extensions/* directories. r=mkmelin
...
Depends on D85672
Differential Revision: https://phabricator.services.mozilla.com/D85673
--HG--
rename : mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp => mailnews/extensions/bayesian-spam-filter/nsBayesianFilter.cpp
rename : mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.h => mailnews/extensions/bayesian-spam-filter/nsBayesianFilter.h
rename : mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilterCID.h => mailnews/extensions/bayesian-spam-filter/nsBayesianFilterCID.h
rename : mailnews/extensions/bayesian-spam-filter/src/nsIncompleteGamma.h => mailnews/extensions/bayesian-spam-filter/nsIncompleteGamma.h
rename : mailnews/extensions/dsn/src/DSNService.jsm => mailnews/extensions/dsn/DSNService.jsm
rename : mailnews/extensions/dsn/content/am-dsn.js => mailnews/extensions/dsn/am-dsn.js
rename : mailnews/extensions/dsn/content/am-dsn.xhtml => mailnews/extensions/dsn/am-dsn.xhtml
rename : mailnews/extensions/dsn/src/components.conf => mailnews/extensions/dsn/components.conf
rename : mailnews/extensions/dsn/content/dsn.js => mailnews/extensions/dsn/dsn.js
rename : mailnews/extensions/fts3/src/Normalize.c => mailnews/extensions/fts3/Normalize.c
rename : mailnews/extensions/fts3/src/README.mozilla => mailnews/extensions/fts3/README.mozilla
rename : mailnews/extensions/fts3/src/fts3_porter.c => mailnews/extensions/fts3/fts3_porter.c
rename : mailnews/extensions/fts3/src/fts3_tokenizer.h => mailnews/extensions/fts3/fts3_tokenizer.h
rename : mailnews/extensions/fts3/src/moz.build => mailnews/extensions/fts3/moz.build
rename : mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp => mailnews/extensions/fts3/nsFts3Tokenizer.cpp
rename : mailnews/extensions/fts3/src/nsFts3Tokenizer.h => mailnews/extensions/fts3/nsFts3Tokenizer.h
rename : mailnews/extensions/fts3/src/nsFts3TokenizerCID.h => mailnews/extensions/fts3/nsFts3TokenizerCID.h
rename : mailnews/extensions/fts3/src/nsGlodaRankerFunction.cpp => mailnews/extensions/fts3/nsGlodaRankerFunction.cpp
rename : mailnews/extensions/fts3/src/nsGlodaRankerFunction.h => mailnews/extensions/fts3/nsGlodaRankerFunction.h
rename : mailnews/extensions/fts3/public/nsIFts3Tokenizer.idl => mailnews/extensions/fts3/nsIFts3Tokenizer.idl
rename : mailnews/extensions/mailviews/content/mailViews.dat => mailnews/extensions/mailviews/mailViews.dat
rename : mailnews/extensions/mailviews/src/moz.build => mailnews/extensions/mailviews/moz.build
rename : mailnews/extensions/mailviews/public/nsIMsgMailView.idl => mailnews/extensions/mailviews/nsIMsgMailView.idl
rename : mailnews/extensions/mailviews/public/nsIMsgMailViewList.idl => mailnews/extensions/mailviews/nsIMsgMailViewList.idl
rename : mailnews/extensions/mailviews/src/nsMsgMailViewList.cpp => mailnews/extensions/mailviews/nsMsgMailViewList.cpp
rename : mailnews/extensions/mailviews/src/nsMsgMailViewList.h => mailnews/extensions/mailviews/nsMsgMailViewList.h
rename : mailnews/extensions/mailviews/src/nsMsgMailViewsCID.h => mailnews/extensions/mailviews/nsMsgMailViewsCID.h
rename : mailnews/extensions/mdn/src/MDNService.jsm => mailnews/extensions/mdn/MDNService.jsm
rename : mailnews/extensions/mdn/content/am-mdn.js => mailnews/extensions/mdn/am-mdn.js
rename : mailnews/extensions/mdn/content/am-mdn.xhtml => mailnews/extensions/mdn/am-mdn.xhtml
rename : mailnews/extensions/mdn/src/components.conf => mailnews/extensions/mdn/components.conf
rename : mailnews/extensions/mdn/content/mdn.js => mailnews/extensions/mdn/mdn.js
rename : mailnews/extensions/mdn/src/nsMsgMdnCID.h => mailnews/extensions/mdn/nsMsgMdnCID.h
rename : mailnews/extensions/mdn/src/nsMsgMdnGenerator.cpp => mailnews/extensions/mdn/nsMsgMdnGenerator.cpp
rename : mailnews/extensions/mdn/src/nsMsgMdnGenerator.h => mailnews/extensions/mdn/nsMsgMdnGenerator.h
rename : mailnews/extensions/newsblog/content/Feed.js => mailnews/extensions/newsblog/Feed.js
rename : mailnews/extensions/newsblog/content/FeedItem.js => mailnews/extensions/newsblog/FeedItem.js
rename : mailnews/extensions/newsblog/content/FeedUtils.jsm => mailnews/extensions/newsblog/FeedUtils.jsm
rename : mailnews/extensions/newsblog/content/NewsBlog.jsm => mailnews/extensions/newsblog/NewsBlog.jsm
rename : mailnews/extensions/newsblog/content/am-newsblog.js => mailnews/extensions/newsblog/am-newsblog.js
rename : mailnews/extensions/newsblog/content/am-newsblog.xhtml => mailnews/extensions/newsblog/am-newsblog.xhtml
rename : mailnews/extensions/newsblog/content/feed-parser.js => mailnews/extensions/newsblog/feed-parser.js
rename : mailnews/extensions/newsblog/content/feed-subscriptions.js => mailnews/extensions/newsblog/feed-subscriptions.js
rename : mailnews/extensions/newsblog/content/feed-subscriptions.xhtml => mailnews/extensions/newsblog/feed-subscriptions.xhtml
rename : mailnews/extensions/newsblog/content/feedAccountWizard.js => mailnews/extensions/newsblog/feedAccountWizard.js
rename : mailnews/extensions/newsblog/content/feedAccountWizard.xhtml => mailnews/extensions/newsblog/feedAccountWizard.xhtml
rename : mailnews/extensions/newsblog/content/newsblogOverlay.js => mailnews/extensions/newsblog/newsblogOverlay.js
rename : mailnews/extensions/smime/content/certFetchingStatus.js => mailnews/extensions/smime/certFetchingStatus.js
rename : mailnews/extensions/smime/content/certFetchingStatus.xhtml => mailnews/extensions/smime/certFetchingStatus.xhtml
rename : mailnews/extensions/smime/content/certpicker.js => mailnews/extensions/smime/certpicker.js
rename : mailnews/extensions/smime/content/certpicker.xhtml => mailnews/extensions/smime/certpicker.xhtml
rename : mailnews/extensions/smime/content/msgCompSecurityInfo.js => mailnews/extensions/smime/msgCompSecurityInfo.js
rename : mailnews/extensions/smime/content/msgCompSecurityInfo.xhtml => mailnews/extensions/smime/msgCompSecurityInfo.xhtml
rename : mailnews/extensions/smime/content/msgReadSMIMEOverlay.js => mailnews/extensions/smime/msgReadSMIMEOverlay.js
rename : mailnews/extensions/smime/content/msgReadSecurityInfo.js => mailnews/extensions/smime/msgReadSecurityInfo.js
rename : mailnews/extensions/smime/content/msgReadSecurityInfo.xhtml => mailnews/extensions/smime/msgReadSecurityInfo.xhtml
rename : mailnews/extensions/smime/src/nsCMS.cpp => mailnews/extensions/smime/nsCMS.cpp
rename : mailnews/extensions/smime/src/nsCMS.h => mailnews/extensions/smime/nsCMS.h
rename : mailnews/extensions/smime/src/nsCMSSecureMessage.cpp => mailnews/extensions/smime/nsCMSSecureMessage.cpp
rename : mailnews/extensions/smime/src/nsCMSSecureMessage.h => mailnews/extensions/smime/nsCMSSecureMessage.h
rename : mailnews/extensions/smime/src/nsCertPicker.cpp => mailnews/extensions/smime/nsCertPicker.cpp
rename : mailnews/extensions/smime/src/nsCertPicker.h => mailnews/extensions/smime/nsCertPicker.h
rename : mailnews/extensions/smime/src/nsEncryptedSMIMEURIsService.cpp => mailnews/extensions/smime/nsEncryptedSMIMEURIsService.cpp
rename : mailnews/extensions/smime/src/nsEncryptedSMIMEURIsService.h => mailnews/extensions/smime/nsEncryptedSMIMEURIsService.h
rename : mailnews/extensions/smime/public/nsICMSDecoder.idl => mailnews/extensions/smime/nsICMSDecoder.idl
rename : mailnews/extensions/smime/public/nsICMSEncoder.idl => mailnews/extensions/smime/nsICMSEncoder.idl
rename : mailnews/extensions/smime/public/nsICMSMessage.idl => mailnews/extensions/smime/nsICMSMessage.idl
rename : mailnews/extensions/smime/public/nsICMSMessageErrors.idl => mailnews/extensions/smime/nsICMSMessageErrors.idl
rename : mailnews/extensions/smime/public/nsICMSSecureMessage.idl => mailnews/extensions/smime/nsICMSSecureMessage.idl
rename : mailnews/extensions/smime/public/nsICertPickDialogs.idl => mailnews/extensions/smime/nsICertPickDialogs.idl
rename : mailnews/extensions/smime/public/nsIEncryptedSMIMEURIsSrvc.idl => mailnews/extensions/smime/nsIEncryptedSMIMEURIsSrvc.idl
rename : mailnews/extensions/smime/public/nsIMsgSMIMEHeaderSink.idl => mailnews/extensions/smime/nsIMsgSMIMEHeaderSink.idl
rename : mailnews/extensions/smime/public/nsISMimeJSHelper.idl => mailnews/extensions/smime/nsISMimeJSHelper.idl
rename : mailnews/extensions/smime/public/nsIUserCertPicker.idl => mailnews/extensions/smime/nsIUserCertPicker.idl
rename : mailnews/extensions/smime/src/nsMsgComposeSecure.cpp => mailnews/extensions/smime/nsMsgComposeSecure.cpp
rename : mailnews/extensions/smime/src/nsMsgComposeSecure.h => mailnews/extensions/smime/nsMsgComposeSecure.h
rename : mailnews/extensions/smime/src/nsMsgSMIMECID.h => mailnews/extensions/smime/nsMsgSMIMECID.h
rename : mailnews/extensions/smime/src/nsSMimeJSHelper.cpp => mailnews/extensions/smime/nsSMimeJSHelper.cpp
rename : mailnews/extensions/smime/src/nsSMimeJSHelper.h => mailnews/extensions/smime/nsSMimeJSHelper.h
extra : moz-landing-system : lando
2020-08-04 20:14:18 +00:00
Rob Lemley
6703f749bd
Bug 1651832 - Add fluent mozlint check. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D83009
--HG--
extra : moz-landing-system : lando
2020-07-13 00:31:39 +00:00
Rob Lemley
10ff0b0974
Bug 1651886 - Port bug 1651731: Only allow #! magic on allowed files. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D83030
--HG--
extra : rebase_source : 529d96c8384001a2e34a311b9c42263aeb225314
extra : histedit_source : f052878769284325d5a5d7c03246f0f370e9c0d3
2020-07-09 23:01:21 -04:00
Rob Lemley
57f6c2f30e
Bug 1651886 - Port bug 1651731: Additional file types that should not be executable. r=darktrojan
...
Differential Revision: https://phabricator.services.mozilla.com/D83029
--HG--
extra : rebase_source : e9c185e73364395f0065df676718d05849c8773c
extra : histedit_source : 854766a992db2f9b22104734fe6b46ff4ffc34b1
2020-07-09 22:31:15 -04:00
Rob Lemley
ba96d00476
Bug 1621785 - Follow-up: Fix lint tests. rs=butsage-fix
...
The third-party code should not be checked, added fixes for remaining failures.
2020-04-15 14:10:17 -04:00
Rob Lemley
f5ad271e99
Bug 1624429 - Add .idl and .py files to file-perm checks. r=darktrojan
...
Adding IDL file and Python files to the file-perm check. Firefox does not check
these files, but I see no reason why they can't be added.
For Python files that should be executable, as long as the first line starts
with the magic '#!' they will not cause a fail if they have the executable
bit set.
--HG--
extra : histedit_source : f1cc62917c4279b021e94e0a0dc1907c056fc3cd
2020-04-13 21:43:45 -04:00
Rob Lemley
2ade5cc37e
Bug 1623907 - Move comm-central oriented global exclude code. r=darktrojan
...
The exclude file is read in mozilla-central code, this moves reading of
comm-central excludes into code in comm-central. The code in mozilla-central
that reads GlobalExclude.txt will be removed.
--HG--
rename : tools/lint/GlobalExclude.txt => tools/lint/ThirdPartyPaths.txt
extra : rebase_source : cb3fbecd93074278a7d62861b637b6ce1ac6eccc
extra : histedit_source : e011311a2de9ffdf276e0e56babb33b846173726%2C81fc82b199cb89453dd3800fccb29998be67dce7
2020-04-06 20:28:46 -04:00
Rob Lemley
5f04320709
Bug 1623907 - Do not check suite code with mozlint when running on Taskcluster. r=darktrojan
...
The Seamonkey project does not use Taskcluster for builds, but they are working on using mozlint.
In order to accommodate both projects and minimize duplicate code, when MOZLINT_NO_SUITE is
set, comm/suite and comm/editor will get added to the exclude list.
This makes it easy for Thunderbird developers to do the same when running "mach lint" locally.
--HG--
extra : rebase_source : 757a06eadbb927f3c5950a5dfde8c1165c728f73
2020-03-25 16:36:56 -04:00
Rob Lemley
04f697238a
Bug 1623907 - Additional mozlint source tests for Thunderbird. r=darktrojan
...
Config files for running mozlint checks against comm-central code.
--HG--
extra : rebase_source : 1219db72ed8d98c50bae462c3beb69a780032652
2020-03-14 09:34:15 -04:00