]> git.lyx.org Git - lyx.git/log
lyx.git
5 years agoANNOUNCE updates. 2.3.1-1 2.3.1-1
Richard Kimberly Heck [Sat, 29 Sep 2018 22:06:00 +0000 (18:06 -0400)]
ANNOUNCE updates.

5 years agoFix mingw build script so as not to use version number for exectuables.
Richard Kimberly Heck [Sat, 29 Sep 2018 21:44:25 +0000 (17:44 -0400)]
Fix mingw build script so as not to use version number for exectuables.

5 years agoVersion number for this release.
Richard Kimberly Heck [Sat, 29 Sep 2018 21:35:08 +0000 (17:35 -0400)]
Version number for this release.

5 years agoTry to make Windows use a versioned directory for the user dir.
Richard Kimberly Heck [Sat, 29 Sep 2018 21:26:14 +0000 (17:26 -0400)]
Try to make Windows use a versioned directory for the user dir.

(cherry picked from commit 802fd7932b713ee80bf384facd45f45a5ac22de4)

5 years agoFix for bug #11210, from Enrico.
Richard Kimberly Heck [Thu, 27 Sep 2018 18:53:39 +0000 (14:53 -0400)]
Fix for bug #11210, from Enrico.

(cherry picked from commit 366bed642de2257c4ff89696de8da93aba56b3ef)

5 years agoDebugging, etc, for build script. 2.3.1
Richard Kimberly Heck [Sat, 8 Sep 2018 18:24:49 +0000 (14:24 -0400)]
Debugging, etc, for build script.

5 years agoNew version of Windows installer.
Richard Kimberly Heck [Thu, 6 Sep 2018 17:35:43 +0000 (13:35 -0400)]
New version of Windows installer.

5 years agoRevert "Attempt to fix bug 9158 using updateBuffer."
Richard Kimberly Heck [Sun, 2 Sep 2018 01:48:48 +0000 (21:48 -0400)]
Revert "Attempt to fix bug 9158 using updateBuffer."

This reverts commit fe246160603786a9d299755d88eabd3d7ce5439e.

5 years agoRevert "Use separate BibInfo for child"
Richard Kimberly Heck [Sun, 2 Sep 2018 01:47:23 +0000 (21:47 -0400)]
Revert "Use separate BibInfo for child"

This reverts commit cfce0ac009e8820df79d845c2b0c237cbd441dcb.

5 years agoRevert "amend cfce0ac0"
Richard Kimberly Heck [Sun, 2 Sep 2018 01:47:20 +0000 (21:47 -0400)]
Revert "amend cfce0ac0"

This reverts commit 9c1ac5e6d9a2e18656212d8a2b54b9d12a47c6c9.

5 years agoRevert "Prevent that a full source preview of a child clears the master's bibfiles...
Richard Kimberly Heck [Sun, 2 Sep 2018 01:47:11 +0000 (21:47 -0400)]
Revert "Prevent that a full source preview of a child clears the master's bibfiles cache."

This reverts commit 4ce9e61ab137706de57a856fab3b5f9af237e5a4.

5 years agoRemove MiKTeX update warning and update version etc.
Richard Kimberly Heck [Thu, 30 Aug 2018 20:06:15 +0000 (16:06 -0400)]
Remove MiKTeX update warning and update version etc.

5 years agoUpdates to cmake scripts needed to build with mingw on Fedora.
Richard Kimberly Heck [Thu, 30 Aug 2018 19:28:13 +0000 (15:28 -0400)]
Updates to cmake scripts needed to build with mingw on Fedora.

These are not really right. Things are hardcoded that probably should
not be. These are marked (hopefully) with "# RKH" comments. Possibly
what's needed is another flag? Anyway, help welcome.

5 years agoResource icons for Windows.
Richard Kimberly Heck [Thu, 30 Aug 2018 19:17:27 +0000 (15:17 -0400)]
Resource icons for Windows.

