Commit Graph

3929 Commits

Author SHA1 Message Date
Ehsan Akhgari
74fdbe69f7 Bug 1045091 - Fix some bad implicit constructors in gfx; r=Bas 2014-07-29 08:07:24 -04:00
Carsten "Tomcat" Book
6e79f9134f Backed out changeset c8d0a8cf50a1 (bug 1044706) for Reftest Failures 2014-07-29 13:41:42 +02:00
Jonathan Kew
5ae6b4463b bug 1044706 - handle temporary contextPaint as part of fontParams. r=smontagu 2014-07-29 11:58:15 +01:00
Matt Woodrow
9eef8fad9f Bug 1044702 - Part 2: Convert gfxSurfaceDrawable::Draw to use Moz2D directly. r=Bas
--HG--
extra : rebase_source : 364616efdf06d9fc26017e56f17885f1489c1720
2014-07-29 12:07:32 +12:00
Matt Woodrow
187476e419 Bug 1044702 - Part 1: Remove unnecessary gfxDrawable constructors. r=Bas,seth
--HG--
extra : rebase_source : faad3eded22c569bc9a32391dbdac16cd9db397d
2014-07-29 12:05:40 +12:00
Birunthan Mohanathas
f30a0b63c8 Bug 946065 - Part 6: Move content/xml/ to dom/ and flatten subdirectories. r=jst
--HG--
rename : content/xml/content/src/CDATASection.cpp => dom/xml/CDATASection.cpp
rename : content/xml/content/src/CDATASection.h => dom/xml/CDATASection.h
rename : content/xml/content/src/ProcessingInstruction.cpp => dom/xml/ProcessingInstruction.cpp
rename : content/xml/content/src/ProcessingInstruction.h => dom/xml/ProcessingInstruction.h
rename : content/xml/document/src/XMLDocument.cpp => dom/xml/XMLDocument.cpp
rename : content/xml/document/src/XMLDocument.h => dom/xml/XMLDocument.h
rename : content/xml/content/src/XMLStylesheetProcessingInstruction.cpp => dom/xml/XMLStylesheetProcessingInstruction.cpp
rename : content/xml/content/src/XMLStylesheetProcessingInstruction.h => dom/xml/XMLStylesheetProcessingInstruction.h
rename : content/xml/document/crashtests/136896-1.xml => dom/xml/crashtests/136896-1.xml
rename : content/xml/document/crashtests/185285-1.xml => dom/xml/crashtests/185285-1.xml
rename : content/xml/document/crashtests/382636-1.xml => dom/xml/crashtests/382636-1.xml
rename : content/xml/document/crashtests/382636-2.svg => dom/xml/crashtests/382636-2.svg
rename : content/xml/document/crashtests/382636-3.xhtml => dom/xml/crashtests/382636-3.xhtml
rename : content/xml/document/crashtests/382636-4.xul => dom/xml/crashtests/382636-4.xul
rename : content/xml/content/crashtest/420429.xul => dom/xml/crashtests/420429.xul
rename : content/xml/document/crashtests/431703-1.xhtml => dom/xml/crashtests/431703-1.xhtml
rename : content/xml/content/crashtest/453278-frame.xml => dom/xml/crashtests/453278-frame.xml
rename : content/xml/content/crashtest/453278.html => dom/xml/crashtests/453278.html
rename : content/xml/content/crashtest/803586.xhtml => dom/xml/crashtests/803586.xhtml
rename : content/xml/document/crashtests/994740-1.xhtml => dom/xml/crashtests/994740-1.xhtml
rename : content/xml/document/crashtests/crashtests.list => dom/xml/crashtests/crashtests.list
rename : content/xml/document/crashtests/tree.gif => dom/xml/crashtests/tree.gif
rename : content/xml/content/src/htmlmathml-f.ent => dom/xml/htmlmathml-f.ent
rename : content/xml/content/src/moz.build => dom/xml/moz.build
rename : content/xml/document/public/nsIXMLContentSink.h => dom/xml/nsIXMLContentSink.h
rename : content/xml/document/src/nsXMLContentSink.cpp => dom/xml/nsXMLContentSink.cpp
rename : content/xml/document/src/nsXMLContentSink.h => dom/xml/nsXMLContentSink.h
rename : content/xml/content/src/nsXMLElement.cpp => dom/xml/nsXMLElement.cpp
rename : content/xml/content/src/nsXMLElement.h => dom/xml/nsXMLElement.h
rename : content/xml/document/src/nsXMLFragmentContentSink.cpp => dom/xml/nsXMLFragmentContentSink.cpp
rename : content/xml/document/src/nsXMLPrettyPrinter.cpp => dom/xml/nsXMLPrettyPrinter.cpp
rename : content/xml/document/src/nsXMLPrettyPrinter.h => dom/xml/nsXMLPrettyPrinter.h
rename : content/xml/document/resources/XMLMonoPrint.css => dom/xml/resources/XMLMonoPrint.css
rename : content/xml/document/resources/XMLPrettyPrint.css => dom/xml/resources/XMLPrettyPrint.css
rename : content/xml/document/resources/XMLPrettyPrint.xml => dom/xml/resources/XMLPrettyPrint.xml
rename : content/xml/document/resources/XMLPrettyPrint.xsl => dom/xml/resources/XMLPrettyPrint.xsl
rename : content/xml/document/resources/jar.mn => dom/xml/resources/jar.mn
rename : content/xml/document/resources/moz.build => dom/xml/resources/moz.build
rename : content/xml/document/test/file_bug293347.xml => dom/xml/test/file_bug293347.xml
rename : content/xml/document/test/file_bug293347xslt.xml => dom/xml/test/file_bug293347xslt.xml
rename : content/xml/document/test/mochitest.ini => dom/xml/test/mochitest.ini
rename : content/xml/document/test/moz.build => dom/xml/test/moz.build
rename : content/xml/tests/books/bethlehem.gif => dom/xml/test/old/books/bethlehem.gif
rename : content/xml/tests/books/bill.gif => dom/xml/test/old/books/bill.gif
rename : content/xml/tests/books/books.js => dom/xml/test/old/books/books.js
rename : content/xml/tests/books/books.xml => dom/xml/test/old/books/books.xml
rename : content/xml/tests/books/charing.gif => dom/xml/test/old/books/charing.gif
rename : content/xml/tests/books/classic.css => dom/xml/test/old/books/classic.css
rename : content/xml/tests/books/common.css => dom/xml/test/old/books/common.css
rename : content/xml/tests/books/kerouac.gif => dom/xml/test/old/books/kerouac.gif
rename : content/xml/tests/books/list.css => dom/xml/test/old/books/list.css
rename : content/xml/tests/books/road.gif => dom/xml/test/old/books/road.gif
rename : content/xml/tests/books/welville.gif => dom/xml/test/old/books/welville.gif
rename : content/xml/tests/docbook.css => dom/xml/test/old/docbook.css
rename : content/xml/tests/docbooktest.xml => dom/xml/test/old/docbooktest.xml
rename : content/xml/tests/flamer.gif => dom/xml/test/old/flamer.gif
rename : content/xml/tests/load/display.css => dom/xml/test/old/load/display.css
rename : content/xml/tests/load/display.xml => dom/xml/test/old/load/display.xml
rename : content/xml/tests/load/load.html => dom/xml/test/old/load/load.html
rename : content/xml/tests/load/loadauth.html => dom/xml/test/old/load/loadauth.html
rename : content/xml/tests/load/loaddisplay.html => dom/xml/test/old/load/loaddisplay.html
rename : content/xml/tests/load/test.xml => dom/xml/test/old/load/test.xml
rename : content/xml/tests/script.xml => dom/xml/test/old/script.xml
rename : content/xml/tests/simple.xml => dom/xml/test/old/simple.xml
rename : content/xml/tests/toc/book.css => dom/xml/test/old/toc/book.css
rename : content/xml/tests/toc/irslogo.gif => dom/xml/test/old/toc/irslogo.gif
rename : content/xml/tests/toc/minus.gif => dom/xml/test/old/toc/minus.gif
rename : content/xml/tests/toc/plus.gif => dom/xml/test/old/toc/plus.gif
rename : content/xml/tests/toc/rights.xml => dom/xml/test/old/toc/rights.xml
rename : content/xml/tests/toc/toc.css => dom/xml/test/old/toc/toc.css
rename : content/xml/tests/toc/toc.js => dom/xml/test/old/toc/toc.js
rename : content/xml/tests/xlink/auto.xml => dom/xml/test/old/xlink/auto.xml
rename : content/xml/tests/xlink/link.css => dom/xml/test/old/xlink/link.css
rename : content/xml/tests/xlink/manual.xml => dom/xml/test/old/xlink/manual.xml
rename : content/xml/tests/xmlbase/xmlbase.css => dom/xml/test/old/xmlbase/xmlbase.css
rename : content/xml/tests/xmlbase/xmlbase.xml => dom/xml/test/old/xmlbase/xmlbase.xml
rename : content/xml/document/test/test_bug232004.xhtml => dom/xml/test/test_bug232004.xhtml
rename : content/xml/document/test/test_bug293347.html => dom/xml/test/test_bug293347.html
rename : content/xml/document/test/test_bug343870.xhtml => dom/xml/test/test_bug343870.xhtml
rename : content/xml/document/test/test_bug355213.xhtml => dom/xml/test/test_bug355213.xhtml
rename : content/xml/document/test/test_bug392338.html => dom/xml/test/test_bug392338.html
rename : content/xml/document/test/test_bug399502.xhtml => dom/xml/test/test_bug399502.xhtml
rename : content/xml/document/test/test_bug445330.html => dom/xml/test/test_bug445330.html
rename : content/xml/document/test/test_bug691215.html => dom/xml/test/test_bug691215.html
rename : content/xml/document/test/test_viewport.xhtml => dom/xml/test/test_viewport.xhtml
2014-07-25 14:15:35 -07:00
Milan Sreckovic
f5ff709aab Bug 1043603: Expose tile pool size and pool shrink timeout as prefs. r=clord 2014-07-25 15:49:47 -04:00
Jonathan Kew
9197e51f6b bug 1037340 pt 2 - hoist the setup of some unvarying parameters from gfxFont::Draw up to gfxTextRun::Draw. r=jdaggett 2014-07-25 09:38:55 +01:00
Jonathan Kew
59503ff766 bug 1037340 pt 1 - refactor gfxFont::Draw for better maintainability. r=jdaggett 2014-07-25 09:38:44 +01:00
Botond Ballo
162b8e1356 Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow 2014-07-22 18:05:13 -04:00
Jonathan Kew
e339ee2a33 bug 1037442 - Part 2: Fix the family name of Gill Sans faces when merging into Gill Sans MT under DWrite. r=jdaggett 2014-07-22 11:41:31 +01:00
Cameron McCormack
daec11c412 Bug 1037442 - Part 1: gfxFontFamily assertions on font entry family names should be case insensitive. r=jdaggett 2014-07-23 16:09:56 +10:00
Cameron McCormack
3ecb723a73 Bug 1031206 - Part 1: Split out creation and addition of font faces in gfxUserFontSet. r=jdaggett 2014-07-23 15:05:50 +10:00
Frederic Plourde
a213281a74 b=1015218 add pref to remove Xlib offscreen surfaces on GTK3 platform r=karlt
This patch adds a new pref called "layers.use-image-offscreen-surfaces"
that makes GTK3 platform create gfxImageSurfaces for content layers
instead of gfxXlibSurfaces.

