editor/libeditor/TextEditor.cpp
5d3e1ea7769357bce7297b83be3863034bcf656e
created 2019-05-25 00:49 +0300
pushed 2019-05-24 21:49 +0000
Brindusan Cristian Brindusan Cristian - Merge inbound to mozilla-central. a=merge
41eb29365e546de0ce1ffe2dd366b6e264444046
created 2019-05-24 14:32 +0300
pushed 2019-05-24 21:47 +0000
Mihai Alexandru Michis Mihai Alexandru Michis - Backed out changeset e52d041dc3de (bug 1553378) for causing build bustages in ContentEventHandler.cpp. CLOSED TREE
e52d041dc3dec4d932186ed0316428f6fb1400c9
created 2019-05-24 08:10 +0000
pushed 2019-05-24 21:47 +0000
Cameron McCormack Cameron McCormack - Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
d795681e08ee85b905917247f81df03a451a2864
created 2019-05-24 06:50 +0300
pushed 2019-05-24 09:53 +0000
Razvan Maries Razvan Maries - Backed out changeset 82b18d61da00 (bug 1553378) for build bustages. CLOSED TREE
82b18d61da0017c61a072f20d2928de0e6ba1b87
created 2019-05-24 03:18 +0000
pushed 2019-05-24 09:53 +0000
Cameron McCormack Cameron McCormack - Bug 1553378 - Devirtualize calls to GetText() / TextLength() when we know we have a Text node. r=smaug,jfkthame
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
4e509c724417f6ed43df0f3a5a4f9dcefef5fd52
created 2019-05-02 08:39 +0000
pushed 2019-05-03 12:59 +0000
Masayuki Nakano Masayuki Nakano - Bug 1546888 - Make editor public methods which may be canceled by clipboard event listener return NS_SUCCESS_DOM_NO_OPERATION when it's canceled r=m_kato
feb8846c6602b5fb4a2580ee1f9155d2fb509585
created 2019-04-25 07:14 +0000
pushed 2019-04-25 16:18 +0000
Masayuki Nakano Masayuki Nakano - Bug 1546577 - Make overloads of CanCut(), CanCopy(), CanDelete() and CanPaste() which return bool instead of nsresult r=m_kato
a57a60c0278de19bc4ab10d6f857b160cc6d74ff
created 2019-04-13 12:43 +0000
pushed 2019-04-13 21:44 +0000
Masayuki Nakano Masayuki Nakano - Bug 1543315 - part 9: Mark nsIPresShell::FlushPendingNotifications() as MOZ_CAN_RUN_SCRIPT r=smaug
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
800d46efef526243036570465ab99000f61117d5
created 2019-03-29 09:44 +0000
pushed 2019-03-29 21:53 +0000
Makoto Kato Makoto Kato - Bug 1540062 - Get rid of nsIPlaintextEditor.setWrapColumn. r=masayuki
889784eb39fac9ad684e128613da91f184d28076
created 2019-03-26 10:06 +0000
pushed 2019-03-26 17:42 +0000
Masayuki Nakano Masayuki Nakano - Bug 1533293 - part 2: Rewrite EditorBase::SelectEntireDocument() and its overrides r=m_kato
25398e555020fef80c7b2a06a0d4c667e861cd6f
created 2019-03-20 13:29 +0200
pushed 2019-03-20 11:29 +0000
Noemi Erli Noemi Erli - Backed out 3 changesets (bug 1533293) for causing Bug 1536595 a=backout
e536f6e123d8f54d5bf165e5e78da13c71a901af
created 2019-03-18 01:51 +0000
pushed 2019-03-18 09:50 +0000
Masayuki Nakano Masayuki Nakano - Bug 1533293 - part 2: Rewrite EditorBase::SelectEntireDocument() and its overrides r=m_kato
dd95011124a522d76265e0cd3382bf7ada44b750
created 2019-03-15 05:01 +0000
pushed 2019-03-15 16:31 +0000
Masayuki Nakano Masayuki Nakano - Bug 1534561 - Make editor use PresShell directly rather than nsIPresShell r=m_kato
577a1e61f6d37c5cc402d9fd0fc1cb40a489c616
created 2019-03-05 14:35 +0000
pushed 2019-03-06 16:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1532527 - Support "insertFromPasteAsQuotation" inputType value r=smaug
81adda1cb3f2d0ddcc71c389ff851396387412b0
created 2019-02-25 09:07 +0000
pushed 2019-02-25 16:35 +0000
Masayuki Nakano Masayuki Nakano - Bug 1525481 - part 3: Make editor not expose internal errors to the web r=m_kato
b259d7a34058346d36896febd5cc1c94ed63a5ca
created 2019-02-19 06:33 +0000
pushed 2019-02-19 17:33 +0000
Masayuki Nakano Masayuki Nakano - Bug 998941 - part 2-2: Make HTMLEditor set InputEvent.dataTransfer when InputEvent.inputType is "insertFromPaste", "insertFromDrop" or "insertReplacementText" r=smaug,m_kato
ebd32851bb24a4f09ad7c02d5de5669e5c6ce7f5
created 2019-02-19 06:28 +0000
pushed 2019-02-19 17:33 +0000
Masayuki Nakano Masayuki Nakano - Bug 998941 - part 1-3: Make TextEditor (only when not HTMLEditor instance) set InputEvent.data to inserting string when InputEvent.inputType is "insertFromPaste", "insertFromDrop" or "insertReplacementText" r=smaug,m_kato
7eae0724c0aa291d7439cb64dc851e0026cdebe2
created 2019-02-19 06:28 +0000
pushed 2019-02-19 17:33 +0000
Masayuki Nakano Masayuki Nakano - Bug 998941 - part 1-2: Make editor set InputEvent.data to inserting text when it sets InputEvent.inputType to "insertText" or "insertCompositionText" r=smaug,m_kato
dbf919528d9794a0570b6805a45e9baeac42629f
created 2019-01-11 01:52 +0000
pushed 2019-01-11 21:54 +0000
Masayuki Nakano Masayuki Nakano - Bug 181137 - part 8: Make ContentIteratorBase and its subclasses non-refcountable r=smaug
0d3c97c78d7ce2dc4a6790caa84b47b62d097b34
created 2019-01-11 01:50 +0000
pushed 2019-01-11 21:54 +0000
Masayuki Nakano Masayuki Nakano - Bug 181137 - part 5: Make all users of PostContentIterator treat it directly rather than via nsIContentIterator r=smaug
5562d6967f3d6a7d4a5f9a16e7a492452163ff14
created 2019-01-10 11:42 +0200
pushed 2019-01-10 17:19 +0000
Csoregi Natalia Csoregi Natalia - Backed out 8 changesets (bug 181137) for bustage on FragmentOrElement.cpp:1751. CLOSED TREE
99a977d519a0b78e267d3dce4afb009b8d3be769
created 2019-01-10 08:50 +0000
pushed 2019-01-10 17:19 +0000
Masayuki Nakano Masayuki Nakano - Bug 181137 - part 8: Make ContentIteratorBase and its subclasses non-refcountable r=smaug
83bec02c21d965b6cd5eb0fc682a18ef6ac74b68
created 2019-01-10 08:46 +0000
pushed 2019-01-10 17:19 +0000
Masayuki Nakano Masayuki Nakano - Bug 181137 - part 5: Make all users of PostContentIterator treat it directly rather than via nsIContentIterator r=smaug
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
fb45231e386d90110cdc7b93297e609e02c2b2a7
created 2018-11-26 06:33 +0000
pushed 2018-11-26 16:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1497746 - part 6: Add static_assert for preventing TextEditor to grow up again r=m_kato
097a6db494774ab5b7311e10e40bd2948009e46e
created 2018-11-26 06:30 +0000
pushed 2018-11-26 16:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1497746 - part 2: Move EditorBase::mDirection to EditorBase::AutoEditActionDataSetter r=m_kato
6c108d9038c36d16fb6424a27054454110df7489
created 2018-11-26 03:53 +0000
pushed 2018-11-26 16:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1497746 - part 1: Move EditorBase::mTopLevelEditSubAction to EditorBase::AutoEditActionDataSetter r=m_kato
48440593d675ccfe5a6893118a7e91cc4b823c3f
created 2018-11-21 03:59 +0000
pushed 2018-11-21 16:24 +0000
Masayuki Nakano Masayuki Nakano - Bug 1504911 - part 1: Make all "input" event dispatcher in C++ use new utility method r=smaug
b631af71b7ba4ccdff840db112ec9c519382f161
created 2018-11-07 08:38 +0000
pushed 2018-11-07 16:16 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503231 - Make TextEditor::DeleteSelectionAsAction() removes removing range information from EditAction when Selection is NOT collapsed r=m_kato
2aaf8a7930e51d87c80d8c1824337db17b9de430
created 2018-11-04 19:41 -0500
pushed 2018-11-06 09:59 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1504574 - Remove the XPCOM registration for nsDocumentEncoder; r=mccr8
bb81f74e232ad6a145f7ebf526bd066a228d01ec
created 2018-11-03 04:19 +0000
pushed 2018-11-03 21:44 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503473 - part 5: Move InsertParagraphSeparator*() into HTMLEditor r=m_kato
dffafc01a94d0455fc4b44e42548d36b573fdbf5
created 2018-11-03 11:22 +0000
pushed 2018-11-03 21:44 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503473 - part 4: Create a new path to handle Enter key press in TextEditor r=m_kato
952458a5da30ad6f6542c8899755c8c6ef16db79
created 2018-11-03 11:21 +0000
pushed 2018-11-03 21:44 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503473 - part 3: Move inserting a line break code in TextEditor::InsertParagraphSeparatorAsSubAction() to TextEditRules::WillInsertLineBreak() r=m_kato
3f5d390db0faf52000531b31b579b27fb73c04b1
created 2018-11-03 11:19 +0000
pushed 2018-11-03 21:44 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503473 - part 1: Rename TextEditor::OnInputParagraphSeparator() and HTMLEditor::OnInputLineBreak() r=m_kato
75e4c3050cac5acc38d3031fb97bed8eaca59222
created 2018-11-03 02:08 +0200
pushed 2018-11-03 00:09 +0000
Cosmin Sabou Cosmin Sabou - Backed out 5 changesets (bug 1503473) for crashes in Thunderbird on request of jorgk. a=backout
a7f7d9f366b9d19e51c2817dae398c3300a05ccb
created 2018-11-02 14:24 +0000
pushed 2018-11-02 21:46 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503473 - part 5: Move InsertParagraphSeparator*() into HTMLEditor r=m_kato
d067907793efc8b232e295d4a52b3119bfaa6c64
created 2018-11-02 13:10 +0000
pushed 2018-11-02 21:46 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503473 - part 4: Create a new path to handle Enter key press in TextEditor r=m_kato
130ba0de053fd4889ddffdce68d88f999ff72964
created 2018-11-02 08:58 +0000
pushed 2018-11-02 21:46 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503473 - part 3: Move inserting a line break code in TextEditor::InsertParagraphSeparatorAsSubAction() to TextEditRules::WillInsertLineBreak() r=m_kato
13511cab2b41922cbae8edce6567535adae85c5d
created 2018-11-02 03:36 +0000
pushed 2018-11-02 21:46 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503473 - part 1: Rename TextEditor::OnInputParagraphSeparator() and HTMLEditor::OnInputLineBreak() r=m_kato
5da2f0a49f14e7bbe87b14fa53a9bdcfb17b6306
created 2018-11-02 11:02 +0000
pushed 2018-11-02 16:43 +0000
Tom Schuster Tom Schuster - Bug 1503588 - Remove aDataLen parameter from nsITransferable.getAnyTransferData. r=smaug
092017b9103be8d6757287c943980ace4b6e83b0
created 2018-11-01 08:07 +0000
pushed 2018-11-01 22:26 +0000
Masayuki Nakano Masayuki Nakano - Bug 1503457 - Add some variation of EditAction values for composition r=m_kato
bda6c79cf03c921d16e4944fc200a424b4af78b0
created 2018-10-30 10:04 +0000
pushed 2018-10-30 22:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1465702 - part 7: Make protected/private methods of EditorBase/TextEditor/HTMLEditor use SelectionRefPtr() instead of GetSelection() r=m_kato
258672244b3e879b464788d7e054e9f72bd67655
created 2018-10-30 10:02 +0000
pushed 2018-10-30 22:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1465702 - part 6: Remove unnecessary Selection argument from TextEditRules and HTMLEditRules and rename/reimplement TextEditRules::SelectionRef() as TextEditRules::SelectionRefPtr() r=m_kato
1945bfc27c6d9bbd6797df4aa2117b787907a525
created 2018-10-30 10:01 +0000
pushed 2018-10-30 22:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1465702 - part 5: Remove unnecessary Selection argument from editor module r=m_kato
27ca7b49a11e0440721ab013b100578ac558b161
created 2018-10-30 09:59 +0000
pushed 2018-10-30 22:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1465702 - part 3: Make public methods of TextEditor create AutoEditActionDataSetter if necessary r=m_kato
ca2018e79dc07aef83d62d70905e64895bc607a2
created 2018-10-25 03:35 +0000
pushed 2018-10-25 09:52 +0000
Masayuki Nakano Masayuki Nakano - Bug 1501180 - Make TextEditRules::Notify() hide input characters via editor instance r=m_kato
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
0f2549de4e47ed8570b1e0a3f368bc82c17895b9
created 2018-10-10 12:05 +0000
pushed 2018-10-10 16:07 +0000
Masayuki Nakano Masayuki Nakano - Bug 1461708 - part 7: Make EventStateManager::HandleMiddleClickPaste() dispatch ePaste event by itself r=smaug
6363667d504cbd42645903ab0c1da7b59f4c5176
created 2018-08-17 14:51 -0400
pushed 2018-08-18 09:49 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1484137 - Remove the XPCOM component registration for content iterator classes; r=qdot
e0fa16503d340f35a9dd5ef2c1771bee457d9c87
created 2018-08-01 21:30 +0900
pushed 2018-08-03 21:59 +0000
Masayuki Nakano Masayuki Nakano - Bug 1480055 - part 4: Make AutoTransactionsConserveSelection take reference of Editor rather than pointer r=m_kato
48ffc0ee2258cc74a7fcd2ea60eba7c65779b75a
created 2018-07-04 22:51 +0900
pushed 2018-08-02 13:09 +0000
Masayuki Nakano Masayuki Nakano - Bug 1467796 - part 3: Make mozInlineSpellChecker::ReplaceWord() use TextEditor::ReplaceTextAsAction() r=m_kato,smaug
fd043d4697737c2abb82a71ec16ba9873606d7be
created 2018-07-03 22:25 +0900
pushed 2018-08-02 13:09 +0000
Masayuki Nakano Masayuki Nakano - Bug 1467796 - part 2: Make autocomplete use new method TextEditor::ReplaceTextAsAction() which replaces all text with specified text r=m_kato
3403701f0727a33f927e46da1eef2950a93b0e1a
created 2018-07-02 20:12 +0900
pushed 2018-08-02 13:09 +0000
Masayuki Nakano Masayuki Nakano - Bug 1467796 - part 1: Split TextEditor::InsertTextAsAction() to itself and TextEditor::InsertTextAsSubAction() for internal use r=m_kato
16001f32b7f9a2f6a6bb919fad1dbfeed223eab2
created 2018-07-24 17:46 +0900
pushed 2018-07-27 17:37 +0000
Masayuki Nakano Masayuki Nakano - Bug 1478564 - part 1: Optimize TextEditRules::HandleNewLines() r=m_kato
8cce60bfbdb7579e6888ea66d00a47b55e5f72df
created 2018-07-26 17:01 +0900
pushed 2018-07-26 21:57 +0000
Masayuki Nakano Masayuki Nakano - Bug 1478268 - Fix condition of MOZ_ASSERT() in TextEditor::InsertWithQuotationsAsSubAction() r=jorgk+176914
less more (0) -100 -60 tip