gecko-dev/widget/windows
Masayuki Nakano c3611a1825 Bug 1278084 part.2 TSFTextStore should allow TSF to lock the document even during destroying r=m_kato
While a TSFTextStore instance is being destroyed, TSFTextStore::Destroy() tries to commit remaining composition and notify TSF of destroying the view.  At this moment, TSF/TIP may try to commit the composition or retrieve the contents with calling ITextStoreACP::RequestLock() but currently TSFTextStore disallows the requests to lock of them.  This means that TSFTextStore never sends composition commit events asynchronously.  Therefore, TextComposition may keep waiting remaining composition events but this causes odd behavior because they won't be fired.

For avoiding this issue, TSFTextStore should behave as normal even while it's being destroyed.  Fortunately, if there is a composition, it always has mLockedContent and mSelection.  So, it can compute expected results of TSF/TIP with them.

MozReview-Commit-ID: 2DSCGXXkLx1

--HG--
extra : rebase_source : 1dc5d08186bc50e7c3f1d9c5fe885ed855db8319
2016-06-08 19:12:07 +09:00
..
res
tests
AudioSession.cpp Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
AudioSession.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
GfxInfo.cpp Bug 1274635: Have OperatingSystem an enum class, change All to mean All Windows. r=BenWa 2016-06-03 16:13:08 -04:00
GfxInfo.h Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan 2016-04-13 17:12:47 -04:00
IEnumFE.cpp
IEnumFE.h
IMMHandler.cpp Bug 1277756 part.7 Rename TextRangeType::NS_TEXTRANGE_SELECTEDCONVERTEDTEXT to TextRangeType::eSelectedClause r=smaug 2016-06-03 19:15:21 +09:00
IMMHandler.h Bug 1137561 part.3 Make IMMHandler use TextEventDispatcher r=m_kato 2016-03-16 13:47:48 +09:00
InkCollector.cpp Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
InkCollector.h
JumpListBuilder.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
JumpListBuilder.h
JumpListItem.cpp
JumpListItem.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
KeyboardLayout.cpp Bug 1254755 part.4 Rename WidgetKeyboardEvent::location to WidgetKeyboardEvent::mLocation r=smaug 2016-05-12 18:17:22 +09:00
KeyboardLayout.h Bug 1261880 NativeKey should decide printable KeyboardEvent.key value of keydown and keypress events with following WM_CHAR message of WM_KEYDOWN r=m_kato 2016-05-11 16:47:38 +09:00
LSPAnnotator.cpp Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
moz.build Remove Windows-specific compositor calls to nsIWidget. (bug 1265975 part 5, r=jimm) 2016-05-04 22:00:14 -07:00
mozwrlbase.h
nsAppShell.cpp Bug 1041599 - Maintain a single volume control session between browser, content, and plugins on Windows. r=aklotz 2016-03-13 08:25:23 -05:00
nsAppShell.h
nsBidiKeyboard.cpp Bug 1260091 - Move using SendBidiKeyboardNotify to WidgetUtils. r=masayuki 2016-05-19 17:47:49 +09:00
nsBidiKeyboard.h Bug 1033488 - Send RTL information to child process by WM_INPUTLANGCHANGE. r=masayuki 2016-03-11 17:48:10 +09:00
nsClipboard.cpp Bug 860857, support custom datatransfer types using a special type, r=smaug,jmathies,mstange 2016-04-21 14:11:14 -04:00
nsClipboard.h Bug 860857, support custom datatransfer types using a special type, r=smaug,jmathies,mstange 2016-04-21 14:11:14 -04:00
nsColorPicker.cpp Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsColorPicker.h Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsDataObj.cpp Bug 860857, support custom datatransfer types using a special type, r=smaug,jmathies,mstange 2016-04-21 14:11:14 -04:00
nsDataObj.h
nsDataObjCollection.cpp
nsDataObjCollection.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsdefs.h
nsDeviceContextSpecWin.cpp Bug 1189846 Part 5: Remove displayJobProperties from nsIPrintOptions. r=jimm 2016-05-16 10:40:54 +01:00
nsDeviceContextSpecWin.h Bug 1257791: Return correct DPI and printing scale from nsDeviceContextSpecWin when printing to PDF. r=jimm 2016-03-19 11:01:30 +00:00
nsDragService.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsDragService.h
nsFilePicker.cpp Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
nsFilePicker.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsIdleServiceWin.cpp
nsIdleServiceWin.h
nsImageClipboard.cpp
nsImageClipboard.h
nsLookAndFeel.cpp Bug 1243720 - Send accessibility theme state down to the content process on Windows. r=jimm 2016-02-03 15:49:36 -05:00
nsLookAndFeel.h Bug 1243720 - Send accessibility theme state down to the content process on Windows. r=jimm 2016-02-03 15:49:36 -05:00
nsNativeDragSource.cpp
nsNativeDragSource.h
nsNativeDragTarget.cpp Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug 2016-04-18 23:09:02 +09:00
nsNativeDragTarget.h
nsNativeThemeWin.cpp Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley 2016-05-19 10:58:00 +02:00
nsNativeThemeWin.h Bug 1255214 - Only repaint GTK scrollbar button if its enablement actually changed. r=mstange 2016-04-20 19:49:09 -04:00
nsPrintOptionsWin.cpp Bug 1270447 Part 4: Remove redundant lines in nsPrintOptionsWin::DeserializeToPrintSettings. r=jimm 2016-05-29 19:53:40 +01:00
nsPrintOptionsWin.h
nsPrintSettingsWin.cpp Bug 1271900: Don't require a minimum page size when setting up DEVMODE from print settings. r=jimm 2016-05-11 10:18:10 +01:00
nsPrintSettingsWin.h Bug 1238964 Part 1: Hold new printable page sizes in print nsIPrintSettingsWin. r=jimm 2016-01-22 16:05:19 +00:00
nsScreenManagerWin.cpp
nsScreenManagerWin.h Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
nsScreenWin.cpp Bug 1251624 - patch 2 - Check for scaling override (devPixelsPerPx setting) in nsScreenWin::GetDefaultCSSScaleFactor, for proper window positioning when a custom scale factor is used. r=emk 2016-02-27 15:44:59 +00:00
nsScreenWin.h Bug 1246382 - Screen rect in desktop pixels should not be affected by devPixelsPerPx override. r=emk 2016-02-08 12:53:10 +00:00
nsSound.cpp Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
nsSound.h
nsToolkit.cpp
nsToolkit.h
nsUXThemeConstants.h
nsUXThemeData.cpp
nsUXThemeData.h
nsWidgetFactory.cpp Bug 1033488 - Send RTL information to child process by WM_INPUTLANGCHANGE. r=masayuki 2016-03-11 17:48:10 +09:00
nsWindow.cpp Bug 1276120, hide popups when a parent window is being minimized, handles the case where the window is minimized via a keyboard shortcut, r=jmathies 2016-06-03 13:59:34 -04:00
nsWindow.h Move transparency handling to WinCompositorWigetProxy. (bug 1265975 part 4, r=jimm) 2016-05-04 22:00:14 -07:00
nsWindowBase.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
nsWindowBase.h Bug 1250505 - Convert SynthesizeNativeTouchPoint and SynthesizeNativeTouchTap to take a LayoutDeviceIntPoint instead of a ScreenPoint. r=njn 2016-04-15 06:39:36 -04:00
nsWindowDbg.cpp
nsWindowDbg.h
nsWindowDefs.h Bug 1257759 part.2 Separate Windows' message and related definitions from nsWindowDefs.h to mozilla/widget/WinMessages.h r=jimm 2016-04-09 15:15:31 +09:00
nsWindowGfx.cpp Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan. 2016-06-07 09:39:56 +10:00
nsWindowGfx.h
nsWinGesture.cpp Bug 1259667 - part5: rename WidgetSimpleGestureEvent.delta to mDelta. r=masayuki 2016-05-10 04:16:55 +09:00
nsWinGesture.h Bug 1259666 part 1 - rename variable and definition change - r=masayuki 2016-04-21 19:32:59 -07:00
resource.h
TaskbarPreview.cpp Bug 1277156 - TaskbarPreview::Disable should check whether window is destroyed. r=jimm 2016-06-01 14:30:23 +09:00
TaskbarPreview.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
TaskbarPreviewButton.cpp
TaskbarPreviewButton.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
TaskbarTabPreview.cpp
TaskbarTabPreview.h
TaskbarWindowPreview.cpp
TaskbarWindowPreview.h
touchinjection_sdk80.h
TSFTextStore.cpp Bug 1278084 part.2 TSFTextStore should allow TSF to lock the document even during destroying r=m_kato 2016-06-08 19:12:07 +09:00
TSFTextStore.h Bug 1278084 part.2 TSFTextStore should allow TSF to lock the document even during destroying r=m_kato 2016-06-08 19:12:07 +09:00
widget.rc
WidgetTraceEvent.cpp Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
WinCompositorWidgetProxy.cpp Bug 1255703 - Use image surfaces for basic compositor on Windows r=mattwoodrow 2016-05-12 07:23:11 -07:00
WinCompositorWidgetProxy.h Bug 1255703 - Use image surfaces for basic compositor on Windows r=mattwoodrow 2016-05-12 07:23:11 -07:00
WindowHook.cpp
WindowHook.h
WindowsUIUtils.cpp Bug 1263677 - Disable windows.ui.viewmanagement.h usage on mingw. r=jimm 2016-04-12 12:38:00 +02:00
WindowsUIUtils.h
WinIMEHandler.cpp Bug 1275906 part.1 Rename NOTIFY_IME_OF_COMPOSITION_UPDATE to NOTIFY_IME_OF_COMPOSITION_EVENT_HANDLED r=m_kato 2016-05-31 11:39:15 +09:00
WinIMEHandler.h Bug 1137561 part.1 Implement WinTextEventDispatcherListener as a singleton class for using TextEventDispatcher at handling native keyboard and IME events r=m_kato 2016-03-16 13:47:48 +09:00
WinMessages.h Bug 1257759 part.9 Implement nsWindow::OnKeyEventInPluginProcess() on Windows r=jimm 2016-04-15 17:02:36 +09:00
WinModifierKeyState.h Bug 1257759 part.3 ModifierKeyState should be available in plugin module r=jimm 2016-04-09 15:45:06 +09:00
WinMouseScrollHandler.cpp Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug 2016-04-18 23:09:02 +09:00
WinMouseScrollHandler.h Bug 1153156 part.3 Don't allow to override system scroll speed if the wheel event causes too fast scroll r=smaug+jimm 2016-01-27 15:09:13 +09:00
WinNativeEventData.h Bug 1257759 part.5 PluginInstanceChild should post received native key event to chrome process if the key combination may be a shortcut key r=jimm 2016-04-19 20:09:37 +09:00
WinTaskbar.cpp Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00
WinTaskbar.h
WinTextEventDispatcherListener.cpp Add WinCompositorWidgetProxy. (bug 1265975 part 1, r=jimm) 2016-05-04 22:00:13 -07:00
WinTextEventDispatcherListener.h Bug 1137561 part.1 Implement WinTextEventDispatcherListener as a singleton class for using TextEventDispatcher at handling native keyboard and IME events r=m_kato 2016-03-16 13:47:48 +09:00
WinUtils.cpp Bug 1253446 - patch 2 - Return the proper scaling factor when querying the primary screen on Windows. r=emk 2016-03-04 16:14:43 +00:00
WinUtils.h Bug 1265953, part 2 - Convert much of the rest of the widget code from nsAutoPtr to UniquePtr. r=mstange 2016-04-19 21:51:25 +01:00