Re: 2.3.0alpha1 tar balls are available
Am 25.04.2017 um 00:32 schrieb Scott Kostyshak: > > On Mon, Apr 24, 2017 at 11:22:11PM +0200, Stephan Witt wrote: >> Am 24.04.2017 um 07:41 schrieb Scott Kostyshak : >>> >>> Dear all, >>> >>> The tar balls and sig files are here: >>> >>> ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0alpha1 >>> >>> Packagers, please prepare your binaries. >>> >>> Non-packagers, please do a quick test of compilation (from the tar ball) >>> and basic functionality on your platform, and let us know how it goes. >>> >>> Thanks, >>> >>> Scott > >> I built it with Qt-5.6.2 and it needs Mac OS X 10.7 at least (Mac OS X Lion). >> I’ve tested it on a Mac OS X 10.8.6 (Mountain Lion). I could open the Users >> Guide >> and view the compiled PDF. > > Do you have a link that reminds me why we use Cocoa instead of Carbon? I > remember you explaining this somewhere but I can't find it. > > Scott Carbon is deprecated for a long time by Apple and current Qt builds are not possible anymore for a long time. See http://doc.qt.io/qt-4.8/developing-on-mac.html for a detailed overview. Qt4 is the latest release supporting Carbon. Furthermore the final 4.8 versions didn’t compile anymore on my current system (Mac OS X 10.11.6). I’ve built the alpha1 disk image with Cocoa only because of missing my old build environment at the moment. I think it is a good test to see if a Carbon build is really useful anymore. Stephan
Re: [patch] support for document class option leqno
On 2017-04-25, Uwe Stöhr wrote: > El 23.04.2017 a las 01:25, Uwe Stöhr escribió: >> Thanks for having a look. That is a good point. I will rename it >> according to your proposal. > This was not necessary because leqno numbers also in Arabic documents at > the left side because the default is the right side. > I chase anyway the name "math_number_before". In this case, shouldn't it be named "right/left", as "before/after" would mean reverse placement (left/right) in RTL languages? Günter
Re: [LyX/master] NEWS: add what's new in LyX 2.3
On Mon, Apr 24, 2017 at 05:24:24PM -0700, Pavel Sanda wrote: > Scott Kostyshak wrote: > > commit ee87a4da2aff7d73374b267988a385ab78cb0c6e > > Author: Scott Kostyshak> > Date: Sun Apr 23 16:32:49 2017 -0400 > > > > NEWS: add what's new in LyX 2.3 > > --- > > NEWS | 37 + > > 1 files changed, 37 insertions(+), 0 deletions(-) > > > > diff --git a/NEWS b/NEWS > > index 9d84a48..600bc79 100644 > > --- a/NEWS > > +++ b/NEWS > > @@ -1,3 +1,40 @@ > > +What's new in version 2.3.0? > > + > > + > > +The new features in LyX 2.3 are detailed in > > +http://wiki.lyx.org/LyX/NewInLyX23 > > + > > +* Biblatex support > > +* Multiple bibliographies > > +* Inverted branches > > +* Quotation marks enhancements > > +* Updates to reference handling > > +* Improved LaTeX handling in dialogs > > +* Fonts > > +* New supported languages > > +* New supported LaTeX commands > > +* Improvements to on-screen display of math equations > > +* Automatic detection of file changes > > +* Citation & reference dialogs > > +* Improvements to cursor movement and selection > > +* Improvements to row breaking and alignment > > +* Outliner and navigation menu > > +* Forward/Reverse search and error reporting > > +* Change tracking > > +* Code preview & highlighting > > +*???Shortcuts > > +*???New or changed LFUNs > > +*???Layout enhancements > > +*???Module enhancements > > +*???External templates reorganization > > +*???New preferences settings > > +*???New converters > > +*???Miscellaneous > > +*???Under the hood > > +*???Backported > > +*???Categories > > I'm not sure about usability of this full list, it used to be > just few bullets to highlight the most important new features. > Pavel Good point. So we should get rid of the ones you marked with ??? ? Scott signature.asc Description: PGP signature
Re: 2.3.0alpha1 tar balls are available
On Tue, Apr 25, 2017 at 01:39:02AM +0200, Uwe Stöhr wrote: > El 24.04.2017 a las 07:41, Scott Kostyshak escribió: > > > Packagers, please prepare your binaries. > > I cannot build from this: > > Using icon defined in resource file: > D:/LyXGit/LyX23/development/cmake/lyx.rc > CMake Error: File D:/LyXGit/LyX23/lib/scripts/prefTest.pl.in does not exist. > CMake Error at lib/scripts/CMakeLists.txt:12 (configure_file): > configure_file Problem configuring file > > And indeed prefTest.pl.inis not in the tar.xz file > > Using the file from aster leads me to the next error: > > The source directory > > D:/LyXGit/LyX23/3rdparty/mythes > > does not contain a CMakeLists.txt file. > > And indeed, the file is missing. > > regards Uwe OK. Since we won't be able to make a Windows build for alpha1, I think we should announce alpha1 now, and figure out building from the tar in the meantime and get things ready for beta1. Thus, there would be no Windows binaries for alpha1. Thoughts? Scott signature.asc Description: PGP signature
Re: 2.3.0alpha1 tar balls are available
On Mon, Apr 24, 2017 at 05:53:29PM -0700, Pavel Sanda wrote: > Scott Kostyshak wrote: > > Dear all, > > > > The tar balls and sig files are here: > > > > ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0alpha1 > > > > Packagers, please prepare your binaries. > > Successfully built & run on (outdated) gentoo system. > > I did not follow closely the python threads, but is my understanding correct > that we support python 3 now? And python 2.7 is expected default? > I could not find hint about that in RELEASE-NOTES. Yes this is missing. José I think you have a good overview of the situation. Can you add a note to RELEASE-NOTES? Scott signature.asc Description: PGP signature
Re: [patch] support for document class option leqno
El 23.04.2017 a las 01:25, Uwe Stöhr escribió: Thanks for having a look. That is a good point. I will rename it according to your proposal. This was not necessary because leqno numbers also in Arabic documents at the left side because the default is the right side. I chase anyway the name "math_number_before". OK, so I will put it in after alpha 1 and move the mathindent fields to the math panel in another commit (I hope there is enough space). Done. regards Uwe
Re: 2.3.0alpha1 tar balls are available
Scott Kostyshak wrote: > Dear all, > > The tar balls and sig files are here: > > ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0alpha1 > > Packagers, please prepare your binaries. Successfully built & run on (outdated) gentoo system. I did not follow closely the python threads, but is my understanding correct that we support python 3 now? And python 2.7 is expected default? I could not find hint about that in RELEASE-NOTES. Pavel
Re: [LyX/master] NEWS: add what's new in LyX 2.3
Scott Kostyshak wrote: > commit ee87a4da2aff7d73374b267988a385ab78cb0c6e > Author: Scott Kostyshak> Date: Sun Apr 23 16:32:49 2017 -0400 > > NEWS: add what's new in LyX 2.3 > --- > NEWS | 37 + > 1 files changed, 37 insertions(+), 0 deletions(-) > > diff --git a/NEWS b/NEWS > index 9d84a48..600bc79 100644 > --- a/NEWS > +++ b/NEWS > @@ -1,3 +1,40 @@ > +What's new in version 2.3.0? > + > + > +The new features in LyX 2.3 are detailed in > +http://wiki.lyx.org/LyX/NewInLyX23 > + > +* Biblatex support > +* Multiple bibliographies > +* Inverted branches > +* Quotation marks enhancements > +* Updates to reference handling > +* Improved LaTeX handling in dialogs > +* Fonts > +* New supported languages > +* New supported LaTeX commands > +* Improvements to on-screen display of math equations > +* Automatic detection of file changes > +* Citation & reference dialogs > +* Improvements to cursor movement and selection > +* Improvements to row breaking and alignment > +* Outliner and navigation menu > +* Forward/Reverse search and error reporting > +* Change tracking > +* Code preview & highlighting > +*???Shortcuts > +*???New or changed LFUNs > +*???Layout enhancements > +*???Module enhancements > +*???External templates reorganization > +*???New preferences settings > +*???New converters > +*???Miscellaneous > +*???Under the hood > +*???Backported > +*???Categories I'm not sure about usability of this full list, it used to be just few bullets to highlight the most important new features. Pavel
Re: focus-handling
mn wrote: > The blinking cursor should always indicate where keyboard action would > have consequences. > This seems to be a general issue since similar behavior also impedes > working with other panels, like find and spell checking. > > Is this now working as designed, i.e. intended? Surely not intended. P
Re: [patch] for LyX 2.2.3 - fix 2 errors in lyx2lyx
Kornel Benko wrote: > Am Samstag, 15. April 2017 um 22:21:04, schrieb Richard Heck> > On 04/15/2017 02:06 PM, Uwe Stöhr wrote: > > > Hi Richard, > > > > > > the attached patch fixes 2 lyx2lyx issues in the box reversion > > > routines. Could this please go in for LyX 2.2.3? > > > > OK. > > > > rh > > -1 > Unless the export of examples/PDF-form.lyx to format lyx21 is loadable again. Was this fixed? P
Re: [patch] for LyX 2.2.3 - box reversion lyx2lyx
El 24.04.2017 a las 17:31, Richard Heck escribió: OK. It is in. regards Uwe
Re: 2.3.0alpha1 tar balls are available
El 24.04.2017 a las 07:41, Scott Kostyshak escribió: Packagers, please prepare your binaries. I cannot build from this: Using icon defined in resource file: D:/LyXGit/LyX23/development/cmake/lyx.rc CMake Error: File D:/LyXGit/LyX23/lib/scripts/prefTest.pl.in does not exist. CMake Error at lib/scripts/CMakeLists.txt:12 (configure_file): configure_file Problem configuring file And indeed prefTest.pl.inis not in the tar.xz file Using the file from aster leads me to the next error: The source directory D:/LyXGit/LyX23/3rdparty/mythes does not contain a CMakeLists.txt file. And indeed, the file is missing. regards Uwe
Re: [LyX/master] keytests: small improvements in test speed
On 24/04/2017 17:43, Kornel Benko wrote: commit 54f2d0ee22ef308d42ba37460b18637267a7f35f Author: Kornel BenkoDate: Mon Apr 24 17:43:39 2017 +0200 keytests: small improvements in test speed ahah :-)! tests are lightning fast now, and still succeed! (if it were not for the save dialog that stays open for an extended time before keytest kills lyx, see my other message about window_name in keytest.py et al.). Thanks, T.
Re: keytest.py
Hi, On 23/04/2017 16:29, Kornel Benko wrote: \Cq\[Escape] can't remember why I had the window name explicit in keytest. Do you mind trying out the attached one, that removes that ? The window name forces keys to be sent to the main LyX window, so whenever there's a dialog, keytest.py fails to send the key to the dialog, so it's impossible to dismiss it or anything. Leaving out that parameter, it seems now keys reach the right window with focus within the process. Also, I'm trying again to close tests with \Cq\[Tab]\[Enter] which chooses the middle "Discard" button in case a dialog asking to save shows up. Thanks, T. diff --git a/development/autotests/keytest.py b/development/autotests/keytest.py index 97166847..361d4079 100755 --- a/development/autotests/keytest.py +++ b/development/autotests/keytest.py @@ -241,7 +241,8 @@ def sendKeystring(keystr, LYX_PID): xvpar.extend(["-xsendevent"]) if xvkbd_hacked: xvpar.extend(["-wait_idle", lyx_pid]) -xvpar.extend(["-window", lyx_window_name, "-delay", actual_delay, "-text", keystr]) +#xvpar.extend(["-window", lyx_window_name, "-delay", actual_delay, "-text", keystr]) +xvpar.extend(["-delay", actual_delay, "-text", keystr]) subprocess.call(xvpar, stdout = FNULL, stderr = FNULL) @@ -441,7 +442,7 @@ while not failed: sendKeystring("\Ax\[Escape]", lyx_pid) # now we should be outside any dialog # and so the function lyx-quit should work -sendKeystring("\Cq", lyx_pid) +sendKeystring("\Cq\[Tab]\[Enter]", lyx_pid) time.sleep(0.5) if lyx_sleeping(): # probably waiting for Save/Discard/Abort, we select 'Discard'
Re: proper way to check inclusion among DocIterator ?
On 24/04/2017 21:54, Jean-Marc Lasgouttes wrote: Le 21/04/17 à 01:15, Tommaso Cucinotta a écrit : Hi, is there an easy way to check whether a DocIterator d is positioned within two others a and b ? (that is, going through the document using forwardPos(), one encounters a, then d, then b). AFAIU, DocIterator::operator() just compares nesting levels, but no pos() nor pit() etc. Do you mean DocIterator::operator<() ? It seems to me that it does what you need, doesn't it? yes it does, along with CursorSlice::operator<() :-), let me see what I can do with #8381 now! Thanks! T.
Re: [LyX/master] BufferParams: get rid of the HSpace class for mathindent as requested by JMarc
Le 20/04/17 à 23:17, Uwe Stöhr a écrit : In your changes you reverted the allowMathIndent() routine in GuiDocument. This is necessary because now we have a bug: - set default math indent - now change to custom and input a length and press Apply - now uncheck "Indent Formulas" result: the length fields are still active. I am tending to re-introduce allowMathIndent() therefore. I removed that by mistake. JMarc
Re: proper way to check inclusion among DocIterator ?
Le 21/04/17 à 01:15, Tommaso Cucinotta a écrit : Hi, is there an easy way to check whether a DocIterator d is positioned within two others a and b ? (that is, going through the document using forwardPos(), one encounters a, then d, then b). AFAIU, DocIterator::operator() just compares nesting levels, but no pos() nor pit() etc. Do you mean DocIterator::operator<() ? It seems to me that it does what you need, doesn't it? JMarc
Re: [PATCH] weird warnings from coverity
Le 22/04/17 à 09:26, Liviu Andronic a écrit : I still think this is a bug/shortcoming of coverity. I should not have to do that. In such cases maybe we should just flag it as a false positive then. This is what I had done. However, I think that changing the code in a reasonable way and indicating in a comment that this pleases coverity is better that losing sleep on a ad number in the coverity summary report :) JMarc
Re: [LyX/master] Update the formats of lyxrc.dist.in to 21
Am Montag, den 24.04.2017, 01:21 -0400 schrieb Scott Kostyshak: > Jürgen, can you confirm the added "No conversion necessary" comment? Yes, confirmed. Jürgen signature.asc Description: This is a digitally signed message part
Re: Do we need AM_PYTHON_CHECK_VERSION ?
On Monday, 24 April 2017 17.00.05 WEST Jean-Marc Lasgouttes wrote: > Hi there, > > We have this in lyxinclude.m4. Do we still need it? I cannot find a > trace of this code in configure. > > JMarc > > # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], > [ACTION-IF-FALSE]) > # > --- > # Copied from autoconf 2.68, added a check that python version is < 3.0 > # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. > # Run ACTION-IF-FALSE otherwise. > # This test uses sys.hexversion instead of the string equivalent (first > # word of sys.version), in order to cope with versions such as 2.2c1. > # This supports Python 2.0 or higher. (2.0 was released on October 16, > 2000). > AC_DEFUN([AM_PYTHON_CHECK_VERSION], > [prog="import sys > # split strings by '.' and convert to numeric. Append some zeros > # because we need at least 4 digits for the hex conversion. > # map returns an iterator in Python 3.0 and a list in 2.x > minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] > minverhex = 0 > maxverhex = 50331648 # = 3.0.0.0 > # xrange is not present in Python 3.0 and range returns an iterator > for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] > sys.exit(sys.hexversion < minverhex or sys.hexversion >= maxverhex)" >AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) I suspect not. :-) If we need to request the python version then the following code works both on python 2 (starting from 2.0) and 3: $ python2 -c 'import sys; print(sys.version_info[:3])' (2, 7, 13) $ python3 -c 'import sys; print(sys.version_info[:3])' (3, 6, 1) Regards, -- José Abílio
LyX 2.2.3
Since the 2.3-alpha tarballs were imminent, I decided to delay producing the 2.2.3 tarballs for a bit. I'll build them once alpha is out. Richard
Do we need AM_PYTHON_CHECK_VERSION ?
Hi there, We have this in lyxinclude.m4. Do we still need it? I cannot find a trace of this code in configure. JMarc # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) # --- # Copied from autoconf 2.68, added a check that python version is < 3.0 # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. # Run ACTION-IF-FALSE otherwise. # This test uses sys.hexversion instead of the string equivalent (first # word of sys.version), in order to cope with versions such as 2.2c1. # This supports Python 2.0 or higher. (2.0 was released on October 16, 2000). AC_DEFUN([AM_PYTHON_CHECK_VERSION], [prog="import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] minverhex = 0 maxverhex = 50331648 # = 3.0.0.0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[[i]] sys.exit(sys.hexversion < minverhex or sys.hexversion >= maxverhex)" AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
Re: 2.3.0alpha1 tar balls are available
Le 24/04/2017 à 07:41, Scott Kostyshak a écrit : Non-packagers, please do a quick test of compilation (from the tar ball) and basic functionality on your platform, and let us know how it goes. Dear Scott, it works here on my ancient ubuntu 12.04. JMarc
Re: [patch] for LyX 2.2.3 - box reversion lyx2lyx
OK. On 04/20/2017 07:11 PM, Uwe Stöhr wrote: > El 17.04.2017 a las 05:30, Uwe Stöhr escribió: > >> the attached patch fixes several box reversion issues in lyx2lyx. >> Scott could verify that the conversion to LyX 2.1.x works now as >> expected. > > Hi Richard, > > this patch fixed some issues but Math.lyx uncovered an issue that I > introduced with this patch. > Attached is the patch for LyX 2.2.3 that allows to revert Math.lyx again. > > sorry and regards > Uwe
Re: updatelayouts.py broken?
On Mon, Apr 24, 2017 at 10:50:48AM +0200, Kornel Benko wrote: > Am Montag, 24. April 2017 um 01:46:21, schrieb Scott Kostyshak >> > I use > > > > development/tools/updatelayouts.py > > > > to easily update the format of our layout files. The script no longer > > works for me. I wonder if the script needs to be updated after 77511ea1 > > (I think the call to layout2layout is now incorrect). I tried to update > > it myself, but my Python skills aren't even hackish enough to fix it > > with trial and error. > > > > This issue is not urgent at all. I can update the layout files with a > > find -exec and calling layout2layout directly. > > > > An alternative to the script being broken is that I just don't know how > > to call it correctly. Jürgen updated all layouts at a3315733 (which is > > more recent than 77511ea1), but perhaps he used a find -exec also? > > > > Scott > > Branch master: > It works here. Python 2.7. But all layouts are already updated (Format 63). Thanks for testing. It's probably an error on my side then. Scott signature.asc Description: PGP signature
Re: [LyX/master] Back to development
On Mon, Apr 24, 2017 at 12:46:05AM -0700, Kornel Benko wrote: > Am Montag, 24. April 2017 um 07:10:32, schrieb Scott Kostyshak >> > commit 5a7e08c9a94cc92104372c3d207ddf767540bba1 > > Author: Scott Kostyshak > > Date: Mon Apr 24 00:05:15 2017 -0400 > > > > Back to development > > So master is open again? Yes, thanks for the reminder. Scott signature.asc Description: PGP signature
master is open
Master is open for post-alpha1 commits. Scott signature.asc Description: PGP signature
Re: updatelayouts.py broken?
Am Montag, 24. April 2017 um 01:46:21, schrieb Scott Kostyshak> I use > > development/tools/updatelayouts.py > > to easily update the format of our layout files. The script no longer > works for me. I wonder if the script needs to be updated after 77511ea1 > (I think the call to layout2layout is now incorrect). I tried to update > it myself, but my Python skills aren't even hackish enough to fix it > with trial and error. > > This issue is not urgent at all. I can update the layout files with a > find -exec and calling layout2layout directly. > > An alternative to the script being broken is that I just don't know how > to call it correctly. Jürgen updated all layouts at a3315733 (which is > more recent than 77511ea1), but perhaps he used a find -exec also? > > Scott Branch master: It works here. Python 2.7. But all layouts are already updated (Format 63). Kornel signature.asc Description: This is a digitally signed message part.
Re: [LyX/master] Back to development
Am Montag, 24. April 2017 um 07:10:32, schrieb Scott Kostyshak> commit 5a7e08c9a94cc92104372c3d207ddf767540bba1 > Author: Scott Kostyshak > Date: Mon Apr 24 00:05:15 2017 -0400 > > Back to development So master is open again? Kornel signature.asc Description: This is a digitally signed message part.
Re: 2.3.0alpha1 tar balls are available
Am 24.04.2017 um 07:41 schrieb Scott Kostyshak: > > Dear all, > > The tar balls and sig files are here: > > ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.3/lyx-2.3.0alpha1 > > Packagers, please prepare your binaries. > > Non-packagers, please do a quick test of compilation (from the tar ball) > and basic functionality on your platform, and let us know how it goes. > > Thanks, > > Scott I’m able to build LyX-2.3.0alpha1 from this tar ball. I’m doing some tests now and will upload disk image later today. Stephan
Re: should wiki uploads be https by default?
On Mon, Apr 24, 2017 at 01:57:13AM -0400, Scott Kostyshak wrote: > I wanted to make > > https://wiki.lyx.org/Windows/Windows > > a "secure" connection (according to the definition of Chromium and > Firefox) but it has the following image in it: > > http://wiki.lyx.org/uploads/Windows/lyxwin.png > > Can we change that to be https by default? > > In the Wiki it is entered as: > > [[uploads:/Windows/lyxwin.png |uploads:/Windows/lyxwin.png"Main window > screenshot"]] I have the same comment for https://www.lyx.org/Download We have e.g. the Windows icon as: http://www.lyx.org/images/oswin.gif In the source, it is written as %lfloat% images:oswin.gif Scott signature.asc Description: PGP signature