gecko-dev/widget
Masayuki Nakano 53e33d996d Bug 1376417 - part2: ContentCache should adjust composition start offset when querying content with relative offset r=m_kato
When IME commits composition and restarts composition immediately, query event with relative offset doesn't work as expected until the commit is handled in the remote process.

Therefore, this patch makes ContentCacheInParent store the last commit string length until it's handled in the content.  Note that ContentCache doesn't need to store all commit string lengthes which have not been handled in the remote process yet because it's important and possible to return next character of commited composition only when there are not 2 or more pending compositions.  Even if there are, i.e., the remote process is too busy, ContentCacheInParent doesn't have necessary character rect.

MozReview-Commit-ID: 8gBr8kO4JcF

--HG--
extra : rebase_source : f4748928c07ee284a5c312b89291e3a4fb8f790d
2017-06-29 18:31:09 +09:00
..
android Backed out changeset a6f8452cbd4b (bug 1367850) for Android mochitest crashes with EnqueueTask, e.g. bugs 1376668, 1376669, 1376670, test_ext_background_generated_url.html. r=backout a=backout 2017-06-29 03:19:50 +02:00
cocoa Bug 1376417 - part1: IMEInputHandler should notify Cocoa of layout change with [NSTextInputContext invalidateCharacterCoordinates] r=m_kato 2017-06-29 16:03:57 +09:00
crashtests Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
gtk Backed out changeset e744a3029de2 (bug 1375940) for failing dom/events/test/test_dblclick_kill_window.html. r=backout 2017-06-28 02:24:15 +02:00
gtkxtbin Bug 1355089 - add BUG_COMPONENT to widget/* files. r=mstange,jimm 2017-04-14 05:54:36 -04:00
headless Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
reftests Backed out changeset e528713f882c (bug 1365614) 2017-05-22 15:45:34 +02:00
tests Bug 1375825 - part1: Create test for querying text rect in a non-editable element in a contenteditable element r=smaug 2017-06-23 22:36:05 +09:00
uikit Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange. 2017-06-22 17:08:53 +10:00
windows Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
x11 Bug 1355089 - add BUG_COMPONENT to widget/* files. r=mstange,jimm 2017-04-14 05:54:36 -04:00
xremoteclient Bug 1355089 - add BUG_COMPONENT to widget/* files. r=mstange,jimm 2017-04-14 05:54:36 -04:00
BasicEvents.h Bug 1351783 part 12 - Create and sync focus sequence numbers. r=kats,botond,dvander 2017-06-05 19:45:31 -05:00
CommandList.h
CompositorWidget.cpp Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
CompositorWidget.h Add IsHidden to CompositorWidget. (bug 1365879 part 10, r=rhunt) 2017-06-20 01:17:19 -07:00
ContentCache.cpp Bug 1376417 - part2: ContentCache should adjust composition start offset when querying content with relative offset r=m_kato 2017-06-29 18:31:09 +09:00
ContentCache.h Bug 1376417 - part2: ContentCache should adjust composition start offset when querying content with relative offset r=m_kato 2017-06-29 18:31:09 +09:00
ContentEvents.h Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug 2017-04-04 15:36:22 +03:00
EventClassList.h Bug 1314388 - Remove SVGZoomEvent; r=longsonr,smaug 2017-04-04 15:36:22 +03:00
EventForwards.h Bug 1339543 part 1 Wrap nsIWidget::ExecuteNativeKeyBinding() with a WidgetKeyboardEvent method and users of the method should use it r=smaug 2017-05-19 16:50:30 +09:00
EventMessageList.h Bug 1376424 - part1: TabChild should notify TabParent of "request to commit composition" handled r=m_kato 2017-06-27 23:41:12 +09:00
FontRange.h
GfxDriverInfo.cpp Backed out changeset cf43cacdb262 (bug 1294232) for XPCShell failures 2016-09-21 14:24:26 +08:00
GfxDriverInfo.h Backed out changeset cf43cacdb262 (bug 1294232) for XPCShell failures 2016-09-21 14:24:26 +08:00
GfxInfoBase.cpp Add Telemetry environment and failure tracking for Advanced Layers. (bug 1365879 part 23, r=milan, data_r=bsmedberg) 2017-06-23 14:23:13 -07:00
GfxInfoBase.h Bug 1348414 Always snapshot after no more paints are pending if WR is enabled. r=mattwoodrow 2017-03-22 12:20:00 -07:00
GfxInfoCollector.cpp
GfxInfoCollector.h
GfxInfoWebGL.cpp
GfxInfoWebGL.h
GfxInfoX11.cpp Bug 1341959: Part 1. Allow WebGL2 to be blocked separately from WebGL overall. r=mchang 2017-03-02 15:48:06 -05:00
GfxInfoX11.h Backed out changeset cf43cacdb262 (bug 1294232) for XPCShell failures 2016-09-21 14:24:26 +08:00
IMEData.h Bug 1310454 part 2 - TSFTextStore::SetInputContext() should do nothing when it's called for initializing native IME context when a widget is created r=m_kato 2017-05-19 15:52:59 +09:00
InProcessCompositorWidget.cpp Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander 2017-01-12 17:29:42 -05:00
InProcessCompositorWidget.h Bug 1329362 - part 2, Add accessor functions for EGLNativeWindowType, ANativeWindow, and EGLSurface to AndroidCompositorWidget r=dvander,kats 2017-01-27 09:32:24 -08:00
InputData.cpp Bug 1351783 part 12 - Create and sync focus sequence numbers. r=kats,botond,dvander 2017-06-05 19:45:31 -05:00
InputData.h Bug 1351783 part 15 - Hook up APZC for scrolling based on a KeyboardScrollAction. r=kats,botond 2017-06-06 04:47:10 -05:00
LookAndFeel.h Backed out changeset 31a3362f641c (bug 1344910) for crashes in marionette.py | application crashed 2017-06-21 15:00:08 +02:00
LSBUtils.cpp Bug 1289561 - Implement LSB release annotation in crash reports. r=jrmuizel 2016-07-26 14:23:47 -04:00
LSBUtils.h Bug 1289561 - Implement LSB release annotation in crash reports. r=jrmuizel 2016-07-26 14:23:47 -04:00
MiscEvents.h Bug 1259669 Rename WidgetCommandEvent::command to WidgetCommandEvent::mCommand r=masayuki 2016-05-12 13:28:31 +09:00
MouseEvents.h Bug 1323158 - Part 1: Fire pointer and mouse boundary events when capturing the pointer. r=smaug 2017-01-18 15:25:44 +08:00
moz.build Bug 1368597 label CompositorWidget and WindowSurface as Graphics BUG_COMPONENT r=rhunt 2017-05-30 14:29:22 +12:00
NativeKeyToDOMCodeName.h Bug 1285554 - Remove remnants of widget/qt. r=dougt,mshal. 2016-07-12 09:16:45 +10:00
NativeKeyToDOMKeyName.h Bug 1339509 Map ISO_Left_Tab to DOM Tab key r=karlt 2017-02-17 16:47:35 +09:00
nsAppShellSingleton.h
nsAutoRollup.cpp Bug 1343977 - Ensure that synthetic mouseclicks generated from touch gestures don't reopen rollups. r=botond,enndeakin+6102 2017-03-13 10:44:59 -04:00
nsAutoRollup.h Bug 1343977 - Ensure that synthetic mouseclicks generated from touch gestures don't reopen rollups. r=botond,enndeakin+6102 2017-03-13 10:44:59 -04:00
nsBaseAppShell.cpp Bug 1331804 - Add more runnable names (r=ehsan) 2017-01-24 16:34:37 -08:00
nsBaseAppShell.h
nsBaseClipboard.cpp Bug 1261299 - Implement nsIClipboard methods in nsClipboard.mm with methods specific for osx. (EmptyClipboard, SetData) methods modified from nsBaseClipboard to also set the current selection cache. r=jimm 2016-08-11 16:43:32 -04:00
nsBaseClipboard.h Bug 1261299 - Implement nsIClipboard methods in nsClipboard.mm with methods specific for osx. (EmptyClipboard, SetData) methods modified from nsBaseClipboard to also set the current selection cache. r=jimm 2016-08-11 16:43:32 -04:00
nsBaseDragService.cpp Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange. 2017-06-22 17:08:53 +10:00
nsBaseDragService.h Bug 1295272 - Discard internal DataTransferItem data in nsBaseDragService::EndDragSession - r=enndeakin 2016-11-28 11:39:22 +00:00
nsBaseFilePicker.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsBaseFilePicker.h Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
nsBaseScreen.cpp Bug 1194751 - Part 2. Remove unused nsIScreen::LockMinimumBrightness and related methods. r=snorp 2017-03-09 19:16:29 +08:00
nsBaseScreen.h Bug 1194751 - Part 3. Remove unused nsIScreen::rotation attribute. r=jimm 2017-03-09 19:16:33 +08:00
nsBaseWidget.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsBaseWidget.h Backed out changeset 844d46609652 (bug 1236512) for test failures in own test 2017-06-20 14:30:54 +02:00
nsClipboardHelper.cpp
nsClipboardHelper.h
nsClipboardProxy.cpp Bug 1310017 - Remove nsISupportsArray usage from nsITransferable and nsIFormatConverter. r=smaug 2016-10-16 12:43:56 -07:00
nsClipboardProxy.h
nsColorPickerProxy.cpp Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
nsColorPickerProxy.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
nsContentProcessWidgetFactory.cpp Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code. r=smaug 2017-03-17 11:01:57 +08:00
nsDeviceContextSpecProxy.cpp Bug 1369552. Split out DrawTargetWrapAndRecord and DrawTargetRecording. r=Bas 2017-06-12 16:52:29 -04:00
nsDeviceContextSpecProxy.h Backed out changeset a4b0052954d2 (bug 1279699) for causing various crash regressions. 2016-12-01 15:25:25 -05:00
nsDragServiceProxy.cpp Bug 1362303 - Don't use a Shmem we failed to allocate in nsContentUtils. r=Bas 2017-05-15 12:15:48 +02:00
nsDragServiceProxy.h Bug 1309698 - Remove usage of nsISupportsArray from nsIDragService. r=smaug 2016-10-18 11:56:20 -07:00
nsFilePickerProxy.cpp Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
nsFilePickerProxy.h Bug 1343212 - FilePicker child actor must not send Open() if it has been already distroyed, r=mccr8 2017-03-30 19:55:55 +02:00
nsGUIEventIPC.h Bug 1351783 part 12 - Create and sync focus sequence numbers. r=kats,botond,dvander 2017-06-05 19:45:31 -05:00
nsHTMLFormatConverter.cpp Bug 1313280 - Fix invalid non-UTF-8 bytes from widget/. r=jimm 2016-11-02 20:46:53 +09:00
nsHTMLFormatConverter.h Bug 1310017 - Remove nsISupportsArray usage from nsITransferable and nsIFormatConverter. r=smaug 2016-10-16 12:43:56 -07:00
nsIApplicationChooser.idl
nsIAppShell.idl
nsIBaseWindow.idl Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
nsIBidiKeyboard.idl
nsIClipboard.idl Bug 1261299 - Add new clipboard kSelectionCache to cache the current selection for OSX service menu. Add a constructor to nsAutoCopyListener which sets the clipboard to copy to. Pass in kSelectionCache for OSX or kSelectionClipboard for linux. r=mstange 2016-06-03 12:04:22 -04:00
nsIClipboardDragDropHookList.idl
nsIClipboardDragDropHooks.idl
nsIClipboardHelper.idl
nsIClipboardOwner.idl
nsIColorPicker.idl
nsIDeviceContextSpec.h Bug 1279628, part 2 - Switch all but one of the gfxASurface::CheckSurfaceSize calls to call Factory::CheckSurfaceSize. r=mstange 2016-06-10 13:32:01 +01:00
nsIDisplayInfo.idl
nsIdleService.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
nsIdleService.h
nsIDragService.idl Bug 606885 - Fire drag events with keyboard modifiers. r=enn 2017-02-17 11:29:42 +08:00
nsIDragSession.idl Bug 1309596, add an updateDragImage method to modify the drag feedback image during the drag, r=smaug 2016-12-23 18:09:44 -05:00
nsIFilePicker.idl Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
nsIFormatConverter.idl Bug 1310017 - Remove nsISupportsArray usage from nsITransferable and nsIFormatConverter. r=smaug 2016-10-16 12:43:56 -07:00
nsIGfxInfo.idl Add Telemetry environment and failure tracking for Advanced Layers. (bug 1365879 part 23, r=milan, data_r=bsmedberg) 2017-06-23 14:23:13 -07:00
nsIGfxInfoDebug.idl
nsIIdleService.idl
nsIIdleServiceInternal.idl
nsIJumpListBuilder.idl Bug 1354143 - Commit jump list on lazy idle thread. r=florian,jimm 2017-05-24 16:38:57 +08:00
nsIJumpListItem.idl
nsIKeyEventInPluginCallback.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
nsIMacDockSupport.idl
nsIMacWebAppUtils.idl
nsINativeMenuService.h
nsIPluginWidget.h
nsIPrintDialogService.h
nsIPrinterEnumerator.idl Bug 1313525 - Remove the nsIPrintOptions interface. r=mstange 2016-10-28 00:31:14 +01:00
nsIPrintSession.idl
nsIPrintSettings.idl Bug 1260480 - Remove mozNoMarginBoxes. r=dbaron 2016-04-06 09:53:00 +02:00
nsIPrintSettingsService.idl Bug 1189846 Part 3: Remove CreatePrintSettings nsIPrintOptions and use GetNewPrintSettings instead. r=jimm 2016-05-16 10:40:54 +01:00
nsIPrintSettingsWin.idl
nsIRollupListener.h
nsIScreen.idl Bug 1194751 - Part 6. Use mozilla::widget::ScreenManager in content process. r=mconley 2017-03-09 19:30:26 +08:00
nsIScreenManager.idl Bug 1356023 - Remove nsIScreenManager.systemDefaultScale. r=jfkthame 2017-04-13 07:20:35 +09:00
nsISound.idl
nsIStandaloneNativeMenu.idl
nsISystemStatusBar.idl
nsITaskbarOverlayIconController.idl
nsITaskbarPreview.idl
nsITaskbarPreviewButton.idl
nsITaskbarPreviewController.idl
nsITaskbarProgress.idl
nsITaskbarTabPreview.idl
nsITaskbarWindowPreview.idl
nsITransferable.idl Backed out changeset 314678959de2 (bug 1352852) for failing dom/events/test/test_dragstart.html on Windows 8 x64 with non-e10s. r=backout 2017-05-13 13:43:02 +02:00
nsIWidget.h Bug 1368846 - Display the window buttons when webrender is used. r=kats,mattwoodrow 2017-06-21 18:58:41 -04:00
nsIWidgetListener.cpp Backed out changeset 844d46609652 (bug 1236512) for test failures in own test 2017-06-20 14:30:54 +02:00
nsIWidgetListener.h Backed out changeset 844d46609652 (bug 1236512) for test failures in own test 2017-06-20 14:30:54 +02:00
nsIWindowsUIUtils.idl
nsIWinTaskbar.idl
nsNativeTheme.cpp Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
nsNativeTheme.h bug 1311604 consider block flow direction in vertical writing mode native widget layout r=jfkthame 2016-10-20 17:57:55 +13:00
nsPrimitiveHelpers.cpp Bug 860857, support custom datatransfer types using a special type, r=smaug,jmathies,mstange 2016-04-21 14:11:14 -04:00
nsPrimitiveHelpers.h
nsPrintOptionsImpl.cpp Bug 1369386 Part 2: Follow-up #if to fix non-Windows build failures. r=me 2017-06-02 12:07:31 +01:00
nsPrintOptionsImpl.h Bug 1313525 - Remove the nsIPrintOptions interface. r=mstange 2016-10-28 00:31:14 +01:00
nsPrintSession.cpp
nsPrintSession.h
nsPrintSettingsImpl.cpp Bug 1260480 - Remove mozNoMarginBoxes. r=dbaron 2016-04-06 09:53:00 +02:00
nsPrintSettingsImpl.h Bug 1260480 - Remove mozNoMarginBoxes. r=dbaron 2016-04-06 09:53:00 +02:00
nsShmImage.cpp Bug 1321129 - make nsShmImage stride compatible with XShm. r=karlt 2017-02-21 10:00:52 -05:00
nsShmImage.h Bug 1321129 - make nsShmImage stride compatible with XShm. r=karlt 2017-02-21 10:00:52 -05:00
nsTransferable.cpp Bug 1312936 - Part 1. Use ACString for nsITranserable.getAnyTransferData. r=masayuki 2016-10-26 11:07:16 +09:00
nsTransferable.h Bug 1310017 - Remove nsISupportsArray usage from nsITransferable and nsIFormatConverter. r=smaug 2016-10-16 12:43:56 -07:00
nsWidgetInitData.h Bug 1365660: Part 2 - Add a HasRemoteContent flag to popup widgets that contain remote browsers. r=kats,bas 2017-05-17 10:16:25 -07:00
nsWidgetsCID.h Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code. r=smaug 2017-03-17 11:01:57 +08:00
nsXPLookAndFeel.cpp Backed out changeset 31a3362f641c (bug 1344910) for crashes in marionette.py | application crashed 2017-06-21 15:00:08 +02:00
nsXPLookAndFeel.h Bug 1338004 - Add headless browser mode. r=jrmuizel, r=ted 2017-04-04 10:22:00 -04:00
PCompositorWidget.ipdl Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
PlatformWidgetTypes.ipdlh Move CompositorWidget construction out of nsIWidget. (bug 1281998 part 5, r=jimm) 2016-07-01 01:15:16 -07:00
PluginWidgetProxy.cpp Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm 2017-02-09 11:53:50 -05:00
PluginWidgetProxy.h Bug 1338172 part E - make all the PPluginWidget stuff Windows-only. Rip out the GTK-specific native widget support from widget/gtk/nsWindow and elsewhere, r=jimm 2017-02-09 11:53:50 -05:00
PuppetBidiKeyboard.cpp Bug 1257731 - Part 1. Send HaveBidiKeyboards information to content process. r=masayuki 2016-06-03 18:56:04 +09:00
PuppetBidiKeyboard.h Bug 1257731 - Part 1. Send HaveBidiKeyboards information to content process. r=masayuki 2016-06-03 18:56:04 +09:00
PuppetWidget.cpp merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
PuppetWidget.h Bug 1339543 part 4 Change nsIWidget::ExecuteNativeKeyBinding() to nsIWidget::GetEditCommands() which just retrieves edit commands for the type r=smaug 2017-05-19 17:49:41 +09:00
Screen.cpp Bug 1352773 - Take into account DefaultScaleOverride in Screen::GetDefaultCSSScaleFactor. r=kanru 2017-04-05 22:11:34 +09:00
Screen.h Bug 1194751 - Part 6. Use mozilla::widget::ScreenManager in content process. r=mconley 2017-03-09 19:30:26 +08:00
ScreenManager.cpp Bug 1363055 - Find a nearest screen if no screen overlaps. r=kanru 2017-05-17 23:30:05 +09:00
ScreenManager.h Bug 1356023 - Remove nsIScreenManager.systemDefaultScale. r=jfkthame 2017-04-13 07:20:35 +09:00
SharedWidgetUtils.cpp
SystemTimeConverter.h
TextEventDispatcher.cpp Bug 1217700 part.1 nsIWidget should return reference to IMENotificationRequests r=m_kato 2017-04-15 01:35:58 +09:00
TextEventDispatcher.h Bug 1217700 part.1 nsIWidget should return reference to IMENotificationRequests r=m_kato 2017-04-15 01:35:58 +09:00
TextEventDispatcherListener.h Bug 1296220 Rename nsIMEUpdatePreference to mozilla::widget::IMEUpdatePreference r=m_kato 2017-04-11 21:24:55 +09:00
TextEvents.h Bug 1351783 part 4 - Add a KeyboardShortcut type. r=kats,masayuki 2017-06-05 18:24:35 -05:00
TextRange.h Bug 1275914 part.8 TextComposition should always update its composition start offset during composing r=smaug 2016-06-20 16:34:40 +09:00
TouchEvents.h Bug 1259666 - Part 3- change displayPanFeedback to mDisplayPanFeedback - r=masayuki 2016-05-14 18:03:50 -07:00
VsyncDispatcher.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
VsyncDispatcher.h Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
WidgetEventImpl.cpp Bug 1351783 part 2 - Add a KeyboardInput type. r=kats 2017-06-05 18:09:40 -05:00
WidgetMessageUtils.h Bug 1262671 - void** -> PickleIterator (r=froydnj) 2016-05-27 09:57:38 -07:00
WidgetTraceEvent.h
WidgetUtils.cpp Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj 2016-08-24 14:47:04 +08:00
WidgetUtils.h Bug 1260091 - Move using SendBidiKeyboardNotify to WidgetUtils. r=masayuki 2016-05-19 17:47:49 +09:00
WindowSurface.h Bug 1319554 - allow WindowSurfaceX11Image to render to any visual format. r=rhunt 2016-12-01 12:15:58 -05:00
WindowSurfaceX11SHM.cpp Bug 1285561 - Refactor surface blitting on X11. r=jrmuizel 2016-07-14 10:11:46 -04:00
WindowSurfaceX11SHM.h Bug 1285561 - Refactor surface blitting on X11. r=jrmuizel 2016-07-14 10:11:46 -04:00