Re: Depth in/decrease used as equivalent to outline in/out

2022-02-02 Thread Pavel Sanda
On Tue, Feb 01, 2022 at 01:41:39PM +0100, Kornel Benko wrote: > For me it is OK as it is now. > > -1 to revert. As Kornel I prefer the way it is now (except there might be some buggy corner cases as you write in other mail, but in general I'm not confused by the current situation and find nice

Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI

2022-01-28 Thread Pavel Sanda
On Mon, Jan 24, 2022 at 11:07:38AM +0100, Pavel Sanda wrote: > On Mon, Dec 27, 2021 at 10:01:12PM +0100, Jean-Marc Lasgouttes wrote: > > Le 27/12/2021 ?? 19:53, Scott Kostyshak a écrit : > > >>It is not that I am not interested, but rather that I am incompetent in > >

Re: LyX 2.4.0 (IM policy.xml ban on eps/pdf conversions)

2022-01-24 Thread Pavel Sanda
On Thu, Dec 02, 2021 at 10:24:58PM +0100, Pavel Sanda wrote: > - improve detection/users warning for banned eps->* conversion of imagemagick > (high priority before final release, but not for next alpha/beta etc) One option to automatically overcome the issue is to disable eps->png

Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI

2022-01-24 Thread Pavel Sanda
On Mon, Dec 27, 2021 at 10:01:12PM +0100, Jean-Marc Lasgouttes wrote: > Le 27/12/2021 ?? 19:53, Scott Kostyshak a écrit : > >>It is not that I am not interested, but rather that I am incompetent in > >>these things. Did someone look for subsequent commits in the lyx-unstable > >>tree? > > > >I

Re: Status of Master?

2022-01-24 Thread Pavel Sanda
On Wed, Jan 05, 2022 at 12:25:00PM +, José Abílio Matos wrote: > On Tuesday, 4 January 2022 10.56.51 WET Kornel Benko wrote: > > There is one: > > File 'preferences' is not updated, so I had to manually change occurrences > > of 'python', 'python3' and 'python -tt' to '$${python}'. > > > >

Re: SIGSEGV on master regarding math completion

2022-01-24 Thread Pavel Sanda
On Thu, Jan 20, 2022 at 09:40:21PM -0500, Scott Kostyshak wrote: > > To reproduce: > > > > 1. Start a new document. > > 2. Ctrl + m to start math inset. > > 3. Type \phantomx. Note that \phantomx is not a command so don't > >expect it to be recognized. > > 4. Press , , to delete the "x" and

Re: [LyX/master] Add new placeholder $${python} to configure

2022-01-23 Thread Pavel Sanda
On Sun, Jan 23, 2022 at 04:06:07PM +, José Abílio Matos wrote: > Could it be a cache interfering? > Are the previewed files cached? I don't think so. I also checked whether missing reconfigure could have been the case, but it does not look like that either. Last thing coming to my mind is

Re: [LyX/master] Add new placeholder $${python} to configure

2022-01-23 Thread Pavel Sanda
On Sat, Jan 22, 2022 at 09:54:39PM +, José Abílio Matos wrote: > The problem here is that the placeholder is not replaced before being used. > In order to see what python is being used you can see: > > Help->About LyX python3 -tt > In a hunch does the attached patch fixes the issue? > The

Re: Crash on master because of cursor position in session

2022-01-22 Thread Pavel Sanda
On Sat, Jan 22, 2022 at 09:43:15PM +0100, Pavel Sanda wrote: > lyx::TextMetrics::redoParagraph:522 pm.rows() = breakParagraph(bigrow); -> > step into > lyx::TextMetrics::breakParagraph:1136 tail = rb.shortenIfNeeded(width, > next_width); -> step into > lyx::Row::shorte

Re: Crash on master because of cursor position in session

2022-01-22 Thread Pavel Sanda
On Sun, Jan 16, 2022 at 12:02:50PM +0100, Kornel Benko wrote: > Moreover, from then on the crash will always happen. > Resetting the line in lyx2.4.conf from > zoom_ratio=1.9333 > to > zoom_ratio=1.0 > cured it. > > Running under gdb, the software exception happens deep inside

Re: [LyX/master] Add new placeholder $${python} to configure

2022-01-22 Thread Pavel Sanda
On Tue, Jan 04, 2022 at 12:52:37AM +0100, JosĂŠ Matos wrote: > commit 109ea2be4a21ca93d22ab25703b3352a50fbbe3b > Author: José Matos > Date: Tue Jan 4 00:21:34 2022 + > > Add new placeholder $${python} to configure > > This ensures that we use a consistent Python interpreter in

Re: Cross References in the Manuals/Help Files

2022-01-17 Thread Pavel Sanda
On Fri, Jan 14, 2022 at 07:25:31AM +0200, Dr Eberhard Lisse wrote: > I came across the reference in the UserGuide to Program Listings in the > Embedded Objects Manual, due to a recent thread, and noticed that that > reference is not a (Clickable) Cross Reference. > > Would making all those

Re: Fwd: String/Bytes Problem in layout2layout.py

2022-01-03 Thread Pavel Sanda
On Mon, Jan 03, 2022 at 03:16:47PM +, José Abílio Matos wrote: > If you want I can take care of that, in 2.4, and see if there are cases where > the conversion is missing. Please do, I suffer from ophidiophobia. > @Riki: is it possible to have a layout file such that the encoding is not >

Re: Fwd: String/Bytes Problem in layout2layout.py

2022-01-03 Thread Pavel Sanda
On Mon, Jan 03, 2022 at 02:04:20PM +, José Abílio Matos wrote: > Looking into further detail I would easily that the first part of the patch > is > correct (change "..." to b"..."). > > The second part where it changes sys.stdin to sys.stdin.buffer is probably > incorrect: > > The similar

Re: Clone issue

2022-01-02 Thread Pavel Sanda
On Sat, Jan 01, 2022 at 07:11:38PM +0300, Baris Erkus wrote: > I am having difficulty to clone the repo with the following command: > > git clone git://git.lyx.org/lyx > > or > > git clone git://git.lyx.org/lyx.git Both should work (and do work here). > The error is > > fatal: repository

Re: Why do we add converters in frontends GuiPrefs.cpp?

2022-01-02 Thread Pavel Sanda
On Sat, Jan 01, 2022 at 02:05:03PM +0100, Jean-Marc Lasgouttes wrote: > >Does any one knows why we are injecting these calls manually there? > > These are forward search commands. These could probably be done in configure > script instead. Most likely my doing. These are just suggestions in

Re: Status of Master?

2022-01-02 Thread Pavel Sanda
On Mon, Dec 27, 2021 at 11:29:08AM -0500, Richard Kimberly Heck wrote: > Where do people think things are now? If Jose is close to finish ${python} patch it would be good to have it in the release. I believe this will trigger bunch of changes needed for various distro maintainers and we should

Fwd: String/Bytes Problem in layout2layout.py

2021-12-29 Thread Pavel Sanda
Jose, are the proposed changes sensible? I remember there were flowing similar patches to python codebase before. Pavel - Forwarded message from "Leo L. Schwab" - From: "Leo L. Schwab" To: Debian Bug Tracking System Subject: Bug#1002821: lyx-common: String/Bytes Problem in

Re: Looking for KDE testers (Re: [PATCH] allow to force backing store for display)

2021-12-27 Thread Pavel Sanda
On Sun, Dec 26, 2021 at 07:55:02PM +0100, Jean-Marc Lasgouttes wrote: > Normally, if the theme is transparent, the workarea should blink. No problem like this here. It must be very specific WM config. > However, looking at the latest information on the bug report >

Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI

2021-12-27 Thread Pavel Sanda
On Sun, Dec 26, 2021 at 11:06:54PM -0500, Scott Kostyshak wrote: > > Anyway if no one is interested in understading underlying issue I would > > favour > > reverting 65b674ba4eff of unknown crash than keeping known freeze :) > > Thanks, Pavel. This seems like a tricky issue to debug. If JMarc

