gecko-dev/editor/libeditor
Masayuki Nakano abb1aff2ff Bug 1540037 - part 29: Move `nsIEditor.documentCharacterSet` definitions into `HTMLEditor` r=m_kato
The attribute is used only with `HTMLEditor`, and it does not make sense to
access document's character-set via `TextEditor`.  Therefore, this patch
makes it implement in `HTMLEditor` (`EditorBase` will return
`NS_ERROR_NOT_AVAILABLE` both getter and setter).

Note that `EditorBase::GetDocumentCharsetInternal()` is required by
`TextEditor::ComputeValueInternal()`.  Therefore, it needs to stay in
`EditorBase`.

Differential Revision: https://phabricator.services.mozilla.com/D115948
2021-05-26 07:45:02 +00:00
..
crashtests Bug 1694255 - Allow delete previous block element. r=masayuki 2021-05-21 01:48:58 +00:00
tests Bug 1540037 - part 29: Move `nsIEditor.documentCharacterSet` definitions into `HTMLEditor` r=m_kato 2021-05-26 07:45:02 +00:00
CSSEditUtils.cpp Bug 1682003 - Avoid UTF-8 -> UTF-16 conversion during CSSOM serialization. r=heycam 2020-12-17 14:04:35 +00:00
CSSEditUtils.h Bug 1665258 - Shrink `CSSEquivTable`. r=heycam 2020-09-23 01:08:21 +00:00
ChangeAttributeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ChangeAttributeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ChangeStyleTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ChangeStyleTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CompositionTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CompositionTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CreateElementTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
CreateElementTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteNodeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteRangeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteRangeTransaction.h
DeleteTextTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
DeleteTextTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditAction.h Bug 1701348 - Make `TextEditor::Init()` and `HTMLEditor::Init()` stop using `EditAction::eNotEditing` r=m_kato 2021-04-08 08:51:41 +00:00
EditActionListener.h
EditAggregateTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditAggregateTransaction.h
EditTransactionBase.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditTransactionBase.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
EditorBase.cpp Bug 1540037 - part 29: Move `nsIEditor.documentCharacterSet` definitions into `HTMLEditor` r=m_kato 2021-05-26 07:45:02 +00:00
EditorBase.h Bug 1540037 - part 28: Add pure virtual methods to `EditorBase`, which are originated from `TextEditor` r=m_kato 2021-05-26 02:00:45 +00:00
EditorCommands.cpp Bug 1540037 - part 28: Add pure virtual methods to `EditorBase`, which are originated from `TextEditor` r=m_kato 2021-05-26 02:00:45 +00:00
EditorCommands.h
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1627175 - part 55: Move `HTMLEditor::IsEmptyInlineNode()` and `HTMLEditor::IsEmptyOneHardLine()` to `HTMLEditUtils` r=m_kato 2021-05-17 08:38:55 +00:00
EditorEventListener.cpp Bug 1540037 - part 16: Move composition event handlers from `TextEditor` to `EditorBase` r=m_kato 2021-05-25 02:06:32 +00:00
EditorEventListener.h Bug 1623918 - part 2: Mark `nsINode::GetSelectionRootContent()` and its root callers as `MOZ_CAN_RUN_SCRIPT` as far as possible r=smaug 2020-10-09 02:37:47 +00:00
EditorUtils.cpp Bug 1703561 - Make `HTMLEditor` not allow to modify content nodes in `<select>` element r=m_kato 2021-04-20 12:07:15 +00:00
EditorUtils.h Bug 1627175 - part 68: Move `HTMLEditor::StartOrEndOfSelectionRangesIsIn()` to `AutoRangeArray` r=m_kato 2021-05-18 09:06:13 +00:00
HTMLAbsPositionEditor.cpp Bug 1707630 - part 1: Make `HTMLEditor::InsertBREelementWithTransaction()` return error when it fails r=m_kato 2021-04-28 03:33:25 +00:00
HTMLAnonymousNodeEditor.cpp Bug 1682003 - Avoid UTF-8 -> UTF-16 conversion during CSSOM serialization. r=heycam 2020-12-17 14:04:35 +00:00
HTMLEditSubActionHandler.cpp Bug 1627175 - part 68: Move `HTMLEditor::StartOrEndOfSelectionRangesIsIn()` to `AutoRangeArray` r=m_kato 2021-05-18 09:06:13 +00:00
HTMLEditUtils.cpp Bug 1627175 - part 59: Move `HTMLEditor::GetMostAncestorInlineElement()` to `HTMLEditUtils` r=m_kato 2021-05-17 21:58:10 +00:00
HTMLEditUtils.h Bug 1627175 - part 67: Move `HTMLEditor::FindNearEditableContent()` to `HTMLEditUtils` r=m_kato 2021-05-18 08:28:32 +00:00
HTMLEditor.cpp Bug 1540037 - part 29: Move `nsIEditor.documentCharacterSet` definitions into `HTMLEditor` r=m_kato 2021-05-26 07:45:02 +00:00
HTMLEditor.h Bug 1540037 - part 29: Move `nsIEditor.documentCharacterSet` definitions into `HTMLEditor` r=m_kato 2021-05-26 07:45:02 +00:00
HTMLEditorCommands.cpp Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi 2020-09-23 15:17:15 +00:00
HTMLEditorController.cpp
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1627175 - part 57: Move `HTMLEditor::GetBetterInsertionPointFor()` to `HTMLEditUtils` r=m_kato 2021-05-17 08:56:26 +00:00
HTMLEditorDeleteHandler.cpp Bug 1694255 - Allow delete previous block element. r=masayuki 2021-05-21 01:48:58 +00:00
HTMLEditorDocumentCommands.cpp Bug 1220696 - part 5: Support "contentReadOnly" and "getHTML" commands in `<input>` and `<textarea>` r=smaug 2021-03-24 01:55:09 +00:00
HTMLEditorEventListener.cpp Bug 1357365 - part 2: Make `TypeInState::OnSelectionChange()` stop inserting new content into the link if clicked outside it r=m_kato 2021-01-13 01:55:27 +00:00
HTMLEditorEventListener.h Bug 1357365 - part 1: Rename `HTMLEditor::OnMouseDown()`, `HTMLEditor::OnMouseUp()` and `HTMLEditor::OnMouseMove()` r=m_kato 2021-01-13 01:54:17 +00:00
HTMLEditorObjectResizer.cpp Bug 1357365 - part 1: Rename `HTMLEditor::OnMouseDown()`, `HTMLEditor::OnMouseUp()` and `HTMLEditor::OnMouseMove()` r=m_kato 2021-01-13 01:54:17 +00:00
HTMLEditorState.cpp Bug 1627175 - part 38: Move `EditorBase::GetNextContent()` and `EditorBase::GetPreviousContent()` to `HTMLEditUtils` r=m_kato 2021-04-27 11:17:44 +00:00
HTMLInlineTableEditor.cpp Bug 1663638 - Don't use edit transaction for editing UI. r=masayuki 2020-09-14 05:10:08 +00:00
HTMLStyleEditor.cpp Bug 1627175 - part 66: Move `HTMLEditor::IsTextPropertySetByContent()` to `HTMLEditUtils` r=m_kato 2021-05-18 06:55:03 +00:00
HTMLTableEditor.cpp Bug 1627175 - part 23: Move `HTMLEditor::IsEmptyNode()` into `HTMLEditUtils` with making it take `EnumSet` instead of `bool` arguments r=m_kato 2021-04-20 12:02:17 +00:00
InsertNodeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InsertNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InsertTextTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InsertTextTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
InternetCiter.cpp
InternetCiter.h
JoinNodeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
JoinNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ManualNAC.h
PlaceholderTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
PlaceholderTransaction.h
ReplaceTextTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
ReplaceTextTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
SelectionState.cpp
SelectionState.h
SplitNodeTransaction.cpp Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
SplitNodeTransaction.h Bug 1697876 - part 1: Add logging code to transaction classes for making easier to debug r=m_kato 2021-04-05 11:35:48 +00:00
TextEditSubActionHandler.cpp Bug 1703144 - Get rid of `MOZ_KnownLive` for `EditorBase::SelectionRefPtr()` r=m_kato 2021-04-08 01:31:54 +00:00
TextEditor.cpp Bug 1540037 - part 29: Move `nsIEditor.documentCharacterSet` definitions into `HTMLEditor` r=m_kato 2021-05-26 07:45:02 +00:00
TextEditor.h Bug 1540037 - part 29: Move `nsIEditor.documentCharacterSet` definitions into `HTMLEditor` r=m_kato 2021-05-26 07:45:02 +00:00
TextEditorDataTransfer.cpp Bug 1703144 - Get rid of `MOZ_KnownLive` for `EditorBase::SelectionRefPtr()` r=m_kato 2021-04-08 01:31:54 +00:00
TypeInState.cpp Bug 1703144 - Get rid of `MOZ_KnownLive` for `EditorBase::SelectionRefPtr()` r=m_kato 2021-04-08 01:31:54 +00:00
TypeInState.h Bug 1703144 - Get rid of `MOZ_KnownLive` for `EditorBase::SelectionRefPtr()` r=m_kato 2021-04-08 01:31:54 +00:00
WSRunObject.cpp Bug 1627175 - part 53: Rename `HTMLEditUtils::GetFirstLeafChild()` and `HTMLEditUtils::GetLastLeafChild()` r=m_kato 2021-05-17 08:01:37 +00:00
WSRunObject.h Bug 1694255 - Allow delete previous block element. r=masayuki 2021-05-21 01:48:58 +00:00
moz.build Bug 1673790 - Split `editor/libeditor/HTMLEditSubActionHandler.cpp` r=m_kato 2020-10-28 13:08:34 +00:00