]>
git.lyx.org Git - features.git/log
Juergen Spitzmueller [Sat, 19 Feb 2022 13:32:04 +0000 (14:32 +0100)]
de.po
Juergen Spitzmueller [Sat, 19 Feb 2022 13:09:59 +0000 (14:09 +0100)]
child documents: allow inheritance of bibliography file list (#4427)
Juergen Spitzmueller [Sat, 19 Feb 2022 10:55:29 +0000 (11:55 +0100)]
Consider that "and" in BibTeX name lists is case-insensitive (#10465)
jpc [Fri, 18 Feb 2022 09:53:56 +0000 (10:53 +0100)]
Update fr.po
Enrico Forestieri [Thu, 17 Feb 2022 13:59:17 +0000 (14:59 +0100)]
Avoid a Qt warning about bad svg
See #10384 for the details.
Kornel Benko [Thu, 17 Feb 2022 11:19:33 +0000 (12:19 +0100)]
Update sk.po
Juergen Spitzmueller [Thu, 17 Feb 2022 09:52:37 +0000 (10:52 +0100)]
Correct error message
Juergen Spitzmueller [Thu, 17 Feb 2022 07:53:52 +0000 (08:53 +0100)]
de.po
Juergen Spitzmueller [Thu, 17 Feb 2022 07:21:36 +0000 (08:21 +0100)]
Typo
Juergen Spitzmueller [Thu, 17 Feb 2022 07:19:33 +0000 (08:19 +0100)]
InsetIndex: Some comments and indentation fixes
Juergen Spitzmueller [Thu, 17 Feb 2022 06:25:00 +0000 (07:25 +0100)]
Report if index processor failed (#7820)
Scott Kostyshak [Thu, 17 Feb 2022 03:05:02 +0000 (22:05 -0500)]
ctests: log fixed upstream Polyglossia issues
Thanks to Jürgen for fixing the upstream issue.
Also add a row "ctest" to give the pattern of the ctests that
failed.
Kornel Benko [Wed, 16 Feb 2022 13:44:43 +0000 (14:44 +0100)]
Update sk.po
Juergen Spitzmueller [Wed, 16 Feb 2022 13:25:25 +0000 (14:25 +0100)]
Reset font formatting of inset entries on creation (#11961)
Juergen Spitzmueller [Wed, 16 Feb 2022 13:24:46 +0000 (14:24 +0100)]
Use copy
Juergen Spitzmueller [Wed, 16 Feb 2022 12:17:30 +0000 (13:17 +0100)]
Oops.
Juergen Spitzmueller [Wed, 16 Feb 2022 12:16:24 +0000 (13:16 +0100)]
More generic message
Nomencl processor can be something else than makeindex.
Juergen Spitzmueller [Wed, 16 Feb 2022 12:11:15 +0000 (13:11 +0100)]
de.po
Juergen Spitzmueller [Wed, 16 Feb 2022 11:03:38 +0000 (12:03 +0100)]
Fix run of index processor in the export chain (#2696)
It does not make sense to issue the index processor before the
pagination is fixed. Particularly, if (classic) BibTeX is run,
we need one or more extra LaTeX runs after that before issuing
the index processor, since the citation labels and references are
only expanded then, which might change pagination. As a consequence,
we ended up in wrong index references.
This fixes a 16 year old bug report.
Juergen Spitzmueller [Tue, 15 Feb 2022 15:17:19 +0000 (16:17 +0100)]
Always update buffer when language is being changed (#12481)
Juergen Spitzmueller [Tue, 15 Feb 2022 11:50:25 +0000 (12:50 +0100)]
Whitespace
Juergen Spitzmueller [Tue, 15 Feb 2022 09:53:34 +0000 (10:53 +0100)]
de/Customization: fix typo.
Juergen Spitzmueller [Tue, 15 Feb 2022 09:24:39 +0000 (10:24 +0100)]
Fix #10649
jpc [Mon, 14 Feb 2022 10:30:24 +0000 (11:30 +0100)]
Update fr.po
Juergen Spitzmueller [Mon, 14 Feb 2022 07:46:11 +0000 (08:46 +0100)]
Reset font when leaving insets while auto-inserting (fixes #12477)
Thibaut Cuvelier [Mon, 14 Feb 2022 02:03:22 +0000 (03:03 +0100)]
DocBook: use the existing unicodesymbols global table to map LaTeX ERTs to Unicode characters.
Kornel Benko [Sun, 13 Feb 2022 13:23:58 +0000 (14:23 +0100)]
Update sk.po
Kornel Benko [Sun, 13 Feb 2022 12:57:41 +0000 (13:57 +0100)]
Update sk.po
Juergen Spitzmueller [Sun, 13 Feb 2022 09:28:00 +0000 (10:28 +0100)]
Small doc addition concerning \DocumentMetadata
Enrico Forestieri [Sun, 13 Feb 2022 03:57:27 +0000 (04:57 +0100)]
Fix bug #12466
Amend
109ea2be by reintroducing the command prefix that was
inadvertently removed. The prefix sets the proper environment
for latex.
Juergen Spitzmueller [Sat, 12 Feb 2022 16:42:13 +0000 (17:42 +0100)]
Fix tooltip and layout
Juergen Spitzmueller [Sat, 12 Feb 2022 16:41:04 +0000 (17:41 +0100)]
de.po
Juergen Spitzmueller [Sat, 12 Feb 2022 16:11:18 +0000 (17:11 +0100)]
Update tex2lyx tests
Juergen Spitzmueller [Sat, 12 Feb 2022 16:10:34 +0000 (17:10 +0100)]
Add basic support for \DeclareMetadata
File format change
Juergen Spitzmueller [Sat, 12 Feb 2022 14:10:14 +0000 (15:10 +0100)]
Whitespace
Juergen Spitzmueller [Fri, 11 Feb 2022 16:07:57 +0000 (17:07 +0100)]
Do not output hyperref option unicode with recent hyperref versions
unicode is true by default anyway, and it is now easier to opt out
via PackageOptions
Stephan Witt [Wed, 9 Feb 2022 09:59:18 +0000 (10:59 +0100)]
Avoid static members zoom_min_ and zoom_max_
Some compilers cannot use static class members by reference. std::min() and std::max() are passing parameters by const reference.
Kornel Benko [Tue, 8 Feb 2022 18:54:16 +0000 (19:54 +0100)]
Update sk.po
Jean-Marc Lasgouttes [Tue, 8 Feb 2022 18:42:17 +0000 (19:42 +0100)]
Set a maximum value to zoom level
The minimal vamue is set to 10%, let's set the max to 1000%. This
avoids crashes when characters are too large.
The code is refactored to be more compact and the tests are more precise.
Fixes bug #12452.
Scott Kostyshak [Tue, 8 Feb 2022 17:15:31 +0000 (12:15 -0500)]
Uninvert Hazard.*systemF tests
Our .lyx document was updated by Jürgen at
e071d5fe .
Scott Kostyshak [Tue, 8 Feb 2022 03:13:37 +0000 (22:13 -0500)]
ctests: log a fixed issue
Juergen Spitzmueller [Mon, 7 Feb 2022 16:07:50 +0000 (17:07 +0100)]
HP-Statements example: update
Some of the examples used here seem to be no longer supported by
the hpstatement package and lead to errors.
Juergen Spitzmueller [Mon, 7 Feb 2022 15:21:20 +0000 (16:21 +0100)]
Amend
0789f2f2ae43
Use getFont() which considers fonts_default_family adjustments
Thibaut Cuvelier [Mon, 7 Feb 2022 03:49:32 +0000 (04:49 +0100)]
DocBook: add a TODO for a newly discovered bug.
Thibaut Cuvelier [Mon, 7 Feb 2022 03:47:40 +0000 (04:47 +0100)]
DocBook: in ERTs, allow the use of \string.
Thibaut Cuvelier [Mon, 7 Feb 2022 02:24:11 +0000 (03:24 +0100)]
DocBook: refactor ERT recognition as a map, add many coded letters.
Thibaut Cuvelier [Mon, 7 Feb 2022 00:02:19 +0000 (01:02 +0100)]
DocBook: in ERTs, recognise \oe.
Thibaut Cuvelier [Sun, 6 Feb 2022 23:27:58 +0000 (00:27 +0100)]
DocBook: in ERTs, recognise calls to the logos (as in InsetSpecialChar).
Daniel Ramoeller [Sat, 13 Nov 2021 09:24:53 +0000 (10:24 +0100)]
Display manually set itemize symbols
Display manually set itemize symbols and their size in the work area.
Fix for bug #2277.
Also fixes a problem with document settings changed() not correctly emitted.
Scott Kostyshak [Sun, 6 Feb 2022 13:13:12 +0000 (08:13 -0500)]
ctests: log a fixed issue
Juergen Spitzmueller [Sun, 6 Feb 2022 09:02:17 +0000 (10:02 +0100)]
Don't set open_font to false if lang hasn't been closed
Thibaut Cuvelier [Sun, 6 Feb 2022 05:44:29 +0000 (06:44 +0100)]
DocBook: don't force outputting an <abstract> when it would only contain comments.
Before this patch, LyX would forcibly create an <abstract> tag even when there was no abstract in the document; this behaviour is sometimes desirable, but not when the abstract only contains comments (that's not valid DocBook: there must be a paragraph or assimilated within the abstract).
Thibaut Cuvelier [Sun, 6 Feb 2022 05:20:50 +0000 (06:20 +0100)]
DocBook: support @ in index when used for sorting.
Thibaut Cuvelier [Sun, 6 Feb 2022 04:35:07 +0000 (05:35 +0100)]
Amend
109ea2be4a21ca93d22ab25703b3352a50fbbe3b
The Windows code wasn't adapted when a variable was renamed (unlike the Linux one).
Kornel Benko [Sat, 5 Feb 2022 19:04:06 +0000 (20:04 +0100)]
Tools(listFontWithLang.pl): Discard use of deprecated perl-module Getopt::Mixed
According to CTAN, this module is effectively obsolete.
Using Getopt::Long instead now, since it is also part
of the standard Perl distribution.
Juergen Spitzmueller [Fri, 4 Feb 2022 16:24:16 +0000 (17:24 +0100)]
Do not set open_font true if none was open
Juergen Spitzmueller [Fri, 4 Feb 2022 16:23:52 +0000 (17:23 +0100)]
Do not try to pop from an empty stack
Kornel Benko [Mon, 31 Jan 2022 12:43:37 +0000 (13:43 +0100)]
Tools(listFontWithLang.pl): Only Haramo.*Gothic fonts are sans serif
(Harano.*Mincho are serif fonts, so don't treat them as 'sans')
Jean-Marc Lasgouttes [Fri, 28 Jan 2022 19:16:38 +0000 (20:16 +0100)]
Oops ! fixup
8c047143efbd
Jean-Marc Lasgouttes [Fri, 28 Jan 2022 18:48:18 +0000 (19:48 +0100)]
Code cleanup in GuiCompleter
processUpdateFlags does nothing if the update flags are None==0.
Pavel Sanda [Fri, 28 Jan 2022 17:12:45 +0000 (18:12 +0100)]
Revert
65b674ba4eff .
We do not for what crash was this fix intended, but we know
that the fix introduced freeze in xhtml exports (e.g. merged manual).
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg216835.html
Jean-Marc Lasgouttes [Fri, 28 Jan 2022 16:13:30 +0000 (17:13 +0100)]
Force redraw after completion
Inside a math inset when completing macro names, it could lead to crashes.
Note that this processUpdateFlags is present when outside of this if() branch.
Scott Kostyshak [Thu, 27 Jan 2022 22:27:15 +0000 (17:27 -0500)]
Comment: link to Beamer enumitem feature request
José Matos [Thu, 27 Jan 2022 18:32:57 +0000 (18:32 +0000)]
Replace $${python} directly in the converter constructor
José Matos [Thu, 27 Jan 2022 15:37:45 +0000 (15:37 +0000)]
Fix compilation with gcc-12
Jean-Marc Lasgouttes [Mon, 24 Jan 2022 18:19:46 +0000 (19:19 +0100)]
Check layout type when inserting inset over selection
When inserting inset over a selection, the layout is transferred if
the inset covers full paragraphs.
This is not the right policy in the case of environments. Until proper
code is written and tested, limit ourselves to command layouts.
Fixes bug #12251.
Jean-Marc Lasgouttes [Sun, 23 Jan 2022 19:55:18 +0000 (20:55 +0100)]
Fix breaking of MANUAL_LABEL paragraph when label is too long
Typical example is a Labeling layout which label is an inline equation
larger than the screen. Before this commit, the row would not get
broken at all.
Two parts in the patch:
1/ when breaking the row in shortenIfNeeded, mark the last element as
AlwaysBreakAfter instead of BreakAfter, in case the next element is
NoBreakBefore.
2/ when nothing could be done, as last resort keep the first element
of the row only.
Kornel Benko [Sun, 23 Jan 2022 19:13:26 +0000 (20:13 +0100)]
Next runtime messages to be ommitted if compiled with clang using flag '-fsanitize'.
Prevent the return of impossible values for 'enum flags'.
For instance the result of '~Update::Force' at src/BufferView.cpp:3025 without this patch
is '
4294967293 '.
Jean-Marc Lasgouttes [Sun, 23 Jan 2022 18:34:11 +0000 (19:34 +0100)]
brkstr2str_pos: avoid case where length is negative
The string that Qt sees is not the original string, since we add
zero-width nonbreaking spaces around it, plus an override character to
force rendering direction. This means that translating positions
between these two representation can be a bit tricky.
We use a max(foo, 0) here to make sure that our intermediate
computation is postive.
Fixes part of bug #12452.
Juergen Spitzmueller [Sat, 22 Jan 2022 08:30:25 +0000 (09:30 +0100)]
Fix bug 12459
When checking for branch color, take into account that some branches
are defined in the master document only, some only in the child.
Kornel Benko [Fri, 21 Jan 2022 10:02:09 +0000 (11:02 +0100)]
Omit runtime messages if compiled with clang using flag '-fsanitize'.
Setting sufficiently high value allows to use
ColorCode enums for new up to 32000 branch insets.
Previous setting printed messages if using more than 25 new branch insets.
"'ColorCode' ... src/Color.cpp:435:10: runtime error:
load of value 128, which is not a valid value for type"
Jean-Marc Lasgouttes [Wed, 19 Jan 2022 17:08:47 +0000 (18:08 +0100)]
Fixup
7485225c : better placement of deph bar
Fixes #12243.
Jean-Marc Lasgouttes [Mon, 17 Jan 2022 16:33:21 +0000 (17:33 +0100)]
Make LABEL_MANUAL label breakable when larger than the screen.
This is what the situation was in 2.3.X.
Jean-Marc Lasgouttes [Mon, 17 Jan 2022 14:14:05 +0000 (15:14 +0100)]
When clearing a row, always clear the whole text area width
It is not a good idea to take into account the horizontal scrolling
that may have happened. For example, this leads to display glitches
when a Description label is larger than text width.
This explains why SingleParUpdate strategy did not work with home/end
on a long row.
Jean-Marc Lasgouttes [Mon, 17 Jan 2022 10:58:49 +0000 (11:58 +0100)]
Fix computation of LABEL_MANUAL label separation
The spacing of Labeling, Description and friends shall be computed
when breaking the row, not when tokenizing it. Indeed, this is the
right place to determine its correct value.
To this end add a new MARGINSPACE row element type.
This allows to remove TextMetrics::labelEnd, which is not used anymore.
Jean-Marc Lasgouttes [Thu, 13 Jan 2022 18:34:46 +0000 (19:34 +0100)]
Compilation fix for Qt4
jpc [Thu, 13 Jan 2022 16:39:49 +0000 (17:39 +0100)]
Update & solve shortcut conflict in fr.po
jpc [Thu, 13 Jan 2022 16:33:36 +0000 (17:33 +0100)]
Update branch inset inversion explanation
Jean-Marc Lasgouttes [Thu, 13 Jan 2022 16:09:42 +0000 (17:09 +0100)]
Revert "Add UI for selecting backing store drawing strategy"
The need for this variable is too rare to deserve being exposed in UI.
This reverts commit
a3fd3a09f1aa0b6003fc3cf033e970bb7547a983 .
Jean-Marc Lasgouttes [Tue, 28 Dec 2021 19:56:57 +0000 (20:56 +0100)]
Better handling of trailing spaces in rows.
When a string is broken at the margin by the Qt algorithm, the space
at which breaking occurred is automatically skipped in width
computation. However, the ending space of the string is taken into
account and is visible for example at paragraph end.
When the trailing space is followed by a displayed inset, then the
space should be skipped too, which means that the width of the last
row element has to be recomputed. For the sake of performance, the
width of the element without trailing spaces is computed in advance in
FontMetrics::breakString.
This "no space" width will be used when trimming a row element of its trailing
spaces instead of the original one.
Additionally, do not trim trailing spaces when the row is flushed.
Fixes bug #12449.
Stephan Witt [Mon, 10 Jan 2022 06:48:54 +0000 (07:48 +0100)]
#12157 Replace old with new banner in DMG background image
Stephan Witt [Sun, 9 Jan 2022 21:33:43 +0000 (22:33 +0100)]
#12423 fix a focus change problem
The search widget triggers a showEvent() in updateTitle() leading to setting the focus to the default push button.
The check in updateTitle() for the need to restore the title avoids superfluous show events and avoids the unwanted focus change.
Stephan Witt [Sun, 9 Jan 2022 11:29:02 +0000 (12:29 +0100)]
#12434 add GUI debug messages for pinch-to-zoom gesture
Daniel Ramoeller [Wed, 5 Jan 2022 14:27:46 +0000 (15:27 +0100)]
Pinch to zoom fix
Amendment to fix for #12434.
Jean-Marc Lasgouttes [Sat, 8 Jan 2022 22:03:15 +0000 (23:03 +0100)]
fix file name
Jean-Marc Lasgouttes [Fri, 7 Jan 2022 16:58:33 +0000 (17:58 +0100)]
Document \draw_strategy in release notes
Also trim some whitespace.
Stephan Witt [Wed, 5 Jan 2022 07:26:18 +0000 (08:26 +0100)]
#12451 Adjust color cache on change of dark/light mode
Jean-Marc Lasgouttes [Tue, 4 Jan 2022 17:58:55 +0000 (18:58 +0100)]
Set current cursor font when toggling emphasize
The change actually works for all font toggling with implicit selection.
Fixes bug #12450.
José Matos [Tue, 4 Jan 2022 00:21:34 +0000 (00:21 +0000)]
Add new placeholder $${python} to configure
This ensures that we use a consistent Python interpreter in LyX.
$${python} is replaced by the Python version found.
Users can apply this in preferences and use the same version defined by
LyX.
Scott Kostyshak [Mon, 3 Jan 2022 20:53:56 +0000 (15:53 -0500)]
Change LFUN arg from "zoom" to "zoomlevel"
This change is just to be more specific, to help when grepping and
reading.
The idea is from Daniel
(https://www.lyx.org/trac/ticket/12420?replyto=11#comment:11).
Amends
cc787967 (and thus
49a17aaa ).
José Matos [Mon, 3 Jan 2022 19:59:42 +0000 (19:59 +0000)]
Make layout2layout compatible with Python 2 and 3
Stephan Witt [Mon, 3 Jan 2022 09:44:02 +0000 (10:44 +0100)]
Remove temporary code comment.
Stephan Witt [Mon, 3 Jan 2022 06:37:03 +0000 (07:37 +0100)]
#12434 add event handler for pinch-to-zoom gesture
Enrico Forestieri [Sun, 2 Jan 2022 17:49:44 +0000 (18:49 +0100)]
Fix bug #12447
Due to a thinko at
1fe75ae7 the code was not using the correct index.
Stephan Witt [Sat, 1 Jan 2022 17:47:57 +0000 (18:47 +0100)]
Guard new code for builds with OS X 10.11 SDK and lesser (part 2).
Stephan Witt [Sat, 1 Jan 2022 17:46:32 +0000 (18:46 +0100)]
Guard new code for builds with OS X 10.11 SDK and lesser.
Stephan Witt [Sat, 1 Jan 2022 15:37:07 +0000 (16:37 +0100)]
Correct white space.
Stephan Witt [Sat, 1 Jan 2022 09:06:07 +0000 (10:06 +0100)]
Qt6 QFontDatabase is a pure static class. Call the member functions directly.
Juergen Spitzmueller [Fri, 31 Dec 2021 13:32:59 +0000 (14:32 +0100)]
GuiGraphics: disable "Read from file" button if the values do not differ
Juergen Spitzmueller [Fri, 31 Dec 2021 13:32:13 +0000 (14:32 +0100)]
GuiGraphics: check more carefully whether we have a changed BB