Re: fsanitize: member access within null pointer

2021-12-27 Thread Pavel Sanda
On Sun, Dec 26, 2021 at 09:48:11AM +0100, Kornel Benko wrote: > > I guess clang is not happy with (((struct sockaddr_un *) 0)->sun_path) > > > > Our own code has: > > #if !defined(SUN_LEN) > > #define SUN_LEN(su) \ > > (sizeof (*(su)) - sizeof ((su)->sun_path) + strlen((su)->sun_path)) >

Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI

2021-12-26 Thread Pavel Sanda
On Sat, Dec 25, 2021 at 07:38:22PM +0100, Pavel Sanda wrote: > On Fri, Nov 05, 2021 at 12:10:20AM -0400, Scott Kostyshak wrote: > > On Wed, Apr 14, 2021 at 12:45:04PM -0400, Scott Kostyshak wrote: > > > On Tue, Apr 13, 2021 at 07:53:11PM +0100, José Abílio Matos wrote: > >

Re: SIGSEGV on master when exporting MergedManuals.lyx in GUI

2021-12-25 Thread Pavel Sanda
On Fri, Nov 05, 2021 at 12:10:20AM -0400, Scott Kostyshak wrote: > On Wed, Apr 14, 2021 at 12:45:04PM -0400, Scott Kostyshak wrote: > > On Tue, Apr 13, 2021 at 07:53:11PM +0100, José Abílio Matos wrote: > > > On Tuesday, April 13, 2021 5:17:24 PM WEST Scott Kostyshak wrote: > > > > I get the

Re: LyX 2.4.0

