gecko-dev/editor/libeditor
Masayuki Nakano 5f6299d456 Bug 1764895 - part 3: Get rid of `nsIEditor.setShouldTxnSetSelection` r=m_kato DONTBUILD
It allows multiple edit action preserves `Selection` when updating the DOM tree.
However, most callers do not use `finally` to reset the state, and this makes
edit action handling complicated in some edge cases.  Therefore, let's stop
supporting this feature.  If Thunderbird requires the feature, the developers
should request additional param for preserving `Selection` like the preceding
patch.

Depends on D196004

Differential Revision: https://phabricator.services.mozilla.com/D196005
2023-12-14 00:41:20 +00:00
..
crashtests Bug 1843794 - Rewrite editor/AsyncSpellCheckTestHelper.sys.mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=masayuki 2023-07-19 00:43:33 +00:00
tests Bug 1764895 - part 1: Make `nsIEditor.insertNode` and `nsIEditor.deleteNode` take an optional parameter to preserve selection r=m_kato 2023-12-13 07:50:42 +00:00
AutoRangeArray.cpp Bug 1868641 - Make `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete` not cross flex-item and grid-item boundary r=m_kato 2023-12-13 00:51:01 +00:00
AutoRangeArray.h Bug 1865729 - part 1: Make `AutoMoveOneLineHandler` make `AutoRangeArray` work with `BlockInlineCheck::UseComputedDisplayOutsideStyle` r=m_kato 2023-11-27 01:46:42 +00:00
CSSEditUtils.cpp Bug 1839950 - CSSStyleDeclaration.getPropertyValue doesn't throw. r=peterv 2023-06-27 08:21:46 +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 Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
ChangeStyleTransaction.h
CompositionTransaction.cpp
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 1244437 - part 3: Make `formatBlock` command handlers use replace target as the nearest inclusive ancestor format node r=m_kato 2023-10-26 03:45:18 +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 1764895 - part 3: Get rid of `nsIEditor.setShouldTxnSetSelection` r=m_kato DONTBUILD 2023-12-14 00:41:20 +00:00
EditorBase.h Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +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 1244437 - part 1: Make `HTMLEditUtils::IsFormatNode` check same tags as Chromium does r=m_kato 2023-10-26 03:45:17 +00:00
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1865729 - part 0: Add logging code of `AutoMoveOneLineHandler` r=m_kato 2023-11-27 01:46:42 +00:00
EditorEventListener.cpp Bug 1861231 - Make editor handle user input with original target instead of target r=sefeng,dom-core 2023-11-21 03:58:01 +00:00
EditorEventListener.h
EditorForwards.h Bug 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
EditorUtils.cpp Bug 1864334 - Make `nsIFrame::MovingCaretToEventPointAllowedIfSecondaryButtonEvent` check whether the right click point is in a selection range first r=emilio 2023-11-16 01:26:24 +00:00
EditorUtils.h Bug 1864334 - Make `nsIFrame::MovingCaretToEventPointAllowedIfSecondaryButtonEvent` check whether the right click point is in a selection range first r=emilio 2023-11-16 01:26:24 +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 1861231 - Make editor handle user input with original target instead of target r=sefeng,dom-core 2023-11-21 03:58:01 +00:00
HTMLEditHelpers.cpp Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
HTMLEditHelpers.h Bug 1859245 - part 1: Make `JoinNodesResult` and `SplitNodeResult` handle only the new direction mode r=m_kato 2023-10-27 01:57:28 +00:00
HTMLEditSubActionHandler.cpp Bug 1865729 - part 1: Make `AutoMoveOneLineHandler` make `AutoRangeArray` work with `BlockInlineCheck::UseComputedDisplayOutsideStyle` r=m_kato 2023-11-27 01:46:42 +00:00
HTMLEditUtils.cpp Bug 1868641 - Make `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete` not cross flex-item and grid-item boundary r=m_kato 2023-12-13 00:51:01 +00:00
HTMLEditUtils.h Bug 1868641 - Make `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete` not cross flex-item and grid-item boundary r=m_kato 2023-12-13 00:51:01 +00:00
HTMLEditor.cpp Bug 1764895 - part 1: Make `nsIEditor.insertNode` and `nsIEditor.deleteNode` take an optional parameter to preserve selection r=m_kato 2023-12-13 07:50:42 +00:00
HTMLEditor.h Bug 1764895 - part 1: Make `nsIEditor.insertNode` and `nsIEditor.deleteNode` take an optional parameter to preserve selection r=m_kato 2023-12-13 07:50:42 +00:00
HTMLEditorCommands.cpp Bug 1244437 - part 1: Make `HTMLEditUtils::IsFormatNode` check same tags as Chromium does r=m_kato 2023-10-26 03:45:17 +00:00
HTMLEditorController.cpp Bug 1244437 - part 1: Make `HTMLEditUtils::IsFormatNode` check same tags as Chromium does r=m_kato 2023-10-26 03:45:17 +00:00
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1851951 - Make `HTMLEditor` refer computed `display` instead of the HTML default style at considering block or inline element r=m_kato 2023-09-27 03:01:26 +00:00
HTMLEditorDeleteHandler.cpp Bug 1868641 - Make `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete` not cross flex-item and grid-item boundary r=m_kato 2023-12-13 00:51:01 +00:00
HTMLEditorDocumentCommands.cpp Bug 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
HTMLEditorEventListener.cpp Bug 1861231 - Make editor handle user input with original target instead of target r=sefeng,dom-core 2023-11-21 03:58:01 +00:00
HTMLEditorEventListener.h Bug 1856795 - Remove redundant member init r=emilio 2023-10-15 15:29:02 +00:00
HTMLEditorInlines.h Bug 1865729 - part 0: Add logging code of `AutoMoveOneLineHandler` r=m_kato 2023-11-27 01:46:42 +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 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
HTMLEditorState.cpp Bug 1865729 - part 1: Make `AutoMoveOneLineHandler` make `AutoRangeArray` work with `BlockInlineCheck::UseComputedDisplayOutsideStyle` r=m_kato 2023-11-27 01:46:42 +00:00
HTMLInlineTableEditor.cpp Bug 1839922 - Remove usage of {Has,Get}Attr(kNameSpaceID_None, ..). r=edgar 2023-06-23 10:01:32 +00:00
HTMLStyleEditor.cpp Bug 1859245 - part 1: Make `JoinNodesResult` and `SplitNodeResult` handle only the new direction mode r=m_kato 2023-10-27 01:57:28 +00:00
HTMLTableEditor.cpp
InsertNodeTransaction.cpp
InsertNodeTransaction.h
InsertTextTransaction.cpp Bug 1768317 - Make `InsertTextTransaction::GetData()` returns reference of its `mStringToInsert` r=m_kato 2023-06-12 00:08:02 +00:00
InsertTextTransaction.h Bug 1768317 - Make `InsertTextTransaction::GetData()` returns reference of its `mStringToInsert` r=m_kato 2023-06-12 00:08:02 +00:00
InternetCiter.cpp
InternetCiter.h
JoinNodesTransaction.cpp Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
JoinNodesTransaction.h Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +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
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 1859245 - part 4: Make `HTMLEditor` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
SelectionState.h Bug 1859245 - part 2: Make `HTMLEditor::DoJoinNodes` and `HTMLEditor::DoSplitNode` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
SplitNodeTransaction.cpp Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
SplitNodeTransaction.h Bug 1859245 - part 3: Make `JoinNodesTransaction` and `SplitNodeTransaction` handle only the new direction mode r=m_kato 2023-10-27 01:57:29 +00:00
TextEditSubActionHandler.cpp Bug 1858590 - Make `TextEditor::HandleInsertText` stop handling the command for empty string after deleting selection r=m_kato 2023-10-19 03:16:08 +00:00
TextEditor.cpp Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
TextEditor.h Bug 1839814 - Move `nsIEditor.wrapWidth` to `nsIEditorMailSupport` r=m_kato 2023-06-27 05:47:55 +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 1851951 - Make `HTMLEditor` refer computed `display` instead of the HTML default style at considering block or inline element r=m_kato 2023-09-27 03:01:26 +00:00
WSRunObject.h Bug 1868641 - Make `AutoDeleteRangesHandler::ExtendOrShrinkRangeToDelete` not cross flex-item and grid-item boundary r=m_kato 2023-12-13 00:51:01 +00:00
moz.build Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu 2023-10-13 02:32:24 +00:00