Xidorn Quan
072dccd81f
Bug 1230034 part 6 - Convert all frame properties which do not hold pointer to be typed. r=dbaron
...
--HG--
extra : source : f95f143e0e521ad2f8726097a484de402c834620
2016-01-28 14:23:59 +11:00
Xidorn Quan
0b71314608
Bug 1230034 part 3 - Move some frame property declaration around. r=dbaron
...
--HG--
extra : source : d67dd26db9f0349d2e8ef71f8def9fad7856fe1e
2016-01-28 14:23:59 +11:00
Nicholas Nethercote
3ba02d7a9b
Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde.
...
--HG--
extra : rebase_source : 7cdef8244e2b44b89e8061f66d45d40cbf245041
2015-12-15 21:24:06 -08:00
Mats Palmgren
dd20772a53
Bug 1235152 - [css-break] Don't apply border/padding twice on inlines with box-decoration-break:clone and direction:rtl. r=roc
2016-01-05 21:27:13 +01:00
Nicholas Nethercote
06e901cb9f
Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
...
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.
The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:
- It adds a comment about the null check in
gfxGlyphExtents::GetTightGlyphExtentsAppUnits().
- A couple of functions simply had an unused gfxContext or nsRenderingContext
parameter removed, e.g. SetLineBreaks().
--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -08:00
Simon Montagu
c2726731e4
Bug 1162813: filter paragraph separators before passing text to SetPara, r=jfkthame
2015-12-07 21:18:35 +02:00
Jonathan Kew
c871ee8560
Bug 1157727 - Part 0: Preliminary cleanup, remove a bunch of #ifdef'd dead code from nsBidi.cpp. r=smontagu
2015-11-25 12:01:03 +00:00
Ting-Yu Lin
79afc81f6e
Bug 1226875 - Remove nsIFrame::GetFirstChild(). r=mats
...
--HG--
extra : commitid : J8NTL74JosY
extra : rebase_source : 50a196905ac06d09fea17bb1aa17efe821cc7cbb
2015-11-26 17:12:39 +08:00
Carsten "Tomcat" Book
6c15811d8a
Backed out changeset 00c2df3df22f (bug 1157727)
...
--HG--
extra : rebase_source : d717285c96315da10facb20b157b1a9fa4967b9a
2015-11-25 15:37:04 +01:00
Jonathan Kew
65a70aed66
Bug 1157727 - Part 0: Preliminary cleanup, remove a bunch of #ifdef'd dead code from nsBidi.cpp. r=smontagu
2015-11-25 12:01:03 +00:00
L. David Baron
42852c519a
Bug 1217833 - Fix container width in exception for line frames in nsBidiPresUtils::ReorderFrames. r=jfkthame
...
--HG--
extra : commitid : 5eSLcPwltIY
2015-11-24 07:23:14 -08:00
Simon Montagu
3457b582d2
Bug 1216096: restore previous RTL caret behaviour by backout of bug 1164963, bug 1177505, and bug 1180417. r=jfkthame
2015-11-10 04:42:23 -08:00
Mats Palmgren
c9a6c1cfaa
Bug 1210877 - Make nsBidiPresUtils::RepositionFrame work also for box-decoration-break:clone. r=roc
2015-10-03 06:28:00 +02:00
Ted Clancy
32c01ca678
Bug 1177505 - Make all continuations fluid within non-bidi paragraphs. r=smontagu
2015-07-30 13:47:08 -07:00
Jonathan Kew
8ebb1db8e5
Bug 1131451 part 2 - Respect the container height when converting vertical-RTL inline-direction coordinates. r=dholbert
...
* * *
Bug 1131451 part 2a - Remove hack for rtl-in-vertical-mode from ReflowAbsoluteFrame. r=dholbert
* * *
Bug 1131451 part 2b - Mark relative-overconstrained tests that now pass in vertical mode with rtl. r=dholbert
* * *
Bug 1131451 part 2c - Mark vertical border-collapse bevel tests that now pass. r=dholbert
* * *
Bug 1131451 part 2d - Remove partial rtl-in-vertical support from nsBidiPresUtils now that logical-coordinate classes handle it better. r=dholbert
* * *
Bug 1131451 part 2e - Remove hack for float positioning in vertical mode with dir=rtl. r=dholbert
* * *
Bug 1131451 part 2f - Mark vertical-mode float-in-rtl reftests that are now passing. r=dholbert
* * *
Bug 1131451 part 2g - Compute both dimensions of containerSize in nsFlexContainerFrame::DoLayout. r=dholbert
* * *
Bug 1131451 part 2h - Mark flexbox writing-mode tests that are now passing. r=dholbert
2015-07-16 10:08:05 +01:00
Jonathan Kew
4e6c40d7ea
Bug 1131451 part 1 - Replace containerWidth with containerSize in logical-coordinate classes and APIs, frame classes, etc. r=dholbert
2015-07-16 10:07:57 +01:00
Xidorn Quan
33c1455032
Bug 1181890 - Center children of ruby content frame if necessary after the bidi reposition. r=jfkthame
...
--HG--
extra : source : db370ccfe5334eae5c4397a8ababab12f0794099
2015-07-13 09:32:15 +10:00
Ted Clancy
6f16984aef
Bug 1164693 - Part 2: Frames in a non-bidi paragraph with newline shouldn't be marked as bidi. r=smontagu
2015-06-05 21:46:49 -04:00
Matt Brubeck
f222d23c4e
Bug 1169088 - Remove unused nsBidiPresUtils methods. r=dbaron
...
These were used only in nsSVGGlyphFrame which was removed in bug 889736.
2015-05-27 19:06:33 -07:00
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
d4ac33e086
Bug 1157752 - In vertical writing modes, text-orientation:upright should force LTR directionality. r=smontagu
2015-04-29 08:18:53 +01:00
Xidorn Quan
9c13d12b5e
Bug 1156222 - Check frame type instead of display type for ruby and simplify code. r=dholbert
...
--HG--
extra : source : c00a44185d012b612271e0c64c444832c19d3b54
2015-04-23 13:32:53 +12:00
Sylvestre Ledru
947ef6f336
Bug 1155766
- Fix a bad assertion r=jfkthame
...
--HG--
extra : rebase_source : b68a09d56ef7c2014dace4ea61f07713436d551b
2015-04-20 11:42:49 -07:00
Xidorn Quan
25da0b552a
Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu
...
--HG--
extra : source : 85a623e012b8deb2a41dc2e633a41223727bfe50
2015-04-08 11:22:34 +12:00
Xidorn Quan
98f15072a3
Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame
...
--HG--
extra : source : 2ab8fdf15b09df128e03998c2daf26c48187851d
2015-04-08 11:22:34 +12:00
Xidorn Quan
7ed44c4442
Bug 1141931 part 4 - Make bidi reordering always in frame order. r=jfkthame,smontagu
...
--HG--
extra : source : dc2ce78ff7bc9e2b5ccb7308609a83feca6a1c22
2015-04-08 11:22:34 +12:00
Xidorn Quan
e581fcaf13
Bug 1141931 part 3 - Adjust some parameters of functions in nsBidiPresUtils. r=jfkthame
...
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.
--HG--
extra : source : 41336b712d88a843b15015321cae9f878aa08427
2015-04-08 11:22:34 +12:00
Wes Kocher
74f58c915e
Backed out 10 changesets (bug 1141931) for mochitest-5 failures CLOSED TREE
...
Backed out changeset c90940067de6 (bug 1141931)
Backed out changeset 96b48288abab (bug 1141931)
Backed out changeset 87281c7ded34 (bug 1141931)
Backed out changeset 6a914ba0b8ec (bug 1141931)
Backed out changeset 9cfea55b5e95 (bug 1141931)
Backed out changeset f432612b6475 (bug 1141931)
Backed out changeset 48cf9568a4b1 (bug 1141931)
Backed out changeset f1ab848b3fa6 (bug 1141931)
Backed out changeset 8a3c71a3b525 (bug 1141931)
Backed out changeset 119d3c0fd0f6 (bug 1141931)
2015-04-07 14:23:57 -07:00
Xidorn Quan
ff332f3d74
Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu
...
--HG--
extra : source : 999cbb6740648762984e57d5ce764499381ccd5b
2015-04-08 08:40:31 +12:00
Xidorn Quan
8a236c4404
Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame
...
--HG--
extra : source : 1cd39beced7297440bf4e8df906c5264302ac16d
2015-04-08 08:40:31 +12:00
Xidorn Quan
3e7300ba91
Bug 1141931 part 4 - Make bidi reordering always in frame order. r=jfkthame,smontagu
...
--HG--
extra : source : dc2ce78ff7bc9e2b5ccb7308609a83feca6a1c22
2015-04-08 08:40:31 +12:00
Xidorn Quan
8a3d0926c5
Bug 1141931 part 3 - Adjust some parameters of functions in nsBidiPresUtils. r=jfkthame
...
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.
--HG--
extra : source : 41336b712d88a843b15015321cae9f878aa08427
2015-04-08 08:40:31 +12: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
Xidorn Quan
25df7941eb
Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc
...
--HG--
extra : source : c700ba786622769700d740c6761ca5a66879b761
2015-03-17 19:10:15 +11:00
Andrea Marchesini
2c4f63331f
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Simon Montagu
9cdb41a6f4
Bug 1131013: when setting the position of inline frames in vertical writing modes with right-to-left direction, subtract the inline start from the container height to get the correct vertical position. r=jfkthame
2015-02-11 01:43:03 -08:00
Mike Hommey
a35dbaeebf
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
...
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Jonathan Kew
e5ef938a64
Bug 1111944 - part 1 - Make nsLayoutUtils::DrawString (and the nsFontMetrics methods it calls) handle vertical text. r=smontagu
2015-01-06 20:56:03 +00:00
Simon Montagu
ad766a1fcb
Bug 1100071 patch 2: add macros for common tests whether bidi level is odd and whether two bidi levels have the same parity, r=dholbert
2014-11-20 12:45:22 +02:00
Daniel Holbert
009f262d50
Bug 1098551: Use nsBidiLevel (instead of uint8_t) to capture result of functions that return nsBidiLevel. r=smontagu
2014-11-13 14:53:17 -08:00
Jonathan Watt
1c3326bede
Bug 1088625, part 2 - Pass nsFontMetrics objects through to code that needs it instead of storing it on the nsRenderingContext. r=mstange
2014-10-24 16:28:14 +01:00
Jonathan Watt
a0f005a778
Bug 1088625, part 1 - Add lots of missing nsFontMetrics.h and gfxTextRun.h includes
2014-10-24 16:28:14 +01:00
Jonathan Watt
08ae0a017c
Bug 1088550 - Move nsRenderingContext's remaining GetWidth methods to nsLayoutUtils. r=mstange
2014-10-24 16:28:13 +01:00
Jonathan Kew
4778df83d1
Bug 1080621 - Don't pass nscoord in-params by reference in nsBidiPresUtils methods. r=smontagu
2014-10-16 09:40:20 +01:00
Simon Montagu
5240838225
Bug 1069941 patch 3: Pass the frame physical width, not inline size, to the inner loop of RepositionFrame, plus cosmetic fixes, r=jfkthame
2014-09-30 10:59:14 -07:00
Simon Montagu
72a6973797
Bug 1069941 patch 2: reset the start coordinate of the inline frames before ReorderFrames so that the margin doesn't get added twice, r=jfkthame
2014-09-30 10:59:13 -07:00
Simon Montagu
859e13d16d
Bug 1069941 patch 1: be more accurate when identifying the first and last frames on the line and applying margin/border/padding, r=jfkthame
2014-09-30 10:59:13 -07:00
Jonathan Kew
a7a0688076
Bug 1068027 - nsBidiPresUtils::RepositionFrame should not mix logical and physical directions. r=smontagu
2014-09-19 12:14:05 +01:00
Birunthan Mohanathas
3e8abfd2e8
Bug 1049997
- Separate statements declaring multiple pointers into separate statements. r=froydnj
2014-08-08 07:04:45 -07:00
Simon Montagu
b7f0fb4d8a
Bug 1044198: convert margins from the frame's writing mode to the line's writing mode in nsBidiPresUtils::RepositionInlineFrames, r=jfkthame.
2014-07-28 01:20:58 -07:00