Re: New windows installers (2.3.6, both 32 and 64 bit) do not start installation

2020-12-10 Thread Richard Kimberly Heck
On 12/10/20 5:09 PM, Yu Jin wrote: Am Do., 10. Dez. 2020 um 22:11 Uhr schrieb Jean-Marc Lasgouttes mailto:lasgout...@lyx.org>>: Le 10/12/2020 à 20:53, Yu Jin a écrit : > Back to your question. Technically it is possible, it just needs to be > coded (as everything else). Though i

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Yuriy Skalko
I have been meaning to ask: how did you find this library? Is it somewhat known, or did you just google for it? What I am wondering is whether this library has many users. It has not been updated for 2 years. THere is some maybe interesting reading here: https://medium.com/@julienjorge/testi

Re: New windows installers (2.3.6, both 32 and 64 bit) do not start installation

2020-12-10 Thread Yu Jin
Am Do., 10. Dez. 2020 um 22:11 Uhr schrieb Jean-Marc Lasgouttes < lasgout...@lyx.org>: > Le 10/12/2020 à 20:53, Yu Jin a écrit : > > Back to your question. Technically it is possible, it just needs to be > > coded (as everything else). Though it would be a pain (because there is > > not just LyX s

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2020 à 21:53, Yuriy Skalko a écrit : The compact signal library looks great, but I do not know how polished, portable and widely used it is. I'm trying to adapt the nod library (https://github.com/fr00b0/nod) instead of boost::signals2. The only issue left is concerning tracker_/trac

Re: New windows installers (2.3.6, both 32 and 64 bit) do not start installation

2020-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2020 à 20:53, Yu Jin a écrit : Back to your question. Technically it is possible, it just needs to be coded (as everything else). Though it would be a pain (because there is not just LyX specific, but also imagemagick, ghostscript and python registry entries made by the old installer),

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Yuriy Skalko
The compact signal library looks great, but I do not know how polished, portable and widely used it is. I'm trying to adapt the nod library (https://github.com/fr00b0/nod) instead of boost::signals2. The only issue left is concerning tracker_/trackable_ members of Trackable class used in call

Re: New windows installers (2.3.6, both 32 and 64 bit) do not start installation

2020-12-10 Thread Yu Jin
Am Do., 10. Dez. 2020 um 20:53 Uhr schrieb Yu Jin : > Am Do., 10. Dez. 2020 um 20:15 Uhr schrieb Jean-Marc Lasgouttes < > lasgout...@lyx.org>: > >> Le 10/12/2020 à 19:12, Yu Jin a écrit : >> >> > It was not meant to be over installed: >> > https://www.mail-archive.com/lyx-users@lists.lyx.org/msg11

Re: New windows installers (2.3.6, both 32 and 64 bit) do not start installation

2020-12-10 Thread Yu Jin
Am Do., 10. Dez. 2020 um 20:15 Uhr schrieb Jean-Marc Lasgouttes < lasgout...@lyx.org>: > Le 10/12/2020 à 19:12, Yu Jin a écrit : > > > It was not meant to be over installed: > > https://www.mail-archive.com/lyx-users@lists.lyx.org/msg111349.html > >

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2020 à 19:56, Richard Kimberly Heck a écrit : On 12/10/20 1:33 PM, Yuriy Skalko wrote: The is not much to gain with is IMO, until we are ready to ditch boost. Note that, with all it problems, boost is highly portable and used by many people. So there is value in just using it and forge

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Richard Kimberly Heck
On 12/10/20 1:33 PM, Yuriy Skalko wrote: The is not much to gain with is IMO, until we are ready to ditch boost. Note that, with all it problems, boost is highly portable and used by many people. So there is value in just using it and forget about possible problems. Yes, that was my plan ;) N

Re: An official GitHub mirror for LyX?

2020-12-10 Thread Richard Kimberly Heck
On 12/10/20 11:31 AM, Pavel Sanda wrote: On Thu, Dec 10, 2020 at 11:13:21AM -0500, Richard Kimberly Heck wrote: On 12/10/20 8:26 AM, Pavel Sanda wrote: On Sun, Dec 06, 2020 at 11:41:53PM +0100, Jean-Marc Lasgouttes wrote: You did the upgrade to CentOS 6 a while back, didn't you? Obviously, we

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Yuriy Skalko
The is not much to gain with is IMO, until we are ready to ditch boost. Note that, with all it problems, boost is highly portable and used by many people. So there is value in just using it and forget about possible problems. Yes, that was my plan ;) Now, with C++11 features, Boost is not so

Re: An official GitHub mirror for LyX?

2020-12-10 Thread Pavel Sanda
On Thu, Dec 10, 2020 at 11:13:21AM -0500, Richard Kimberly Heck wrote: > On 12/10/20 8:26 AM, Pavel Sanda wrote: > > On Sun, Dec 06, 2020 at 11:41:53PM +0100, Jean-Marc Lasgouttes wrote: > > > > You did the upgrade to CentOS 6 a while back, didn't you? Obviously, we > > > > can't be sure an upgrade

Re: An official GitHub mirror for LyX?

2020-12-10 Thread Richard Kimberly Heck
On 12/10/20 10:00 AM, Jean-Marc Lasgouttes wrote: [going back to lyx-devel] Le 09/12/2020 à 10:00, Yuriy Skalko a écrit : But now Trac works without any server maintainer, right? As I understand Gitea don't require much maintenance. Upgrading it is just replacing one binary and restarting (I h

Re: An official GitHub mirror for LyX?

2020-12-10 Thread Richard Kimberly Heck
On 12/10/20 8:26 AM, Pavel Sanda wrote: On Sun, Dec 06, 2020 at 11:41:53PM +0100, Jean-Marc Lasgouttes wrote: You did the upgrade to CentOS 6 a while back, didn't you? Obviously, we can't be sure an upgrade to some newer version would go smoothly, but it worked all right last time, yes? All I d

