Accidentally overwrote this commit of Vincent's.
Fix for bug #8939: Don't just close if the user enters a shortcut
that is already assigned.

From new contributor Roy Xia.
* sk.po, new strings
cmake export tests.

Define new policy of what export formats to check.
Depending on default_output_format
default or unset           xhtml, dvi*, pdf*
xhtml                      xhtml
any of pfd variants        xhtml, pdf*
any of dvi variants        xhtml, dvi*
each other (like eps3)     as specified
Remove duplicate call to Cursor::selHandle
Also show boundary when displaying Cursor value.
Fix bug #8837: LyX hangs on selection

The code that checks whether the cursor was at the end of a row in
Cursor::upDowninText was not able to set boundary correctly. This
causes a hang in because the cursor got stuck on a line and there is an
infinite loop BufferView::dispatch when trying to go down.

The fix is to avoid using the watered-down TextMetrics::x2pos wrapper
around getColumnNearX and use the real thing instead.

Eventually, the last user of x2pos (InsetTabular) should be fixed and
the method should go away.
de.po: update
Do not use QProcess::startDetached on Windows

QProcess::startDetached cannot provide environment variables. When the
environment variables are set using the latexEnvCmdPrefix, a console
window is shown every time a viewer is started.

On Windows, this reverts commit 5225821242887ff552b7370df9c830af5f17d3b3.

Fixes: #9035.
Whitespace.
A a copule comments reminding us where preference formats should
be updated.
Re-add removed workaround (fixes #9042).

This code was commented out at [ad94e7bd/lyxgit], since we thought it was not necessary anymore and then removed at [5aede959/lyxgit]. Bug #9042 is the evidence that we were wrong.
Automatic copying and migration of elder user config directories
With a check for platform = darwin this is done on Mac only
Add a comment for the special code on Windows
Fix comparing a pointer with a char

Fixes: #8985.
MacOSX/lyxrc.dist.in: update to Format 14
Windows installer: Fix file format entry for Lilypond-book

In preferences format 7, a mime format is added to the format entry in the
preferences file. If this entry does not exist, LyX cannot read the entry.
Bump RC format for commit 214f7ed2
Windows installer: Bump preferences format
Update po/gmo files