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
Daosheng Mu
61571e76c3
Bug 1299975 - Part 1: Remove unused GamepadService; r=kip, r=lenzak800
...
MozReview-Commit-ID: A3Oep0u7jN3
--HG--
extra : transplant_source : %0F%BA%90Ko/%22%B6%C4%28%BAG%FF%E0e%BC/%A9.%C7
2016-09-05 22:57:20 +08:00
Nicholas Nethercote
34dcc7b852
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Jim Chen
347603e672
Bug 1292323 - Update usage of UsesNativeCallProxy; r=snorp
...
Remove uses of UsesNativeCallProxy and UsesGeckoThreadProxy, now that
they are not needed.
Remove cases where we had to invoke a call in a proxy, because the call
is now specified to be invoked directly in the WrapForJNI annotation,
without the need to go through the proxy.
For SmsManager and AlarmReceiver, we no longer need to manually dispatch
everything to the Gecko thread because that's now handled automatically.
2016-08-12 23:15:53 -04:00
Kyle Machulis
28447218eb
Bug 1291988 - Allow arbitrary number of axes/buttons in Windows Gamepad API; r=ted r=cleu
...
MozReview-Commit-ID: HNf5MwwFKEG
2016-08-08 15:58:05 -07:00
Chih-Yi Leu
00c5d186d3
Bug 1292475 - Fix Windows Gamepad API backend to receive event correctly; r=ted
...
MozReview-Commit-ID: 6AVYu9uEBWQ
2016-08-08 11:33:26 -07:00
Jim Chen
4b8a8da17c
Bug 1289208 - Add native methods to AndroidGamepadManager; r=snorp
...
Add native method calls to AndroidGamepadManager to replace the gamepad
events in GeckoEvent. Implement those calls in AndroidGamepad.cpp. The
jni/Refs.h change is necessary to fix a compile error when using
jni::BooleanArray.
2016-08-04 09:16:05 -04:00
Jim Chen
e5eac1e286
Bug 1289208 - Move gamepad methods out of GeckoAppShell; r=snorp
...
Move gamepad methods called by native code out of GeckoAppShell and into
AndroidGamepadManager.
2016-08-04 09:16:05 -04:00
Carsten "Tomcat" Book
336105a0de
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +02:00
Jim Chen
ce45a595ab
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 13:49:04 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
e8bc59a87a
Backed out changeset 684888aeee81 (bug 1287946)
2016-07-21 08:07:12 +02:00
Jim Chen
78f67d1f6f
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 00:42:26 -04:00
Chih-Yi Leu
04356f1b32
Bug 1282993 - Fix build error in Platform which don't support gamepad API. r=baku
...
--HG--
extra : amend_source : e53f5bcb7815716d5fa585b53b0dca00665a5718
2016-06-29 20:39:00 +02:00
Carsten "Tomcat" Book
065ef2b275
Backed out changeset bcd10b16cb33 (bug 1283135) on developers request
2016-06-30 13:49:58 +02:00
Alexandre Lissy
1ef0829ff2
Bug 1283135 - Fix gamepad IPDL dependency with no gamepad r=baku
...
MozReview-Commit-ID: LoUZCMPe2pC
--HG--
extra : rebase_source : 13400a538ccea7f87f1e03fb6f1877d999ca8ff8
2016-06-29 17:02:21 +02:00
Chih-Yi Leu
810f0727b1
Bug 1221730 - Postpone singleton release in GamepadPlatformService::MaybeShutdown. r=baku
...
--HG--
extra : rebase_source : 4031bb8e791fa1c915261f3b2eaece28ebadb283
2016-06-28 00:27:00 +02:00
Chih-Yi Leu
8733310923
Bug 1221730 - Change GamepadServiceTest into webidl. r=qdot, r=baku
...
--HG--
extra : rebase_source : 8e04725e80467a17d1a1a775f791782abe842c1b
2016-06-28 00:26:00 +02:00
Chih-Yi Leu
42a49e9e8c
Bug 1221730 - Move gamepad API to PBackground. r=qdot, r=baku
...
--HG--
extra : rebase_source : 5ad6d31a770d0d7b1b10d6aebf693ed24fc956ca
2016-06-28 00:25:00 +02:00
Chih-Yi Leu
a9d436891b
Bug 1221730 - Remove Observers in Windows gamepad backend. r=qdot
...
--HG--
extra : rebase_source : 476ae0a01288f613325967287fd68b5f52771550
2016-06-28 00:25:00 +02:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrea Marchesini
64734bf74c
Bug 1278838
- Remove separate worker binding for Performance API, r=smaug
...
--HG--
rename : dom/performance/nsPerformance.cpp => dom/performance/Performance.cpp
rename : dom/performance/nsPerformance.h => dom/performance/Performance.h
rename : dom/workers/Performance.cpp => dom/performance/PerformanceWorker.cpp
rename : dom/workers/Performance.h => dom/performance/PerformanceWorker.h
2016-06-09 19:04:42 +02:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Kyle Machulis
70f7183ad7
Bug 1156957 - Make gamepad mochitests work on e10s; r=ted
2016-03-10 14:37:07 -08:00
Kyle Machulis
efed9717c0
Bug 1254298 - Bypass Gamepad Service Shutdown Timer on e10s; r=ted r=cleu
2016-03-10 14:37:07 -08:00
Wes Kocher
0f880fdd38
Backed out changeset 7dec4b377e6b (bug 1156957) for leaking nsTArray_base
...
MozReview-Commit-ID: HXJPSZTXu6G
2016-03-03 17:11:47 -08:00