editor/libeditor/WSRunObject.h
5f86836c31e5c21db6ef51ada6893f5e7c65be5c
created 2020-05-21 08:22 +0000
pushed 2020-05-21 21:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1639161 - part 2: Make `WSRunObject` use `HTMLEditor::ReplaceTextWithTransaction()` r=m_kato
89323728b4a7b12bafd97fc181a0b2bc6c8479b7
created 2020-05-19 01:17 +0000
pushed 2020-05-19 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1637865 - part 5: Clean up `WSRunObject::CheckTrailingNBSPOfRun()` r=m_kato
83ac1ca91ced4554c5e05554ed5306c644fb3c4c
created 2020-05-18 08:33 +0000
pushed 2020-05-19 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1637865 - part 1: Clean up `WSRunObject::ReplacePreviousNBSPIfUnnecessary()` and `WSRunObject::CheckLeadingNBSP()` r=m_kato
ac9f8166fa65f84f404575292dcbae15affb2827
created 2020-05-18 06:46 +0000
pushed 2020-05-18 15:24 +0000
Masayuki Nakano Masayuki Nakano - Bug 1637856 - part 2: Get rid of `WSRunScanner::mNodeArray` r=m_kato
3ead0007c8fb0f39dd9953b751a014de834fe87c
created 2020-05-18 05:12 +0000
pushed 2020-05-18 15:24 +0000
Masayuki Nakano Masayuki Nakano - Bug 1637856 - part 1: Move `WSRunObject::DeleteRange()` to `HTMLEditor` r=m_kato
dffc3c357cee6d6877754d34e15bdcc608329d0d
created 2020-05-12 16:23 +0000
pushed 2020-05-13 21:46 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 18: Move `WSRunScanner::GetNextWSNode()` and `WSRunScanner::GetPreviousWSNode()` to `HTMLEditUtils` r=m_kato
3dbde556656a0333f8051c09f778010806768085
created 2020-05-12 16:14 +0000
pushed 2020-05-13 14:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 17: Move `WSRunScanner::GetPreviousWSNodeInner()` to `HTMLEditUtils` r=m_kato
d010b23f67df875786842257a8a2ee863fbb4786
created 2020-05-12 15:43 +0000
pushed 2020-05-13 09:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 16: Move `WSRunScanner::GetNextWSNodeInner()` to `HTMLEditUtils` r=m_kato
f1c0352bceab21036ec4dc693b5a444a7a86235b
created 2020-04-27 03:36 +0000
pushed 2020-04-27 21:46 +0000
Botond Ballo Botond Ballo - Bug 1633014 - Fix non-unified build errors in editor/. r=m_kato
7deca88757e3bfd0531259f5dc7b3b1a550396d8
created 2020-04-15 15:27 +0000
pushed 2020-04-16 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 2: Move `EditorBase::IsModifiableNode()`, `EditorBase::IsEditable()`, `EditorBase::IsTextElementOrText()` and `EditorBase::IsPaddingBRElementForEmptyEditor()` to `EditorUtils` r=m_kato
3b1b033a7cc072d7294b70b91bc7c126b38a9e2e
created 2020-04-15 13:55 +0000
pushed 2020-04-16 09:48 +0000
Masayuki Nakano Masayuki Nakano - Bug 1627175 - part 1: Move `HTMLEditor::IsBlockNode()` into `HTMLEditUtils` r=m_kato
8ed83142ac7f3bbe4dabee70fdfd0747a6e9a5e0
created 2020-04-02 05:43 +0000
pushed 2020-04-03 01:02 +0000
Chris Peterson Chris Peterson - Bug 1625834 - Replace MOZ_MUST_USE with [[nodiscard]] in editor. r=masayuki
774d32b9641e8196a198228e2d3dd76b09ee01df
created 2020-03-31 15:46 +0000
pushed 2020-04-01 09:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1625633 - part 4: Move `WSType` into `WSRunScanner` to hide it from `HTMLEditor` r=m_kato
5a4357636b819d02251981736c796c2ee1e64304
created 2020-03-31 12:15 +0000
pushed 2020-04-01 09:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1625633 - part 3: Get rid of `WSFragment::mType` r=m_kato
cadb96d25fbf24f976bf7f1e3659203fa7f8b357
created 2020-03-30 09:22 +0000
pushed 2020-04-01 09:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1625633 - part 2: Encapsulate `WSFragment::mLeftType` r=m_kato
72e16880bb6438e404f8ecffa934357598bc20ba
created 2020-03-30 09:13 +0000
pushed 2020-04-01 09:51 +0000
Masayuki Nakano Masayuki Nakano - Bug 1625633 - part 1: Encapsulate `WSFragment::mRightType` r=m_kato
5a5b189e0fc90e9f8bbe44a0a7126ad62ec94da6
created 2020-04-01 04:32 +0300
pushed 2020-04-01 09:51 +0000
Arthur Iakab Arthur Iakab - Backed out changeset 5e89020502f7 (bug 1625834) for causing build bustages
5e89020502f79ced17433215db8a0c74264549e2
created 2020-03-30 06:45 +0000
pushed 2020-04-01 09:51 +0000
Chris Peterson Chris Peterson - Bug 1625834 - Replace MOZ_MUST_USE with [[nodiscard]] in editor. r=masayuki
e75be1e218272bb9b1dfab5e1ed0ad37079c3c67
created 2020-03-22 10:46 +0000
pushed 2020-03-23 09:24 +0000
Masayuki Nakano Masayuki Nakano - Bug 1620504 - part 23: Fix some inconsistent coding style in editor r=m_kato
01e8e25d291ef2a49244951b5a277a69c406bfdc
created 2020-03-04 08:15 +0000
pushed 2020-03-04 16:19 +0000
Masayuki Nakano Masayuki Nakano - Bug 1619647 - Make `WSRunObject::ReplacePreviousNBSPIfUnnecessary()` check `IsEndOfContainer()` before calling `IsCharNBSP()` r=m_kato
75b0efe2d2e107ba25c9de3ae8a902a542726849
created 2020-03-03 04:35 +0000
pushed 2020-03-03 15:54 +0000
Masayuki Nakano Masayuki Nakano - Bug 1618089 - part 8: Make `WSRunObject::PrepareToDeleteRange()` take 2 pointers of `EditorDOMPoint` r=m_kato
1466d7d6110279cf167ab8b1567be693df5d7c3c
created 2020-03-03 01:15 +0000
pushed 2020-03-03 09:50 +0000
Masayuki Nakano Masayuki Nakano - Bug 1618089 - part 7: Make some related methods use `EditorDOMPointInText` for arguments or result r=m_kato
61f680923525df4092faa7da9afc119ce07f4306
created 2020-03-02 10:08 +0000
pushed 2020-03-03 09:50 +0000
Masayuki Nakano Masayuki Nakano - Bug 1618089 - part 6: Get rid of `WSRunScanner::WSPoint` r=m_kato
8a565a6fd56c2838f5344c0afa754b3f875dbc32
created 2020-03-02 07:35 +0000
pushed 2020-03-02 21:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1618089 - part 5: Make `WSRunObject::GetASCIIShitespacesBounds()` return 2 `EditorDOMPoint`s r=m_kato
a617cdc4632e1d8c2cad4cbba28be196902ec47c
created 2020-03-02 07:35 +0000
pushed 2020-03-02 21:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1618089 - part 4: Make `WSRunObject` instantiators guarantee `WSRunObject::mHTMLEditor` lifetime r=m_kato
ced5b6a8ab8da9e2401026d6dc0baeb4a16dfc74
created 2020-03-02 07:35 +0000
pushed 2020-03-02 21:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1618089 - part 3: Rename `WSRunScanner::Get(Previous|Next)CharPoint(const WSPoint&)` to `WSRunScanner::Get(Previous|Next)CharPointFromPointInText()` r=m_kato
54a21814751f05d88f3b9cf5a16a821d11ca56eb
created 2020-03-02 07:33 +0000
pushed 2020-03-02 21:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1618089 - part 2: Rename `WSRunScanner::Get(Next|Previous)CharPointInternal()` to `WSRunScanner::LookFor(Next|Previous)CharPointWithinAllTextNodes()` r=m_kato
4b43fd9bf67144f7f66e7f7bd8561807cae9de77
created 2020-03-02 07:33 +0000
pushed 2020-03-02 21:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1618089 - part 1: Redsign `EditorDOMPointBase` with template methods r=m_kato
97385d484fbf0827ae6d3db9ee6d3b54e5e9f944
created 2020-02-25 23:19 +0000
pushed 2020-02-26 09:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1616257 - part 5: Make `WSRunObject` stop keeping `HTMLEditor` as a friend class r=m_kato
1623be3a5824f967c58d48fb13095fc2307f2057
created 2020-02-25 12:10 +0000
pushed 2020-02-26 09:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1616257 - part 3: Make `WSRunScanner::NextVisibleNode()` and `WSRunScanner::PriorVisibleNode()` return stack only class instance which storing the visible node as `nsIContent` r=m_kato
9b52ba2aa0da5be499c5ea01a1e5e2e62d547135
created 2020-02-25 09:31 +0000
pushed 2020-02-26 09:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1616257 - part 2: Change `mStartReasonNode` and `mEndReasonNode` to `nsIContent` r=m_kato
f8505320d2165dd86f8fbb212ffe87397a814aaf
created 2020-02-25 08:58 +0000
pushed 2020-02-26 09:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1616257 - part 1: Redesign `WSRunScanner::GetWSBoundingParent()` r=m_kato
72e2b71294b4b30411516c671382b6fba25cb610
created 2019-09-18 08:40 +0000
pushed 2019-09-19 03:58 +0000
Masayuki Nakano Masayuki Nakano - Bug 1540029 - part 10: Get rid of `TextEditRules` and `HTMLEditRules` r=m_kato
4dd3945f8b0a2be5d591cf0a96fab41b70b8a8d0
created 2019-09-18 03:56 +0000
pushed 2019-09-18 09:56 +0000
Makoto Kato Makoto Kato - Bug 1571375 - Don't remove white space when committing composition. r=masayuki
9ced245d583557d0bf3fb33ad630f9a855cde550
created 2019-09-04 08:43 +0000
pushed 2019-09-05 16:14 +0000
Masayuki Nakano Masayuki Nakano - Bug 1574852 - part 62: Move `HTMLEditRules::TryToJoinBlocksWithTransaction()` to `HTMLEditor` r=m_kato
710947b25081ea2da6477550e9ad068bf117e975
created 2019-08-12 08:30 +0000
pushed 2019-08-12 16:21 +0000
Mirko Brodesser Mirko Brodesser - Bug 1572715: part 1) Factor out `WSRunScanner` from `WSRunObject`. r=masayuki
2b0a67905857a8bb36bb6421d122bcbc36d45196
created 2019-08-09 06:11 +0000
pushed 2019-08-09 21:56 +0000
Mirko Brodesser Mirko Brodesser - Bug 1572473: declare a few methods in `WSRunObject` const. r=smaug
de1ede4b54c524ca6f20424db21fab6b1e4be2b8
created 2019-05-27 12:10 +0000
pushed 2019-05-28 09:38 +0000
Masayuki Nakano Masayuki Nakano - Bug 1547897 - Make WSRunObject stop scanning outside of editing host r=m_kato
80c8ca102b81ddccf720129381d8669b88f61a17
created 2019-05-08 09:40 +0000
pushed 2019-05-08 21:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1549319 - Make template methods marked as MOZ_CAN_RUN_SCRIPT take only EditorDOMPoint (i.e., not allow EditorRawDOMPoint) r=m_kato
36ab55f6cd91191eb913d95049996094789297d7
created 2019-05-07 22:27 +0000
pushed 2019-05-08 11:13 +0000
Masayuki Nakano Masayuki Nakano - Bug 1549155 - Mark EditorBase::DeleteNodeWithTransaction() as MOZ_CAN_RUN_SCRIPT r=m_kato
0f42a24f44036244c0b5afc442529d88f5125c16
created 2019-05-07 10:58 +0000
pushed 2019-05-08 03:38 +0000
Masayuki Nakano Masayuki Nakano - Bug 1549148 - Mark EditorBase::InsertTextIntoTextNodeWithTransaction() as MOZ_CAN_RUN_SCRIPT r=m_kato
70d5e0b1c0f874fe3845489c0a721ef143e53e6e
created 2019-04-09 05:28 +0000
pushed 2019-04-09 09:54 +0000
Masayuki Nakano Masayuki Nakano - Bug 1530649 - Improve composition string handling which ends with whitespaces r=m_kato
c7ec5a12950618af4257d9c0a512a3acff1dced1
created 2019-03-30 11:55 +0000
pushed 2019-03-30 21:44 +0000
Masayuki Nakano Masayuki Nakano - Bug 1539356 - Mark EditorBase::InsertNodeTransaction() as MOZ_CAN_RUN_SCRIPT r=m_kato
1e7c6202d94f27e9b14450dc8710f32e7df31572
created 2019-03-30 00:42 +0200
pushed 2019-03-29 22:44 +0000
Oana Pop Rus Oana Pop Rus - Backed out changeset 447c87c2d139 (bug 1539356) on request of Jorg K. a=backout
447c87c2d1396aa1d0980d023067f1629d972c25
created 2019-03-29 10:55 +0000
pushed 2019-03-29 21:53 +0000
Masayuki Nakano Masayuki Nakano - Bug 1539356 - Mark EditorBase::InsertNodeTransaction() as MOZ_CAN_RUN_SCRIPT r=m_kato
f0a91d36587266d7454a450c6044d573664fbed5
created 2019-01-02 14:05 +0100
pushed 2019-01-03 22:05 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
6f3709b3878117466168c40affa7bca0b60cf75b
created 2018-11-30 11:46 +0100
pushed 2018-11-30 11:01 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
b7fdf387fa7b2ecd8f046524f72ed1abc76a02fc
created 2018-10-24 09:42 +0000
pushed 2018-10-24 13:27 +0000
Masayuki Nakano Masayuki Nakano - Bug 1500862 - part 3: Change all stack base helper classes which access protected members of EditorBase to nested classes of EditorBase r=m_kato
7de9496d9640c757f486c8fe80e0679ed78d3cf2
created 2018-08-14 18:26 +0900
pushed 2018-08-16 09:25 +0000
Makoto Kato Makoto Kato - Bug 1483434 - Allow nullptr parameter for PriorVisibleNode and NextVisibleNode. r=masayuki
979bfcb751572486dce5e69b709f916c008425ee
created 2018-04-12 17:58 +0900
pushed 2018-04-21 09:30 +0000
Masayuki Nakano Masayuki Nakano - Bug 1451672 - part 13: Rename EditorBase::InsertTextImpl() and EditorBase::InsertTextIntoTextNodeImpl() to EditorBase::InsertTextWithTransaction() and EditorBase::InsertTextIntoTextNodeWithTransaction() r=m_kato
e381311f2847305e18ef0809c74a931035ffd8ce
created 2018-03-20 14:05 +0900
pushed 2018-03-23 21:59 +0000
Masayuki Nakano Masayuki Nakano - Bug 1447213 - Change editor methods which take |const EditorRawDOMPoint&| but called with EditorDOMPoint.AsRaw() to template methods r=m_kato
78b6dcb16d04b0dba10cae6ba70fc808ba73aef5
created 2018-03-15 18:23 +0900
pushed 2018-03-16 17:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1445569 - part 2: Make WSRunObject::PriorVisibleNode() and WSRunObject::NextVisibleNode() take |const Editor(Raw)DOMPoint&| instead of a pair of |nsINode*| and offset in it r=m_kato
918ae45e719839a52f262a5c70f743caac599d9e
created 2018-03-15 17:56 +0900
pushed 2018-03-16 17:49 +0000
Masayuki Nakano Masayuki Nakano - Bug 1445569 - part 1: Create WSRunObject constructor which takes |const Editor(Raw)DOMPoint&| instead of |nsINode*| and offset in it r=m_kato
1795687786a6fd595555d1deb6f05cb36d59f1fa
created 2018-02-28 11:33 +0900
pushed 2018-02-28 21:47 +0000
Makoto Kato Makoto Kato - Bug 1436285 - Part 2. Get a rid of nsIDOMNode version of GetNodeLocation, GetStartNodeAndOffset, GetEndNodeAndOffset and etc. r=masayuki
900d89625a37b413f35024a32997fba16b85e5cc
created 2017-12-21 19:27 +0900
pushed 2017-12-30 09:53 +0000
Masayuki Nakano Masayuki Nakano - Bug 1425997 - Don't try to remove whitespaces in WSRunObject::ConvertToNBSP() when the text node is changed by mutation observer r=m_kato
b4af5fae3d9b878b42d245d5c61fa30dc35d5307
created 2017-11-22 02:45 +0900
pushed 2017-12-04 20:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1408227 - part 6: WSRunObject::CheckTrailingNBSP() should take |const EditorRawDOMPoint&| instead of a set of container node and offset in it r=m_kato
ed55a1cbf4ab35f9116f39a3c1ced22470156a91
created 2017-11-22 02:12 +0900
pushed 2017-12-04 20:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1408227 - part 5: Redesign GetCharAfter(), GetCharBefore(), GetWSPointAfter() and GetWSPointBefore() of WSRunObject r=m_kato
baed101e364b48543a24539dc842c759ac6bb6fb
created 2017-11-22 01:00 +0900
pushed 2017-12-04 20:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1408227 - part 4: WSRunObject::DeleteChars() should take two |const EditorRawDOMPoint&| arguments to specify a range to remove r=m_kato
33d2e22dc648bbcce4a1e591d2551972754f0a8b
created 2017-11-21 19:03 +0900
pushed 2017-12-04 20:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1408227 - part 3: Redesign WSRunObject::FindRun() with EditorRawDOMPoint r=m_kato
6fc7cf0d7a86cd79f7820cb97695ae2707847349
created 2017-11-21 18:12 +0900
pushed 2017-12-04 20:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1408227 - part 2: WSRunObject::InsertBreak() should take |const EditorRawDOMPoint&| as an argument r=m_kato
less more (0) -60 tip