Commit Graph

38727 Commits

Author SHA1 Message Date
Richard Kimberly Heck
abc173c4f5 There is no reason we should need to reload the bibinfo cache for
internal buffers.

(cherry picked from commit af71ebff8e)
2018-12-14 20:23:13 -05:00
Richard Kimberly Heck
5492fab1c9 Fix slowness problem reported on the mailing list on Windows.
https://marc.info/?l=lyx-devel&m=154458979925296&w=2

This is related to the fix for #9158 and the caching of bibfile
information. On Windows, it is incredibly slow to run kpsewhich,
which we do to check where files actually are, so as to get info
about them (e.g., timestamps). So we have started to cache that
as a map. The map is supposed to be invalidated when various
things happen, but an oversight was causing it to be invalidated
on every cut operation. This is because cutting uses a temporary
Buffer, and the operations on it were affecting the *global* cache
of biblio file info. (It makes sense to have a global cache, since
these files are not document-specific.) Basically, we have to update
the list of bibfiles in that temporary Buffer---but that is one of
the things that invalidated the cache. The solution is only to
invalidate the cache if the list of bibfiles has actually changed
(a sensible idea anyway). The only time that will happen in the
temporary Buffer is when the copied information contains a BibTeX
inset. That should be fairly rare.

(cherry picked from commit e9614a36eb)
2018-12-14 20:23:03 -05:00
Richard Kimberly Heck
2e6eab9938 Remove lyx-bundle.nsi. 2018-12-09 15:04:41 -05:00
Enrico Forestieri
3beb38c92e Amend bd21aa9
Check whether a line is actually blank rather than whether
we are at the beginning of a line.

(cherry picked from commit 976e0b7993)
2018-12-08 23:16:08 +01:00
Enrico Forestieri
8d7b66e209 Fix bug #11398
When deciding how to strike out deleted math in change-tracking
mode, differentiate only on begin-of-line or not, and not on
after-paragraph-break or not.

The assumption that a new paragraph is always started after a
float seems to be not true and was causing this bug.

(cherry picked from commit bd21aa99d2)
2018-12-08 23:09:38 +01:00
Richard Kimberly Heck
0e7d9b0dc6 Remerge strings. 2018-12-08 11:25:37 -05:00
Richard Kimberly Heck
ec464a8b9f Prepare for 2.3.2. 2018-12-08 11:24:40 -05:00
Richard Kimberly Heck
38e439d300 Revert "Revert "Check for old "LyX 2.3" user directory when configuring.""
This reverts commit b66cf5aecd.
2018-12-08 11:02:41 -05:00
Pavel Sanda
0457cf4bb8 * cs.po 2018-12-02 03:28:53 +01:00
Pavel Sanda
566711b5ca Correctly update after buffer-anonymize in branch.
In master the screen update after buffer-anonymize happens without screenUpdate.
2018-12-02 02:08:49 +01:00
Richard Kimberly Heck
1d07d29151 gmo file update 2018-11-29 18:05:09 -05:00
Richard Kimberly Heck
05595fdc89 Hungarian translation update. 2018-11-29 18:04:22 -05:00
Richard Kimberly Heck
c3f2f4e5bb Typo 2018-11-29 18:02:49 -05:00
Juergen Spitzmueller
a7ecbba7bc sv.po: update by Jim. 2018-11-25 11:51:11 +01:00
Jean-Marc Lasgouttes
f7ebe1f70f Show cursor correctly when loading file
This is a fixup to 4ecbff00. When a file is loaded and the cursor is
set, it is required to first compute metrics to be able to scroll the
screen correctly.

Fixes bug #11377.

(cherry picked from commit 2dc84b69d5)
2018-11-23 17:05:46 +01:00
Pavel Sanda
f4c2cfa68f * cs.po 2018-11-23 01:03:36 +01:00
Jean-Marc Lasgouttes
c1df5fb6ef Avoid extra space in tooltips
When using QTextDocument to check the natutal size of a text, one has
to remove the text margin, which is not useful here.

Fixes bug #11353.