Re: Howto handle spaces in AdvSearch

2020-12-10 Thread Kornel Benko
Am Thu, 10 Dec 2020 13:28:39 + schrieb José Abílio Matos : > On Thursday, December 10, 2020 1:04:33 PM WET Jürgen Spitzmüller wrote: > > I don't think that's the right inference. People are busy. (Personally > > I like the change) > > > > Jürgen > > Or you can use the opposite point of view,

Re: An official GitHub mirror for LyX?

2020-12-10 Thread Jean-Marc Lasgouttes
[going back to lyx-devel] Le 09/12/2020 à 10:00, Yuriy Skalko a écrit : But now Trac works without any server maintainer, right? As I understand Gitea don't require much maintenance. Upgrading it is just replacing one binary and restarting (I have done this several times without any issues) If

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2020 à 14:02, Yuriy Skalko a écrit : And instead of `boost::any` we can use smaller C++11-compatible implementation for older compilers (this is a patch for testing, I'm not sure what will be the right place in 3rdparty to put the header). The is not much to gain with is IMO, until we

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2020 à 14:49, Yuriy Skalko a écrit : Here is more recent page: https://www.boost.org/doc/libs/1_74_0/doc/html/boost_lexical_cast/performance.html As I checked to_string delegtes real work to vsnprintf (at least on mingw). So it should be similar to the last column result. And lookin

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Yuriy Skalko
Patch 1 is fine. Patch 2: did you try to determine whether to_string() is better than using ostringstream<< ? At least some time ago, performance was better with lexical_cast: https://www.boost.org/doc/libs/1_49_0/doc/html/boost_lexical_cast/performance.html JMarc Here is more recent page:

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2020 à 14:16, Jean-Marc Lasgouttes a écrit : Le 10/12/2020 à 13:42, Yuriy Skalko a écrit : Note that, as shown in the new last line, removing lexical_cast _and_ signals2 is the big win here. Here is the first step -- removing lexical_cast. Patch 1 is fine. Patch 2: did you try to d

Re: Howto handle spaces in AdvSearch

2020-12-10 Thread José Abílio Matos
On Thursday, December 10, 2020 1:04:33 PM WET Jürgen Spitzmüller wrote: > I don't think that's the right inference. People are busy. (Personally > I like the change) > > Jürgen Or you can use the opposite point of view, that there is no one sufficiently opposed to the patch to post a message. :-

Re: An official GitHub mirror for LyX?

2020-12-10 Thread Pavel Sanda
On Sun, Dec 06, 2020 at 11:41:53PM +0100, Jean-Marc Lasgouttes wrote: > > You did the upgrade to CentOS 6 a while back, didn't you? Obviously, we > > can't be sure an upgrade to some newer version would go smoothly, but it > > worked all right last time, yes? > > All I did was some upgrades of the

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2020 à 13:42, Yuriy Skalko a écrit : Note that, as shown in the new last line, removing lexical_cast _and_ signals2 is the big win here. Here is the first step -- removing lexical_cast. Patch 1 is fine. Patch 2: did you try to determine whether to_string() is better than using ostr

Re: Howto handle spaces in AdvSearch

2020-12-10 Thread Jürgen Spitzmüller
Am Donnerstag, dem 10.12.2020 um 11:43 +0100 schrieb Kornel Benko: > Apparently nobody cares :( I don't think that's the right inference. People are busy. (Personally I like the change) Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-dev

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Yuriy Skalko
And instead of `boost::any` we can use smaller C++11-compatible implementation for older compilers (this is a patch for testing, I'm not sure what will be the right place in 3rdparty to put the header). Yuriy From 647535bd9a2c70634a5cdd437f8f603b04b14a70 Mon Sep 17 00:00:00 2001 From: Yuriy Ska

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Yuriy Skalko
Note that, as shown in the new last line, removing lexical_cast _and_ signals2 is the big win here. JMarc Here is the first step -- removing lexical_cast. Yuriy From 379ae9e7110b027c647aa4c34b906deeaa87a838 Mon Sep 17 00:00:00 2001 From: Yuriy Skalko Date: Thu, 10 Dec 2020 14:32:55 +0200 Su

Re: Howto handle spaces in AdvSearch

2020-12-10 Thread Kornel Benko
Am Tue, 8 Dec 2020 17:07:51 +0100 schrieb Kornel Benko : > This is a try to allow specific searches for some of our different spaces > also in > regular expressions. > OTOH, as of now '\s' in regex is not yet implemented for spaces like > \thinspace etc. > (One would need to rewrite the regex to

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2020 à 10:35, Jean-Marc Lasgouttes a écrit : Le 10/12/2020 à 09:31, Yuriy Skalko a écrit : Only boost/any.hpp will be unused with C++17 compilers. Maybe we can get rid of boost/lexical_cast.hpp as Jean-Marc suggested. Then we will still have assert, crc and signal. I haven't looked at

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Jean-Marc Lasgouttes
Le 10/12/2020 à 09:31, Yuriy Skalko a écrit : Only boost/any.hpp will be unused with C++17 compilers. Maybe we can get rid of boost/lexical_cast.hpp as Jean-Marc suggested. Then we will still have assert, crc and signal. I haven't looked at assert, but for the rest we can check these alternati

Re: [LyX/master] Reduce the amount of needed boost headers

2020-12-10 Thread Yuriy Skalko
On Wednesday, December 9, 2020 7:26:45 PM WET Jean-Marc Lasgouttes wrote: I aml not sure we can do much more than that. The next possibility would be to get rid of lexical_cast, used for convert<>(). On could use the stream operator >> instead. JMarc I am just curious but if/when we change to