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

30 Коммитов

Автор SHA1 Сообщение Дата
Dão Gottwald 353370b158 Bug 1908920 - Ensure that loading.svg respects prefers-reduced-motion. r=nordzilla,desktop-theme-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D217104
2024-08-27 09:20:15 +00:00
Greg Stoll 6b9e711a99 Bug 1871135 - Add content analysis support to clipboard operations r=edgar,nika,masayuki,devtools-reviewers
When content analysis is on, pastes will be checked by the CA
agent while tab input is blocked. The synchronous nsIClipboard.getData()
method must block until the analysis result is received, so this
requires doing a SpinEventLoopUntil.

Differential Revision: https://phabricator.services.mozilla.com/D196997
2024-02-13 11:26:48 +00:00
Gijs Kruitbosch 96fbfbdfb0 Bug 1780071 - autofix browser/ violations of no-comparison-or-assignment-inside-ok, r=Standard8,webcompat-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,sessionstore-reviewers,places-reviewers,sgalich,dao,twisniewski,mconley,sclements
Differential Revision: https://phabricator.services.mozilla.com/D198974
2024-01-24 17:03:13 +00:00
Mark Banner f846e0c0c6 Bug 1861865 - Fix ESLint valid-jsdoc issues in textrecognition.mjs. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D192160
2023-11-01 17:20:40 +00:00
Sylvestre Ledru 4c29c24344 Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Tom Marble d596ebea8e Bug 1853243 - convert .ini manifests to .toml: batch 5 browser/**/browser.ini r=jmaher,mossop,webcompat-reviewers,twisniewski,search-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D188427
2023-09-21 22:47:07 +00:00
Mark Banner 130a655906 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner 8219a5c503 Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Mark Banner 80295c5a70 Bug 1812098 - Fix ESLint raised issues with no-shadow of builtinGlobals in browser .mjs files. r=Gijs,credential-management-reviewers,sgalich,fxview-reviewers,sclements
Differential Revision: https://phabricator.services.mozilla.com/D169463
2023-03-14 09:13:48 +00:00
Gijs Kruitbosch fbd24413c4 Bug 1817443 - remove openUILinkIn entirely and rename fromChrome, r=mossop,extension-reviewers,rpl
'fromChrome' really meant "force tabs to open in the foreground", so let's
rename it accordingly.

This removes the attempt to document arguments for openUILinkIn.
I'll add documentation back on the end of this stack, for openLinkIn, when
various bits are reorganized anyway.

Differential Revision: https://phabricator.services.mozilla.com/D170384
2023-02-23 17:02:43 +00:00
Cristina Horotan 45de4f594f Backed out 5 changesets (bug 1817443) for newtab failure CLOSED TREE
Backed out changeset ba33c510d008 (bug 1817443)
Backed out changeset 07e3bccaeb6d (bug 1817443)
Backed out changeset 2b39dee42948 (bug 1817443)
Backed out changeset a74a52e93af4 (bug 1817443)
Backed out changeset 827855beb033 (bug 1817443)
2023-02-23 17:30:23 +02:00
Gijs Kruitbosch 4458f50681 Bug 1817443 - remove openUILinkIn entirely and rename fromChrome, r=mossop,extension-reviewers,rpl
'fromChrome' really meant "force tabs to open in the foreground", so let's
rename it accordingly.

This removes the attempt to document arguments for openUILinkIn.
I'll add documentation back on the end of this stack, for openLinkIn, when
various bits are reorganized anyway.

Depends on D170210

Differential Revision: https://phabricator.services.mozilla.com/D170384
2023-02-23 14:49:28 +00:00
Neil Deakin 9c2e7458ba Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato
Most usage is a straight replacement but gtk needs extra changes as it transfers plain text in UTF8 natively and needs to be converted into UTF16, and Windows uses single-byte characters for RTF and CF_HTML formats so we preserve this.

