Ehsan Akhgari
4b12513f89
Bug 969866 - Use fallible allocations in some places in our font/text shaping code; r=jfkthame
...
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-08 13:10:07 -05:00
Frédéric Wang
e272dd0b19
Part 5 - Remove MOZ_OTS_REPORT_ERRORS, whitelist Graphite/SVG tables and use SetMessageCallback. b=941019, r=jfkthame.
2014-01-31 15:09:20 +00:00
Ehsan Akhgari
1b83407ce9
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
Phil Ringnalda
022d398c91
Back out d280a1c64f76 (bug 939585) for Mac build bustage
...
CLOSED TREE
2013-11-24 18:02:14 -08:00
Benoit Girard
49ae528201
Bug 939585 - Build gfx/thebes in unified mode. r=ehsan,bjacob
2013-11-21 14:22:45 -05:00
Ehsan Akhgari
eff9a278ad
Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
...
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
John Daggett
f751ca2a58
Bug 838105 - add debug logging code for userfont cache. r=birtles
2013-09-19 10:56:49 +09:00
Jonathan Kew
bdfea7f41f
Bug 838105 - don't rely on key lookup to remove items from the user font cache, as the principal could have changed. r=jdaggett
2013-09-18 11:48:38 +01:00
Jonathan Kew
757c2d5ea1
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
Robert O'Callahan
03e7828db2
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
964fc5670a
bug 879963 - preserve in-progress font loaders when updating the user font set, and avoid adding duplicate face entries to a user font family. r=dbaron,jdaggett
2013-08-12 10:07:55 +01:00
Birunthan Mohanathas
c742394e75
Bug 784739 - Switch from NULL to nullptr in gfx/thebes/; r=ehsan
2013-07-31 11:44:31 -04:00
Jonathan Kew
510c284680
backout bug 879963 (changesets 4a3befee43f1, 09c9359bdd43, 32ffcd6db605) due to Nightly crashiness, see bug 896200.
2013-07-23 09:38:57 +01:00
Jonathan Kew
50ab64699b
bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron
2013-07-17 12:53:31 +01:00
Ehsan Akhgari
192bc42d5e
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Jonathan Kew
e18800113e
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
64135bae96
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
f2868384ce
bug 874349 - cached webfonts that were loaded in private browsing mode should not leak out to normal windows. r=ehsan,roc
2013-05-22 14:42:30 +08:00
Jonathan Kew
a80c470dd2
bug 862222 pt 2 - empty the webfont cache in response to cacheservice:empty-cache notification. r=roc
2013-05-22 12:39:47 +08:00
Jonathan Kew
224eec2ee6
bug 862222 pt 1 - bypass the webfont cache when force-reloading the page. r=roc
2013-05-22 12:39:39 +08:00
John Daggett
3cb7865e73
Bug 856784 - null-check mUserFontData before use. r=jkew
2013-04-03 11:01:41 +09:00
Jonathan Kew
c8a9d651b2
bug 844133 - eliminate the MOZ_GRAPHITE configure option. r=ted
2013-02-22 16:52:20 +00:00
John Daggett
74c397a0f6
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
Jonathan Kew
f752845e1e
bug 833283 - remove the option to bypass OTS for downloaded fonts. r=jdaggett
2013-01-23 16:41:18 +00:00
Jonathan Kew
b366d014bc
bug 826288 - remove the obsolete aFamily parameter from gfxFontEntry constructor. r=roc
2013-01-04 14:01:44 +00:00
Jonathan Kew
531d3c6676
bug 825504 - fix gfxPangoFontGroup::FindFamilyNameAt for user fonts, to resolve MathML fonts breakage. r=roc
2013-01-02 22:27:49 +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
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
Andrew Quartey
d21a5d8004
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -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
Andrew Quartey
ceaa3c8f60
Bug 792581 - part 9: Replace LL_ADD with mathematical plus operator. r=ehsan
2012-10-05 01:05:27 -04:00
Andrew Quartey
816b3752e7
Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:18 -04: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
02f1aeb65f
bug 670901 pt 3 - add OTS message callback and enable error reporting in our build. r=jdaggett
2012-05-29 23:44:50 +01:00
Doug Turner
d19adf44a5
backout 664a8855fde5
2012-05-29 17:39:53 -07:00
Jonathan Kew
3340060c7b
bug 670901 pt 3 - add OTS message callback and enable error reporting in our build. r=jdaggett
2012-05-29 23:44:50 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jonathan Kew
248ae5fed9
bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett
2012-04-26 18:50:41 +01:00
Jonathan Kew
9fa44a2247
bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett
2012-04-26 18:48:05 +01:00
Ed Morley
55e83a7ae7
Backout 476998cbd69f & f8654d020b1a (bug 739858) for compilation failures
2012-04-26 19:09:20 +01:00
Jonathan Kew
a39295d6c1
bug 739858 - cancel any in-progress loaders for @font-face rules that have been discarded when the font set is updated. r=jdaggett
2012-04-26 18:50:41 +01:00
Jonathan Kew
822c0d1ccc
bug 739858 - don't try to actually load a font if the proxy has been detached from its family. r=jdaggett
2012-04-26 18:48:05 +01:00
John Daggett
4984947d00
Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron
2012-04-26 15:24:26 +09:00
Veeraya Pupatwibul
344b2b1753
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
John Daggett
f6d4d913cf
Bug 512566. Changes based on review comments. r=bz,jfkthame
2012-03-16 12:31:01 +09:00
John Daggett
5da6046d35
Bug 512566. Load font data url's synchronously, gfx changes. r=jfkthame
2012-03-16 12:31:01 +09: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
John Daggett
da54d7e9aa
Bug 705594. Fixup of intra-family fallback code. r=jfkthame
2012-03-09 11:05:33 +09:00