Simon Montagu
30b9d24621
Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame
2014-06-11 02:45:31 -07:00
Mats Palmgren
77c587f250
Bug 1015781 - part 1+2, Make the SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods return void (scripted change). Remove code handling the return values. r=roc
2014-05-28 19:36:58 +00:00
Mats Palmgren
fdbe7e5aad
Bug 508665 - part 15, s/mParent/GetParent()/ in a bunch of nsIFrame sub-classes. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
0e3e44e19c
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
Mats Palmgren
cb86a0275b
Bug 1008917 - part 1, stop using the nsresult from Reflow methods in MathML code. r=fredw
2014-05-13 00:47:52 +00:00
Wes Kocher
a3ae69617c
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
aa51f3f125
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
Mats Palmgren
8ca2d0f58c
Bug 1008917 - part 1, stop using the nsresult from Reflow methods in MathML code. r=fredw
2014-05-12 17:40:28 +00:00
Frédéric Wang
7a5fdadd38
Bug 1000879 - Remove the ::-moz-math-stretchy pseudo-element. r=karl, roc
2014-04-24 21:30:00 +02:00
James Kitchener
470ade8f5e
Bug 875563 - Zero dictionary lspace/rspace when not in (inferred) mrow r=fredw
2014-04-04 17:54:00 +02:00
Alessio Placitelli
93c7f6ceef
Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst
2014-03-20 20:51:16 +01:00
James Kitchener
b4e54794ec
Bug 522393 - Remove invisible operators special case in reflow. r=fredw, r=roc
2014-03-19 13:05:02 -04:00
Ryan VanderMeulen
bffedb9aee
Backed out changeset 76f6f3d6d8e3 (bug 522393) for Werror bustage.
2014-03-19 13:32:30 -04:00
James Kitchener
750f59e1e8
Bug 522393 - Remove invisible operators special case in reflow. r=fredw, r=roc
2014-03-19 13:05:02 -04:00
Arnaud Sourioux
d4e37270b8
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00
Mohit Sinha
98882a0f83
Bug 969867 - Treat U+2063 and U+2064 as invisible operators. r=karlt
2014-02-10 08:58:33 -05:00
Frédéric Wang
fdc40c6f94
Bug 838509 - Part 1: Make MathML frames use GetAttr instead of GetAttribute. r=roc
2014-01-15 10:07:06 -05:00
Frédéric Wang
f484e6b539
Bug 838506 - Part 3: Changes to MathML frames. r=roc
2014-01-14 09:39:50 -05:00
Ehsan Akhgari
eaa7491d77
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
Jonathan Kew
1598f60cbd
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
James Kitchener
9ba7e0802f
Bug 114365 - MathML Frame changes to support mathvariant. r=fredw
2013-12-02 11:50:10 -05:00
Frédéric Wang
c3a1ac6605
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
Ehsan Akhgari
599e71b0f9
Bug 938850 - Build layout/mathml in unified mode; r=roc
2013-11-14 21:45:38 -05:00
Ehsan Akhgari
c116194063
Bug 911292 - Minimize the #includes in layout/mathml; r=mats
2013-08-30 17:37:12 -04:00
Ehsan Akhgari
f56168072d
Bug 907883 - Minimize #includes in layout/generic; r=roc
...
--HG--
extra : rebase_source : 5e87b764a12b05aff477c71547e2131be67ca93b
2013-08-22 14:32:52 -04:00
Frédéric Wang
925cae8e05
Bug 854339 - Make the equal sign stretchable in MathML. r=karlt
2013-06-04 08:17:45 -04:00
Cosmin Clapon
4df5931ff9
Bug 764996 - Determine directionality. r=karlt
2013-05-29 19:26:40 -04:00
Masatoshi Kimura
edb82c4095
Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron
2013-04-28 19:02:35 +09:00
L. David Baron
5ef4421fa5
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Robert O'Callahan
013943dc4f
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : de498510bf8d85d9b0b2fab0137ef3be01c9adfa
2013-02-15 00:12:27 +13:00
Robert O'Callahan
a2485753ff
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
...
--HG--
extra : rebase_source : 50a3d6809ef76a25a3d02d91f2873d9ba11fdc56
2013-02-15 00:08:08 +13:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
James Kitchener
e46ce2013d
Bug 411227 - Update ParseNumericValue behavior and change tests to support unitless values in script(min)size. r=fredw
2013-01-06 22:24:13 -05:00
rfw2nd@gmail.com
5dbe2f8398
Bug 553917 - Add helper methods and logic for error logging to MathML module. r=karlt
2012-12-27 11:12:05 -05:00
Frédéric Wang
9d65979632
Bug 487587 - In mathml formulas, the content of many <mo> elements is not highlighted when selected. r=roc
2012-11-10 17:09:26 -05:00
Ehsan Akhgari
3c78f81f54
Bug 785720 - Move the MathML token frame leading/trailing whitespace trimming logic to nsTextFrame; r=roc
2012-08-30 21:32:02 -04:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Frédéric Wang
559349a569
Bug 662756 - The default value for attributes lspace/rspace of <mo> should be thickmathspace. r=karlt
2012-06-26 15:42:56 -07:00
Jonathan Watt
9ac7bb2267
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Frédéric Wang
f2d30807ae
Bug 677036 - Unify parsing of length and mpadded attributes. r=karlt
2012-05-15 18:30:14 -04:00
Matt Woodrow
7474fc8aa3
Bug 749055 - Add index parameter to nsDisplayMathMLCharForeground. r=roc
2012-04-27 12:24:54 +12:00
Frédéric Wang
15c7e67e9e
Mirroring of operators for arabic math (Bug 208309) - part 1. r=karlt
2011-12-21 17:22:00 -05:00
Frédéric Wang
cc96cf931e
Make lspace/rspace in mo behave as leading/trailing spaces (bug 534963). r=karlt
2011-12-21 17:21:59 -05:00
Mats Palmgren
77f0b019cd
Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
2011-12-20 10:15:41 +01:00
Ehsan Akhgari
2a602a5685
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
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
L. David Baron
2c717f398d
Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
...
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Ms2ger
d377c55ed2
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00