39125 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
7898e07412 Disable deprecated-copy warning with clang10 and gcc10
This was already done for gcc9 and saves tons of warnings.

Note that the warning in Qt are gone with Qt5.13, so eventually we
will have to get rid of our own copy issues.

(cherry picked from commit e9e8069b170ef3128402bc6e6f657339da1760a2)
(cherry picked from commit db5021c42eb5828c3fa0fd786b14eafcf9fed52f)
2020-04-30 18:02:06 +02:00
Jean-Marc Lasgouttes
e47834104a Adopt a 'belt and braces' approach to bidi forcing
There are two techniques that I know of for forcing the direction of a
string, regardlessly of whether its contents is naturally LtR, RtL or
undecided.

1/ The unicode LTR/LTR override characters. This is supposed to be the
   clean way, however, it does not seem to work with Qt 5.14 (see
   #11691).

2/ The undocumented QTextLayout::setFlags method. This is used
   internally and allows to pass the (undocumented) flags
   Qt::TextForceRightToLeft and Qt::TextForceLeftToRight. This was
   used until we had issues with Qt 5.11 (see #11284).

In order to get the best of both worlds, this patch allows to enable
those two methods separately, and actually enables both at the same
time by default!

Fixes bug #11691.

(cherry picked from commit 4d6041a7b68de5856b657cfd3b735596b3d7e0e0)
2020-04-29 22:55:25 +02:00
Enrico Forestieri
7bdbffa88f Update it.po 2020-04-23 16:57:57 +02:00
Juergen Spitzmueller
73de39e091 Minor doc updates by Yuriy 2020-04-23 07:32:39 +02:00
Juergen Spitzmueller
8339c848ff ru.po: update by Yuriy 2020-04-23 07:31:26 +02:00
Kornel Benko
3bc8cc15b8 Update sk.po 2020-04-19 17:48:58 +02:00
Juergen Spitzmueller
7fd0ff8840 de.po 2020-04-19 17:34:38 +02:00
Juergen Spitzmueller
a80ecb3820 Improve reporting of undefined control sequences in preamble
Fixes #11844

(cherry picked from commit 05c7c65d9345c4cd88b9c34b8e30beb96a268963)
2020-04-19 17:32:33 +02:00
Juergen Spitzmueller
0696be89f1 ru.po: update by Yuriy 2020-04-19 14:51:25 +02:00
Juergen Spitzmueller
f3f0b53ba6 Reset failedtoload_ bool when include inset params are changed (#11842)
(cherry picked from commit d9b884341c6c8a3addb95071bc0f203519bfbe0d)
2020-04-18 07:59:23 +02:00
Juergen Spitzmueller
e41c790f91 Fix tablefootnote loading order (#11841)
(cherry picked from commit 5bc66b5f4564633d1c87fb6b00e0700d5aa1bca2)
2020-04-18 07:40:45 +02:00
Pavel Sanda
4eff6e97e8 * cs.po 2020-04-17 11:02:09 +02:00
Jean-Marc Lasgouttes
8bb317c8db Fix embarassing crash caused by debug message
After commit 6a936d63, the helpful debug message tries to display
non-existing elements and crashes the program :(

Fix by radical simplification of the message.

Part of bug #11777.

(cherry picked from commit b5d6caac4149cc72cd5a734ffc8e9da1382bc9ee)
2020-04-17 10:41:50 +02:00
Jean-Marc Lasgouttes
cc5d3bd9f4 Do not try to put cursor after space if no space was kept
The logic was wrong and could cause crashes

Fixes bug #11777.
2020-04-17 10:40:54 +02:00
Richard Kimberly Heck
f293de29d9 Make it nicer, thanks to JMarc
(cherry picked from commit 86a4c79dc4002344fba9ebe28c5cd8574f55845c)
2020-04-16 21:12:30 -04:00
Richard Kimberly Heck
ce3b605ae9 Remerge strings. 2020-04-16 17:22:56 -04:00
Richard Kimberly Heck
d1feeaaf2d Fix bug #11635
(cherry picked from commit 46f1f6f1cbf2ddb4de8c4d96e76e3a1bd74f2e07)
2020-04-16 17:20:14 -04:00
Juergen Spitzmueller
1dbc2f30d5 Address #9368
pdfview creates a temp pdf file to determine the standard pdf viewer,
code simplification, reducing dll dependencies

Patch by Eugene.
2020-04-09 16:01:35 +02:00
Jean-Marc Lasgouttes
b7f6b979d0 Do not compute caret geometry when we are not ready to do so.
This avoid crashes with invalid cache.

Fixes bug #11763.
2020-04-09 12:51:38 +02:00
Richard Kimberly Heck
1264934898 Fix bug #11817.
Preserve line spacing when breaking a paragraph at the beginning.

(cherry picked from commit f7065fa22ece25f72107dfa9c78e21a250153514)
2020-04-08 17:28:10 -04:00
Juergen Spitzmueller
97516cf2f4 Fix quotation marks in PDF TOC
(cherry picked from commit c0adb03a7ae15cf6409ee3cb64f4cc91c24c052e)
2020-04-06 16:41:21 +02:00
Richard Kimberly Heck
1bd2e72d5a Download dictionaries and thesauri from SVN.
Patch from Eugene.

(cherry picked from commit 36a1f365f00c8ae0a206dfef8fcef782faa5d454)
2020-04-05 14:50:24 -04:00
Juergen Spitzmueller
aede56fa20 Strip polyglossia options from pdf string
Fixes #11813

(cherry picked from commit f9999039ac7278a719513fdd15c34f12846a1189)
2020-04-05 17:29:04 +02:00
Juergen Spitzmueller
3d0dd488c3 Disable append-column with gathered
Fixes #11812

(cherry picked from commit ed137ee435ea2e9e1d38b6095e8ce51c0c48204a)
2020-04-05 17:18:15 +02:00
Jean-Marc Lasgouttes
ee7c607b5e Avoid bleeding of inset background outside of inset
As a consequence of fix e64ea357 to ticket #10797, we draw a bit too
much of the inset background outside of the inset (visible for insets
with colored background). #10797 is a ticket that triggers when the
cursor has a width larger than 1.

This patch limits the problems in two respects

* nothing is done on the left, since the cursor width only expands on
  the right.

* on the right, the extra width is limited to cursor width.

Fixes bug #11786.

(cherry picked from commit eb92f74d1f7ae63112b9439058d746f7ff93e8f4)
2020-04-03 19:02:29 +02:00
Richard Kimberly Heck
dd76f4756f Status 2020-03-28 23:36:52 -04:00
Richard Kimberly Heck
3606ee5a6a Fix bug #11799.
I've made cut, etc, OptItems, as this menu is already very long.

(cherry picked from commit d34bb46387e5c4e80cbd79ae7a1e343b1eada51d)
2020-03-28 23:36:04 -04:00
Richard Kimberly Heck
df2abff913 Remove newlines from shortcut LFUNs.
(cherry picked from commit c5c16830242aa120448b2a226107073ef1703b1d)
2020-03-28 15:26:40 -04:00
Kornel Benko
6c2faf4ba6 Update sk.po 2020-03-26 11:17:00 +01:00
Juergen Spitzmueller
2daf1793f9 de.po 2020-03-26 08:02:36 +01:00
Juergen Spitzmueller
2611628726 update status 2020-03-26 07:55:41 +01:00
Juergen Spitzmueller
76e71c5fdd Add hint to warning.
(cherry picked from commit 957e8669c74b45542606d8271ef49d592a3704f1)
2020-03-26 07:52:37 +01:00
Juergen Spitzmueller
ee69752d61 Fix warning message
(cherry picked from commit c77be6146bceab43b5bd9d1ed67ab054b3e0121e)
2020-03-26 07:52:22 +01:00
Juergen Spitzmueller
e1c29a0510 Check character encodability with pass-thru in command insets
Fixes: #11584
(cherry picked from commit ebc2b1295a0464dde6c20a09ddc249c463a21c79)
2020-03-26 07:52:01 +01:00
Juergen Spitzmueller
cca83a320b Don't omit ZERO WIDTH NON-JOINER on clipboard paste
Fixes #11790

(cherry picked from commit 7b3404fcab0e2530964444261d411814c03eaeba)
2020-03-23 17:25:04 +01:00
Kornel Benko
c5cfca6ac6 Update sk.po 2020-03-21 10:28:25 +01:00
Richard Kimberly Heck
cbb6fbe14c Remerge strings. 2020-03-20 19:04:01 -04:00
Richard Kimberly Heck
7c0cbe68bc Fix bug #11748.
Track the last chosen citation style when we clear the entries.

(cherry picked from commit 64f7da961a853f4ea60716129f0f22f39e451aa7)
2020-03-17 02:01:37 -04:00
Richard Kimberly Heck
3fc90f6b6f Updates to build script. 2020-03-17 01:57:46 -04:00
Richard Kimberly Heck
429d2171b1 Fix bug #11780.
The preamble snippets are for LaTeX and do not need to be output
with HTML.

(cherry picked from commit f044d3a3595912415806707582e8aa6b0890bbe7)
2020-03-14 19:19:04 -04:00
Juergen Spitzmueller
cffdac49f5 ia.po: update from Giovanni 2020-03-14 17:26:14 +01:00
Juergen Spitzmueller
48cb1aa3b7 Fix UI quirk in IncludeOnly settings
Fixes #11564

(cherry picked from commit b568a49593b6d52f267d8fcfbc0a46dc7ecb613d)
2020-03-13 08:45:45 +01:00
Juergen Spitzmueller
b108ea3129 Un-provide amsmath in beamer article layouts
Fixes #11768

(cherry picked from commit f6f51587cfdf45f76313d5fb7382b3f4a3f8d21c)
2020-03-01 07:35:55 +01:00
Richard Kimberly Heck
2ece10f327 Fix problem with validation when using InsetLayout.
(cherry picked from commit 2e444dd6570804d33c1fd44713dc3b3f15ec9c5c)
2020-02-26 22:30:34 -05:00
José Matos
20996d46fc Remove code that is redudant.
Both for python2 and python3 output is always a string.

(cherry picked from commit 4268a9e8121b08f06706d733e8488e163286eab8)
2020-02-25 18:24:41 -05:00
Richard Kimberly Heck
235a1034c6 Minor updates to distribution creation script. 2020-02-24 19:27:22 -05:00
Richard Kimberly Heck
fb9bc1a3f7 Fix bug #11750.
Unfortunately, stat.st_ino returns 0 on Windows, at least on Python 2.7, so we can't use that way of telling when we're seeing the same directory again. Surely the real pathname should work.

(cherry picked from commit 9d8dfe934ba6a73a899c907a687552104d2cb847)
2020-02-24 19:09:31 -05:00
Pavel Sanda
4150011e1e Update ia.po from giovanni. 2020-02-24 22:40:23 +01:00
Kornel Benko
153817a0fe Amend cad0ec3e 2020-02-15 12:23:42 +01:00
Kornel Benko
cad0ec3e54 Cmake build: Remove left-over files left after cherry-pick 2020-02-15 10:06:42 +01:00