Changes pushed with changeset 36e927743abd7e646870751ac4126c5edc1d7bc6
User
Push date [To Local]
ChangesetPatch author — Commit message
masayuki@d-toybox.com
Wed May 23 13:41:58 2018 +0000
7139ea7fac9d4bae7e8342e51cb7490855aa9a77Masayuki Nakano — Bug 1460509 - part 84: Make HTMLEditRules::GetNodesFromPoint() use IgnoredErrorResult instead of ErrorResult r?m_kato
6bb7d22f611594454450aab5317d4fcba1383705Masayuki Nakano — Bug 1460509 - part 83: Make HTMLEditRules::InsertBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
6c46689d352d82ceeb6ce3f08a2685d8dab7992aMasayuki Nakano — Bug 1460509 - part 82: Refine comments of TextEditRules.h and HTMLEditRules.h r?m_kato
94bb38460b6c811a94e5e4228fd28bb66e3e114cMasayuki Nakano — Bug 1460509 - part 81: Make HTMLEditRules::WillDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
bdd5165b5b18b8c6cb73a5b62bf74472e462a58cMasayuki Nakano — Bug 1460509 - part 80: Make HTMLEditRules::DeleteNodeIfCollapsedText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
08075e6ebd789de21355f55131c6cb186e28719bMasayuki Nakano — Bug 1460509 - part 79: Make HTMLEditRules::TryToJoinBlocksWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
f5c3002d1913b0adb7bffccae797e61a0a3d8b2fMasayuki Nakano — Bug 1460509 - part 78: Make HTMLEditRules::MoveBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
97f28b39d4d325c7f74c0a1f24118e9a65fa4e87Masayuki Nakano — Bug 1460509 - part 77: Make HTMLEditRules::MoveNodeSmart() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
42b5fcdcebaef787f5746fe750a1f8df5f5ad84cMasayuki Nakano — Bug 1460509 - part 76: Mark HTMLEditRules::MoveContents() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
2790be26fe1665a79b37887ebd6123a7939beaaaMasayuki Nakano — Bug 1460509 - part 75: Make HTMLEditRules::DeleteNonTableElements() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
1aacc148d12799d83bc74b115da1e2377f063c69Masayuki Nakano — Bug 1460509 - part 74: Make HTMLEditRules::DidDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
e98e1f80a80fdfcfd57d56579a8589285c9a5df1Masayuki Nakano — Bug 1460509 - part 73: Make HTMLEditRules::WillMakeList() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
84c52ed3b7c0c73944a053dcbe72e89fca525c6bMasayuki Nakano — Bug 1460509 - part 72: Mark HTMLEditRules::WillRemoveList() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
bb20a0b9d5f005293116c9cb99277637c2127482Masayuki Nakano — Bug 1460509 - part 71: Mark HTMLEditRules::WillMakeDefListItem() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
5a402d861d0ed429a59a136231ed7d24518d79e5Masayuki Nakano — Bug 1460509 - part 70: Mark HTMLEditRules::WillMakeBasicBlock() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
1adc8c22446a3b9bd313193f8bacc5e5681d22aeMasayuki Nakano — Bug 1460509 - part 69: Make HTMLEditRules::MakeBasicBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
ba48afee92855afc89673bdc0305af73f619cc7bMasayuki Nakano — Bug 1460509 - part 68: Mark HTMLEditRules::DidMakeBasicBlock() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
e3cac1b7ff6fee7af79e288a9e5cfa82f2eeb0b8Masayuki Nakano — Bug 1460509 - part 67: Mark HTMLEditRules::WillIndent() as MOZ_MUST_USE since it may return NS_ERROR_EDITOR_DESTROYED r?m_kato
2179a856265febf7b51b8cd6c56ba1731003ea33Masayuki Nakano — Bug 1460509 - part 66: Make HTMLEditRules::WillCSSIndent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
5fd52aa507ec628eddc0e1cb53ee2d3e42dbedafMasayuki Nakano — Bug 1460509 - part 65: Make HTMLEditRules::WillHTMLIndent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
fd141fa5b3cb8ef9c821b0daac382a3770278797Masayuki Nakano — Bug 1460509 - part 64: Make HTMLEditRules::WillOutdent() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
841f2930f0e48f38bd89989306314e943f653b51Masayuki Nakano — Bug 1460509 - part 63: Make HTMLEditRules::RemovePartOfBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
2e022b1173c768f4d7c1378793e8cbdb72f63f17Masayuki Nakano — Bug 1460509 - part 62: Make HTMLEditRules::OutdentPartOfBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
628d6f26bd9f2054da351592bf1dcf1e0d69e17eMasayuki Nakano — Bug 1460509 - part 61: Make HTMLEditRules::SplitBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
df2b6285101f7ad3bb5c17055c0e41891d5187faMasayuki Nakano — Bug 1460509 - part 60: Make HTMLEditRules::ConvertListType() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
7b93bc7c22082f29e55b05864ee5ed6a85e8aa91Masayuki Nakano — Bug 1460509 - part 59: Make HTMLEditRules::CreateStyleForInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
f61b6a2b5cf0b76912b41c18dbad8cadb7e03893Masayuki Nakano — Bug 1460509 - part 58: Make HTMLEditRules::WillAlign() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
4511e5964295d84fad6b73f9085132e2bf5763b6Masayuki Nakano — Bug 1460509 - part 57: Mark HTMLEditRules::AlignInnerBlocks() as MOZ_MUST_USE since it may cause destroying the editor r?m_kato
4abbd928c523da899bd2a47ecb780041de3acb4bMasayuki Nakano — Bug 1460509 - part 56: Make HTMLEditRules::AlignBlockContents() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
a12b9cff5631dee020fa967a21ccbb1325c4790aMasayuki Nakano — Bug 1460509 - part 55: Make HTMLEditRules::AfterEditInner() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
1e792c98bfdbc481c6b360a85bcdda6a6bcd6b5aMasayuki Nakano — Bug 1460509 - part 54: Make HTMLEditRules::WillInsert() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
9c4903ab97c67f78c72047867a80401357646840Masayuki Nakano — Bug 1460509 - part 53: Make HTMLEditRules::WillInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
916a369f60b3f0230cc18fcb11915bc52f9af9d3Masayuki Nakano — Bug 1460509 - part 52: Make HTMLEditRules::LoadHTML() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
1a7f408752c5f201df8759648d8ea8bd2a63b743Masayuki Nakano — Bug 1460509 - part 51: Make HTMLEditRules::WillInsertBreak() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
4b8964cc9f1759bbdff80dda48bfde1817697c33Masayuki Nakano — Bug 1460509 - part 50: Make HTMLEditRules::InsertBRElement() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
635141382655a9adfa90161da1c6ce32b428d582Masayuki Nakano — Bug 1460509 - part 49: Make HTMLEditRules::SplitMailCites() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
cbe591df0fc84b8ea8024f018da458a55008bd6bMasayuki Nakano — Bug 1460509 - part 48: Make HTMLEditRules::CheckForEmptyBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
fbc062e17ec7663cf7ec23aa7c610af427b4d955Masayuki Nakano — Bug 1460509 - part 47: Make HTMLEditRules::ExpandSelectionForDeletion() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
5f0c37e2f604b38cd2700fc881f00e982dfad088Masayuki Nakano — Bug 1460509 - part 46: Make HTMLEditRules::NormalizeSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
721d4dddaa2a5a4af8898e08777f75b8b4dc2e44Masayuki Nakano — Bug 1460509 - part 45: Test if HTMLEditRules::PromoteRange() won't get range in Selection r?m_kato
137b2f47174b3c469933f7bef433bad57fe73c60Masayuki 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
29a58365db705ddab2c83c30c9b14b6e771f2377Masayuki Nakano — Bug 1460509 - part 43: Make HTMLEditRules::BustUpInlinesAtRangeEndpoints() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
da8dc60eeb184fe4d0abcefafddf748ac525b6b1Masayuki Nakano — Bug 1460509 - part 42: Make HTMLEditRules::BustUpInlinesAtBRs() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
188287c29177ed4e25ea5a5cd02348ff85941172Masayuki Nakano — Bug 1460509 - part 41: Make HTMLEditRules::ReturnInHeader() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
b9ab6125007ace745d804062c150d8a001567960Masayuki Nakano — Bug 1460509 - part 40: Make HTMLEditRules::ReturnInParagraph() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
86b9a8f9acfab8ef16f9e6c6463c3a73bc030b4dMasayuki Nakano — Bug 1460509 - part 39: Make HTMLEditRules::SplitParagraph() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
273206c93252971dc29658db96312487f90dde8dMasayuki Nakano — Bug 1460509 - part 38: Make HTMLEditRules::ReturnInListItem() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
2593bf4ba86d0d8e489019c223cf509e8c9bde41Masayuki Nakano — Bug 1460509 - part 37: Make HTMLEditRules::MakeBlockquote() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
b6d111b1f3d4eae47fb96f3b00bbd3f91af8413cMasayuki Nakano — Bug 1460509 - part 36: Make HTMLEditRules::RemoveBlockStyle() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
f94116dd9e963c971e6b9bc9027188fa4646f6d6Masayuki Nakano — Bug 1460509 - part 35: Make HTMLEditRules::ApplyBlockStyle() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
cf57752d514063481155c116e01d856a4cd1b63fMasayuki Nakano — Bug 1460509 - part 34: Make HTMLEditRules::MaybeSplitAncestorsForInsertWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
ab036ff607ee93a005f7d9e0ca8421a7a76c1dc3Masayuki Nakano — Bug 1460509 - part 33: Make HTMLEditRules::JoinNearestEditableNodesWithTransaction() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
4e5baa212eb0faf7e14d1e5bbd7bdb556065cebbMasayuki 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
2883b6d37cc69778dd9ba3190fd28bebb1048766Masayuki Nakano — Bug 1460509 - part 31: Make HTMLEditRules::GetInlineStyles() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
05a4ba8cb0b3ef67deb6de66bdc764f31e42b993Masayuki Nakano — Bug 1460509 - part 30: Make HTMLEditRules::ReapplyCachedStyles() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
1ee689274b0e610f38723bbc86798f5fa86100c2Masayuki Nakano — Bug 1460509 - part 29: Make HTMLEditRules::AdjustSpecialBreaks() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
b8fbae3ccecd66392b37df3b750a56c789f2f5bfMasayuki Nakano — Bug 1460509 - part 28: Make HTMLEditRules::AdjustWhitespace() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
6995f85de581a856cccf1d73df1b6eba2602a7b7Masayuki Nakano — Bug 1460509 - part 27: Make HTMLEditRules::PinSelectionToNewBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
cd0a5bf636e7703a9cf541189834f1367e4d6932Masayuki Nakano — Bug 1460509 - part 26: Make HTMLEditRules::AdjustSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
a5c1b6709a9979a75a21a81cd44185314133c64eMasayuki Nakano — Bug 1460509 - part 25: Make HTMLEditRules::RemoveEmptyNodes() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
55aececc29764efadc654cb547c325a1a43bbf8cMasayuki Nakano — Bug 1460509 - part 24: Make HTMLEditRules::PopListItem() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
6c3ad9fe0dc90a239f2a322472552457fe861e1bMasayuki Nakano — Bug 1460509 - part 23: Make HTMLEditRules::RemoveListStructure() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
03d9b44f58d72c3a1613937ea47586c215321442Masayuki Nakano — Bug 1460509 - part 22: Mark HTMLEditRules::InsertBRIfNeededInternal() and its wrappers as MOZ_MUST_USE r?m_kato
de2a818efa2802c6a5c30bc1bad0167ef6dbfd75Masayuki Nakano — Bug 1460509 - part 21: Make HTMLEditRules::RemoveAlignment() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
480d29911294d302799629cc7d02468726744a56Masayuki 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
bb22d5472d3e6a58c5369d0a65216eb823c88f8dMasayuki Nakano — Bug 1460509 - part 19: Make HTMLEditRules::AlignBlock() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
76dcff52103c4b865b15677c0819392a6335f2a8Masayuki Nakano — Bug 1460509 - part 18: Make HTMLEditRules::ChangeIndentation() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
f38656bd5025dc67547854c02553c9e5aa57432aMasayuki Nakano — Bug 1460509 - part 17: Make HTMLEditRules::WillAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the HTML editor r?m_kato
f0d8798b6529323b8a7837f135715823de4d7b52Masayuki Nakano — Bug 1460509 - part 16: Make HTMLEditRules::DidAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
b5fa0e2d42cb8d904b483d27b74088e97a2e6aa5Masayuki Nakano — Bug 1460509 - part 15: Make HTMLEditRules::WillRemoveAbsolutePosition() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
7276770b8cf7ecdf9c322e5153aa6bbadb9bf228Masayuki Nakano — Bug 1460509 - part 14: Make HTMLEditRules::WillRelativeChangeZIndex() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
b7fcbfde487a85e09afc57aa786988de6d7b264bMasayuki Nakano — Bug 1460509 - part 13: Make TextEditRules::WillInsert() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
b86c8a4d3ec013edef48ebc5519070ff38a83bd2Masayuki Nakano — Bug 1460509 - part 12: Make TextEditRules::WillInsertBreak() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
e53a1cb59fd67c40304bd568da3d3a7e2569b87fMasayuki Nakano — Bug 1460509 - part 11: Make TextEditRules::CollapseSelectionToTrailingBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
8c820293c9b1e29b8f170c001f985920de16a060Masayuki Nakano — Bug 1460509 - part 10: Make TextEditRules::WillInsertText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
36e927743abd7e646870751ac4126c5edc1d7bc6Masayuki Nakano — Bug 1460509 - part 9: Make TextEditRules::WillSetText() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
9271e9273e1af33f91eb4b0d731d022883927f21Masayuki Nakano — Bug 1460509 - part 8: Make TextEditRules::WillDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
848da409dcf41cd4c3e4299565b6a4a07f44a5edMasayuki Nakano — Bug 1460509 - part 7: Make TextEditRules::DidDeleteSelection() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
456816b935ea0e2bc8052cdeaba65d2186928248Masayuki Nakano — Bug 1460509 - part 6: Make TextEditRules::RemoveRedundantTrailingBR() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
284b619f2e968cb81ccd55b941a5d85bd63c3f48Masayuki Nakano — Bug 1460509 - part 5: Make TextEditRules::CreateTrailingBRIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
5ccf7ab97dc41b8a5df61c8af929d318aaf94046Masayuki Nakano — Bug 1460509 - part 4: Make TextEditRules::CreateBogusNodeIfNeeded() return NS_ERROR_EDITOR_DESTROYED if it causes destroying the editor r?m_kato
7b2ba37b4f038296072318633aa749a9435962a1Masayuki Nakano — Bug 1460509 - part 3: Make TextEditRules::HideLastPWInput() return NS_ERROR_EDITOR_DESTROYED when it causes destroying the editor r?m_kato
6aec242133f1f4385c0832b5bcb486b221145588Masayuki 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
f035a55c225ed4ecc730daf466d7ee2392314b49Masayuki 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