Basically, no ABI breakage allowed. We can add new API though. behdad On 11/07/2011 02:06 PM, Mike Frysinger wrote:> is there a document that covers the expected level of ABI compat that > fontconfig is aiming for ? there are some things i''d like to fix (like changing > "int" to "size_t", changing a func to be a vararg, etc...). > -mike
is there a document that covers the expected level of ABI compat that fontconfig is aiming for ? there are some things i''d like to fix (like changing "int" to "size_t", changing a func to be a vararg, etc...). -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20111107/285186eb/attachment.pgp>
On 11/07/2011 02:56 PM, Mike Frysinger wrote:> On Monday 07 November 2011 13:34:09 Behdad Esfahbod wrote: >> Basically, no ABI breakage allowed. We can add new API though. > > the question is, how do we preserve ABI compatibility. is symbol versioning > allowed ? or must we always add new symbol names ?No symbol versioning. New symbol names. What''s the highlevel issues you want to address? behdad> -mike
Thanks. Can you post a git tree instead of individual patches? On 11/07/2011 03:15 PM, Mike Frysinger wrote:> the other thing i wanted to do was extend FcStrPlus to take an arbitrary > number of args, but i ended up writing FcStrPlusPlus instead.What''s the motivation for this? behdad
On Monday 07 November 2011 13:34:09 Behdad Esfahbod wrote:> Basically, no ABI breakage allowed. We can add new API though.the question is, how do we preserve ABI compatibility. is symbol versioning allowed ? or must we always add new symbol names ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20111107/d4cf1db6/attachment.pgp>
On Monday 07 November 2011 14:08:48 Behdad Esfahbod wrote:> On 11/07/2011 02:56 PM, Mike Frysinger wrote: > > On Monday 07 November 2011 13:34:09 Behdad Esfahbod wrote: > >> Basically, no ABI breakage allowed. We can add new API though. > > > > the question is, how do we preserve ABI compatibility. is symbol > > versioning allowed ? or must we always add new symbol names ? > > No symbol versioning. New symbol names. > > What''s the highlevel issues you want to address?i''d like to fix all the uses of "int" that should be "size_t". basically look for any place that uses strlen(). in practice, this probably will never be an issue as people won''t be using strings that are greater than INT_MAX, but i still find it annoying ;). the other thing i wanted to do was extend FcStrPlus to take an arbitrary number of args, but i ended up writing FcStrPlusPlus instead. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20111107/a549670a/attachment-0001.pgp>
On Monday 07 November 2011 14:37:41 Behdad Esfahbod wrote:> Thanks. Can you post a git tree instead of individual patches?hrm, i don''t have any general place for creating git repos atm. lemme see if i can''t put together one.> On 11/07/2011 03:15 PM, Mike Frysinger wrote: > > the other thing i wanted to do was extend FcStrPlus to take an arbitrary > > number of args, but i ended up writing FcStrPlusPlus instead. > > What''s the motivation for this?my --root patch wants to append 2 strings -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20111107/683c4975/attachment.pgp>
On Monday 07 November 2011 15:41:05 Mike Frysinger wrote:> On Monday 07 November 2011 14:37:41 Behdad Esfahbod wrote: > > Thanks. Can you post a git tree instead of individual patches? > > hrm, i don''t have any general place for creating git repos atm. lemme see > if i can''t put together one.i''ve created: http://wh0rd.org/git/?p=fontconfig.git git://wh0rd.org/fontconfig.git the clean up patches are in the "cleanup" branch, and my --root patches are in the "root" branch HTH -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20111107/e5e329af/attachment.pgp>
On Monday 07 November 2011 16:01:35 Mike Frysinger wrote:> On Monday 07 November 2011 15:41:05 Mike Frysinger wrote: > > On Monday 07 November 2011 14:37:41 Behdad Esfahbod wrote: > > > Thanks. Can you post a git tree instead of individual patches? > > > > hrm, i don''t have any general place for creating git repos atm. lemme > > see if i can''t put together one. > > i''ve created: > http://wh0rd.org/git/?p=fontconfig.git > git://wh0rd.org/fontconfig.git > > the clean up patches are in the "cleanup" branch, and my --root patches are > in the "root" branchalso, the --root support is very much "in development", so i wouldn''t suggest pulling it :). i''m still playing around/testing things out. i sent out the patches in case people want to send me in a different direction. the cleanup branch though should be good to go at any time. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: <http://lists.freedesktop.org/archives/fontconfig/attachments/20111107/b025c06d/attachment.pgp>