2021-12-25 Thread Pavel Sanda
On Sun, Dec 05, 2021 at 12:43:30PM -0500, Richard Kimberly Heck wrote: > >1. Reverting the behavior that changes a missing child from an error to > >a warning (you can see discussion here: > > > > https://www.mail-archive.com/search?l=mid=20210416164324.gnegtimfws37hhma%40tallinn). > >

Re: LyX 2.4.0

2021-12-25 Thread Pavel Sanda
On Sun, Dec 05, 2021 at 12:42:24PM -0500, Richard Kimberly Heck wrote: > Pavel, can you make a wiki page that's a to-do list for 2.4.0? I cloned older wiki page, you can change it as you see fit. https://wiki.lyx.org/Devel/LyX24Road I put there my bullet points, other devs please fill up you

Re: fsanitize: member access within null pointer

2021-12-25 Thread Pavel Sanda
On Thu, Dec 16, 2021 at 04:35:39PM +0100, Kornel Benko wrote: > As strings: > (gdb) x/10s > 0x7fffd788: "\001" > 0x7fffd78a: "/tmp/lyx_tmpdir.kVhnZYL31128/lyxsocket" > 0x7fffd7b1: "" > 0x7fffd7b2: "" > 0x7fffd7b3: "" > 0x7fffd7b4: "" >

Re: Looking for KDE testers (Re: [PATCH] allow to force backing store for display)

2021-12-23 Thread Pavel Sanda
On Fri, Dec 17, 2021 at 03:25:47PM +0100, Jean-Marc Lasgouttes wrote: > I would be grateful of a KDE/X11 user could try to install a translucid > windows theme like Layan and check > 1/ that it creates display issues > 2/ that the new checkbox in Preferences|Display fixes it (at the cost of >

Re: Lyx Mirror in Iran

2021-12-23 Thread Pavel Sanda
On Thu, Dec 23, 2021 at 01:26:44PM +0330, BardiW wrote: >- Country: Iran >- Hosted by: https://bardia.tech >- Contact Name: Bardia Moshiri >- Contact Email: fakesh...@bardia.tech >- HTTP: http://mirror.bardia.tech/repo/lyx >- HTTPS: https://mirror.bardia.tech/repo/lyx >

Re: fsanitize: member access within null pointer

2021-12-16 Thread Pavel Sanda
On Thu, Dec 16, 2021 at 01:47:50PM +0100, Kornel Benko wrote: > Am Thu, 16 Dec 2021 13:38:43 +0100 > schrieb Pavel Sanda : > > > On Tue, Dec 07, 2021 at 10:20:02PM -0500, Scott Kostyshak wrote: > > > Compiling master with Clang and fsanitize, I get the following when >

Re: fsanitize: member access within null pointer

2021-12-16 Thread Pavel Sanda
On Tue, Dec 07, 2021 at 10:20:02PM -0500, Scott Kostyshak wrote: > Compiling master with Clang and fsanitize, I get the following when > LyX starts up (without doing anything else): > > /home/scott/lyxbuilds/master/repo/src/support/socktools.cpp:114:56: runtime > error: member access within

Re: Enable editing in preview pane for "LyX" format?

2021-12-15 Thread Pavel Sanda
On Wed, Dec 15, 2021 at 10:13:33AM -0500, Scott Kostyshak wrote: > We have the option to show the LyX format in the preview window. We also > have the functionality to reload a LyX document (e.g., if it is changed > externally). Would it be reasonable to allow editing of the LyX format > in the

Re: Cursor stuck ahead of footnote in 2.4

2021-12-15 Thread Pavel Sanda
On Wed, Dec 15, 2021 at 11:33:11AM +0100, Jean-Marc Lasgouttes wrote: > This seems fixed by the fix to the other problem. Can you confirm? Looks good here. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Cursor stuck ahead of footnote in 2.4

2021-12-13 Thread Pavel Sanda
Hi, - open user guide in 2.4 - go to the beginning of the document - hold arrow down on your keyboard Cursor gets stuck at the line ahead of footnote 1 and does not move downwards anymore. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: LyX 2.4.0

2021-12-04 Thread Pavel Sanda
On Fri, Dec 03, 2021 at 07:23:55AM +0100, Jürgen Spitzmüller wrote: > Am Donnerstag, dem 02.12.2021 um 22:24 +0100 schrieb Pavel Sanda: > > - recent toc_ related crashes (thread from Mon Nov  1 14:24:46 202; > > we have Juergen's patch, but there might other pending issues I

Re: LyX 2.4.0

2021-12-02 Thread Pavel Sanda
On Wed, Dec 01, 2021 at 04:48:14PM -0500, Richard Kimberly Heck wrote: > Things got a bit crazy again, but I now should have a bit of time. Where do > people think we stand with 2.4.0? I've seen a bit of activity in the > interim. Do we need to do one more alpha? Or should we proceed directly to >

Re: Failure to make dist on Mac

2021-11-27 Thread Pavel Sanda
On Sat, Nov 27, 2021 at 09:47:36AM +0100, Stephan Witt wrote: > 2. Step - make dist > > $ (cd lyx-build/LyX-2.3.6dev.build;make dist) > /Applications/Xcode.app/Contents/Developer/usr/bin/make dist-bzip2 dist-gzip > am__post_remove_distdir='@:' >

Re: Upgrade from buster to bullseye

2021-11-09 Thread Pavel Sanda
On Tue, Nov 09, 2021 at 11:28:30AM +0100, Jean-Pierre Chrétien wrote: > I edited /etc/ImageMagick-6/policy.xml without success, here is the log of > the first file to convert, extracted from lyx-2.3.7dev -dbg graphics Can show the current content of that config? > How can I display the

Re: Upgrade from buster to bullseye

2021-11-09 Thread Pavel Sanda
On Tue, Nov 09, 2021 at 01:16:45AM +, José Abílio Matos wrote: > On Monday, 8 November 2021 20.57.37 WET Pavel Sanda wrote: > > This is actually not correct way how to solve this under bullseye. > > "python" is gone for good and scripts should use either pyth

Re: Upgrade from buster to bullseye

2021-11-08 Thread Pavel Sanda
On Mon, Nov 08, 2021 at 06:40:35PM +0100, Jean-Pierre Chrétien wrote: > >For ubuntu/debian it was sufficient to modify the imagemagic policy. > >Like: > > $ cp /etc/ImageMagick-6/policy.xml ~/.config/ImageMagick/. > >and add/modify policies for PS, PDF and EPS in >

Re: Upgrade from buster to bullseye

2021-11-08 Thread Pavel Sanda
On Mon, Nov 08, 2021 at 11:03:25AM +0100, Jean-Pierre Chrétien wrote: > On 2.3.x, I first checked the fr.po file status and when I ran the make > lyx-2.3.7dev.pot-update in the po dir of the build directory, I got in the > following error: > > /bin/sh: 1: /usr/bin/python: not found > make: ***

Re: master crash (tocwidget code)

2021-11-03 Thread Pavel Sanda
On Wed, Nov 03, 2021 at 05:18:44PM +0100, Jürgen Spitzmüller wrote: > Am Mittwoch, dem 03.11.2021 um 16:43 +0100 schrieb Pavel Sanda: > > Well, nothing against this particular patch, but the problem is that > > if we accept that models_.find(type) might sucesfully return h

Re: master crash (tocwidget code)

2021-11-03 Thread Pavel Sanda
On Wed, Nov 03, 2021 at 03:59:25PM +0100, Jürgen Spitzmüller wrote: > Am Mi., 3. Nov. 2021 um 15:17 Uhr schrieb Pavel Sanda : > > > I am afraid unless we want to revamp the whole toc update machinery we just > > shouldn't by default that expect toc_ is nonempty. > > >

Re: master crash (tocwidget code)

2021-11-03 Thread Pavel Sanda
On Tue, Nov 02, 2021 at 10:07:20PM +0100, Pavel Sanda wrote: > We call various reset() and clear() routines many many times, > and its unclear to me why we repeatedlt call the whole machinery. >From what I can see in the code the route to touching toc_ is: Guiview::structu

Re: master crash (tocwidget code)

2021-11-03 Thread Pavel Sanda
On Wed, Nov 03, 2021 at 08:28:59AM +0100, Jürgen Spitzmüller wrote: > > Maybe this code (TocWidget::updateView()) is to blame? > > > > if (!gui_view_.documentBufferView()) { > > > > tocTV->setModel(nullptr); > > > > depthSL->setMaximum(0); > > > >

Re: master crash (tocwidget code)

2021-11-02 Thread Pavel Sanda
On Tue, Nov 02, 2021 at 08:08:05AM +0100, Jürgen Spitzmüller wrote: > Am Montag, dem 01.11.2021 um 22:51 +0100 schrieb Pavel Sanda: > > I don't know the code in question either, but I can try to look later > > this week. > > OTOH we test for empty toc_ in several other place

Re: master crash (tocwidget code)

2021-11-01 Thread Pavel Sanda
On Mon, Nov 01, 2021 at 05:01:34PM +0100, Jürgen Spitzmüller wrote: > Am Montag, dem 01.11.2021 um 14:15 +0100 schrieb Pavel Sanda: > > Looking at the backtrace and commit it seems that > > + TocItem const & item = > > + gui_view_.tocModels().

master crash (tocwidget code)

2021-11-01 Thread Pavel Sanda
Hi, I get the crash in majority of cases when using the following recipy: 1. launch lyx & open introduction manual 2. open new window via file -> new window 3. view->hidden->introduction 4. kaboom /usr/include/c++/10/debug/vector:434: In function: std::__debug::vector<_Tp,

Re: Inset painting regression in stable

2021-10-22 Thread Pavel Sanda
On Thu, Oct 21, 2021 at 08:31:20PM +0200, Jean-Marc Lasgouttes wrote: > Le 21/10/2021 ?? 17:50, Stephan Witt a écrit : > >Is it change 3d616bfc79866a8b7c97f1fd4d566eefb3da6f40? > > Yes, thanks! I backported it to branch since it is quite simple. Thanks, Pavel -- lyx-devel mailing list

Re: [PATCH] Adding LFUN for removing LyX modules

2021-10-22 Thread Pavel Sanda
On Thu, Oct 21, 2021 at 08:14:27PM +0300, Yuriy Skalko wrote: > +/*! > + * \var lyx::FuncCode lyx::LFUN_LAYOUT_MODULE_REMOVE > + * \li Action: Removes a module. > + * \li Notion: Removes a module from the list of included modules for the > current buffer. > + * \li Syntax: layout-module-remove >

Re: Inset painting regression in stable

2021-10-21 Thread Pavel Sanda
On Fri, Aug 13, 2021 at 08:22:03PM +0200, Jean-Marc Lasgouttes wrote: > Le 13 ao??t 2021 18:09:03 GMT+02:00, Pavel Sanda a écrit : > >Hi, > > > >after upgrade to qt 5.15.2 painting insets in stable branch has a small > >glitch, > >see the attached picture (the

Re: Hashing without relying on Qt?

2021-10-18 Thread Pavel Sanda
On Sun, Oct 17, 2021 at 12:09:06AM -0400, Richard Kimberly Heck wrote: > >The only solution I found without importing a large new dependency into > >LyX was to use Qt's QCryptographicHash, just like support/FileName.cpp. I > >know that LyX tries to have clear boundaries for dependencies, that's

Re: Quick questions

2021-10-14 Thread Pavel Sanda
On Thu, Oct 14, 2021 at 01:42:04PM +0200, Lorenzo Bertini wrote: > Hello list, just a couple of quick questions. > I wanted to get a meaningful output out of valgrind so i needed to build a > debug version: > > 1. how do i tell autotools that i want this? I tried some LyX pages but they > don't

Re: Crash in 2.3.x

2021-10-13 Thread Pavel Sanda
On Tue, Oct 12, 2021 at 07:50:47AM +0200, Jürgen Spitzmüller wrote: > Am Montag, dem 11.10.2021 um 21:37 +0200 schrieb Pavel Sanda: > > I quickly went through the original patch now, just wanted to double > > check that in two points - parent on GuiPrefs.cpp:3450 and >

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Pavel Sanda
On Wed, Oct 13, 2021 at 03:12:02PM +0200, Thibaut Cuvelier wrote: > On Wed, 13 Oct 2021 at 15:07, Pavel Sanda wrote: > > > On Wed, Oct 13, 2021 at 02:33:47PM +0200, Thibaut Cuvelier wrote: > > > The only solution I could find is to use the existing mechanism to > > ge

Re: Fixing #12372: leverage preview to have images in DocBook instead of LaTeX code

2021-10-13 Thread Pavel Sanda
On Wed, Oct 13, 2021 at 02:33:47PM +0200, Thibaut Cuvelier wrote: > The only solution I could find is to use the existing mechanism to generate > preview images. This way, the LaTeX code is transformed into an > intelligible form (i.e. an image), while still keeping the original LaTeX > code if

Re: Crash in 2.3.x

2021-10-11 Thread Pavel Sanda
On Mon, Oct 11, 2021 at 06:43:16PM +0200, Jürgen Spitzmüller wrote: > Am Montag, dem 11.10.2021 um 17:55 +0200 schrieb Pavel Sanda: > > Bisect suggests the following commit: > > > > commit da0d01cc107d112d8b640dce92bfa6e943c1569c > > Author: Juergen Spitzmueller >

Re: Crash in 2.3.x

2021-10-11 Thread Pavel Sanda
On Mon, Oct 11, 2021 at 04:27:19PM +0200, Kornel Benko wrote: > Am Mon, 11 Oct 2021 15:51:07 +0200 > schrieb Pavel Sanda : > > > On Mon, Oct 11, 2021 at 03:39:18PM +0200, Pavel Sanda wrote: > > > Hi, > > > > > > can anyone reproduce the following crash r

Re: Crash in 2.3.x

2021-10-11 Thread Pavel Sanda
On Mon, Oct 11, 2021 at 03:39:18PM +0200, Pavel Sanda wrote: > Hi, > > can anyone reproduce the following crash recipy? : > 1. Preferences -> Shortcuts -> Show keybindings containing > 2. Press "i" > 3. Kaboom > > Current 2.3.x branch on stable d

Crash in 2.3.x

2021-10-11 Thread Pavel Sanda
Hi, can anyone reproduce the following crash recipy? : 1. Preferences -> Shortcuts -> Show keybindings containing 2. Press "i" 3. Kaboom Current 2.3.x branch on stable debian. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Magnification of pdf File Created by LYX

2021-09-30 Thread Pavel Sanda
On Wed, Sep 29, 2021 at 06:57:08PM -0400, Paul A. Rubin wrote: > The zoom level at which a file should be opened is apparently a property of > the file (in some cases) and, when present, will override the default zoom > setting in Reader (and presumably in Acrobat Pro). Correct, pdf file can

Re: Patch review

2021-09-29 Thread Pavel Sanda
On Wed, Sep 29, 2021 at 01:01:42PM +0300, Yuriy Skalko wrote: > >Older gcc will have problem: > > > >make[6]: Entering directory '/root/lyx/src/frontends/qt' > > CXX ColorCache.o > > CXX GuiBibtex.o > >GuiBibtex.cpp: In member function 'void >

Re: Patch review

2021-09-29 Thread Pavel Sanda
On Tue, Sep 28, 2021 at 09:38:39PM +0300, Yuriy Skalko wrote: > Hi all, > > I've recently compiled LyX with latest version of GCC and used several > useful diagnostic options. Two simpler patches are already committed, but > the third one is bigger and worth additional checkup -- it is in

Re: FTP links on the website

2021-09-27 Thread Pavel Sanda
On Mon, Sep 27, 2021 at 03:39:33PM +0200, Thibaut Cuvelier wrote: > > > Recently, the major browsers stopped supporting FTP links. I don't like > > > the change, but there's nothing I can do about it??? > > > > > > The problem is that the LyX website still has one FTP link that could be > > >

Re: Remove underline from tracked changes?

2021-09-24 Thread Pavel Sanda
On Fri, Sep 24, 2021 at 10:59:38AM +0200, Rasmus K. Rendsvig wrote: > In any case, then I would appreciate a word of advice at this juncture. The attached patch does what you asked for, at least here. Pavel diff --git a/src/Changes.cpp b/src/Changes.cpp index 6e3bf0fff7..7608d218c1 100644 ---

Re: LilyPond to ePub: how to run LilyPond on the DocBook output?

2021-09-21 Thread Pavel Sanda
On Tue, Sep 21, 2021 at 06:06:08PM +0200, Thibaut Cuvelier wrote: > On Tue, 21 Sept 2021 at 13:13, Pavel Sanda wrote: > > > On Tue, Sep 21, 2021 at 01:37:02AM +0200, Thibaut Cuvelier wrote: > > > How can we achieve this? I did not see anything related to

Re: Inset painting regression in stable

2021-09-21 Thread Pavel Sanda
On Fri, Aug 13, 2021 at 08:22:03PM +0200, Jean-Marc Lasgouttes wrote: > Le 13 ao??t 2021 18:09:03 GMT+02:00, Pavel Sanda a écrit : > >Hi, > > > >after upgrade to qt 5.15.2 painting insets in stable branch has a small > >glitch, > >see the attached picture (the

Re: LilyPond to ePub: how to run LilyPond on the DocBook output?

2021-09-21 Thread Pavel Sanda
On Tue, Sep 21, 2021 at 01:37:02AM +0200, Thibaut Cuvelier wrote: > How can we achieve this? I did not see anything related to calling LilyPond > on the existing LaTeX files either, so I can't copy this??? Any help would be > appreciated! I do not know details of using lilypond, but clearly we

Re: Git clone terribly slow

2021-08-16 Thread Pavel Sanda
On Mon, Aug 16, 2021 at 07:54:50AM +0200, Christoph Schmitz wrote: > git clone git://git.lyx.org/lyx currently sends objects at less than 10 > KiB/s. Cloning eventually fails after hours. > > Is there anything I can do? I get here 300 KB/s (EU as well). One option is to use --depth for clone

Re: Inset painting regression in stable

2021-08-13 Thread Pavel Sanda
On Fri, Aug 13, 2021 at 08:22:03PM +0200, Jean-Marc Lasgouttes wrote: > >after upgrade to qt 5.15.2 painting insets in stable branch has a small > >glitch, > >see the attached picture (the horizontal line on the bottom ref). > > We have a patch by racoon somewhere to handle that. I is not yet

Inset painting regression in stable

2021-08-13 Thread Pavel Sanda
Hi, after upgrade to qt 5.15.2 painting insets in stable branch has a small glitch, see the attached picture (the horizontal line on the bottom ref). It affects all insets, but only on certain scrolling positions - it paints ok in the top half of workarea and wrongly in the bottom half... weird.

python warning

2021-07-11 Thread Pavel Sanda
Hi, this is what I see after make install: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses Perhaps some pythonst should check... Pavel log: make[2]: Entering directory '/tmp/lyx-2.4.0dev/lib/lyx2lyx' make[2]:

xhtml Toc spacing

2021-07-09 Thread Pavel Sanda
Hi Riki, current xhtml Toc rendering seems bit too dense for sections and subsections. We have vertical margin for part/chapter/sectio/sub... set to 2em/1em/0em/0em/0em and more continuous change 2em/1em/0.5em/0.2em/0em seems visually better. Would you be ok with the following patch? Pavel

Re: Anyone on TeX Live 2021 pretest ? (to confirm a regression for ja LilyPond)

2021-06-15 Thread Pavel Sanda
On Mon, Jun 14, 2021 at 10:19:20AM -0400, Scott Kostyshak wrote: > > > > > > to need the flag "-dALLOWPSTRANSPARENCY" on TL21. Adding the > > > > > > following > > > > > > line to my preferences file fixes some tests: > > > > > > > > > > > > \converter "ps" "pdf" "ps2pdf -dALLOWPSTRANSPARENCY

Re: Anyone on TeX Live 2021 pretest ? (to confirm a regression for ja LilyPond)

2021-06-14 Thread Pavel Sanda
On Sun, Jun 13, 2021 at 11:09:12AM -0400, Scott Kostyshak wrote: > On Mon, May 31, 2021 at 02:19:26PM -0400, Scott Kostyshak wrote: > > On Mon, May 31, 2021 at 04:57:49PM +0200, Pavel Sanda wrote: > > > On Sat, May 29, 2021 at 01:45:24PM -0400, Scott Kostyshak wrot

Re: [LyX/master] Move all python shebangs from /usr/bin/env to python3.

2021-06-03 Thread Pavel Sanda
> commit 3f03f0a447e0f672025d78881d8a2790133ff47b > Author: JosĂŠ Matos > Date: Sat Dec 29 19:14:41 2018 + > >Move all python shebangs from /usr/bin/env to python3. > >The change is only relevant to development as all the call to python > scripts is done >calling C++

Re: Anyone on TeX Live 2021 pretest ? (to confirm a regression for ja LilyPond)

2021-05-31 Thread Pavel Sanda
On Sat, May 29, 2021 at 01:45:24PM -0400, Scott Kostyshak wrote: > I think there is a related issue: Some exports that use ps2pdf now seem > to need the flag "-dALLOWPSTRANSPARENCY" on TL21. Adding the following > line to my preferences file fixes some tests: > > \converter "ps" "pdf" "ps2pdf

Re: Qt6 sets UNICODE on Windows

2021-05-31 Thread Pavel Sanda
On Sat, May 29, 2021 at 06:47:05PM +0200, Yu Jin wrote: > > But I also think that the "universal" function calls (CreateNamedPipe() > > and WaitNamedPipe()) should be made specific (CreateNamedPipeA() and > > WaitNamedPipeA()), because the arguments are also specific (c_str() always > > returns

Re: Beta 1

2021-05-25 Thread Pavel Sanda
On Mon, May 24, 2021 at 03:18:31PM -0400, Richard Kimberly Heck wrote: > Hi, all, > > I have put tarballs for beta 1 here: > > https://drive.google.com/drive/folders/1Zl_20mzi9ndDDQdzeFyvR07O4lLDtcW3?usp=sharing Seems to work on several different debian versions. ANNOUNCE file still contains

Re: Help setting up a PPA

2021-05-07 Thread Pavel Sanda
On Fri, May 07, 2021 at 07:57:48AM +0200, Andreas Nicolai wrote: > sorry, this question is unrelated to ongoing Lyx development, but I have > a question regarding the setup of the Lyx package repository. I > basically want to setup a similar PPA repository as Lyx does it for our > project, but I

Re: [PATCH] Only enable forward search if synctex is enabled

2021-04-27 Thread Pavel Sanda
On Tue, Apr 27, 2021 at 11:44:58AM -0400, Scott Kostyshak wrote: > Good to know. I'm curious, what is your use case for wanting to use it with > some documents and not others? In order to (potentially) design an interface, > I want to understand how people use it. I use it only with few documents

Re: [PATCH] Only enable forward search if synctex is enabled

2021-04-27 Thread Pavel Sanda
On Fri, Apr 23, 2021 at 03:36:42PM -0400, Scott Kostyshak wrote: > What I'm curious about is whether most users would like for a simple way to > enable synctex globally in their converters. Personally I find it more document setting, but I don't have that strong opinion. What does not look that

KDE's Qt 5 Patch Collection

2021-04-23 Thread Pavel Sanda
Hi, given than Qt 5.15 LTS is not free-licensed anymore, esp. windows releases might profit from the following: https://dot.kde.org/2021/04/06/announcing-kdes-qt-5-patch-collection Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [PATCH] Only enable forward search if synctex is enabled

2021-04-23 Thread Pavel Sanda
On Thu, Apr 22, 2021 at 12:37:53PM -0400, Scott Kostyshak wrote: > That makes sense. I think I might add that to my converters as well. I > understand the idea of having the setting as a document setting since it > changes LaTeX code. But I wonder if most users would prefer a > preference. > >

Re: FriCAS and Lyx

2021-04-14 Thread Pavel Sanda
On Wed, Apr 14, 2021 at 09:20:37PM +0200, Ralf Hemmecke wrote: > I am not sure whether LyX could compete with Jupyter in this respect I do not think so. Although you can use it for taking notebooks my bet is that majority of users just wants some paper or book out with nice typesetting... Pavel

Re: FriCAS and Lyx

2021-04-14 Thread Pavel Sanda
On Tue, Apr 13, 2021 at 06:34:10PM +0200, Ralf Hemmecke wrote: > But I somehow fear the whole idea of how LyX connects to a CAS is not > very much useful. ... > Everything else is not really interesting from > a CAS point of view. Just imagine that you want to write a paper that > describes the

Re: FriCAS and Lyx

2021-04-13 Thread Pavel Sanda
On Tue, Apr 13, 2021 at 11:08:24AM +0200, Ralf Hemmecke wrote: > > On the other hand if you are looking for someone who would write LyX part > > I am not much optimistic. Based on the minimal code flow and users > > feedback to this forgotten area (CAS integration) I think the devel/user > > base

Re: FriCAS and Lyx

2021-04-13 Thread Pavel Sanda
On Sun, Apr 11, 2021 at 06:35:51PM +0200, Ralf Hemmecke wrote: > Question here is how we can do this? It certainly needs people from the > Lyx and the FriCAS. Is there interest? How difficult would it be? Dear Ralf, there is interest in the sense that we generally accept patches implementing new

Re: Beta 1

2021-04-12 Thread Pavel Sanda
On Sun, Apr 11, 2021 at 02:25:11AM -0400, Richard Kimberly Heck wrote: > So how about a Beta 1 soon? Great idea, we should announce epub export available to get some testing. > I guess that means total feature freeze and only serious bug fixes in master. Feature freeze definitely, I would still

Re: new find-dialog in 2.4.0-alpha3 may lead to unintentional deletion of text

2021-04-08 Thread Pavel Sanda
On Thu, Apr 08, 2021 at 12:16:55PM +0200, Jürgen Spitzmüller wrote: > Am Donnerstag, dem 08.04.2021 um 12:05 +0200 schrieb Micha H. Werner: > > using the new find-dialog in 2.4.0-alpha3 may lead to the unintended > > deletion of the terms searched for:  > > > > strg-f -- enter search term -- hit

Re: [LyX/master] Make bookmarks display configurable

2021-04-07 Thread Pavel Sanda
On Wed, Apr 07, 2021 at 04:11:39PM +0200, Jean-Marc Lasgouttes wrote: > commit 0f0ad1f715b914d424b6edd01aad2e559e8e85f5 > Author: Jean-Marc Lasgouttes > Date: Tue Apr 6 15:19:12 2021 +0200 > > Make bookmarks display configurable > > Introduce a GUI-less LyXRC member

Re: [LyX/master] Zoom slider

2021-04-06 Thread Pavel Sanda
On Tue, Apr 06, 2021 at 10:30:12AM +0200, Jürgen Spitzmüller wrote: > I prefer the disabled version Ok, I leave it the way it is. > every thing I change on this UI triggers a new bag of requests. To be clear I was not asking you to do it. Pavel -- lyx-devel mailing list

Re: [LyX/master] Zoom slider

2021-04-06 Thread Pavel Sanda
On Thu, Mar 25, 2021 at 01:18:24PM +0100, Pavel Sanda wrote: > On Sun, Mar 07, 2021 at 01:24:29PM +0100, Juergen Spitzmueller wrote: > > commit bdb006543b43f71a06fc5b9915d0df19aae0ef68 > > Author: Juergen Spitzmueller > > Date: Sun Mar 7 13:29:23 2021 +0100 > > >

Re: Emergency-dialog options

2021-04-01 Thread Pavel Sanda
On Thu, Mar 25, 2021 at 11:35:44AM +0100, Pavel Sanda wrote: > I can see two possible reasons: > 1. Compare is using threads and there is some resource conflict (like writing > to LYXERR or whatever) When we disable multithreading, the crashes are gone. The downside is that compa

Re: po/bg.po update

2021-03-31 Thread Pavel Sanda
On Wed, Mar 31, 2021 at 03:16:34PM +0300, Veselin wrote: > Hello, > > > Attached is an updated file from lyx 2.3.6.1 for the bulgarian translation. > > It is now well in the green zone and I think the translation is good so far. Thanks, committed to 2.3 branch. Pavel -- lyx-devel mailing list

Re: [LyX/master] Zoom slider

2021-03-25 Thread Pavel Sanda
On Sun, Mar 07, 2021 at 01:24:29PM +0100, Juergen Spitzmueller wrote: > commit bdb006543b43f71a06fc5b9915d0df19aae0ef68 > Author: Juergen Spitzmueller > Date: Sun Mar 7 13:29:23 2021 +0100 > > Zoom slider Juergen, would you mind if slider and its buttons were toggling between

Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-25 Thread Pavel Sanda
On Wed, Mar 24, 2021 at 10:15:45PM +0100, Thibaut Cuvelier wrote: > That's right. I've updated the manual to indicate it. Is this better? Looks good to me, thanks. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Emergency-dialog options

2021-03-25 Thread Pavel Sanda
On Sun, Mar 14, 2021 at 09:40:38PM +0100, Pavel Sanda wrote: > we have two 2.4 milestoned bugs: > #11253 - requesting option of opening both side by side. > #4658 - requesting option of running comparison between original and > emergency copy > > No one is actually sure abou

Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-24 Thread Pavel Sanda
On Wed, Mar 24, 2021 at 04:38:01PM +0100, Thibaut Cuvelier wrote: > On Wed, 24 Mar 2021 at 16:19, Pavel Sanda wrote: > > > On Tue, Mar 23, 2021 at 11:25:55PM +0100, Thibaut Cuvelier wrote: > > > I have pushed a new section in d0120078fd. I think the most important >

Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-24 Thread Pavel Sanda
On Tue, Mar 23, 2021 at 11:25:55PM +0100, Thibaut Cuvelier wrote: > I have pushed a new section in d0120078fd. I think the most important > points for the user are documented there. Comments welcome :)! Hmm, even after reading about the prefix options I have no clue in what conditions or context

Re: [LyX/master] DocBook: add a parameter to change the namespace prefix for MathML.

2021-03-23 Thread Pavel Sanda
On Tue, Mar 23, 2021 at 09:37:07PM +0100, Thibaut Cuvelier wrote: > For now, I made a more explicit tool tip. In which part of the > documentation would you add this? I was thinking about adding a new section > in Additional, after the HTML section (before the LyX server). Yes, that's good

<    2   3   4   5   6   7   8   9   10   11   >