Xidorn Quan
21b619291a
Bug 1149009 - Suppress line break inside text frame if it is directly contained by ruby content box. r=dbaron
...
--HG--
extra : source : 27743ccd4b9be84847c7eb6590adcf96fb424999
2015-05-04 09:52:53 +12:00
Jonathan Kew
ed4f94f6c0
Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc
2015-04-29 08:18:53 +01:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
L. David Baron
0d0b0e8f2d
Bug 1140486 patch 1 - Pass block frame instead of block reflow state to nsTextFrame::RecomputeOverflow. r=jfkthame
...
This allows calling it from UpdateOverflow in patch 2.
2015-03-07 12:27:36 -08:00
Mats Palmgren
8c27917737
Bug 1134531 - Remove nsTextFrame::DidSetStyleContext which only contained a (now obsolete) wallpaper. r=heycam
2015-02-24 18:35:30 +00:00
Jonathan Watt
6c3e865ef2
Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam
2015-02-17 22:01:54 +00:00
Jonathan Watt
513fc5ff83
Bug 1135913, part 4 - Unify SVGTextFrame's NotifyBeforeSelectionDecorationLine and NotifySelectionDecorationLinePathEmitted callbacks. r=heycam
2015-02-04 13:51:22 +00:00
Jonathan Watt
9dd15de828
Bug 1135913, part 3 - Unify SVGTextFrame's NotifyBeforeDecorationLine and NotifyDecorationLinePathEmitted callbacks. r=heycam
2015-02-03 20:00:18 +00:00
Jonathan Kew
323af42ff6
Bug 1128190 - Always use a mask to render shadows for color glyphs, regardless of blur radius. r=roc
2015-02-02 09:19:28 +00:00
Jonathan Watt
a923689db0
Bug 1127114, part 2 - Unify SVGTextFrame's NotifyBeforeSelectionBackground and NotifySelectionBackgroundPathEmitted callbacks. r=heycam
2015-01-27 16:32:24 +00:00
Robert O'Callahan
0c9928a13e
Bug 1099977. Part 2: Make gfxFont::Measure return an empty bounding-box when all glyphs are invisible. r=jfkthame
...
--HG--
extra : rebase_source : 41a9f586ef2992d96b789d6bd55daae18f15ed2f
2014-11-18 23:23:45 +13:00
Xidorn Quan
e20ab8cabf
Bug 1099807 part 1 - Add common superclass for ruby base and ruby text. r=dholbert
...
--HG--
extra : source : 9dd5b0a847a1d698589c14e9dde5ced195eed646
2015-01-08 18:28:09 +11:00
Jonathan Kew
8412cec73a
Bug 1096260 - Convert flags parameter of nsIFrame::ComputeSize from uint32_t to a typed enum, and update callers accordingly. r=dholbert
2014-11-11 11:02:41 +00:00
Xidorn Quan
a85f3a113d
Bug 1063857 - Implement new justification algorithm. r=roc,masayuki
2014-11-10 12:25:17 +11:00
Carsten "Tomcat" Book
2032c5061a
Backed out changeset 53d51e7fbb9e (bug 1063857) for Android Reftest Failures
2014-11-04 10:59:46 +01:00
Xidorn Quan
6ce2bfc5f9
Bug 1063857 - Implement new justification algorithm. r=roc,masayuki
2014-11-02 15:07:00 +01:00
Jonathan Kew
50b0ff2a5d
bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
...
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Ehsan Akhgari
60360fc645
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
Jonathan Kew
a5a5cf98e5
bug 1046950 pt 2 - convert ComputeSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:44 +01:00
Robert O'Callahan
b8bd1730f3
Bug 1048752. Part 9: Remove nsCaret.h from nsDisplayList.h. r=tn
...
I got tired of slow build turnarounds every time I modified nsCaret.h.
--HG--
extra : rebase_source : 0c4598c4881ab8de0a636b08c70fb801bb912247
2014-08-06 17:19:25 +12:00
Jonathan Kew
55170c430a
bug 1031241 pt 3 - Also rename Intrinsic{Width,Height} to Intrinsic{I,B}Size. r=smontagu
2014-07-24 18:03:26 +01:00
Jonathan Kew
8b67cdf704
bug 1031241 pt 2 - More renaming, e.g. where {Min,Pref}Width occurs within longer type and function names. r=smontagu
2014-07-24 18:03:25 +01:00
Jonathan Kew
ce9cbe4216
bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu
2014-07-24 18:03:25 +01:00
Susanna Bowen
58e46a1570
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-17 10:32:00 -04:00
Simon Montagu
aaa4878ee5
Replace GetBaseline with GetLogicalBaseline and use logical coordinates in the line position and baseline getters in nsLayoutUtils. Bug 789096, r=jfkthame
2014-06-17 05:19:38 -07:00
Wes Kocher
abf9a45351
Backed out 2 changesets (bug 727125) for reftest bustage on an otherwise CLOSED TREE
...
Backed out changeset 443361e2724a (bug 727125)
Backed out changeset 16c8d78df86e (bug 727125)
2014-06-16 13:34:50 -07:00
Susanna Bowen
dc169c8b48
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-16 11:58:29 -07:00
Robert O'Callahan
755b99f4f6
Bug 1014252. Optimize clearing of textruns via RemoveInFlows. r=matspal
...
We're keeping the core idea that, before we remove the frames-to-be-destroyed
from the continuation chain, their textruns need to be disconnected/destroyed.
However, nsContinuingTextFrame::DestroyFrom tries to optimize when the
destroying frames that aren't mentioned in the userdata for the textrun, and
certain other conditions are met; we need a similar optimization here. It's
simpler here because the other conditions are definitely met, since all the
text for the frames being deleted has already been consumed and reflowed by
previous frames.
We don't need the TEXT_STYLE_MATCHES_PREV_CONTINUATION state bit anymore
because nsContinuingTextFrame::DestroyFrom will never see any textruns when
called via RemoveEmptyInFlows.
--HG--
extra : rebase_source : 6544f923499ef604d48ec15961716549dd25d279
2014-05-28 15:39:25 +12:00
Mats Palmgren
399be41768
Bug 508665 - part 5, Make nsIFrame::Init require a nsContainerFrame* for the parent frame param. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
9795aca511
Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc
2014-05-13 00:47:52 +00:00
Wes Kocher
42253715d7
Backed out 11 changesets (bug 1008917) for apparently introducing an intermittent failure of B2G Crashtest-2 on a CLOSED TREE
...
Backed out changeset e2ab653f688a (bug 1008917)
Backed out changeset b52154d8d900 (bug 1008917)
Backed out changeset 2ab5b01da4de (bug 1008917)
Backed out changeset f7a38df1d44f (bug 1008917)
Backed out changeset 80304bb9a572 (bug 1008917)
Backed out changeset 10ed89a302e9 (bug 1008917)
Backed out changeset 161c41991d46 (bug 1008917)
Backed out changeset 25b2475d2368 (bug 1008917)
Backed out changeset b8000b31277c (bug 1008917)
Backed out changeset 9afa5e7715e1 (bug 1008917)
Backed out changeset 5c380c21351f (bug 1008917)
2014-05-12 15:47:41 -07:00
Mats Palmgren
a722b491f1
Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc
2014-05-12 17:40:28 +00:00
Tom Hindle
f68ff3f78a
Bug 970363 - Make PeekOffset* methods return continue reason. r=roc
2014-03-13 08:14:37 -06:00
Daniel Holbert
3146c96a56
Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD
2014-02-18 00:36:33 -08:00
Arnaud Sourioux
2d583fd28f
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00
Cameron McCormack
15cc32b681
Bug 960848 - Part 1: Make nsFrameState an enum and consolidate all frame state bit definitions in a single preprocessed file. r=dbaron
2014-02-05 12:59:39 +11:00
Timothy Nikkel
8d1d02dfa0
Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats
2014-01-26 16:07:02 -06:00
Cameron McCormack
7f595ed104
Bug 960312 - Rename TEXT_IS_IN_SINGLE_CHAR_MI to NS_FRAME_IS_IN_SINGLE_CHAR_MI to make it clear it's global. r=roc
2014-01-16 16:10:09 +11:00
Cameron McCormack
6b4bf8fa52
Backout rev 994659cbc145 (bug 960312) for various test failures.
2014-01-16 14:45:01 +11:00
Cameron McCormack
0bc2fdc9e2
Bug 960312 - Move TEXT_IS_IN_SINGLE_CHAR_MI to a class specific frame state bit value. r=roc
2014-01-16 13:55:19 +11:00
Mats Palmgren
e6ea29ce0d
Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc
2014-01-05 23:31:14 +00:00
Robert O'Callahan
10ddd09c03
Bug 953438 - Change nsIFrame::HasTerminalNewline to HasSignificantTerminalNewline since it doesn't make sense to check for a newline that gets converted to regular whitespace. r=jfkthame
2014-01-02 16:22:12 -05:00
James Kitchener
665c0d2ff1
Bug 114365 - Textrun transformations and TextFrame changes for mathvariant. r=roc
2013-12-02 11:49:27 -05:00
Frédéric Wang
62c4edbec0
Bug 415413 - Incorrect widths and heights of MathML with italics in table cells. r=karlt, r=roc
2013-11-25 09:20:20 -05:00
John Daggett
1ac6600d7a
Bug 933638 - move nsTextFrameTextRunCache to nsTextFrame.h r=heycam
2013-11-03 11:33:23 +09:00
James Kitchener
b95d9a291a
Bug 919164 - Rename TEXT_FORCE_TRIM_WHITESPACE to TEXT_IS_IN_TOKEN_MATHML. r=fredw, r=roc
2013-09-30 11:55:51 -04:00
Daniel Holbert
aa859ecb8b
Bug 919813 part 1: Remove never-checked return value from frame methods SetPrevInFlow, SetNextInFlow, SetPrevContinuation, SetNextContinuation. r=mats
2013-09-25 10:54:55 -07:00
Mats Palmgren
4974add798
Bug 919318 - Drop the Get prefix on the frame methods GetFirstContinuation, GetLastContinuation, GetFirstInFlow, GetLastInFlow and also on nsLayoutUtils::GetLastContinuationWithChild, because they never return null. r=dholbert
2013-09-25 11:42:34 +00:00
Edwin Flores
b10976f9b2
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Ehsan Akhgari
baf3a129ad
Bug 907883 - Minimize #includes in layout/generic; r=roc
...
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00