Re: XML stream writer library

2021-01-04 Thread Richard Kimberly Heck
On 1/4/21 5:10 PM, Pavel Sanda wrote: > On Mon, Jan 04, 2021 at 09:48:42PM +0100, Thibaut Cuvelier wrote: >> My recommendation, based on a quite long study of XML libraries (i.e. >> several years, but quite far from full-time): either use QXmlStreamWriter >> (which is mostly a SAX implementation

Re: XML stream writer library

2021-01-04 Thread Pavel Sanda
On Mon, Jan 04, 2021 at 09:48:42PM +0100, Thibaut Cuvelier wrote: > My recommendation, based on a quite long study of XML libraries (i.e. > several years, but quite far from full-time): either use QXmlStreamWriter > (which is mostly a SAX implementation in C++) or write our own. > QXmlStreamWriter

Re: Problem with standard regex

2021-01-04 Thread Yuriy Skalko
Thanks. I am not so sure that 'from_ascii()' is the better choice comparing to 'from_utf8()' though. Maybe it will be better, but I cannot remember seeing exceptions with `what`-messages not in plain English. Feel free to update. BTW, I tested the regexes with Russian documents, and found

Re: XML stream writer library

2021-01-04 Thread Yuriy Skalko
TinyXML2 (https://github.com/leethomason/tinyxml2), pugixml ( https://github.com/zeux/pugixml), and Xerces-C++ ( https://xerces.apache.org/xerces-c/) are only DOM-based. There are quite a few C libraries, like libxml2, that can be SAX-like, but C libraries are horrible to use

Re: XML stream writer library

2021-01-04 Thread Thibaut Cuvelier
On Mon, 4 Jan 2021 at 20:30, Richard Kimberly Heck wrote: > On 1/3/21 3:37 PM, Lorenzo Bertini wrote: > > Hello list, > > In 12055 , discussing the merge of > some MathMLStream and XmlStream components, we were contemplating the > possibility of using an

Re: [LyX/master] Remove elipses after 'Open'

2021-01-04 Thread Richard Kimberly Heck
On 1/4/21 2:40 PM, Jean-Marc Lasgouttes wrote: > Le 04/01/2021 à 19:52, Richard Kimberly Heck a écrit : >> Some guy named Lasgouttes said they preferred it that way: >> https://www.lyx.org/trac/ticket/12019 > > Yes, in the case of a button that opens a directory in the OS. Not for > the File menu!

Re: [LyX/master] Remove elipses after 'Open'

2021-01-04 Thread Jean-Marc Lasgouttes
Le 04/01/2021 à 19:52, Richard Kimberly Heck a écrit : Some guy named Lasgouttes said they preferred it that way: https://www.lyx.org/trac/ticket/12019 Yes, in the case of a button that opens a directory in the OS. Not for the File menu! JMarc -- lyx-devel mailing list

Re: XML stream writer library

2021-01-04 Thread Richard Kimberly Heck
On 1/3/21 3:37 PM, Lorenzo Bertini wrote: > > Hello list, > > In 12055 , discussing the merge > of some MathMLStream and XmlStream components, we were contemplating > the possibility of using an external library to handle XML streams, > for example with

Re: Virtual meetings

2021-01-04 Thread Richard Kimberly Heck
On 1/3/21 3:38 PM, Pavel Sanda wrote: > On Wed, Dec 30, 2020 at 09:25:28PM +0100, Pavel Sanda wrote: >> On Wed, Dec 30, 2020 at 05:32:50PM +0100, Jean-Marc Lasgouttes wrote: >>> Le 30 décembre 2020 11:25:48 GMT+01:00, Pavel Sanda a écrit  >>> : I would prefer using zoom because it will just

Re: Connection issues with www.lyx.org

2021-01-04 Thread Richard Kimberly Heck
On 1/4/21 12:51 PM, Jürgen Spitzmüller wrote: > Am Montag, dem 04.01.2021 um 17:30 +0100 schrieb Jean-Marc Lasgouttes: >> PS: only 96 unread comments from Riki left in my lyx-bugs folder! I >> should be OK for next Monday :) > Yes, we were all provided with a basket full of candy :-) > > Happy

Re: [LyX/master] Remove elipses after 'Open'

