gecko-dev/editor/libeditor
Masayuki Nakano 99d0a9c9a4 Bug 1338451 Editor should commit composition first at handling mousedown event r=m_kato
Editor may need to create some new transaction during handling a mousedown event.  Therefore, editor needs to finish pending composition transaction.  So, mousedown event handler should commit composition first.

MozReview-Commit-ID: 2BaoYwB7wLS

--HG--
extra : rebase_source : 1babc2fd37ff08a1316a62943adc2a7a36d8ca53
2017-02-10 16:51:59 +09:00
..
crashtests Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me 2017-01-31 17:37:08 +01:00
tests Bug 1270235 - Part 2. Add test. r=masayuki 2017-02-13 15:46:15 +09:00
CSSEditUtils.cpp Bug 1323138 - CSSEditUtils should use atom for CSS property if possible. r=masayuki 2016-12-12 00:03:36 -10:00
CSSEditUtils.h Bug 1323138 - CSSEditUtils should use atom for CSS property if possible. r=masayuki 2016-12-12 00:03:36 -10:00
ChangeAttributeTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
ChangeAttributeTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
ChangeStyleTransaction.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
ChangeStyleTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
CompositionTransaction.cpp Bug 1310912 - Part 4. RangeUpdater should be called on DoTransaction. r=masayuki 2016-11-12 14:56:33 +09:00
CompositionTransaction.h Bug 1310912 - Part 4. RangeUpdater should be called on DoTransaction. r=masayuki 2016-11-12 14:56:33 +09:00
CreateElementTransaction.cpp Bug 1332984 - Clean up usage of nsIDOMCharacterData into editor. r=masayuki 2017-01-23 14:14:30 +09:00
CreateElementTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
DeleteNodeTransaction.cpp Bug 1309720, ensure expected DOM tree operations when calling insertBefore, r=ehsan 2016-10-14 15:33:42 +03:00
DeleteNodeTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
DeleteRangeTransaction.cpp Bug 1332984 - Clean up usage of nsIDOMCharacterData into editor. r=masayuki 2017-01-23 14:14:30 +09:00
DeleteRangeTransaction.h Bug 1260651 part.59 Rename nsEditor to mozilla::EditorBase (and also their file names) r=mccr8 2016-07-08 13:10:13 +09:00
DeleteTextTransaction.cpp Bug 1310618 Replace nsresult variables |res| with |rv| under editor/ r=Ehsan 2016-10-19 18:09:33 +09:00
DeleteTextTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditActionListener.h
EditAggregateTransaction.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
EditAggregateTransaction.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditTransactionBase.cpp Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditTransactionBase.h Bug 1260651 part.60 editor/libeditor should export some headers which are required by other modules and other modules shouldn't use local include for them r=mccr8 2016-07-08 14:03:31 +09:00
EditorBase.cpp Bug 1337718 part.1 Make EditorBase::HandleKeyPressEvent() take WidgetKeyboardEvent* instead of nsIDOMKeyEvent* r=m_kato 2017-02-08 20:18:17 +09:00
EditorBase.h Bug 1337718 part.1 Make EditorBase::HandleKeyPressEvent() take WidgetKeyboardEvent* instead of nsIDOMKeyEvent* r=m_kato 2017-02-08 20:18:17 +09:00
EditorCommands.cpp Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky 2017-01-05 15:31:56 +08:00
EditorCommands.h Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorController.cpp Bug 748308 - Support insertParagraph and insertLineBreak per spec/Blink/WebKit; r=masayuki 2016-08-23 14:13:17 +03:00
EditorController.h Bug 1260651 part.33 Rename nsEditorController to mozilla::EditorController (and their files too) r=mccr8 2016-07-08 14:26:02 +09:00
EditorEventListener.cpp Bug 1338451 Editor should commit composition first at handling mousedown event r=m_kato 2017-02-10 16:51:59 +09:00
EditorEventListener.h Bug 1338451 Editor should commit composition first at handling mousedown event r=m_kato 2017-02-10 16:51:59 +09:00
EditorUtils.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
EditorUtils.h Bug 1316302 part.3 Create EditActionResult class for making the methods which return nsresult, handled and canceled with out params r=smaug 2016-11-18 17:59:23 +09:00
EditorUtils.js
EditorUtils.manifest
HTMLAbsPositionEditor.cpp Bug 1313986 - Part 4. Use Element instead of nsIDOMElement for resizer. r=masayuki 2016-11-24 15:58:01 +09:00
HTMLAnonymousNodeEditor.cpp Bug 1313986 - Part 4. Use Element instead of nsIDOMElement for resizer. r=masayuki 2016-11-24 15:58:01 +09:00
HTMLEditRules.cpp Bug 1270235 - Part 1. Check parent node is null in RemoveEmptyNodes. r=masayuki 2017-02-13 15:46:09 +09:00
HTMLEditRules.h Bug 1324505 - Part 3. Clean up HTMLEditRules::PopListItem. r=masayuki 2017-01-11 19:07:33 +09:00
HTMLEditUtils.cpp Bug 1322938 - Basic implementation of HTMLDialogElement. r=smaug, masayuki 2016-12-23 16:01:50 +01:00
HTMLEditUtils.h Bug 1260651 part.16 Rename nsHTMLEditUtils to mozilla::HTMLEditUtils (and their files too) r=mccr8 2016-07-07 14:01:12 +09:00
HTMLEditor.cpp Bug 1337718 part.1 Make EditorBase::HandleKeyPressEvent() take WidgetKeyboardEvent* instead of nsIDOMKeyEvent* r=m_kato 2017-02-08 20:18:17 +09:00
HTMLEditor.h Bug 1337718 part.1 Make EditorBase::HandleKeyPressEvent() take WidgetKeyboardEvent* instead of nsIDOMKeyEvent* r=m_kato 2017-02-08 20:18:17 +09:00
HTMLEditorDataTransfer.cpp Bug 795418 - Ensure that the inserted wrapper element has a frame to make it IsEditable. r=masayuki 2017-01-27 00:24:00 +01:00
HTMLEditorEventListener.cpp Bug 1338451 Editor should commit composition first at handling mousedown event r=m_kato 2017-02-10 16:51:59 +09:00
HTMLEditorEventListener.h Bug 1260651 part.56 Rename nsHTMLEditor to mozilla::HTMLEditor and related stuff r=mccr8 2016-07-09 11:42:33 +09:00
HTMLEditorObjectResizer.cpp Bug 1324996 - Part 2. Use nsIAtom to change attirbute if possible. r=masayuki 2016-12-20 20:53:00 +09:00
HTMLEditorObjectResizerUtils.h Bug 1260651 part.57 Move classes in nsHTMLObjectResizer.h into mozilla namespace and its file name should be HTMLEditorObjectResizerUtils.h r=mccr8 2016-07-07 19:49:07 +09:00
HTMLInlineTableEditor.cpp Bug 1313986 - Part 4. Use Element instead of nsIDOMElement for resizer. r=masayuki 2016-11-24 15:58:01 +09:00
HTMLStyleEditor.cpp Bug 1324996 - Part 2. Use nsIAtom to change attirbute if possible. r=masayuki 2016-12-20 20:53:00 +09:00
HTMLTableEditor.cpp Bug 1318479 part 2. Remove uses of nsIDOMNode::AppendChild in editor. r=ehsan 2016-11-18 16:38:29 -05:00
HTMLURIRefObject.cpp Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj 2016-11-10 14:11:27 +11:00
HTMLURIRefObject.h Bug 1260651 part.46 Rename nsHTMLURIRefObject to mozilla::HTMLURIRefObject (and also their file names) r=mccr8 2016-07-07 18:40:45 +09:00
InsertNodeTransaction.cpp Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
InsertNodeTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
InsertTextTransaction.cpp Bug 1310912 - Part 4. RangeUpdater should be called on DoTransaction. r=masayuki 2016-11-12 14:56:33 +09:00
InsertTextTransaction.h Bug 1310912 - Part 4. RangeUpdater should be called on DoTransaction. r=masayuki 2016-11-12 14:56:33 +09:00
InternetCiter.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
InternetCiter.h Bug 1260651 part.36 Rename nsInternetCiter to mozilla::InternetCiter (and their files too) r=mccr8 2016-07-07 18:00:19 +09:00
JoinNodeTransaction.cpp Bug 1309720, ensure expected DOM tree operations when calling insertBefore, r=ehsan 2016-10-14 15:33:42 +03:00
JoinNodeTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
PlaceholderTransaction.cpp Bug 1337698 - Part 1. PlaceholderTransaction should use UniquePtr. r=masayuki 2017-02-09 14:26:10 +09:00
PlaceholderTransaction.h Bug 1337698 - Part 1. PlaceholderTransaction should use UniquePtr. r=masayuki 2017-02-09 14:26:10 +09:00
SelectionState.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
SelectionState.h Bug 1260651 part.49 Rename nsTextEditRules to mozilla::TextEditRules (and also their file names) r=mccr8 2016-07-09 11:34:41 +09:00
SplitNodeTransaction.cpp Bug 1309720, ensure expected DOM tree operations when calling insertBefore, r=ehsan 2016-10-14 15:33:42 +03:00
SplitNodeTransaction.h Bug 1260651 part.61 Replace "etc" with "etc." r=mccr8 2016-07-08 14:15:21 +09:00
StyleSheetTransactions.cpp Bug 1334372 - Part 1. Use EditorBase directly in AddStyleSheetTransaction/RemoveStyleSheetTransaction. r=masayuki 2017-01-27 13:15:20 +09:00
StyleSheetTransactions.h Bug 1334372 - Part 1. Use EditorBase directly in AddStyleSheetTransaction/RemoveStyleSheetTransaction. r=masayuki 2017-01-27 13:15:20 +09:00
TextEditRules.cpp Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
TextEditRules.h Bug 1337273 - Don't use mTextEditor from HTMLEditRules. r=masayuki 2017-02-08 18:32:32 +09:00
TextEditRulesBidi.cpp Bug 1311240 Fix odd "{" and "}" of control statements in editor for conforming to our coding rules r=smaug 2016-10-24 11:27:45 +09:00
TextEditUtils.cpp Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
TextEditUtils.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00
TextEditor.cpp Bug 1337718 part.1 Make EditorBase::HandleKeyPressEvent() take WidgetKeyboardEvent* instead of nsIDOMKeyEvent* r=m_kato 2017-02-08 20:18:17 +09:00
TextEditor.h Bug 1337718 part.1 Make EditorBase::HandleKeyPressEvent() take WidgetKeyboardEvent* instead of nsIDOMKeyEvent* r=m_kato 2017-02-08 20:18:17 +09:00
TextEditorDataTransfer.cpp Bug 1335997 - Part 1. Don't use virtual method for GetAndInitDocEncoder and InsertTextFromTransferable. r=masayuki 2017-02-02 13:55:09 +09:00
TextEditorTest.cpp Bug 1311606 Rename |result| of nsresult variants to |rv| in editor r=smaug 2016-10-25 00:43:49 +09:00
TextEditorTest.h
TypeInState.cpp Bug 1337698 - Part 3. TypeInState should use UniquePtr. r=masayuki 2017-02-08 18:14:53 +09:00
TypeInState.h Bug 1337698 - Part 3. TypeInState should use UniquePtr. r=masayuki 2017-02-08 18:14:53 +09:00
WSRunObject.cpp Bug 1315065 When selection is collapsed in an empty text node, Backspace/Delete key press should modify the nearest text node r=smaug 2016-11-11 12:24:21 +09:00
WSRunObject.h Bug 1316206 - Fix RefPtr assignments from 0 - r=froydnj 2016-11-08 14:34:06 +11:00
moz.build Bug 1312991 Get rid of nsIHTMLEditor::SetDocumentTitle() and mozilla::SetDocumentTitleTransaction r=smaug 2016-12-26 17:46:23 +09:00
nsIAbsorbingTransaction.h Bug 1337698 - Part 1. PlaceholderTransaction should use UniquePtr. r=masayuki 2017-02-09 14:26:10 +09:00
nsIEditRules.h Bug 1260651 part.58 Rename nsPlaintextEditor to mozilla::TextEditor (and their file names too) r=mccr8 2016-07-09 11:54:50 +09:00