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

2844 Коммитов

Автор SHA1 Сообщение Дата
Andrew McCreight 37d53cb0c1 Bug 1680042 - Fix "detroyed" typos. DONTBUILD r=necko-reviewers,geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D98341
2020-12-01 17:35:54 +00:00
Simon Giesecke 971b645fe3 Bug 1660470 - Add missing include directives/forward declarations. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Cameron McCormack 0f3cfafb48 Bug 1678540 - Refactor nsXPLookAndFeel::GetIntImpl etc. r=spohl
This will allow calling into NativeGetInt etc. to get native LookAndFeel values without
looking at the prefs.

Differential Revision: https://phabricator.services.mozilla.com/D97725
2020-11-20 23:52:47 +00:00
Cameron McCormack 104a5a7dde Bug 1678540 - Don't provide default values for IntID::ScrollButtonLeftMouseButtonAction etc. r=spohl
This simplifies the way nsXPLookAndFeel::GetIntImpl and its overrides interact.

Differential Revision: https://phabricator.services.mozilla.com/D97724
2020-11-20 23:52:52 +00:00
Sylvestre Ledru bebb9f9181 Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp
It is bringing some minor changes

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D90795
2020-11-18 09:05:59 +00:00
Markus Stange 08d19907a7 Bug 1676771 - Resample touch events in Android widget before sending them to APZ. r=geckoview-reviewers,kats,snorp
This behavior can be toggled with the (live) pref android.touch_resampling.enabled.

Differential Revision: https://phabricator.services.mozilla.com/D96798
2020-11-18 02:59:29 +00:00
Markus Stange 5bfa71c81d Bug 1676771 - Break HandleMotionEvent into two parts. r=geckoview-reviewers,kats,snorp
Differential Revision: https://phabricator.services.mozilla.com/D96796
2020-11-18 02:59:32 +00:00
Bogdan Tara 2fdb1139bf Backed out 3 changesets (bug 1676771) for TouchResampler.cpp linux debug bustage CLOSED TREE
Backed out changeset c01032316a72 (bug 1676771)
Backed out changeset 45736914b063 (bug 1676771)
Backed out changeset 8700eb46bb8b (bug 1676771)
2020-11-18 04:54:03 +02:00
Markus Stange cfffbb8e44 Bug 1676771 - Resample touch events in Android widget before sending them to APZ. r=geckoview-reviewers,kats,snorp
This behavior can be toggled with the (live) pref android.touch_resampling.enabled.

Differential Revision: https://phabricator.services.mozilla.com/D96798
2020-11-17 23:15:34 +00:00
Markus Stange a0525b8e5b Bug 1676771 - Break HandleMotionEvent into two parts. r=geckoview-reviewers,kats,snorp
Differential Revision: https://phabricator.services.mozilla.com/D96796
2020-11-17 20:20:32 +00:00
Markus Stange 29d637a3c1 Bug 1661172 - Register the android UI thread as "AndroidUI" with the profiler. r=geckoview-reviewers,agi
This allows getting profiler markers from that thread, and also shows some limited C++ call stack information.
The stacks aren't complete because we don't know the address at which the thread's stack starts.

Differential Revision: https://phabricator.services.mozilla.com/D97366
2020-11-17 21:45:40 +00:00
Bogdan Tara 43d33ea421 Backed out 3 changesets (bug 1676771) for touchevents related failures CLOSED TREE
Backed out changeset 88d4a2ac2cfc (bug 1676771)
Backed out changeset 7aa9b58c7916 (bug 1676771)
Backed out changeset 7f5daf9a6889 (bug 1676771)
2020-11-17 22:15:14 +02:00
Markus Stange 56de9bd8dd Bug 1676771 - Resample touch events in Android widget before sending them to APZ. r=geckoview-reviewers,kats,snorp
This behavior can be toggled with the (live) pref android.touch_resampling.enabled.

Differential Revision: https://phabricator.services.mozilla.com/D96798
2020-11-17 16:27:07 +00:00
Markus Stange d2eb5b6a06 Bug 1676771 - Break HandleMotionEvent into two parts. r=geckoview-reviewers,kats,snorp
Differential Revision: https://phabricator.services.mozilla.com/D96796
2020-11-17 18:55:53 +00:00
Tarek Ziadé 37386bc892 Bug 1529510 - Move ProcInfo to processtoolsservice;r=aklotz,mstange
With this change, we expose ProcInfo to Android.

Differential Revision: https://phabricator.services.mozilla.com/D94810
2020-11-12 17:42:54 +00:00
Markus Stange 758ee8a36c Bug 1677011 - Add an AndroidVsync class, and use it for the implementation of the Android VsyncSource. r=kats
This allows adding another vsync listener that gets called before the regular VsyncSource.
And it allows adding the listener on the Java UI thread.
The existing infrastructure is pretty adamant about being used on the main thread.