--HG--
extra : rebase_source : b803a453bafc70226f3d4c65684618f154147fdb
2014-07-23 11:04:47 +12:00
Mike Hommey
b99bba5c3f Bug 1041864 - Remove LIBRARY_NAMEs that aren't used. r=mshal 2014-07-23 08:39:56 +09:00
Kartikaya Gupta
9dc6a33e69 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Jonathan Kew
365bdad4b4 Bug 1024804 followup - replace gfxFont::CalculateSubSuperSizeAndOffset with gfxFontStyle::AdjustForSubSuperscript. r=jdaggett 2014-07-11 22:37:27 +01:00
John Daggett
a982b2ef3a Bug 1024804 p2 - scan scriptrun for characters lacking variant glyphs. r=jfkthame 2014-07-22 09:02:48 +09:00
John Daggett
e65545b3f2 Bug 1024804 p1 - implement fallback for font-variant-position sub/superscript glyphs. r=jfkthame 2014-07-22 09:02:45 +09:00
Benoit Jacob
494321f249 Bug 1036657 - Remove bad assertion on HasPositiveWCoord(), good example of why asserting on floating point values is often a bad idea - r=mattwoodrow 2014-07-21 11:28:56 -04:00
Jeff Muizelaar
3262ad9459 Bug 1038218. Convert some of gfxAlphaBlur's nsAutoPtr's to UniquePtrs. r=bas
--HG--
extra : rebase_source : e0b5db8c5ab28664f4733969bf42cb4585cb22f8
2014-07-21 11:06:11 -04:00
Markus Stange
df4a87e861 Bug 671302 - Avoid passing large offsets into pixman when drawing repeated background images. r=roc 2014-07-18 11:48:38 +02:00
Ehsan Akhgari
b3192c77f0 Bug 1040038 - Give GfxD2DSurfaceReporter a private destructor; r=bjacob
--HG--
extra : rebase_source : caa4478e14cd1d526978700e3d0cfe28a3af0068
2014-07-17 16:47:19 -04:00
Makoto Kato
12c0753107 Bug 984033 - Large OOM in nsStreamLoader::WriteSegmentFun. r=honza 2014-07-17 17:37:33 +09:00
Ehsan Akhgari
07bd0a646b Bug 1038156 - Give GPUAdapterReporter a private destructor; r=bjacob 2014-07-15 16:41:50 -04:00
Benoit Girard
e7aea75462 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Benoit Girard
60e200d97f Bug 864829 - Add graphics performance warning feature. r=bjacob
--HG--
extra : rebase_source : 11585fb913c4a10c9293787fa6e86f2f76bdcdb4
2014-05-07 18:09:41 -04:00
Ehsan Akhgari
9a0fcc2002 Bug 1038155 - Give GfxD2DVramReporter a private destructor; r=bjacob 2014-07-14 21:49:53 -04:00
Andrew McCreight
77d782bb63 Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan 2014-07-14 12:21:34 -07:00
Jonathan Watt
4b0563806f Bug 1037570 - Remove gfxPath. r=mattwoodrow 2014-07-11 11:25:00 +02:00
Jeff Gilbert
28df0dd6c9 Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow 2014-07-11 15:10:49 -07:00
Kartikaya Gupta
c7ba9819bc Bug 1037019 - Add the ability to set prefs in gfxPrefs. r=milan 2014-07-11 08:25:12 -04:00
Jonathan Watt
943031a49d Bug 1025553, part 6 - Remove gfxMatrix::Multiply(). r=Bas 2014-07-11 08:07:07 +01:00
Jonathan Watt
a63faceba7 Bug 1025553, part 4 - Add some missing Moz2D Matrix API to gfxMatrix. r=Bas 2014-07-11 08:06:39 +01:00
Jonathan Watt
7645116817 Bug 1025553, part 3 - Give gfxMatrix::Invert() the same semantics as Moz2D's Matrix::Invert(). r=Bas 2014-07-11 08:06:39 +01:00
Jonathan Watt
abac46757a Bug 1036859 - Make gfxContext code assume there is always a DrawTarget. r=mstange 2014-07-11 08:06:38 +01:00
Jonathan Watt
c885ba1f0b Bug 1036858 - Remove various includes of gfxImageSurface.h that are no longer necessary. r=Cwiiis 2014-07-11 08:06:38 +01:00
Jonathan Watt
e72bedc294 Bug 933019, part 12 - Remove CopySurface. r=me 2014-07-10 11:19:32 +01:00
Jonathan Watt
699556edfb Bug 1034702 - Remove gfxPlatform::GetThebesSurfaceForDrawTarget(). r=Bas 2014-07-10 10:58:09 +01:00
Jonathan Watt
3b63b51b29 Bug 933019, part 11 - Remove gfxContext::mCairo. r=Bas 2014-07-10 10:58:08 +01:00
Jonathan Watt
e97062ceea Bug 933019, part 10 - Remove gfxContext::IsCairo(). r=Bas 2014-07-10 10:58:08 +01:00
Jonathan Watt
2b254aad87 Bug 933019, part 5 - Remove code for handling Thebes backed gfxContext from various files under gfx/thebes/. r=Bas 2014-07-10 10:58:07 +01:00
Jonathan Watt
6f6349e6b7 Bug 933019, part 4 - Remove code for handling Thebes backed gfxContext in gfxFont. r=Bas 2014-07-10 10:58:07 +01:00
Jonathan Watt
5e4527446d Bug 933019, part 3 - Remove code for handling Thebes backed gfxContext in gfxDrawable.cpp. r=Bas 2014-07-10 10:58:06 +01:00
Jonathan Watt
3ec7ce74ae Bug 933019, part 1 - Remove the gfxContext(gfxASurface*) constructor. r=Bas 2014-07-10 10:58:06 +01:00
Jonathan Watt
07fcc8c2d5 Bug 1035330 - Optimize rects in the gfxContext methods for getting extents to fix tsvgr_opacity regressions. r=Bas 2014-07-10 08:44:17 +01:00
Boris Zbarsky
1987b0c856 Bug 965413 part 10. Use a LoadInfo for loading documents in various places where we force a particular principal. r=smaug 2014-07-10 02:56:37 -04:00
Cameron McCormack
f66a3c2e9d Bug 1031202 - Factor out gfxMixedFontFamily lookup/creation into a helper function. r=jdaggett 2014-07-09 17:08:55 +10:00
Cameron McCormack
c811f2428c Bug 1031187 - Part 2: Use family name from proxy rather than gfxMixedFontFamily when logging. r=jdaggett 2014-07-09 17:08:55 +10:00
Cameron McCormack
210c8d808e Bug 1031187 - Part 1: Set mFamilyName eagerly on proxy and non-proxy gfxFontEntrys. r=jdaggett 2014-07-09 17:08:54 +10:00
Jonathan Kew
918c9b597f Bug 754215 - Refactor user-font loading code in preparation for lazier downloading. r=jdaggett 2014-07-09 17:08:52 +10:00
Carsten "Tomcat" Book
79dd05055c Backed out changeset 0af811dfc164 (bug 754215) 2014-07-09 13:44:16 +02:00
Carsten "Tomcat" Book
467782b7d8 Backed out changeset 091a5ced91cd (bug 1031187) 2014-07-09 13:44:14 +02:00
Carsten "Tomcat" Book
ed60ddd832 Backed out changeset dc4ff3a5afd1 (bug 1031187) 2014-07-09 13:44:11 +02:00
Carsten "Tomcat" Book
23d2987be3 Backed out changeset 30954594c1dd (bug 1031202) 2014-07-09 13:43:51 +02:00
Cameron McCormack
8ab4614684 Bug 1031202 - Factor out gfxMixedFontFamily lookup/creation into a helper function. r=jdaggett 2014-07-09 21:04:15 +10:00
Cameron McCormack
09dc53b8b2 Bug 1031187 - Part 2: Use family name from proxy rather than gfxMixedFontFamily when logging. r=jdaggett 2014-07-09 21:04:14 +10:00
Cameron McCormack
96484bfcf1 Bug 1031187 - Part 1: Set mFamilyName eagerly on proxy and non-proxy gfxFontEntrys. r=jdaggett 2014-07-09 21:04:10 +10:00
Jonathan Kew
70d6b866e0 Bug 754215 - Refactor user-font loading code in preparation for lazier downloading. r=jdaggett 2014-07-09 21:03:19 +10:00
Jeff Walden
86ea8f6ecd Bug 953296 - Convert ScopedDeletePtr to UniquePtr in various bits of canvas/graphics/GL code. r=jgilbert
--HG--
extra : rebase_source : cd1e332837ff49199d62805f554bf1123eea334f
2014-01-06 09:49:03 -06:00
Jonathan Kew
9487a7b9ae bug 1035323 - remove redundant null-checks in the DetailedGlyphStore code. r=jdaggett 2014-07-08 14:56:41 +01:00
Markus Stange
1b0667b85b Bug 1020556 - Increase tolerance for scale snapping so that we don't end up with an unnecessary scale factor for pure rotation transforms due to floating point inaccuracies. r=mattwoodrow 2014-07-08 14:07:05 +02:00
Matt Woodrow
361e3e8a66 Bug 1031948 - Cull points that have w <= 0 when untransforming layer coordinates. r=bjacob 2014-07-08 16:55:42 +12:00
Jonathan Watt
bb34a53966 Bug 1034528, part 1 - Get rid of gfxCachedTempSurface and the Thebes backed gfxContext that it creates. r=Bas 2014-07-07 09:05:15 +01:00
Jonathan Kew
65a2f6fb2d bug 1034403 - update index to step past the second half of a surrogate pair. r=roc 2014-07-06 12:51:27 +01:00
Jonathan Watt
0d4536e269 Bug 1034404 - Get rid of the Thebes backed gfxContexts in ThebesLayerD3D9. r=Bas 2014-07-06 00:10:49 +01:00
Bas Schouten
24c636c143 Bug 1028491: Try to create a reasonable size surface when surface creation fails, otherwise OOM abort. r=jrmuizel 2014-07-03 22:20:08 +02:00
Frédéric Wang
76e083af64 Bug 961365 - Part 1: Add helper functions to access MATH constants and use them to get the AxisHeight. r=jfkthame 2014-07-01 23:29:00 -04:00
Walter Litwinczyk
324cfd1c23 Bug 701948 - Rename nsIGfxInfo::FEATURE_NO_INFO to nsIGfxInfo::FEATURE_STATUS_OK. r=jgilbert 2014-07-01 14:44:09 -07:00
Michael Wu
488539893f Bug 987872 - Update Fira font name for Fira font update, r=jfkthame 2014-05-21 13:16:43 -04:00
Jonathan Kew
bcc0b79d39 bug 1030829 part 2 - preload 'hidden' fonts on FirefoxOS into the user-font cache. r=roc 2014-06-30 19:05:29 +01:00
Jonathan Kew
e0858e3e74 bug 1030829 part 1 - support 'persistent' entries that will not be flushed from the user-font cache. r=roc 2014-06-30 19:05:28 +01:00
Cameron McCormack
43d964ec18 Bug 1031205 - Make gfxUserFontSet methods take already-parsed language override values. r=jdaggett 2014-06-30 14:25:21 +10:00
Cameron McCormack
00c23c9ad6 Bug 1031199 - Disallow aWeight = 0 when calling gfxUserFontSet::AddFontFace. r=jdaggett 2014-06-30 14:25:11 +10:00
Mats Palmgren
b5c267b13f Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
92fe6a5293 Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
d11737c8ef Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Jonathan Kew
a66c917c69 bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett 2014-05-31 08:12:40 +01:00
Masatoshi Kimura
86e94e8d3e Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
John Daggett
9beb5203b2 Bug 1029307 - remove subscript/superscript metrics. r=heycam 2014-06-28 15:40:36 +09:00
John Daggett
c0310a0a41 Bug 1029307 - use fixed subscript/superscript offset ratio instead of font metric values. r=heycam 2014-06-28 15:40:35 +09:00
Jonathan Kew
39994542c7 bug 1030067 - ignore the principal when caching data-URI fonts, to allow sharing across pages with the same CSS. r=bzbarsky 2014-06-27 16:19:28 +01:00
Carsten "Tomcat" Book
6bec2c9775 Merge mozilla-central to mozilla-inbound 2014-06-27 15:51:09 +02:00
Carsten "Tomcat" Book
11b78eff19 merge mozilla-inbound to mozilla-central a=merge 2014-06-27 15:34:28 +02:00
Kartikaya Gupta
fcf2a64e90 Bug 1022956 - When fling velocity is high, don't let tap gestures trigger clicks to content. r=drs r=Bas 2014-06-26 18:37:44 -04:00
Sotaro Ikeda
e8660d0951 Bug 1026562 - "Always create ImageBridge when OMTC is enabled on gonk". r=nical 2014-06-17 09:41:00 +02:00
Jonathan Watt
92dc7bdbd8 Bug 1031079 - Get rid of the Thebes backed gfxContexts in gfxASurface, removing gfxASurface::WriteAsPNG_internal and its consumers. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
488b914f94 Bug 1031055 - Get rid of the Thebes backed gfxContexts in FrameLayerBuilder.cpp, and get rid of gfxASurface::DumpAsDataURL. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
fa20dc97b8 Bug 986526 - Create helper functions to encode DrawTargets/SourceSurfaces to PNG/JPEG/BMP/ICO/etc. and save them, dump them, or copy them to the clipboard, either as binary or as data: URIs. r=mattwoodrow 2014-06-27 12:19:40 +01:00
Jonathan Watt
fbaa2770d4 Bug 1030894 - Stop abusing nsAutoPtr in gfxFT2FontList.cpp. r=jfkthame 2014-06-27 10:17:50 +01:00
Gijs Kruitbosch
63563f9b5d Bug 1030115 - fix apz.printtree caching to use gfxPrefs. r=kats, bas 2014-06-25 16:12:32 +01:00
Jonathan Watt
c68b6214ad Bug 1025537 - Stop using gfxImageSurface in gfxBlur and gfxPlatform::CreateDrawTargetForData. r=mattwoodrow 2014-06-26 08:40:12 +01:00
Jonathan Watt
5150f90b6d Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
Gijs Kruitbosch
de6227f636 Bug 1030090 - tests shouldn't destroy gfxPrefs, r=bjacob 2014-06-25 15:09:02 +01:00
Carsten "Tomcat" Book
d6eca1576d Backed out changeset f1afdcec1927 (bug 1025553) for bustage on a CLOSED TREE 2014-06-25 14:21:34 +02:00
Jonathan Watt
41dd3d564a Bug 1025553, part 2 - Change gfxMatrix from a struct to a class. r=Bas 2014-06-25 12:59:46 +01:00
James Kitchener
efc609491e Bug 1018234 - Reference count fontFaces r=jfkthame 2014-06-25 10:12:31 +01:00
Jonathan Watt
fe47bc40e9 Bug 1029211 - Get rid of a couple more Thebes backed gfxContexts by using gfxUtils::ClearThebesSurface instead. r=mattwoodrow
--HG--
extra : rebase_source : cc75965e0ba908b84a592e337af0429ddb9cc846
2014-06-24 10:02:10 +01:00
Kartikaya Gupta
e5ded19395 Bug 1024126 - Fix rounding errors and add a danger zone to the B2G AboutToCheckerboard heuristic function. r=Cwiiis 2014-06-23 20:54:32 -04:00
Jonathan Watt
5f2f65ee2a Bug 1028786, part 2 - Get rid of the Thebes backed gfxContext in gfxPlatformGtk.cpp. r=mattwoodrow
--HG--
extra : rebase_source : 2920a2b3d862180a15d5a037741744ea5766b5b1
2014-06-23 23:48:59 +01:00
Jonathan Watt
f66d49576a Bug 1028786, part 1 - Add a gfxUtils::ClearThebesSurface() helper method. r=mattwoodrow
--HG--
extra : rebase_source : 524ffe6d276ea9b51cf01d534f65c9b74b32b950
2014-06-23 23:48:58 +01:00
Benoit Jacob
adffc9db7b Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel 2014-06-23 14:49:07 -04:00
Ehsan Akhgari
44631ff424 Bug 1028944 follow-up: remove the #ifdef altogether 2014-06-23 10:23:30 -07:00
Ehsan Akhgari
5d03bd7344 Bug 1028944 - Use nscore.h SEH wrapper macros in gfxWindowsPlatform.cpp; r=jrmuizel 2014-06-23 09:04:22 -07:00
Kartikaya Gupta
4aba255ad5 Bug 1020778 - Reduce opacity of low-res buffer on B2G by half when compositing it to the screen. r=jrmuizel 2014-06-23 12:00:18 -04:00
Geoff Brown
04ad351c4e Bug 456899 - Avoid assertion "forgot to short-circuit a text run with zero-sized font?"; r=jfkthame 2014-06-23 08:35:52 -06:00
Mason Chang
6d23a7db96 Bug 990832 - Build a tool to visualize frame uniformity. r=mchang, benwa. 2014-06-19 09:33:00 +02:00
John Daggett
bec96141f3 Bug 961558 - remove smallCaps from gfxFontStyle. r=jfkthame 2014-06-23 12:09:17 +09:00
John Daggett
5a49215c66 Bug 961558 - add fallback support for font-variant-caps values. r=jfkthame 2014-06-23 12:09:16 +09:00
Matt Woodrow
8cb1afacd4 Bug 1025896 - Null check generated blur surface. r=Bas 2014-06-18 13:36:30 +12:00
Jonathan Kew
362b0439cc bug 1028134 - Remove dangerous public destructor of gfxContext. r=bjacob 2014-06-22 13:28:12 +01:00
Benoit Girard
c1e4a09735 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Jonathan Watt
f0cc7f7531 Bug 1027763, part 2 - Make non-Moz2D callers of DrawTarget::GetType() call DrawTarget::GetBackendType() instead. r=Bas 2014-06-19 21:35:33 +01:00
Nicolas Silva
72ac06e54c Bug 1027365 - Activate ImageBridge by default when OMTC on. r=sotaro 2014-06-19 11:45:19 +02:00
Jonathan Kew
2ce9cef08b bug 871453 - part 3 - support font-synthesis options through the fontconfig backend. r=jdaggett 2014-06-19 08:09:00 +01:00
Jonathan Kew
330a007108 bug 871453 - part 2 - support font-synthesis options through the platform-font-list backends. r=jdaggett 2014-06-19 08:08:58 +01:00
Jonathan Kew
176feefe44 bug 871453 - part 1 - pass the font-synthesis flags down to gfxFontStyle. r=jdaggett 2014-06-19 08:08:55 +01:00
Jonathan Kew
1d711914d6 bug 1025076 - handle negative glyph advance more sensibly in gfxGDIFont. r=jdaggett 2014-06-18 17:46:04 +01:00
Birunthan Mohanathas
f475f7189b Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Jacob
dd18742280 Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel 2014-06-18 22:28:59 -04:00
Nicholas Nethercote
39f29c384a Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jeff Gilbert
0cb400b638 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-18 17:04:05 -07:00
Jonathan Watt
0324bd5749 Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Jonathan Watt
2287c6e3f0 Bug 1025858 - Remove gfxPlatform's SourceSnapshotDetached. r=gal 2014-06-17 10:37:46 +01:00
Jonathan Watt
16b38eb033 Bug 1022031 - Rework gfxPlatform::GetSourceSurfaceForSurface so that it doesn't need to use a Thebes backed gfxContext (Moz2D conversion). r=mattwoodrow 2014-06-17 10:08:23 +01:00
Wes Kocher
32fd73ab80 Backed out changeset 66f9a0038c67 (bug 774388) for various frequent intermittent failures including mochitest-2 on a CLOSED TREE 2014-06-16 19:00:15 -07:00
Benoit Jacob
2d074cbb04 Bug 774388 - Patch 5: Properly manage the lifetime of the compositor thread, by waiting for CrossProcessCompositorParents to die before destroying it - r=nical,mattwoodrow 2014-06-06 09:51:26 -04:00
Jonathan Watt
eaefe307f9 Bug 1025491 - Remove the DumpAsPNG() code in FilterNodeSoftware.cpp. r=mstange 2014-06-15 01:34:01 +01:00
Benoit Jacob
4e23e75d75 Bug 774388 - Patch 4: Flatten the way that we track whether we are using OMTC, and move Layers IPC shutdown code back to gfxPlatform (but still triggered by ShutdownXPCOM) - r=nical,sotaro 2014-06-06 09:51:24 -04:00
Jonathan Kew
aab72559f5 bug 985220 pt 2 - replace the use of GetGlyphIndicesW with ScriptGetCMap in gfxGDIFont::GetGlyph. r=jdaggett 2014-06-09 16:43:16 +01:00
Jonathan Kew
e0a5ad60f4 bug 985220 - remove the old GDI, Uniscribe and DWrite text-shaping code paths, as we now use HarfBuzz or Graphite for all shaping on Windows. r=jdaggett 2014-06-09 15:47:31 +01:00
Jonathan Watt
6b3fa8dfeb Bug 1022821, part 2 - In gfx code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=Cwiiis 2014-06-12 20:24:05 +01:00
Ed Morley
f4f73110c9 Backed out changeset bfb5297101cd (bug 1000640) for compilation failures on B2G 2014-06-11 17:07:41 +01:00
Jeff Gilbert
474eadbf89 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-04 15:20:24 -07:00
Chris Lord
eeff5cfb5a Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical 2014-06-11 14:52:19 +01:00
Robert Longson
7713ef6340 Bug 989230 - SVG gradient spreadMethod="reflect" doesn't work. r=gal 2014-06-11 10:38:43 +01:00
Matt Woodrow
1a6a27a3ec Bug 940845 - Part 6: Cache blurs when possible. r=Bas 2014-06-10 17:51:24 -04:00
Jonathan Watt
f89b0cfb12 Bug 1021973, part 2 - Remove gfxPlatformMac/gfxQtPlatform::OptimizeImage(). r=Bas 2014-06-10 19:12:37 +01:00
Jonathan Watt
e1a2391d93 Bug 1022667, part 4 - Remove some font related functions from gfxWindowsPlatform.cpp. r=jfkthame 2014-06-10 16:42:23 +01:00
Jonathan Watt
cdb7e21837 Bug 1022930 - Fix crash in imgFrame::Draw() when drawing for an SVG mask. r=mwu 2014-06-10 07:02:22 +01:00
Jonathan Watt
894ac7427a Bug 1021973 - Remove gfxPlatform::OptimizeImage(). r=Bas 2014-06-10 07:02:21 +01:00
John Daggett
d5709003c5 Bug 1022792 - treat -moz-fixed as monospace. r=heycam 2014-06-10 14:21:41 +09:00
Frédéric Wang
1c61e8f0e5 Bug 1020927 - Part 2: Update OTS to bf4afceb8b441f3a219dd7cfea5613c18183836c so that we fix the compile warnings. r=jfkthame 2014-06-05 11:09:00 -04:00
Jonathan Kew
009531d2bf backout changeset 59b2dd6b5048 (bug 985220) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:09 +01:00
Jonathan Kew
1e15f90fb6 backout changeset 48b74ab18f92 (bug 1018034) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:07 +01:00
Jonathan Kew
e596612b87 backout changeset 3e9d9aa535c7 (bug 1018551) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:04 +01:00
Botond Ballo
2dcd7e4865 Bug 1018255 - Use spring physics for snap-back animation. r=kats
--HG--
extra : source : f7f4c40fc818c2342fe6c49c0351c1573f6e9f3d
2014-06-03 13:59:35 -04:00
Botond Ballo
d94aeee60a Bug 1018255 - Make the translation (in the direction of overscroll) more pronounced than the zoom. r=kats
--HG--
extra : source : da6418a2a57e4665b2f03e84ff50052902658f45
2014-06-03 18:03:55 -04:00
Botond Ballo
5c0e3bed25 Bug 1018255 - Stop fling more quickly when overscrolled. r=kats
--HG--
extra : source : 79355b184bc52616567cc16d8f8c61ab31789d67
2014-06-05 15:16:14 -04:00
Michael Wu
82821675ed Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth 2014-04-19 21:28:38 -04:00
Ed Morley
65f098a0bd Backed out changeset 7a0d8feb1575 (bug 774388) for build failures during startup cache precompilation; CLOSED TREE 2014-06-06 16:01:43 +01:00
Ed Morley
72cc27b160 Backed out changeset 6f2e001c5f39 (bug 774388) 2014-06-06 15:58:58 +01:00
Ed Morley
ce8f39be3d Backed out changeset 4cfb80678174 (bug 774388) 2014-06-06 15:58:51 +01:00
Benoit Jacob
71a90cd757 Bug 774388 - Bustage fix: don't try to shut down layers IPC if we didn't initialize it because we were running xpcshell only - no review 2014-06-06 10:28:50 -04:00
Benoit Jacob
b5c7b5da96 Bug 774388 - Patch 5: Wrap the global raw compositor thread pointer, and global raw refcount integer, into a proper refcounted singleton class - r=nical,mattwoodrow 2014-06-06 09:51:26 -04:00
Benoit Jacob
2ad326a319 Bug 774388 - Patch 4: Flatten the way that we track whether we are using OMTC, and move Layers IPC shutdown code back to gfxPlatform (but still triggered by ShutdownXPCOM) - r=nical,sotaro 2014-06-06 09:51:24 -04:00
Reed Koser
b7aff93098 Bug 965967, part 1 - Get rid of some Thebes backed gfxContexts in the plugin code (Moz2D migration). r=mattwoodrow
--HG--
extra : rebase_source : 54fd4a60da6031b64598ca697b84437e672d126b
2014-06-06 10:24:24 +01:00
John Daggett
be68cb997f Bug 280443 p5 - fixup problem with MathML stretchy fallback. r=fredw 2014-06-06 15:09:24 +09:00
John Daggett
6ad68a5fc7 Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
John Daggett
5c970abf2f Bug 280443 p1 - define struct for font family lists. r=roc 2014-06-06 15:09:23 +09:00
Honza Bambas
4f2a59d172 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
d4516e53a4 Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
CLOSED TREE
2014-06-05 13:32:04 -04:00
Honza Bambas
b1feb7e13a Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
Vivien Nicolas
c92b722305 Bug 1005888 - Remove unused #ifdef for gfx/thebes/gfxFT2FontList.cpp. r=jfkthame 2014-06-04 20:11:05 +02:00
Jonathan Kew
8e5e8d4af2 bug 1020008 - use mozilla::ArrayLength for array size. r=smontagu 2014-06-05 11:15:26 +01:00
Jonathan Watt
3d7ecba0f7 Bug 1019681 - Remove gfxASurface's MovePixels() and FastMovePixels() methods and their overrides. r=Bas
--HG--
extra : rebase_source : 49445275b3b6ad94ffb2f9f4375e6a81ebf2842c
2014-06-05 01:03:07 +01:00
Jonathan Watt
946a44e016 Bug 1019690 - Remove gfxPlatform::CreateOffscreenImageSurface(). r=Bas
--HG--
extra : rebase_source : 3c79945a1179d7b7bb128278eae0642156460df0
2014-06-05 01:02:44 +01:00
Wes Kocher
270fe0b086 Backed out changeset f644eda342c2 (bug 1000640) for various gl-based failures on a CLOSED TREE 2014-06-04 18:29:21 -07:00
Jeff Gilbert
ca0c1805a0 Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow 2014-06-04 15:20:24 -07:00
Ryan VanderMeulen
3a3ab13539 Backed out 5 changesets (bug 1015871, bug 1020257, bug 1015887, bug 1005888, bug 1015894) for desktop B2G mochitest failures on a CLOSED TREE.
Backed out changeset dbcb9974b640 (bug 1020257)
Backed out changeset 3220b7b2efc9 (bug 1015894)
Backed out changeset 4e23647ae247 (bug 1015887)
Backed out changeset 59df0cdacc15 (bug 1015871)
Backed out changeset e7124b07804b (bug 1005888)
2014-06-04 16:07:06 -04:00
Vivien Nicolas
71b1cc0175 Bug 1005888 - Remove unused #ifdef for gfx/thebes/gfxFT2FontList.cpp. r=jfkthame 2014-06-04 20:11:05 +02:00
Markus Stange
7aea5fc3e9 Bug 944938 - Move the layers.async-pan-zoom.enabled pref to gfxPrefs and make it override the apz subframe pref when false. r=kats 2014-06-03 15:39:44 +02:00
Markus Stange
74689397c4 Bug 1019492 - Stop creating a Thebes backed gfxContext in gfxQuartzNativeDrawing. r=mattwoodrow 2014-06-04 14:44:25 +02:00
Jonathan Watt
adc393ae91 Bug 1019018 - Get rid of the Thebes backed gfxContext in AndroidBridge, and the Thebes version of gfxUtils::ConvertBGRAtoRGBA. r=kats 2014-06-03 12:31:42 +01:00
Matt Woodrow
59548b38f3 Bug 1003707 - Retain size information for similar surfaces if we can. r=roc 2014-06-03 17:18:25 +12:00
Robert O'Callahan
9170085906 Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Jonathan Kew
5120924fba bug 1012365 - workaround for Devanagari fonts that lack support for U+0972 on Android. r=jdaggett 2014-06-02 12:46:49 +01:00
Jonathan Kew
0323439c65 bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett on a CLOSED TREE 2014-05-31 08:12:40 +01:00
Carsten "Tomcat" Book
a665444415 Backed out changeset fd9518344a23 (bug 1018551) for crashes 2014-06-02 10:40:57 +02:00
Makoto Kato
49fe8ad9dd Bug 1010653 - Add Noto Sans family to fallback font. r=jdaggett 2014-06-02 16:46:54 +09:00
Jonathan Kew
ed70d32dd5 bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett 2014-06-02 07:51:34 +01:00
Jonathan Kew
9d2b0d6c67 bug 1014639 - part 0 - (preliminary cleanup) split GreekCasing out into its own file to reduce clutter in nsUnicharUtils.cpp. r=smontagu 2014-06-01 23:17:41 +01:00
Phil Ringnalda
c60c621e2b Merge m-c to m-i 2014-05-31 20:38:25 -07:00
Phil Ringnalda
61966eed95 Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Jeff Muizelaar
b4ef297e6f Bug 1018416. Add Transform method to nsRegion. r=BenWa
Replace the open coded version with one that avoids
allocation and is O(n*log(n)) instead of O(n*2)

