Commit Graph

13919 Commits

Author SHA1 Message Date
Mason Chang
3c178fe9a8 Bug 1162824 - Change box shadow cache to cache the colored blurred box shadow. r=mstange 2015-05-15 10:52:44 -07:00
Ehsan Akhgari
123f153e5a Bug 1156084 - Disallow AddRef() and Release() calls on the return value of methods returning XPCOM objects; r=jrmuizel
When a method returns type D derived from RefCounted type B, there is an
ImplicitCastExpr (or an ExplicitCastExpr, if there is an explicit cast
to the base type in the code) in the AST between the CallExpr and
MemberExpr, which we didn't take into account before.  This caused the
analysis to not work on common patterns such as
nsCOMPtr<nsIXPCOMInterface>.
2015-05-15 08:39:55 -04:00
Sotaro Ikeda
aae84aa1d5 Bug 1164513 - Add nullptr check r=milan 2015-05-14 12:09:18 -07:00
Eric Rahm
37808e571f Bug 1164620 - Part 1: Remove instances of #ifdef PR_LOGGING in various places. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Mason Chang
8c6561276c Bug 1155828 - Draw box-shadows using an approach inspired by border-image. r=mstange 2015-05-13 15:19:27 -04:00
Markus Stange
9d5ef679af Bug 1162726 - Make RoundedToInt() snap the rect properly. r=roc 2015-05-07 14:25:06 -04:00
Markus Stange
84fcaf91ef Bug 1160789 - Make DrawTargetSkia support subpixel antialiasing for text. r=jrmuizel 2015-05-04 13:23:54 -04:00
Kan-Ru Chen
9388658a40 Backout chanset 9c18f3e4d02a and e784bb7b9f21 because b2g emulator bustage 2015-05-14 15:59:17 +08:00
Kan-Ru Chen
53f6543101 Bug 1154231 - Part 2. Use LRU to manage remote layers. r=mattwoodrow 2015-05-14 12:54:56 +08:00
Matt Woodrow
6719119889 Bug 857895 - Run canvas rendering asynchronously on OSX. r=Bas,bholley 2013-04-09 16:51:44 +12:00
Timothy Nikkel
63839541c5 Bug 1164340. Fix up some scrollbar related comments in AsyncCompositionManager. r=botond 2015-05-13 19:15:39 -05:00
Timothy Nikkel
f9427c5257 Bug 1164340. Convert the scrollbar thumb ratio to a unitless ratio properly for non-zoomable scrollframes. r=botond 2015-05-13 19:15:38 -05:00
Timothy Nikkel
dbcf01fc91 Bug 1162648. When updating layout with the latest async values from the APZC do the scrolling last because it can flush layout. r=botond,kats
If we flush layout after the new scroll position clamping scroll port size but the old resolution then the scrollbars will be placed in the wrong spot.
2015-05-13 15:52:09 -05:00
Daniel Holbert
52e5944b9a Bug 1056479 followup: Annotate gfxPlatformGtk::CreatePlatformFontList() as 'override'. rs=ehsan 2015-05-12 23:36:47 -07:00
John Daggett
f92095d6ce Bug 1056479 p10 - activate bundled fonts. r=m_kato 2015-05-13 14:11:26 +09:00
John Daggett
2c5bb4e8f4 Bug 1056479 p9 - fix build bustage. r=birtles 2015-05-13 14:11:26 +09:00
John Daggett
35051ffb5c Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-13 14:11:26 +09:00
John Daggett
6a616a6051 Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-13 14:11:26 +09:00
John Daggett
569255e6c2 Bug 1056479 p6 - handle font updates. r=jfkthame 2015-05-13 14:11:26 +09:00
John Daggett
d49810fba6 Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-13 14:11:25 +09:00
John Daggett
65205f109b Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.

Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-13 14:11:25 +09:00
John Daggett
efff1e5386 Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt 2015-05-13 14:11:25 +09:00
John Daggett
ab4eecad04 Bug 1056479 p1 - add language to FindFamily parameters. r=jfkthame 2015-05-13 14:11:25 +09:00
John Daggett
6c6d2ffd69 Bug 1056479 p0 - rename ambiguous GetFontList method in Android fontlist. r=m_kato 2015-05-13 14:11:25 +09:00
Lee Salzman
425452c4a9 Bug 1159273 - Fix out-dated Cairo usage that may fail to build or work properly when system Cairo is involved. r=jrmuizel 2015-05-13 12:00:30 +09:00
Lee Salzman
2dfbba0503 Bug 1159273 - Update Cairo/Pixman renaming to not leak the symbols we use and silence linker warnings. r=jrmuizel 2015-05-13 11:54:18 +09:00
Lee Salzman
cf9ae0f680 Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel 2015-05-13 11:54:17 +09:00
Nicholas Nethercote
37a9035e51 Bug 1161377 (part 3, attempt 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj. 2015-05-12 17:33:26 -07:00
David Major
1b8c4a1820 Bug 1154703: Fix typo in nvdxgiwrap filename. r=jrmuizel 2015-05-12 19:04:46 -04:00
Kartikaya Gupta
ebead6cf18 Bug 1022080 - Split out the paint item dumping from the rest of the paint dumping. r=mattwoodrow 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
e8a4761a89 Bug 1022080 - Dump compositable textures as something that we can paste into the URL bar. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
f5b20efc23 Bug 1022080 - Add surface dumping for X11 basic textures. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
03c043742e Bug 1022080 - Make non-HTML dumping of textures work better. r=nical 2015-05-12 09:16:54 -04:00
Kartikaya Gupta
4557b30b05 Bug 1022080 - Don't force intermediate surfaces when dumping textures, unless explicitly specified. r=nical 2015-05-12 09:16:53 -04:00
Carsten "Tomcat" Book
22cd3fed82 Backed out changeset cff5c0c09e72 (bug 1056479) for widespread destruction on a CLOSED TREE 2015-05-12 12:22:01 +02:00
Carsten "Tomcat" Book
1a688b9aab Backed out changeset 8bd3335d77d2 (bug 1056479) 2015-05-12 12:21:20 +02:00
Carsten "Tomcat" Book
53653e896e Backed out changeset c72465a4c424 (bug 1056479) 2015-05-12 12:21:14 +02:00
Carsten "Tomcat" Book
75c678bdd3 Backed out changeset 1223b73d62dc (bug 1056479) 2015-05-12 12:21:09 +02:00
Carsten "Tomcat" Book
92f1f1edb3 Backed out changeset 194a4c39c2a9 (bug 1056479) 2015-05-12 12:21:02 +02:00
Carsten "Tomcat" Book
6f879dbbbf Backed out changeset f630169085c1 (bug 1056479) 2015-05-12 12:20:48 +02:00
Carsten "Tomcat" Book
5f809a915a Backed out changeset f18546e7f271 (bug 1056479) 2015-05-12 12:20:43 +02:00
Carsten "Tomcat" Book
8dbb6a6531 Backed out changeset a8fca346b1ff (bug 1056479) 2015-05-12 12:20:38 +02:00
Carsten "Tomcat" Book
4f6f0ed1e5 Backed out changeset b858d2530520 (bug 1056479) 2015-05-12 12:20:33 +02:00
John Daggett
8dcf1c91a3 Bug 1056479 p9 - fix build bustage. r=birtles 2015-05-12 17:44:39 +09:00
John Daggett
805edb5b36 Bug 1056479 p8 - switch gfxFontConfig to gfxFontconfig. r=karlt 2015-05-12 17:44:35 +09:00
John Daggett
52923bfbbf Bug 1056479 p7 - fixup assertion for non-italic fallback. r=m_kato 2015-05-12 17:44:32 +09:00
John Daggett
be15761aa0 Bug 1056479 p6 - handle font updates. r=jfkthame 2015-05-12 17:44:30 +09:00
John Daggett
43c45479d7 Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-12 17:44:20 +09:00
John Daggett
6609ef3561 Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.

Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-12 17:44:16 +09:00
John Daggett
14ad02c693 Bug 1056479 p1a - use lang as part of pref font fallback. r=karlt 2015-05-12 17:44:13 +09:00