Commit Graph

35 Commits

Author SHA1 Message Date
Ehsan Akhgari
eaa7491d77 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
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
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
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
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
Ehsan Akhgari
dc804b0ed5 Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Kyle Huey
b967782465 Bug 909563: Part 3 - Rename nsDOMParser and drop Bindings.conf annotations. r=bz
--HG--
rename : content/base/src/nsDOMParser.cpp => content/base/src/DOMParser.cpp
rename : content/base/src/nsDOMParser.h => content/base/src/DOMParser.h
2013-08-30 10:16:32 -07:00
Edwin Flores
37cb83eb09 Bug 801467 - Give SVG glyph documents a legitimate principal and URI so that references to paint servers are able to be resolved. r=roc,bz 2013-06-10 13:25:12 +01:00
Robert O'Callahan
8bdab20fd7 Bug 906521. Part 6: Make gfxSVGGlyphs understand the new table format. r=jfkthame
This also adds a bunch of buffer sanity checks to the code. This may not be
strictly necessary, thanks to OTS, but I think we should code defensively here
too.

--HG--
extra : rebase_source : 26b11505aa143fae6f63cd5858c87a259bb54b50
2013-08-20 01:08:43 +12:00
Robert O'Callahan
ced25abc79 Bug 906521. Part 4: gfxSVGGlyphs should also check the version because it also does table parsing. r=jfkthame
--HG--
extra : rebase_source : 63d3e82908d1e42ab6990f280cb752f2547ab6cc
2013-08-20 01:08:43 +12:00
Robert O'Callahan
419b3b6eac Bug 906521. Part 2: Change from using the 'glyphid' attribute to using id='glyphNNN'. r=jfkthame
--HG--
extra : rebase_source : 5ce6484e72faacf6412987b27ca8179d495e0067
2013-08-20 01:08:43 +12:00
Robert O'Callahan
f1723fc430 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
Ms2ger
badb581ba0 Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Gervase Markham
83c0913922 Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Jonathan Kew
b7755dd8dc bug 880690 - pt 1 - fix handling of glyph ID range in SVG glyph index entries. r=roc 2013-06-12 10:48:35 +01:00
Jonathan Kew
9aa9a0aa9a bug 875629 - handle UTF-16 surrogate pairs in the SVG-in-OpenType glyphchar attribute. r=roc 2013-06-05 12:34:48 +01: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
Cykesiopka
ad08e18549 Bug 645402 - Remove ToInteger() workarounds in mozilla-central. r=bz 2013-04-24 08:36:09 -04:00
Makoto Kato
803532ef87 Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg 2013-04-24 16:40:33 +09:00
Mats Palmgren
bd00f261fb Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-12 00:15:07 +01:00
Ed Morley
5bd5750ce0 Backout 2044222a3f1d (bug 820230) for build failures on a CLOSED TREE 2012-12-11 16:24:11 +00:00
Mats Palmgren
8fdbfba792 Bug 820230 - Move PaintSVGGlyph and GetSVGGlyphExtents from nsContentUtils to nsSVGUtils. r=roc 2012-12-11 16:45:51 +01:00
L. David Baron
253be7632f Rename nsIPresShell::InitialReflow to Initialize since it doesn't actually perform reflow. (Bug 788956) r=roc 2012-09-06 21:16:09 -07:00
Edwin Flores
59c12083e8 Bug 719286 - Support new OpenType-in-SVG table format r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
b4fd081edd Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
e086b38fb4 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to SVG *-opacity fields in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
2ed8553827 Bug 719286 - Include SVG glyphs when calculating glyph extents r=jfkthame 2012-09-06 16:58:46 +12:00
Edwin Flores
d2c226e78f Bug 719286 - Fixed some SVG glyphs not rendering properly r=jwatt 2012-09-06 16:58:46 +12:00
Edwin Flores
0dd30d4b22 Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
87a3a3e8e0 Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
c26e74e98d Bug 719286 - Basic OpenType SVG functionality r=roc 2012-09-06 16:57:54 +12:00