Jonathan Kew
b1589b8ab2
bug 617008 - avoid creating a rendering context that we may not need. r=roc
2014-03-31 11:53:09 +01:00
Gorman Ho
9f11aa16d4
Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz
2014-03-25 09:25:47 -04:00
Carsten "Tomcat" Book
9fe557e5da
Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE
2014-03-20 10:00:24 +01:00
John Daggett
8a2f99bfd8
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-03-20 14:43:29 +08:00
Tom Hindle
d00ff2db8c
Bug 970363 - Make PeekOffset* methods return continue reason. r=roc
2014-03-13 08:14:37 -06:00
L. David Baron
beb1729130
Bug 349259 patch 1: Add an nsIContent* parameter to nsHTMLReflowState::CalcLineHeight. r=bz
2014-03-12 20:33:21 -07:00
Simon Montagu
677c6954d4
Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame
2014-03-11 13:23:50 -07:00
Carsten "Tomcat" Book
030af78620
Backed out changeset aeff4052ef00 (bug 789096)
2014-03-11 09:22:52 +01:00
Simon Montagu
8db501aece
Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Arnaud Sourioux
1d21dd1816
Bug 974687 - Part 2: Fix more than 80cols issues caused by MOZ_OVERRIDE annotation. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
bea44014b1
Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert
2014-02-24 09:41:56 -05:00
Arnaud Sourioux
bc988b83ca
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00
Jonathan Kew
8f1906d8c5
bug 970710 - ensure GetTrimmedOffsets is called with consistent parameters from PropertyProvider::InitializeForMeasure and SetupJustificationSpacing. r=roc
2014-02-13 08:38:48 +00:00
Robert O'Callahan
5f6debb054
Bug 947588. Part 3: Map nsStyleText::mControlCharacterVisibility to TEXT_HIDE_CONTROL_CHARACTERS flag in nsTextFrame. r=jfkthame
...
Note that this is set up so any use of gfxTextRun outside of nsTextFrame
shows hexboxes for control characters.
--HG--
extra : rebase_source : 83335c85c4db4a6391f18924aad566b00fd6a66c
2014-02-05 23:16:23 +13:00
L. David Baron
d1d272808d
Bug 91419 patch 5: Rename everything with SpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:31 -08:00
Cameron McCormack
c8236b6779
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
James Kitchener
4e5786a150
Bug 953385 - Set math script flag on textruns belonging to MathML tokens. r=roc
2014-01-30 10:59:16 -05:00
James Kitchener
960b22bfa9
Bug 941611 - More consistent rounding of text metrics. r=karlt, r=fredw
2014-01-27 08:18:26 -05:00
Timothy Nikkel
be86ba744c
Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats
2014-01-26 16:07:02 -06:00
Benoit Jacob
046f19e630
Bug 959380 - 1/5 - Make gfxBreakPriority a typed enum - r=jrmuizel
2014-01-23 13:26:39 -05:00
Cameron McCormack
1206b16424
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
9e1e091470
Backout rev 994659cbc145 (bug 960312) for various test failures.
2014-01-16 14:45:01 +11:00
Cameron McCormack
bb9aeefe51
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
James Kitchener
0e56295460
Bug 442637 - Apply ssty font feature setting to appropriate MathML elements. r=roc
...
--HG--
rename : layout/generic/MathVariantTextRunFactory.cpp => layout/generic/MathMLTextRunFactory.cpp
rename : layout/generic/MathVariantTextRunFactory.h => layout/generic/MathMLTextRunFactory.h
2014-01-15 09:49:20 -05:00
Robert Longson
a39e9c490a
Bug 889235 - Make text-shadow work on SVG text. r=cam
2014-01-13 12:21:42 +00:00
Jonathan Kew
556db08b34
bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc
2014-01-10 09:42:05 +00:00
Carsten "Tomcat" Book
acedd32ca7
Backed out changeset 4b54755de2a7 (bug 955957) for Build Bustage on a CLOSED TREE
2014-01-10 09:30:28 +01:00
Jonathan Kew
48bf0ba949
bug 955957 - pt 1 - reimplement gfxSkipChars and gfxSkipCharsIterator to perform better with huge text runs. r=roc
2014-01-10 07:48:01 +00:00
Mats Palmgren
0346fbe46a
Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc
2014-01-05 23:31:14 +00:00
Ehsan Akhgari
ebd358dfd7
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Robert O'Callahan
8e30a75452
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
Jonathan Kew
01d8beaed6
bug 953247 - use binary search instead of linear scan to find tab-width records. r=roc
2013-12-29 11:32:21 +00:00
Jonathan Kew
afd9fd3b50
bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu
2013-12-27 17:59:52 +00:00
Jonathan Kew
b9938a1edc
bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu
2013-12-27 17:59:21 +00:00
Robert Longson
abcd22038e
Bug 940193 - rename nsSVGTextFrame2 to SVGTextFrame. r=dholbert
...
--HG--
rename : layout/svg/nsSVGTextFrame2.cpp => layout/svg/SVGTextFrame.cpp
rename : layout/svg/nsSVGTextFrame2.h => layout/svg/SVGTextFrame.h
2013-12-20 16:38:51 +00:00
Trevor Saunders
907dfc4528
bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj
2013-12-12 20:50:01 -05:00
James Kitchener
aa4fcaba6a
Bug 114365 - Textrun transformations and TextFrame changes for mathvariant. r=roc
2013-12-02 11:49:27 -05:00
Frédéric Wang
64f2218f41
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
Jonathan Kew
99f58ee59f
bug 941638 - cache hyphen width in the gfxFontGroup, to improve layout performance for auto-hyphenated text. r=roc
2013-11-21 21:31:53 +00:00
Jonathan Kew
0a5b653da3
bug 941629 - take account of letter-spacing when adding the width of an automatic hyphen to the natural width of a justified line. r=roc
2013-11-21 21:31:43 +00:00
Ehsan Akhgari
4837829df4
Bug 938849 - Build layout/generic in unified mode; r=roc
2013-11-15 08:19:02 -05:00
John Daggett
a09ce34653
Bug 933638 - move nsTextFrameTextRunCache to nsTextFrame.h r=heycam
2013-11-03 11:33:23 +09:00
Birunthan Mohanathas
967e556c1c
Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
...
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Ehsan Akhgari
7e5b2154cf
Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Ehsan Akhgari
2fb9794854
Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Masayuki Nakano
9b8afa1588
Bug 920377 part.18 Get rid of nsTextRangeStyle r=roc
2013-10-01 16:22:59 +09:00
James Kitchener
101f48c289
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
b99490dfd5
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
a7a36b9304
Bug 919318 - A few cosmetic changes after dropping the Get prefix on some methods. r=dholbert
2013-09-25 11:42:35 +00:00
Mats Palmgren
5a3cdd8297
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