Commit Graph

22 Commits

Author SHA1 Message Date
Doug Turner
d75eb58a3f Bug 734391 - coalesce the device motion events. r=jdm 2012-03-09 10:40:43 -08:00
Doug Turner
99adfcf041 Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 16:57:51 -07:00
Doug Turner
cb5e3dd11b Bug 734325 - implement compassneedscalibration event. r=jdm 2012-03-13 16:57:09 -07:00
Doug Turner
0648b34ca3 Bug 733653 - use 100ms as the default sensor poll hint. Ensuring that our sensors are polled allows us to conform to the DeviceOrientation Event Specification. See DeviceMotionEvent.interval. r=jdm 2012-03-13 16:57:09 -07:00
Ed Morley
72b4537851 Backout 8b74d5ae78c3 & c619bbb2951f (bug 734391), 772c994fa869 (bug 734324), fd23ff0f9dd1 (bug 734325), d1e037a9390e (bug 733653), 3a7bf79b5b2d (bug 733650) & 9d9392fce538 (bug 733652) for OS X M1 & M3 orange 2012-03-13 22:29:29 +00:00
Doug Turner
c60f675449 Bug 734391 - coalesce the device motion events. r=jdm 2012-03-09 10:40:43 -08:00
Doug Turner
dd357ccffe Bug 734324 - implement device motion - rotation rate and acceleration. r=jdm 2012-03-13 10:00:02 -07:00
Doug Turner
968cf06489 Bug 734325 - implement compassneedscalibration event. r=jdm 2012-03-13 09:59:24 -07:00
Doug Turner
edffb9b4d9 Bug 733653 - use 100ms as the default sensor poll hint. Ensuring that our sensors are polled allows us to conform to the DeviceOrientation Event Specification. See DeviceMotionEvent.interval. r=jdm 2012-03-13 09:59:24 -07:00
Doug Turner
168be1c4e1 Bug 726502 - nsDeviceMotion::DeviceMotionChanged may index out of bounds mWindowListeners array. r=smaug 2012-03-09 08:41:25 -08:00
Marco Bonardo
25233e6a0a Backout 4a1f94ebd302 (bug 726502) because it accesses a bogus index in an infinite loop. 2012-03-10 12:08:27 +01:00
Doug Turner
f175069fb2 Bug 726502 - nsDeviceMotion::DeviceMotionChanged may index out of bounds mWindowListeners array. r=smaug 2012-03-09 08:41:25 -08:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Josh Matthews
6a38c7561a Bug 684599 - Avoid null dereference when chacking if a window's in the background. r=smaug 2011-09-04 14:53:39 -04:00
Doug Turner
9ad60255c3 Bug 681562 - Restrict DeviceMotion to the active document. r=smaug 2011-08-31 19:39:49 -07:00
Ehsan Akhgari
e48161b8ff Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking 2011-08-10 01:36:00 -04:00
Josh Matthews
9b6a341038 Bug 676316 - Reverse the device motion listener removal early return logic. r=dougt 2011-08-05 10:33:06 -04:00
Doug Turner
8ef2e2af3a Bug 675126 - Logic error in AddWindowListener which prevents all window listeners from being added r=dougt 2011-07-28 20:26:20 -07:00
Josh Matthews
885af129ba Bug 673472 - Avoid adding multiple copies of device motion listeners. r=dougt 2011-07-26 12:27:11 -04:00
Doug Turner
529ac05c54 Bug 669105 - Leak-until-shutdown with deviceorientation and unload listeners. r=smaug 2011-07-06 22:56:32 -07:00
Doug Turner
104a8914c7 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00