Changes pushed with changeset 8855ccdfa3b722557d5bc251c99bfc70ad967a5b
User
Push date [To Local]
ChangesetPatch author — Commit message
masayuki@d-toybox.com
Fri May 18 10:24:57 2018 +0000
8855ccdfa3b722557d5bc251c99bfc70ad967a5bMasayuki Nakano — Bug 1460509 - part 83: Make HTMLEditRules::InsertBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
ee361d93fb8e01439c3e18583645715d168a309cMasayuki Nakano — Bug 1460509 - part 82: Refine comments of TextEditRules.h and HTMLEditRules.h r?m_kato
6db368c37f671c50ac7d934a21de2a9aa80d94c7Masayuki Nakano — Bug 1460509 - part 81: Make HTMLEditRules::WillDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
270fa03173f0c597ed7f2b27a96ba2d80c3bed36Masayuki Nakano — Bug 1460509 - part 80: Make HTMLEditRules::DeleteNodeIfCollapsedText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
3f48ab31b2246eb7fb85fee7c4bd43e1a5b40a6bMasayuki Nakano — Bug 1460509 - part 79: Make HTMLEditRules::TryToJoinBlocksWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
33fd00f9fa4b65703a6cfa11ca6721c5ea8c7ef4Masayuki Nakano — Bug 1460509 - part 78: Make HTMLEditRules::MoveBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
46b44c0d0fb145692b7429b09341ce8373266345Masayuki Nakano — Bug 1460509 - part 77: Make HTMLEditRules::MoveNodeSmart() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
b5963d7644c6fe616ef539e732141a57f0e42447Masayuki Nakano — Bug 1460509 - part 76: Mark HTMLEditRules::MoveContents() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
36fd7514ed9df5c8205e44fd75b5001e8bd29af9Masayuki Nakano — Bug 1460509 - part 75: Make HTMLEditRules::DeleteNonTableElements() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
0bf300d253385c5568cfbf9085c08405913b9414Masayuki Nakano — Bug 1460509 - part 74: Make HTMLEditRules::DidDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
cf16835bec32619e4c672ee3edece91a77e89cf5Masayuki Nakano — Bug 1460509 - part 73: Make HTMLEditRules::WillMakeList() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
21e3ba88899acf958375f209ee1daad42fbf43caMasayuki Nakano — Bug 1460509 - part 72: Mark HTMLEditRules::WillRemoveList() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
2043c77c05b38fabc7dd8f150850f1d74ad0c186Masayuki Nakano — Bug 1460509 - part 71: Mark HTMLEditRules::WillMakeDefListItem() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
bfdc783e3cf961c0f428509c7c78d085b134214cMasayuki Nakano — Bug 1460509 - part 70: Mark HTMLEditRules::WillMakeBasicBlock() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
a9e30eb223fddca26d03174d7ba8c56f39b5ec4aMasayuki Nakano — Bug 1460509 - part 69: Make HTMLEditRules::MakeBasicBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
77a413d29a38345a5202af6df223b72e09ad5ac1Masayuki Nakano — Bug 1460509 - part 68: Mark HTMLEditRules::DidMakeBasicBlock() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
d3a116c6fbbc7b58912da51d86130a705222fbd9Masayuki Nakano — Bug 1460509 - part 67: Mark HTMLEditRules::WillIndent() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
cdfdb974867546a64cbc06bc658bc2db8882dde2Masayuki Nakano — Bug 1460509 - part 66: Make HTMLEditRules::WillCSSIndent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
113e78947b96f63bc2e2ce59b0549259668f9975Masayuki Nakano — Bug 1460509 - part 65: Make HTMLEditRules::WillHTMLIndent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
3435c86a7a604766cf9d7002ff28920c02ad5e66Masayuki Nakano — Bug 1460509 - part 64: Make HTMLEditRules::WillOutdent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
ebac956c83a0a389ebdcf442c816194bc7b01780Masayuki Nakano — Bug 1460509 - part 63: Make HTMLEditRules::RemovePartOfBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
ce82bc5a02e5dd8dd2dacbad6c745abd2edd8c0bMasayuki Nakano — Bug 1460509 - part 62 Make HTMLEditRules::OutdentPartOfBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
5e19bd7a9b9cbcbe35479dbef9ffc65130572219Masayuki Nakano — Bug 1460509 - part 61: Make HTMLEditRules::SplitBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
64bfdd56e6eefe91b4b7b23ed23fe40252a7b6e6Masayuki Nakano — Bug 1460509 - part 60: Make HTMLEditRules::ConvertListType() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
edc5c880d6f35ec25ba4b4972ead6b075065a55bMasayuki Nakano — Bug 1460509 - part 59: Make HTMLEditRules::CreateStyleForInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
258daafbd9b3b1b7b25915d8370610bc6a84b555Masayuki Nakano — Bug 1460509 - part 58: Make HTMLEditRules::WillAlign() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
269c75274a339770438036c80c3700e7690e6b75Masayuki Nakano — Bug 1460509 - part 57: Mark HTMLEditRules::AlignInnerBlocks() as MOZ_MUST_USE since it may cause destroying the editor r?m_kato
ee63eadb8edb06ecf71f0fd54b6253e9c96227d7Masayuki Nakano — Bug 1460509 - part 56: Make HTMLEditRules::AlignBlockContents() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
9c5af6b46e612ceed3321b4ba60813da72661cd0Masayuki Nakano — Bug 1460509 - part 55: Make HTMLEditRules::AfterEditInner() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
e71597b2096ed8f675c8f5bbe0df36fb55c438dcMasayuki Nakano — Bug 1460509 - part 54: Make HTMLEditRules::WillInsert() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
4814c32f63803449693425fb5d0b21690e9f6420Masayuki Nakano — Bug 1460509 - part 53: Make HTMLEditRules::WillInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
8dd053ca83c95c99af2526577236d35fb1d51ef1Masayuki Nakano — Bug 1460509 - part 52: Make HTMLEditRules::LoadHTML() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
1103caddaa3740ffcfef97a83433f09906e4b1d1Masayuki Nakano — Bug 1460509 - part 51: Make HTMLEditRules::WillInsertBreak() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
85159e8f7f3e6f50be3984cc894958ae120a7ff4Masayuki Nakano — Bug 1460509 - part 50: Make HTMLEditRules::InsertBRElement() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
e2eba795281ae56b748e9403b043dd3690780372Masayuki Nakano — Bug 1460509 - part 49: Make HTMLEditRules::SplitMailCites() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
aa28ad3924007004ff705afe40f5397023ea6ca5Masayuki Nakano — Bug 1460509 - part 48: Make HTMLEditRules::CheckForEmptyBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
c364407df542acb392484ca5749e2c6f22979c66Masayuki Nakano — Bug 1460509 - part 47: Make HTMLEditRules::ExpandSelectionForDeletion() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
c8ac225a701bc3ee50562173918ff283c1a1268dMasayuki Nakano — Bug 1460509 - part 46: Make HTMLEditRules::NormalizeSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
590dd34c3ecf6c39e279480fe02c91c46aa3ffedMasayuki Nakano — Bug 1460509 - part 45: Test if HTMLEditRules::PromoteRange() won't get range in Selection r?m_kato
0ce9222c0b1919aa9e91632f1bce6943e7472932Masayuki Nakano — Bug 1460509 - part 44: Make HTMLEditRules::GetNodesForOperation() and related methods return NS_ERROR_EDITOR_DESTROYED if they cause destroying the editor r?m_kato
6b9e1ef9da4b7532243f298b290bdd299606d8a6Masayuki Nakano — Bug 1460509 - part 43: Make HTMLEditRules::BustUpInlinesAtRangeEndpoints() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
d078ca1b7e9e19bb4c52b8edb4e32af9e7f5f639Masayuki Nakano — Bug 1460509 - part 42: Make HTMLEditRules::BustUpInlinesAtBRs() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
9743a1b17160736c6e299b7e91c31b3bf2ad25c5Masayuki Nakano — Bug 1460509 - part 41: Make HTMLEditRules::ReturnInHeader() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
9e0aa9e24fc110e89dfb059c448023875c6b2ad2Masayuki Nakano — Bug 1460509 - part 40: Make HTMLEditRules::ReturnInParagraph() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
91911b7366fca5a968392704757dac367ca41111Masayuki Nakano — Bug 1460509 - part 39: Make HTMLEditRules::SplitParagraph() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
eb10ea1916b981a99a6a027316f59909a88b78e6Masayuki Nakano — Bug 1460509 - part 38: Make HTMLEditRules::ReturnInListItem() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
45a68ab3f12bbc6cec4ba9f594bc108d9676a9e1Masayuki Nakano — Bug 1460509 - part 37: Make HTMLEditRules::MakeBlockquote() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
1604c847cfa934217545fba6c96b4ec2fec31b10Masayuki Nakano — Bug 1460509 - part 36: Make HTMLEditRules::RemoveBlockStyle() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
df6ac443dbaad53f29f47098dfe5feab600ef708Masayuki Nakano — Bug 1460509 - part 35: Make HTMLEditRules::ApplyBlockStyle() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
63ab0da0ac122db80ef48da91c9e729be899a6ddMasayuki Nakano — Bug 1460509 - part 34: Make HTMLEditRules::MaybeSplitAncestorsForInsertWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
795e42d4b54d561e318d19db23c2f255b7266267Masayuki Nakano — Bug 1460509 - part 33: Make HTMLEditRules::JoinNearestEditableNodesWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
8fc602a901a9dcaeda5bb664528182275591b1d8Masayuki Nakano — Bug 1460509 - part 32: Mark HTMLEditRules::CacheInlineStyles() as MOZ_MUST_USE since it may cause destroying the editor and returns NS_ERROR_EDITOR_DESTROYED in such case r?m_kato
3f5a7999e9b59e4cadc5f4312d896687e57cd019Masayuki Nakano — Bug 1460509 - part 31: Make HTMLEditRules::GetInlineStyles() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
16f497b092cb2194a84d254541599188c7404daeMasayuki Nakano — Bug 1460509 - part 30: Make HTMLEditRules::ReapplyCachedStyles() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
300a21591aa5e857f8e5e80f32c3cb3c3dde873cMasayuki Nakano — Bug 1460509 - part 29: Make HTMLEditRules::AdjustSpecialBreaks() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
2111f4b9a3a4b716c62c0f62ced4436a4c2fa404Masayuki Nakano — Bug 1460509 - part 28: Make HTMLEditRules::AdjustWhitespace() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
d7df8526b97982c168984e770df7e76a4e112713Masayuki Nakano — Bug 1460509 - part 27: Make HTMLEditRules::PinSelectionToNewBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
29099df5030f2f1e4cf05851bd9804df11beef44Masayuki Nakano — Bug 1460509 - part 26: Make HTMLEditRules::AdjustSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
5eccbd0cbf846398b9841efcd6e02d4f3abdbf89Masayuki Nakano — Bug 1460509 - part 25: Make HTMLEditRules::RemoveEmptyNodes() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
d74e109b3f38b01017b0f0c09b497fb242da67ffMasayuki Nakano — Bug 1460509 - part 24: Make HTMLEditRules::PopListItem() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
debb6b26d87ce991e97a1712d72599951274a249Masayuki Nakano — Bug 1460509 - part 23: Make HTMLEditRules::RemoveListStructure() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
9c11319dca809a1230888d09ad90ef99bfa6ab20Masayuki Nakano — Bug 1460509 - part 22: Mark HTMLEditRules::InsertBRIfNeededInternal() and its wrappers as MOZ_MUST_USE r?m_kato
576bb80400bfafc1621d3fbd7dd6e6c627a54f9aMasayuki Nakano — Bug 1460509 - part 21: Make HTMLEditRules::RemoveAlignment() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
6243b3accf7ada3c29769fecd57ef8ccc7889331Masayuki Nakano — Bug 1460509 - part 20: Make HTMLEditRules::MakeSureElemStartsAndEndsOnCR() and HTMLEditRules::MakeSureElemStartsOrEndsOnCR() return NS_ERROR_EDITOR_DESTROYED if they cause destroying the editor r?m_kato
f75631dab2dda12c5c351c387e4cd02a9df908a0Masayuki Nakano — Bug 1460509 - part 19: Make HTMLEditRules::AlignBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
7d8258de545354e7837e172dd7369d5c18a0d022Masayuki Nakano — Bug 1460509 - part 18: Make HTMLEditRules::ChangeIndentation() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
cd186f1e5839ee1199a8d8891ff406fc1fe38d3cMasayuki Nakano — Bug 1460509 - part 17: Make HTMLEditRules::WillAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the HTML editor r?m_kato
3c607c7a1312af73e1bb3efbc551d51eb9b4b09eMasayuki Nakano — Bug 1460509 - part 16: Make HTMLEditRules::DidAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
e578ae12d4690dd4f9f37a3bbdd40929dd66a312Masayuki Nakano — Bug 1460509 - part 15: Make HTMLEditRules::WillRemoveAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
08eba6c7d876ea75baefba27dc4b45f93bb6d477Masayuki Nakano — Bug 1460509 - part 14: Make HTMLEditRules::WillRelativeChangeZIndex() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
096c129c6454826440a95de66bc602bde379004dMasayuki Nakano — Bug 1460509 - part 13: Make TextEditRules::WillInsert() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
c8e4c7800032e544586edf2ca742f3e2cf53bdecMasayuki Nakano — Bug 1460509 - part 12: Make TextEditRules::WillInsertBreak() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
bb8d6941d44acc77968d4938452b83e56b7b6d0cMasayuki Nakano — Bug 1460509 - part 11: Make TextEditRules::CollapseSelectionToTrailingBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
2d7afbfe2f444e9c79a18f85535dd4ef62693f92Masayuki Nakano — Bug 1460509 - part 10: Make TextEditRules::WillInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
d95e96476bc009a7a90b62768d71888567e5ada2Masayuki Nakano — Bug 1460509 - part 9: Make TextEditRules::WillSetText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
dd937accf4bda25ac67b8f2b16cb3420f883e3bbMasayuki Nakano — Bug 1460509 - part 8: Make TextEditRules::WillDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
a8b3b8966095f5688ad26ad33ce6d19edf0b8ff3Masayuki Nakano — Bug 1460509 - part 7: Make TextEditRules::DidDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
fd0b8180640209c1b82c64ad948242e064f84e34Masayuki Nakano — Bug 1460509 - part 6: Make TextEditRules::RemoveRedundantTrailingBR() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
42ee3255cc447fb32768019140317dffd88a8f07Masayuki Nakano — Bug 1460509 - part 5: Make TextEditRules::CreateTrailingBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
dfcae54f18114fe87edf750be76455635ba478a1Masayuki Nakano — Bug 1460509 - part 4: Make TextEditRules::CreateBogusNodeIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
68648ac6cc527f766a32629b84bae6f01c08fd41Masayuki Nakano — Bug 1460509 - part 3: Make TextEditRules::HideLastPWInput() return NS_ERROR_EDITOR_DESTROYED when it causes destroying the editor r?m_kato
57f28ce04f81accb4e55d521b8f6f0581c3bc1fdMasayuki Nakano — Bug 1460509 - part 2: Make TextEditRules::CreateBR() and TextEditRules::CreateMozBR() return both new <br> element node and error code since if they cause destroying the editor, each caller needs NS_ERROR_EDITOR_DESTROYED result r?m_kato
952d35d5396be5de9ebe1ecfb2d93b04f797a3a5Masayuki Nakano — Bug 1460509 - part 1: Declare NS_ERROR_EDITOR_DESTROYED error code and add a check method to TextEditRules whether it can keep handling edit action at a moment r?m_kato