gecko-dev/editor/libeditor
Masayuki Nakano d97102c926 Bug 1465702 - part 7: Make protected/private methods of EditorBase/TextEditor/HTMLEditor use SelectionRefPtr() instead of GetSelection() r=m_kato
Now, any protected/private methods of editor classes can refer
SelectionRefPtr() safely.  So, we can cut the cost of calling GetSelection()
only once per edit action handling.

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

--HG--
extra : moz-landing-system : lando
2018-10-30 10:04:08 +00:00
..
crashtests Bug 1451503 Move most reftest resources from chrome: to resource: r=kmag 2018-09-06 16:01:39 -07:00
tests Bug 1501259 - HTMLEditor::InsertAsPlaintextQuotation() shouldn't refer |newNode| after calling its |forget()| r=m_kato 2018-10-29 04:13:50 +00:00
CSSEditUtils.cpp Bug 1465702 - part 5: Remove unnecessary Selection argument from editor module r=m_kato 2018-10-30 10:01:38 +00:00
CSSEditUtils.h
ChangeAttributeTransaction.cpp
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp
ChangeStyleTransaction.h
CompositionTransaction.cpp
CompositionTransaction.h
CreateElementTransaction.cpp Bug 1480055 - part 2: Rename EditorBase::GetShouldTxnSetSelection() to EditorBase::AllowsTransactionsToChangeSelection() r=m_kato 2018-08-01 20:53:57 +09:00
CreateElementTransaction.h
DeleteNodeTransaction.cpp Bug 1480663 - Make EditorBase::IsModifiableNode() non-virtual r=m_kato 2018-08-03 11:10:46 +00:00
DeleteNodeTransaction.h
DeleteRangeTransaction.cpp Bug 1480055 - part 2: Rename EditorBase::GetShouldTxnSetSelection() to EditorBase::AllowsTransactionsToChangeSelection() r=m_kato 2018-08-01 20:53:57 +09:00
DeleteRangeTransaction.h
DeleteTextTransaction.cpp Bug 1480663 - Make EditorBase::IsModifiableNode() non-virtual r=m_kato 2018-08-03 11:10:46 +00:00
DeleteTextTransaction.h
EditAction.h Bug 1465702 - part 4: Make public methods of HTMLEditor create AutoEditActionDataSetter if necessary r=m_kato 2018-10-30 10:00:17 +00:00
EditActionListener.h
EditAggregateTransaction.cpp
EditAggregateTransaction.h
EditTransactionBase.cpp
EditTransactionBase.h
EditorBase.cpp Bug 1465702 - part 7: Make protected/private methods of EditorBase/TextEditor/HTMLEditor use SelectionRefPtr() instead of GetSelection() r=m_kato 2018-10-30 10:04:08 +00:00
EditorBase.h Bug 1465702 - part 5: Remove unnecessary Selection argument from editor module r=m_kato 2018-10-30 10:01:38 +00:00
EditorCommands.cpp Bug 1461708 - part 7: Make EventStateManager::HandleMiddleClickPaste() dispatch ePaste event by itself r=smaug 2018-10-10 12:05:39 +00:00
EditorCommands.h
EditorController.cpp
EditorController.h Bug 1489790 - Part 8: Remove the XPCOM component registration for @mozilla.org/editor/editorcontroller;1; r=baku 2018-09-11 09:58:33 -04:00
EditorDOMPoint.h Bug 1465478: Introduce Element::FromNode. r=smaug 2018-05-31 02:46:10 +02:00
EditorEventListener.cpp Bug 1497815 - Rename EditorEventListener::EnsureCommitCompoisition() to EditorEventListener::EnsureCommitComposition() r=m_kato 2018-10-11 09:12:15 +00:00
EditorEventListener.h Bug 1497815 - Rename EditorEventListener::EnsureCommitCompoisition() to EditorEventListener::EnsureCommitComposition() r=m_kato 2018-10-11 09:12:15 +00:00
EditorUtils.cpp Bug 1500862 - part 3: Change all stack base helper classes which access protected members of EditorBase to nested classes of EditorBase r=m_kato 2018-10-24 09:42:06 +00:00
EditorUtils.h Bug 1500862 - part 3: Change all stack base helper classes which access protected members of EditorBase to nested classes of EditorBase r=m_kato 2018-10-24 09:42:06 +00:00
HTMLAbsPositionEditor.cpp Bug 1465702 - part 7: Make protected/private methods of EditorBase/TextEditor/HTMLEditor use SelectionRefPtr() instead of GetSelection() r=m_kato 2018-10-30 10:04:08 +00:00
HTMLAnonymousNodeEditor.cpp Bug 1465702 - part 5: Remove unnecessary Selection argument from editor module r=m_kato 2018-10-30 10:01:38 +00:00
HTMLEditRules.cpp Bug 1465702 - part 6: Remove unnecessary Selection argument from TextEditRules and HTMLEditRules and rename/reimplement TextEditRules::SelectionRef() as TextEditRules::SelectionRefPtr() r=m_kato 2018-10-30 10:02:58 +00:00
HTMLEditRules.h Bug 1465702 - part 6: Remove unnecessary Selection argument from TextEditRules and HTMLEditRules and rename/reimplement TextEditRules::SelectionRef() as TextEditRules::SelectionRefPtr() r=m_kato 2018-10-30 10:02:58 +00:00
HTMLEditUtils.cpp Bug 1465702 - part 4: Make public methods of HTMLEditor create AutoEditActionDataSetter if necessary r=m_kato 2018-10-30 10:00:17 +00:00
HTMLEditUtils.h Bug 1465702 - part 4: Make public methods of HTMLEditor create AutoEditActionDataSetter if necessary r=m_kato 2018-10-30 10:00:17 +00:00
HTMLEditor.cpp Bug 1465702 - part 7: Make protected/private methods of EditorBase/TextEditor/HTMLEditor use SelectionRefPtr() instead of GetSelection() r=m_kato 2018-10-30 10:04:08 +00:00
HTMLEditor.h Bug 1465702 - part 5: Remove unnecessary Selection argument from editor module r=m_kato 2018-10-30 10:01:38 +00:00
HTMLEditorCommands.cpp Bug 1465702 - part 4: Make public methods of HTMLEditor create AutoEditActionDataSetter if necessary r=m_kato 2018-10-30 10:00:17 +00:00
HTMLEditorCommands.h Bug 1468708 - Part 6. Move HTMLEditorCommands and HTMLEditorController to libeditor. r=masayuki 2018-06-13 14:49:06 -07:00
HTMLEditorController.cpp Bug 1449564 - part 2: Make absolute positioned element editor disabled in default and make it possible to enable it with new command r=m_kato 2018-04-04 22:27:49 +09:00
HTMLEditorController.h Bug 1489790 - Part 10: Remove the XPCOM component registration for @mozilla.org/editor/editordocstatecontroller;1; r=baku 2018-09-11 09:58:33 -04:00
HTMLEditorDataTransfer.cpp Bug 1465702 - part 6: Remove unnecessary Selection argument from TextEditRules and HTMLEditRules and rename/reimplement TextEditRules::SelectionRef() as TextEditRules::SelectionRefPtr() r=m_kato 2018-10-30 10:02:58 +00:00
HTMLEditorDocumentCommands.cpp Bug 1485935 - Use NS_IMETHODIMP for implementation of HTMLEditor::GetIsCSSEnabled() r=m_kato 2018-08-28 09:46:53 +00:00
HTMLEditorEventListener.cpp Bug 1465702 - part 5: Remove unnecessary Selection argument from editor module r=m_kato 2018-10-30 10:01:38 +00:00
HTMLEditorEventListener.h Bug 1461708 - part 6: Make EditorEventListener::MouseClick() use WidgetMouseEvent instead of dom::MouseEvent r=m_kato 2018-10-10 12:05:21 +00:00
HTMLEditorObjectResizer.cpp Bug 1465702 - part 4: Make public methods of HTMLEditor create AutoEditActionDataSetter if necessary r=m_kato 2018-10-30 10:00:17 +00:00
HTMLEditorObjectResizerUtils.h
HTMLInlineTableEditor.cpp Bug 1465702 - part 4: Make public methods of HTMLEditor create AutoEditActionDataSetter if necessary r=m_kato 2018-10-30 10:00:17 +00:00
HTMLStyleEditor.cpp Bug 1465702 - part 7: Make protected/private methods of EditorBase/TextEditor/HTMLEditor use SelectionRefPtr() instead of GetSelection() r=m_kato 2018-10-30 10:04:08 +00:00
HTMLTableEditor.cpp Bug 1465702 - part 7: Make protected/private methods of EditorBase/TextEditor/HTMLEditor use SelectionRefPtr() instead of GetSelection() r=m_kato 2018-10-30 10:04:08 +00:00
HTMLURIRefObject.cpp Bug 1463981 part 2. Remove use of nsIDOMNode in editor xpidl. r=masayuki 2018-05-24 13:18:34 -04:00
HTMLURIRefObject.h Bug 1463981 part 2. Remove use of nsIDOMNode in editor xpidl. r=masayuki 2018-05-24 13:18:34 -04:00
InsertNodeTransaction.cpp Bug 1480055 - part 2: Rename EditorBase::GetShouldTxnSetSelection() to EditorBase::AllowsTransactionsToChangeSelection() r=m_kato 2018-08-01 20:53:57 +09:00
InsertNodeTransaction.h
InsertTextTransaction.cpp Bug 1480055 - part 2: Rename EditorBase::GetShouldTxnSetSelection() to EditorBase::AllowsTransactionsToChangeSelection() r=m_kato 2018-08-01 20:53:57 +09:00
InsertTextTransaction.h
InternetCiter.cpp Bug 1264876 - Remove StripCites() from nsIEditorMailSupport r=m_kato 2018-07-19 16:55:31 +09:00
InternetCiter.h Bug 1264876 - Remove StripCites() from nsIEditorMailSupport r=m_kato 2018-07-19 16:55:31 +09:00
JoinNodeTransaction.cpp Bug 1480663 - Make EditorBase::IsModifiableNode() non-virtual r=m_kato 2018-08-03 11:10:46 +00:00
JoinNodeTransaction.h
ManualNAC.h
PlaceholderTransaction.cpp Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj 2018-06-17 22:43:11 -07:00
PlaceholderTransaction.h Bug 1500862 - part 3: Change all stack base helper classes which access protected members of EditorBase to nested classes of EditorBase r=m_kato 2018-10-24 09:42:06 +00:00
SelectionState.cpp Bug 358033 - Part 1. Restore direction of Selection. r=masayuki 2018-07-23 02:44:42 +00:00
SelectionState.h Bug 358033 - Part 1. Restore direction of Selection. r=masayuki 2018-07-23 02:44:42 +00:00
SplitNodeTransaction.cpp Bug 1480055 - part 2: Rename EditorBase::GetShouldTxnSetSelection() to EditorBase::AllowsTransactionsToChangeSelection() r=m_kato 2018-08-01 20:53:57 +09:00
SplitNodeTransaction.h
TextEditRules.cpp Bug 1465702 - part 6: Remove unnecessary Selection argument from TextEditRules and HTMLEditRules and rename/reimplement TextEditRules::SelectionRef() as TextEditRules::SelectionRefPtr() r=m_kato 2018-10-30 10:02:58 +00:00
TextEditRules.h Bug 1465702 - part 6: Remove unnecessary Selection argument from TextEditRules and HTMLEditRules and rename/reimplement TextEditRules::SelectionRef() as TextEditRules::SelectionRefPtr() r=m_kato 2018-10-30 10:02:58 +00:00
TextEditRulesBidi.cpp Bug 1465702 - part 6: Remove unnecessary Selection argument from TextEditRules and HTMLEditRules and rename/reimplement TextEditRules::SelectionRef() as TextEditRules::SelectionRefPtr() r=m_kato 2018-10-30 10:02:58 +00:00
TextEditUtils.cpp
TextEditUtils.h
TextEditor.cpp Bug 1465702 - part 7: Make protected/private methods of EditorBase/TextEditor/HTMLEditor use SelectionRefPtr() instead of GetSelection() r=m_kato 2018-10-30 10:04:08 +00:00
TextEditor.h Bug 1465702 - part 5: Remove unnecessary Selection argument from editor module r=m_kato 2018-10-30 10:01:38 +00:00
TextEditorDataTransfer.cpp Bug 1465702 - part 7: Make protected/private methods of EditorBase/TextEditor/HTMLEditor use SelectionRefPtr() instead of GetSelection() r=m_kato 2018-10-30 10:04:08 +00:00
TypeInState.cpp Bug 1465702 - part 5: Remove unnecessary Selection argument from editor module r=m_kato 2018-10-30 10:01:38 +00:00
TypeInState.h
WSRunObject.cpp Bug 1465702 - part 5: Remove unnecessary Selection argument from editor module r=m_kato 2018-10-30 10:01:38 +00:00
WSRunObject.h Bug 1500862 - part 3: Change all stack base helper classes which access protected members of EditorBase to nested classes of EditorBase r=m_kato 2018-10-24 09:42:06 +00:00
moz.build Bug 1485890 - Remove dumpContentTree, debugDumpContent and debugUnitTests from nsIEditor. r=masayuki 2018-10-29 07:23:49 +00:00
nsIAbsorbingTransaction.h