]> git.lyx.org Git - lyx.git/log
lyx.git
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

6 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)

6 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.

6 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)

6 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)

6 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)

6 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)

6 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)

6 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

6 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)

6 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)

6 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

6 years agoPassThru paragraphs have latex_language; consider this when checking
Juergen Spitzmueller [Sun, 29 Apr 2018 11:18:05 +0000 (13:18 +0200)]
PassThru paragraphs have latex_language; consider this when checking
previous language

Fixes: #10793.
(cherry picked from commit 15df033bcec5aa65cdb26b7f31b9082f3f7e05da)

6 years agoRequest buffer update rather than do it.
Richard Kimberly Heck [Tue, 1 May 2018 02:31:50 +0000 (22:31 -0400)]
Request buffer update rather than do it.

(cherry picked from commit 2777b51c587cb061b3214c670a3cc4b357528e6c)

6 years agoFix duplicate, disabled "Separated Frame Below"
Scott Kostyshak [Sat, 28 Apr 2018 03:01:01 +0000 (23:01 -0400)]
Fix duplicate, disabled "Separated Frame Below"

This commit fixes an issue where the menu option "Insert Separated
Frame Below" would show up twice, with one instance disabled. This
occurred when there was a "Standard" environment nested in a
"Frame". With this commit, the duplicate instance is removed.

(cherry picked from commit 4f7a5f8c3e1bb633a9ee92cf692a116180537073)

6 years agoMerge branch '2.3.x' of git.lyx.org:lyx into 2.3.x
José Matos [Sat, 28 Apr 2018 10:26:16 +0000 (11:26 +0100)]
Merge branch '2.3.x' of git.lyx.org:lyx into 2.3.x

6 years agoUpdate scripts to support simultaneously python 2 and 3
José Matos [Sat, 28 Apr 2018 09:51:35 +0000 (10:51 +0100)]
Update scripts to support simultaneously python 2 and 3

The fixes are simple and on line with the changes made during
the 2.3 development. It was an oversight to leave them out.

With this commit all the python scripts should be supported by
python 2 and 3.

(cherry picked from 5b160e82be3797ae57632174f2510a132a7558a1)

6 years agoUpdate scripts to support simultaneously python 2 and 3
José Matos [Sat, 28 Apr 2018 09:51:35 +0000 (10:51 +0100)]
Update scripts to support simultaneously python 2 and 3

The fixes are simple and on line with the changes made during
the 2.3 development. It was an oversight to leave them out.

With this commit all the python scripts should be supported by
python 2 and 3.

6 years agoInitialize toolbarsMovable_
Scott Kostyshak [Fri, 27 Apr 2018 21:41:26 +0000 (17:41 -0400)]
Initialize toolbarsMovable_

Valgrind detected a conditional jump because this member was not
initialized.

(cherry picked from commit e49a10729e2b96202d0eaca1e63edc9212c7258c)

6 years agoFix bug #11127.
Richard Kimberly Heck [Sat, 28 Apr 2018 00:13:07 +0000 (20:13 -0400)]
Fix bug #11127.

This also fixes an accidental commit of "NeedCProtect".

(cherry picked from commit 9f79ab99ed43026cd1dbdd707ec07e9a83bd95c2)

6 years agoRework caret display code
Jean-Marc Lasgouttes [Wed, 18 Apr 2018 08:10:08 +0000 (10:10 +0200)]
Rework caret display code

The new code is much simpler: what it does is, after redrawing has
been done, to mark the cursor row as changed, so that it will be
repainted on next paint event.

This avoids some crashes at the price of possibly repainting the row
when it was not necessary.

(cherry picked from commit 2f1eb35b868aaa5adb83ff358c2468551e25685e)

6 years agoUpdate cursor position after committing IM string
Jean-Marc Lasgouttes [Wed, 18 Apr 2018 15:39:43 +0000 (17:39 +0200)]
Update cursor position after committing IM string

(cherry picked from commit 01fea56eb67eafa88680a913eeb72e023e1afa71)

6 years agoUpdate sk.po
Kornel Benko [Thu, 26 Apr 2018 05:32:44 +0000 (07:32 +0200)]
Update sk.po

6 years agoRestore implicit word selection for inset insertion.
Richard Kimberly Heck [Thu, 26 Apr 2018 01:48:25 +0000 (21:48 -0400)]
Restore implicit word selection for inset insertion.

Modifies 0662ffb9.

(cherry picked from commit aa2f409d871d36dc0e1c038aba900d06963d3459)

6 years agoImprove error message a bit more.
Richard Kimberly Heck [Wed, 25 Apr 2018 22:43:49 +0000 (18:43 -0400)]
Improve error message a bit more.

Sorry to Kornel, who had already updated sk.po!

(cherry picked from commit 821e10154739aa23191998b88a4bb7d9e0390628)

