Aryeh Gregor
3910f004e2
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Mats Palmgren
35ecb3b457
Bug 777578 - Make mLimiter and mAncestorLimiter strong refs. r=smaug
2012-07-26 23:44:10 +02:00
Olli Pettay
2067752f5b
Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey
2012-07-20 19:42:08 +03:00
Aryeh Gregor
22bb3e3489
Bug 771873 part 1 - Check for reversed indices in Selection::GetIndicesForInterval; r=ehsan
2012-07-12 18:56:30 +03:00
Aryeh Gregor
c6b8b3cea6
Bug 770580 part 2 - Fix crash due to removed null check in Selection::selectFrames; r=ehsan
2012-07-06 09:39:01 +03:00
Aryeh Gregor
8f58d5632e
Bug 770580 part 1 - Clarify Selection::selectFrames parameter; r=ehsan
2012-07-06 09:39:01 +03:00
Phil Ringnalda
06d0c4a197
Back out ea9410c65673 (bug 769791) for mochitest-chrome bustage
2012-07-03 21:36:45 -07:00
Adam Dane [:hobophobe]
5fa05d45ab
Bug 769791 - Optimize nsSelection::GetIndicesForInterval for adding ranges to the end. r=smaug
2012-07-03 18:19:42 -05:00
David Zbarsky
9050aef271
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Aryeh Gregor
143747c0a4
Bug 767169 part 1 - Partial cleanup of Selection::selectFrames; r=ehsan
2012-06-28 14:29:56 +03:00
Aryeh Gregor
995f4360b5
Bug 766845 part 2 - Make CloneRange() return already_AddRefed<nsRange>; r=smaug
2012-06-25 14:44:11 +03:00
Aryeh Gregor
c8e8ced492
Bug 762183 part 2 - Publicize nsSelectionIterator; r=ehsan
2012-06-12 17:15:23 +03:00
Aryeh Gregor
463121ea8c
Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
2012-06-08 17:20:55 +03:00
Jignesh Kakadiya
b16664011b
Bug 751785 - Make Selection.toString() API use DOMString instead of wstring
2012-06-09 15:15:12 -07:00
Mats Palmgren
0061b99d27
Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug
2012-05-30 15:03:19 +02:00
Phil Ringnalda
16e5bde94d
Back out 6d605438199c (bug 758589) for bug 759243
2012-05-28 22:44:57 -07:00
Mats Palmgren
00a6101f37
Bug 758589 - Make Selection.toString() return early (with empty result string) if the shell is destroyed. r=smaug
2012-05-29 02:50:42 +02:00
Robert O'Callahan
b7eff70838
Bug 757807. Don't store an nsMouseEvent in nsFrameSelection, it's unnecessary and leaky. r=smaug
2012-05-24 22:36:08 +12:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
b7306b3299
Bug 755200 - Simplify SetSelectionAroundHeadChildren; r=ehsan
2012-05-18 10:29:39 +02:00
Ms2ger
c94ce1c47d
Bug 750053 - Part a: Add nsISelection::Collapsed(); r=smaug
2012-05-18 10:29:39 +02:00
Trevor Saunders
3cd54a7fc5
bug 693933 - make nsFrameSelection::GetSelection() return nsTypedSelection* r=smaug
2012-04-06 17:54:38 -04:00
Robert O'Callahan
7b169ea474
Bug 681192. Part 7: nsTypedSelection should be scrolling a 0,0 size into view to get a particular coordinate into view, not 1,1. r=matspal
...
When asked to scroll a 1,1 appunit rectangle into view, ScrollFrameRectIntoView will now actually
succeed!
For example if the window is 6000 appunits high and we ask to scroll a 1x1 rect at 0,6000 into view,
before bug 681192 was fixed we'd actually fail to do so. We'd compute a desired scroll destination of 0,1,
and ScrollTo would round that to 0,0 and we wouldn't scroll at all.
Now, we compute a desired scroll destination of 0,1 but also an allowed scroll range for y of
"1 to <someting large>", so ScrollFrameRectIntoView will scroll down by a full pixel to 0,60. This is correct ---
it gets the subpixel area into view, which the previous code didn't --- but it's not really what DoAutoScroll
wants, at least the way test_mousecapture.xul is written. test_mousecapture.xul expects DoAutoScroll to scroll
windowheight+N into view by scrolling down by exactly N pixels, so the desired point is exactly at the bottom
edge of the window rect. Using a zero-sized rect achieves this.
2012-05-10 17:24:19 +12:00
Mats Palmgren
2bc6e06342
Bug 735641 - No way to deselect image of image document after select all (Ctrl+A). r=bz
2012-05-04 02:14:01 +02:00
Mats Palmgren
efa53625db
Bug 748961 - Flush styles to ensure frames are created. r=smaug,Ms2ger
2012-05-04 02:14:01 +02:00
Masayuki Nakano
7537069ed1
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Ehsan Akhgari
5529aea5fb
Bug 726592 - Uninitialised value use in nsTextFrame::GetChildFrameContainingOffset; r=roc
2012-03-26 09:09:38 -07:00
Adam Dane [:hobophobe]
4be7089305
Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc
2012-03-19 21:09:50 -05:00
Aryeh Gregor
b6c985540e
Bug 719523 - Selection.selectAllChildren() on a Document always produces end offset of 1; r=ehsan
2012-03-16 12:56:54 -04:00
Aryeh Gregor
631d4231f2
Bug 719515 - Selection.extend() should replace the existing range, not mutate it; r=ehsan
2012-03-15 14:26:32 -04:00
Aryeh Gregor
2cf3f6c156
Bug 719518 - Selection.extend() with no ranges should throw standard exception type; r=ehsan
2012-03-14 14:27:30 -04:00
Mats Palmgren
6486564745
Bug 732941 - Deal with OOM when copying nsCOMArray. r=bz
2012-03-11 03:32:27 +01:00
Nathan Froyd
20f5ce545a
Bug 731615 - Eliminate duplicate headers in layout. rs=smontagu
2012-02-29 10:57:47 -05:00
Aryeh Gregor
6bd97757c3
Bug 719503 - selection.deleteFromDocument() throws for collapsed selection; r=ehsan
2012-02-22 10:38:25 -05:00
Ms2ger
2faf60a5e6
Bug 722406 - Part a: Introduce nsISelection::CollapseNative; r=smaug
2012-02-01 11:54:22 +01:00
Ehsan Akhgari
0fe03eb0da
Bug 171237 - Part 2: Correct the calls to ScrollIntoView which were not updated as part of bug 605138; r=roc
2012-01-11 20:19:19 -05:00
Ehsan Akhgari
cd0beffd2e
Bug 171237 - Center the search results instead of scrolling only enough to show them in order to provide more visual context; r=roc
2012-01-11 20:18:23 -05:00
David Zbarsky
c6abd95045
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
Olli Pettay
6cb2dc9ebc
Bug 714162 - Don't traverse certainly alive selections, additional patch, r=mccr8
2012-01-06 21:08:08 +02:00
Olli Pettay
311006c3ff
Bug 714162 - Don't traverse certainly alive selections, r=mccr8
2011-12-30 12:47:23 +02:00
Mats Palmgren
8885d096da
Bug 712937 - Null-check aRange. r=bzbarsky
2011-12-24 05:08:23 +01:00
Nicholas Nethercote
c8d93dc02b
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Mats Palmgren
8f89cccd9c
Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
2011-12-20 10:15:41 +01:00
Jeff Walden
443b8f7d1f
Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert
2011-12-18 01:00:47 -05:00
Jeff Walden
a076867204
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
2011-11-20 22:21:16 -08:00
Jeff Muizelaar
71073e5e9f
Bug 698107. layout: Return nsnull instead of false. r=bz
...
Caught by a clang warning.
2011-11-08 18:09:22 -05:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
David Zbarsky
e9d56d5720
Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug
2011-08-07 16:17:00 -04:00
David Zbarsky
ea80737a3a
Bug 672536 - Merge nsISelection3 into nsISelection r=smaug
2011-08-07 16:18:00 -04:00