Differential Revision: https://phabricator.services.mozilla.com/D96797
2020-11-13 19:06:50 +00:00
Hiroyuki Ikezoe 9b56e1a377 Bug 1676814 - Revert a2f0dae16c37 to stop crashing on fast fling etc. r=botond,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D96965
2020-11-13 15:21:59 +00:00
Markus Stange c7e344533f Bug 1676768 - Add some missing gfx:: namespace annotations in nsWindow.cpp. r=geckoview-reviewers,snorp
Depends on D96793

Differential Revision: https://phabricator.services.mozilla.com/D96794
2020-11-12 16:11:50 +00:00
Markus Stange b4bef43021 Bug 1676768 - Add some missing includes. r=geckoview-reviewers,snorp
Depends on D96792

Differential Revision: https://phabricator.services.mozilla.com/D96793
2020-11-12 16:11:58 +00:00
Markus Stange 15219986b0 Bug 1676768 - Move WebAuthnTokenManager class definition into a header file, because nsAppShell.cpp calls WebAuthnTokenManager::Init(). r=geckoview-reviewers,snorp
This only happened to work because unified build included WebAuthnTokenManager.cpp
and nsAppShell.cpp into the same compilation unit.

Differential Revision: https://phabricator.services.mozilla.com/D96792
2020-11-12 16:12:10 +00:00
Jed Davis 96f7c5cf5c Bug 1657401 - Change LookAndFeel IPC to use IPDL structs. r=spohl
Aside from automating boilerplate, this will allow reusing some of these
structs for full LookAndFeel remoting in bug 1470983.

Differential Revision: https://phabricator.services.mozilla.com/D94531
2020-11-11 23:26:51 +00:00
Hiroyuki Ikezoe 89a5e2efe5 Bug 1674694 - Use ConvertAPZHandledResult to convert mHandledByRootApzc for motion event cases. r=botond,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D96483
2020-11-11 00:33:30 +00:00
Hiroyuki Ikezoe f2932331df Bug 1674694 - Use ConvertAPZHandledResult nsEventStatus_eConsumeNoDefault case. r=botond,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D96332
2020-11-11 00:33:28 +00:00
Hiroyuki Ikezoe 7087f97a39 Bug 1674694 - Change APZEventResult::mHandledByRootApzc to Maybe<APZHandledResult>. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D96331
2020-11-11 00:33:20 +00:00
Jamie Nicol fff551e1dd Bug 1662558 - Enable webrender for Mali-Gxx Android devices on all channels. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D96597
2020-11-10 17:24:34 +00:00
Botond Ballo dcc29b730f Bug 1676293 - Remove Java components that were used only by StackScrollerFlingAnimation. r=mstange,geckoview-reviewers,agi
Depends on D96508

Differential Revision: https://phabricator.services.mozilla.com/D96509
2020-11-10 16:59:44 +00:00
Hiroyuki Ikezoe 9a544e618f Bug 1663000 - Return UNHANDLED even if there's no event handler which uses preventDefault() and the root content is not covered by the dynamic toolbar. r=botond,geckoview-reviewers,snorp
This change has a couple of tests but they are for scrollable/non-scrollable
contents, they are not for non-scrollable contents but covered by the dynamic
toolbar cases, e.g. 100vh body element.  Those cases will be introduced in the
subsequent change.

Differential Revision: https://phabricator.services.mozilla.com/D93915
2020-11-04 03:16:07 +00:00
Markus Stange f2606240fd Bug 1615858 - Propagate historical touch data from Java to C++. r=kats,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D95650
2020-11-03 19:48:43 +00:00
Aaron Klotz d701017d5a Bug 1650118: Part 1 - Remove non-e10s mode from GeckoView; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90929
2020-10-27 16:43:29 +00:00
Razvan Maries f3f6721caa Backed out 8 changesets (bug 1650118) for wpt failures on inside-dedicated-worker.html. CLOSED TREE
Backed out changeset ab6218dd84f5 (bug 1650118)
Backed out changeset a99d1aae6e2e (bug 1650118)
Backed out changeset ed357b8bb07e (bug 1650118)
Backed out changeset cd5155e732d9 (bug 1650118)
Backed out changeset 63cc752924f2 (bug 1650118)
Backed out changeset 7f0a281a399e (bug 1650118)
Backed out changeset 0fd77fef3c95 (bug 1650118)
Backed out changeset f397e86fd61e (bug 1650118)
2020-10-27 18:39:11 +02:00
Aaron Klotz 8c6fe5fa49 Bug 1650118: Part 1 - Remove non-e10s mode from GeckoView; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90929
2020-10-26 23:53:56 +00:00
Emilio Cobos Álvarez d622f54db0 Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel
This should make the optimization landed earlier in this bug apply for
some of the NotifyThemeChanged() calls in nsWindow.cpp which are causing
all the extra invalidations.