6 years agoDon't sort the bibfiles cache.
Richard Kimberly Heck [Wed, 25 Apr 2018 17:40:37 +0000 (13:40 -0400)]
Don't sort the bibfiles cache.

This causes problems with biblatex. Instead, we sort the old and
new lists and then compare them.

(cherry picked from commit 6b095e2b7107110bec593edd02bbdcf25adae76a)

6 years agoImprove error message.
Richard Kimberly Heck [Wed, 25 Apr 2018 15:52:21 +0000 (11:52 -0400)]
Improve error message.

(cherry picked from commit 04f71516841ff8108c9d5d9d7b8ab2bfa6952f31)

6 years agoRedo metrics after cancelling macro mode
Jean-Marc Lasgouttes [Tue, 24 Apr 2018 12:03:35 +0000 (14:03 +0200)]
Redo metrics after cancelling macro mode

When the cursor is inside a subscript that may become empty, metrics
issues can happen. This patch fixes the issue, although it is not
clear to see what the problem is.

Still, requesting a metrics update also in the case where the macro
mode is canceled makes sense.

Fixes bug #11125.

(cherry picked from commit 68ec34e60343a5dec9f32d60c79a2c0825b62d12)

6 years agoAdd slightly improved error message.
Richard Kimberly Heck [Tue, 24 Apr 2018 00:35:39 +0000 (20:35 -0400)]
Add slightly improved error message.

6 years agoUpdate ANNOUNCE a bit.
Richard Kimberly Heck [Mon, 23 Apr 2018 19:08:59 +0000 (15:08 -0400)]
Update ANNOUNCE a bit.

6 years agoAdd bindings for inset-settings.
Richard Kimberly Heck [Mon, 23 Apr 2018 03:56:17 +0000 (23:56 -0400)]
Add bindings for inset-settings.

Fixes #7762.

(cherry picked from commit 8da025014dda1ff2d3cc1409778d5df68d06bf1a)

6 years agoFix #8338.
Richard Heck [Thu, 19 Apr 2018 03:03:24 +0000 (23:03 -0400)]
Fix #8338.

The idea here is to force commands to be run syncrhonously when
they are launched via "command-sequence" or "repeat". We do this
by using a new flag in FuncRequest.

(cherry picked from commit 2477493cf5641c9e6ccb4c1b52548a0e9b104ea0)

6 years agoFix for #10624.
Richard Heck [Sun, 16 Apr 2017 02:47:11 +0000 (22:47 -0400)]
Fix for #10624.

If we're in the first paragraph after a division (section, etc),
use the prefix for it.

(cherry picked from commit dd2efe8d0d1fb7070c4fa0cbcb52f15a48bec33b)

6 years agoFix #6344.
Richard Heck [Sat, 25 Jun 2016 05:39:59 +0000 (01:39 -0400)]
Fix #6344.

For some reason, special code was added for LFUN_INDEX_INSERT
when it was not actually needed. So just delete it.

(cherry picked from commit 83356ab9fed1b6ab24d129486ab8e3c7dfd6ea4a)

6 years agoReset counters before we re-run updateBuffer when the bibfiles change.
Richard Heck [Fri, 20 Apr 2018 02:12:44 +0000 (22:12 -0400)]
Reset counters before we re-run updateBuffer when the bibfiles change.

Fixes a bug reported by Pavel here:
  https://marc.info/?l=lyx-devel&m=152407889727665&w=2

(cherry picked from commit 64acc06b919e08001cb8ff8d5b69e0902176fe35)

6 years agoFix bug #11118.
Richard Heck [Thu, 19 Apr 2018 04:09:41 +0000 (00:09 -0400)]
Fix bug #11118.

Adds LFUN_MASTER_BUFFER_EXPORT.

(cherry picked from commit c4c7053d1d1cfc0b430b6565448e5b9fcacc60be)

6 years agoAdd support for rotated longtabulars (via [pdf]lscape)
Juergen Spitzmueller [Wed, 18 Apr 2018 11:22:29 +0000 (13:22 +0200)]
Add support for rotated longtabulars (via [pdf]lscape)

Fixes: #9194
See #9194 for why we use an earlier file format change here.

(cherry picked from commit feab528fd1555065592284603d8443b71f534a7a)

6 years agoReorder status.
Richard Heck [Tue, 17 Apr 2018 03:29:07 +0000 (23:29 -0400)]
Reorder status.

6 years agoFix bug #11084.
Richard Kimberly Heck [Thu, 22 Mar 2018 03:08:12 +0000 (23:08 -0400)]
Fix bug #11084.

Allow unicode-insert to accept a sequence of codepoints.

(cherry picked from commits 83b1ac3bf7d502d0, and a714f6cb)

6 years agoFix bug #9847.
Richard Heck [Wed, 18 Oct 2017 16:26:35 +0000 (12:26 -0400)]
Fix bug #9847.

Spaces are, amazingly, allowed at the end of bibliography keys. So we
introduce a new parameter allowing getVectorFromString not to trim
whitespace, and then use it.