2021-01-04 Thread Richard Kimberly Heck
On 1/3/21 2:19 PM, Jean-Marc Lasgouttes wrote: > Le 03/01/2021 à 20:13, Richard Kimberly Heck a écrit : >> commit 8871229f5f0cab072e587282d5e6a32a14da481f >> Author: Richard Kimberly Heck >> Date:   Sun Jan 3 14:13:29 2021 -0500 >> >> Remove elipses after 'Open' > > Why is that? Some guy

Re: Question about trac search

2021-01-04 Thread Richard Kimberly Heck
On 1/4/21 4:47 AM, Yu Jin wrote: > Am Mo., 4. Jan. 2021 um 10:39 Uhr schrieb Yu Jin >: > > I am trying to search for bugs in Trac. I have chosen only "new" > status in the filters, but the result also shows fixedinstable, > reopened and even closed bugs in some

Re: [LyX/master] Arabic Beamer template

2021-01-04 Thread Richard Kimberly Heck
On 1/4/21 4:19 AM, Pavel Sanda wrote: > On Mon, Jan 04, 2021 at 01:23:34AM +0100, Richard Kimberly Heck wrote: >> commit 469d3270aee7b7b812f1e212af02f6746c15f7a8 >> Author: Richard Kimberly Heck >> Date: Sun Jan 3 19:23:39 2021 -0500 >> >> Arabic Beamer template >> --- >>

Re: LyX 2.4.0-alpha1

2021-01-04 Thread José Abílio Matos
On Monday, January 4, 2021 5:02:24 PM WET Jean-Marc Lasgouttes wrote: > It should be fixed now at 69eb262721b445, a wildcard was missing. > > Please test when you have the occasion. > > JMarc Actually I went the other way, I brought the big brother to the fight. :-) I am now using gcc9 to

Re: Connection issues with www.lyx.org

2021-01-04 Thread Jürgen Spitzmüller
Am Montag, dem 04.01.2021 um 17:30 +0100 schrieb Jean-Marc Lasgouttes: > PS: only 96 unread comments from Riki left in my lyx-bugs folder! I > should be OK for next Monday :) Yes, we were all provided with a basket full of candy :-) Happy New Year @all, BTW. Jürgen signature.asc

Re: LyX 2.3.6.1 Tarballs and Binaries

2021-01-04 Thread Pavel Sanda
On Mon, Jan 04, 2021 at 06:13:13PM +0100, Yu Jin wrote: > > BTW, Eugene, I would either drop "For more information about LyX for > > Windows, see our wiki page." > > from our download page or update the wiki, whatever seem more appropriate > > to you. > > > > Ok, drop it then... I have no access

Re: LyX 2.3.6.1 Tarballs and Binaries

2021-01-04 Thread Yu Jin
Am Mo., 4. Jan. 2021 um 13:34 Uhr schrieb Pavel Sanda : > On Wed, Dec 30, 2020 at 08:43:59PM +0100, Yu Jin wrote: > > Am Di., 29. Dez. 2020 um 17:59 Uhr schrieb Richard Kimberly Heck < > > rikih...@lyx.org>: > > > > > The fix for bug #12056, which prevented inclusion of TeX files, > warrants > >

Re: LyX 2.4.0-alpha1

2021-01-04 Thread Jean-Marc Lasgouttes
Le 04/01/2021 à 16:44, José Abílio Matos a écrit : [root@centos7 ~]# g++ -dumpfullversion g++: fatal error: no input files compilation terminated. [root@centos7 ~]# rpm -qf /usr/bin/g++ gcc-c++-4.8.5-44.el7.x86_64 It should be fixed now at 69eb262721b445, a wildcard was missing. Please

Re: Compilation error with MSVC 19

2021-01-04 Thread Jean-Marc Lasgouttes
Le 04/01/2021 à 17:30, Thibaut Cuvelier a écrit : On Mon, 4 Jan 2021 at 15:05, Jean-Marc Lasgouttes > wrote: I really wonder why this is not the default yet. The only sensible answer is "backward compatibility"… They still advertise pre-C++98 by default!

Re: Compilation error with MSVC 19

2021-01-04 Thread Thibaut Cuvelier
On Mon, 4 Jan 2021 at 15:05, Jean-Marc Lasgouttes wrote: > Le 30/12/2020 à 09:01, Yuriy Skalko a écrit : > > I think the right way will be using only standard-compliant > > "__cplusplus" in sources and adding the option "/Zc:__cplusplus" for > > MSVC compiler in the build scripts so it handle

