Sylvestre Ledru
96da5036ad
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D28948
--HG--
extra : moz-landing-system : lando
2019-04-28 09:30:05 +00:00
Daosheng Mu
9e73a18233
Bug 1545806 - Correct the initializer list in Windows gamepad axis value constructor. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D28242
--HG--
extra : moz-landing-system : lando
2019-04-22 18:37:11 +00:00
Sylvestre Ledru
a1dce6440a
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D28329
--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Daosheng Mu
4eb28fa005
Bug 1545180 - Correct DualShock 4 mapping type. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D27945
--HG--
extra : moz-landing-system : lando
2019-04-18 06:44:09 +00:00
Daosheng Mu
2397e3dc11
Bug 1542893 - Remapping gamepads to standard mapping. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D27198
--HG--
extra : moz-landing-system : lando
2019-04-17 17:05:43 +00:00
Sylvestre Ledru
7f60810d86
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D27245
--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Boris Zbarsky
d0bcf72821
Bug 1543564 part 2. Get rid of pointless nsPIDOMWindowInner::AsInner methods. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D27027
--HG--
extra : moz-landing-system : lando
2019-04-11 14:12:43 +00:00
Daosheng Mu
a88ec2c201
Bug 1465643 - Part 2: Remapping DualShock 4 buttons and axes on Windows. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D24217
--HG--
extra : moz-landing-system : lando
2019-04-08 20:21:28 +00:00
Daosheng Mu
0614a16811
Bug 1465643 - Part 1: Removing unused hasDpad logic in WindowsGamepad.cpp. r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D25886
--HG--
extra : moz-landing-system : lando
2019-04-08 18:51:25 +00:00
Ehsan Akhgari
c2111e147b
Bug 1532411 - Pass a document pointer to nsContentUtils::ShouldResistFingerprinting() callers in the gamepad API; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D21996
--HG--
extra : moz-landing-system : lando
2019-03-05 12:42:51 +00:00
Ryan Hunt
00e98538aa
Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21106
--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
Alex Gaynor
0f01791ffc
Bug 1512990
- Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj
...
For cases where the class has direct calls (that is, we cast `this` to the
subclass before making the call) no longer declare Recv/Answer methods on the
base class at all. This should ensure that slots for them are not generated in
vtables, and also allow the derived class to choose the method signature (e.g.
whether it wants to take something by reference or by value).
Differential Revision: https://phabricator.services.mozilla.com/D18132
--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:43 +00:00
Alex Gaynor
75c7d1fa76
Bug 1512990
- Part 2 - implement direct calls in the IPDL compiler; r=froydnj
...
When calling a Recv/Alloc/Dealloc method on most types, cast `this` to the
derived class.
There is a heuristic to figure out what the correct derived type is. There is a
blacklist of types which we can't do direct calls on for the moment, as well as
an override for types that do work with direct calls but which don't match the
heuristic.
Differential Revision: https://phabricator.services.mozilla.com/D16492
--HG--
extra : moz-landing-system : lando
2019-02-06 15:57:37 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Gabriele Svelto
19e52bebd4
Bug 1510582 - Remove useless inclusions of Services.h r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D13240
--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Imanol Fernandez
424bea6436
Bug 1487079 - Fix hasOrientation and hasPosition are switched on WebVR GamepadPose r=qdot,kip
...
Differential Revision: https://phabricator.services.mozilla.com/D4534
--HG--
extra : moz-landing-system : lando
2018-08-29 22:09:48 +00:00
Imanol Fernandez
01d16686d3
Bug 1487115 - Fix navigator.Gamepads returns empty VR array after a page load when using gfxVRExternal r=qdot,kip
...
Differential Revision: https://phabricator.services.mozilla.com/D4570
--HG--
extra : moz-landing-system : lando
2018-08-29 19:10:55 +00:00
Andi-Bogdan Postelnicu
88cc63910d
Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv
...
--HG--
extra : rebase_source : 249fc26e50bded4e94f5effa4308af0f1e54b908
2018-06-16 17:21:46 +03:00
Jed Davis
3921444145
Bug 1473193 - Don't use dom/gamepad/linux on non-Linux OSes. r=qdot
...
--HG--
extra : rebase_source : 4be168e7450c4618dd846f4be624d9f4043d91bd
2018-07-03 17:54:32 -07:00
Kyle Machulis
c126f54cc6
Bug 1324147 - Remove MOZ_GAMEPAD_BACKEND; r=daoshengmu
...
MOZ_WIDGET_TOOLKIT can be used for platform choice for Gamepad. Need
to leave linux header check in configure for now.
MozReview-Commit-ID: VT7T2KmLts
--HG--
extra : rebase_source : 02e7a23311c65fccffb1375a3adf8980d3d6031c
2018-06-27 12:32:36 -07:00
Jeff Gilbert
5b753da289
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Adrian Wielgosik
c501e3beb0
Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz
...
MozReview-Commit-ID: LKRnyDPNlle
--HG--
extra : rebase_source : a48b7c72a0f7ede38c91149a04d5de53987736f1
2018-05-11 19:46:15 +02:00
Boris Zbarsky
0ba35d199f
Bug 1455052 part 8. Stop using nsIDOMEvent in docshell and dom. r=masayuki
...
MozReview-Commit-ID: ASkuyN3xSwB
2018-04-20 12:55:30 -04:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Kyle Machulis
edc9099ead
Bug 1404112 - Add bounds checks to gamepad dpad unpacking; r=ted
...
We weren't checking the length of our buttons array before referencing
dpad offsets, meaning if the HID descriptor reports something
different than we have, we can overflow.
MozReview-Commit-ID: 5RKxwDmmq0Z
--HG--
extra : rebase_source : afbe0aff9c89b8ded57462384f0bf4158facdbd9
2018-04-09 16:28:15 -07:00
Boris Zbarsky
4292bca4ee
Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
...
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Kyle Machulis
c86096d041
Bug 1403185 - Fix button value index lookup oob for Windows Gamepads; r=ted
...
We can get button indexes in HID usage reports that do not actually
correspond to a button we store, meaning we can overstep bounds of the
button array. Check validity before accessing array.
MozReview-Commit-ID: AAQJLEgy2Ua
2018-03-28 15:54:53 -07:00
Ben Kelly
75bf35692e
Bug 1440407 P2 Remove some unnecessary nsPIDOMWindowInner QI to nsIGlobalObject. r=mystor
2018-02-22 14:28:39 -08:00
Sylvestre Ledru
d5654e2007
Bug 1435223 - Increase the size of idstring to avoid a warning r=baku
...
MozReview-Commit-ID: FFOByQdUa0I
--HG--
extra : rebase_source : 7e6b89920d5b85b4ba137e325e0a05bb96268575
2018-02-02 13:21:49 +01:00
Chih-Yi Leu
75dd85a9fa
Bug 1397194 - Polling manually in macOS gamepad API backend r=qdot
...
MozReview-Commit-ID: LuuwjB53KPy
--HG--
extra : rebase_source : 21e6ae940d493dc6bf739fd2f3478924423c91b3
2017-12-06 14:20:33 +08:00
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Jim Chen
db34ad5809
Bug 1412872 - 8. Remove GeckoAppShell dependency in gecko-view; r=snorp
...
In the future, GeckoAppShell will only be part of the service process
library, and will not be part of the app process library. Therefore, we
should minimize GeckoAppShell usage in any GeckoView code that will
likely end up in the app process library.
In particular, AndroidGamepadManager and Clipboard are made to accept
Context as arguments, instead of using
GeckoAppShell.getApplicationContext() for getting the Context.
MozReview-Commit-ID: G9SC815H5Ku
2017-11-01 14:54:04 -04:00
Andi-Bogdan Postelnicu
6c8d00b5a4
Bug 1411584 - avoid using memset on a non-trivial type object. r=kip
...
MozReview-Commit-ID: CW1OChvGoE9
--HG--
extra : rebase_source : 0b13b004433dfa9e704d09871368e63aaebc7e91
2017-10-26 11:41:22 +03:00
Andrew McCreight
298aa82710
Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
...
This was automatically generated by the script modeline.py.
MozReview-Commit-ID: BgulzkGteAL
--HG--
extra : rebase_source : a4b9d16a4c06c4e85d7d85f485221b1e4ebdfede
2017-10-26 15:08:41 -07:00
Andrew McCreight
1d0acbdb9b
Bug 1412125, part 1 - Manually add mode lines and MPL to files that were missing them entirely. r=qdot
...
These were detected by the script used to generate part 2.
MozReview-Commit-ID: VMcT154f6f
--HG--
extra : rebase_source : 2f5fc8a314302fcacac840a8dbe0ff874d518e51
2017-10-26 14:54:59 -07:00
Andrea Marchesini
122dbef06b
Bug 1411257 - No MOZ_CRASH if BackgroundChild::GetOrCreateForCurrentThread() fails - part 6 - GamePad API, r=asuth
...
s
2017-10-25 08:45:53 +02:00
Andrea Marchesini
5bac671b8b
Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 10 - Gamepad API, r=asuth
2017-10-24 12:02:40 +02:00
Andrea Marchesini
ac65753ef8
Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 9 - Gamepad Test, r=asuth
2017-10-24 12:02:40 +02:00
Sylvestre Ledru
d60d69e2cb
Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj
...
MozReview-Commit-ID: DjDkL20wRg0
--HG--
extra : rebase_source : a343d83d1f4e97e4ba56d0f57fec93079df0b5ea
2017-10-23 20:59:55 +02:00
Nathan Froyd
47b2d43b88
Bug 1410102 - use fewer cycle collection macros for GamepadServiceTest; r=qdot
...
No reason to use a mess o' macros when a single one will do the trick.
2017-10-19 14:41:10 -04:00
Kris Maglione
60d080b412
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
--HG--
extra : rebase_source : 31c583c699790cbcf302064146d313ee8126ef0c
2017-10-15 23:15:40 -07:00
Tom Ritter
f49999833d
Bug 1406380 Fix -Wreorder warnings r=njn
...
MozReview-Commit-ID: 7Zh2pvAMpXR
--HG--
extra : rebase_source : 5052112ad66a66cd2974c4140c3fd430dcaa3adc
2017-10-09 01:36:36 -05:00
Tom Ritter
206913cd78
Bug 1404147 Fixed Unsigned/Signed comparison in WindowsGamepad.cpp r=qdot
...
MozReview-Commit-ID: 8qjkVdk6zWT
--HG--
extra : rebase_source : 4ab94a26c163eba551874d9aee05a9498d3a11fd
2017-09-28 17:00:05 -05:00
dmu@mozilla.com
92a1d766b1
Bug 1402749 - Part 1: Remove assertion for avoiding no gamepad listeners in race condition; r=Lenzak
...
MozReview-Commit-ID: AqWugbCKwwx
--HG--
extra : rebase_source : d25ad6c81b33fa57ff7c3ecfa931cc9f4f52fbd4
2017-09-28 17:11:24 +00:00
Phil Ringnalda
b1d45a9e89
Backed out changeset e98549c5dd9d (bug 1347519) for RunWatchdog shutdown hangs in Mac debug mochitest-1
...
MozReview-Commit-ID: Ew32xfcEJlx
2017-09-05 21:39:55 -07:00
Chih-Yi Leu
bcfdcffe4f
Bug 1347519 - Use CFRunLoopSource for passing shutdown signal r=qdot
...
MozReview-Commit-ID: 9TgZaNywIQC
--HG--
extra : rebase_source : f4afebd4568cc707fd23fc1406c485b2e7f5868e
2017-09-01 14:41:35 +08:00
Andrew McCreight
78807d8776
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00