Commit Graph

201 Commits

Author SHA1 Message Date
Nicholas Nethercote
b9e0d05f7e Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Nicholas Nethercote
73046bbae3 Bug 921923 (part 4) - Make multi-output sizeOfFoo() functions more consistent in gfx/thebes/. r=jkew.
--HG--
extra : rebase_source : 02ddce0e34ec6619fcaf92aa30addc77bdd8b80f
2013-10-14 19:19:47 -07:00
Ehsan Akhgari
a23cd291d5 Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Ehsan Akhgari
4f0b573862 Bug 921753 - Part 4: Move DrawMode outside of gfxFont.h so that we won't need to #include that header everywhere DrawMode is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1268 to 1208.
2013-10-01 17:02:16 -04:00
Jonathan Kew
5e36097915 bug 871961 pt 4 - on xpcom-shutdown notification, release any SVG-glyphs documents held by fonts. r=roc 2013-05-22 23:48:55 +08:00
Jonathan Kew
c50aef4844 bug 916048 - SVG-in-OpenType glyphs should use the font's unitsPerEm value. r=roc 2013-09-14 12:40:57 +01:00
Edwin Flores
d13a612d57 Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Ryan VanderMeulen
5b3f98f172 Backed out changesets 6c097bdfc079, 51f5d900cd27, 9fdf99c07466, and b322938b37ef (bug 798843) due to intermittent Windows test failures. 2013-09-13 11:15:54 -04:00
Robert O'Callahan
82ad22f4ba Bug 906643. Part 7: Hook up animation support for gfxSVGGlyphs. r=jfkthame
There's a few things mashed together in this patch:
-- Enable animations in glyph documents
-- Make gfxSVGGlyphsDocument monitor the document's refresh driver to detect
updates
-- Forward updates to the gfxFontEntry
2013-08-20 01:08:45 +12:00
Robert O'Callahan
4e461c3ef8 Bug 906643. Part 6: Add gfxFontEntry::NotifyGlyphsChanged, which calls new gfxFont::NotifyGlyphsChanged, which calls new gfxGlyphExtents::NotifyGlyphsChanged; these methods flush out existing glyph extents and notify all affected gfxUserFontGroups of the glyph changes. r=jfkthame 2013-08-20 01:08:45 +12:00
Robert O'Callahan
9c9bff08be Bug 906643. Part 5.2: Add gfxFont::GlyphChangeObserver. r=jfkthame 2013-09-02 16:30:10 +12:00
Robert O'Callahan
9804f8ec87 Bug 906643. Part 4: Make each gfxFontEntry track its gfxFonts with SVG glyphs. r=jfkthame
--HG--
extra : rebase_source : cd2cbdc8f6722e71f523c3fbe19e515a0e44f043
2013-08-20 01:08:44 +12:00
Edwin Flores
a6a7666b83 Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc 2013-05-16 14:35:12 +12:00
Nicholas Nethercote
fd238cabbe Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
John Daggett
b3764b73eb Bug 901845 - add a pref to specify the length limit of words in word caches. r=jfkthame 2013-09-11 10:36:57 +09:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
3914af6be4 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
86b7ae4c3a Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Jonathan Kew
e9d8d271dd bug 910376 - don't risk leaving mSharedBlobData uninitialized. r=karlt 2013-09-04 10:01:57 +01:00
Justin Lebar
c7f8e10a8a Bug 909977 - Rename mozilla::Move to mozilla::OldMove, and make mozilla::Move a synonym for std::move(). r=waldo
--HG--
extra : rebase_source : 7b3bb02cc8cbc0ad6721c6c3895564d9567b8ddb
2013-08-29 11:54:14 -07:00
Birunthan Mohanathas
186d1e17e2 Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan 2013-07-31 11:44:31 -04:00
John Daggett
bed3fbfbd2 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Jonathan Kew
cde5e625bc bug 878674 - pt 1 - load Fennec bundled fonts directly from omnijar without copying them out to the filesystem. r=roc 2013-06-25 09:14:03 +01:00
Ed Morley
e68d70b967 Backed out changeset 8284007baae4 (bug 878674) for Android startup java exceptions 2013-06-25 11:26:00 +01:00
Jonathan Kew
d3da72928e bug 878674 - pt 1 - load Fennec bundled fonts directly from omnijar without copying them out to the filesystem. r=roc 2013-06-25 09:14:03 +01:00
Catalin Iacob
83b78343dc Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Jeff Gilbert
028ad03f99 Bug 877382 - Remove THEBES_API decorator. - r=BenWa 2013-05-29 14:59:24 -07:00
Jonathan Kew
4131e1e140 backout changesets d8f3694dd6df (bug 871961 pt 2) and b77d5e403c3d (bug 871961 pt 4) for making the browser crashy. r=me 2013-05-25 21:06:59 +08:00
Jonathan Kew
e3e7dd0c6c bug 871961 pt 4 - on xpcom-shutdown notification, release any SVG-glyphs documents held by fonts. r=roc 2013-05-22 23:48:55 +08:00
Jonathan Kew
1b6d3e5fef bug 874053 - ReadCMAP() must not leave the font entry's mCharacterMap pointer NULL, even if cmap table can't be read. r=roc 2013-05-21 12:25:47 +08:00
Jonathan Kew
1ecd77525b bug 847344 - refactor gfxFont/gfxFontEntry and associated classes for more efficient use of HarfBuzz and Graphite shaper APIs. r=roc 2013-05-16 17:29:20 +01:00
John Daggett
aa507d8c18 Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey 2013-05-20 11:59:20 +09:00
Ms2ger
e0c18984a5 Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review. 2013-05-19 20:23:19 +02:00
John Daggett
00a68469c0 Bug 549861. Trim out kerning from gfxFontStyle. r=jkew 2013-05-13 18:45:38 +09:00
John Daggett
c18a21b5f6 Bug 549861. Implement gfx support for font-variant-alternates. r=jkew 2013-05-13 18:45:37 +09:00
John Daggett
01200ec056 Bug 549861. Implement rendering support for simple font-variant properties. r=jkew 2013-05-13 18:45:36 +09:00
Nathan Froyd
8eeb78adb2 Bug 863264 - delete pointless initialization of mBoundingBox in gfxFont::RunMetrics constructor; r=BenWa 2013-04-29 15:52:27 -04:00
John Daggett
3671aea0ee Bug 761442 - treat substitution and positioning lookups involving <space> differently. r=jkew 2013-04-11 22:49:58 +09:00
Jonathan Kew
8ac82223b3 Bug 761442 - don't use per-word shaping with fonts that use <space> in opentype lookups. r=jdaggett 2013-01-08 14:38:48 +00:00
Joshua Cranmer
c992967d69 Bug 767563 - Add a clang static checker, part 3: Move the MOZ_MUST_OVERRIDE macro to MFBT. r=Waldo 2013-03-23 21:14:43 -05:00
Jonathan Kew
f472b6c67c bug 840431 - cache an ellipsis textrun on gfxFontGroup, to minimize perf overhead due to text-overflow. r=roc 2013-03-08 10:41:31 +00:00
Jonathan Kew
635ab4f46c bug 728436 - make synthetic bolding less severe at large sizes. r=jdaggett 2012-10-29 13:43:17 +00:00
Jonathan Kew
941b182708 bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted 2013-02-22 16:52:20 +00:00
Jonathan Kew
54a3ee7cad bug 843588 - font table cache management should not rely on hashtable entry pointers remaining valid. r=karlt 2013-02-22 13:14:33 +00:00
John Daggett
d043403e24 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
Cameron McCormack
0335ceedb4 Bug 655877 - Part 46: Paint SVG glyphs with new SVG text frame. r=roc,jwatt 2013-02-11 17:22:20 +11:00
Daniel Holbert
d41b08e0f2 Bug 832440: Fix inconsistency on appUnitsPerDevPixels's signedness in gfxFont and its clients by converting all instances to be signed. r=jfkthame 2013-01-28 11:01:59 -08:00
Mats Palmgren
d5826be6d7 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
Cameron McCormack
b8c8bf6c2c Bug 828805 - Implement SVG paint-order property. r=bz,roc 2013-01-13 10:27:53 +11:00
Jonathan Kew
aeb7ef0c8b bug 825875 - shape long words directly into the textrun instead of using word caching. r=roc 2013-01-04 18:35:37 +00:00