Re: Connection issues with www.lyx.org

2021-01-04 Thread Jean-Marc Lasgouttes
Le 04/01/2021 à 17:22, Kornel Benko a écrit : Am Mon, 4 Jan 2021 17:21:12 +0100 schrieb Kornel Benko : Am Mon, 4 Jan 2021 17:14:43 +0100 schrieb Jean-Marc Lasgouttes : Am I the only one seeing these? It is in particular when submitting comments to trac. JMarc Maybe a clash with others.

Re: Drop QT4 from master

2021-01-04 Thread Jean-Marc Lasgouttes
Le 04/01/2021 à 17:25, Thibaut Cuvelier a écrit : On Mon, 4 Jan 2021 at 14:56, Jean-Marc Lasgouttes > wrote: Le 29/12/2020 à 09:42, Yuriy Skalko a écrit : > Seems like boost::regex has the same issues as std::regex: >

Re: Drop QT4 from master

2021-01-04 Thread Thibaut Cuvelier
On Mon, 4 Jan 2021 at 14:56, Jean-Marc Lasgouttes wrote: > Le 29/12/2020 à 09:42, Yuriy Skalko a écrit : > > Seems like boost::regex has the same issues as std::regex: > > > https://www.boost.org/doc/libs/1_75_0/libs/regex/doc/html/boost_regex/unicode.html > > > > As I understand the ICU library

Re: Connection issues with www.lyx.org

2021-01-04 Thread Kornel Benko
Am Mon, 4 Jan 2021 17:21:12 +0100 schrieb Kornel Benko : > Am Mon, 4 Jan 2021 17:14:43 +0100 > schrieb Jean-Marc Lasgouttes : > > > Am I the only one seeing these? It is in particular when submitting > > comments to trac. > > > > JMarc > > Maybe a clash with others. Something is posted

Re: Connection issues with www.lyx.org

2021-01-04 Thread Kornel Benko
Am Mon, 4 Jan 2021 17:14:43 +0100 schrieb Jean-Marc Lasgouttes : > Am I the only one seeing these? It is in particular when submitting > comments to trac. > > JMarc Maybe a clash with others. Something is posted there 40 seconds ago "#11350 Fixed cursor drawn in workare when resizing"

Connection issues with www.lyx.org

2021-01-04 Thread Jean-Marc Lasgouttes
Am I the only one seeing these? It is in particular when submitting comments to trac. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Problem with standard regex

2021-01-04 Thread Kornel Benko
Am Mon, 4 Jan 2021 15:47:59 +0200 schrieb Yuriy Skalko : > > Thanks, you are right. But since the exception may not be only from regex, > > 'ex.what()' > > alone feels better. > > > > Please commit. > > > > Kornel > > Committed at e8099942c7. > > > Yuriy Thanks. I am not so sure

Re: LyX 2.4.0-alpha1

2021-01-04 Thread Jean-Marc Lasgouttes
Le 04/01/2021 à 16:44, José Abílio Matos a écrit : On Monday, January 4, 2021 2:02:30 PM WET Jean-Marc Lasgouttes wrote: > Strangely enough, the test is present. Assuming your configure script is > updated, could you send the output of >    g++ -dumpversion > and >    g++ -dumpfullversion

Re: LyX 2.4.0-alpha1

2021-01-04 Thread José Abílio Matos
On Monday, January 4, 2021 2:02:30 PM WET Jean-Marc Lasgouttes wrote: > Strangely enough, the test is present. Assuming your configure script is > updated, could you send the output of >g++ -dumpversion > and >g++ -dumpfullversion > ? > > JMarc [root@centos7 ~]# g++ -dumpversion 4.8.5

Re: LyX 2.4.0-alpha1

2021-01-04 Thread José Abílio Matos
On Monday, January 4, 2021 2:02:30 PM WET Jean-Marc Lasgouttes wrote: > > Strangely enough, the test is present. Assuming your configure script is > updated, I will answer this in two parts. :-) I would assume that the configure script is updated as I am compiling from the tar balls created by

Re: [LyX/master] Remove elipses after 'Open'

2021-01-04 Thread José Abílio Matos
On Sunday, January 3, 2021 7:19:11 PM WET Jean-Marc Lasgouttes wrote: > > Remove elipses after 'Open' > > Why is that? > > JMarc I agree with Jean-Marc. Open always launches a pop up and so it always has ellipses in every program I tried. :-) -- José Abílio-- lyx-devel mailing list

