Re: "Layout::resizeIdle calls" messages ignore show_msg=NO

"Kevin Koster" <dillo-PpymaetoNy61Z/[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Organization OmberTech
Message-ID <171478371377.28.1973795239015064406@ec260857a888>
Rodrigo Arias <rodarima-Re5JQEeQqe8AvxtiuMwx3w-XMD5yJDbdMReXY1tMh2IBg@public.gmane.org> wrote:
> On Fri, May 03, 2024 at 12:48:54PM +1000, Kevin Koster wrote:
>>Layout::resizeIdle calls = 582
>>Layout::resizeIdle calls = 583
>>...
>>
>>I see that they come from a printf call in dw/layout.cc, line 876.
>>
>>Dillo 3.0.5 doesn't output such messages, and they are a minor
>>inconvenience when starting dillo from a terminal window, so it would
>>be nice if they obeyed the show_msg setting in dillorc when Dillo 3.1.0
>>is released.
> 
> Yeah, there is no way to properly output messages from the dw module 
> (the layout renderer), as it doesn't link with the code that parses the 
> preferences, so it cannot access the "prefs.show_msg" variable to find 
> out if it should output messages or not.
> 
> I will disable it for now by using _MSG() instead, and we can think of 
> something more elaborate later. 

Sounds good. The messages look like they'd mainly be useful to
someone looking to to tweak the code and rebuild anyway.
_______________________________________________
Dillo-dev mailing list -- dillo-dev-lx9mn2B4QYRWk0Htik3J/[email protected]
To unsubscribe send an email to dillo-dev-leave-lx9mn2B4QYRWk0Htik3J/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.