Ryan VanderMeulen
eda259c9c3
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
460e6ce169
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
4835657f13
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
59824dd0cf
Bug 906643. Part 5.2: Add gfxFont::GlyphChangeObserver. r=jfkthame
2013-09-02 16:30:10 +12:00
Robert O'Callahan
967306e246
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
4e93f109ae
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
9d1d4e73b0
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
900e923024
Bug 901845 - add a pref to specify the max entries in a word cache. r=jfkthame
2013-09-11 10:36:57 +09:00
John Daggett
31eb11a789
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
33cdb42706
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
ad36ee41a9
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
43ad5b4dcf
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
438bf47623
bug 906646 - glyphs with an SVG representation should never be considered "contained". r=roc
2013-09-04 12:16:36 +01:00
John Daggett
b3f0ec2b86
Bug 911884 - log 8-bit textruns as well as 16-bit ones. r=mkato
2013-09-03 12:42:20 +09:00
John Daggett
fd686e7377
Bug 906704 - fix infinite loop drawing rotated synthetic bold text. r=jrmuizel
2013-08-28 08:36:02 +09:00
Robert O'Callahan
2c53164bc5
Bug 906521. Part 1: Remove support for 'glyphchar' since it's no longer in the spec. r=jfkthame
...
--HG--
extra : rebase_source : 1d694f6e8579b20dbbe5c5d02411f078d7c67a83
2013-08-20 01:08:43 +12:00
Birunthan Mohanathas
573d76ec6d
Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan
2013-07-31 11:44:31 -04:00
John Daggett
b439b6e590
Bug 857142 - implement -moz-font-smoothing. r=dbaron
2013-07-30 05:00:41 +09:00
Markus Stange
b74ce7787c
Bug 894957 - Don't attempt to draw transparent text. r=roc
2013-07-18 08:36:05 +02:00
Jonathan Kew
62b86193e4
bug 889365 - re-enable timed expiration of shaped word cache entries. r=roc
2013-07-03 12:36:58 +01:00
Jonathan Kew
3cd852181b
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
56cd4d45f3
Backed out changeset 8284007baae4 (bug 878674) for Android startup java exceptions
2013-06-25 11:26:00 +01:00
Jonathan Kew
b606d6d74d
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
4f03e5bb1a
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
Jonathan Kew
3cd56434ca
bug 866033 - eliminate redundant function gfxFontUtils::CharRangeBit() and its supporting data. r=jdaggett
2013-06-12 13:08:53 +01:00
Jonathan Kew
f092eb387c
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
0980c2cd57
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
5088360b94
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
18ea34f1e4
Bug 549861 - reland font-variant subproperties with DOM-peer review. r=khuey
2013-05-20 11:59:20 +09:00
Ms2ger
1bc3a7f29b
Merge backout.
2013-05-19 20:26:58 +02:00
Ms2ger
c80e8cd5c6
Backout bug 549861 (changesets 27fb48df15ce:7ecd4e3863b4) for insufficient review.
2013-05-19 20:23:19 +02:00
Ms2ger
8113dfced0
Backout changeset 0a6d36fc3749 for conflicting with the backout of bug 549861.
2013-05-19 20:22:17 +02:00
John Daggett
46d5a31f16
Bug 549861. Trim out kerning from gfxFontStyle. r=jkew
2013-05-13 18:45:38 +09:00
John Daggett
c580f1c701
Bug 549861. Implement gfx support for font-variant-alternates. r=jkew
2013-05-13 18:45:37 +09:00
John Daggett
353ac539b0
Bug 549861. Implement rendering support for simple font-variant properties. r=jkew
2013-05-13 18:45:36 +09:00
Nathan Froyd
eba34f22d7
Bug 858131 - rewrite FloatingPoint.h to be C++-only instead of C-compatible C++; r+original-author=Waldo
2013-05-01 16:55:13 -04:00
Jonathan Kew
22ceafa442
bug 847344 - refactor gfxFont/gfxFontEntry and associated classes for more efficient use of HarfBuzz and Graphite shaper APIs. r=roc
2013-05-16 17:32:41 +01:00
Jonathan Kew
122f7145c1
bug 871961 pt 1 - handle on-the-fly changes to the gfx.font_rendering.opentype_svg.enabled preference setting. r=roc
2013-05-16 17:32:41 +01:00
Phil Ringnalda
2cef52d052
Back out 4d755ea39a56:81d152795bea (bug 798843) for style mochitest failures
2013-05-15 20:53:30 -07:00
Edwin Flores
6dd45bbf3d
Bug 798843 - Replace instances of 'object' with 'context' to match change in CSS values r=roc
2013-05-16 14:35:12 +12:00
Aryeh Gregor
659b807986
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Nicholas Nethercote
f5378cec64
Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
...
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
John Daggett
72ff1aa5bc
Bug 761442 - treat substitution and positioning lookups involving <space> differently. r=jkew
2013-04-11 22:49:58 +09:00
Jonathan Kew
64b1171f3c
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
Benoit Girard
fc10a7cfe4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Ed Morley
b2109c458f
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Jeff Walden
cc0ac55d6b
Bug 847480 - Convert DeprecatedAbs overloads taking floating point (except for nscoord uses, when nscoord is optionally a floating point type) to Abs. r=Ms2ger
2013-03-05 15:43:44 -08:00
Jeff Walden
0bfefb7eed
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Jonathan Kew
4bb4065eea
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
Jeff Walden
bf23cd54f1
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
John Daggett
0f0f1ebcfe
Bug 846215 - separate content and chrome word cache metrics. r=taras
2013-03-04 15:57:08 +09:00
Jonathan Kew
696cf350b6
bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted
2013-02-22 16:52:20 +00:00
Jonathan Kew
110efd96e8
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
ab79904666
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
Oleg Romashin
bc407f6b23
Bug 840869 - division-by-zero possible in gfxFont::Draw when mAdjusted == 0.0 r=bas.schouten
2013-02-17 10:24:55 -08:00
Cameron McCormack
f78e8bacaa
Bug 655877 - Part 46: Paint SVG glyphs with new SVG text frame. r=roc,jwatt
2013-02-11 17:22:20 +11:00
Jonathan Kew
9c82787fd4
bug 808299 - scale missing-glyph hexbox digits depending on device resolution and zoom. r=roc
2013-02-07 00:19:46 +00:00
Daniel Holbert
9a053a440f
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
6c53161814
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
572084f298
Bug 828805 - Implement SVG paint-order property. r=bz,roc
2013-01-13 10:27:53 +11:00
Jonathan Kew
e1c4d87f24
bug 825875 - shape long words directly into the textrun instead of using word caching. r=roc
2013-01-04 18:35:37 +00:00
Jonathan Kew
c83f05e1ca
bug 825871 - refactor gfxTextRun and gfxShapedWord to share a common abstract base class (gfxShapedText) and shaping interface. r=roc
2013-01-04 18:35:37 +00:00
Nicholas Nethercote
acc80a9abd
Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
...
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Jonathan Kew
9e140898be
bug 821442 - eliminate the unreliable mFamily back-pointer in gfxFontEntry, and instead pass/track font family explicitly where needed. r=roc
2012-12-19 09:42:25 +00:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Jonathan Kew
987928ac67
bug 816483 - cache instantiated user fonts and share them across pages that use the same resources. r=roc
2012-12-10 09:31:07 +00:00
Mats Palmgren
60ccae9fe3
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Bas Schouten
bf4c845d16
Bug 814101: Respect system-wide cleartype setting. r=jrmuizel,jfkthame
2012-11-23 02:53:12 +01:00
Jacek Szpot
0b35b0e3d8
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Mats Palmgren
8b20f6f589
Bug 798853, gfx. r=roc
2012-10-22 15:53:31 +02:00
Jonathan Kew
02be153e3c
Bug 799062 - eliminate "warning: '&&' within '||'" messages in gfxFont.cpp. r=bas
2012-10-09 13:11:20 +01:00
Ms2ger
8c3cbade76
Bug 793314 - Remove PtrBits; r=mounir,roc
2012-10-02 10:24:11 +02:00
Ehsan Akhgari
1d1ec4e105
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-28 14:56:27 -04:00
Isaac Aggrey
997db4d142
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Phil Ringnalda
fd1e5a6cf0
Back out 519f41fa596f (bug 793408) for Windows build bustage on a CLOSED TREE
2012-09-27 14:38:23 -07:00
Ehsan Akhgari
7c8cbb6a5f
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-22 11:34:22 -04:00
Ehsan Akhgari
52ace62039
Backout changeset 24f4f77fba76 (bug 793408) because of broken builds on a CLOSED TREE
2012-09-27 10:24:08 -04:00
Ehsan Akhgari
823f39644b
Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel
2012-09-22 11:34:22 -04:00
Bas Schouten
cf4260a23c
Bug 792207 - Part 1: Retain ScaledFont objects for gfxFonts. r=jrmuizel
2012-09-24 15:02:49 +00:00
Robert O'Callahan
13041e1a84
Bug 772726. Part 13: Fix handling of transforms in gfxTextObjectPaint. r=eflores,jwatt
...
gfxTextObjectPaint::GetFillPattern/GetStrokePattern should take the destination's CTM
as a parameter in order to set up the pattern matrix correctly, since the pattern matrix
is combined with the CTM by cairo/Thebes --- but we want the pattern rendering to be
independendt of the CTM, instead depending only on the TM set up when we initialized
the gfxTextObjectPaint.
We make SVGTextObjectPaint store matrices that map device space to pattern space.
2012-09-12 17:13:12 +12:00
Edwin Flores
02666f50da
Bug 719286 - Fix SVG glyphs to work with Azure r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
824a6c3acd
Bug 719286 - Support new OpenType-in-SVG table format r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
8e909b227f
Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc
2012-09-06 16:58:47 +12:00
Edwin Flores
06c8be815b
Bug 719286 - Include SVG glyphs when calculating glyph extents r=jfkthame
2012-09-06 16:58:46 +12:00
Edwin Flores
67581ebf40
Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc
2012-09-06 16:58:46 +12:00
Edwin Flores
fe9a9803ab
Bug 719286 - Basic OpenType SVG functionality r=roc
2012-09-06 16:57:54 +12:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Cameron McCormack
8ca4399553
Bug 655877 - Part 25: Give gfxTextRuns the ability to invoke a callback after painting glyphs and partial ligatures. r=roc
2012-08-08 21:37:12 +10:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Nicholas Cameron
bd97a63e70
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Nicholas Cameron
34ba57113f
Back out bug 746883, bug 764125, bug 761895, bug 746883, bug 748116
2012-07-26 18:48:24 +12:00
Nicholas Cameron
20c50817cb
Bug 764125; Add DrawTarget arg to GetScaledFontForFont. r=Bas
2012-07-24 22:18:37 +12:00
Jonathan Kew
ca01c7a551
bug 769475 - incorrect font used for italicized Arabic text when font-family is Arial or Times New Roman. r=smontagu
2012-07-23 03:48:26 -04:00
Ed Morley
a7ac1e9692
Backout 07cd3d70434c & 9be67e1a7b4f (bug 769475) for failures in arial-arabic.html
2012-07-23 11:01:59 +01:00
Jonathan Kew
cfbd46e324
bug 769475 - incorrect font used for italicized Arabic text when font-family is Arial or Times New Roman. r=smontagu
2012-07-23 03:48:26 -04:00