Re: Font size representation on macOS is off

2022-09-24 Thread Daniel
On 2022-09-19 00:34, Jean-Marc Lasgouttes wrote: Le 01/09/2022 à 21:29, Daniel a écrit : I think we should calculate the right size ourselves for macOS as Writer does. Otherwise, it is all really confusing. See also https://apple.stackexchange.com/a/445862/377509 Either we do that, or we do

Re: New warning on old function

2022-09-24 Thread Scott Kostyshak
On Sat, Sep 24, 2022 at 10:57:05PM +0200, Kornel Benko wrote: > Am Sat, 24 Sep 2022 14:51:17 -0400 > schrieb Scott Kostyshak : > > > On Wed, Sep 21, 2022 at 08:10:54PM +0200, Kornel Benko wrote: > > > > > > /usr2/src/lyx/lyx-git/src/Paragraph.cpp:1931:1: warning: control reaches > > > end of > >

Re: RFC: concurrent forks of graphics conversions

2022-09-24 Thread Scott Kostyshak
On Sat, Sep 24, 2022 at 10:06:36PM +0200, Pavel Sanda wrote: > On Sat, Sep 24, 2022 at 02:11:36PM -0400, Scott Kostyshak wrote: > > Each iteration of the while loop constructs a new ForkedCall instance. > > call.startScript() then forks the process. > > I see now, you are right. If I understand th

Re: New warning on old function

2022-09-24 Thread Kornel Benko
Am Sat, 24 Sep 2022 14:51:17 -0400 schrieb Scott Kostyshak : > On Wed, Sep 21, 2022 at 08:10:54PM +0200, Kornel Benko wrote: > > > > /usr2/src/lyx/lyx-git/src/Paragraph.cpp:1931:1: warning: control reaches > > end of > > non-void function [-Wreturn-type] > > > > This is with gcc-12, compiled in

Re: RFC: concurrent forks of graphics conversions

2022-09-24 Thread Pavel Sanda
On Sat, Sep 24, 2022 at 02:11:36PM -0400, Scott Kostyshak wrote: > Each iteration of the while loop constructs a new ForkedCall instance. > call.startScript() then forks the process. I see now, you are right. If I understand the logic now (basically each loop iteration triggering new callNext via

Re: New warning on old function

2022-09-24 Thread Scott Kostyshak
On Wed, Sep 21, 2022 at 08:10:54PM +0200, Kornel Benko wrote: > > /usr2/src/lyx/lyx-git/src/Paragraph.cpp:1931:1: warning: control reaches end > of non-void > function [-Wreturn-type] > > This is with gcc-12, compiled in debug mode. It makes sense if the warning is only given in debug mode sinc

Re: RFC: concurrent forks of graphics conversions

2022-09-24 Thread Scott Kostyshak
On Sat, Sep 24, 2022 at 05:20:49PM +0200, Pavel Sanda wrote: > On Sat, Sep 24, 2022 at 05:18:53PM +0200, Pavel Sanda wrote: > > naively expect new ForkedCall for each conversion, no? > > for each *thread*, not conversion Thanks for taking a look. Each iteration of the while loop constructs a new

Re: RFC: concurrent forks of graphics conversions

2022-09-24 Thread Pavel Sanda
On Sat, Sep 24, 2022 at 05:18:53PM +0200, Pavel Sanda wrote: > naively expect new ForkedCall for each conversion, no? for each *thread*, not conversion > Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: RFC: concurrent forks of graphics conversions

2022-09-24 Thread Pavel Sanda
On Fri, Sep 23, 2022 at 03:43:05PM -0400, Scott Kostyshak wrote: > The reason I send this preliminary patch in is to (1) see if there is at > least preliminary support for this kind of code change; If I understand correctly you use single variable ForkedCall call; for all conversions done in para

Re: RFC: concurrent forks of graphics conversions

2022-09-24 Thread Scott Kostyshak
On Sat, Sep 24, 2022 at 02:57:31PM +0200, Kornel Benko wrote: > Am Fri, 23 Sep 2022 15:43:05 -0400 > schrieb Scott Kostyshak : > > > Pavel gave some helpful direction regarding where concurrency might be > > especially helpful: graphics conversion. > > > > Attached is a work-in-progress patch, as

Re: RFC: concurrent forks of graphics conversions

2022-09-24 Thread Kornel Benko
Am Fri, 23 Sep 2022 15:43:05 -0400 schrieb Scott Kostyshak : > Pavel gave some helpful direction regarding where concurrency might be > especially helpful: graphics conversion. > > Attached is a work-in-progress patch, as well as an example file. > > When testing with the attached document, reme