]>
git.lyx.org Git - features.git/log
Juergen Spitzmueller [Sun, 27 Feb 2022 14:12:33 +0000 (15:12 +0100)]
Clarify debug message
Juergen Spitzmueller [Sun, 27 Feb 2022 13:53:01 +0000 (14:53 +0100)]
Another indentation fix
Juergen Spitzmueller [Sun, 27 Feb 2022 13:45:16 +0000 (14:45 +0100)]
Fix indentation
Juergen Spitzmueller [Sun, 27 Feb 2022 09:02:52 +0000 (10:02 +0100)]
Amend
8a0715d0bdc3
Also do not use the bb trick when exporting "nice".
Thibaut Cuvelier [Sun, 27 Feb 2022 03:14:12 +0000 (04:14 +0100)]
unicodesymbols: fix problematic entries.
Juergen Spitzmueller [Sat, 26 Feb 2022 15:23:27 +0000 (16:23 +0100)]
Do not output eps bounding box for unknown/missing graphics (#8899)
Except for dvi/ps output chain for which this trick was meant.
Also, issue an error message in this case. This is analogous to
the other output flavors now.
Kornel Benko [Wed, 23 Feb 2022 17:22:16 +0000 (18:22 +0100)]
Amend(2)
b5d9bbfe : FindAdv: Added handling of some missing conversions
Daniel Ramoeller [Tue, 22 Feb 2022 09:17:19 +0000 (10:17 +0100)]
Footnote LabelString should be "Foot" rather than "foot"
Fix for bug #12487.
Thibaut Cuvelier [Sat, 19 Feb 2022 01:23:52 +0000 (02:23 +0100)]
Encodings::fromLaTeXCommand: if the command directly maps an entry of unicodesymbols, use it and bypass most of the logic.
This is important for commands like !`, that are equivalent to \textexclamdown. However, ! is matched earlier, because the logic works with prefixes, hence the output doesn't make sense.
Thibaut Cuvelier [Mon, 21 Feb 2022 01:10:15 +0000 (02:10 +0100)]
unicodesymbols: add math versions of some symbols according to unicodetex
Thibaut Cuvelier [Sun, 20 Feb 2022 23:18:56 +0000 (00:18 +0100)]
unicodesymbols: mark several Greek characters as deprecated (oxia becoming tonos).
Some of corresponding commands did not have a matching LaTeX command for a currently recommended Unicode character; these have been added.
Kornel Benko [Mon, 21 Feb 2022 13:52:56 +0000 (14:52 +0100)]
Amend
b5d9bbfe : FindAdv: Added handling of some missing conversions
Kornel Benko [Mon, 21 Feb 2022 10:09:54 +0000 (11:09 +0100)]
FindAdv: Added handling of some missing conversions
Juergen Spitzmueller [Mon, 21 Feb 2022 08:49:32 +0000 (09:49 +0100)]
Fix language direction switch issue
reported at https://marc.info/?l=lyx-users&m=
164538003727435 &w=2
Thibaut Cuvelier [Sun, 20 Feb 2022 21:28:48 +0000 (22:28 +0100)]
unicodesymbols: amend
fec498d6 , there was an O (capital letter O) instead of an 0 (zero).
Thibaut Cuvelier [Sun, 20 Feb 2022 20:30:39 +0000 (21:30 +0100)]
DocBook, InsetFloat: avoid a potential nullptr dereference when detecting the type of table for filler content.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 18:48:13 +0000 (19:48 +0100)]
Make undo action no-ops when the buffer is read-only
Since the buffer cannot be modified, there is no point to record changes.
Avoids marking buffer dirty after running "inset-forall".
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 18:35:37 +0000 (19:35 +0100)]
Fixup
cc426346 : rename curs to bvcur
The name "curs" was chosen to avoid to hide the existing "cur" local variable.
Using "bvcur" makes the name easier to grasp.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 18:33:22 +0000 (19:33 +0100)]
Do not call recordUndo(), lyx::dispatch handles it.
This avoids extra memory use (and would mark document dirty even if
read-only).
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 18:07:58 +0000 (19:07 +0100)]
inset-forall: clear selection after each action
This avoid a crash when doing
command-sequence inset-forall Caption char-delete-forward; statistics; undo
in the user guide when a malformed selection is created.
The selection happens here because char-delete-forward will select the
caption instead of deleting it if the "force" parameter is not given.
This is a poor API IMO, it is the plain <del> action that should use a
special parameter.
Daniel Ramoeller [Thu, 21 Oct 2021 07:29:54 +0000 (09:29 +0200)]
Combine the separation between different layouts (with same depth)
Fix for #12402.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 16:22:07 +0000 (17:22 +0100)]
Avoid null pointer dereference
Spotted by coverity. In the real world, getInset should never return
nullptr when isInset is true.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 16:09:49 +0000 (17:09 +0100)]
Avoid null pointer dereference
Spotted by coverity.
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 16:02:04 +0000 (17:02 +0100)]
Fix unintialized variables spotted by coverity
The InsetWrap case happens in decodeInsetParaps (InsetCommand.cpp),
where the default constructor is invoked. In this case, lines was not
initialized.
Stephan Witt [Sun, 20 Feb 2022 12:06:28 +0000 (13:06 +0100)]
#9287 query Standard User Defaults on mac and adjust cursor flash time accordingly
jpc [Sun, 20 Feb 2022 09:06:50 +0000 (10:06 +0100)]
Update fr.po
Thibaut Cuvelier [Sun, 20 Feb 2022 01:03:41 +0000 (02:03 +0100)]
Amend
0dc7f34e : avoid using a C++20 function.
Thibaut Cuvelier [Sat, 19 Feb 2022 01:37:58 +0000 (02:37 +0100)]
unicodesymbols: add several synonyms.
Thibaut Cuvelier [Sat, 19 Feb 2022 01:10:45 +0000 (02:10 +0100)]
unicodesymbols: parse supplementary lines to encode alternative ways to encode symbols in raw LaTeX.
Thibaut Cuvelier [Fri, 18 Feb 2022 21:11:04 +0000 (22:11 +0100)]
CharInfo: allow to store several commands (both text and math) for each character.
Only the first one is returned by default with existing methods to guarantee compatibility with existing code.
Thibaut Cuvelier [Sat, 19 Feb 2022 02:11:55 +0000 (03:11 +0100)]
configure: for EPS to PNG, ask ImageMagick to only consider the first image.
Issue discussed in the mailing list: when the EPS contains several images (Adobe Photoshop exports two of them, one being a low-quality TIFF for preview), two files are generated, none with the existing name (prefix: -0 and -1). Hence, LyX thought that there was an error.
Daniel Ramöller [Wed, 16 Feb 2022 13:57:06 +0000 (14:57 +0100)]
Properly show labels from broken references in Cross-references dialog
Fix for bug #12456.
The labels are transmitted from Buffer to GuiRef by reference of refs_
in the getLabelList function. Previously, only one string was
transmitted. But I needed both the formatted string, e.g. "x enu:test"
or "Missing: enu:test", as well as the plain label, e.g. "enu:test".
The former is for the list of labels to choose from in GuiRef and the
latter for the label as shown in the line edit that contains the plain
label in order to create a new reference from it. Transmitting both is
what the pair achieves.
Kornel Benko [Sat, 19 Feb 2022 14:59:52 +0000 (15:59 +0100)]
Update sk.po
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.