]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Tue, 23 Apr 2019 11:32:04 +0000 (13:32 +0200)]
Revive Bulgarian localization
Juergen Spitzmueller [Sun, 21 Apr 2019 07:55:17 +0000 (09:55 +0200)]
Fix renaming of citation refs after changing bibitem key
Fixes: #6494
(cherry picked from commit
faefee3dc633e90d770f417c344c8047993ca360 )
Kornel Benko [Sun, 21 Apr 2019 11:26:52 +0000 (13:26 +0200)]
Update + casing for sk.po
Juergen Spitzmueller [Sat, 20 Apr 2019 15:51:06 +0000 (17:51 +0200)]
Pass proper text to TeXOnePar in Paragrapgh::Private::validate
This fixes InPreamble layouts in insets (#11557)
(cherry picked from commit
4f884fc92d31651d15896e51fbe239772a0bede9 )
Juergen Spitzmueller [Fri, 19 Apr 2019 15:18:18 +0000 (17:18 +0200)]
Use proper listings font styles with polyglossia and RTL
Fixes: #11554
Also load color with minted and polyglossia/RTL, as minted loads it
too late.
(cherry picked from commit
3e516a6219f8a768ef0413876109160dd5935cc1 )
Juergen Spitzmueller [Tue, 16 Apr 2019 07:10:38 +0000 (09:10 +0200)]
Status update
Juergen Spitzmueller [Tue, 16 Apr 2019 07:02:37 +0000 (09:02 +0200)]
ar.po: update by Hatim
Enrico Forestieri [Sun, 14 Apr 2019 08:46:05 +0000 (10:46 +0200)]
Update status.23x
Add reference to a bug reported after it was fixed.
Jean-Marc Lasgouttes [Tue, 2 Apr 2019 12:30:50 +0000 (14:30 +0200)]
Fixup
ad79ac40 : reintroduce markers around delimiters
The reasoning behind this change was not correct.
Fixes bug #11516.
(cherry picked from commit
3b58e38dc6a3a94d6152e9cf70d92e9af5ab0ea9 )
Jean-Marc Lasgouttes [Tue, 9 Apr 2019 09:29:20 +0000 (11:29 +0200)]
Fix bold-like characters when selecting bidi text
In painter, restrting paining regions does not really work when region is empty.
Fixes bug #11198.
(cherry picked from commit
f9da28428a75f3e60920ec983ff52bbbf2e6d683 )
Daniel Ramoeller [Thu, 4 Apr 2019 14:51:39 +0000 (16:51 +0200)]
Fix for #11476: Icons have spurious squares
(cherry picked from commit
209944796a1665985c67fa99ea0ee2564f07231f )
Daniel Ramoeller [Thu, 4 Apr 2019 15:01:56 +0000 (17:01 +0200)]
Fix for Mac Command-0 zoom-buffer binding
Amends fix to #10455
(cherry picked from commit
990f1eca4a985116def89f18061f9ea8eea84a67 )
Juergen Spitzmueller [Mon, 1 Apr 2019 07:26:09 +0000 (09:26 +0200)]
Fix left/right border UI when toggling formal
Fixes: #9835
(cherry picked from commit
00de6c4be7db826e0035a412b0e19ffe940a5a44 )
Juergen Spitzmueller [Mon, 1 Apr 2019 03:43:32 +0000 (05:43 +0200)]
Fix booktabs bottom line with multirows
Fixes: #11445
(cherry picked from commit
819c9c164579bb11322238258ca71f5aa2621705 )
Kornel Benko [Tue, 26 Mar 2019 09:00:35 +0000 (10:00 +0100)]
Cmake build: Removed some cmake warnings
Richard Kimberly Heck [Tue, 26 Mar 2019 02:59:40 +0000 (22:59 -0400)]
This has not been updated in my build yet.
(cherry picked from commit
95c665e607b05ec815bc6ee79621cda84029f43f )
Uwe Stöhr [Tue, 26 Mar 2019 01:34:54 +0000 (02:34 +0100)]
Win installer: fix bug on init
- also remove unused code and some updates
jpc [Mon, 25 Mar 2019 15:31:29 +0000 (16:31 +0100)]
Update shortcuts in fr.po
jpc [Mon, 25 Mar 2019 08:57:55 +0000 (09:57 +0100)]
Solve shortcut conflict in fr.po
Enrico Forestieri [Sun, 24 Mar 2019 16:28:01 +0000 (17:28 +0100)]
Fix bug #11526
Correctly categorize a textmode symbol in mathed.
(cherry picked from commit
c2af2cfd94dc3ff83b0e8cfaef4bfaf8768b6d08 )
Kornel Benko [Sun, 24 Mar 2019 11:47:45 +0000 (12:47 +0100)]
Update sk.po
Juergen Spitzmueller [Sat, 23 Mar 2019 07:17:59 +0000 (08:17 +0100)]
de.po
Pavel Sanda [Sat, 23 Mar 2019 06:56:21 +0000 (07:56 +0100)]
backport forgotten accelerators
Pavel Sanda [Fri, 22 Mar 2019 21:27:23 +0000 (22:27 +0100)]
* cs.po
Uwe Stöhr [Fri, 22 Mar 2019 00:19:48 +0000 (01:19 +0100)]
installer: re-sync with master
backport all recent fixes from master
Jean-Marc Lasgouttes [Wed, 20 Mar 2019 09:56:16 +0000 (10:56 +0100)]
Cache the value of GuiFontMetrics::lbearing().
This seems to be necessary on windows, where math editing can get very
slow. Note that other methods like rbearing already use a cache.
In the future all these caches for single characters shall be unified.
(cherry picked from commit
d3979e798cd9c85041bb5e6158002384a8cddb8c )
Jean-Marc Lasgouttes [Tue, 11 Sep 2018 14:45:48 +0000 (16:45 +0200)]
Place the depth bar correctly in full screen mode
In full screen mode, it is possible to restrict the text width. In
this case, the paint bar should not be painted outside of this
restricted area.
Fixes bug #11286.
(cherry picked from commit
7485225cc6f26c9e03d3674f4f361b431074fa6e )
Juergen Spitzmueller [Fri, 28 Dec 2018 09:11:42 +0000 (10:11 +0100)]
Add tabular-features set-inner-lines and fix set-all-lines behavior
Patch by Daniel Ramöller (racoon)
Fixes: #11382
(cherry picked from commit
cb84f752f21bb4cf4bd9ed6999df0353aba2b57e )
Enrico Forestieri [Tue, 19 Feb 2019 18:51:11 +0000 (19:51 +0100)]
Fix bug #11490
Correctly add the branch name suffix when the stem
of the filename contains a dot.
(cherry picked from commit
c3b950483565ca53265a4105a4946585f8b59e24 )
Enrico Forestieri [Sat, 5 Jan 2019 18:17:37 +0000 (19:17 +0100)]
Fix bug #4269 and avoid crash with gzipped file
Call gunzip with quoted filenames as they may contain spaces or
other special characters.
In computing the length of the extension, the code does not account
for the prefix "unzipped_", which is added when the zipped filename
does not have one of the extensions "gz", "z", "Z", or "svgz", and
thus the used index is out of bounds. See also this thread:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg207360.html
(cherry picked from commit
69726b832b4ed1859d5c9e753c4437c98f5f2966 )
(cherry picked from commit
7296e0e6ba8bcd343fb3cdb78c8590fd0864d469 )
Enrico Forestieri [Sat, 29 Dec 2018 19:11:56 +0000 (20:11 +0100)]
Fix bug #4269
Call gunzip with quoted filenames as they may contain spaces or
other special characters.
(cherry picked from commit
69726b832b4ed1859d5c9e753c4437c98f5f2966 )
Pavel Sanda [Mon, 18 Mar 2019 21:22:44 +0000 (22:22 +0100)]
* cs.po
Juergen Spitzmueller [Fri, 15 Mar 2019 10:23:53 +0000 (11:23 +0100)]
Do not force LTR with nameref and non-TeX fonts
Fixes: #11518
(cherry picked from commit
f0282ddff4ecfa3dc33eac2a2dbd9e0bf45b28a2 )
Richard Kimberly Heck [Fri, 15 Mar 2019 00:28:01 +0000 (20:28 -0400)]
Fix regression concerning collapsing insets after search.
To reproduce: Do a search for text in a footnote (say) that is
currently closed. Click inside the now open footnote. It will close
by itself.
We need to know whether we can go into the inset, not whether we can
edit once we're there.
(cherry picked from commit
4484cc775126e969d83f036561cfeb21d6751e79 )
Juergen Spitzmueller [Sun, 10 Mar 2019 15:37:31 +0000 (16:37 +0100)]
More exceptions to percent encoding
See #11511
(cherry picked from commit
3c83f01f1b8b76b63a8f4892bb7635817ed1e12c )
Juergen Spitzmueller [Sun, 10 Mar 2019 12:23:36 +0000 (13:23 +0100)]
Do not percent-encode & in urls
This is query syntax
Fixes: #11511
follows up [
c2db448ff5 /lyxgit]
(cherry picked from commit
936cddc715d3a49ffbde42bba0cb19120701bc57 )
jpc [Sun, 10 Mar 2019 08:21:10 +0000 (09:21 +0100)]
Update fr.po
jpc [Thu, 27 Dec 2018 17:26:08 +0000 (18:26 +0100)]
Update fr.po
Pavel Sanda [Sat, 2 Mar 2019 18:15:33 +0000 (19:15 +0100)]
* cs.po
Jean-Marc Lasgouttes [Tue, 26 Feb 2019 15:37:41 +0000 (16:37 +0100)]
Update screen as needed when preferences are changed
This commit removes the adhoc code in GuiPrefs and moves it to LyXRC,
so that it triggers in every preference change.
The code has also been updated to trigger on more variables, e.g.
font_*_foundry.
Note that the actual function that are called have not been changed
(addPreviews and LFUN_SCREEN_FONT_UPDATE), although there are doubts
that they behave as needed (see FIXMEs).
Fixes bug #11498.
(cherry picked from commit
954531f247adee029c12713634a81717f87a2bcf )
Pavel Sanda [Tue, 26 Feb 2019 13:19:57 +0000 (14:19 +0100)]
remerge cs.po
Pavel Sanda [Tue, 26 Feb 2019 13:18:47 +0000 (14:18 +0100)]
* cs.po
Kornel Benko [Tue, 26 Feb 2019 10:26:20 +0000 (11:26 +0100)]
Cmake export tests: Use pre-compiled regular expressions
Essentially ammend
db5fb78c , consisting of cherry-pick
597dcbb5
(and
c9e62dec , but this is not important here)
Richard Kimberly Heck [Tue, 26 Feb 2019 02:56:40 +0000 (21:56 -0500)]
Fix bad error message (bug 11486).
(cherry picked from commit
5b959033d2167ffbef7eaf70d561eb23fcde803c )
Juergen Spitzmueller [Sat, 23 Feb 2019 16:58:02 +0000 (17:58 +0100)]
de.po
Juergen Spitzmueller [Thu, 9 Aug 2018 15:23:05 +0000 (17:23 +0200)]
Pavel Sanda [Fri, 22 Feb 2019 15:52:17 +0000 (16:52 +0100)]
* cs.po
Scott Kostyshak [Fri, 15 Feb 2019 17:12:10 +0000 (12:12 -0500)]
Intro.lyx: remove a "short title"
This short title removed a spaced, and when taking a look we decided
that the advantages of removing it (simplicity and consistency)
outweigh the benefits of having a shorter entry in the table of
contents and PDF bookmarks.
(cherry picked from commit
9c748a04702a979786f39bb7fa367e3945b51ae3 )
Jean-Marc Lasgouttes [Tue, 29 Jan 2019 10:20:22 +0000 (11:20 +0100)]
Improve DEPM when change tracking is on
A typical problem when change tracking is on is:
1/ insert a new space between two words (as if you want to insert a new one)
2/ move the cursor
3/ see how one has one inserted and one deleted space, whereas one would expect nothing.
The problem is fixed in a general way in master, but here we propose
a simpler one, where the spaces that we keep are the ones at the end
of the sequence of spaces.
Part of #11412.
Jean-Marc Lasgouttes [Tue, 29 Jan 2019 09:55:12 +0000 (10:55 +0100)]
Fix position of cursor when DEPM is used in change tracking mode
When change tracking is active, it may happen that spaces are marked
as deleted instead of being removed. Therefore it is better to measure
the change of size of the paragraph to know how to offset the cursor.
Moreover, it the cursor was strictly after the start of the sequence
of spaces, we ensure that it is still the case.
This commit is _not_ a backport from master, which has diverged.
Part of bug #11412/
Jean-Marc Lasgouttes [Wed, 30 Jan 2019 22:50:53 +0000 (23:50 +0100)]
Fix DEPM at end of paragraph
Remove special handling of spaces at end of paragraph. Now they are
handled like interword spaces by both DEPM methods.
Fix off-by-one error in loop when testing for end of paragraph.
Part of bug #11412.
(adapted from commit
c00234503f9e07795723222e6095c022e45ad1dd )
Juergen Spitzmueller [Mon, 11 Feb 2019 15:46:13 +0000 (16:46 +0100)]
Fix IPA icons
Convert text to path and fix the most salient drawing issues.
Jean-Marc Lasgouttes [Mon, 11 Feb 2019 09:43:59 +0000 (10:43 +0100)]
Fix Visual C++ warning
(cherry picked from commit
2215f4c2b43f9c282f35984182dcd958c8a27ced )
Jean-Marc Lasgouttes [Wed, 6 Feb 2019 14:49:53 +0000 (15:49 +0100)]
Fix algorithm for finding localized files
Now we search in priority with the GUI language, and then the
language(s) specified in the LANGUAGES environment variable.
Preoviously, the GUI language would only be considered when
LANGUAGES was not set (which was a bug).
Take this opportunity to remove old compatibility code from 2007.
(cherry picked from commit
e203bf519b4dd69f17a2f8cabb6607d2f73dce71 )
Enrico Forestieri [Mon, 4 Feb 2019 09:49:02 +0000 (10:49 +0100)]
Fix bug #11484
When splitting parameters at commas, take into account that
commas inside curly braces are not parameter separators.
(cherry picked from commit
6316b9b7aed7d67c585f8c17cce5669f8cbb5d65 )
Juergen Spitzmueller [Tue, 29 Jan 2019 13:49:04 +0000 (14:49 +0100)]
? and = must not be percent-encoded in hrefs
Fixes: #11482
(cherry picked from commit
c2db448ff558f53ebfd93920d7d40f37d9a4211c )
Enrico Forestieri [Sun, 27 Jan 2019 10:58:18 +0000 (11:58 +0100)]
Update it.po
Juergen Spitzmueller [Fri, 25 Jan 2019 14:02:00 +0000 (15:02 +0100)]
de.po
Pavel Sanda [Wed, 23 Jan 2019 22:11:36 +0000 (23:11 +0100)]
* cs.po
Daniel Ramoeller [Mon, 31 Dec 2018 11:14:46 +0000 (12:14 +0100)]
Fix for #11294: Wrong description for Change bars module
(cherry picked from commit
f71723c8f333819bcaa5180fe98d9cd4c1491ba8 )
Richard Kimberly Heck [Wed, 16 Jan 2019 16:13:53 +0000 (11:13 -0500)]
Rename emergency file when it is kept.
Otherwise, we will ask about it again next time, when the file
may have changed. Also, if we crash again, we'll over-write that
file, which we may not want to do.
See bug #11464.
(cherry picked from commit
b804e8851c33b68caa5057e809a12333741dfe2e )
Jean-Marc Lasgouttes [Mon, 14 Jan 2019 15:37:10 +0000 (16:37 +0100)]
Allow to type a space in front of another one
This is a follow-up to
714b731e . This fixes the issue when the cursor
is in front of a space
abc| def
and one inserts another space (to start a word). DEPM would eat one
space and produce
abc |def
instead of
abc | def
Additionally, fix the same_par boolean, wheich did not take the cell
index into account.
Related to ticket #11412.
(cherry picked from commit
7848d3c90c0837e8e8549db37bf4bc5cd7e7dad1 )
Enrico Forestieri [Sat, 12 Jan 2019 17:37:41 +0000 (18:37 +0100)]
Remove PYTHONPATH from the environment on Windows
This make sure to use the the modules distributed with LyX,
avoiding reconfigure failures.
(cherry picked from commit
ad0c9a548bf9e0c5038f2731aef766e0d0e8c266 )
Juergen Spitzmueller [Sat, 12 Jan 2019 16:40:55 +0000 (17:40 +0100)]
force some symbols as macros with utf8-cjk
cherry-picked from
*
4786c59a8c2665a7
*
81af82d1e82d42f5
*
c2d20645be092c77
Juergen Spitzmueller [Sat, 12 Jan 2019 16:40:19 +0000 (17:40 +0100)]
CJKutf8 is only to be used with the dedicated utf8-cjk encoding
cherry-picked from
9982651fd684577e977d85d0bc54bea65d8c3ff1
Juergen Spitzmueller [Fri, 11 Jan 2019 15:40:41 +0000 (16:40 +0100)]
Add support for U+2693 (ANCHOR)
Fixes: #10706
(cherry picked from commit
ead498f0a642b27cb9a63f76d146ba776fc7f7b6 )
Enrico Forestieri [Fri, 11 Jan 2019 17:15:40 +0000 (18:15 +0100)]
Replace environment variables in PATH prefix
The PATH prefix modified through the GUI was set without
replacing embedded environment variables. This might have
caused problems on Windows with external python installations.
(cherry picked from commit
472bdf59109b4188df3bbad18ac3aa60670962aa )
Juergen Spitzmueller [Wed, 9 Jan 2019 08:06:53 +0000 (09:06 +0100)]
Do not consider deleted labels in ambiguity check
This adds a new (boolean) parameter "active" to the label cache, where
we track whether a label is deleted in ct mode (the same could be done,
if wanted, for labels in notes and inactive branches).
Deleted (inactive) labels are neither considered in the uniqueness check
nor added to the outliner. This also means that undeleted references to
deleted labels are now (correctly) marked as BROKEN.
Cherry-picked from:
[
3ae6bff538 /lyxgit]
[
a550a613e8 /lyxgit]
[
c457ea90e /lyxgit]
[
5cfd25697 /lyxgit]
[
5afacb144 /lyxgit]
[
54366c38e /lyxgit]
Fixes: #6563
Juergen Spitzmueller [Mon, 7 Jan 2019 12:54:23 +0000 (13:54 +0100)]
When using polyglossia (bidi), paragraph directions don't need to be swapped
Bidi does that.
Fixes: #11399
(cherry picked from commit
9d20bc4e989c57dc5498f231d890a0550375a753 )
Scott Kostyshak [Mon, 7 Jan 2019 17:15:16 +0000 (12:15 -0500)]
status.23x: correct typo from
822e0133
Thanks to José.
Scott Kostyshak [Sun, 6 Jan 2019 19:38:54 +0000 (14:38 -0500)]
ko splash.lyx: specify "mj" as CJK font
Now (thanks to
d193cd05 ), the Korean splash.lyx compiles
out-of-the-box with pdflatex.
Thanks to Jürgen.
(cherry picked from commit
0cfaf406c5f55b4b6a56f9f322748988b1778ec4 )
Kornel Benko [Mon, 7 Jan 2019 07:37:41 +0000 (08:37 +0100)]
Enable error-free compilation of ko splash.lyx with xetex and lautex
This amends somehow
9238004c . Since the system font NanumMyeongjo
and the "mj" spec as CJK latex font are related, this change
seems appropriate.
(cherry picked from commit
f092208c89500abf9ac3f56e9fbcb169ae1d4c41 )
Juergen Spitzmueller [Sun, 6 Jan 2019 15:40:36 +0000 (16:40 +0100)]
Don't output CJK environment with non-TeX fonts
This amends
d193cd05a8e3b .
(cherry picked from commit
c9dd349bee71d9a3952f36246f684ead9ca43c2b )
Juergen Spitzmueller [Sun, 6 Jan 2019 13:36:11 +0000 (14:36 +0100)]
Properly implement CJKutf8
If we use that, the document actually needs to be in utf8 encoding, and
the CJK environment needs to account for it.
Candidate for stable.
(cherry picked from commit
d193cd05a8e3be92e34a873416a16c2a474b61cb )
Jean-Marc Lasgouttes [Thu, 4 Oct 2018 14:05:46 +0000 (16:05 +0200)]
Fix display of gather in lefteqn mode
The column is flushed when the display of equations is flushed.
Not sure what to do with RtL languages.
Fixes bug 11324.
(cherry picked from commit
7cb0284a3ffa469c4c99184725f5a3e0b4056508 )
Stephan Witt [Sun, 6 Jan 2019 08:28:11 +0000 (09:28 +0100)]
Add license info for inkscape start script
(cherry picked from commit
a4d409b194a2ba38eb2e8c1fd7af0dbf62f59cb7 )
Add status log for 2.3.x
Stephan Witt [Sat, 5 Jan 2019 23:22:21 +0000 (00:22 +0100)]
Correct converter configuration for inkscape on Mac
On Mac the inkscape binary is started by a wrapper script. This script changes the
working directory internally and fails to process files with relative path names.
The previous attempt to solve it was to pass the file names with absolute names
by prepending them with the $$p variable (representing the directory name of the files).
This broke the on screen conversion (used for SVGZ to PNG e.g. in the users guide)
because here the $$p variable is undefined.
Now the wrapper script of LyX which is used to locate the Inkscape.app bundle converts
the relative path names into absolute names and the $$p variable is removed from the
converter definitions for inkscape again.
(cherry picked from commit
caa1dd2aeed97330e05c0e96ae7e5bb929b0866d )
Richard Kimberly Heck [Sun, 6 Jan 2019 22:50:14 +0000 (17:50 -0500)]
Remove now unused routine.
(cherry picked from commit
d6b4db1a4f85b15090d15afda0b9ec6c23d28e4c )
Richard Kimberly Heck [Sun, 6 Jan 2019 22:45:08 +0000 (17:45 -0500)]
Use combo box data rather than looking up info from InsetRef.
(cherry picked from commit
c4fdab69937d627cba1185a978e4b2d041c22eb5 )
Richard Kimberly Heck [Sun, 6 Jan 2019 18:00:21 +0000 (13:00 -0500)]
Remove debugging code.
(cherry picked from commit
b91e2b99986c0f957ba27eeba74b5ae0460d73bc )
Richard Kimberly Heck [Sun, 6 Jan 2019 17:51:02 +0000 (12:51 -0500)]
Fix problem caused by re-ordering of menu at
5f6332bf4 .
This broke the activation and de-activation of plural, capitalize,
etc. I guess that tells us how much those get used....
(cherry picked from commit
9b3f9cc687c5294e13555c6596184dd0e6a5d6cf )
Scott Kostyshak [Fri, 4 Jan 2019 03:27:22 +0000 (22:27 -0500)]
Bibliography.lyx: minor cosmetic changes
- Add note explaining this file should not be compiled on its own.
- Remove custom preamble.
- Remove setting of master document.
(cherry picked from commit
3ac2dd8e6c07ce115d9ddcfa3c289b3f5d0998ed )
(cherry picked from commit
91d8aea8d3e2a96ffbbbfbcbd63dfc07ace51a5c )
(cherry picked from commit
6e815d3ebaf829f18768dc0363c6a450b9483dac )
Enrico Forestieri [Sat, 5 Jan 2019 20:57:12 +0000 (21:57 +0100)]
Update it.po
Jean-Marc Lasgouttes [Mon, 3 Sep 2018 15:49:54 +0000 (17:49 +0200)]
Allow toggling (no)limits only after mathop symbol
In particular, introduce the new InsetMathScript::allowLimits method
that checks for that and honor it in getStatus/ddoDispatch.
Do the same for (over|under)brace
(cherry picked from commit
7b7ed64a0e760eccad5fff7fa944b983d0bed025 )
(cherry picked from commit
6cfd733dea70bf26c512dea8491f79f68cb512e6 )
Jean-Marc Lasgouttes [Sat, 5 Jan 2019 14:04:51 +0000 (15:04 +0100)]
forgot this
Jean-Marc Lasgouttes [Fri, 4 Jan 2019 15:24:18 +0000 (16:24 +0100)]
Fix drawing of labels in insets
In many cases, the origin xo_ of insets was forgotten.
Also fix spacing between text and label in rtl
Fixes bug #11425.
(cherry picked from commit
5c1d65afee3a37d5befcf9eb55d8d50e1d8e4f13 )
(cherry picked from commit
5fc035f99c42835da41d6eb6cf5a375382c06870 )
Jean-Marc Lasgouttes [Fri, 4 Jan 2019 12:57:13 +0000 (13:57 +0100)]
Avoid crash when using inset-select-all in tabular
When changing cell idx, it is important to set the pit to a reasonable
value.
(cherry picked from commit
a69e01d0b47aebbdfc3139533fcb7f1d0c04f156 )
Jean-Marc Lasgouttes [Thu, 3 Jan 2019 11:14:27 +0000 (12:14 +0100)]
Fix vertical offset of fonts like MinionPro
For some reason, adding a LTR/RTL Override unicode character before a
MinionPro string increases the ascent of the line.
This creates vertical offset issues when painting if the ascent used
as reference is the one of the font. Use the QTextLine ascent instead
for better results.
This is a followup to
1bed76e2a .
Fixes (reopened) ticket #11284.
Fixes ticket #10532.
Fixes ticket #10767.
(cherry picked from commit
d8498d4785282a6f42a69f56ebd46ac32e1d2f51 )
Juergen Spitzmueller [Fri, 4 Jan 2019 12:01:03 +0000 (13:01 +0100)]
Always update bibfiles cache with bibliography environment before opening citation dialog
We need to do this unconditionally, since there is no (trivial and non-
awkward) way to update it when the bibliography paragraphs are modified.
Fixes: #4899
(cherry picked from commit
35534231d45426a842ccad0219fbffbdbda446a0 )
Kornel Benko [Sat, 5 Jan 2019 07:34:00 +0000 (08:34 +0100)]
Cmake lyx2lyx tests: Correct use of value for \use_non_tex_fonts
Amend
eec3d1eb ,
7568571a
We are trying to check if the resulting file after lyx2lyx
is compilable, we have to ensure that copying the original file
to the test directory does not mangle use_non_tex_fonts-entry.
(cherry picked from commit
c9e62dec53aee97fff6dffcb6d8ef84331ba5c30 )
Kornel Benko [Fri, 4 Jan 2019 04:21:07 +0000 (05:21 +0100)]
lyx2lyx tests: Use the temp-dir also for converted lyx files
Important if including data previously copied there.
Fixes test "export/doc/Additional_lyx22"
(cherry picked from commit
7568571a24e951df8f616a4e031be2b30857b2ed )
Richard Kimberly Heck [Fri, 4 Jan 2019 00:12:58 +0000 (19:12 -0500)]
Fix bug #11432.
Take account of Layout::free_spacing.
(cherry picked from commit
6135824f40c55e3a6156d477f7475473a8d5ee53 )
Jean-Marc Lasgouttes [Wed, 2 Jan 2019 17:36:02 +0000 (18:36 +0100)]
Remove premature (and bad) optimization
When blinking the caret, it looks like a cool idea to only update the
small rectangle containing the caret. Actually it is an awful idea, since
the paint event will paint some rows, and these rows will not be
properly painted outside of the small rectangle. Unfortunately, the
painter will skip those "painted" rows on next paint events.
This leads to painting errors that depend on the ordering of "real"
and "caret" paint events. This is the reason why they only appeared
with split screens.
Quote of the day: ``The real problem is that programmers have spent far
too much time worrying about efficiency in the wrong places and at the
wrong times; premature optimization is the root of all evil (or at
least most of it) in programming.''
-- Donald Knuth, The Art of Computer Programming.
Fixes bug #11354.
(cherry picked from commit
fba9f5b9e884f0a988bd77992772eb4986eecdec )
Jean-Marc Lasgouttes [Wed, 2 Jan 2019 17:49:23 +0000 (18:49 +0100)]
Add override statements to please clang
Eventually, all overridden virtual methods should be marked properly.
Currently, clang only warns about those in classes that already use
override in at least one place (which was the case dor GuiApplication).
(cherry picked from commit
c8f4b68423520378d02fe9f953d94759b862dc55 )
Kornel Benko [Thu, 3 Jan 2019 07:46:26 +0000 (08:46 +0100)]
lyx2lyx tests: Copy also original lyx files to temp dir
Necessary only if the lyx-file includes some data from
a relative path, nonetheless it happens in some of our tests.
Kornel Benko [Wed, 2 Jan 2019 15:35:18 +0000 (16:35 +0100)]
Amend
7e1ecb65 , add Bibliography.lyx to the set of not tested subdocuments
Enrico Forestieri [Wed, 2 Jan 2019 08:22:56 +0000 (09:22 +0100)]
Amend [
324b8287 /lyxgit]
Avoid a crash by checking that a cell is not empty before
accessing its content.
No status line is needed as this amends a previous commit.
Juergen Spitzmueller [Mon, 31 Dec 2018 08:46:08 +0000 (09:46 +0100)]
Remove *.bbl and friends when invalidating the bib info cache
This avoids errors when switching engines.
The fix is already in master. We forgot to backport.
Juergen Spitzmueller [Mon, 31 Dec 2018 08:43:39 +0000 (09:43 +0100)]
Unbreak citing from bibliography environment
We need to bail out here early since otherwise the cache is prematurely
set to valid even if it is invalid with the bibliography environment.
The following checks (for timestamps of bib files) are only targeted
at bib(la)tex.
The fix is already in master.
Kornel Benko [Sun, 30 Dec 2018 08:16:47 +0000 (09:16 +0100)]
Amend
031d1c86 : Add support for aastex62