For some reason, this seems not actually to have been backported
to 2.3.x.

6 years agoAccount for Qt 5.10
Enrico Forestieri [Fri, 5 Jan 2018 18:27:24 +0000 (19:27 +0100)]
Account for Qt 5.10

Fix regular sed expression in order to catch a second digit in the
Qt minor version number.

(cherry picked from commit 6253cc4c51e4e36125c33a8c427e27493435ddc8)

6 years agoUpdate sk.po
Kornel Benko [Sun, 15 Apr 2018 16:58:30 +0000 (18:58 +0200)]
Update sk.po

6 years agoTypo
Juergen Spitzmueller [Sun, 15 Apr 2018 16:25:31 +0000 (18:25 +0200)]
Typo

Fixes: #11113
(cherry picked from commit c97bc5f83ae43e3fa79fe348369c3d4b0848525b)

6 years agode.po
Juergen Spitzmueller [Sun, 15 Apr 2018 09:50:23 +0000 (11:50 +0200)]
de.po

6 years agoFix bug #11055.
Richard Heck [Mon, 29 Jan 2018 04:33:45 +0000 (23:33 -0500)]
Fix bug #11055.

See also https://marc.info/?l=lyx-devel&m=151709211602688&w=2.

(cherry picked from commit d3ee87eea282ca6e8f0a78bc6a0e27b4f0942624)

6 years agoPrevent that a full source preview of a child clears the master's bibfiles cache.
Juergen Spitzmueller [Tue, 27 Mar 2018 12:29:25 +0000 (14:29 +0200)]
Prevent that a full source preview of a child clears the master's bibfiles cache.

See #9158

(cherry picked from commit a9a7f384885541bdd4ddb21ad19cec71369355de)

6 years agoamend cfce0ac0
Juergen Spitzmueller [Thu, 22 Mar 2018 22:37:19 +0000 (23:37 +0100)]
amend cfce0ac0

(cherry picked from commit 6415d986ba32373d3c3915ec77473dfa2e2b7ad3)

6 years agoUse separate BibInfo for child
Juergen Spitzmueller [Thu, 22 Mar 2018 14:52:23 +0000 (15:52 +0100)]
Use separate BibInfo for child

This is used when the file is compiled standalone

Fixes: #11083
(cherry picked from commit 1c623ffe8f2e34e38248709935ca5fa475d2e05a)

6 years agoAttempt to fix bug 9158 using updateBuffer.
Richard Heck [Sun, 5 Nov 2017 01:23:25 +0000 (21:23 -0400)]
Attempt to fix bug 9158 using updateBuffer.

Along the lines suggested by JMarc, we now collect the list of bibfiles
in use in the updateBuffer routines. This actually does simplify the code
quite a bit. See the discussion there for reasons to go this way.

(cherry picked from commit 8b9d1b860187338e06e10261b391886d50423239)

6 years agoConsider sub-subfiles on log file parsing.
Juergen Spitzmueller [Sat, 14 Apr 2018 12:33:21 +0000 (14:33 +0200)]
Consider sub-subfiles on log file parsing.

These are listed as (subfile.ext (sub-subfile.ext))

Fixes: #11112
(cherry picked from commit 1e1800a21aac99bb6e6044e1c1e11e3f88d198dd)

6 years agoClean up status.23x
Richard Heck [Sun, 15 Apr 2018 04:01:11 +0000 (00:01 -0400)]
Clean up status.23x

6 years agoMerge branch '2.3.2-staging' into 2.3.x
Richard Heck [Sun, 15 Apr 2018 03:52:31 +0000 (23:52 -0400)]
Merge branch '2.3.2-staging' into 2.3.x

6 years agoFix bugs #10897 and #10912.
Richard Heck [Thu, 22 Feb 2018 05:55:10 +0000 (00:55 -0500)]
Fix bugs #10897 and #10912.

6 years agoDo not show master's errors if compiling child
Scott Kostyshak [Sat, 7 Apr 2018 21:11:33 +0000 (17:11 -0400)]
Do not show master's errors if compiling child

If a master document is compiled and has errors, and then a child is
compiled without error, the errors from the master compilation were
shown.

The setup of the relevant code is the following:

  processingThreadFinished() calls errors().  errors() makes the
  assumption that if it is called, there must have been an error
  somewhere.

The logic of the setup is the following:

  processingThreadFinished() knows whether there was an error on
  the most recent preview/export, although it doesn't know whether
  the error is from master or child (i.e. does not know whether the
  user was compiling the child, or whether master-buffer-view was
  called).  Inside error(), if there is no error in the child, it is
  assumed the error is from master.

For the above logic to work, errors() should only be called if there
was an error.

This commit fixes #11106 and preserves the fix to #7330.

(cherry picked from commit 8d2b121ef506804fe2c894a61cd4232e87254847)