5 years agoPackaging updates from 2.3.0.
Richard Kimberly Heck [Thu, 30 Aug 2018 19:14:06 +0000 (15:14 -0400)]
Packaging updates from 2.3.0.

5 years agoUpdates to build script.
Richard Kimberly Heck [Thu, 30 Aug 2018 19:08:47 +0000 (15:08 -0400)]
Updates to build script.

5 years agoFixes for the README file, from Joel Kulesza.
Richard Kimberly Heck [Tue, 28 Aug 2018 19:28:39 +0000 (15:28 -0400)]
Fixes for the README file, from Joel Kulesza.

Fixes #11250.

5 years agoNotes related to bug #11216.
Richard Kimberly Heck [Tue, 28 Aug 2018 19:22:50 +0000 (15:22 -0400)]
Notes related to bug #11216.

5 years agoFixes for the build script.
Richard Kimberly Heck [Tue, 28 Aug 2018 19:18:53 +0000 (15:18 -0400)]
Fixes for the build script.

5 years agoPrepare for 2.3.1.
Richard Kimberly Heck [Mon, 27 Aug 2018 18:06:46 +0000 (14:06 -0400)]
Prepare for 2.3.1.

5 years agoFix credits entry
Juergen Spitzmueller [Mon, 20 Aug 2018 07:34:53 +0000 (09:34 +0200)]
Fix credits entry

5 years agozh_CN.po: update from Winfred
Juergen Spitzmueller [Mon, 20 Aug 2018 06:41:03 +0000 (08:41 +0200)]
zh_CN.po: update from Winfred

5 years agoFix line break in tooltip
Juergen Spitzmueller [Fri, 17 Aug 2018 08:32:57 +0000 (10:32 +0200)]
Fix line break in tooltip

Fixes: #11252
(cherry picked from commit 6d71b9b69a0166fbc95b8c356e355924b4b73ce0)

5 years agoRemerge hu.po
Pavel Sanda [Sun, 19 Aug 2018 23:25:45 +0000 (01:25 +0200)]
Remerge hu.po

5 years agohu.po - fix several errs.
Pavel Sanda [Sun, 19 Aug 2018 23:23:15 +0000 (01:23 +0200)]
hu.po - fix several errs.

hu.po:13448: warning: internationalized messages should not contain the '\a' escape sequence
...

5 years ago* hu.po - small update from Alex (including layouttranslations fixes)
Pavel Sanda [Sun, 19 Aug 2018 23:14:33 +0000 (01:14 +0200)]
* hu.po - small update from Alex (including layouttranslations fixes)

5 years agoFix bug #11247
Enrico Forestieri [Fri, 17 Aug 2018 20:28:03 +0000 (22:28 +0200)]
Fix bug #11247

async is a reserved keyword in python 3.7

(cherry picked from commit 061cd7fd9ca002c8935dbb6cd5b19c2725c3f1f5)

5 years agoRevert "Hungarian translations from Alex."
Richard Kimberly Heck [Sat, 18 Aug 2018 18:36:34 +0000 (14:36 -0400)]
Revert "Hungarian translations from Alex."

Already committed in what seems a slightly newer version?

This reverts commit e5d5460673fd406e08bddb223006f0df97183ba2.

5 years agoHungarian translations from Alex.
Richard Kimberly Heck [Sat, 18 Aug 2018 18:30:31 +0000 (14:30 -0400)]
Hungarian translations from Alex.

5 years agohu.po: update by Alex
Juergen Spitzmueller [Sat, 18 Aug 2018 13:10:48 +0000 (15:10 +0200)]
hu.po: update by Alex

5 years agoRemerge strings.
Richard Kimberly Heck [Thu, 9 Aug 2018 17:10:09 +0000 (13:10 -0400)]
Remerge strings.

5 years agoUpdate sk.po
Kornel Benko [Wed, 8 Aug 2018 11:51:14 +0000 (13:51 +0200)]
Update sk.po

