gecko-dev/widget/android
Jim Chen e38164a080 Bug 1492308 - 4. Add new mechanism for safely disposing native objects; r=snorp
Add a new mechanism in NativePtr::Detach to safely dispose objects. A
new disposer Runnable is passed to OnDetach functions. The OnDetach
functions invoke the disposer after changing the object state. The
disposer then makes sure the object hasn't been attached to another
native object in the meantime. Disposal is only performed when the
current native object matches the original one.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 19:59:37 +00:00
..
bindings
fennec Bug 1476145 part 9. Drop support for getting window utils via getInterface. r=nika 2018-07-24 19:47:43 -04:00
jni Bug 1492308 - 2. Create new native handle before clearing old one; r=snorp 2018-10-02 19:59:32 +00:00
AndroidAlerts.cpp
AndroidAlerts.h
AndroidBridge.cpp Bug 1486772 - Refactor the screen-orientation types and headers r=smaug 2018-08-29 20:54:56 +00:00
AndroidBridge.h Bug 1475875 - Use ScreenManager on Android r=esawin,jchen 2018-08-07 14:14:32 -05:00
AndroidBridgeUtilities.h
AndroidColors.h
AndroidCompositorWidget.cpp
AndroidCompositorWidget.h
AndroidContentController.cpp
AndroidContentController.h
AndroidDirectTexture.h
AndroidGraphicBuffer.h
AndroidUiThread.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
AndroidUiThread.h
ANRReporter.cpp
ANRReporter.h
EventDispatcher.cpp Bug 1474540 part 0 - Don't try to use mCallback's global in NativeCallbackDelegateSupport::Call. r=jchen 2018-07-26 11:10:06 +02:00
EventDispatcher.h
GeckoBatteryManager.h
GeckoEditableSupport.cpp Bug 1477469 - Check for null composition pointer; r=esawin 2018-07-24 18:14:05 -04:00
GeckoEditableSupport.h Bug 1470786 - 1. Support async text changes from replacing text; r=esawin 2018-07-17 11:22:34 -04:00
GeckoNetworkManager.h
GeckoProcessManager.h
GeckoScreenOrientation.h Bug 1486772 - Refactor the screen-orientation types and headers r=smaug 2018-08-29 20:54:56 +00:00
GeckoSystemStateListener.h Bug 1478505 - Rename GeckoInputDeviceListener to GeckoSystemStateListener. r=jchen 2018-09-15 10:03:29 +00:00
GeckoVRManager.h Bug 1465816 - Add initial code needed to support gfxVRExternal on android r=kip,jchen 2018-06-05 18:33:01 -07:00
GfxInfo.cpp Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov 2018-07-05 15:42:11 +02:00
GfxInfo.h
moz.build Bug 1475875 - Use ScreenManager on Android r=esawin,jchen 2018-08-07 14:14:32 -05:00
nsAndroidProtocolHandler.cpp
nsAndroidProtocolHandler.h
nsAppShell.cpp Bug 1478505 - Rename GeckoInputDeviceListener to GeckoSystemStateListener. r=jchen 2018-09-15 10:03:29 +00:00
nsAppShell.h Bug 1476250 - Simplify HAL initialization and shutdown to reduce the chance of leaks and UAFs r=froydnj 2018-08-31 20:29:30 +00:00
nsClipboard.cpp
nsClipboard.h
nsDeviceContextAndroid.cpp
nsDeviceContextAndroid.h
nsIAndroidBridge.idl
nsIdleServiceAndroid.cpp
nsIdleServiceAndroid.h
nsLookAndFeel.cpp Bug 1478505 - Run test_mq_prefers_reduced_motion_dynamic.html on Android. r=jchen 2018-09-15 10:05:37 +00:00
nsLookAndFeel.h Bug 1478505 - Run test_mq_prefers_reduced_motion_dynamic.html on Android. r=jchen 2018-09-15 10:05:37 +00:00
nsNativeThemeAndroid.cpp Bug 1491594 - Remove the XPCOM registration for the native theme renderer r=mstange 2018-09-20 01:20:55 +00:00
nsNativeThemeAndroid.h Bug 1478391: Autogenerate StyleAppearance. r=jwatt 2018-07-26 17:06:17 +02:00
nsPrintSettingsServiceAndroid.cpp
nsPrintSettingsServiceAndroid.h
nsWidgetFactory.cpp Bug 1491594 - Remove the XPCOM registration for the native theme renderer r=mstange 2018-09-20 01:20:55 +00:00
nsWindow.cpp Bug 1492308 - 4. Add new mechanism for safely disposing native objects; r=snorp 2018-10-02 19:59:37 +00:00
nsWindow.h Bug 1492308 - 4. Add new mechanism for safely disposing native objects; r=snorp 2018-10-02 19:59:37 +00:00
PrefsHelper.h Bug 1472523: Part 4 - Avoid unnecessary domain string duplication in preference observers. r=njn 2018-07-04 14:52:48 -07:00
ScreenHelperAndroid.cpp Bug 1476106 - Part 4 - Refresh ScreenManager data when detecting orientation changes. r=snorp 2018-08-02 22:03:59 +02:00
ScreenHelperAndroid.h Bug 1475875 - Use ScreenManager on Android r=esawin,jchen 2018-08-07 14:14:32 -05:00