Commit Graph

252 Commits

Author SHA1 Message Date
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
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bill McCloskey
aefa2aa5da Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.

MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Masayuki Nakano
94170bb269 Bug 1370198 Back out the patch for bug 1369419 because the patch couldn't fix bug 1361132 and causes new crash bugs r=jimm
MozReview-Commit-ID: Eq7Dkk6Ghwc

--HG--
extra : rebase_source : edc2d10f4e0359152927830a269f74b75daf5883
2017-06-05 21:52:16 +09:00
Masayuki Nakano
d3789d2d6b Bug 1369419 GetMessage() and PeekMessage() shouldn't be used directly as far as possible r=jimm
In TSF mode, application should retrieve messages with ITfMessagePump::GetMessage() or ITfMessagePump::PeekMessage() since TSF/TIP may handle the message before or after the host application handles it.

This patch rewrites the API users with WinUtils::(Get|Peek)Message() which use ITfMessagePump if it's available.

MozReview-Commit-ID: LwHIgp7SxLH

--HG--
extra : rebase_source : aa5750af9812f9b107c29546cbee6f9eede6ebfa
2017-06-02 12:02:35 +09:00
Randall Barker
39225e3f07 Bug 1364267 - Prevent Android gamepad from dropping axis values r=ted
MozReview-Commit-ID: 3G5xwPKD4mq
2017-05-12 15:55:32 -07:00
Chih-Yi Leu
d0c49e91e8 Bug 1358064 - Simplify Gamepad Event processing; r=daoshengmu
MozReview-Commit-ID: 6CLyWx5w5Qu

--HG--
extra : rebase_source : 51ad3f2f01eb30a6f1de79eb38bffa5265a1ee90
2017-04-21 11:34:30 +08:00
Daosheng Mu
85b521a633 Bug 1362284 - Assign the background thread before flushing pending events at GamepadEventChannelParent; r=Lenzak
MozReview-Commit-ID: FcnAM1JSON2

--HG--
extra : rebase_source : 61ce19675463d6b32502d561cd90a6cfa782c72e
2017-05-05 01:21:39 +08:00
Daosheng Mu
3a6ad95915 Bug 1355648 - Part 3: Set position and orientation IsValid properties for GamepadPose tests; r=kip
MozReview-Commit-ID: 29sjo3yhg98

--HG--
extra : rebase_source : afb483713a3e895d81e20d4d8dc3861679f1781e
2017-04-26 13:17:25 +08:00
Daosheng Mu
df7c980c42 Bug 1355648 - Part 2: Handle GampadPose losing tracking situation; r=kip,qdot
MozReview-Commit-ID: FAWnYBuDfFy

--HG--
extra : rebase_source : c2e4c6f76f0f2f811c85ebbad16c252ada045949
2017-04-21 18:15:22 +08:00
Daosheng Mu
2c3593dc56 Bug 1358885 - Check VRManagerChild is created in GampadManager for avoiding crash on Android; r=kip
MozReview-Commit-ID: 5Jf4nZjZkFN

--HG--
extra : rebase_source : 6dc725ab27efc962d7f7bd9ba5711ba8c31db9ed
2017-04-24 12:56:41 +08:00
Phil Ringnalda
7e834ae6b6 Backed out 2 changesets (bug 1355648) for failures in test_gamepad_extensions.html
CLOSED TREE

Backed out changeset 1a675abcc1f0 (bug 1355648)
Backed out changeset f07c7d6ddb8d (bug 1355648)

MozReview-Commit-ID: 86HfzOsNVjZ
2017-04-25 20:31:16 -07:00
Daosheng Mu
64ca304e37 Bug 1355648 - Part 2: Handle GampadPose losing tracking situation; r=kip,qdot
MozReview-Commit-ID: FAWnYBuDfFy

