Commit Graph

590 Commits

Author SHA1 Message Date
Kearwood (Kip) Gilbert
93e818d617 Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron
- OverflowChangedTracker::AddFrame now accepts an enumerated type parameter to
  indicate if the overflow areas of children have changed (CHILDREN_CHANGED),
  the overflow areas of the children have changed and the parent have changed
  (CHILDREN_AND_PARENT_CHANGED), or if only the transform has changed
  (TRANSFORM_CHANGED).
- OverflowChangedTracker::Flush no longer falls back to calling
  nsIFrame::UpdateOverflow when a frame lacks a PreTransformOverflowAreas
  property.
- Added an additional change hint, nsChangeHint_ChildrenOnlyTransform, which
  results in TRANSFORM_CHANGED being passed in to
  OverflowChangedTracker::AddFrame.
- In nsIFrame::FinishAndStoreOverflow, the passed in overflow is now stored as
  the InitialTransformProperty for elements that are IsTransformed().
- Partially corrected Bug 926155, by only calling
  OverflowChangedTracker::AddFrame on parents of the sticky element during
  StickyScrollContainer::UpdatePositions, using CHILDREN_CHANGED.
2014-03-13 17:21:25 -07:00
Carsten "Tomcat" Book
bc59114b66 Backed out changeset 6a0290190c1b (bug 946065)
--HG--
rename : dom/mathml/crashtests/462929-1.html => content/mathml/content/crashtests/462929-1.html
rename : dom/mathml/crashtests/770710-1.html => content/mathml/content/crashtests/770710-1.html
rename : dom/mathml/crashtests/crashtests.list => content/mathml/content/crashtests/crashtests.list
rename : dom/mathml/moz.build => content/mathml/content/src/moz.build
rename : dom/mathml/nsMathMLElement.cpp => content/mathml/content/src/nsMathMLElement.cpp
rename : dom/mathml/nsMathMLElement.h => content/mathml/content/src/nsMathMLElement.h
rename : dom/mathml/nsMathMLElementFactory.cpp => content/mathml/content/src/nsMathMLElementFactory.cpp
2014-04-14 08:50:29 +02:00
Birunthan Mohanathas
c3e7e76b51 Bug 946065 - Part 7: Move content/mathml/ to dom/ and flatten subdirectories; r=karlt
--HG--
rename : content/mathml/content/crashtests/462929-1.html => dom/mathml/crashtests/462929-1.html
rename : content/mathml/content/crashtests/770710-1.html => dom/mathml/crashtests/770710-1.html
rename : content/mathml/content/crashtests/crashtests.list => dom/mathml/crashtests/crashtests.list
rename : content/mathml/content/src/moz.build => dom/mathml/moz.build
rename : content/mathml/content/src/nsMathMLElement.cpp => dom/mathml/nsMathMLElement.cpp
rename : content/mathml/content/src/nsMathMLElement.h => dom/mathml/nsMathMLElement.h
rename : content/mathml/content/src/nsMathMLElementFactory.cpp => dom/mathml/nsMathMLElementFactory.cpp
2014-04-12 10:42:44 +02:00
James Kitchener
bc84e9b4ef Bug 557478 - Defer mfrac operator spacing to outermost embellished operator. r=fredw 2014-04-07 06:56:00 +02:00
James Kitchener
73429e4b0e Bug 875563 - Zero dictionary lspace/rspace when not in (inferred) mrow r=fredw 2014-04-04 17:54:00 +02:00
James Kitchener
9bd3b4062a Bug 947557 - Call DidReflow() on <mprescripts/> frame. r=fredw 2014-04-01 02:56:00 +02:00
Anuj Agarwal
dc7bd91205 Bug 975681 - Mochitest for MathML mfrac. r=fredw 2014-04-01 08:34:51 -04:00
James Kitchener
215800e0fb Bug 986799 - Handle rtl mtable padding properly. r=fredw 2014-03-24 08:58:29 -04:00
Alessio Placitelli
651681f247 Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-20 20:51:16 +01:00
James Kitchener
f09f97acc4 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
James Kitchener
b8b229d76e Bug 522393 - Remove invisible operators special case in reflow. r=fredw, r=roc 2014-03-19 13:05:02 -04:00
Ryan VanderMeulen
c5975cfb88 Backed out changesets a17ee88f1fe7, 6e3aee4a9650, 07e5ed676919 (bug 950076) for Werror bustage. 2014-03-19 14:00:10 -04:00
Ryan VanderMeulen
9289517c9a Backed out changeset 76f6f3d6d8e3 (bug 522393) for Werror bustage. 2014-03-19 13:32:30 -04:00
Alessio Placitelli
f0971950d5 Bug 950076 - Use the return value of GetNodeTextContent for OOM checks. r=jst 2014-03-19 13:05:03 -04:00
James Kitchener
fa25f6be3e Bug 522393 - Remove invisible operators special case in reflow. r=fredw, r=roc 2014-03-19 13:05:02 -04:00
Ryan VanderMeulen
56a63775df Backed out changeset 1028c462d120 (bug 518592) for Werror bustage on a CLOSED TREE. 2014-03-19 11:16:36 -04:00
James Kitchener
2ca56ed2d0 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
Anuj Agarwal
0be8367522 Bug 975747 - Convert gOperatorTable to nsDataHashtable. r=karlt 2014-03-18 14:25:40 -07:00
Phil Ringnalda
975aca0b70 Bug 973322 followup, set the sticky pref so we don't lose either the expected assertion, or the ability to test for the crash 2014-03-17 20:50:45 -07:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
b07eaa1644 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Kyle Huey
7067fb5db1 Bug 345123: Remove nsGetterAddRefs<T>'s operator nsISupports**. r=bsmedberg 2014-03-15 12:00:17 -07:00
Ryan VanderMeulen
90b0abdecf Backed out changeset 1f4344d87e75 (bug 518592) for reftest failures. 2014-03-12 10:11:00 -04:00
James Kitchener
2ebcbcef65 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
Jonathan Kew
73fcec8ebe bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc 2013-12-31 13:50:31 +00:00
James Kitchener
ed09b3f79b Bug 975935 - nsDisplaymtdBorder needs to override GetBounds. r=bz 2014-03-03 10:37:08 -05:00
Reuben Morais
f954df12ae Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00
Jacek Caban
a13efcf0a1 Bug 663740 - char16_t/wchar_t mismatch fixup. 2014-02-25 12:46:09 +01: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
Frédéric Wang
b7ae8b3c56 Bug 973322 - Crash [@ nsMathMLChar::PaintForeground]. r=karlt 2014-02-20 08:43: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
Frédéric Wang
ff239dbe00 Bug 663740 - Migrate nsMathMLChar measuring and drawing from nsRenderingContext to gfx/thebes classes. r=karlt 2014-02-13 09:53:52 -05:00
Brian O'Keefe
ce139cc580 Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Mohit Sinha
10d9ead2c3 Bug 969867 - Treat U+2063 and U+2064 as invisible operators. r=karlt 2014-02-10 08:58:33 -05:00
Anuj Agarwal
d26bea7717 Bug 477915 - Remove frame->AddStateBits from ReLayoutChildren. r=fredw 2014-02-07 10:21:49 -05: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
Frédéric Wang
40a12d9ec2 Bug 945254 - Take italic correction into account when positioning subscripts. r=karlt 2014-01-28 08:57:08 -05:00
Benoit Jacob
ff9143a319 Bug 963198 - Don't mix up byte-size and array-length - r=tn 2014-01-23 17:34:04 -05:00
Peiyong Lin
d755410afb 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
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
Frédéric Wang
f36f468ff4 Bug 838509 - Part 2: Remove mstyle presentation data and frame class. r=roc 2014-01-15 10:07:45 -05:00
Frédéric Wang
a52c356288 Bug 838509 - Part 1: Make MathML frames use GetAttr instead of GetAttribute. r=roc 2014-01-15 10:07:06 -05:00
James Kitchener
96b284bb69 Bug 442637 - MathML changes to support ssty setting. r=fredw 2014-01-15 09:49:00 -05:00
Frédéric Wang
2587b630ea Bug 838506 - Part 5: Tests. r=roc 2014-01-14 09:39:50 -05:00
Frédéric Wang
b111638e9e Bug 838506 - Part 4: Cleanup legacy code. r=roc 2014-01-14 09:39:50 -05:00
Frédéric Wang
20942d6bc6 Bug 838506 - Part 3: Changes to MathML frames. r=roc 2014-01-14 09:39:50 -05:00
Frédéric Wang
02b037e774 Bug 838506 - Part 2: Map displaystyle to style. r=roc 2014-01-14 09:39:50 -05: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