Differential Revision: https://phabricator.services.mozilla.com/D158587
2023-02-01 23:30:55 +00:00
Greg Tatum eaa5f22e5d Bug 1787495 - Make recognized text consistently use double line endings per cluster; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D155849
2022-09-09 18:57:12 +00:00
Greg Tatum 2dd5594ad1 Bug 1787504 - Add a scrollbar gap for text recognition modal; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D155846
2022-09-09 15:16:02 +00:00
Greg Tatum 6809cfbb58 Bug 1783261 - Measure the result text length in the text recognition modal; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154895
2022-08-29 13:30:39 +00:00
Greg Tatum 0b264edb08 Bug 1783261 - Add interaction time telemetry to the text recognition modal? r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154894
2022-08-29 13:30:38 +00:00
Greg Tatum ea43fc0c85 Bug 1783261 - Add telemetry text recognition API timing; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154893
2022-08-29 13:30:38 +00:00
Greg Tatum 7fe0f6081d Bug 1783261 - Add telemetry events when opening the text recognition modal; r=nordzilla
This patch is just the event for opening the modal, plus the tests.
Other telemetry will be in a following commit.

Differential Revision: https://phabricator.services.mozilla.com/D154701
2022-08-29 13:30:37 +00:00
Greg Tatum 7516af27de Bug 1785837 - Update text recognition support link; r=nordzilla CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D155415
2022-08-24 18:39:04 +00:00
Sandor Molnar c43218ab8c Backed out changeset fc3fbb40632d (bug 1785837) for causing l10n-bump bustage. CLOSED TREE 2022-08-24 22:41:48 +03:00
Greg Tatum 864fc9410d Bug 1785837 - Update text recognition support link; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D155415
2022-08-24 18:39:04 +00:00
Greg Tatum f0fac8dd31 Bug 1784484 - Properly handle reduce motion and prefers contrast in text recognition modal; r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D154530
2022-08-17 13:13:17 +00:00
Greg Tatum c02763857c Bug 1782578 - Add tests for the text recognition modal r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D153397
2022-08-10 19:38:46 +00:00
Greg Tatum 9e7bde31d8 Bug 1782578 - Build out the text recognition modal r=nordzilla,fluent-reviewers,Jamie,flod
This patch contains the bulk of the implementation of the modal. Most of
it is UI work and wiring together the various components. There is a bit
of complexity in the clustering algorithm, as I implemented the DBSCAN
algorithm to help cluster the text recognition results.

I filed Bug 1782586 to improve the DBSCAN algorithm, but currently it
works the same as the algorithm is described on Wikipedia.

Note that the tests are in the following patch in order to keep the line
count small for this patch.

Differential Revision: https://phabricator.services.mozilla.com/D153396
2022-08-10 19:38:45 +00:00
Greg Tatum b3d582927d Bug 1782578 - Stub out the textrecognition component files r=nordzilla
The implementation follows after this, but I felt it made the code
easier to read to by splitting it out.

Differential Revision: https://phabricator.services.mozilla.com/D153395
2022-08-10 19:38:45 +00:00
Norisz Fay 8bc30afa79 Backed out 6 changesets (bug 1782578, bug 1782579) for causing mochitest failures on browser_parsable_css.js CLOSED TREE
Backed out changeset bdb42cfe6213 (bug 1782579)
Backed out changeset 5f17ee4cc4df (bug 1782578)
Backed out changeset 4f969d46dd37 (bug 1782578)
Backed out changeset b4c51d1ffa99 (bug 1782578)
Backed out changeset 98d0d6bcd37b (bug 1782578)
Backed out changeset 8332d678079e (bug 1782578)
2022-08-10 20:19:31 +03:00
Greg Tatum 57b038eab3 Bug 1782578 - Add tests for the text recognition modal r=nordzilla
Differential Revision: https://phabricator.services.mozilla.com/D153397
2022-08-10 16:08:45 +00:00
Greg Tatum b218d4bcca Bug 1782578 - Build out the text recognition modal r=nordzilla,fluent-reviewers,Jamie,flod
This patch contains the bulk of the implementation of the modal. Most of
it is UI work and wiring together the various components. There is a bit
of complexity in the clustering algorithm, as I implemented the DBSCAN
algorithm to help cluster the text recognition results.

I filed Bug 1782586 to improve the DBSCAN algorithm, but currently it
works the same as the algorithm is described on Wikipedia.

Note that the tests are in the following patch in order to keep the line
count small for this patch.

Differential Revision: https://phabricator.services.mozilla.com/D153396
2022-08-10 16:08:45 +00:00
Greg Tatum 0a77c0395d Bug 1782578 - Stub out the textrecognition component files r=nordzilla
The implementation follows after this, but I felt it made the code
easier to read to by splitting it out.

Differential Revision: https://phabricator.services.mozilla.com/D153395
2022-08-10 16:08:44 +00:00