--HG--
extra : rebase_source : 08437d75379acb5e4701cef0b39512ca482d52f3
2017-04-21 18:15:22 +08:00
Daosheng Mu
0d1a38ef9a Bug 1356452 - Part 4: Add gamepad set hand function in Gamepad; r=qdot
MozReview-Commit-ID: LrQjMZ6demG

--HG--
extra : rebase_source : 56fe3af2ba69be38226b51248ae53a8bf4bbe0c2
2017-04-18 15:56:08 +08:00
Daosheng Mu
9e638e1eac Bug 1356452 - Part 3: Support changing gamepad hand property in GamepadManager; r=Lenzak
MozReview-Commit-ID: KZx2qJqks6f

--HG--
extra : rebase_source : f2d3d70f7394964b07bc45d4db1bfd6b56694e38
2017-04-18 15:55:15 +08:00
Daosheng Mu
d834dfb544 Bug 1336002 - Part 2: Support button touched in GamepadManager; r=Lenzak
MozReview-Commit-ID: DcX988Obthp

--HG--
extra : rebase_source : 590704bc0e5edc0ed446da19267ad16a8f728ee6
2017-04-07 09:35:13 +08:00
Daosheng Mu
66e6df1d73 Bug 1336002 - Part 1: Support button touched in the Gamepad API; r=qdot
MozReview-Commit-ID: FVWo5bpuSkS

--HG--
extra : rebase_source : 5bf9742409ac4466c3fa289c9a7a2596c4983de7
2017-04-06 18:36:46 +08:00
Daosheng Mu
3ab8ee7fa3 Bug 1354977 - Update timestamp when gamepadpose is changed; r=qdot
MozReview-Commit-ID: 2glmvw5xUCH

--HG--
extra : rebase_source : afea8296041574fb182b278b588a1e3282c68c3d
2017-04-06 18:37:29 +08:00
Daosheng Mu
a747e7db60 Bug 1350682 - Call VRManagerChild getter when need it at GamepadManager instead of keeping it; r=kip,Lenzak
MozReview-Commit-ID: 2kbPEJ09DOP

--HG--
extra : rebase_source : bb84cc4db9abca70400b68a4445dc7fbb981153b
2017-03-28 11:31:00 +08:00
Daosheng Mu
62781e3b7d Bug 1299937 - Part 6: Handle Stop vibrating when the window defoucses; r=qdot
MozReview-Commit-ID: Kvd40jnSPvK

--HG--
extra : rebase_source : f9ce4c68fd07376b8e18cbab08718c49d6fed455
2017-03-07 10:17:57 +08:00
Daosheng Mu
3809301030 Bug 1299937 - Part 5: Add gamepad extension API tests; r=Lenzak,qdot
MozReview-Commit-ID: ICeDyGUn4XH

--HG--
extra : rebase_source : 365b47581bd44c70be9d8bbefdc4236191abb3a9
2017-02-02 15:00:51 +08:00
Daosheng Mu
c1d89a986e Bug 1299937 - Part 4: Handling vibrate haptic promise in VRManager; r=qdot
MozReview-Commit-ID: 3KZ8MNx3Dnq

--HG--
extra : rebase_source : 1b11f7948da7477e31f7448878a6d5874ba69087
2017-02-02 14:59:44 +08:00
Daosheng Mu
49b8854fd8 Bug 1299937 - Part 2: Support gamepad haptic in GamepadManager; r=kip,Lenzak,qdot
MozReview-Commit-ID: 7duCrsFLVX6

--HG--
extra : rebase_source : 065c643393799249407a6d17b443222a8499873a
2017-02-02 14:33:18 +08:00
Daosheng Mu
9cf81ce92e Bug 1299937 - Part 1: Implement GamepadHapticActuator in Gamepad API; r=qdot
MozReview-Commit-ID: GJZvgxSBVlB

