gecko-dev/editor/libeditor
Jan-Niklas Jaeschke 1bbcb68c33 Bug 1828469, part 1: Prepare `RangeBoundaryBase` to be able to handle non-`MutationObserver` Range classes. r=masayuki
In order to support `StaticRange`s, which are not `MutationObserver`s, RangeBoundaries need to have an alternative way of ensuring that `mRef` points to the correct node.
This is now done by validating `mRef` every time `Ref()` is called using the parent and offset.
For performance reasons, this is disabled by default and should only be used for `StaticRange`s.

Differential Revision: https://phabricator.services.mozilla.com/D177892
2023-05-31 08:23:45 +00:00
..
crashtests Bug 1814074 - Make `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete` consider whether all list items are selected more carefully r=m_kato 2023-02-14 03:05:48 +00:00
tests Backed out changeset 6a96bb1f430f (bug 1817723) for causing reftest crashes. CLOSED TREE 2023-05-24 17:31:13 +03:00
AutoRangeArray.cpp Bug 1818339 - Make `AutoRangeArray` set `mAnchorFocusRange` correctly r=m_kato 2023-02-28 00:46:17 +00:00
AutoRangeArray.h Bug 1811409 - part 4: Make `AutoMoveOneLineHandler` never split container of insertion point r=m_kato 2023-02-03 05:19:42 +00:00
CSSEditUtils.cpp Bug 1815827 - part 1: Get rid of `editor.css.default_length_unit` pref r=m_kato 2023-02-21 22:54:24 +00:00
CSSEditUtils.h Bug 1833543 - Get rid of `typedef`s from the editor module r=m_kato 2023-05-19 02:58:53 +00:00
ChangeAttributeTransaction.cpp
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp Bug 1802831 - Make `AutoInlineStyleSetter` align setting `text-decoration` style behavior in the CSS mode to the other browsers r=m_kato 2022-12-02 22:50:56 +00:00
ChangeStyleTransaction.h Bug 1802831 - Make `AutoInlineStyleSetter` align setting `text-decoration` style behavior in the CSS mode to the other browsers r=m_kato 2022-12-02 22:50:56 +00:00
CompositionTransaction.cpp Bug 1783402 - part 3: Make result of unsafe getter methods of `EditorDOMPointBase` templated r=m_kato 2022-08-09 01:43:24 +00:00
CompositionTransaction.h
DeleteContentTransactionBase.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteContentTransactionBase.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteMultipleRangesTransaction.cpp Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteMultipleRangesTransaction.h Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteNodeTransaction.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteNodeTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
DeleteRangeTransaction.cpp Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteRangeTransaction.h Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteTextTransaction.cpp Bug 1797247 - part 2: Make `DeleteTextTransaction::DoTransaction` and `DeleteRangeTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-15 22:23:34 +00:00
DeleteTextTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditAction.h Bug 1808722 - Make the delete handler of `HTMLEditor` collapse `Selection` to end of left block after joining blocks r=m_kato 2023-01-30 08:32:35 +00:00
EditAggregateTransaction.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditAggregateTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditTransactionBase.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditTransactionBase.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
EditorBase.cpp Bug 1832275 - Fix up focused selection when focus returns to something else. r=masayuki 2023-05-28 22:07:29 +00:00
EditorBase.h Bug 1833543 - Get rid of `typedef`s from the editor module r=m_kato 2023-05-19 02:58:53 +00:00
EditorCommands.cpp Bug 1815969 - part 5: Make editors handle pasting something in new focused editor if a `paste` event listener moves focus r=m_kato 2023-05-10 06:44:53 +00:00
EditorCommands.h Bug 1810663 - Add Gecko specific command to enable new join/split node direction r=smaug,m_kato 2023-03-21 23:58:04 +00:00
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1833543 - Get rid of `typedef`s from the editor module r=m_kato 2023-05-19 02:58:53 +00:00
EditorEventListener.cpp Backed out changeset 6a96bb1f430f (bug 1817723) for causing reftest crashes. CLOSED TREE 2023-05-24 17:31:13 +03:00
EditorEventListener.h Bug 1770874 - part 6: Move most part of `EditorEventListener::Blur` into `EditorBase` r=m_kato 2022-05-27 04:02:30 +00:00
EditorForwards.h Bug 1815383 - part 1: Make `InsertTextTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-17 08:25:24 +00:00
EditorUtils.cpp Bug 1815639 - part 12: Make `AutoDeleteRangesHandler::HandleDeleteHRElement()` stop touching `Selection` r=m_kato 2023-02-21 11:19:10 +00:00
EditorUtils.h Bug 1815639 - part 12: Make `AutoDeleteRangesHandler::HandleDeleteHRElement()` stop touching `Selection` r=m_kato 2023-02-21 11:19:10 +00:00
HTMLAbsPositionEditor.cpp Bug 1817641 - Convert RGBA to AbsoluteColor for computed/animated/resolved CSS colors r=emilio 2023-03-07 11:28:15 +00:00
HTMLAnonymousNodeEditor.cpp Bug 1793485: Fixed memory issue in `NodeWillBeDestroyed()` for `MultiMutationObserver` classes. r=smaug 2022-10-13 14:26:07 +00:00
HTMLEditHelpers.cpp Bug 1808886 - Make the style editor treat `<font>` related styles as exclusive styles r=m_kato 2023-01-20 03:45:58 +00:00
HTMLEditHelpers.h Bug 1833543 - Get rid of `typedef`s from the editor module r=m_kato 2023-05-19 02:58:53 +00:00
HTMLEditSubActionHandler.cpp Bug 1833320 - Make `HTMLEditor::HandleInsertParagraphInListItemElement` consider caret position without `WSScanResult` if it reaches a block boundary r=m_kato 2023-05-23 02:46:20 +00:00
HTMLEditUtils.cpp Bug 1828469, part 1: Prepare `RangeBoundaryBase` to be able to handle non-`MutationObserver` Range classes. r=masayuki 2023-05-31 08:23:45 +00:00
HTMLEditUtils.h Bug 1828078 - part 1: Make `HTMLEditUtils::CanNodeContain` handle comment node r=m_kato 2023-05-16 00:30:52 +00:00
HTMLEditor.cpp Backed out changeset 6a96bb1f430f (bug 1817723) for causing reftest crashes. CLOSED TREE 2023-05-24 17:31:13 +03:00
HTMLEditor.h Bug 1833543 - Get rid of `typedef`s from the editor module r=m_kato 2023-05-19 02:58:53 +00:00
HTMLEditorCommands.cpp Bug 1815969 - part 5: Make editors handle pasting something in new focused editor if a `paste` event listener moves focus r=m_kato 2023-05-10 06:44:53 +00:00
HTMLEditorController.cpp Bug 1810663 - Add Gecko specific command to enable new join/split node direction r=smaug,m_kato 2023-03-21 23:58:04 +00:00
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1828078 - part 1: Make `HTMLEditUtils::CanNodeContain` handle comment node r=m_kato 2023-05-16 00:30:52 +00:00
HTMLEditorDeleteHandler.cpp Bug 1828078 - part 2: Stop moving comment nodes when deleting a block/line boundary r=m_kato 2023-05-16 00:30:52 +00:00
HTMLEditorDocumentCommands.cpp Bug 1810663 - Add Gecko specific command to enable new join/split node direction r=smaug,m_kato 2023-03-21 23:58:04 +00:00
HTMLEditorEventListener.cpp
HTMLEditorEventListener.h
HTMLEditorInlines.h Bug 1809129 - part 5: Make `AutoListElementCreator` copy attributes at replacing block elements r=m_kato 2023-02-14 02:51:32 +00:00
HTMLEditorNestedClasses.h Bug 1809129 - part 5: Make `AutoListElementCreator` copy attributes at replacing block elements r=m_kato 2023-02-14 02:51:32 +00:00
HTMLEditorObjectResizer.cpp Bug 1815827 - part 5: Get rid of `editor.resizing.preserve_ratio` pref r=m_kato 2023-02-21 22:54:26 +00:00
HTMLEditorState.cpp Bug 1808886 - Make the style editor treat `<font>` related styles as exclusive styles r=m_kato 2023-01-20 03:45:58 +00:00
HTMLInlineTableEditor.cpp Bug 1771448 - part 4: Rename `HTMLEditor::GetActiveEditingHost` to `ComputeEditingHost` r=m_kato 2022-05-31 03:41:01 +00:00
HTMLStyleEditor.cpp Bug 1809129 - part 5: Make `AutoListElementCreator` copy attributes at replacing block elements r=m_kato 2023-02-14 02:51:32 +00:00
HTMLTableEditor.cpp Bug 1793694 - part 2: Move some protected inline method definitions of `HTMLEditor` to non-exposed header r=m_kato 2022-10-12 02:44:18 +00:00
InsertNodeTransaction.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
InsertNodeTransaction.h
InsertTextTransaction.cpp Bug 1815383 - part 1: Make `InsertTextTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-17 08:25:24 +00:00
InsertTextTransaction.h Bug 1815383 - part 1: Make `InsertTextTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-17 08:25:24 +00:00
InternetCiter.cpp
InternetCiter.h
JoinNodesTransaction.cpp Bug 1795061 - Stop exposing `JoinSplitNodeDirection.h` r=m_kato 2022-10-19 06:40:30 +00:00
JoinNodesTransaction.h Bug 1774114 - Make `HTMLEditor` and its helper classes get split/join node direction dynamically r=m_kato 2022-07-01 02:02:03 +00:00
JoinSplitNodeDirection.h Bug 1795061 - Stop exposing `JoinSplitNodeDirection.h` r=m_kato 2022-10-19 06:40:30 +00:00
ManualNAC.h Bug 1833543 - Get rid of `typedef`s from the editor module r=m_kato 2023-05-19 02:58:53 +00:00
MoveNodeTransaction.cpp Bug 1789344 - Make `SelectionState::DidMoveNode` track DOM points having pointed the moved content correctly r=m_kato 2022-09-12 23:53:37 +00:00
MoveNodeTransaction.h
PendingStyles.cpp Bug 1814337 - Fix bugs at applying multiple styles to collapsed `Selection` r=m_kato 2023-02-07 14:52:02 +00:00
PendingStyles.h Bug 1814337 - Fix bugs at applying multiple styles to collapsed `Selection` r=m_kato 2023-02-07 14:52:02 +00:00
PlaceholderTransaction.cpp Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
PlaceholderTransaction.h Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00
ReplaceTextTransaction.cpp Bug 1815383 - part 3: Make `ReplaceTextTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-17 09:42:31 +00:00
ReplaceTextTransaction.h Bug 1815383 - part 3: Make `ReplaceTextTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-17 09:42:31 +00:00
SelectionState.cpp Bug 1820448 - Make `RangeUpdater::SelAdjSplitNode` handle insertion better r=m_kato 2023-03-13 18:30:04 +00:00
SelectionState.h Bug 1792386 - part 2: Make `AutoInlineStyleSetter` store updated range to compute new `Selection` after applying the style r=m_kato 2022-12-20 00:25:45 +00:00
SplitNodeTransaction.cpp Bug 1795061 - Stop exposing `JoinSplitNodeDirection.h` r=m_kato 2022-10-19 06:40:30 +00:00
SplitNodeTransaction.h Bug 1792642 - Make `SplitNodeResult` treated as ok type of `Result` r=m_kato 2022-10-04 07:28:10 +00:00
TextEditSubActionHandler.cpp Bug 1815383 - part 1: Make `InsertTextTransaction::DoTransaction` stop updating `Selection` directly r=m_kato 2023-02-17 08:25:24 +00:00
TextEditor.cpp Bug 1815969 - part 3: Redesign `EditorBase::PasteAsAction` and `EditorBase::PasteAsQuotationAsAction` r=m_kato 2023-05-10 06:44:52 +00:00
TextEditor.h Bug 1815969 - part 4: Redesign `PasteTransferableAsAction` as same as the methods touched by the previous patch r=m_kato 2023-05-10 06:44:53 +00:00
TextEditorDataTransfer.cpp Bug 1815969 - part 4: Redesign `PasteTransferableAsAction` as same as the methods touched by the previous patch r=m_kato 2023-05-10 06:44:53 +00:00
WSRunObject.cpp Bug 1828078 - part 2: Stop moving comment nodes when deleting a block/line boundary r=m_kato 2023-05-16 00:30:52 +00:00
WSRunObject.h Bug 1833320 - Make `HTMLEditor::HandleInsertParagraphInListItemElement` consider caret position without `WSScanResult` if it reaches a block boundary r=m_kato 2023-05-23 02:46:20 +00:00
moz.build Bug 1797247 - part 1: Add delete transaction classes to use build time type checks r=m_kato 2023-02-15 22:17:17 +00:00