Граф коммитов

51 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew bf3682b987 bug 844669 pt 2 - use a transient FT_Face to read font tables such as cmap, if the font entry does not already have an existing face. r=blassey 2013-03-04 17:03:14 +00:00
Jonathan Kew dd8ab1d754 bug 844669 pt 1 - don't keep freetype faces for all fonts around after building the font list on first-run. r=blassey 2013-03-04 17:03:11 +00:00
Daniel Holbert ccd07c99a7 Bug 833066: Declare loop variable in gfxFT2FontList.cpp as 'size_t' instead of 'int', to fix signed/unsigned warnings. r=blassey a=nonlibxul (#ifdef-android code) 2013-01-22 00:04:39 -08:00
Jonathan Kew d8a1d9e121 bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones 2013-01-15 15:19:28 +00:00
Ed Morley 1ecfd9cba4 Backout d533ba255bbb (bug 829523) for reftest failures on a CLOSED TREE 2013-01-15 14:33:51 +00:00
Jonathan Kew 2c30c14aae bug 829523 - disable font hinting on b2g, but retain pixel-snapped metrics except in the browser app. r=cjones 2013-01-15 09:06:47 +00:00
Jonathan Kew a03d1dc724 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
Jonathan Kew a0edfcb37c bug 822048 - use a /fonts/ subdir for any locally-added fonts stored in the profile. r=blassey 2012-12-18 11:18:56 +00:00
Jonathan Kew a294160dcc 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
Brad Lassey 3a50e711e7 bug 798826 - crash in gfxFT2FontList::FindFonts @ mozilla::scache::StartupCache::WaitOnWriteThread, speculative null check r=jfkthame 2012-11-01 09:31:58 -04:00
Nathan Froyd 4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Ehsan Akhgari 058aa73640 Bug 579517 follow-up: Remove NSPR types that crept in 2012-10-07 18:26:08 -04:00
Brad Lassey ff24302a19 bug 785291 - Add support to load fonts from an APK, extract fonts from APK r=jfkthame 2012-10-03 12:29:10 -07:00
Brad Lassey 9c2bbfd1ce bug 785291 - Add support to load fonts from an APK, search for fonts in res/fonts r=jfkthame 2012-10-03 12:28:43 -07:00
Jonathan Kew 2039350c84 bug 619521 pt 2 - load fonts from the current profile as well as the Android system fonts. r=jdagget 2012-10-03 12:27:25 -07:00
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari e368dc9c85 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 d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jonathan Kew dc6c283e2e backout changeset d9d5d1bd766c (bug 769194) because of crashiness. 2012-07-09 22:47:48 +01:00
Jonathan Kew a3f6b9f448 bug 769194 - support src:local(...) in @font-face rules on Android/FT2FontList. r=jdaggett 2012-06-29 12:39:44 +01:00
Jonathan Kew 41d102520b bug 766326 - try Roboto as well as Droid Sans for Android default font. r=blassey 2012-06-21 07:45:55 +01:00
Jonathan Kew 49eae009af bug 758257 - work around broken fonts on android when using cached font list as well as when first reading the list. r=jdaggett 2012-05-25 15:03:42 +01:00
Jonathan Kew e0db93c657 bug 757871 - don't generate warnings from FT2FontEntry::GetFontTable during normal control flow. r=jdaggett 2012-05-24 09:16:01 +01:00
Jonathan Kew 17d841d068 bug 737315 - use the proxy's name for the FT2 entry when instantiating a downloaded font. r=jdaggett 2012-05-24 09:15:54 +01:00
Jonathan Kew e76a617c73 bug 754243 - explicitly select Unicode charmap for Freetype face. r=jdaggett 2012-05-21 22:09:54 +01:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Kew d7aee42d5b bug 706888 - ignore GSUB in broken version of Droid Sans Arabic. r=jdaggett 2012-04-26 20:06:52 +01:00
John Daggett ed5cb19215 Bug 710727. Share cmaps across all fonts. r=jkew, a=tracking-firefox 2012-04-19 08:59:43 +09:00
John Daggett 61265580b9 Bug 710727. Revert shared cmap patch due to reftest/mochitest-4 failures on Win7. a=bustage 2012-04-09 22:03:28 +09:00
John Daggett 1e5af79b2e Bug 710727. Share cmaps across all fonts. r=jkew 2012-04-09 13:31:55 +09:00
Jonathan Kew 402c1e42cf bug 688125 - part 1 - add memory reporting for the platform font list. r=njn 2012-03-27 14:38:39 -07:00
Jonathan Kew 04aa7ad2df bug 721719 - ignore the GSUB table in Roboto on Android because of bad ligature rule. r=jdaggett 2012-03-17 09:38:42 +00:00
Jonathan Kew f28a975637 bug 735583 - eliminate font constant synonyms and use the standard forms everywhere. r=jdaggett 2012-03-15 09:04:46 +00:00
Chris Jones b560fc0e45 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
Ehsan Akhgari 92064e6d3f 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
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu d2b70213ac 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 df3d15fb66 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 e49f481662 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 12:15:36 +01:00
Ed Morley 217b4fdcc5 Backout changeset 864c08bd7c63 (bug 684889) for Android bustage 2011-09-23 10:36:16 +01:00
Ed Morley 9574142620 Backout changeset f4b1fa7a0f31 (bug 684889) for Android bustage 2011-09-23 10:34:42 +01:00
Jonathan Kew aea605536d 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 1d2932c2c0 bug 684889 - refactor and clean up Android font-list implementation. r=jdaggett 2011-09-23 09:53:13 +01:00
Neil Rashbrook e626e8ff0c Bug 611503 Constructing an nsTDependentString from an nsTAString makes no sense r=dbaron,dwitte 2011-09-15 08:40:17 +01:00
Atul Aggarwal fd4f379019 Bug 678785 - resource leak (not closed directory) in gfx/thebes/gfxFT2FontList.cpp. r=jdaggett 2011-09-02 02:22:28 +05:30
John Daggett 2f2819271d Bug 551313. Workaround synthetic Gill Sans family when DirectWrite is used. r=jkew, a=joedrew 2011-01-27 12:05:55 +09:00
Jonathan Kew 9cd1f7a88f bug 594865 - fall back to GDI rendering on dwrite font list failure. r=bas a=blocking2.0 2010-11-08 11:02:27 +00:00
Brad Lassey 3495a1c15f bug 571767 - @font-face is not working on Android r=jdagget b=fennec2.0 2010-07-16 02:03:45 -04:00