fontconfig/fc-lang
Patrick Lam cd2ec1a940 Add functionality to allow fontconfig data structure serialization.
This patch allows the fundamental fontconfig data structures to be
    serialized. I've converted everything from FcPattern down to be able to
    use *Ptr objects, which can be either static or dynamic (using a union
    which either contains a pointer or an index) and replaced storage of
    pointers in the heap with the appropriate *Ptr object. I then changed
    all writes of pointers to the heap with a *CreateDynamic call, which
    creates a dynamic Ptr object pointing to the same object as before.
    This way, the fundamental fontconfig semantics should be unchanged; I
    did not have to change external signatures this way, although I did
    change some internal signatures. When given a *Ptr object, just run *U
    to get back to a normal pointer; it gives the right answer regardless
    of whether we're using static or dynamic storage.
I've also implemented a Fc*Serialize call. Calling FcFontSetSerialize
    converts the dynamic FcFontSets contained in the config object to
    static FcFontSets and also converts its dependencies (e.g. everything
    you'd need to write to disk) to static objects. Note that you have to
    call Fc*PrepareSerialize first; this call will count the number of
    objects that actually needs to be allocated, so that we can avoid
    realloc. The Fc*Serialize calls then check the static pointers for
    nullness, and allocate the buffers if necessary. I've tested the
    execution of fc-list and fc-match after Fc*Serialize and they appear to
    work the same way.
2005-06-28 03:41:02 +00:00
..
.cvsignore Add remaining .cvsignore files 2003-02-24 17:52:44 +00:00
Makefile.am Add SEE ALSO section (bug 2085) 2005-01-13 18:31:50 +00:00
aa.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ab.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
af.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
am.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ar.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ast.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ava.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ay.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
az.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
az_ir.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ba.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bam.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
be.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bg.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bh.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bho.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bi.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bin.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bn.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
br.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bs.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
bua.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ca.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ce.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ch.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
chm.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
chr.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
co.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
cs.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
cu.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
cv.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
cy.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
da.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
de.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
dz.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
el.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
en.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
eo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
es.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
et.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
eu.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
fa.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
fc-lang.c Add functionality to allow fontconfig data structure serialization. 2005-06-28 03:41:02 +00:00
fc-lang.man Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
fclang.tmpl.h Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
fi.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
fj.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
fo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
fr.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ful.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
fur.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
fy.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ga.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
gd.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
gez.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
gl.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
gn.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
gu.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
gv.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ha.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
haw.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
he.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
hi.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ho.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
hr.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
hu.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
hy.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ia.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ibo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
id.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ie.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ik.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
io.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
is.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
iso-3166.txt Add territory database 2004-12-29 10:07:10 +00:00
iso639-1 Clean up French orthography, update 639-1 list of supported languages 2002-08-12 22:20:11 +00:00
iso639-2 Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
it.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
iu.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ja.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ka.orth The ka.orth file requires several characters which are not used anymore in 2005-05-20 15:56:51 +00:00
kaa.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ki.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
kk.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
kl.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
km.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
kn.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ko.orth Add territory database 2004-12-29 10:07:10 +00:00
kok.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ks.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ku.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ku_ir.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
kum.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
kv.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
kw.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ky.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
la.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
lb.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
lez.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
lo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
lt.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
lv.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
mg.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
mh.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
mi.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
mk.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ml.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
mn.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
mo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
mr.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
mt.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
my.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
nb.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
nds.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ne.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
nl.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
nn.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
no.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ny.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
oc.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
om.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
or.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
os.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
pa.orth Sleep for two seconds before exiting to make sure timestamps for future 2004-12-05 06:19:46 +00:00
pl.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ps_af.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ps_pk.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
pt.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
rm.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ro.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ru.orth Currently Russian (ru) requires 0406 and 0456 (І and і), but these were 2004-12-09 19:36:30 +00:00
sa.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sah.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sco.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
se.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sel.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sh.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
si.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sk.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sl.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sm.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sma.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
smj.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
smn.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sms.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
so.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sq.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sr.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sv.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
sw.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
syr.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ta.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
te.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
tg.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
th.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ti_er.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ti_et.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
tig.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
tk.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
tl.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
tn.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
to.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
tr.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ts.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
tt.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
tw.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
tyv.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ug.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
uk.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ur.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
uz.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
ven.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
vi.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
vo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
vot.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
wa.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
wen.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
wo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
xh.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
yap.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
yi.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
yo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
zh_cn.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
zh_hk.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
zh_mo.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
zh_sg.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
zh_tw.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00
zu.orth Change files from ISO-Latin-1 to UTF-8 2004-12-07 01:14:46 +00:00