dom/base/nsRange.cpp
be4b0f6e68c9d46ecb15aac5ad87a3a7b8731e57
created 2020-07-23 14:51 +0000
pushed 2020-07-23 21:28 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1653011 - Simplify and make WeakPtr<Derived> usable and compact. r=froydnj,sg,geckoview-reviewers,jgilbert,kvark,snorp
f97fcfd4a045519d4bea0be975f86a6ed9caa043
created 2020-06-22 18:46 +0000
pushed 2020-06-23 03:44 +0000
longsonr longsonr - Bug 1579186 - element.innerText should work with SVG text and foreignObject text r=dholbert
b32507be2c201428f7cba67ebf64a17fd3154279
created 2020-06-19 00:58 +0000
pushed 2020-06-19 09:21 +0000
Kagami Sascha Rosylight Kagami Sascha Rosylight - Bug 1640276 - Part 10: Mark nsINode as const in IsPointInRange() r=masayuki
295637e1ede11d1d8e426fba65bdb3784e3bb8c9
created 2020-06-19 00:57 +0000
pushed 2020-06-19 09:21 +0000
Kagami Sascha Rosylight Kagami Sascha Rosylight - Bug 1640276 - Part 9: Mark nsINode as const in CompareBoundaryPoints() r=masayuki
cce686c147ef483a3659b5b749e27cd489bafa62
created 2020-06-19 00:57 +0000
pushed 2020-06-19 09:21 +0000
Kagami Sascha Rosylight Kagami Sascha Rosylight - Bug 1640276 - Part 8: Mark nsINode as const in ComparePoint() r=masayuki
3ba9cee0bfef4cc1ccf5556b7a17100270ab7d53
created 2020-05-02 23:44 +0000
pushed 2020-05-04 15:50 +0000
Mirko Brodesser Mirko Brodesser - Bug 1634663: part 2) Declare callers of `GetRangeAt` around `EditorBase` `const`. r=masayuki
d6ceb381cd5fe7c547c50af16a818d0b61909580
created 2020-04-24 14:34 +0000
pushed 2020-04-25 09:49 +0000
Simon Giesecke Simon Giesecke - Bug 1628715 - Part 10: Activate nodiscard attributes on AppendElement(s). r=xpcom-reviewers,nika,peterv
84477c8625805804d65207e12eabba22e1c66bbd
created 2020-03-20 14:27 +0000
pushed 2020-03-20 17:31 +0000
Mirko Brodesser Mirko Brodesser - Bug 1623858: part 1) Rename `nsINode::IsSelectionDescendant` to `nsINode::IsMaybeSelected`. r=smaug
2095a2c943263c13d9b2ed853fa79c71454122cf
created 2020-03-18 09:06 +0000
pushed 2020-03-18 16:05 +0000
Mirko Brodesser Mirko Brodesser - Bug 1623040: split `nsRange::SetSelection` into `RegisterSelection` and `UnregisterSelection`. r=smaug
e9f0c79a628ad5bf60af4ad74c8c7dd83070b253
created 2020-03-17 14:53 +0000
pushed 2020-03-17 21:49 +0000
Sean Feng Sean Feng - Bug 1377999 - Make DocumentFragment to adapt the DOMArena changes r=smaug
fc2567362bd4c857a473331e896cb4911a9e8a7f
created 2020-03-06 12:03 +0000
pushed 2020-03-06 20:10 +0000
Mirko Brodesser Mirko Brodesser - Bug 1619617: part 1) Annotate `RemoveRangeAndUnselectFramesAndNotifyListeners` with `MOZ_CAN_RUN_SCRIPT`. r=smaug
1cdb349d96ce674cbdcdbaa41d9191eac2751795
created 2020-02-21 10:41 +0000
pushed 2020-02-21 21:49 +0000
Simon Giesecke Simon Giesecke - Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/base. r=smaug
937ce62849e029f09054cdd50ddcf5855de65c71
created 2020-02-14 15:02 +0000
pushed 2020-02-15 09:56 +0000
Masayuki Nakano Masayuki Nakano - Bug 1615131 - Make `StaticRange` instances reused as far as possible like `nsRange` r=smaug
4c7267887907453788b8704ea6e19100905b0133
created 2020-02-13 13:36 +0000
pushed 2020-02-13 18:21 +0000
Mirko Brodesser Mirko Brodesser - Bug 1615226: avoid heap allocating `ContentSubtreeIterator` in `RangeSubtreeIterator`. r=smaug
9e67aa2994acf254dda6f47fbc18b3d20f404ac9
created 2020-01-30 12:44 +0000
pushed 2020-01-31 16:11 +0000
Masayuki Nakano Masayuki Nakano - Bug 1612085 - part 3: Remove dirty hack of `Selection::mCachedRange` r=smaug
cb9253c247272c3d344fef78f3a938c4f094169b
created 2020-01-30 17:10 +0000
pushed 2020-01-31 16:11 +0000
Masayuki Nakano Masayuki Nakano - Bug 1612085 - part 2: Make `nsRange` instances reused r=smaug
889491a898dcc8d8fa500935286339ad4156de10
created 2020-01-30 13:23 +0000
pushed 2020-01-31 16:11 +0000
Masayuki Nakano Masayuki Nakano - Bug 1612085 - part 1: Hide constructor of `nsRange` r=smaug
e38b8297b0634ffb3b4d78534f93d031180556b0
created 2020-01-27 09:25 +0000
pushed 2020-01-27 15:54 +0000
Mirko Brodesser Mirko Brodesser - Bug 1609662: part 16) Move `nsRange::IsNodeSelected` to `nsINode::IsSelected`. r=smaug
ab4bc0bbd2c57835e007d8d9e72b83509c469b78
created 2020-01-13 10:30 +0000
pushed 2020-01-13 15:45 +0000
Mirko Brodesser Mirko Brodesser - Bug 1608071: part 5) Remove superfluous code in `nsRange::IsNodeSelected`. r=smaug
29c8404283604bf2985bc4b5143fb5b20742f1c7
created 2020-01-13 10:30 +0000
pushed 2020-01-13 15:45 +0000
Mirko Brodesser Mirko Brodesser - Bug 1608071: part 4) Rename `GetNextRangeCommonAncestor`. r=smaug
76ff9dd864717b797b721368fec684f1614fad92
created 2020-01-13 10:29 +0000
pushed 2020-01-13 15:45 +0000
Mirko Brodesser Mirko Brodesser - Bug 1608071: part 3) Rename `nsSlots::mCommonAncestorRanges` to `nsSlots::mClosestCommonInclusiveAncestorRanges`. r=smaug
e73fe8488d7c88411055dc1ca3788b695367a2c2
created 2020-01-13 10:29 +0000
pushed 2020-01-13 15:45 +0000
Mirko Brodesser Mirko Brodesser - Bug 1608071: part 2) Rename `nsContentUtils::GetCommonAncestor` and related methods. r=smaug
45b85dcadda957eb3b10da71a981ef1bb9c59edb
created 2020-01-13 10:29 +0000
pushed 2020-01-13 15:45 +0000
Mirko Brodesser Mirko Brodesser - Bug 1608071: part 1) Rename common ancestor to closest common inclusive ancestor around `nsRange`. r=smaug
221163f3f17945d1185d2ad1ea36ab435d8644ef
created 2020-01-09 11:53 +0000
pushed 2020-01-09 21:39 +0000
Mirko Brodesser Mirko Brodesser - Bug 1607783: check precondition in `nsRange::IsNodeSelected`. r=smaug
655c310bdfe00c74da7dd48a2a11b31e57e075fb
created 2020-01-06 14:35 +0000
pushed 2020-01-07 16:19 +0000
Mirko Brodesser Mirko Brodesser - Bug 1600267: part 9) Call `ComparePoints` instead of `ComparePoints_Deprecated` in parts of `nsRange`. r=smaug
bf11fb46bd73c4a01bc4e1f6916481adbb6a75b2
created 2019-12-19 13:27 +0000
pushed 2019-12-19 21:52 +0000
Mirko Brodesser Mirko Brodesser - Bug 1600267: part 1) Rename `nsContentUtils::ComparePoints` to `ComparePoints_Deprecated`. r=smaug
f46352a2354ac40565833ded919ff05dd7816958
created 2019-12-16 11:31 +0000
pushed 2019-12-17 16:17 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587433: part 7.4) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
883cbfa57db6d8d3b4166848a4082a66ff7876cf
created 2019-12-16 11:31 +0000
pushed 2019-12-17 16:17 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587433: part 6) Create `RawRangeBoundary` in `nsRange::ComparePoints` only after checking the offset is valid. r=smaug
0a784fb1ac5eca5350413fa2e6254a11d5b6aefa
created 2019-12-16 11:31 +0000
pushed 2019-12-17 16:17 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587433: part 3) Strengthen conditions for `AbstractRange::mIsPositioned`. r=smaug
c0c22dbdd5b8d9cd13d58e7a1894655404911801
created 2019-12-16 13:25 +0200
pushed 2019-12-16 17:21 +0000
Csoregi Natalia Csoregi Natalia - Backed out 11 changesets (bug 1587433) for bustages on RangeBoundary.h. CLOSED TREE
f8a7e23843b842bb01c695a0ba16f7d86bd08ec3
created 2019-12-11 12:26 +0000
pushed 2019-12-16 17:21 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587433: part 7.4) Adapt callers of `RangeBoundaryBase::Offset()`. r=smaug
b1d9e55ece86cf22e837849549c0390b2d9b0411
created 2019-12-11 12:24 +0000
pushed 2019-12-16 17:21 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587433: part 6) Create `RawRangeBoundary` in `nsRange::ComparePoints` only after checking the offset is valid. r=smaug
0e1577031addefed6aeaa5df8a724b73edb690a0
created 2019-12-11 12:24 +0000
pushed 2019-12-16 17:21 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587433: part 3) Strengthen conditions for `AbstractRange::mIsPositioned`. r=smaug
8e9c25f6c1ec1ecbae8eb0506696cc9214be9096
created 2019-11-26 14:35 +0000
pushed 2019-11-26 21:27 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
0ece9bc4cec274c87d92469c2b145621f4704cfd
created 2019-11-15 16:17 +0000
pushed 2019-11-15 21:44 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1596768 - Remove GetBindingParent usage in nsRange assertions. r=smaug
5d471a86dc2963fadc67d4d37e03e8674289dbec
created 2019-11-15 15:22 +0000
pushed 2019-11-15 21:44 +0000
Mirko Brodesser Mirko Brodesser - Bug 1596680: remove superfluous `IsValidOffset` function. r=smaug
6fb8992a595f6abb5ac753d1e1d3de8eef395b6b
created 2019-10-28 08:44 +0000
pushed 2019-10-28 21:50 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587433: part 1) Slightly refactor `nsRange::CharacterDataChanged` in order to make it understanable. r=smaug
8e233a18ab9ae1511789985097376b6ea1903508
created 2019-10-23 08:22 +0000
pushed 2019-10-23 15:48 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587716: change `RangeBoundaryBase`'s offset argument to `uint32_t`. r=smaug
0f96b33c8efdde9423b068e9da3db4e229a65c05
created 2019-10-11 12:43 +0000
pushed 2019-10-11 21:50 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587746: remove `RangeBoundaryBase::Set` and use constructor instead. r=smaug
f6ac5be52ed254eae9347807d2a8db853a3035a4
created 2019-10-10 16:13 +0000
pushed 2019-10-11 16:07 +0000
Mirko Brodesser Mirko Brodesser - Bug 1587370: remove `RangeBoundaryBase::SetAfterRef` and use constructor instead. r=smaug
0711a750354f6b88ec745a5a13a5865300a0114f
created 2019-09-04 19:53 +0000
pushed 2019-09-05 03:43 +0000
Brad Werth Brad Werth - Bug 1548188 Part 1: Make nsRange::GetPartialTextRect use IsInlineReversed to determine whether start is before end. r=bzbarsky
44bfb4911daf27aceef88efdf91f06a1b75cc9e5
created 2019-08-08 19:48 +0000
pushed 2019-08-09 03:49 +0000
L. David Baron L. David Baron - Bug 1571249 - Remove BCTableCell as a distinct frame type. r=TYLin
b475376de1e2542692d27673475eb6b34fcf2f54
created 2019-07-12 15:10 +0200
pushed 2019-07-15 21:43 +0000
Mirko Brodesser Mirko Brodesser - Bug 1565584: move `nsIContentUtils::ContentIsDescendantOf` to `nsINode::IsInclusiveDescendantOf`. r=smaug
c5ee16e71ed41d54344797dddbc7dfc49de2b1f6
created 2019-07-02 16:17 +0200
pushed 2019-07-03 16:20 +0000
Mirko Brodesser Mirko Brodesser - Bug 1562876: rename `Selection::RemoveRange` to `Selection::RemoveRangeAndUnselectFramesAndNotifyListeners`. r=smaug
762824a037cedfde73f56c76033f55bbb6fbbdf7
created 2019-06-28 07:48 +0000
pushed 2019-06-28 16:12 +0000
Makoto Kato Makoto Kato - Bug 1444847 - part 4: Implement `mozilla::dom::StaticRange` and static factory methods r=smaug
bcfd386d2585e3ff694c4752c9caae99137d41a6
created 2019-06-28 07:48 +0000
pushed 2019-06-28 16:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1444847 - part 3: Create `RangeUtils` to place public static methods of `nsRange` r=smaug
610d62589b4e310135e5d2d6605732c47d61c6a2
created 2019-06-28 07:47 +0000
pushed 2019-06-28 16:12 +0000
Masayuki Nakano Masayuki Nakano - Bug 1444847 - part 2: Sort out basic API of `nsRange` for consistency with coming `StaticRange` r=smaug
feb8bd2e797305377b7200d73cb34e3b5227a85c
created 2019-06-28 07:46 +0000
pushed 2019-06-28 16:12 +0000
Makoto Kato Makoto Kato - Bug 1444847 - part 1: Create `mozilla::dom::AbstractRange` r=smaug
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
d091a005f031656890dfead0643ce875f997038e
created 2019-04-28 09:30 +0000
pushed 2019-04-28 21:55 +0000
Sylvestre Ledru Sylvestre Ledru - Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
62da064b1b8f2274df270f8f2de784e9b4d0302d
created 2019-04-25 23:03 +0000
pushed 2019-04-26 09:46 +0000
Emilio Cobos Álvarez Emilio Cobos Álvarez - Bug 1546697 - Use a consistent style for enum classes in layout. r=dholbert
f529b394cb111fff7e16028f063f3b8c3b96b225
created 2019-03-29 15:12 +0000
pushed 2019-03-29 21:53 +0000
Masayuki Nakano Masayuki Nakano - Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio
5d97989d4f0d6e6d357648963a4951661fa37628
created 2019-03-29 16:14 +0200
pushed 2019-03-29 21:53 +0000
Dorel Luca Dorel Luca - Backed out 3 changesets (bug 1540015) for build bustage. CLOSED TREE
7b71c9da0214e43368ab5cfb95344ca5ae13d670
created 2019-03-29 13:09 +0000
pushed 2019-03-29 21:53 +0000
Masayuki Nakano Masayuki Nakano - Bug 1540015 - part 3: Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell* r=smaug,emilio
cf8e8b5019b84c5703ac709941779ca0a06edfec
created 2019-03-26 10:14 +0000
pushed 2019-03-26 17:42 +0000
Masayuki Nakano Masayuki Nakano - Bug 1536852 - Make nsRange::SetSelection() check mRegisteredCommonAncestor before calling UnregisterCommonAncestor() r=smaug
f41cee9bf14931b453838d1bbcbda528e3b064e8
created 2019-02-25 16:05 -0600
pushed 2019-03-01 13:06 +0000
Ryan Hunt Ryan Hunt - Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
less more (0) -100 -60 tip