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
Daosheng Mu
e709ee722a
Bug 1382438 - Part 1: Get gamepads from globalWindow correctly for button and axis events; r=Lenzak
...
MozReview-Commit-ID: rB9ahFuozO
--HG--
extra : rebase_source : 98a2aee5ff90f5209bfaf1ee0ee42004b691af71
2017-07-27 11:22:29 +08:00
Daosheng Mu
8dcb583554
Bug 1352410 - Add a preference to enable or disable haptic feedback for gamepads; r=Lenzak
...
MozReview-Commit-ID: 70FFdcd3n5q
--HG--
extra : rebase_source : 42123c0dcb93160d1b0363c616e5bdfac11604a7
2017-07-27 17:55:16 +08:00
Chih-Yi Leu
47a2617b3f
Bug 1381378: Refactor - Isolate gamepad index and GamepadServiceType from GamepadChangeEvent; r=daoshengmu
...
MozReview-Commit-ID: IFjvDsl6vlY
--HG--
extra : rebase_source : 2b9add020e182acb03c01bd5c55742dc7860625d
2017-07-17 11:44:39 +08:00
Daosheng Mu
2c94bb9dc0
Bug 1375816 - Part 2: DisplayId support in GamepadManager; r=Lenzak
...
MozReview-Commit-ID: 1zrePACFQWf
--HG--
extra : rebase_source : d96f344c5d0c422c496880f47076d731d60f2330
2017-07-14 16:55:52 +08:00
Daosheng Mu
4f33b3d9da
Bug 1375816 - Part 1: Add displayId attribute in Gamepad; r=qdot
...
MozReview-Commit-ID: 7nrOrKRemGY
--HG--
extra : rebase_source : c5f4ffe0afec269a2c6c6c4dd459d436748bd5b7
2017-07-14 16:53:03 +08:00
Sebastian Hengst
62a9085842
Backed out changeset bec6c4becfd9 (bug 1375816) for bustage in gfxVROculus.cpp on Windows. r=backout
2017-07-18 11:49:37 +02:00
Sebastian Hengst
becce95e2d
Backed out changeset ab013a0a0ae5 (bug 1375816)
2017-07-18 11:48:31 +02:00
Daosheng Mu
6137ea8dc0
Bug 1375816 - Part 2: DisplayId support in GamepadManager; r=Lenzak
...
MozReview-Commit-ID: 1zrePACFQWf
--HG--
extra : rebase_source : d8038e116435073e59f475f33cbffe0509670ddd
2017-07-14 16:55:52 +08:00
Daosheng Mu
5c5559750b
Bug 1375816 - Part 1: Add displayId attribute in Gamepad; r=qdot
...
MozReview-Commit-ID: 7nrOrKRemGY
--HG--
extra : rebase_source : cbfa25fd22f66eee336529d63019f7e479fefb04
2017-07-14 16:53:03 +08:00
Wes Kocher
eaeabd21b5
Backed out 4 changesets (bug 1375816) for various failures including builds busted in gfxVROculus.cpp a=backout
...
Backed out changeset 73619b7ce23d (bug 1375816)
Backed out changeset dd09fc501f90 (bug 1375816)
Backed out changeset fd4517198d6c (bug 1375816)
Backed out changeset e15e060f034c (bug 1375816)
MozReview-Commit-ID: 9VXOC0V45NE
2017-07-17 23:18:21 -07:00
Daosheng Mu
4f401fdabb
Bug 1375816 - Part 2: DisplayId support in GamepadManager; r=Lenzak
...
MozReview-Commit-ID: 1zrePACFQWf
--HG--
extra : rebase_source : d8038e116435073e59f475f33cbffe0509670ddd
2017-07-14 16:55:52 +08:00
Daosheng Mu
08d93aa476
Bug 1375816 - Part 1: Add displayId attribute in Gamepad; r=qdot
...
MozReview-Commit-ID: 7nrOrKRemGY
--HG--
extra : rebase_source : cbfa25fd22f66eee336529d63019f7e479fefb04
2017-07-14 16:53:03 +08:00
Bill McCloskey
224d56eb18
Bug 1377222
- Eliminate nsITimer::InitWithFuncCallback in favor of InitWithNamedFuncCallback (r=froydnj)
...
MozReview-Commit-ID: 9zN9aAd7daA
2017-07-03 16:19:56 -07:00
Chung-Sheng Fu
a33a8c708d
Bug 1337161 - Fix leak of GamepadPlatformService r=jhao,Lenzak
...
MozReview-Commit-ID: CPLg8kyL0xH
--HG--
extra : rebase_source : d3a42b792e63b6fe9893976bcf972cf039c2263b
2017-06-22 16:56:18 +08:00
Chung-Sheng Fu
49fb1d27d8
Bug 1337161 - Hide information of connected gamepads from content when privacy.resistFingerprinting is true r=arthuredelstein,smaug
...
MozReview-Commit-ID: Di6ba9B4w0d
--HG--
extra : rebase_source : 69b392d4c0fa7ed5ac8f4fa02091153537a99798
2017-06-15 17:59:26 +08:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00