Commit Graph

74 Commits

Author SHA1 Message Date
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
Jonathan Kew
ed70d32dd5 bug 1018551 - clean up redundancy in the font/shaper code. r=jdaggett 2014-06-02 07:51:34 +01:00
Masatoshi Kimura
16cb0cff34 Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame 2014-05-31 15:11:29 +09:00
John Daggett
d2eabfb3b5 Bug 1007013 - remove gfxFT2FontGroup. r=mkato 2014-05-08 11:33:29 +09:00
Frédéric Wang
a8464ba408 Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame 2014-04-23 06:57:42 -07:00
Ryan VanderMeulen
e50ce58691 Backed out 5 changesets (bug 407059) for reftest asserts.
Backed out changeset 21fee1261f2e (bug 407059)
Backed out changeset c940a2d399c4 (bug 407059)
Backed out changeset 77593dd1b044 (bug 407059)
Backed out changeset cfcbc731d4db (bug 407059)
Backed out changeset d8244f3ecdcb (bug 407059)
2014-04-22 11:00:13 -04:00
Frédéric Wang
d577ebba69 Bug 407059 - Part 4: Use gfxHarfbuzzShaper::GetGlyphHAdvance() for math operators. r=jfkthame 2014-04-22 08:44:04 -04:00
Benoit Jacob
3a7886f0e9 Bug 958375 - 7/9 - Make Font-related enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Ehsan Akhgari
ebd358dfd7 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
Nicholas Nethercote
440791afd0 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
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
Jonathan Kew
716dfd6e48 bug 880818 - check for failure when creating the cairo_scaled_font in gfxFT2Font::GetOrMakeFont. r=jdaggett 2013-08-09 09:51:51 +01:00
Birunthan Mohanathas
573d76ec6d Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan 2013-07-31 11:44:31 -04:00
George Wright
3cc9485feb Bug 736276 - Rename ScaledFontFreeType to ScaledFontCairo, and use Skia's API to create an SkTypeface from a cairo_scaled_font_t r=jrmuizel 2013-06-05 13:48:59 -04: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
Aryeh Gregor
18866d81dc Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Jonathan Kew
696cf350b6 bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted 2013-02-22 16:52:20 +00:00
Daniel Holbert
74901ab44c Bug 832554: Add #ifdef guards around static functions in /gfx/thebes that aren't used on android, to fix android-only -Wunused-function build warnings. r=BenWa a=nonlibxul 2013-01-21 13:54:42 -08: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
Nathan Froyd
bd55a07f0e Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Koosha Khajeh Moogahi
8d39310f18 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
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
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Martin Stransky
ddc356125d Bug 627699 - Port GTK2 to GTK3, gfx patch. r=karlt 2012-06-27 20:15:32 -04:00
Jonathan Kew
4a2a8d0ba4 bug 754243 - explicitly select Unicode charmap for Freetype face. r=jdaggett 2012-05-21 22:09:54 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ms2ger
b313aff15a No bug - Remove gfxAtoms; r=roc 2012-03-29 23:08:43 +02:00
Jonathan Kew
8a54d3120f bug 688125 - part 2 - add memory reporting for fonts in the gfxFontCache. r=njn 2012-03-23 12:14:16 +00:00
Jonathan Kew
f7a9f13e00 bug 721719 - try Roboto as well as Droid Sans for fallback on Android. r=jdaggett 2012-03-17 09:39:09 +00:00
John Daggett
1a9f033e9b Bug 705594. Implement hard-coded font fallback. r=roc 2012-03-09 11:05:24 +09:00
Jonathan Kew
d4399166e5 bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Jonathan Kew
eb56c38e23 bug 707959 - followup, move font cache telemetry into gfxFontCache::Lookup. r=roc 2012-02-15 10:17:25 +00:00
John Daggett
ad926a3cef Bug 707959. Add word cache and font cache telemetry probes. r=roc 2012-02-15 15:37:48 +09:00
Chris Jones
762943321d Bug 725240: Re-enable hinting on 'mobile' when non-reflowing-zoom isn't going to be used. r=jfkthame 2012-02-08 14:52:57 -08:00
Jonathan Kew
ccc9f44ded bug 703100 - pt 2.5 - adapt Android/FT2 font code to work with gfxShapedWord caches. r=roc 2011-12-06 12:39:19 +00:00
Jonathan Kew
164f1ffdde bug 631479 (part 4) - implement gfxGraphiteShaper to handle text-shaping for graphite-enabled fonts. r=jdaggett 2011-12-09 22:32:29 +00:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Jonathan Kew
4661532843 bug 684889 pt2 - move and rename FontFamily/Entry classes from gfxFT2Fonts to gfxFT2FontList source file. r=jdaggett 2011-09-23 12:16:13 +01:00
Jonathan Kew
1f9c88fc75 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 12:15:36 +01:00
Ed Morley
69df3bc60b Backout changeset 864c08bd7c63 (bug 684889) for Android bustage 2011-09-23 10:36:16 +01:00
Ed Morley
8bd144e7d9 Backout changeset f4b1fa7a0f31 (bug 684889) for Android bustage 2011-09-23 10:34:42 +01:00
Jonathan Kew
410af68cbb bug 684889 pt2 - move and rename FontFamily/Entry classes from gfxFT2Fonts to gfxFT2FontList source file. r=jdaggett 2011-09-23 09:53:41 +01:00
Jonathan Kew
66391fedb7 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 09:53:13 +01:00
Jonathan Kew
b3bc1a2f7c bug 674909 - make synthetic bolding proportionate to font size and zoom. r=jdaggett 2011-09-02 21:18:25 +01:00