--HG--
extra : rebase_source : 9d8de6089bc9fa74ba4b60c3eb3ccf3b3235ad54
2014-05-31 00:39:18 -04:00
Victor Porof
5643294005 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Botond Ballo
e24dcd4aaa Bug 1016573 - Put logging of APZ test data behind a pref. r=kats 2014-05-29 12:51:28 -04:00
Masatoshi Kimura
16cb0cff34 Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
Jonathan Kew
4216251038 bug 985220: remove the old GDI, Uniscribe and DWrite text-shaping code paths, as we now use HarfBuzz or Graphite for all shaping on Windows. r=jdaggett 2014-03-19 12:27:44 +00:00
Jonathan Kew
6de602a2b3 bug 998844 - part 5 - support bundled fonts on Windows/DWrite. r=bas 2014-05-29 13:01:07 +01:00
Jonathan Kew
f7e29b916f bug 998844 - part 4 - support bundled fonts on desktop Linux. r=jdaggett 2014-05-29 13:01:03 +01:00
Jonathan Kew
f1fbbc830c bug 998844 - part 3 - support bundled fonts on Windows/GDI. r=jdaggett 2014-05-29 13:00:59 +01:00
Jonathan Kew
11c49da364 bug 998844 - part 2 - support bundled fonts on OS X. r=jdaggett 2014-05-29 13:00:55 +01:00
Jonathan Kew
4355cc9848 bug 458634 part 2 - use 'smcp' feature in Graphite fonts if available. r=jdaggett 2014-05-28 11:35:14 +01:00
Jonathan Kew
65d2b0d641 bug 458634 part 1 - use OpenType 'smcp' feature to implement small-caps if available in the font. r=jdaggett 2014-05-28 11:35:12 +01:00
Matt Woodrow
752c016683 Bug 1003707 - Implement GetSize for recording surface created by windows printing. r=Bas 2014-05-28 12:59:10 +12:00
Kartikaya Gupta
9bb0df30f2 Bug 949859 - When calculating fling velocity, ignore timestamps that are too old. r=botond 2014-05-27 11:45:03 -04:00
Neil Rashbrook
9cfd58c16f Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
Relading with correct bug number so DONTBUILD.

--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
f3421c776b Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Birunthan Mohanathas
f9b1b35c3e Bug 869836 - Part 11: Use Append('c') instead of AppendLiteral("c"). r=ehsan
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00