5 years agoFix LyX server on Windows
Enrico Forestieri [Tue, 7 Aug 2018 15:56:07 +0000 (17:56 +0200)]
Fix LyX server on Windows

On some recent Windows versions, GetLastError() may also return
NO_ERROR instead of ERROR_IO_PENDING during an overlapped write
operation to a pipe. This was confusing the state machine in
Server.cpp so that replies to commands were scheduled but were
never actually output.

(cherry picked from commit cf5f2661dc0a902e541704172ab369ba3e5a54d6)

5 years agoUpdate the server_monitor example client to Qt5
Enrico Forestieri [Tue, 7 Aug 2018 15:47:50 +0000 (17:47 +0200)]
Update the server_monitor example client to Qt5

(cherry picked from commit ab72f9459501838f01f993c584c450997355678e)

5 years agoru.po: update by Yuriy
Juergen Spitzmueller [Sun, 5 Aug 2018 06:00:25 +0000 (08:00 +0200)]
ru.po: update by Yuriy

5 years agoUpdate it.po
Enrico Forestieri [Sat, 4 Aug 2018 13:47:33 +0000 (15:47 +0200)]
Update it.po

5 years agoRevert "Do not increment start for find(phrase) while looping over phrases"
Kornel Benko [Sat, 4 Aug 2018 11:36:38 +0000 (13:36 +0200)]
Revert "Do not increment start for find(phrase) while looping over phrases"

This reverts commit e7b3b62b0bf9a9f611bf8021556b8584ac0115c3.
The 'for phrase in' loop is organized differently to master.

Thanks Enrico

5 years agouk.po: more update by Yuri
Juergen Spitzmueller [Sat, 4 Aug 2018 05:41:03 +0000 (07:41 +0200)]
uk.po: more update by Yuri

5 years agode.po: update
Juergen Spitzmueller [Sat, 4 Aug 2018 05:20:44 +0000 (07:20 +0200)]
de.po: update

5 years agoresync po files
Juergen Spitzmueller [Sat, 4 Aug 2018 05:17:19 +0000 (07:17 +0200)]
resync po files

5 years agouk.po: Update by Yuri
Juergen Spitzmueller [Sat, 4 Aug 2018 05:11:02 +0000 (07:11 +0200)]
uk.po: Update by Yuri

5 years agoDo not increment start for find(phrase) while looping over phrases
Kornel Benko [Thu, 2 Aug 2018 20:51:36 +0000 (22:51 +0200)]
Do not increment start for find(phrase) while looping over phrases

The increment will be done at the end of the for-loop.

(cherry picked from commit a96845660eccd9feee738e56215377ac14a41ceb)

5 years agoChange size policy of buffer combo in refs dialog
Juergen Spitzmueller [Thu, 2 Aug 2018 07:08:11 +0000 (09:08 +0200)]
Change size policy of buffer combo in refs dialog

Fixes: #9316
(cherry picked from commit b286c6d23578e06500504e16980b99c1ed84fa81)

5 years agoru.po: update from Yuriy
Juergen Spitzmueller [Fri, 3 Aug 2018 15:08:21 +0000 (17:08 +0200)]
ru.po: update from Yuriy

5 years agoUpdate sk.po
Kornel Benko [Fri, 3 Aug 2018 06:21:53 +0000 (08:21 +0200)]
Update sk.po

5 years agoFix problem of unwanted spaces caused by macro definitions
Juergen Spitzmueller [Sun, 29 Jul 2018 13:16:44 +0000 (15:16 +0200)]
Fix problem of unwanted spaces caused by macro definitions

Patch by Gilbert J. M. Forkel

Fixes: #11216
(cherry picked from commit 372712cfd99269cfcaf57ebb86048c1457e38075)

5 years agoFix bug #11214
Enrico Forestieri [Sat, 28 Jul 2018 21:27:43 +0000 (23:27 +0200)]
Fix bug #11214

The checkProg() function was separating a command from its parameters
by splitting at the first space. This was a problem if the command
was specified with a full path containing spaces. Now the checkProg()
function separates a command from the parameters by splitting at the
first non-quoted space. So, it suffices quoting a path to solve the
issue.

