gecko-dev/editor/libeditor
Masayuki Nakano 804e3ce7de Bug 1655391 - Make new stack only class handle deletion at current block boundary r=m_kato
This patch creates new stack only class, `HTMLEditor::AutoBlockElementsJoiner`
and splits `HTMLEditor::HandleDeleteCollapsedSelectionAtCurrentBlockBoundary()`
to considering the content nodes to be joined part and doing join the nodes
part.

Differential Revision: https://phabricator.services.mozilla.com/D85567
2020-08-04 03:01:21 +00:00
..
crashtests Bug 1649980 - part 20: Rename `WSRunObject` to `WhiteSpaceVisibilityKeeper` r=m_kato 2020-07-14 12:40:13 +00:00
tests Bug 1656292 - Enable remaining ESLint rules on editor/libeditor/tests/*.xhtml files. r=masayuki 2020-07-31 23:58:46 +00:00
CSSEditUtils.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
CSSEditUtils.h Bug 1627175 - part 3: Move `EditorBase::AreNodesSameType()` to `HTMLEditUtils` r=m_kato 2020-04-15 15:55:20 +00:00
ChangeAttributeTransaction.cpp Bug 1619914 - part 1: Make each transaction class grab their members with local variable before touching the DOM tree r=m_kato 2020-04-03 08:30:37 +00:00
ChangeAttributeTransaction.h Bug 1632021 - part 1: Add `GetAs*Transaction()` methods to every subclasses of `EditTransactionBase` r=m_kato 2020-04-23 05:46:43 +00:00
ChangeStyleTransaction.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
ChangeStyleTransaction.h Bug 1632021 - part 1: Add `GetAs*Transaction()` methods to every subclasses of `EditTransactionBase` r=m_kato 2020-04-23 05:46:43 +00:00
CompositionTransaction.cpp Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
CompositionTransaction.h Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
CreateElementTransaction.cpp Bug 1644903 - Make `nsINode::InsertBefore()` callers call `ErrorResult::WouldReportJSException()` when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
CreateElementTransaction.h Bug 1632021 - part 1: Add `GetAs*Transaction()` methods to every subclasses of `EditTransactionBase` r=m_kato 2020-04-23 05:46:43 +00:00
DeleteNodeTransaction.cpp Bug 1644903 - Make `nsINode::InsertBefore()` callers call `ErrorResult::WouldReportJSException()` when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
DeleteNodeTransaction.h Bug 1632724 - part 5: Remove out params of `EditorBase::CreateTransactionForDelete*()` r=m_kato 2020-04-27 01:36:02 +00:00
DeleteRangeTransaction.cpp Bug 1634663: part 2) Declare callers of `GetRangeAt` around `EditorBase` `const`. r=masayuki 2020-05-02 23:44:46 +00:00
DeleteRangeTransaction.h Bug 1634663: part 2) Declare callers of `GetRangeAt` around `EditorBase` `const`. r=masayuki 2020-05-02 23:44:46 +00:00
DeleteTextTransaction.cpp Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
DeleteTextTransaction.h Bug 1632724 - part 5: Remove out params of `EditorBase::CreateTransactionForDelete*()` r=m_kato 2020-04-27 01:36:02 +00:00
EditAction.h Bug 1449522 - Remove nsIEditorStyleSheets. r=masayuki,m_kato 2020-04-17 22:54:48 +00:00
EditActionListener.h
EditAggregateTransaction.cpp Bug 1626570 - Improve handling of copying arrays in editor/. r=m_kato 2020-05-06 11:15:49 +00:00
EditAggregateTransaction.h Bug 1632724 - part 5: Remove out params of `EditorBase::CreateTransactionForDelete*()` r=m_kato 2020-04-27 01:36:02 +00:00
EditTransactionBase.cpp Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
EditTransactionBase.h Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
EditorBase.cpp Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
EditorBase.h Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
EditorCommands.cpp Bug 1633014 - Fix non-unified build errors in editor/. r=m_kato 2020-04-27 03:36:57 +00:00
EditorCommands.h Bug 1633014 - Fix non-unified build errors in editor/. r=m_kato 2020-04-27 03:36:57 +00:00
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1655651 - Fix end point comparison in `EditorDOMRangeBase::Contains()` r=m_kato 2020-07-30 03:47:40 +00:00
EditorEventListener.cpp Bug 1648010 - Fix uses of NS_LITERAL_STRING with C string literals. r=geckoview-reviewers,agi,froydnj 2020-07-01 08:34:12 +00:00
EditorEventListener.h Bug 1633014 - Fix non-unified build errors in editor/. r=m_kato 2020-04-27 03:36:57 +00:00
EditorUtils.cpp Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
EditorUtils.h Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
HTMLAbsPositionEditor.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLAnonymousNodeEditor.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLEditSubActionHandler.cpp Bug 1655391 - Make new stack only class handle deletion at current block boundary r=m_kato 2020-08-04 03:01:21 +00:00
HTMLEditUtils.cpp Bug 1653534 - part 4: Make `TextFragmentData` set its `mIsPreformatted` more carefully r=m_kato 2020-07-27 23:58:04 +00:00
HTMLEditUtils.h Bug 1644313 - part 2: Make `HTMLEditor::DeleteTextAndTextNodeWithTransaction()` remove empty text node or most distant empty inline ancestor optionally r=m_kato 2020-07-29 06:28:40 +00:00
HTMLEditor.cpp Bug 1655911 - Get rid of `DidCreateNode()`, `DidInsertNode()`, `DidSplitNode()` and `DidDeleteSelection()` of `nsIEditActionListener` because of unused r=m_kato 2020-07-30 06:40:44 +00:00
HTMLEditor.h Bug 1655391 - Make new stack only class handle deletion at current block boundary r=m_kato 2020-08-04 03:01:21 +00:00
HTMLEditorCommands.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLEditorController.cpp
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1649121: part 45) Rename `FindTargetNodeOfContextForPastedHTML`. r=masayuki 2020-07-17 08:44:38 +00:00
HTMLEditorDocumentCommands.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLEditorEventListener.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLEditorEventListener.h Bug 1632425 - Part 3: Triple click to select anchors r=masayuki 2020-06-03 23:47:55 +00:00
HTMLEditorObjectResizer.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
HTMLInlineTableEditor.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLStyleEditor.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
HTMLTableEditor.cpp Bug 1635709: part 17) Annotate `CellIndexes`'s methods with `MOZ_CAN_RUN_SCRIPT`. r=masayuki 2020-05-14 10:08:44 +00:00
InsertNodeTransaction.cpp Bug 1644903 - Make `nsINode::InsertBefore()` callers call `ErrorResult::WouldReportJSException()` when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
InsertNodeTransaction.h Bug 1632021 - part 1: Add `GetAs*Transaction()` methods to every subclasses of `EditTransactionBase` r=m_kato 2020-04-23 05:46:43 +00:00
InsertTextTransaction.cpp Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
InsertTextTransaction.h Bug 1632021 - part 4: Get rid of IID of `InsertTextTransaction` and `CompositionTransaction` r=m_kato 2020-04-23 12:28:39 +00:00
InternetCiter.cpp Bug 1642594 - part 4: Stop using "whitespace" in under libeditor r=m_kato 2020-06-10 13:44:10 +00:00
InternetCiter.h
JoinNodeTransaction.cpp Bug 1644903 - Make `nsINode::InsertBefore()` callers call `ErrorResult::WouldReportJSException()` when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
JoinNodeTransaction.h Bug 1540037 - part 10: Move `EditorBase::DoJoinNodes()` to `HTMLEditor` r=m_kato 2020-04-30 15:26:09 +00:00
ManualNAC.h Bug 1640601 - Also reframe the closest non-anonymous root when switching anonymous content from display: none to something else. r=mats 2020-05-25 23:54:10 +00:00
PlaceholderTransaction.cpp Bug 1632021 - part 3: Get rid of `nsIAbsorbingTransaction` r=m_kato 2020-04-23 10:46:55 +00:00
PlaceholderTransaction.h Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp 2020-07-23 14:51:46 +00:00
ReplaceTextTransaction.cpp Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
ReplaceTextTransaction.h Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
SelectionState.cpp Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
SelectionState.h Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00
SplitNodeTransaction.cpp Bug 1644903 - Make `nsINode::InsertBefore()` callers call `ErrorResult::WouldReportJSException()` when inserting node may be in another document r=m_kato 2020-07-01 13:13:13 +00:00
SplitNodeTransaction.h Bug 1540037 - part 9: Move `EditorBase::DoSplitNode()` to `HTMLEditor` r=m_kato 2020-04-30 13:33:40 +00:00
TextEditSubActionHandler.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
TextEditor.cpp Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj 2020-07-01 08:42:31 +00:00
TextEditor.h Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
TextEditorDataTransfer.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
TypeInState.cpp Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj 2020-06-10 10:46:14 +00:00
TypeInState.h Bug 1496320 - part 1: Make `TypeInState` clear "link style" when it detects caret coming from outside of current link r=m_kato 2020-04-06 03:52:53 +00:00
WSRunObject.cpp Bug 1655706 - part 3-2: Move `AutoTransactionsConserveSelection` in `HTMLEditor::TryToJoinBlocksWithTransaction()` into each `WhiteSpaceVisibilityKeeper` method r=m_kato 2020-08-03 08:25:33 +00:00
WSRunObject.h Bug 1655706 - part 3-1: Move the last block of `HTMLEditor::TryToJoinBlocksWithTransaction()` into `WhiteSpaceVisibilityKeeper` r=m_kato 2020-08-03 08:25:31 +00:00
moz.build Bug 1639161 - part 1: Create `ReplaceTextTransaction` class r=m_kato 2020-05-21 02:30:09 +00:00