gecko-dev/editor/libeditor
Chris Peterson ea48b5e2c8 Bug 1732234 - Fix non-unified build errors in editor/. r=masayuki
Building with `ac_add_options --disable-unified-build` on macOS hits the following -Wunreachable-code-return warnings-as-errors:

editor/libeditor/HTMLEditor.cpp:4341:26 [-Wunreachable-code-return] 'return' will never be executed
editor/libeditor/HTMLTableEditor.cpp:1629:10: warning: 'return' will never be executed [-Wunreachable-code-return]

Differential Revision: https://phabricator.services.mozilla.com/D126441
2021-09-28 04:26:52 +00:00
..
crashtests Bug 1725850 - part 18: Port editor/libeditor/crashtests/467647-1.html to WPT r=saschanaz 2021-09-22 21:30:54 +00:00
tests Bug 1730429 - part 2: Delete empty inline elements which become newly empty but preserve the styles for next editing r=m_kato 2021-09-15 04:13:44 +00:00
CSSEditUtils.cpp Bug 1727844 - part 7: Make `HTMLEditor` related classes use constants in `HTMLEditUtils` to use specific character code point r=m_kato 2021-08-31 17:37:42 +00:00
CSSEditUtils.h
ChangeAttributeTransaction.cpp
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp Bug 1727844 - part 7: Make `HTMLEditor` related classes use constants in `HTMLEditUtils` to use specific character code point r=m_kato 2021-08-31 17:37:42 +00:00
ChangeStyleTransaction.h
CompositionTransaction.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
CompositionTransaction.h
CreateElementTransaction.cpp
CreateElementTransaction.h
DeleteNodeTransaction.cpp Bug 1727840 - Make `DeleteNodeTransaction` allow to create its instance for non-editable text node which was created or modified by an editor r=m_kato 2021-09-15 00:20:19 +00:00
DeleteNodeTransaction.h
DeleteRangeTransaction.cpp Bug 1727185 - part 2: Add removable node checks for more callers of `DeleteNodeTransaction::MaybeCreate()` r=m_kato 2021-08-27 00:49:35 +00:00
DeleteRangeTransaction.h
DeleteTextTransaction.cpp
DeleteTextTransaction.h
EditAction.h
EditActionListener.h
EditAggregateTransaction.cpp
EditAggregateTransaction.h
EditTransactionBase.cpp
EditTransactionBase.h
EditorBase.cpp Bug 1727840 - Make `DeleteNodeTransaction` allow to create its instance for non-editable text node which was created or modified by an editor r=m_kato 2021-09-15 00:20:19 +00:00
EditorBase.h Bug 1720809 - part 2: Make `insertLineBreak` command handler in `HTMLEditor` insert a linefeed character instead of `<br>` element in same condition as Blink/WebKit r=m_kato 2021-09-10 21:45:47 +00:00
EditorCommands.cpp Bug 1713756 - Make editor command classes treat `EditorBase` instead of `TextEditor` r=m_kato 2021-06-09 07:17:52 +00:00
EditorCommands.h Bug 1713756 - Make editor command classes treat `EditorBase` instead of `TextEditor` r=m_kato 2021-06-09 07:17:52 +00:00
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1672900 - part 3: Make `ExtendOrShrinkRangeToDelete()` selects all contents in all list items if a list element is selected or all list items in a list element is selected r=m_kato 2021-09-11 07:17:38 +00:00
EditorEventListener.cpp Bug 1729480 - Make `keypress` event listener of editor and `execCommand` related methods access editor instance after flushing pending layout r=emilio,smaug 2021-09-17 17:48:05 +00:00
EditorEventListener.h Bug 1724225 - Part 1: Replace dragexit with dragleave in editor/libeditor/ r=masayuki 2021-08-07 09:29:18 +00:00
EditorUtils.cpp Bug 1724650 - part 3: Make `GetEndOfCollapsibleASCIIWhiteSpaces` and `GetFirstASCIIWhiteSpacePointCollapsedTo` treat preformatted linefeed characters correctly r=m_kato 2021-09-10 04:04:28 +00:00
EditorUtils.h Bug 1727844 - part 4: Add API to check whether a char is collapsible or not r=m_kato 2021-08-31 17:37:41 +00:00
HTMLAbsPositionEditor.cpp Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame 2021-08-07 09:47:15 +00:00
HTMLAnonymousNodeEditor.cpp
HTMLEditSubActionHandler.cpp Bug 1730429 - part 2: Delete empty inline elements which become newly empty but preserve the styles for next editing r=m_kato 2021-09-15 04:13:44 +00:00
HTMLEditUtils.cpp Bug 1672900 - part 3: Make `ExtendOrShrinkRangeToDelete()` selects all contents in all list items if a list element is selected or all list items in a list element is selected r=m_kato 2021-09-11 07:17:38 +00:00
HTMLEditUtils.h Bug 1672900 - part 3: Make `ExtendOrShrinkRangeToDelete()` selects all contents in all list items if a list element is selected or all list items in a list element is selected r=m_kato 2021-09-11 07:17:38 +00:00
HTMLEditor.cpp Bug 1732234 - Fix non-unified build errors in editor/. r=masayuki 2021-09-28 04:26:52 +00:00
HTMLEditor.h Bug 1720809 - part 2: Make `insertLineBreak` command handler in `HTMLEditor` insert a linefeed character instead of `<br>` element in same condition as Blink/WebKit r=m_kato 2021-09-10 21:45:47 +00:00
HTMLEditorCommands.cpp Bug 1714918 - Sort out editor class accessors of `nsIEditor` r=m_kato 2021-06-11 03:01:08 +00:00
HTMLEditorController.cpp
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1727844 - part 7: Make `HTMLEditor` related classes use constants in `HTMLEditUtils` to use specific character code point r=m_kato 2021-08-31 17:37:42 +00:00
HTMLEditorDeleteHandler.cpp Bug 1672900 - part 3: Make `ExtendOrShrinkRangeToDelete()` selects all contents in all list items if a list element is selected or all list items in a list element is selected r=m_kato 2021-09-11 07:17:38 +00:00
HTMLEditorDocumentCommands.cpp Bug 1714918 - Sort out editor class accessors of `nsIEditor` r=m_kato 2021-06-11 03:01:08 +00:00
HTMLEditorEventListener.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
HTMLEditorEventListener.h
HTMLEditorObjectResizer.cpp Bug 1727844 - part 7: Make `HTMLEditor` related classes use constants in `HTMLEditUtils` to use specific character code point r=m_kato 2021-08-31 17:37:42 +00:00
HTMLEditorState.cpp Bug 1726064 - part 10: Make the constructor of `AlignStateAtSelection` use `HTMLEditUtils::GetInclusiveAncestorElement()` r=m_kato 2021-08-20 22:17:02 +00:00
HTMLInlineTableEditor.cpp Bug 1717178 - part 1: Get rid of `nsIHTMLInlineTableEditor.refreshInlineTableEditingUI()` because of unused r=m_kato 2021-06-28 12:08:49 +00:00
HTMLStyleEditor.cpp Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
HTMLTableEditor.cpp Bug 1732234 - Fix non-unified build errors in editor/. r=masayuki 2021-09-28 04:26:52 +00:00
InsertNodeTransaction.cpp Bug 1713334 - Part 1: Keep a text node inside text controls even if empty r=masayuki,Jamie 2021-06-18 00:36:53 +00:00
InsertNodeTransaction.h
InsertTextTransaction.cpp
InsertTextTransaction.h
InternetCiter.cpp Bug 1727844 - part 7: Make `HTMLEditor` related classes use constants in `HTMLEditUtils` to use specific character code point r=m_kato 2021-08-31 17:37:42 +00:00
InternetCiter.h
JoinNodeTransaction.cpp
JoinNodeTransaction.h
ManualNAC.h
PlaceholderTransaction.cpp
PlaceholderTransaction.h
ReplaceTextTransaction.cpp
ReplaceTextTransaction.h
SelectionState.cpp Bug 1719669 - Fix the reverse loop in `SelectionState::SaveSelection()` r=m_kato 2021-07-12 07:52:32 +00:00
SelectionState.h Bug 1714914 - Make editor classes treat offset in parent node as uint32_t r=m_kato 2021-06-30 07:07:28 +00:00
SplitNodeTransaction.cpp Bug 1727185 - Add `MOZ_DIAGNOSTIC_ASSERT` to the constructors of `DeleteNodeTransaction` and `SplitNodeTransaction` and make their users return error before hitting it r=m_kato 2021-08-25 00:39:41 +00:00
SplitNodeTransaction.h
TextEditSubActionHandler.cpp Bug 1720809 - part 2: Make `insertLineBreak` command handler in `HTMLEditor` insert a linefeed character instead of `<br>` element in same condition as Blink/WebKit r=m_kato 2021-09-10 21:45:47 +00:00
TextEditor.cpp Bug 1720809 - part 2: Make `insertLineBreak` command handler in `HTMLEditor` insert a linefeed character instead of `<br>` element in same condition as Blink/WebKit r=m_kato 2021-09-10 21:45:47 +00:00
TextEditor.h Bug 1720809 - part 2: Make `insertLineBreak` command handler in `HTMLEditor` insert a linefeed character instead of `<br>` element in same condition as Blink/WebKit r=m_kato 2021-09-10 21:45:47 +00:00
TextEditorDataTransfer.cpp Bug 1727176, use the principal to determine the source of the drag, r=masayuki 2021-08-31 00:58:35 +00:00
TypeInState.cpp
TypeInState.h Bug 1730429 - part 2: Delete empty inline elements which become newly empty but preserve the styles for next editing r=m_kato 2021-09-15 04:13:44 +00:00
WSRunObject.cpp Bug 1724650 - part 8: Update WPT result and add new tests to insert mulitple white-spaces r=m_kato 2021-09-10 04:04:30 +00:00
WSRunObject.h Bug 1724650 - part 6: Make white-space normalizers treat `white-space: pre-line` correctly r=m_kato 2021-09-10 04:04:29 +00:00
moz.build Bug 1311934 - Replace `TextServicesDocument::IsBlockNode()` with `HTMLEditUtils::IsBlockElement()` r=m_kato 2021-07-19 23:11:25 +00:00