5 years agoAdd Winfred Huang to the Credits
Juergen Spitzmueller [Sat, 28 Jul 2018 07:33:43 +0000 (09:33 +0200)]
Add Winfred Huang to the Credits

(cherry picked from commit df33cc3334c24911eb9c7eba39bea99d32ace399)

5 years agoru.po: another update from Yuriy
Juergen Spitzmueller [Fri, 27 Jul 2018 12:10:43 +0000 (14:10 +0200)]
ru.po: another update from Yuriy

5 years agoFix austrian language code
Juergen Spitzmueller [Wed, 25 Jul 2018 12:59:21 +0000 (14:59 +0200)]
Fix austrian language code

(cherry picked from commit b12ea3b7312d713e9987153c3555f56190ec6143)

5 years agozh_CN: update from Winfred Huang
Juergen Spitzmueller [Wed, 25 Jul 2018 13:41:57 +0000 (15:41 +0200)]
zh_CN: update from Winfred Huang

5 years agoru.po: update by Yuriy
Juergen Spitzmueller [Mon, 23 Jul 2018 08:12:29 +0000 (10:12 +0200)]
ru.po: update by Yuriy

5 years ago(a)mend edb2d1412482bd
Juergen Spitzmueller [Sat, 21 Jul 2018 16:33:49 +0000 (18:33 +0200)]
(a)mend edb2d1412482bd

(cherry picked from commit 0bf7b3211d89b117993c10389d872f7460ea1502)

5 years agoSet RTL tooltips RTL
Juergen Spitzmueller [Sat, 21 Jul 2018 16:23:47 +0000 (18:23 +0200)]
Set RTL tooltips RTL

Fixes: #10672
(cherry picked from commit edb2d1412482bdf302fd0902778433f96a4c2ed4)

5 years agoFix nesting problem with numbers in RTL text
Juergen Spitzmueller [Sat, 21 Jul 2018 13:50:35 +0000 (15:50 +0200)]
Fix nesting problem with numbers in RTL text

\textcolor must precede any \beginL

Fixes: #6283
(cherry picked from commit 114ebf00c4f12c8acf39b52e057f9a63a98dd58b)

5 years agoFix bracket output in RTL languages
Juergen Spitzmueller [Sun, 15 Jul 2018 12:26:29 +0000 (14:26 +0200)]
Fix bracket output in RTL languages

This is a real mess!

Fixes: #11187
(cherry picked from commit 195f62ac9322285bf4c6e16ec5081cc4c216e066)

5 years agoFix quotation marks in RTL script
Juergen Spitzmueller [Sun, 15 Jul 2018 10:11:10 +0000 (12:11 +0200)]
Fix quotation marks in RTL script

Fixes: #11188
(cherry picked from commit aa1d9638febccb8d9ac20548f7097dd2be440d63)

5 years agoFix command line output of convertDefault.py for ImageMagick
Juergen Spitzmueller [Fri, 13 Jul 2018 08:20:26 +0000 (10:20 +0200)]
Fix command line output of convertDefault.py for ImageMagick

Part of #11186

(cherry picked from commit 1e5acc5656431e124cd404d49274edc272c4eb1e)

5 years agoUse QMessageBox for toggleWarning if possible
Juergen Spitzmueller [Tue, 10 Jul 2018 13:00:25 +0000 (15:00 +0200)]
Use QMessageBox for toggleWarning if possible

Qt 5.2 introduces the possibility to place a checkbox on a QMessageBox,
so we need no longer to use our own crude dialog.

(cherry picked from commit 0148ef7e6c2f01ce96b91567af5e2b160f9d070a)

5 years agoFix creationCode() of GuiPrintNomencl
Juergen Spitzmueller [Tue, 10 Jul 2018 09:01:49 +0000 (11:01 +0200)]
Fix creationCode() of GuiPrintNomencl

This fixes "New Inset" in that dialog.

