Mats Palmgren
84ce46d68c
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
c2732adc4b
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
2669e87017
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
4a79e08cae
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
c59a9558ec
Bug 1008917 - part 1, stop using the nsresult from Reflow methods in MathML code. r=fredw
2014-05-12 17:40:28 +00:00
Alessio Placitelli
5207effaef
Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst
2014-03-20 20:51:16 +01:00
James Kitchener
dbe419e5c3
Bug 518592 - Fix single char <mi> frame type and add a test for dotless i. r=karlt
2014-03-21 08:49:51 -04:00
Ryan VanderMeulen
d4655e6fb9
Backed out changesets a17ee88f1fe7, 6e3aee4a9650, 07e5ed676919 (bug 950076) for Werror bustage.
2014-03-19 14:00:10 -04:00
Alessio Placitelli
7ef8c51233
Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst
2014-03-19 13:05:03 -04:00
Ryan VanderMeulen
d2992547bb
Backed out changeset 1028c462d120 (bug 518592) for Werror bustage on a CLOSED TREE.
2014-03-19 11:16:36 -04:00
James Kitchener
ddd3c10d9f
Bug 518592 - Fix single char <mi> frame type and add a test for dotless i. r=karlt
2014-03-19 10:36:27 -04:00
Ryan VanderMeulen
7f074b3082
Backed out changeset 1f4344d87e75 (bug 518592) for reftest failures.
2014-03-12 10:11:00 -04:00
James Kitchener
328c9944c5
Bug 518592 - Fix single char <mi> frame type and add a test for dotless i. r=fredw
2014-03-12 08:40:30 -04:00
Arnaud Sourioux
c55abda61c
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00
Peiyong Lin
db78ce129a
Bug 959874 - Reorder two parameters in nsContainerFrame::FinishReflowChild(), for consistency with nsContainerFrame::ReflowChild(). r=dholbert
2014-01-16 17:34:44 -08:00
Cameron McCormack
9d7284d20b
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
James Kitchener
2035d9b847
Bug 953961 - Redundant if condition within nsMathMLTokenFrame::GetMathMLFrameType(). r=fredw
2014-01-02 10:50:14 -05:00
Jonathan Kew
279981cdc3
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
ec256d8505
Bug 114365 - MathML Frame changes to support mathvariant. r=fredw
2013-12-02 11:50:10 -05:00
James Kitchener
b7970bceee
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
Ehsan Akhgari
f25b0852c9
Bug 911292 - Minimize the #includes in layout/mathml; r=mats
2013-08-30 17:37:12 -04:00
Ehsan Akhgari
45b9b9b617
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
L. David Baron
bb2688431e
Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
...
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.
This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Cosmin Clapon
7c36f37bf2
Bug 764996 - Determine directionality. r=karlt
2013-05-29 19:26:40 -04:00
Frédéric Wang
9cbe163910
Bug 745131 - Improve how <semantics> determine the visible child. r=karlt
2013-05-10 08:40:44 -04:00
Mats Palmgren
7532b4e736
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
Frédéric Wang
393297bcfe
Bug 560100 - Map MathML attributes lquote/rquote to style. r=karlt
2012-09-03 08:13:03 -04:00
Ehsan Akhgari
dfbba6f6b0
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
243c878d26
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
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Frédéric Wang
6e7d53fa53
Add a directionality flag on MathML frames (bug 534963). r=karlt
2010-01-03 18:52:33 +01: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
Mats Palmgren
4e2a044a66
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
L. David Baron
174de8408b
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
Frédéric Wang
e0d59f1dab
mathvariant on mstyle not applied to mi (bug 569125). r=karlt
2011-05-13 09:37:03 +12:00
Zack Weinberg
12c96408b6
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
2da91ac5cb
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
e93c385aef
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Zack Weinberg
3e3bff664d
Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
2011-04-07 18:04:40 -07:00
Zack Weinberg
7c125b8ad1
Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
2011-04-07 18:04:40 -07:00
Jan Küchler
8774547613
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
2011-04-07 18:04:40 -07:00
Boris Zbarsky
ae6315f866
Bug 494117 part 1. Rename eRestyle_Self to eRestyle_Subtree. r=dbaron
2010-06-18 12:23:05 -04:00
Boris Zbarsky
3ddaa9e126
Bug 562700 part 2. Change the restyle-event functions to take Element. r=dbaron
2010-05-14 13:04:51 -04:00
Zack Weinberg
bbd7ec0ef6
Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc
2010-03-31 17:43:32 -07:00
Frédéric Wang
301e9abc50
Bug 475518 - MathML layout code should use _moz* attributes instead of -moz-* attributes. r=karlt, sr=bz
2010-03-10 13:49:33 +01:00
Robert O'Callahan
bc8f6a7da2
Bug 476547. Make lquote and rquote actually work, especially when there are dynamic changes, by finding the correct text frames to modify and notifying the text frame that the DOM text has changed. r=karlt
2009-10-07 17:28:41 +13:00
Mats Palmgren
f82eedba5a
Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc
2009-09-16 17:01:36 +02:00
Zack Weinberg
b6fe8205dd
Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc
2009-09-12 17:49:24 +01:00