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

29 Коммитов

Автор SHA1 Сообщение Дата
Daosheng Mu c56864f05a Bug 1627753 - Using signed long for index attribute in Gamepad. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D69854

--HG--
extra : moz-landing-system : lando
2020-04-07 09:13:50 +00:00
Kearwood "Kip" Gilbert a88d971183 Bug 1598483 - Expand XR and Gamepad related structs and enums to support WebXR r=daoshengmu,baku
The structs in moz_external_api.h need to be expanded to support WebXR.

We should land these changes separately to enable working on WebXR features and FxR Android-side code in parallel.

The changes have been carefully made, additive-ly, to avoid breaking existing code before the rest of the WebXR implementation has landed.

Differential Revision: https://phabricator.services.mozilla.com/D54216

--HG--
extra : moz-landing-system : lando
2019-11-29 11:30:36 +00:00
Boris Zbarsky e5497b955e Bug 1423562 part 3. Remove [PrimaryGlobal] and require explicit [Exposed] annotations on everything. r=edgar
For review purposes, the important changes are in dom/bindings/Configuration.py
and dom/bindings/parser.

The changes to the IDL files were done by running these in dom/webidl
and dom/bindings/test:

  perl -pi -e 's/^interface ([A-Za-z0-9_]+)($| [:{])/[Exposed=Window]\ninterface \1\2/' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[HTMLConstructor\]\n\[Exposed=Window\]/[HTMLConstructor,\n Exposed=Window]/g' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[NoInterfaceObject\]\n\[Exposed=Window\]/[NoInterfaceObject,\n Exposed=Window]/g' *.webidl

  perl -pi -e 'BEGIN { $/ = undef; } s/\[ChromeOnly\]\n\[Exposed=Window\]/[ChromeOnly,\n Exposed=Window]/g' *.webidl

And running this in dom/chrome-webidl:

  perl -pi -e 'BEGIN { $/ = undef; } s/\[ChromeOnly\]\ninterface/[ChromeOnly, Exposed=Window]\ninterface/g' *.webidl

and then fixing all the resulting parser failures.  I then verified that the
generated code is the same as before this change.

Differential Revision: https://phabricator.services.mozilla.com/D46697

--HG--
extra : moz-landing-system : lando
2019-09-27 15:26:14 +00:00
Daosheng Mu 7b8a1cc7ba Bug 1523351 - Part 1: GamepadTouch and GamepadLightIndicator WebAPI implementation. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20744

--HG--
extra : moz-landing-system : lando
2019-05-29 22:44:24 +00:00
Daniel Varga b173205f5e Backed out 5 changesets (bug 1523351) for build bustage at builds/worker/workspace/build/src/dom/gamepad/GamepadRemapping.cpp on a CLOSED TREE
Backed out changeset 723d0a919d71 (bug 1523351)
Backed out changeset 13dcba81ff07 (bug 1523351)
Backed out changeset 6209717410be (bug 1523351)
Backed out changeset 80b34e6ce876 (bug 1523351)
Backed out changeset 7bdb7982c3af (bug 1523351)
2019-05-30 01:10:11 +03:00
Daosheng Mu f1193f9f17 Bug 1523351 - Part 1: GamepadTouch and GamepadLightIndicator WebAPI implementation. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20744

--HG--
extra : moz-landing-system : lando
2019-05-29 21:44:28 +00:00
Daniel Varga 943f938b03 Backed out 5 changesets (bug 1523351) for causing build bustage at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/StaticPrefList.h on a CLOSED TREE
Backed out changeset 607b23dcc62a (bug 1523351)
Backed out changeset b8169dcf0631 (bug 1523351)
Backed out changeset 982cd43dc8d9 (bug 1523351)
Backed out changeset 053540f0b00a (bug 1523351)
Backed out changeset cac2a77abd09 (bug 1523351)
2019-05-29 23:45:15 +03:00
Daosheng Mu fc365d059b Bug 1523351 - Part 1: GamepadTouch and GamepadLightIndicator WebAPI implementation. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20744

--HG--
extra : moz-landing-system : lando
2019-05-23 05:36:31 +00:00
Cosmin Sabou 679b5e2db1 Backed out 5 changesets (bug 1485040) for causing build bustages on test_mozwebidlcodegen. CLOSED TREE
Backed out changeset b417c2d937e8 (bug 1485040)
Backed out changeset c567c4c7438f (bug 1485040)
Backed out changeset 806c36cb2c4c (bug 1485040)
Backed out changeset 0fbb490ffc7f (bug 1485040)
Backed out changeset a9622e7761eb (bug 1485040)
2018-09-13 23:04:55 +03:00
Andrew McCreight 93b3b0138c Bug 1485040, part 5 - Automatically fix mode lines in WebIDL files r=qdot
This patch was generated by my modeline.py script.

MozReview-Commit-ID: EbVjPLwiUAT

Depends on D4159

Differential Revision: https://phabricator.services.mozilla.com/D4161

--HG--
extra : moz-landing-system : lando
2018-09-13 19:30:51 +00: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
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 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
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 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
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 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
Snigdha Agarwal eb67e9d016 Bug 852257 - implement Gamepad.timestamp property; r=ted, r=smaug
--HG--
extra : rebase_source : 39bb03690dd1b455c73604eca3eb0f2811449a54
extra : amend_source : 34220433ef534585057c0a7f0fca370b8cb0bc86
2015-01-07 14:17:04 -05:00
Ted Mielczarek 9ca7ade729 Bug 1014162 - Make Gamepad.mapping into an enum. r=smaug 2014-05-23 07:39:13 -04:00
Boris Zbarsky fbe86de963 Bug 949682 part 2. Make gamepad use frozen sequences. r=ted 2013-12-16 13:06:35 -05:00
Boris Zbarsky e095d01a05 Bug 947241. Make Gamepad used cached sequences for its buttons and axes. r=ted,peterv 2013-12-06 11:41:13 -05:00
Ted Mielczarek 2f0a7a6e08 Bug 926091 - Make Gamepad.buttons into an array of GamepadButton objects. r=smaug 2013-10-17 15:07:19 -04:00
Ted Mielczarek 98dadecb4e bug 860413 - Allow setting standard gamepad mapping. r=smaug 2013-04-09 08:43:25 -04:00
Ted Mielczarek c7cf034e93 bug 851547 - Make Gamepad API preffable. r=smaug
--HG--
extra : rebase_source : bc4f3c5c34d08f0af0b1ef6c35053c07fe991bf4
2013-04-09 08:43:24 -04:00
Ms2ger b8470e21af bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug
--HG--
extra : rebase_source : ae08a894b592465641ed774688957a446c8966a7
2013-04-09 08:43:25 -04:00
Ted Mielczarek a2a18ddfeb Backed out changeset dcf67f13c6bb, bug 851542 for B2G bustage. 2013-04-11 09:23:14 -04:00
Ms2ger 48e1538b4a bug 851542 - Gamepad to webidl (with nsIVariant). r=smaug 2013-04-09 08:43:25 -04:00