Candidate for stable

(cherry picked from commit d2afa67da91dd2371fd78516882f7f603fa4ab8b)

5 years agoUpdate sk.po
Kornel Benko [Sat, 7 Jul 2018 09:38:13 +0000 (11:38 +0200)]
Update sk.po

5 years ago* cs.po
Pavel Sanda [Sat, 7 Jul 2018 09:28:57 +0000 (11:28 +0200)]
* cs.po

5 years agodtk.layout: Remove secondary dependencies due to change in TL2018
Kornel Benko [Thu, 5 Jul 2018 15:53:15 +0000 (17:53 +0200)]
dtk.layout: Remove secondary dependencies due to change in TL2018

(cherry picked from commit 650ef5f1cbd56a3f763e04b6bee4fd6b1d325d32)

5 years agoUpdate elsarticle entry in LaTeXConfig
Juergen Spitzmueller [Thu, 5 Jul 2018 17:28:15 +0000 (19:28 +0200)]
Update elsarticle entry in LaTeXConfig

(cherry picked from commit 73e0a6c4d57c090cb72ea63f771fa49c55ad30fc)

5 years agoFix typo
Juergen Spitzmueller [Thu, 5 Jul 2018 15:52:28 +0000 (17:52 +0200)]
Fix typo

5 years agoUpdate sk.po
Kornel Benko [Wed, 4 Jul 2018 17:34:11 +0000 (19:34 +0200)]
Update sk.po

5 years ago* cs.po
Pavel Sanda [Wed, 4 Jul 2018 16:58:14 +0000 (18:58 +0200)]
* cs.po

5 years agoDo not force lfun argument to be pure ascii
Jean-Marc Lasgouttes [Mon, 2 Jul 2018 08:49:58 +0000 (10:49 +0200)]
Do not force lfun argument to be pure ascii

Fixes bug #11167.

(cherry picked from commit 8e015f3cb2879f625895cee10a19ec5796027d44)

5 years agoDo not allow completion when there is an active selection
Jean-Marc Lasgouttes [Tue, 3 Jul 2018 14:53:15 +0000 (16:53 +0200)]
Do not allow completion when there is an active selection

We do it in texted only, mathed is more difficult and not so relevant IMO.

(cherry picked from commit 789acb4a9517c7da0d70e3e473cc98d18eed7b00)

5 years agoFix another encoding problem in ja/
Juergen Spitzmueller [Tue, 3 Jul 2018 10:36:29 +0000 (12:36 +0200)]
Fix another encoding problem in ja/

(cherry picked from commit 68f6c671c53d4830ece86a07b5d551b0e2f7dab2)

5 years agoFix input encoding issue with German example text
Juergen Spitzmueller [Tue, 3 Jul 2018 09:31:39 +0000 (11:31 +0200)]
Fix input encoding issue with German example text

pLaTeX requires SJIS encoding, so only ASCII latin is possible.

(cherry picked from commit 1a96b0d184c435bb004da53f8f70c6422b69b888)

5 years agoHandle correctly zero table special arguments.
Juergen Spitzmueller [Tue, 26 Jun 2018 08:51:16 +0000 (10:51 +0200)]
Handle correctly zero table special arguments.

Fixes: #10247
5 years agostatus: describe the CMake changes in 889d10cd
Scott Kostyshak [Sun, 24 Jun 2018 22:03:35 +0000 (18:03 -0400)]
status: describe the CMake changes in 889d10cd

5 years agoCmake build: Adapt to compile with qt5.11
Kornel Benko [Thu, 14 Jun 2018 11:55:52 +0000 (13:55 +0200)]
Cmake build: Adapt to compile with qt5.11

Since qt5_use_modules() is removed from QT5 (as spotted
by Jürgen Spitzmüller), we had to create own version
of this macro.

