1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2024-12-23 13:31:49 +00:00
Commit Graph

39149 Commits

Author SHA1 Message Date
Enrico Forestieri
877d296b78 Amend bd6d09fc
Was forgetting this.

(cherry picked from commit 92c4bb4682)
2020-05-18 22:27:56 +02:00
Enrico Forestieri
51b8778c73 Fix Python 3 issues when generating preview snippets
The log file generated by latex can contain strings encoded in
whatever supported encoding. Instead of guessing the encoding,
it is better to open it in binary mode and then performing the
necessary comparisons as "bytes". In order to do this, the
strings are encoded in utf8, so that, for example, b"pythön" is
encoded as "pyth\xc3\xb6n" (7 bytes). Of course, this means that
we can only successfully perform comparisons with ascii strings.
However, this is what we actually do, as we only search for
ascii strings in the log file.

(cherry picked from commit bd6d09fc98)
2020-05-18 20:44:33 +02:00
Juergen Spitzmueller
36bb71c4c5 de.po 2020-05-18 19:22:10 +02:00
Richard Kimberly Heck
ab686d362f Add revtex 4.2. files to distribution 2020-05-18 13:21:36 -04:00
Kornel Benko
6446141933 Update sk.po 2020-05-18 19:20:46 +02:00
Kornel Benko
bece189ea6 Added revtex4-2.layout
Essentially cherry-picked 0536193c, but changing format from 80 to 66.
2020-05-18 18:53:28 +02:00
Juergen Spitzmueller
0c0aea6c81 Update status 2020-05-18 13:28:16 +02:00
Juergen Spitzmueller
6c6e1c1e17 Fixup inkscape detection on Windows
(cherry picked from commit 53ada26596)
2020-05-18 13:23:09 +02:00
Juergen Spitzmueller
3df1e0d70e Amend 74f831e06d
Forgot this part.

(cherry picked from commit bd89a273bc)
2020-05-18 13:20:57 +02:00
Stephan Witt
ebf85e52d2 correct pre 1.0 inkscape wrapper script path
(cherry picked from commit aec981bf41)
2020-05-18 13:20:41 +02:00
Stephan Witt
38829ea517 adapt inkscape start utility to Inkscape 1.0
(cherry picked from commit 4552d1c75f)
2020-05-18 13:20:24 +02:00
Juergen Spitzmueller
f489ecab99 Safer 0.x version test
(cherry picked from commit d5079c2e73)
2020-05-18 13:20:08 +02:00
Juergen Spitzmueller
733389677f Add support for inkscape 1.0
Command line syntax has changed. We now check for the version and use
the appropriate cl options.

Fixes 

(cherry picked from commit 74f831e06d)
2020-05-18 13:19:30 +02:00
Juergen Spitzmueller
89d42a68f5 Disable bookmarksopenlevel SL when bookmarksopen is false
Fixes 

(cherry picked from commit f2243a3bc7)
2020-05-18 09:15:56 +02:00
Richard Kimberly Heck
1741eb9c2c Fix bug .
Add cancel button and take no action if we're canceled.

(cherry picked from commit 2de99c5dd9)
2020-05-18 00:30:13 -04:00
Kornel Benko
3d50e90310 Update sk.po 2020-05-16 10:03:58 +02:00
Juergen Spitzmueller
e3fa2eb292 de.po 2020-05-16 09:52:50 +02:00
Juergen Spitzmueller
af4e5aefe0 Check class options for uncodable glyphs
Fixes 

(cherry picked from commit 11dc817e9d)
2020-05-16 09:05:36 +02:00
Juergen Spitzmueller
991ef3840e Assign InsetBibtex to appropriate toc level
Fixes 

(cherry picked from commit 92ba05c53b)
2020-05-16 09:02:55 +02:00
Juergen Spitzmueller
119d38bedf Move \PassOptionsToPackage before the first package loaded
Fixes 

(cherry picked from commit 2663e3845e)
2020-05-14 09:18:16 +02:00
Richard Kimberly Heck
94c2466c4c Fix bug 2020-05-13 14:44:08 -04:00
Scott Kostyshak
7a158055fe Only set dummy X11 selection if we do not own it
Before, we would continually set the selection to the empty string,
to maintain ownership. This causes problems with clipboard managers
GPaste and CopyQ. Further, in theory this should have better
performance since checking ownership should be faster than setting.

A disadvantage of this change is that the timestamp of the selection
will be old at this point in the code. However, when the selection
is requested, we put the selection contents at that point so the
selection timestamp should be accurate then. Further, the selection
contents are not accurate at this point in the code (they are just
the empty string), so it is not clear whether having an accurate
timestamp is beneficial.

Fixes .

(cherry picked from commit af4ee1a487)
(cherry picked from commit 23abb5aaa3)
2020-05-06 08:29:00 -04:00
Juergen Spitzmueller
584550a732 Remap typographical apostrophe from Hunspell to plain apostrophe ()
(cherry picked from commit ca28c9866a)
2020-05-04 23:40:18 -04:00
Richard Kimberly Heck
b4e613828e Fix bug .
Make sure we are actually at the end of the document before issuing
\maketitle because we are at the end of the document.

(cherry picked from commit 7af6575cf6)
2020-05-04 23:30:52 -04:00
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 e9e8069b17)
(cherry picked from commit db5021c42e)
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
   ).

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

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 .

(cherry picked from commit 4d6041a7b6)
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 

(cherry picked from commit 05c7c65d93)
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 ()
(cherry picked from commit d9b884341c)
2020-04-18 07:59:23 +02:00
Juergen Spitzmueller
e41c790f91 Fix tablefootnote loading order ()
(cherry picked from commit 5bc66b5f45)
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 .

(cherry picked from commit b5d6caac41)
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 .
2020-04-17 10:40:54 +02:00
Richard Kimberly Heck
f293de29d9 Make it nicer, thanks to JMarc
(cherry picked from commit 86a4c79dc4)
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
(cherry picked from commit 46f1f6f1cb)
2020-04-16 17:20:14 -04:00
Juergen Spitzmueller
1dbc2f30d5 Address
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 .
2020-04-09 12:51:38 +02:00
Richard Kimberly Heck
1264934898 Fix bug .
Preserve line spacing when breaking a paragraph at the beginning.

(cherry picked from commit f7065fa22e)
2020-04-08 17:28:10 -04:00
Juergen Spitzmueller
97516cf2f4 Fix quotation marks in PDF TOC
(cherry picked from commit c0adb03a7a)
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 36a1f365f0)
2020-04-05 14:50:24 -04:00
Juergen Spitzmueller
aede56fa20 Strip polyglossia options from pdf string
Fixes 

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

(cherry picked from commit ed137ee435)
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 , we draw a bit too
much of the inset background outside of the inset (visible for insets
with colored background).  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 .

(cherry picked from commit eb92f74d1f)
2020-04-03 19:02:29 +02:00
Richard Kimberly Heck
dd76f4756f Status 2020-03-28 23:36:52 -04:00