--HG--
extra : rebase_source : 8d7c36b469a791337d7eec2c372a0c40fddb9c62
2017-02-02 14:30:58 +08:00
Joel Maher
c203f27827 Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Sebastian Hengst
7225ec6170 Backed out changeset 9a332af74af5 (bug 1335099) for build bustage (moz.build rule matches no files). r=backout on a CLOSED TREE 2017-02-06 16:21:20 +01:00
Joel Maher
60e61eed48 Bug 1335099 - add BUG_COMPONENT to many dom/* subdir files. r=overholt
MozReview-Commit-ID: CyIIs98hnUI
2017-02-06 09:45:55 -05:00
Markus Stange
692210bd80 Bug 1323100 - Assign names to all remaining threads that are created through NS_NewThread and create them using NS_NewNamedThread instead. r=froydnj
MozReview-Commit-ID: 7W1dt2BBKJZ

--HG--
extra : rebase_source : c7e335dac2e0f02782f0eb229a7181c8d01317a2
2016-12-21 11:43:50 +01:00
Olli Pettay
0364dbc792 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Chih-Yi Leu
7d79da08f4 Bug 1324592 - Use nsITimer to trigger DirectInput polling instead of DelayedDispatch. r=qdot 2016-12-29 15:00:00 -05:00
Ting-Yu Chou
417dd84962 Bug 1322465 part 3 - Use explicit/MOZ_IMPLICIT for the unary constructors in dom/. r=Ehsan
MozReview-Commit-ID: GV26INAj3k2

--HG--
extra : rebase_source : 9943b8451a69ebd3b8141ae3f9db7c4a48d7852c
2016-12-16 15:49:53 +08:00
Daosheng Mu
94effe3091 Bug 1315896 - Part 2: Remove MOZ_GAMEPAD in Gamepad module; r=ted.mielczarek
MozReview-Commit-ID: Hbv6THaI5Rk

--HG--
extra : rebase_source : aa6b247881c45b2d615d5e37576801e91ed77312
2016-12-08 13:00:44 -10:00
Daosheng Mu
77dc83f49c Bug 1313581 - Part 2: Support hand attribute in GamepadManager; r=kip,lenzak800
MozReview-Commit-ID: 4sIRuzH0HMl

--HG--
extra : rebase_source : b8ad729f492002ef2712c782e41af0b5b125ec5d
2016-11-14 17:30:31 +08:00
Daosheng Mu
168eb8d109 Bug 1313581 - Part 1: Support hand attribute in GamepadAPI; r=kip,lenzak800,qdot
MozReview-Commit-ID: 9n48LGaqOP2

--HG--
extra : rebase_source : b4e7a0dd831a15b1b1ea36ef1dd8d1c83e7b3fce
2016-11-14 17:28:48 +08:00
Daosheng Mu
a766482389 Bug 1315718 - Replace mGamepadManager raw pointer with RefPtr in VRManagerChild. r=smaug, kip, dmu
MozReview-Commit-ID: HOqQm2F6Dpn
---
 dom/gamepad/GamepadManager.cpp |  1 -
 gfx/vr/ipc/VRManagerChild.cpp  | 18 ++++++------------
 gfx/vr/ipc/VRManagerChild.h    |  4 ----
 gfx/vr/ipc/VRManagerParent.cpp | 21 +++++++++++++++++----
 gfx/vr/ipc/VRManagerParent.h   |  4 +++-
 5 files changed, 26 insertions(+), 22 deletions(-)

--HG--
extra : amend_source : 4a687f8cbe12d88da3c88e0dba859331806fc6ff
2016-12-01 13:12:10 +08:00
Chih-Yi Leu
726f692233 Bug 1318839 - Add polling interval for direct input polling r=qDot 2016-11-28 18:52:00 +01:00
Kan-Ru Chen
f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Daosheng Mu
b3d0fb146a Bug 1299932 - Part 2: Support gamepadPose in GamepadManager; r=kip,lenzak800
MozReview-Commit-ID: 9wKxQIxaPbI

--HG--
extra : rebase_source : 33775aa408a6688f5d1ec8c277082a6675b0f720
2016-10-24 18:06:52 +08:00
Daosheng Mu
7168326772 Bug 1299932 - Part 1: Implement gamepadPose attribute in Gamepad API; r=kip,qdot
MozReview-Commit-ID: DiJadVc2TyE

--HG--
extra : rebase_source : f4571090518a084b6d4b1e6fccf951510b227fbd
2016-10-24 18:04:41 +08:00
Daosheng Mu
3df4c636a4 Bug 1310904 - Part 1: Solving non MOZ_GAMEPAD case in GamepadManager; r=lenzak800,qdot
MozReview-Commit-ID: IGkLwnSJtr1

--HG--
extra : rebase_source : 80c88ddc892711b3cd0b4f2e22f507de4333d458
2016-11-04 15:43:55 +08:00
Daosheng Mu
7331dee69c Bug 1313585 - Part 1: Removing gamepads while nsGlobalWindow is removed in GamepadManager; r=lenzak800,qdot
MozReview-Commit-ID: 8kh0hyqzOyW

--HG--
extra : rebase_source : 51f3bbf930f5d8eb5a53b83ca47600d26346599c
2016-10-28 15:58:22 +08:00
Michelangelo De Simone
80af1b3196 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8

--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Phil Ringnalda
16522e6c40 Backed out changeset 27695ca9f8cd (bug 1310864) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html 2016-10-31 19:39:06 -07:00
Michelangelo De Simone
8b355547fc Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: 2tWZc6hMtk5

--HG--
extra : rebase_source : 609688dd1fa430827c18e1cd0095c07fb17fce67
2016-10-28 17:53:58 -07:00
Chih-Yi Leu
51042398ff Bug 1283193 - Add buffer mechanism in GamepadPlatformService to prevent dispatch failure in Mochitest. r=ted 2016-10-23 19:32:00 +02:00
Daosheng Mu
3670ffdaad Bug 1299929 - Part 1: Send GamepadServiceType in the the button and axis events; r=kip
MozReview-Commit-ID: AmrTpNFgkVj

--HG--
extra : rebase_source : c187592f9071fef94e8059ffdeab891c8432a397
2016-10-14 17:39:51 +08:00
Daosheng Mu
a11c74d154 Bug 1299928 - Part 6: Making GamepadManager is only run at the same process at VRMangerChild; r=kip
MozReview-Commit-ID: HrPHptVNgtq

--HG--
extra : rebase_source : 0b2dab59cbbc23a6cec07a386589cc20f1135fa5
2016-10-11 10:45:25 +08:00
Daosheng Mu
570a208647 Bug 1299928 - Part 3: Construct IPC channel between Gamepad and VRManager; r=kip
MozReview-Commit-ID: 9hpxlLlIdh7

--HG--
extra : rebase_source : f50bf15bef94129a4a8fbd659c8551a3f153e32c
2016-10-04 16:30:04 +08:00
Daosheng Mu
a5c0fea409 Bug 1299928 - Part 1: Make GamepadManager knows the gamepad is from VRController when adding gamepads; r=kip,lenzak800
MozReview-Commit-ID: IBFqj2JTHxh

--HG--
extra : rebase_source : 7716900c17bedfef5b1dff10229f377e17ccb173
2016-10-04 10:57:04 +08:00
dhouse@mozilla.com
a7ad6a382a Bug 1307904 - "received" r=jdm
MozReview-Commit-ID: GM6IyKELMiO

--HG--
extra : rebase_source : aa0176500658e5cc9e00c080d08bbbc13e745bdd
2016-10-05 13:24:16 -06:00
Daosheng Mu
754426d7c8 Bug 1299975 - Part 2: Make GamepadManager own multiple GamepadEventChannelChild; r=kip, r=lenzak800
MozReview-Commit-ID: ITvS4a9ONh3

--HG--
extra : transplant_source : %C9%A8%2C%BDo%F4%04%B1%A6.%F5%7E%F28Q%A7%113%A5%C8
2016-09-07 18:31:53 +08:00