According to this page:
http://doc.qt.io/qt-5/cmake-manual.html
the way to replace use of qt5_use_modules() for module "_mod" and target "_target"
is to use
  1.) cmake_minimum_required(VERSION 3.1.0)
  2.) find_package(Qt5${_mod} CONFIG REQUIRED)
  3.) target_link_libraries(${_target} Qt5::${_mod})
The last one sets all reguired libraries, compile flags and needed includes for the ${_target}

Disable possible warn about not known policy

Extend Clang compiler detection to cover Apple CLang

(cherry picked from commit d6b21e20e254c96d963c6ab4988ad635f8f4e44b)
(cherry picked from commit 72a2f922393f8029b658fffe3c5a2e3e2c81ac1d)
(cherry picked from commit 6343452a7397a5ac4b84af30d61c4d7fca5afbc1)
(cherry picked from commit cb08d4a879bf63222a4462308b614d3209607737)
(cherry picked from commit 1bf4d7b0fc2bc4c700e7cecc1e6e3c7faf4f03a5)

5 years agolyx-build: check sig in case one really uses download instead of local tarball.
Pavel Sanda [Tue, 19 Jun 2018 21:53:36 +0000 (23:53 +0200)]
lyx-build: check sig in case one really uses download instead of local tarball.

5 years agoFix bug #11174
Enrico Forestieri [Sat, 16 Jun 2018 18:55:38 +0000 (20:55 +0200)]
Fix bug #11174

Apparently, a new paragraph is started after a float even if
no blank line is actually present. So, account for this fact.

(cherry picked from commit f6922b8c88d4d2e5bcf39264b8bac056470f49b8)

5 years agoSkip paint event when in the middle of a buffer operation
Jean-Marc Lasgouttes [Thu, 31 May 2018 21:15:40 +0000 (23:15 +0200)]
Skip paint event when in the middle of a buffer operation

This is detected when an undo group is open and contains at east one
element. This means indeed that changes are in progress. Note that the
group is in general opened in GuiApplication::dispatch. The code there
is changed to ensure that the group is closed before updating the
screen.

This patch is experimental. It is expected to be replaced in master by
a more complete solution. It could in the meantime be backported to 2.3.x.

Fixes bug #11159.

(cherry picked from commit c7496a11b2f0bd714b6c2ee0f7189ff420e014ce)
(cherry picked from commit 4d0c43f9aa944649d4b5788c5de98d37c280a036)

5 years agoTry to fix bug #10989.
Richard Kimberly Heck [Thu, 26 Apr 2018 03:46:13 +0000 (23:46 -0400)]
Try to fix bug #10989.

The problem is that popping dialogs during reload can cause paint
events for which we are not ready. If this does not work, then we
can introduce a new flag, besides 'busy', for that case. But busy
does not seem to be used very widely, so hopefully this works.

Note that when paintEvent is triggered on macOS, the least we can do
is to copy our backing store to the screen.

(cherry picked from commit 19e6977b5b527ec8311da35d8f0a40d6fd509080)
(cherry picked from commit d03deeca0c666256ea68087c5c70b8de73b66edc)

5 years agoUnbreak completion in text mode
Jean-Marc Lasgouttes [Fri, 8 Jun 2018 08:32:47 +0000 (10:32 +0200)]
Unbreak completion in text mode

Completion uses a complicated async scheme based on timers to update
itself. This is probably not necessary anymore and is fragile to
event order changes.

This is what happens with the new painting scheme. Therefore the
asyncHideXXX() methods have to be made more robust and detect whether
completion state has changed by the time they are triggered.

(cherry picked from commit f1ea7fee5cda3fbbeb9fdbb8bec2bd91c0745e56)

5 years agoDraw frame last when drawing text insets
Jean-Marc Lasgouttes [Fri, 25 May 2018 15:08:45 +0000 (17:08 +0200)]
Draw frame last when drawing text insets

This avoid cases where the blinking cursor erases the frame.

(cherry picked from commit 4e9084b3e48697efc3eb4cc7a76b87f99a5e4aed)
(cherry picked from commit 6bcc7d6e42a53979b5c002ea445cf1e32006571e)

