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

29 Коммитов

Автор SHA1 Сообщение Дата
Jeff Gilbert 5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -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
Andrea Marchesini ac65753ef8 Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 9 - Gamepad Test, r=asuth 2017-10-24 12:02:40 +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
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
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
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
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 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 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 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 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
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
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 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 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 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
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
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
Birunthan Mohanathas 44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Andrew McCreight 023db96fd8 Bug 1152551, part 3 - Fix more mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Kyle Machulis 358e55b5b7 Bug 852944 - Gamepad API IPC; r=ted, r=baku
--HG--
extra : rebase_source : 34ca0c1e1b7fcc312b5d7c97d5bd2086af2bc7ce
2015-04-23 15:05:29 -07:00