[LyX/master] Clarify debug message

Thibaut Cuvelier tcuvelier at lyx.org
Sun Feb 27 19:48:31 UTC 2022


On Sun, 27 Feb 2022 at 15:16, Jürgen Spitzmüller <spitz at lyx.org> wrote:

> Thibaut, you might want to introduce a Debug::DOCBOOK mode rather than
> sending these messages over all channels (also, in other cases, the
> docbook chain uses Debug::LATEX which strikes me odd).
>

I'm doing this in the attached patches (also for HTML, XML being the common
part between the two). I would like some feedback more specifically for the
typing of the enum: as I could find, it's never sure that enums are coded
with enough bits to add a code (there are already enough codes to fill 32
bits). I thus forced the types to be unsigned long long, to have 64
available bits (https://en.cppreference.com/w/cpp/language/types).

I also tried to change as many occurrences I could find, but there were not
many (or my searching skills are not on par).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220227/07363fe6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Introduce-DocBook-and-HTML-debug-levels.patch
Type: application/octet-stream
Size: 4221 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220227/07363fe6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Output-DocBook-HTML-and-XML-errors-to-their-correspo.patch
Type: application/octet-stream
Size: 5413 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220227/07363fe6/attachment-0001.obj>


More information about the lyx-devel mailing list