editor/libeditor/EditorBase.cpp
8c6f9b6b56ebe5bfd1eb7d6345e9af2e94cc914e
created 2017-10-07 17:49 -0400
pushed 2017-10-11 21:53 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1407305 - Part 3: Avoid using GetChildAt() in EditorBase::GetPriorNode(); r=masayuki
e5a525f6efd21ac0b913238eeeec659c7d821b62
created 2017-10-09 23:38 -0400
pushed 2017-10-11 21:53 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1407353 - Remove one of the nsINode::GetChildAt() calls in EditorBase::JoinNodeDeep(); r=masayuki
56fffcd3581f39be3f3af1ff62d77e51816a7db6
created 2017-10-09 21:33 -0700
pushed 2017-10-10 09:13 +0000
Phil Ringnalda Phil Ringnalda - Backed out changeset 8cce0046e302 (bug 1406482) for mozilla::EditorBase::InsertTextImpl crashes
e9fdabc86073de7f425b0a42ad8899c298bca5d3
created 2017-10-09 21:32 -0700
pushed 2017-10-10 09:13 +0000
Phil Ringnalda Phil Ringnalda - Backed out changeset 9843839bf1df (bug 1406482) for mozilla::EditorBase::InsertTextImpl crashes
8cce0046e30213fcc876170aa014aba1e3ddd851
created 2017-10-09 18:24 -0400
pushed 2017-10-10 09:13 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1406482 - Address review comment
9843839bf1df069f86acb555bbbe44af78b99e9c
created 2017-10-06 14:02 -0400
pushed 2017-10-10 09:13 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1406482 - Avoid using nsINode::GetChildAt() in EditorBase::InsertTextImpl(); r=masayuki
67a8e12324569dd730347187e2ffccae486c758b
created 2017-10-03 09:05 +1100
pushed 2017-10-09 09:08 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
62e1dd8deffb9f7303523d6948c520c67f2ff19d
created 2017-10-04 13:55 -0400
pushed 2017-10-06 19:55 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1405794 - Avoid using nsINode::GetChildAt() in TextEditor::SelectEntireDocument(); r=masayuki
d57ba091571af9ff3642c560e5f6dea956991cc9
created 2017-10-02 13:52 -0400
pushed 2017-10-03 21:37 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1404581 - Fallback to the slow path if we're in Thunderbird's plaintext editor; r=masayuki
ee49f5bb7b204499b646da1b9e0106e18cbe7749
created 2017-08-23 14:00 -0400
pushed 2017-09-29 21:47 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1393140 - Rewrite EditorBase::FindBetterInsertionPoint() to not use nsINode::GetChildAt() in the fast path used in Firefox; r=masayuki
33868c610ffc8062050874b29458299a1c17a000
created 2017-09-29 13:12 +0900
pushed 2017-09-29 11:31 +0000
Makoto Kato Makoto Kato - Bug 1403841 - IsSelectionEditable should check whether focus node and anchor node aren't null. r=masayuki
1ede5092b3695bac4248f6f9435120a7ef603a7c
created 2017-09-26 08:33 +1000
pushed 2017-09-27 21:55 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1400459 (part 2) - Devirtualize nsIAtom. r=heycam.
4193c11e97aeab5a258d5499bf4a4d9177b27380
created 2017-09-18 23:40 -0400
pushed 2017-09-21 00:18 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1399722 - Don't prevent changing the selection in the editor when setting the value attribute; r=masayuki
4d924f659b8cbc214e233bb4ea005ceaa84c42a1
created 2017-09-19 11:31 -0400
pushed 2017-09-21 00:18 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1401225 - Pass the correct length when collapsing the selection in EditorBase::SetTextImpl(); r=masayuki
49862e6cc323f6d3a3f498b803436e32cddc9824
created 2017-09-05 20:19 +1000
pushed 2017-09-14 07:03 +0000
Nicholas Nethercote Nicholas Nethercote - Bug 1395828 (part 4) - Remove nsIParserService/nsParserService. r=mrbkap.
ef1641e40903ff5e6cff94f2a1d1a3188598e563
created 2017-09-07 22:54 +0900
pushed 2017-09-08 20:15 +0000
Masayuki Nakano Masayuki Nakano - Bug 1369072 - part3: nsXBLPrototypeHandler::DispatchXBLCommand() should use controller of visible window r=smaug
1ac1cb838d99d5ebf4e0897fc69a46978f5a3723
created 2017-09-02 23:48 +0200
pushed 2017-09-02 21:48 +0000
Sebastian Hengst Sebastian Hengst - Backed out changeset d2305bd57a97 (bug 1393140) for changed behavior on request from jorgk. r=backout a=backout
d2305bd57a979d78015fb7421a2d7be6918a17e8
created 2017-08-23 14:00 -0400
pushed 2017-09-01 23:29 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1393140 - Rewrite EditorBase::FindBetterInsertionPoint() without using nsINode::GetChildAt(); r=masayuki
ea2850222e1b12f51abe852c5ecd97a3721617d1
created 2017-08-30 23:24 +0900
pushed 2017-08-31 12:35 +0000
Masayuki Nakano Masayuki Nakano - Bug 1395157 - Make EditorBase::EndPlaceholderTransaction() not retrieve nor hold nsIPresShell and nsCaret r=Ehsan
876b85ec5e06d35cf9c42cc79b154439352b0301
created 2017-08-25 16:12 +0900
pushed 2017-08-29 18:31 +0000
Makoto Kato Makoto Kato - Bug 1391978 - Part 2. Replace nsISelection::SelectAllChildren with Selection::SelectAllChildren. r=masayuki
fe569af2097b960d3657951460024ace04493cec
created 2017-08-28 14:52 +0900
pushed 2017-08-29 18:31 +0000
Makoto Kato Makoto Kato - Bug 1391978 - Part 1. Replace nsISelection::GetRangeCount with Selection::RangeCount. r=masayuki
e2efa420beb1a578c7350ba925c82230da6b1267
created 2017-08-28 16:53 +0200
pushed 2017-08-28 14:54 +0000
Sebastian Hengst Sebastian Hengst - merge mozilla-inbound to mozilla-central. r=merge a=merge
62b8b8ccbba1852710bca8eb3509d4a3d5b6e92f
created 2017-08-26 21:55 -0400
pushed 2017-08-28 14:54 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1394180 - Reduce the number of calls to nsINode::GetChildAt() in EditorBase::InsertTextImpl(); r=masayuki
a69d5ede21ba487ffad8cc9d8a399b732dd7d43d
created 2017-08-24 19:14 +0900
pushed 2017-08-28 14:47 +0000
Masayuki Nakano Masayuki Nakano - Bug 1393348 - part2: nsISelectionController::SELECTION_* should be sequential integer values r=smaug
73e410c3bfecc3dd020837408c4f0963a4e06768
created 2017-08-24 13:53 +0300
pushed 2017-08-25 00:13 +0000
Olli Pettay Olli Pettay - Bug 1390402, add a faster variant of TextEditor::GetDocumentIsEmpty(), r=masayuki
346b38526bdc018588af522db9a272c5b0426499
created 2017-08-18 16:05 +0900
pushed 2017-08-19 22:28 +0000
Masayuki Nakano Masayuki Nakano - Bug 1391538 - nsTextFragment for text nodes in <input> or <textarea> shouldn't store text as single byte characters even if all characters are less than U+0100 r=smaug
79e7b5f9b3b6eb5f3b4ce1391b5dfafa7816ba22
created 2017-08-17 17:08 +0900
pushed 2017-08-19 22:28 +0000
Masayuki Nakano Masayuki Nakano - Bug 1391165 - part4: nsIEditor::EndOfDocument() should be implemented with an internal method which takes pointer to Selection r=smaug
0b8d070ae3618c113ca49cfc1266372630c5ddb8
created 2017-08-17 16:24 +0900
pushed 2017-08-19 22:28 +0000
Masayuki Nakano Masayuki Nakano - Bug 1391165 - part1: EditorBase::GetChildOffset() and EditorBase::GetNodeLocation() shouldn't use nsINode::IndexOf() as far as possible r=smaug
6a65de867d0011c87d7e14b0fa3c2b1cf74e662d
created 2017-08-17 15:28 +0900
pushed 2017-08-17 23:17 +0000
Makoto Kato Makoto Kato - Bug 1380824 - Call RepaintSelection out of script blocker. r=masayuki
b131a336d02f715d73724704cc54517b4929d33a
created 2017-08-14 14:56 +0900
pushed 2017-08-16 09:20 +0000
Masayuki Nakano Masayuki Nakano - Bug 1387317 - part5: AutoPlaceHolderBatch should take EditorBase instead of nsIEditor r=m_kato
de61ab519b71e5c70814b622d6d1fcedc67d5e96
created 2017-08-08 12:36 +0900
pushed 2017-08-16 09:20 +0000
Masayuki Nakano Masayuki Nakano - Bug 1387317 - part4: Make editor flag setters use new AddFlags() or RemoveFlags() if useful r=m_kato
eda3fcc1e872d4ae310b598b3dbb0cf009c506a6
created 2017-08-08 11:25 +0900
pushed 2017-08-16 09:20 +0000
Masayuki Nakano Masayuki Nakano - Bug 1387317 - part2: EditorEventListener should stop using interface methods as far as possible r=m_kato
253a8560dc34456d2e8a13065e4b3eb5ecf6704f
created 2017-08-10 18:14 -0700
pushed 2017-08-11 01:14 +0000
Wes Kocher Wes Kocher - Merge inbound to m-c a=merge
17a9aa5732e58048b1044b3cc12873859d4df3ce
created 2017-08-10 17:41 +0200
pushed 2017-08-11 01:14 +0000
Sebastian Hengst Sebastian Hengst - merge mozilla-central to mozilla-inbound. r=merge a=merge
13521db456ac837fc298b6827b2038860133039c
created 2017-08-09 19:17 -0400
pushed 2017-08-11 01:14 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1388917 - Fix moving of SelectionState in PlaceholderTransaction's constructor; r=masayuki
1fbb78c53ea81d749f009bec6738e5c106025e04
created 2017-08-04 18:30 +0900
pushed 2017-08-11 00:36 +0000
Masayuki Nakano Masayuki Nakano - Bug 1319340 - part6: Implement some interface methods as non-virtual methods of EditorBase or HTMLEditor r=m_kato
a072bd6e8ad734e55d7b5332bd400cda16eeb39e
created 2017-08-09 18:06 +0900
pushed 2017-08-10 15:20 +0000
Makoto Kato Makoto Kato - Bug 1388638 - Use RAII class for StartBatchChanges/EndBatchChanges. r=masayuki
7a07154c27e9312c0238990ee7ce88a228df1bcd
created 2017-08-01 23:20 -0400
pushed 2017-08-04 17:29 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1386485 - Part 4: Devirtualize and inline EditorBase::IsEditable(); r=masayuki
9bc5ba5a521ab2b914389be48335730c66870a13
created 2017-08-03 17:18 -0400
pushed 2017-08-04 17:29 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1386485 - Part 3: Devirtualize EditorBase::AsTextEditor()/AsHTMLEditor(); r=masayuki
3c630870cc7cbe7582aa165328f4118a43a8d193
created 2017-08-01 22:47 -0400
pushed 2017-08-04 17:29 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1386485 - Part 1: Inline EditorBase::IsMozEditorBogusNode(); r=masayuki
bd2fbaa64c403e90df6dfcc8883111dc41760562
created 2017-08-03 14:07 -0500
pushed 2017-08-04 17:29 +0000
Jim Mathies Jim Mathies - Bug 1360666 - Update IME state when nsObjectLoadingContent content changes type from 'loading' to a valid content type. r=masayuki
7290c51efe988249a66137d81ede29ae6c62e695
created 2017-08-01 19:51 -0400
pushed 2017-08-04 01:07 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1386411 - Part 7: Inline EditorBase::GetSelection(); r=masayuki
f570c6739e48f9c519cf011fb730b717192e13f9
created 2017-08-01 18:56 -0400
pushed 2017-08-04 01:07 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1386411 - Part 5: Make BaseEditor::GetSelectionController() return nsISelectionController*, and inline it; r=masayuki
cb876b926c3221a3ce0b8e617b1442fb355cbf0a
created 2017-08-01 18:30 -0400
pushed 2017-08-04 01:07 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1386411 - Part 4: Don't store the document as a weak reference on EditorBase; r=masayuki
8e16aa741451f0298f93028a20823430a3b9aa7f
created 2017-08-01 17:00 -0400
pushed 2017-08-04 01:07 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1386411 - Part 1: Don't store the selection controller as a weak reference on EditorBase; r=masayuki
baeb2b439c08078a77873f4c060f65eec33b19a2
created 2017-08-01 22:37 -0400
pushed 2017-08-04 01:07 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1386484 - Remove the SetTextTransaction class and embed its functionality into EditorBase::SetTextImpl(); r=masayuki
5697ac761739361957cf58ed9ade77d957cc2384
created 2017-08-02 18:14 -0700
pushed 2017-08-03 09:46 +0000
Wes Kocher Wes Kocher - Backed out changeset bcd223309de8 (bug 1360666) for asserting in stylo reftests a=backout
bcd223309de8e0b6b1d5d3dd73256758cc0a95de
created 2017-08-02 15:31 -0500
pushed 2017-08-03 09:46 +0000
Jim Mathies Jim Mathies - Bug 1360666 - Update IME state when nsObjectLoadingContent content changes type from 'loading' to a valid content type. r=masayuki
30a16b6553d79eb6ecc3a91bfdc6fb4ffc3f4f54
created 2017-07-29 02:43 -0400
pushed 2017-08-01 09:24 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1385538 - Avoid dynamic memory allocation for EditorBase::mSelState; r=masayuki
dfb4439aa194de33421b2ebfc0b71238b975c2d5
created 2017-07-29 02:13 -0400
pushed 2017-08-01 09:24 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1385525 - Part 2: Make SetTextTransaction lighter weight by making it a normal C++ class allocated on the stack; r=masayuki
df5e7bd8b6735c863c9f34c04be49089c478535f
created 2017-07-28 22:47 -0400
pushed 2017-08-01 09:24 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1385525 - Part 1: Speed up EditorBase::SetTextImpl() by actually bypassing all of the editor transaction management machinery; r=masayuki
0ae424f348a38ef1d2f052b49f2822662300c129
created 2017-07-28 14:49 -0400
pushed 2017-08-01 00:43 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1385392 - Avoid needlessly looking up the selection twice when DoTransaction() is called from TextEditRules::WillSetText(); r=masayuki
780d578d1f74bf2d52a605890b322db55873464b
created 2017-07-28 14:12 -0400
pushed 2017-08-01 00:43 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 1385384 - Don't store mPlaceholderTransactionWeak as a weak pointer; r=masayuki
9c0436b452d6df7ab0eddf0fa1787e305630fc0b
created 2017-07-19 22:49 +0900
pushed 2017-07-21 09:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1377978 - Make nsRange use uint32_t to offset r=smaug
e7ed833f7da382c65600585af38c0c631168f50d
created 2017-07-12 00:09 +0900
pushed 2017-07-12 09:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1377989 - part9: Rename aEndParent and aEndNode related to nsRange to aEndContainer r=smaug
56af7270cb559315fdc2517cd0d0e1ed11ea795e
created 2017-07-11 23:10 +0900
pushed 2017-07-12 09:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1377989 - part8: Rename aStartParent and aStartNode related to nsRange to aStartContainer r=smaug
22dc839060b207c5b198952312cf8881e585ec7c
created 2017-07-11 22:57 +0900
pushed 2017-07-12 09:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1377989 - part6: Rename mEndParent of nsRange and similar members of similar objects to mEndContainer r=smaug
21a1597968b2714dd1262daab2598bcb28b1cd1a
created 2017-07-11 22:46 +0900
pushed 2017-07-12 09:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1377989 - part5: Rename mStartParent of nsRange and similar members of similar objects to mStartContainer r=smaug
071e78737dde6e08c6c459b231b2969e74a67589
created 2017-07-11 21:11 +0900
pushed 2017-07-12 09:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1377989 - part2: Rename nsRange::GetEndParent() to nsRange::GetEndContainer() r=smaug
0dc608377abd95f03e6eab9991b47b3fa43f120d
created 2017-07-11 20:53 +0900
pushed 2017-07-12 09:06 +0000
Masayuki Nakano Masayuki Nakano - Bug 1377989 - part1: Rename nsRange::GetStartParent() to nsRange::GetStartContainer() r=smaug
less more (0) -100 -60 tip