(cherry picked from commit 7db99672e6)
2018-11-21 14:47:04 +01:00
Pavel Sanda
e5f7f6493a * cs.po 2018-11-20 00:01:50 +01:00
Juergen Spitzmueller
caa4ee6412 pt_BR.po: update by Georger 2018-11-18 18:22:08 +01:00
Juergen Spitzmueller
050a28b065 ru.po: yet another update by Yuriy 2018-11-15 15:51:43 +01:00
Juergen Spitzmueller
37599f29a4 uk.po: update by Yuri 2018-11-14 16:21:35 +01:00
Juergen Spitzmueller
8c99884959 ru.po: update by Yuriy 2018-11-14 16:18:55 +01:00
Pavel Sanda
f59cec7335 * cs.po 2018-11-14 00:04:21 +01:00
Enrico Forestieri
704eede69b Fix bug #11367
The overset, underset, and stackrel insets behave like the script
rather than the fraction inset.
2018-11-12 21:17:03 +01:00
Richard Kimberly Heck
d32ca31ecf Remerge strings. 2018-11-12 14:27:49 -05:00
Pavel Sanda
9a8a4e6b5b * cs.po 2018-11-07 14:37:48 +01:00
Kornel Benko
3c0bc5f6fc Update sk.po 2018-10-30 23:14:35 +01:00
Juergen Spitzmueller
639aa35444 Dispay pre- and posttext widgets if non-empty also if unapplied
Fixes: #11352
(cherry picked from commit b8932afed5)
2018-10-30 22:18:52 +01:00
Jean-Marc Lasgouttes
b02d9f1075 Amend 4ecbff00: it is too early for skipping the updateMacros call
(cherry picked from commit 9e7832915f)
2018-10-22 17:19:40 +02:00
Enrico Forestieri
0dd9277bee Update it.po 2018-10-15 19:32:59 +02:00
Juergen Spitzmueller
67495a71d1 Missing backports in the context of #9158
This fixes the remaining regressions in stable with citation
2018-10-15 08:04:31 +02:00
jpc
481633eab4 Update fr.po 2018-10-14 11:41:17 +02:00
Juergen Spitzmueller
b28599f3f7 Amend a754912 once more
Do not use LTR environment (bidi) at all, since it adds unwanted
paragraph breaks.

Fixes: #11338
(cherry picked from commit 3a91fed269)
2018-10-14 11:18:07 +02:00
Juergen Spitzmueller
149526c154 Clear bibfile cache when set of bibliography files change
Part of #9158

(cherry picked from commit 4115d2487f)
2018-10-14 10:07:22 +02:00
Juergen Spitzmueller
e00b11355d Merge paragraphs when pasted into an inset that forbids multipars
Fixes: #8281
(cherry picked from commit 5dde4b1b3e)
2018-10-14 09:06:38 +02:00
Juergen Spitzmueller
53a108e814 Load covington later
This solves a loading order conflict with beamer-article.

(cherry picked from commit 00ee54e694)
2018-10-13 09:49:10 +02:00
Enrico Forestieri
e323f74b78 Fix bug #11332
Add the "hyperref-driver=dvips" option to the extra flags of the
latex->dvi converter so that the breakurl package is automatically
loaded when needed.

(cherry picked from commit f5e6db7171)
2018-10-12 08:27:23 +02:00
Juergen Spitzmueller
3d2cc5edeb Amend a754912
Switch logic, since isStyle() does not cover inline math

Fixes: #11338
(cherry picked from commit 9d8fbc7fd1)
2018-10-10 08:35:59 +02:00
Richard Kimberly Heck
7697bf7888 Revert "Fix bug #9348"
The fix changes behavior too much for stable. My bad.

This reverts commit e94ea46be7.
2018-10-08 16:27:47 -04:00
Juergen Spitzmueller
a77557e685 de.po 2018-10-08 12:19:15 +02:00
Juergen Spitzmueller
7a0416b374 Rework OK/Apply/Cancel UI of prefs dialog
Instead of "Save" (permanently) and "Apply" (temporarily), OK and Apply
now always save permanently, unless the new checkbox "Apply to current
session only" is checked.

Addresses: #10016
(cherry picked from commit c7bdb3b342)
2018-10-08 11:46:42 +02:00
Juergen Spitzmueller
4a8b508d40 If a master is being created at loading the child, un-hide it.
Fixes: #11162
(cherry picked from commit a368439bcc)
2018-10-08 11:43:20 +02:00
Juergen Spitzmueller
5133026b01 Fix suprious comma in book and thesis bib preview.
Fixes: #11272
(cherry picked from commit 399a4d7e71)
2018-10-08 11:40:24 +02:00
Juergen Spitzmueller
ea43f293c2 GuiCitation: don't reset filter on show
Addresses #11291

(cherry picked from commit 33d6499bbc)
2018-10-08 11:36:47 +02:00
Juergen Spitzmueller
875a4dcd17 Fix indentation 2018-10-08 11:32:30 +02:00
Enrico Forestieri
e94ea46be7 Fix bug #9348
(cherry picked from commit 503f7db224)
2018-10-06 12:43:09 +02:00
Richard Kimberly Heck
00db9c44c8 Minor status updates 2018-10-05 11:46:51 -04:00
Richard Kimberly Heck
1d22d23808 Fix bug #10177.
The left margin given at class level should apply only to the main text.

(cherry picked from commit a007b65202)
2018-10-04 19:44:42 -04:00
Kornel Benko
b060c46387 Update sk.po 2018-10-04 23:04:30 +02:00
Richard Kimberly Heck
768c7e2fa2 Fix bug #11275.
Show module name with description.

(cherry picked from commit 2553b0073f)
2018-10-04 14:12:03 -04:00