5 years agoAvoid duplicate generation of the same preview
Enrico Forestieri [Wed, 6 Jun 2018 16:59:37 +0000 (18:59 +0200)]
Avoid duplicate generation of the same preview

When an image has to be loaded a second time and the cache
is not used or the image is not in the cache, its preview is
going to be regenerated again. Hence, if the same image
appears more than once on screen, avoid requesting simultaneous
generation of the same preview.
See also this thread:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg205057.html

5 years agoSet caret height correctly for cells inside math rows
Jean-Marc Lasgouttes [Thu, 24 May 2018 09:10:25 +0000 (11:10 +0200)]
Set caret height correctly for cells inside math rows

The code in 90cfe4ec3 only handled the cells which metrics are
computed directly, and missed those who were linearized inside a MathRow.

To fix this, we use the fact that all the positions in a math row have
the same height and make MathRow::metrics return a boolean indicating
whether it contains a caret for a given bufferview.

Fixes bug #11153.

(cherry picked from commit a3868e40a40853bf3500ec4b3fb1a152f846464c)

5 years agoReset dim width when computing MathRow metrics
Jean-Marc Lasgouttes [Mon, 21 May 2018 11:24:27 +0000 (13:24 +0200)]
Reset dim width when computing MathRow metrics

This was dropped by mistake in 7bcb78a77.

Fixes bug #11152.

(cherry picked from commit c58b914c80d57c7d12ac4c244682e82adfbcdd9c)

5 years agoFix bug #11151
Enrico Forestieri [Sat, 19 May 2018 19:33:29 +0000 (21:33 +0200)]
Fix bug #11151

(cherry picked from commit 17ea71b31c6b5708241d8a9d2ca5afd331446c1c)

6 years ago#11142 correct list of previous versions to check for user directory contents
Stephan Witt [Sun, 13 May 2018 18:15:35 +0000 (20:15 +0200)]
#11142 correct list of previous versions to check for user directory contents

LyX on Mac uses a user directory with version suffix. On change of the version suffix
the existence of the directories with previous versions is checked and the latest one
is used for a copy on first configure run.

For 2.3 the candidate list starts with 2.2 now as it should.

(cherry picked from commit 17c3617c49487977e5c46de20cb450952c68b03d)

6 years agoRemoved unused private variable
Jean-Marc Lasgouttes [Mon, 14 May 2018 21:03:50 +0000 (23:03 +0200)]
Removed unused private variable

Spotted by clang++ 6.

(cherry picked from commit c4075367fa6330cac075e94b61f8522fcd54f630)

6 years ago Update fr.po
jpc [Mon, 14 May 2018 12:49:42 +0000 (14:49 +0200)]
    Update fr.po

6 years agoAvoid crash when trying to handle FitCursor
Jean-Marc Lasgouttes [Fri, 11 May 2018 09:27:26 +0000 (11:27 +0200)]
Avoid crash when trying to handle FitCursor

It is better to handle SinglePar before FitCursor, since the later
requires correct metrics at cursor position.

Fixes bug #11139 and probably #11125.

(cherry picked from commit 7f83d26934e50e3d83e254b0f9ab847d957053f7)

6 years agoFix InsetBox::contentAlignment()
Juergen Spitzmueller [Fri, 11 May 2018 13:11:06 +0000 (15:11 +0200)]
Fix InsetBox::contentAlignment()

Some cases where alignment is possible were missing.

Candidate for 2.3.x.

(cherry picked from commit de67b68b1dc140321e5d0e2e6b4507c972703744)

6 years agoAdapt caret height to context in mathed.
Jean-Marc Lasgouttes [Thu, 26 Apr 2018 22:03:48 +0000 (00:03 +0200)]
Adapt caret height to context in mathed.

Compute a height from current font and current cell vertical
dimensions in MathData::metrics(), because this is where current font
is known.

Introduce BufferView::setCaretAscentDescent to remember this value.

