Re: [PATCH] Rework Reporting Of Config Parse Errors To Use Callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please open a merge request on gitlab. I can start the review then.

On Tue, Jul 9, 2019 at 8:55 AM Lawrence D'Oliveiro
<ldo@xxxxxxxxxxxxxxxxxxx> wrote:
>
> This patch reworks the FcConfigMessage routine in fcxml.c to pass all
> messages through a callback action. The idea is that it becomes easy to
> add alternate versions of the FcConfigParseAndLoadxxx routines that pass
> a caller-specified callback for capturing the messages, rather than
> sending them direct to stderr.
>
> Initially I had the callback details stored as fields in the
> _FcConfigParse structure. Then I discovered that messages could be
> reported in situations where such a structure did not exist. So I put
> them in a separate _MessageCallback structure. So this structure has to
> be passed as a separate arg to every FcConfigMessage call.
>
> Let me know what you think.
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux