Exporting compressed files

2016-05-27 Thread Andrew Parsloe
I inadvertently tried exporting a compressed 2.2 file to 2.1.4. It was 
not recognised by 2.1.4. When I try exporting an empty 2.2 compressed 
file, it too isn't recognized by 2.1.4, so clearly this is not an 
allowed mode of export. However I can't see anything saying that this 
won't work in the documentation, and I wonder if it *should* be possible 
-- uncompress in the background and then export that? (I have a number 
of older files saved in compressed format which I'm looking at in 2.2 
and saving, but also exporting to 2.1 format to retain a copy I can work 
on in 2.1.4.)


Andrew

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



Merging 2.3-staging

2016-05-27 Thread Scott Kostyshak
Since I've never done this before, can someone confirm that all we have
to do is

git checkout master
git merge 2.3-staging

?

I did this locally and I think it went pretty well. There were three
conflicts, none of which seems complicated to resolve.

Richard since you did the commands for the branching, please feel free
to go ahead with the merging if you feel more confident than I.

Scott


signature.asc
Description: PGP signature


Re: retracting the installer: was: Tarballs for LyX 2.2.0 are on FTP

2016-05-27 Thread Scott Kostyshak
On Sat, May 28, 2016 at 03:36:28AM +0200, Uwe Stöhr wrote:
> Am 27.05.2016 um 09:20 schrieb Scott Kostyshak:
> 
> > > It was more tricky than I thought. However, I solved the problems and
> > > uploaded a new version:
> > > 
> > > http://ftp.lyx.de/LyX%202.2.0/
> 
> Just for information: Today I tested a lot more and despite minir issues
> (e.g. 2 residues after uninstalling LyX) they are performing well. I also
> got positive feedback from users on Win 7 and Win 10 who read this thread.

Good to know. Thanks for this extra testing.

Scott


signature.asc
Description: PGP signature


Re: retracting the installer: was: Tarballs for LyX 2.2.0 are on FTP

2016-05-27 Thread Uwe Stöhr

Am 27.05.2016 um 09:20 schrieb Scott Kostyshak:


It was more tricky than I thought. However, I solved the problems and
uploaded a new version:

http://ftp.lyx.de/LyX%202.2.0/


Just for information: Today I tested a lot more and despite minir issues 
(e.g. 2 residues after uninstalling LyX) they are performing well. I 
also got positive feedback from users on Win 7 and Win 10 who read this 
thread.


regards Uwe


Re: [ANNOUNCE] LyX 2.2.0 Released

2016-05-27 Thread Scott Kostyshak
On Fri, May 27, 2016 at 05:10:15PM -0700, list_em...@icloud.com wrote:
> On May 27, 2016, at 4:55 PM, Scott Kostyshak  wrote:
> 
> > You can download LyX 2.2.0 from https://www.lyx.org/Download/.
> 
> OS X links on this page apparently still point to 2.1.4.

Can you try again Jerry?

Scott


signature.asc
Description: PGP signature


Re: [ANNOUNCE] LyX 2.2.0 Released

2016-05-27 Thread Scott Kostyshak
On Fri, May 27, 2016 at 05:10:15PM -0700, list_em...@icloud.com wrote:
> On May 27, 2016, at 4:55 PM, Scott Kostyshak  wrote:
> 
> > You can download LyX 2.2.0 from https://www.lyx.org/Download/.
> 
> OS X links on this page apparently still point to 2.1.4.

Thanks, I'm updating the website now.

Scott


signature.asc
Description: PGP signature


Re: [ANNOUNCE] LyX 2.2.0 Released

2016-05-27 Thread list_email
On May 27, 2016, at 4:55 PM, Scott Kostyshak  wrote:

> You can download LyX 2.2.0 from https://www.lyx.org/Download/.

OS X links on this page apparently still point to 2.1.4.

Jerry


[ANNOUNCE] LyX 2.2.0 Released

2016-05-27 Thread Scott Kostyshak
Public release of LyX version 2.2.0


We are proud to announce the release of LyX 2.2.0.

With this release, LyX celebrates 20 years of existence. The 2.2 series
has a rich set of new features compared to the current stable series.

LyX 2.2.0 is the culmination of two years of hard work. An overview
of the new features can be found here:
  http://wiki.lyx.org/LyX/NewInLyX22

You can download LyX 2.2.0 from https://www.lyx.org/Download/.

For Windows users, if you installed a pre-release of LyX 2.2.0, you
should uninstall that version before installing this newer release.

We hope you will enjoy the result!

The file lib/RELEASE-NOTES lists some known issues and problems compared
to the current stable releases (LyX 2.1.x). We strongly recommend that
packagers of LyX on various platforms and distributions read this file.

As with any major release, this one comes with a lot of new features but
also some bugs. If you think you have found a bug in LyX 2.2.0, either
email the LyX developers' mailing list (lyx-devel at lists.lyx.org),
or open a bug report at http://www.lyx.org/trac/wiki/BugTrackerHome.

If you have trouble using LyX or have a question, consult the
documentation that comes with LyX (under Help) and the LyX wiki, which you
will find at http://wiki.lyx.org/. You can also send email to the LyX users'
list (lyx-users at lists.lyx.org).

The LyX team.
http://www.lyx.org



signature.asc
Description: PGP signature


Re: [LyX/master] * lib/RELEASE-NOTES

2016-05-27 Thread Guillaume Munch

Le 24/05/2016 09:49, Jean-Marc Lasgouttes a écrit :

Le 24/05/2016 à 00:51, Guillaume Munch a écrit :

Do you know any other bug on Linux+qt5.5.1 than
http://www.lyx.org/trac/ticket/9731 ?

Because on the other hand with qt4 there is the critical
http://www.lyx.org/trac/ticket/9362. I also noticed that lyx is
very slow with qt4 now, with profiling showing that most of the
time is spent in QTextLine::setLineWidth() below
GuiFontMetrics::breakAt(). In fact I find it more annoying than
#9731, so much that I switched to 5.5.1. I wonder whether LyX 2.2
should not be built with qt >= 5.5.1 on Linux when possible.


Could you give more details? I do all my development in 4.8, so I am
a bit surprised. Or maybe I missed how fast it is now with 5.6 :)
Anyway, the new code is faster for me with 4.8 than the old one.


It really feels fast with qt5 :)

The protocol is to change the width of the window (all other things equal).

Qt4: 75% of the time is spent (in number of instructions) inside
QTextEngine::shapeText(). Of these 75%, 2/3 is requested by metrics
calculation (QTextLine::setLineWidth() from GuiFontMetrics::breakAt())
and 1/3 by painting (GuiPainter::text()). Ultimately, 74% of the time
is spent in in FT_Load_Glyph and FT_Render_Glyph from
libfreetype.so.6.12.1 (thus, including the metrics phase).

Qt5: QTextEngine::shapeText() only accounts for 13.22% of the cycles,
and costs 28 times less per call (69729 instructions vs 1932642).
QTextLine::setLineWidth() only costs 4% total. GuiPainter::text() costs
21%, with time spent in a certain QRasterPaintEngine::drawCachedGlyphs().

Conclusion: using QTextLine::setLineWidth() breaking rows is very costly
with qt4.8.7, and much less with qt5. I agree with you that I do not
remember seeing this slowness before, and I do not know what exactly
could trigger this behaviour.

Let me know if you need more details.



For these reasons as well, I am hoping that for 2.3 the community
of LyX developers will choose to focus on qt >= 5.6.


With Ubuntu 14.04 offering 5.2.1 and 16.04 offering 5.5.1, this
seems premature to me, especially when the cost of supporting 4.8 is
low for now as far as I can see. We shall of course remove support
for Qt < 4.8.



Note that, as I wrote on the tracker, the bug that prompted Scott to
recommend qt5.5 probably comes from the same wrong use of
ShortcutOverride, and therefore the requirement for qt5 could be lowered
(I remember that qt5.4 was quite usable without this bug).


Le 24/05/2016 20:40, Jean-Marc Lasgouttes a écrit :

Le 24/05/16 à 21:31, Georg Baum a écrit :

On linux most people do not compile qt themselves, and simply
use the preinstalled version, because it is so much easier. Those
who do compile qt are experts, I trust them to choose a good
version.



Unless the question is choosing between qt4 and qt5 :)


For these reasons as well, I am hoping that for 2.3 the community
of LyX developers will choose to focus on qt >= 5.6.


+1

However, I also agree with Jean-Marc: As long as keeping LyX
compilable with qt 4.8 is close to zero effort we should support
4.8 as in "LyX compiles and does not crash immediately".


I do not mind including the occasional #if #else for Qt4 if this does
not involve much effort. By focusing on qt >= 5.6, I mean that I would
not like to be discouraged from using new features if the opportunity
arises. So, let's keep the door open for discussing dropping qt4.8
once a concrete motivation arises (for instance I was curious about Qt
Quick, but this appears to exist in Qt4.8 already). I also meant that we
can expect to discover many bugs during the ongoing transition to qt5,
especially in the high-dpi category, and qt5.6 is seems very different
from qt5.5 in this area.

I also wonder whether the --enable-qt5 option should be made default
starting from 2.3.



In the foreseeable future, I will compile and use 4.8.x. Actually, I
 have no real incentive to switch to Qt5 in Linux, so I will act as
the resident old-timer, until the cost is too high.


One of my concerns was spending efforts on qt4 compatibility without
anybody to provide feedback during development. Thank you for playing
this necessary role.



I guess that one problem will be with the UI files.



I guess we will have to see.



Guillaume



Re: Tarballs for LyX 2.2.0 are on FTP

2016-05-27 Thread Pavel Sanda
Scott Kostyshak wrote:
> The tarballs for LyX 2.2.0 can be found at
> 
> ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.2/lyx-2.2.0/
> 

quickly tested on ubuntu 12.04 & gentoo x86 and seemed ok. p


Re: retracting the installer: was: Tarballs for LyX 2.2.0 are on FTP

2016-05-27 Thread Scott Kostyshak
On Fri, May 27, 2016 at 03:09:59AM +0200, Uwe Stöhr wrote:
> Am 27.05.2016 um 01:03 schrieb Scott Kostyshak:
> 
> > > I will try to release a new version withing 2 hours or so.
> 
> It was more tricky than I thought. However, I solved the problems and
> uploaded a new version:
> 
> http://ftp.lyx.de/LyX%202.2.0/

Thanks, the new ones are up. We'll announce tomorrow after the mirrors
are updated.

Scott


signature.asc
Description: PGP signature