Commit Graph

39302 Commits

Author SHA1 Message Date
Richard Kimberly Heck
a4d2112a81 configure.ac 2021-01-07 12:10:01 -05:00
Stephan Witt
f7dfb8eb0c Use real path names for buffer lookup by name of temporary external files.
In case of path names for external files containing symbolic links the real path
and the logical path name may be different for the same file or directory.
LyX is using QDir::tempPath() to create the path name of the temporary directory.
The Qt implementation is free to return the logical or the real path name here and
it happens to be different for various platforms and versions.
The most stable and clean solution is to use the real path name consistently.

(cherry picked from commit f2f861f017)
2021-01-07 12:08:36 -05:00
Richard Kimberly Heck
e3ccca67e7 2.3.6.1 2020-12-29 11:50:22 -05:00
Juergen Spitzmueller
5b69d658bb Re-enable input of non-LyX files (e.g., tex, pgf) (#12056)
This amends [a385b7dc2b58/lyxgit]

(cherry picked from commit 2af8e661a3)
(cherry picked from commit 17e4f325f3)
2020-12-29 11:46:07 -05:00
Jean-Marc Lasgouttes
6226a040d4 Store correctly the window position with Wayland
To do this, hard-coded test for xcb had to be replaced with a call to
platformName(). Since this method does not exist in Qt4, we emulate
it.

Note that Qt5 uses xcb bindings for X11 system, while Qt4 relies on
older X11 bindings. We return platorm == "qt4x11" in this case.

Fixes bug #11746.

(cherry picked from commit 222a317dd2)
(cherry picked from commit d418b6f4c8)
2020-12-29 11:45:05 -05:00
Richard Kimberly Heck
fd95d119c6 Minor ANNOUNCE fix. Will only matter if there is a 2.3.6.1... 2020-11-30 13:28:29 -05:00
Richard Kimberly Heck
b131816d40 Remerge strings. 2020-11-27 12:18:52 -05:00
Richard Kimberly Heck
25e18db0ce Prepare for 2.3.6 2020-11-27 12:15:22 -05:00
Pavel Sanda
1ae510b628 Erase white frame in fullscreen mode.
Backport 4eb791ff18.
2020-11-22 11:54:58 +01:00
Richard Kimberly Heck
f9f9fb661c Brazillian Portuguese translation from Georger 2020-11-05 09:51:10 -05:00
Juergen Spitzmueller
91526680c7 de.po 2020-11-04 07:15:55 +01:00
jpc
a128c373f9 Update status 2020-11-03 16:47:12 +01:00
jpc
a0ba861853 Update fr.po 2020-11-03 16:44:14 +01:00
Richard Kimberly Heck
9730223a1d Remerge strings. 2020-11-02 13:44:48 -05:00
Enrico Forestieri
21b81bfd1e Fix on-screen display of special math fonts
Make sure that the on-screen representation of the special math fonts
mathbb, mathds, mathfrak, mathcal, and mathscr matches the latex output.
2020-10-30 15:53:35 +01:00
Pavel Sanda
ea602d5866 * cs.po 2020-10-30 13:55:22 +01:00
Kornel Benko
ccbe2ab446 Update sk.po 2020-10-30 11:47:06 +01:00
Yuriy Skalko
c7e367cca0 Update ru.po 2020-10-30 09:34:08 +02:00
Scott Kostyshak
3611c09f39 CMake deb: support "python2 | python3" dependency
The latest debian-based distributions have moved away from
the "python" package dependency to "python2" and "python3".

(cherry picked from commit fe1cbc06c3)
2020-10-29 21:55:45 -04:00
Scott Kostyshak
012bca0b05 CMake deb: update python2 requirement
Synchronize with README: >= 2.7.

(cherry picked from commit 334552ade5)
2020-10-29 21:55:07 -04:00
Richard Kimberly Heck
3a546a1830 Remerge strings. 2020-10-29 17:57:02 -04:00
Richard Kimberly Heck
93ee185014 Backport changes to postats.py 2020-10-29 17:56:20 -04:00
Enrico Forestieri
d3d00723f0 Update it.po 2020-10-24 19:14:24 +02:00
Kornel Benko
a610ee422e Amend 0536193c: Remove requirement of revsymb4-1.sty.
Fixes #12005, reported and indicated a fix by 'ert'

(cherry picked from commit a0f0220348)
2020-10-15 12:22:50 +02:00
Richard Kimberly Heck
f75895180e Fix bug #11986
(cherry picked from commit 444285aca2)
2020-09-28 22:36:13 -04:00
Enrico Forestieri
b561dfaf2e Fix clipping for vector formats and when exporting from command line
This amends ea81faa9 that only took into account the postscript format
and did not consider that without GUI an image is not available even if
if it is actually cached. In this case we load the image for obtaining
its dimensions in order to correct the clipping bounding box.
2020-09-25 21:25:40 +02:00
Kornel Benko
155c779432 Gnumeric conversions to html: Remove wrong closing </p> flag
Now LyXHTML export for Spreadsheet.lyx is errorles, but stil we need a wrapper
to remove unneeded 'Ark' captions.

(cherry picked from commit 70725040db)
2020-09-24 16:42:47 +02:00
Juergen Spitzmueller
1cec06e1bd ru.po update from Yuriy 2020-09-19 08:46:04 +02:00
Enrico Forestieri
4790f1a728 Update it.po 2020-09-18 23:51:36 +02:00
Kornel Benko
1680b8100f Update sk.po 2020-09-18 18:36:48 +02:00
Juergen Spitzmueller
9b1eeba6bf de.po 2020-09-18 17:38:37 +02:00
Pavel Sanda
7eb25fde27 * cs.po 2020-09-18 17:36:52 +02:00
Richard Kimberly Heck
1fe0cc16a2 Remerge strings. 2020-09-18 11:06:07 -04:00
Jean-Marc Lasgouttes
0e4d7db2be Fixup b7f6b979: make caret geometry update lazy
Instead of working around crashes in update of caret geometry, only
request it as needed. The actual computation will take place just
before painting the caret.

It might be that this is overkill and that caret geometry should be
updated unconditionally. One would have to to some timing while idle to
ascertain that.

Fixes bug #11912.

(cherry picked from commit c1f8c6c26d)
2020-09-18 09:27:55 +02:00
Jean-Marc Lasgouttes
64e5a8c016 Introduce BufferView::caretInView()
It is not a good idea to call caretPosAndHeight when the caret is in a
paragraph that is not in cached metrics. This can happen when not
using "cursor follows scrollbar".

This commit refactor things a bit so that testing is done in
BufferView.

(cherry picked from commit e6b54ea4d2)
2020-09-18 09:26:28 +02:00
Yuriy Skalko
195f307a39 Show custom text styles in status bar
Fixes bug #11951.

(cherry picked from commit b0db575dc1)
2020-09-16 18:43:23 +02:00
Pavel Sanda
ad23db57fc * cs.po : new strings 2020-09-16 12:13:55 +02:00
Pavel Sanda
3dece9b25d remerge cs.po 2020-09-16 12:00:09 +02:00
Juergen Spitzmueller
316a6470ad Localize format prettyName in some more places (#11954)
(cherry picked from commit 6f476b960e)
2020-09-11 09:11:00 +02:00
Eugene Chornyi
0638574dc9 Workaround Qtbug where QAbstractScrollArea::mouseMoveEvent(...)
is called falsely when quickly double tapping on a touchpad of a notebook running Windows (only for specific Qt Versions)
2020-09-10 21:43:37 +02:00
Enrico Forestieri
34f33b27a3 Try to use the right width for math symbols
The rules for typesetting math differ from the rules for typesetting
text. For example, two italic 'f' chars have to be typeset more closely
than two 'o' chars in text mode, but not in math mode. Qt provides a
method that returns the distance appropriate for drawing a subsequent
character in text mode, but nothing for math mode. Typically, the
distance appropriate for drawing the next character in math mode is
the actual width span by the character, corrected by the rules of
an appendix in the TeXbook. Recently, those rules are followed more
closely in LyX but not exactly, and we have to find a way to adapt to them.
Some symbols may need more spacing around them than the width they span.
So, we use the distance suggested by Qt, unless it is less than the
width of the rectangle bounding the symbol. Before Qt 5.11 the used method
was QFontMetrics::width(), but since then it has been declared obsolete
in favor of QFontMetrics::horizontalAdvance(), whose name conveys better
its meaning.

No status entry is needed as this amends 79998fdc.
2020-09-09 01:25:12 +02:00
Richard Kimberly Heck
ede483856e GuiName for counters is only in 2.4.0. 2020-09-08 11:35:32 -04:00
Enrico Forestieri
d8d9ca78db Update the autocorrect file
Correct or activate some already present shortcuts, and add new ones
for easily obtaining the most common fixed size delimiters.
Pressing '*' after a delimiter will cycle through all sizes.
2020-09-03 23:19:25 +02:00
Enrico Forestieri
82b3a26a32 Adjust debug output for fonts
This restores the debug output as it was intended before the
introduction of the LYXERR macro that was unconditionally outputing
an end of line. This is how this output was appearing until lyx 1.5:

Looking for font family cmr10 ... got: cmr10
 got it normal!

instead of as it was since lyx 1.6 and until now:

Looking for font family cmr10 ...
got: cmr10
 got it
normal!
2020-09-03 20:53:41 +02:00
Enrico Forestieri
1f1a8f6007 Personalize fonts
When the fonts distributed with texlive with same family name
as ours are also managed by fontconfig, Qt is not able to
discriminate ours by the style only. In order to be sure Qt
will load our fonts, we change the foundry name from 'PfEd'
to 'LyEd' and augment the font family name with this foundry
name. This only works on *nix, because adding a foundry name
seemingly breaks things on Windows. However, this is a *nix
only problem, seemingly.
2020-09-03 20:42:05 +02:00
Juergen Spitzmueller
d37db2225b de.po 2020-09-03 07:46:40 +02:00
Richard Kimberly Heck
14e23c97ad Accelerators
(cherry picked from commit 5606e934ac)
2020-09-03 07:39:56 +02:00
Richard Kimberly Heck
ec5b4be73e Localization
(cherry picked from commit 1ba785f2c6)
2020-09-01 01:44:39 -04:00
Kornel Benko
eaece7aa9f Update sk.po 2020-08-31 18:30:23 +02:00
Richard Kimberly Heck
7f69fb3b3c Fix problem with edit button.
The previous implementation relied upon the cursor being immediately
in front of the inset. A bad idea.

(cherry picked from commit cf7e32ee8f)
2020-08-31 11:53:02 -04:00