Commit Graph

155 Commits

Author SHA1 Message Date
Jonathan Watt
d266467576 Bug 1086708 - Rename the snapping variant of NSRectToRect to NSRectToSnappedRect. r=mattwoodrow 2014-10-22 12:29:06 +01:00
Jonathan Watt
7a934761aa Bug 1085165 - Get rid of the nsRenderingContext::SetColor() method. r=mattwoodrow
--HG--
extra : rebase_source : dc4604e04cae84b8dcbd2d9890191713555c8c7a
2014-10-20 10:55:49 +01:00
Jonathan Watt
a2ef6af610 Bug 1083753, part 1 - Port the code that uses nsRenderingContext::FillRect(nscoord,...) to Moz2D. r=mattwoodrow 2014-10-19 11:55:36 +01:00
Jonathan Watt
2f81af3c15 Bug 1083557 - Port the code that uses nsRenderingContext::FillPolygon() to Moz2D. r=mattwoodrow 2014-10-17 15:06:34 +01:00
Jonathan Watt
e881b17800 Bug 1084093, part 3 - Use the new ToDeviceColor() function to undo the breakage to gfx.color_management.mode=1 (eCMSMode_All) caused by the Moz2D porting work. r=Bas 2014-10-17 12:53:16 +01:00
Jonathan Watt
0edf484d99 Bug 1083221 - Port the code that uses nsRenderingContext::DrawEllipse/FillEllipse and gfxContext::Ellipse to Moz2D. r=mattwoodrow 2014-10-16 12:03:44 +01:00
Trevor Saunders
b6b2d4b019 bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Jonathan Kew
324f2b8312 bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu 2014-07-24 18:03:25 +01:00
Simon Montagu
18dc65d8e2 Bug 789096 patch 10: make Reflow set nsHTMLReflowMetrics.ISize and BSize instead of Width and Height. r=jfkthame 2014-07-24 01:30:07 -07:00
Jonathan Watt
7ba2839a4a Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc 2014-06-20 07:42:30 +01:00
Simon Montagu
759b949444 Replace GetBaseline with GetLogicalBaseline and use logical coordinates in the line position and baseline getters in nsLayoutUtils. Bug 789096, r=jfkthame 2014-06-17 05:19:38 -07:00
Xidorn Quan
14eff79f0c Bug 982355 - Support disclosure-{open,closed} counter styles. r=jfkthame 2014-06-13 17:34:00 +02:00
Xidorn Quan
792d567136 Bug 966166 - Part 5: Move computation code with minor changes. r=dbaron
In addition to moving the code, this patch also:
* changes the square character from U+25AA to U+25FE to match the spec
* changes all the generating functions from using append to using assign
* removes negative handling from CJKIdeographicToText since it is no longer used there
* fixes indentation and naming conventions
* changes buffer size in DecimalToText
2014-06-11 21:13:00 -04:00
Xidorn Quan
fc0b9b51b4 Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
9755c01032 Bug 966166 - Part 3: Link to other parts. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
ceea63d7cb Bug 966166 - Part 2: Computation of counter style. r=dbaron 2014-06-11 21:11:00 -04:00
Simon Montagu
30b9d24621 Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame 2014-06-11 02:45:31 -07:00
Jonathan Kew
557964c02c bug 1019470 - restore space after list-style-image bullet. r=mats 2014-06-04 10:18:52 +01:00
Xidorn Quan
eb6dcbb235 Bug 1013160 - Remove padding suppressing mechanism of bullet. r=jfkthame,surkov 2014-05-30 09:00:26 +01: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
Xidorn Quan
f4bd0fe7fa Bug 1011461 - Text in bullet shows vertical-positioning discrepancy. r=jfkthame 2014-05-17 04:13:00 +02: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
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
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Xidorn Quan
ecd3f787a3 Bug 985186 - Unwanted white space for multiple of 10,000 in Korean counter styles. r=jfkthame 2014-03-19 10:36:28 -04:00
Kyle Huey
f7eafc09a9 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Arnaud Sourioux
02b48ee29a 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
94fd6d0fd6 Bug 974687 - Part 1: Add about 300 MOZ_OVERRIDE in layout/. r=dholbert 2014-02-24 09:41:56 -05: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
Cameron McCormack
f040e3de01 Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron 2014-01-18 18:08:22 +11:00
Phil Ringnalda
d06dd52262 Back out 191a71ff02bf (bug 960899)
CLOSED TREE
2014-02-04 21:37:12 -08:00
Cameron McCormack
7885e2c485 Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
--HG--
extra : rebase_source : 6c83922c24727d03830de31b3407fa0e6a0e350e
2014-01-18 18:08:22 +11:00
Mats Palmgren
19bc225508 Bug 964078. r=roc 2014-01-28 09:15:24 -05:00
Mats Palmgren
1a854bc937 Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc 2014-01-05 23:31:14 +00: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
Jonathan Kew
58325cd45d bug 735577 - pt 3.2 - update the rest of layout code to use the new accessors on nsHTMLReflowState. r=smontagu 2013-12-27 17:59:21 +00:00
Xidorn Quan
454ce0aee9 Bug 934072 - Part 3: Implement complex CJK ideographic counter styles. r=jfkthame 2013-12-02 12:51:26 -05:00
Xidorn Quan
0c401681af Bug 934072 - Part 2: Add counter style cjk-decimal. r=jfkthame 2013-12-02 12:51:26 -05:00
Xidorn Quan
e7735a4bec Bug 934072 - Part 1: Support other suffixes in numbered bullet. r=jfkthame 2013-12-02 12:51:25 -05:00
Daniel Holbert
e999460fd0 Bug 919871: Make .cpp files in layout/generic #include their corresponding .h file first. r=mats 2013-09-24 18:43:43 -07:00
Ehsan Akhgari
61d8f84eb7 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -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
Seth Fowler
79aee060df Bug 695763. Part 2. Invalidate list style images if they are not decoded and we are asked to do a sync decode. r=roc 2013-06-22 11:30:57 -05:00
Boris Zbarsky
6a359eb980 Bug 879628. Don't screw up the text from earlier counters when using counters() with various list styles. r=dbaron 2013-06-07 22:45:46 -04:00
Timothy Nikkel
de185c2c27 Bug 877458. Bullet frame should honour the sync decode images flag. r=matt.woodrow 2013-05-29 18:23:31 -05:00
Robert O'Callahan
a7a41f0415 Bug 862180. Part 2: Rename nsDisplayItem::GetUnderlyingFrame() to Frame(). r=mattwoodrow 2013-04-20 00:02:13 +12:00
Seth Fowler
91301400e2 Bug 853774 - nsBulletFrame should handle its requests more safely. r=tn
--HG--
extra : rebase_source : cdbf51bcb02cf7b072881e0bc9425fd64ebe3015
2013-04-12 10:05:57 -07:00
Seth Fowler
a7ffe81d52 Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz 2013-02-28 12:22:43 -08:00