Ehsan Akhgari
290feb1ade
Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
...
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
places which require it implicitly.
2013-09-30 17:26:04 -04: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
Gregory Szorc
1cff342d15
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Ed Morley
18a411a55c
Backed out changeset 77bff106b704 (bug 920223)
2013-09-30 12:50:12 +01:00
Gregory Szorc
6ed63cb064
Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger
2013-09-30 09:51:57 +02:00
Martijn Wargers
e49d1bf33b
Bug 917061 - Fix the last 2 crashtests that use enablePrivilege. r=dholbert
2013-09-25 20:03:38 +02: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
Ehsan Akhgari
359464e128
Bug 917301 - Remove some dead code in layout/; r=dholbert
2013-09-17 13:02:02 -04:00
Scott Johnson
0f5d29c2c9
Backout dfe69eabbe47 for crashtest orange. [r=me]
...
--HG--
extra : rebase_source : 36898d587c098835af796d7588ba24b3b40b0558
2013-09-07 20:04:36 -05:00
Scott Johnson
5b7536c02a
Bug 794693, part 1: Refactor nsHTMLReflowState constructor to allow initialization to be done by caller. [r=dbaron]
2013-09-07 19:02:10 -05:00
Benoit Jacob
4dbb3d0ca3
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Ehsan Akhgari
669ff96c05
Bug 911292 - Minimize the #includes in layout/mathml; r=mats
2013-08-30 17:37:12 -04:00
Brian O'Keefe
d118b95a0d
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04: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
Ms2ger
913bab58b0
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
49f603cd4d
Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted
2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ehsan Akhgari
f9b077c0c8
Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst
2013-08-21 15:28:26 -04:00
Ehsan Akhgari
2621b190f1
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
James Kitchener
da2109a8bb
Bug 827713 - Tests for merged script elements. r=fredw
2013-08-19 09:12:06 -04:00
James Kitchener
17378468b0
Bug 827713 - Use mmultiscripts to handle all script shift elements. r=fredw
2013-08-19 09:11:50 -04:00
James Kitchener
c2c5076532
Bug 827713 - Make mmultiscripts more like msubsup. r=karlt
2013-08-19 09:11:48 -04:00
James Kitchener
0326b18d57
Bug 827713 - Changes to mmultiscripts to support merging of script elements. r=karlt
2013-08-19 09:09:34 -04:00
Trevor Saunders
99d8dc50c9
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Cameron McCormack
fb70293fcd
Bug 899900 - Avoid null checking result of NS_NewBlahFrame. r=dbaron
2013-08-03 14:11:06 +10:00
Cameron McCormack
ad5ce3ee02
Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron
2013-08-03 14:11:06 +10:00
L. David Baron
a7c8d44db9
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
Mike Hommey
b97d1767fc
Bug 892904 - Remove useless includes of config.mk. r=gps
2013-07-15 18:48:40 +09:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Timothy Nikkel
5942372742
Bug 695763. Part 3. Invalidate the background images of buttons, fieldsets, and mathml chars if they are not decoded and we are asked to do a sync decode. r=matt.woodrow
2013-06-26 11:43:26 -05:00
Frédéric Wang
96a807cb7d
Bug 875294 - Implement menclose notation "updiagonalarrow". r=karlt
2013-06-04 08:21:25 -04:00
Frédéric Wang
719ca1f09c
Bug 854339 - Make the equal sign stretchable in MathML. r=karlt
2013-06-04 08:17:45 -04:00
Cosmin Clapon
533bbe8811
Bug 764996 - Determine directionality. r=karlt
2013-05-29 19:26:40 -04:00
Cosmin Clapon
405d8678b1
Bug 764996 - Dir attribute mapping. r=karlt
2013-05-29 19:26:40 -04:00
Arnaud Sourioux
c6d0c9ac5d
Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert
2013-05-29 12:37:49 -07:00
Joshua Cranmer
b88d6bba0e
Bug 876701 - Static analysis failure in nsMathMLsemanticsFrame.h, r=karlt
2013-05-28 22:20:44 -05:00
Mike Shal
5169c0a913
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ehsan Akhgari
0b00dc2f2d
Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium
2013-05-16 11:16:30 -04:00
Arnaud Sourioux
623d2ed378
Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert
2013-05-14 09:33:23 -07:00
Frédéric Wang
f5b2f9c1aa
Bug 745131 - Improve how <semantics> determine the visible child. r=karlt
...
--HG--
rename : layout/mathml/nsMathMLmactionFrame.cpp => layout/mathml/nsMathMLSelectedFrame.cpp
rename : layout/mathml/nsMathMLmactionFrame.h => layout/mathml/nsMathMLSelectedFrame.h
2013-05-10 08:40:44 -04:00
Catalin Iacob
fbf8d3a808
Bug 864119 - Don't generate assertions in MathML mochitests. r=karlt
2013-04-21 12:08:07 +02:00
Masatoshi Kimura
957042f394
Bug 859018 - Remove the MSVC exemption for FAIL_ON_WARNINGS in layout. r=dbaron
2013-04-28 19:02:35 +09:00
David Zbarsky
b1ad5f5a1f
[Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 6 r=Ms2ger
2013-04-19 18:18:33 -04:00
Frédéric Wang
73d60bbe9f
Bug 717546 - Partial support for negative mspace@width. r=karlt
2013-04-17 07:47:09 -04:00
Mats Palmgren
678b74f2e6
Bug 856243 - Add missing do_QueryFrame support and fix typo that caused most MathML frames to not QueryFrame to nsIMathMLFrame. Add static assertions to prevent those kinds of errors in the future. r=dholbert
2013-04-04 01:35:07 +02:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Boris Zbarsky
7f102d7f2d
Bug 852428 part 2. Make nsIFrame::Init infallible. r=dholbert
2013-03-19 21:47:48 -04:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Jeff Walden
4856b33a47
Bug 847480 - Convert DeprecatedAbs uses on nscoord to Abs as appropriate. r=mats
2013-03-09 14:20:04 -08:00
Jeff Walden
5ec763f216
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Jeff Walden
1871e9f3f8
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Ms2ger
aea301eee3
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
45faa95b04
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
266db717ab
Bug 784841 - Part 18t: Convert /layout; f=Ms2ger rs=ted
2013-02-25 12:47:22 -08:00
Mohit Gahlot
8b93ca050f
Bug 823939 - <mmultiscripts> now doesnt consider base followed by only <mprescripts> and no (presubscript presuperscript) pair as invalid-markup. r=fredw, r=Pike
2013-01-28 00:00:25 +05:30
Martijn Wargers
f43205bf7a
Bug 400157 - Crash test.
2013-02-23 11:38:14 +01:00
L. David Baron
a8ee400190
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
John Daggett
c1594c20c3
Bug 833169 - fixup idents and trim out redundant initialization. r=karlt
2013-02-18 14:19:40 +09:00
John Daggett
74c397a0f6
Bug 833169 - add font family name to font entries and use in user font cache key. r=jkew
2013-02-18 11:22:55 +09:00
L. David Baron
c5b9eee040
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
42e294f8cb
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
5c77da3630
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
L. David Baron
50d4e367af
Bug 841789, patch 1: Rename nsIFrame::GetStyleContext() to nsIFrame::StyleContext() since it can never return null. r=dholbert
...
This makes it conform to our convention that getters returning pointers
that can never be null do not begin with "Get".
2013-02-15 21:38:33 -08:00
Daniel Holbert
6cd7598fd0
Bug 836957 part 1: Remove unnecessary nsIFrame::GetSkipSides() overrides whose implementations are in .h files. r=mats
2013-02-04 08:17:11 -08:00
Sunny
eb7498b320
Bug 832900 - Fix MathML elements creation tests. r=fredw
2013-01-23 18:30:48 -05:00
Ehsan Akhgari
349432b80a
Bug 833191 - Disable PGO on mathml; a=me
2013-01-21 23:01:42 -05:00
Mats Palmgren
b7ae90666d
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
Ehsan Akhgari
304e36fea0
Bug 579517 follow-up: Remove NSPR types that crept in
2013-01-07 18:21:50 -05:00
James Kitchener
e8bb715f83
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
Masatoshi Kimura
9a4812e054
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
rfw2nd@gmail.com
3c553a8b65
Bug 553917 - Test for presence of MathML error messages in the Error Console. r=karlt
2012-12-27 11:12:06 -05:00
rfw2nd@gmail.com
394d5e66e0
Bug 553917 - Add helper methods and logic for error logging to MathML module. r=karlt
2012-12-27 11:12:05 -05:00
Jonathan Kew
a03d1dc724
bug 821442 - eliminate the unreliable mFamily back-pointer in gfxFontEntry, and instead pass/track font family explicitly where needed. r=roc
2012-12-19 09:42:25 +00:00
Trevor Saunders
8d7e7dd8d7
bug 781409 - remove nsITableLayout r=roc,davidb
2012-08-08 09:05:17 -04:00
Saurabh Anand
6de7befa37
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Mats Palmgren
924e59e0d0
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Frédéric Wang
64835b453b
Bug 585142 - Remove old MathML tests that have been moved to MDN. r=karlt
2012-12-03 20:26:14 -05:00
Frédéric Wang
250b89bc6a
Bug 459363 - Fix computation of intrinsic width for <mspace> and <mpadded> elements. r=karlt
2012-11-29 17:52:02 -05:00
Ehsan Akhgari
c284cd4124
Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert
2012-11-13 22:47:33 -08:00
Frédéric Wang
7a1316e28a
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
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
David Zbarsky
4085f74a3f
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Matt Woodrow
a67ae37664
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
2012-08-29 17:39:01 +12:00
Ed Morley
aba3a8f5ef
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
4d096475d2
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Arnaud Sourioux
a84a1b22ad
Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron
2012-09-14 09:10:08 -07:00
L. David Baron
77cd0aa639
Rename nsChangeHint_ReflowFrame to nsChangeHint_AllReflowHints to make it clearer that it's the one that contains multiple bits. (Bug 789592, patch 2) r=bzbarsky
2012-09-07 15:57:06 -07:00
Frédéric Wang
f643d93bf4
Bug 560100 - Map MathML attributes lquote/rquote to style. r=karlt
2012-09-03 08:13:03 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
6a5c1314cf
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
e368dc9c85
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
Frédéric Wang
28618ba3e3
Bug 781494 - Remove support for composite char from nsMathMLChar. r=karlt
2012-08-20 20:14:20 -04:00
Aryeh Gregor
061fd9f9ca
Bug 782252 - Use NS_FAILED instead of boolean test for ToInteger()/ToFloat(); r=ehsan
2012-08-13 16:49:48 +03:00
Frédéric Wang
4fe47c7cfc
Bug 781494 - Remove dead code from nsGlyphTable::ElementAt. r=karlt
2012-08-10 11:29:59 -04:00
Frédéric Wang
f54d4562ae
Bug 781494 - Change line length in nsMathMLChar to be 80 characters or less. r=karlt
2012-08-10 11:29:59 -04:00
Frédéric Wang
c0bf9cb126
Bug 781494 - Remove dead code from nsMathMLChar. r=karlt
2012-08-10 11:29:59 -04:00
Ms2ger
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
c81630fddb
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
bebfcd08da
Bug 777292 - Remove unreached return; r=ehsan
2012-07-27 17:03:25 +03:00
Mohit Sinha
e7668d6436
Bug 771904 - Allow whitespaces at the begining of mtable@align attribute. r=fredw
2012-07-26 21:17:23 -04:00
Nathan Froyd
bfff055672
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Ehsan Akhgari
cf18ee9122
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Matt Woodrow
31125260ee
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Frédéric Wang
4853dfd9c9
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
970e60a384
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Ehsan Akhgari
65884fba1f
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (layout parts); r=roc
...
--HG--
extra : rebase_source : 9f3da1b47dcb9d7cc950488b9b70aa682b6984de
2012-06-18 23:26:34 -04:00
Andrii Zui
34a4a0ee87
Bug 749044 - Selection attribute on maction is now considered by default. Checking for a rendering error in maction has been added. r=karlt
2012-06-12 20:05:58 -04:00
Ed Morley
865fc92be0
Backout 61fd66629c4f, 7c8121f8d3af & 2a2e9cf8fd41 (bug 539356), e31a5e6545d3 (bug 761884), 85fa80bd9792, a284ccb25b83, 2865904db9fc, 34e07b09c426, e9b3d41e0360, cef00ebcd6c8, f943b729ac14 & 783f298401b6 (bug 539356), 330a086f1570 (bug 741682), d80219c8842c (bug 739671), e8c96b4fd4da, 313af486e68d, 0adc41ff56dc, 0cd288a38085, f1d43208825c, 4859876972f3, eec8ef3ebe48, f7f29fcd1845, 6079b229d306, f23c3a7e7ce0, 9824458a41e2 & 6748b5496059 (bug 539356) for mochitest-4 orange & talos regressions on multiple platforms
2012-06-11 10:08:32 +01:00
Matt Woodrow
cee7c9d24b
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
...
* * *
Bug 539356 - Part 9a - Add new display list invalidation API to nsDisplayItem and implement it. r=roc
* * *
Bug 539356 - Part 9b - Add new frame invalidation API. r=roc
* * *
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
* * *
Bug 539356 - Part 9d - Make SVG support the new invalidation model. r=jwatt
* * *
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
* * *
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
* * *
Bug 539356 - Part 9g - Modify MozAfterPaint code to work with the new invalidation model. r=roc
2012-06-11 16:45:30 +12:00
Ryan VanderMeulen
a8d7ca3d0f
Backout Bug 749044 due to Android reftest failures
2012-06-09 16:03:31 -04:00
Andrii Zui
041054b6e4
Bug 749044 - Selection attribute on maction is now considered by default. Checking for a rendering error in maction has been added. r=karlt
2012-06-09 14:22:41 -04:00
Frédéric Wang
40cba13783
Bug 760707 - Allow layout/mathml/updateOperatorDictionary.pl to download and convert the W3C dictionary. r=karlt
2012-06-09 12:24:57 -04:00
Frédéric Wang
4a36ee05a2
Bug 755525 - Remove some tests from layout/mathml/tests/. r=karlt
2012-06-09 12:24:57 -04:00
Frédéric Wang
6e592a1ef4
Bug 755525 - Remove some tests from layout/mathml/tests/various.xml + merge it with maxwell.xml. r=karlt
2012-06-09 12:24:57 -04:00
Frédéric Wang
d902af1d3a
Bug 755525 - Update layout/mathml/tests/various.xml to use the new maction syntax. r=karlt
2012-06-09 12:24:57 -04:00
Frédéric Wang
24f963a3bf
Bug 742273 - Remove obsolete MathML tables for stretchy characters. r=karlt
2012-06-09 12:24:57 -04:00
Frédéric Wang
09f5b2c6e1
Bug 757125 - Make more MathML operators mirrorable. r=karlt
2012-05-28 21:09:43 -04:00
Frédéric Wang
9238ff9ce9
Bug 757125 - Make updateOperatorDictionary.pl read mirrorable property. r=karlt
2012-05-28 21:09:25 -04:00
Frédéric Wang
0478d8a546
Bug 757703 - Restore support for non-zero unitless values in mpadded. r=karlt
2012-05-27 23:32:51 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Andrii Zui
c2a63c0b43
Bug 745535 - Implement AttributeChanged on nsMathMLmactionFrame. r=karlt
2012-05-18 13:35:43 -04:00
Ryan VanderMeulen
18deb8a052
No Bug - Re-alphabetize mathml crashtest list. DONTBUILD
2012-05-17 09:46:16 -04:00
Frédéric Wang
a38bf63fa9
Bug 716349 - Crashtest. r=karlt
2012-05-17 09:38:32 -04:00
Frédéric Wang
6fb9d09b88
Bug 716349 - Prevent invalid metrics for mspace. r=karlt
2012-05-17 09:37:55 -04:00
Frédéric Wang
e8578a7176
Crashtest for bug 398038. r=karlt
2012-05-15 18:30:15 -04:00
Frédéric Wang
2118333bb9
Bug 677036 - Unify parsing of length and mpadded attributes. r=karlt
2012-05-15 18:30:14 -04:00
François Wang
99fdbe540a
Bug 736010 - Make downloaded fonts usable in nsMathMLChar. r=karlt
2012-03-26 17:49:44 +02:00
Frédéric Wang
a2468269dd
Bug 657279 - maction: transmit automatic data when the selected child changes. r=karlt
2012-04-28 11:02:22 -04:00
Matt Woodrow
2b1ae85346
Bug 749055 - Add index parameter to nsDisplayMathMLCharForeground. r=roc
2012-04-27 12:24:54 +12:00
Andrii Zui
42a0a68e10
Bug 739556 - maction: selection attribute is taken into account only with actiontype="toggle". r=karlt
2012-04-24 19:49:59 -04:00
Frédéric Wang
2dbf57356e
Bug 732834 - fix an error in the MathML stylesheet. r=karlt
...
--HG--
extra : rebase_source : 19e6787233ac4a7075152bb188b4f127e582be51
2012-04-17 13:01:10 +12:00
Robert O'Callahan
7c34e38876
Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
...
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.
With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).
FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Andriy Zui
cfb9998a09
Bug 729924 - statusline actiontype should use the second child as a message. r=karlt
2012-03-29 11:50:02 +02:00
Phil Ringnalda
9b1872fcc9
Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE
2012-03-28 22:37:46 -07:00
Andriy Zui
c8ae7cd529
Bug 729924 - maction: statusline actiontype should use the second child as a message. r=karlt
2012-03-28 21:00:14 -04:00
Ehren Metcalfe
23b7cab793
Bug 738957 - Remove the nsMathMLForeignFrameWrapper class and related files. r=karlt
2012-03-26 09:59:54 +02:00
Frédéric Wang
047e2a762d
Bug 732834 - Use MathJax fonts in mathematical text part 2. r=karlt
2012-03-09 20:52:14 -05:00
Frédéric Wang
57f0e07437
Bug 732834 - Use MathJax fonts in mathematical text part 1. r=karlt
2012-03-09 20:52:13 -05:00
François Wang
c81bc40e1b
Bug 320294 - Remove space between mi with mathvarian normal. r=karlt
2012-03-06 21:58:20 +01:00
Frédéric Wang
675ef1ca01
Bug 701758 - Add page to convert MathJax font table into our own format. r=karlt
2012-02-28 18:40:38 -05:00
Frédéric Wang
c7c71e1da2
Bug 701758 - Add stretchy operator table for MathJax fonts. r=karlt
2012-02-28 18:40:38 -05:00
Jonathan Watt
f36738d918
Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron.
2012-01-24 13:09:55 +00:00
Jonathan Watt
26a5795109
Bug 719408 - Remove broken paths from Makefile.in files in layout. r=bernd.mielke.
2012-01-23 16:58:52 +00:00
Benjamin Stover
dc9cd57308
Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
...
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.
There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Frédéric Wang
ec70dcfbda
munder, mover, munderover: add support for the align attribute (bug 557476). r=karlt
...
--HG--
extra : rebase_source : 84702b0b078b0c85b10f9a168fbf64c1210a80ce
2012-01-05 11:20:39 +13:00
Mats Palmgren
78d0f2c7ca
Bug 515530 - Remove nsHTMLContainerFrame. r=roc
2011-12-27 21:18:48 +01:00
Frédéric Wang
24ca2d1c34
Bug 708072 - Add test page for stretchy and large operators, r=karlt
2011-12-06 13:24:00 -08:00
Frédéric Wang
96e7ae00c7
Mirroring of operators for arabic math (Bug 208309) - part 2. r=karlt
2011-12-21 17:22:00 -05:00
Frédéric Wang
630d4a18be
Mirroring of operators for arabic math (Bug 208309) - part 1. r=karlt
2011-12-21 17:22:00 -05:00
Frédéric Wang
f7965294ab
Make lspace/rspace in mo behave as leading/trailing spaces (bug 534963). r=karlt
2011-12-21 17:21:59 -05:00
Frédéric Wang
d2d546b146
Overall Directionality of formulas (bug 534963). r=karlt
2010-01-05 11:22:31 +01:00
Frédéric Wang
05ba069e25
Add a directionality flag on MathML frames (bug 534963). r=karlt
2010-01-03 18:52:33 +01:00
Mats Palmgren
498185f3f0
Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug
2011-12-20 10:15:41 +01:00
Masayuki Nakano
0f825bbcf1
Bug 706406 <maction> should use system event group r=smaug+karlt
2011-12-01 16:40:51 +09:00
Boris Zbarsky
19437ca0c9
Bug 667576. Handle visited colors correctly in MathML. r=dbaron
2011-10-29 03:04:20 -04:00
Ehsan Akhgari
92064e6d3f
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
d2b70213ac
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
Frédéric Wang
a11f9aab66
Bug 356870 - Allow mlabeltdr to be used in mtable; r=karlt
2011-09-27 03:13:23 +01:00
Frédéric Wang
57152238b5
Bug 398505 - Remove nonstandard actiontype "restyle" of maction; r=karlt
2011-09-14 08:51:24 +01:00
Mats Palmgren
15fc2f321d
Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
...
Make nsCSSFrameConstructor::ConstructTable return a null frame if
creating the inner table frame fails. Simplify some code since we can
now depend on the invariant that a properly created outer table frame
always has a non-null inner table frame.
2011-09-12 09:08:07 -07:00
Masayuki Nakano
6c3d3da0c3
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Atul Aggarwal
6ed7527e17
Bug 678708 - nsMathMLmactionFrame::MouseListener::HandleEvent may abort in debug mode; r=karlt
2011-08-31 13:16:13 +01:00
Mats Palmgren
f1c56f2e22
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
056a511714
Remove overflow handling that should have been removed along with the standards-mode text-shadow of text-decoration handling in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 1) r=roc
...
Since this affects only the *visual* overflow and not the *scrollable*
overflow, this patch should result in no behavior changes, since the
necessary visual overflow is added in
nsTextFrame::UnionAdditionalOverflow (since the text frame now draws the
shadows of text decorations, just like it draws text decorations
themselves).
2011-08-20 21:35:56 -04:00
L. David Baron
b3f49b92ba
Remove the multiple-parameter versions of nsRenderingContext::SetFont. (Bug 678671, patch 5) r=roc
...
This changes the only remaining callers (in nsMathMLChar) to pass the
correct language, which they were not previously doing, which should
improve the correctness of font selection and also reduce the number of
unique font metrics objects requested (which helps nsFontCache
effectiveness). Those callers, however, remain the odd font users
within all of layout.
2011-08-14 10:08:04 -07:00
L. David Baron
84b8b6bf64
Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
...
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
L. David Baron
d2b6891283
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
Jonathan Hage
d68cbdf102
Bug 669713 - Increment the scriptlevel of the over child in <munderover accent=true> when rendered as a supscript; r=karlt
2011-08-14 11:17:22 +02:00
Jonathan Hage
c9d5ac8edc
Bug 668204 - Merge nsMathMLmunderFrame and nsMathMLmoverFrame into nsMathMLmunderoverFrame. r=karlt
2011-08-13 17:22:12 +02:00
Ms2ger
3fea5b3901
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Frédéric Wang
a3ea06bbc7
Bug 601436 - mtable 'align' attribute: negative rownumbers are wrongly interpreted. r=roc
2011-08-07 01:29:00 -04:00
Frédéric Wang
3514baef42
b=557481 Change comments about TeX/Mathematica fonts to STIX/Asana fonts r=karlt
...
--HG--
extra : transplant_source : %92%3D%40%EE%90%16%21%EE%0F%E2%2C%B9m4%40%F9%AC%D2%3D%B8
2011-08-05 13:06:36 +12:00
Frédéric Wang
03b8e81191
b=669932 munderover: do not add space above/below when the over/under script is empty r=karlt
...
--HG--
extra : transplant_source : f%2B%7D%0A%8E%3F%3A%F5%B3I%E0%86%5E%99%E1%5D%D9%AEJ%C4
2011-08-05 13:04:43 +12:00
Frédéric Wang
da0a470d47
b=669932 take into account the base child vertical metrics for the computation of the munderover ascent/descent. r=karlt
...
--HG--
extra : transplant_source : %B7%0DP%06xl%02t%24%AF%2B%EAiM%29%CC%A5%0C%9F%DE
2011-08-05 12:59:12 +12:00
Frédéric Wang
c9ae4d40a0
b=669932 munderover: consider underscript vertical metrics during the underscript attachment phase instead of the overscript attachment phase. r=karlt
...
--HG--
extra : transplant_source : %B6%29%E1%1B%D4%0D%84fV%B9%1F%16%15%3Cu%A4%22%A0%94%F1
2011-08-05 12:57:27 +12:00
Vitor Menezes
f82cd17bcb
Bug 403524: Remove the standards-mode text-decoration code and use the quirks-mode code in all modes. r=dbaron
2011-08-03 11:30:58 -07:00
Nigel Babu
456ebe41a9
Bug 672444 - Remove unused variable 'oldValue' in nsMathMLmpaddedFrame::UpdateValue; r=karlt
2011-07-29 14:38:45 +02:00
Jonathan Hage
d14defe899
Bug 669719 - support the displaystyle attribute on the <math/> element. r=roc
2011-07-12 12:06:34 -04:00
Florian Scholz
ee3ef5b0c8
b=668969 size fences for empty mfenced in the same way as for mfenced with child(ren) occupying no space r=karlt
...
--HG--
extra : rebase_source : ca173f8830e5d87a6132d04f0df72aec6458f96e
2011-07-11 16:11:28 +12:00
Jonathan Hage
fa91e535e7
Bug 557474 - mpadded tests. r=karlt
2011-07-03 09:56:35 +02:00
Jonathan Hage
f354fcf4bd
Bug 557474 - Add support for the voffset attribute, part 2. r=karlt
2011-07-03 09:54:25 +02:00
Jonathan Hage
d9982f34ed
Bug 557474 - Add support for the voffset attribute, part 1. r=karlt
2011-07-03 09:54:01 +02:00
Jonathan Hage
1ad17ada67
Bug 557474 - Do not allow lspace as a pseudounit. r=karlt
2011-07-03 09:53:17 +02:00
Daniel Cazacu
c2b4bebe39
Bug 648140 - Check some namespaces in nsMathMLContainerFrame.cpp. r=fred.wang
2011-07-01 12:20:35 +02:00
Jonas Sicking
bd6dbea0b9
Bug 664058: Remove Add/RemoveEventListenerByIID from mathml code. r=smaug
2011-06-28 10:59:14 -07:00
Frédéric Wang
5dceff6e2c
Do not underline MathML links (bug 504324). r=roc.
2011-06-24 14:54:37 +02:00
Mounir Lamouri
e42912f4f7
Merge last green changeset of mozilla-inbound into mozilla-central.
2011-06-23 11:15:52 +02:00
Florian Scholz
9c230f2329
Bug 603106 - Make mfrac linethickness="medium" use the default linethickness; r=karlt
2011-06-23 10:30:21 +02:00
Frédéric Wang
90b2837d9e
Bug 407439 - Support for Asana Math font in MathML. r=karlt
...
--HG--
extra : rebase_source : 829d002f8d1e448d5d4b13893046873b4bb34c44
2011-06-22 11:49:26 -04:00
Frédéric Wang
8b6c701ead
support drawing non-BMP characters for stretchy operators (bug 407439). r=karlt
...
--HG--
extra : rebase_source : 8a0351a8a0b45de4e783050608e513582b8a345c
2011-06-22 11:49:11 -04:00
Frédéric Wang
9188cd4d18
Always start the lookup of largeop variants at size=1 (bug 584332). r=karlt
...
--HG--
extra : rebase_source : 05bc57d2c0b0989f887e42d0d52a7a993e27972a
2011-06-22 11:48:56 -04:00
Jonathan Hage
4a4bdf1e3a
Bug 650530 - Implement names for negative spaces; r=karlt
...
--HG--
extra : rebase_source : 73161560d3c781c81c780995c0abda5bf63c780c
2011-06-22 11:55:05 -04:00
Jonathan Hage
2a523bc1a6
Bug 557084 - Remove deprecated attributes and empty <mrow/>'s in mozilla/src/layout/mathml/tests/; r=fred.wang
...
--HG--
extra : rebase_source : 70b0187bd38c92d91df5bec8713ebe7d2ae4b14d
2011-06-22 11:53:07 -04:00