If we know that system colors/fonts didn't change, we can avoid doing a
bunch of reflow work and the patch from earlier in the bug can avoid
re-rasterizing images too.

Differential Revision: https://phabricator.services.mozilla.com/D94425
2020-10-27 10:24:40 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Razvan Maries 5e0d52e2cc Backed out 6 changesets (bug 1650118) as per Aaron's request. CLOSED TREE
Backed out changeset 4a7fc6398ad6 (bug 1650118)
Backed out changeset b9fa3dd9c05d (bug 1650118)
Backed out changeset 2cb9109dee0a (bug 1650118)
Backed out changeset a6ca38804021 (bug 1650118)
Backed out changeset 66b9527aecad (bug 1650118)
Backed out changeset 74fd3eb970a6 (bug 1650118)
2020-10-21 07:32:57 +03:00
Aaron Klotz 00e06da12d Bug 1672221: Add null check in NPZCSupport::InputEvent::Run; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D94131
2020-10-20 16:46:41 +00:00
Jamie Nicol a20ad91067 Bug 1672196 - Enable webrender on Nightly for Mali-Txxx devices. r=ktaeleman
Differential Revision: https://phabricator.services.mozilla.com/D94118
2020-10-20 16:47:14 +00:00
Aaron Klotz 1709d6e45f Bug 1650118: Part 1 - Remove non-e10s mode from GeckoView; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90929
2020-10-19 17:08:28 +00:00
Edgar Chen 83a3099eea Bug 1671849 - Move drag threshold setting to nsLookAndFeel; r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D93902
2020-10-19 15:16:49 +00:00
owlishDeveloper 532e1b8155 Bug 1665426 - Implement fetch flag for private browsing downloads in WebExecutor r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D93044
2020-10-13 17:59:49 +00:00
Marco Bonardo 1019bbf009 Bug 1626016 - Remove createFixupURI and move postData inside URIFixupInfo. r=Gijs,geckoview-reviewers,preferences-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D93189
2020-10-13 10:20:16 +00:00
Bas Schouten 25a1b0f61f Bug 1669256 - Part 1: Remove AbstractEventQueue and de-templatize ThreadEventQueue. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D92709
2020-10-09 17:56:34 +00:00
Sylvestre Ledru d9cd198ba1 Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers,dragana
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D92459
2020-10-06 16:12:00 +00:00
Makoto Kato 17bba3d008 Bug 1666796 - Replace ALOGIME with MOZ_LOG in GeckoEditableSupport on Nightly. r=geckoview-reviewers,agi
When debugging text issue on GV, I sometimes enable `DEBUG_ANDROID_IME` to
output log. But I think that it is better to use `MOZ_LOG` since we can get
the log on Fenix build.

If using GVE, we can output log via the following command.

```
adb shell am start -n org.mozilla.geckoview_example/.GeckoViewActivity --es env0 "MOZ_LOG=GeckoEditableSupport:5"
```

But this change is Nightly only due to footprint etc at first.

Differential Revision: https://phabricator.services.mozilla.com/D92449
2020-10-05 16:11:02 +00:00
Edgar Chen 007c999be8 Bug 1666201 - Part 1: Rename ToWidget{Wheel|Mouse}Event to ToWidgetEvent; r=kats
So they can be used in template.

Differential Revision: https://phabricator.services.mozilla.com/D91490
2020-10-01 08:52:10 +00:00
Bogdan Tara 222e4f64b7 Backed out 5 changesets (bug 1662094, bug 1666201, bug 1520785) for pointerevent related failures CLOSED TREE
Backed out changeset 0ff76cb4b991 (bug 1662094)
Backed out changeset 94bf1aff7bff (bug 1520785)
Backed out changeset 1688cdab3d48 (bug 1666201)
Backed out changeset e960f750c588 (bug 1666201)
Backed out changeset cb30150e8289 (bug 1666201)
2020-10-01 11:46:32 +03:00
Botond Ballo e6c29de3e7 Bug 1667594 - Move nsLayoutUtils::SurfaceFromElementResult to its own file. r=emilio
Along with a dependent struct DirectDrawInfo.

This allows nsImageRenderer.h and CanvasRenderingContext2D.h to
avoid including nsLayoutUtils.h.

For nsImageRenderer.h in particular, a forward declaration is
not sufficient as nsImageRenderer stores SurfaceFromElementResult
by value.

A couple of method definitions elsewhere are moved out of line
to keep things compiling without including nsLayoutUtils.h in
additional headers.

Differential Revision: https://phabricator.services.mozilla.com/D91684
2020-09-30 21:05:34 +00:00