This mechanism is not used for text because Cursor::current_font is
restored by undo, and the caret height would not be changed then. But
in principle it is doable.

(cherry picked from commit 90cfe4ec3b4ff22ef798a63e98ca70d0d33a1656)

6 years agoBetter mechanism for setting cell height
Jean-Marc Lasgouttes [Thu, 19 Apr 2018 11:15:43 +0000 (13:15 +0200)]
Better mechanism for setting cell height

When computing a cell metrics, it is now possible to specify whether it
is tight (at least as tall as 'x') or not (as tall as the max height of
the font).

Use this to make sure that grid insets have large enough cells. It
will probably appear that other cells needn't be tight. Currently, the
only cell which is known to be tight is the nucleus of the root inset.
Others should be examined one by one. It might be that the default of
MathData::metrics tight parameter should be `false'.

Fixes bug #11050.

(cherry picked from commit 7bcb78a77875ecae0f54063ff02ec90e1b78f8b6)

6 years agoSet a minimal height for math rows
Jean-Marc Lasgouttes [Mon, 9 Apr 2018 10:18:24 +0000 (12:18 +0200)]
Set a minimal height for math rows

The value used here is the x height. It would be nice to see what the
TeXbook really says.

This makes a big difference with \tilde{.}, for example.

(cherry picked from commit 6df8c42e59f7dbe00d585525d1ce7e91a42411ca)

6 years agoCenter longtable explicitly (#10690)
Scott Kostyshak [Tue, 8 May 2018 15:18:07 +0000 (11:18 -0400)]
Center longtable explicitly (#10690)

"Center" is the default of longtable, but some situations require it
to be centered explicitly, such as when using floatrow:

https://tex.stackexchange.com/questions/320592/floatrow-package-conflicting-with-centering-longtable

(cherry picked from commit bde1834f7e81727545e014c24e27e148f6ba7d65)

6 years agoUpdate sk.po
Kornel Benko [Tue, 8 May 2018 10:43:20 +0000 (12:43 +0200)]
Update sk.po

6 years agoFix problem noted by Scott in bug #11125.
Richard Kimberly Heck [Tue, 8 May 2018 06:07:47 +0000 (02:07 -0400)]
Fix problem noted by Scott in bug #11125.

Need to set the Buffers for math insets, too.

(cherry picked from commit 81abfdc13d2fd2f652aaed5291074526fa5bbecf)

6 years agoDo not use needauth when only exporting code
Scott Kostyshak [Mon, 30 Apr 2018 00:06:16 +0000 (20:06 -0400)]
Do not use needauth when only exporting code

We have a couple of converters (using Sweave and knitr to "tangle"
an intermediate file) that are used for exporting code chunks
contained in a .lyx file. Since the code is just exported to a text
file and is not executed, needauth is not necessary.

(cherry picked from commit 065e37e96ff37dd891e47aede84258fd9adf23cf)

6 years agoFix problem with synchronous export.
Richard Kimberly Heck [Sat, 21 Apr 2018 23:48:59 +0000 (19:48 -0400)]
Fix problem with synchronous export.

It surprises me a bit that the code is different in this case
from the case when EXPORT_in_THREAD is not set. I should check
to see if there's a problem in the other case, too.

(cherry picked from commit 0fc50a26371b9cbaf2cd73c5e377c86bf7fdb215)

6 years agoFixes for nested ulem commands
Juergen Spitzmueller [Fri, 4 May 2018 17:32:38 +0000 (19:32 +0200)]
Fixes for nested ulem commands

1. \uuline must be on top of \sout
2. \uwave in \xout needs a hack to compile

(cherry picked from commit 9fd94a2dd0631a7d408ad013736312a5cf563f2f)

6 years agoComment on python versions.
Richard Kimberly Heck [Wed, 2 May 2018 23:50:54 +0000 (19:50 -0400)]
Comment on python versions.

6 years ago* cs.po
Pavel Sanda [Wed, 2 May 2018 08:11:02 +0000 (10:11 +0200)]
* cs.po