Re: Compilation error with MSVC 19

2021-01-04 Thread Jean-Marc Lasgouttes
Le 30/12/2020 à 09:01, Yuriy Skalko a écrit : I think the right way will be using only standard-compliant "__cplusplus" in sources and adding the option "/Zc:__cplusplus" for MSVC compiler in the build scripts so it handle __cplusplus in standard-compliant way:

Re: LyX 2.4.0-alpha1

2021-01-04 Thread Jean-Marc Lasgouttes
Le 02/01/2021 à 07:37, Yu Jin a écrit : Since there were no other proposals I just compiled in C++17 mode. I didn't increase the Version Build number (still Installer-1), because I thought that makes the most sense for testing releases, also for the registry. Uploaded as usual. Wise

Re: LyX 2.4.0-alpha1

2021-01-04 Thread Jean-Marc Lasgouttes
Le 30/12/2020 à 10:18, José Abílio Matos a écrit : On Wednesday, December 30, 2020 8:47:51 AM WET Richard Kimberly Heck wrote: > I am fairly clueless about such things. Fortunately, there are other people > who know more. JMarc? Enrico? Yuriy? Anyone? > > Riki To be clear, we decided

Re: Drop QT4 from master

2021-01-04 Thread Jean-Marc Lasgouttes
Le 29/12/2020 à 09:42, Yuriy Skalko a écrit : Seems like boost::regex has the same issues as std::regex: https://www.boost.org/doc/libs/1_75_0/libs/regex/doc/html/boost_regex/unicode.html As I understand the ICU library is the only ultimate solution for Unicode support. Qt relies on ICU, it

Re: Problem with standard regex

2021-01-04 Thread Yuriy Skalko
Thanks, you are right. But since the exception may not be only from regex, 'ex.what()' alone feels better. Please commit. Kornel Committed at e8099942c7. Yuriy -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: LyX 2.3.6.1 Tarballs and Binaries

2021-01-04 Thread Pavel Sanda
On Wed, Dec 30, 2020 at 08:43:59PM +0100, Yu Jin wrote: > Am Di., 29. Dez. 2020 um 17:59 Uhr schrieb Richard Kimberly Heck < > rikih...@lyx.org>: > > > The fix for bug #12056, which prevented inclusion of TeX files, warrants > > a quick re-release. I've also included the fix for #11746, which

Re: Problem with standard regex

2021-01-04 Thread Kornel Benko
Am Mon, 4 Jan 2021 12:23:47 +0200 schrieb Yuriy Skalko : > >> Further investigating shows the error in my own code (out of range access). > >> The following exception was catched in the try {} section in findAdv(), so > >> the only > >> message was: "Invalid regular expression!". This was

Re: Problem with standard regex

2021-01-04 Thread Yuriy Skalko
Further investigating shows the error in my own code (out of range access). The following exception was catched in the try {} section in findAdv(), so the only message was: "Invalid regular expression!". This was misleading. Indeed that's not very helpful. Ideally it would say *why* it is

Re: Question about trac search

2021-01-04 Thread Yu Jin
Am Mo., 4. Jan. 2021 um 10:39 Uhr schrieb Yu Jin : > I am trying to search for bugs in Trac. I have chosen only "new" status in > the filters, but the result also shows fixedinstable, reopened and even > closed bugs in some cases. See attached. > What am I doing wrong? > Ah found, it was (status

Question about trac search

2021-01-04 Thread Yu Jin
I am trying to search for bugs in Trac. I have chosen only "new" status in the filters, but the result also shows fixedinstable, reopened and even closed bugs in some cases. See attached. What am I doing wrong? -- Eugene -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: [LyX/master] Arabic Beamer template

2021-01-04 Thread Pavel Sanda
On Mon, Jan 04, 2021 at 01:23:34AM +0100, Richard Kimberly Heck wrote: > commit 469d3270aee7b7b812f1e212af02f6746c15f7a8 > Author: Richard Kimberly Heck > Date: Sun Jan 3 19:23:39 2021 -0500 > > Arabic Beamer template > --- > lib/templates/ar/Presentations/Beamer.lyx | 1316 >

Re: Virtual meetings

2021-01-04 Thread Pavel Sanda
* Plan 2.4 release * Donate page and alternative donation pathways -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel