]> git.lyx.org Git - features.git/log
features.git
2 years agoAdd Hernan to credits
Pavel Sanda [Fri, 1 Apr 2022 20:55:41 +0000 (22:55 +0200)]
Add Hernan to credits

2 years agoFindAdv: Handle latex-output for comment-environment
Kornel Benko [Fri, 1 Apr 2022 18:14:47 +0000 (20:14 +0200)]
FindAdv: Handle latex-output for comment-environment

Disable if in search-adv modus and not searching in not-printed contents,
enable otherwise

2 years agoFindAdv: Ignore comment-feature (but not its content)
Kornel Benko [Fri, 1 Apr 2022 11:45:57 +0000 (13:45 +0200)]
FindAdv: Ignore comment-feature (but not its content)

TODO: Handle 'comment' like other features, but this needs more thinking.

2 years agoIndentation
Juergen Spitzmueller [Fri, 1 Apr 2022 09:34:26 +0000 (11:34 +0200)]
Indentation

2 years agobg.po: update from Veselin
Juergen Spitzmueller [Fri, 1 Apr 2022 07:27:55 +0000 (09:27 +0200)]
bg.po: update from Veselin

2 years agoDocBook: merge code duplicates for HTML and CALS tables.
Thibaut Cuvelier [Fri, 1 Apr 2022 02:12:14 +0000 (04:12 +0200)]
DocBook: merge code duplicates for HTML and CALS tables.

2 years agoXHTML/DocBook: merge code duplicates for horizontal alignment.
Thibaut Cuvelier [Fri, 1 Apr 2022 02:01:40 +0000 (04:01 +0200)]
XHTML/DocBook: merge code duplicates for horizontal alignment.

2 years agoXHTML/DocBook: merge code duplicates for vertical alignment.
Thibaut Cuvelier [Fri, 1 Apr 2022 01:51:24 +0000 (03:51 +0200)]
XHTML/DocBook: merge code duplicates for vertical alignment.

2 years agoMathML: fix underbraces to be stretchable.
Thibaut Cuvelier [Thu, 31 Mar 2022 22:01:42 +0000 (00:01 +0200)]
MathML: fix underbraces to be stretchable.

Ticket: https://www.lyx.org/trac/ticket/12502

Contributed by lynx

2 years agoFindAdv: Amend a0daf5e5
Kornel Benko [Thu, 31 Mar 2022 09:39:46 +0000 (11:39 +0200)]
FindAdv: Amend a0daf5e5

1.) Completed non backslashed '{' and '}' in regex in non format-search

2 years agoFindAdv: Optimizing
Kornel Benko [Wed, 30 Mar 2022 20:15:22 +0000 (22:15 +0200)]
FindAdv: Optimizing

1.) Handle backslashed '{' and '}' in regex also in non format-search
2.) Simplify a complex regex in format-search

2 years agoFindAdv: Amend 23fe87bf:
Kornel Benko [Tue, 29 Mar 2022 16:00:13 +0000 (18:00 +0200)]
FindAdv: Amend 23fe87bf:

Write one line of code and produce 10 new errors :(

2 years agoFindAdv: Amend f78ddc49, Added handling of accented chars like \ddot{a}
Kornel Benko [Tue, 29 Mar 2022 15:22:22 +0000 (17:22 +0200)]
FindAdv: Amend f78ddc49, Added handling of accented chars like \ddot{a}

Only important for search without format. The format search was already OK.

2 years agoDoc for inset-forall: how to open branch insets
Scott Kostyshak [Tue, 29 Mar 2022 01:44:40 +0000 (21:44 -0400)]
Doc for inset-forall: how to open branch insets

The functionality was mentioned, but it seems worth it to give the
command explicitly, so it is seen how "Branch:<branch name>" is used
to refer to the specific branch with name <branch name>.

Additionally, tweak a phrase in doc for buffer-forall.

2 years agoFindAdv: Amend 93b6fe2c, forgot about uppercase greek symbols
Kornel Benko [Sun, 27 Mar 2022 11:43:42 +0000 (13:43 +0200)]
FindAdv: Amend 93b6fe2c, forgot about uppercase greek symbols

2 years agoCmake key-tests: Adapted to changed shortcuts
Kornel Benko [Sat, 26 Mar 2022 18:38:55 +0000 (19:38 +0100)]
Cmake key-tests: Adapted to changed shortcuts

2 years agoFindAdv: Use always converted latex macros
Kornel Benko [Sat, 26 Mar 2022 18:32:33 +0000 (19:32 +0100)]
FindAdv: Use always converted latex macros

In some situation the macros are not used with their unicode
representation. For instance all greek characters are used
as \alpha, \beta, ... in the latex output.
For the search it is more convenient to use the corresponding UTF-8 codes.

2 years ago* RELEASE-NOTES
Pavel Sanda [Sat, 26 Mar 2022 10:58:49 +0000 (11:58 +0100)]
* RELEASE-NOTES

2 years ago* bash_completion - outdated syntax
Pavel Sanda [Sat, 26 Mar 2022 10:16:38 +0000 (11:16 +0100)]
* bash_completion - outdated syntax

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008257

2 years agoAdvFind: Adapt a testfile
Kornel Benko [Fri, 25 Mar 2022 22:00:59 +0000 (23:00 +0100)]
AdvFind: Adapt a testfile

Change [a-z]* to [a-z]+ . This omits finds of empty strings.

2 years agoUpdate sk.po
Kornel Benko [Thu, 24 Mar 2022 14:04:01 +0000 (15:04 +0100)]
Update sk.po

Correct some shortcuts

2 years agoIndentation
Kornel Benko [Tue, 22 Mar 2022 09:43:23 +0000 (10:43 +0100)]
Indentation

2 years agoFindAdv: If possible use unicode instead of math command when searching
Kornel Benko [Sun, 20 Mar 2022 10:33:12 +0000 (11:33 +0100)]
FindAdv: If possible use unicode instead of math command when searching

Wrong behaviour before this commit:
Open new lyx-file
insert
unicode-insert 0x025c 0x1d08
Open adv-find dialog
search for unicode 0x025c OK
search for unicode 0x1d08 OK
search with regex for unicode 0x025c OK
search with regex for unicode 0x1d08 ==> NOT OK (because we are searching for \textrevepsilon
and this was mapped to 0x025c

2 years ago Update fr.po
jpc [Thu, 17 Mar 2022 17:26:00 +0000 (18:26 +0100)]
       Update fr.po

2 years agoRevert part of 503c7c16: InsetMathNest:edit resets anchor.
Jean-Marc Lasgouttes [Thu, 17 Mar 2022 15:42:39 +0000 (16:42 +0100)]
Revert part of 503c7c16: InsetMathNest:edit resets anchor.

Fixes bug reported here:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg217265.html

1. Start a new document.
2. Start a math inset and inside put "1+2".
3. Put the cursor to the right of "+".
4. Press <Shift> + L three times. This will select the entire math inset
   (as expected).
5. Press <Shift> + R.

Before 503c7c16, the selection inside the math inset was preserved.
After 503c7c16, it is lost.

The problem is that InsetMathNest does too much for our needs and
resets the anchor (why, I do not know). Therefore, it is better to
duplicate the code.

2 years agoProperly color red checkbox labels in validation (part of #12508)
Juergen Spitzmueller [Thu, 17 Mar 2022 07:47:43 +0000 (08:47 +0100)]
Properly color red checkbox labels in validation (part of #12508)

2 years agoAmend 0f80de308c67
Juergen Spitzmueller [Thu, 17 Mar 2022 07:16:54 +0000 (08:16 +0100)]
Amend 0f80de308c67

2 years ago0 is a plausible intermediate length in positive context (#12508)
Juergen Spitzmueller [Thu, 17 Mar 2022 07:15:09 +0000 (08:15 +0100)]
0 is a plausible intermediate length in positive context (#12508)

2 years agoFindAdv: Generalize substitutions of commands to unicode inside regex
Kornel Benko [Wed, 16 Mar 2022 12:46:24 +0000 (13:46 +0100)]
FindAdv: Generalize substitutions of commands to unicode inside regex

2 years agoAmend f8071449: Added conversion for unicode 0x2bb
Kornel Benko [Tue, 15 Mar 2022 12:01:51 +0000 (13:01 +0100)]
Amend f8071449: Added conversion for unicode 0x2bb

Now regex using \textquoteleft works also without format search.

2 years agoFindAdv: Added conversion for unicode 0x2bb
Kornel Benko [Tue, 15 Mar 2022 09:35:22 +0000 (10:35 +0100)]
FindAdv: Added conversion for unicode 0x2bb

In math-mode \textquoteleft was still not used as unicode
so it was not possible to find the char using regex

2 years agoUpdate sk.po
Kornel Benko [Sun, 13 Mar 2022 22:23:09 +0000 (23:23 +0100)]
Update sk.po

2 years agoAdd toggle feature for all, outer and inner borders
Daniel Ramoeller [Sun, 13 Mar 2022 07:57:49 +0000 (08:57 +0100)]
Add toggle feature for all, outer and inner borders

Fix for bug #12503.

Also some bug fixes for the set inner lines algorithm. See discussion of #12503.

2 years agoFix signal (#12506)
Juergen Spitzmueller [Sun, 13 Mar 2022 09:26:26 +0000 (10:26 +0100)]
Fix signal (#12506)

2 years agoctests: log a fixed issue
Scott Kostyshak [Sat, 12 Mar 2022 12:41:00 +0000 (07:41 -0500)]
ctests: log a fixed issue

2 years agoFixup 12dfdbf0: intercept validate(), not latex()
Jean-Marc Lasgouttes [Thu, 10 Mar 2022 16:10:17 +0000 (17:10 +0100)]
Fixup 12dfdbf0: intercept validate(), not latex()

The fake contents of the inset should be created before validate(), so
that the correct packages are loaded.

2 years agoGet rid of spelling and language marks in info inset
Jean-Marc Lasgouttes [Thu, 10 Mar 2022 12:35:45 +0000 (13:35 +0100)]
Get rid of spelling and language marks in info inset

These are just annoying. Note that the language mark cannot currently
be specified in a layout file, but it is not clear that there is a
need for that. Therefore I used the simple and hackish way.

2 years agoFix crash in InsetInfo when bindings change
Jean-Marc Lasgouttes [Thu, 10 Mar 2022 11:19:44 +0000 (12:19 +0100)]
Fix crash in InsetInfo when bindings change

This is actually a generic InsetInfo issue:

1/ the contents of the inset is computed in updateBuffer, so that it
   is available for drawing but also for latex output (think batch
   export). When it is called, it deletes the existing inner paragraph
   and replaces it by a new one

2/ metrics build a new Row object that represents to paragraph

3/ draw() relies on this information

Now, imagine that updateBuffer() is called after metrics(). This can
happen for many reasons, and does happen here (display a shortcut info
and change the shortcut file from cua to emacs).

This problem has been here forever, but is only visible now that the
(experimental) bookmark display code needs to read the underlying
paragraph id.

The solution is to compute the inset contents at metrics time. This
is done by moving the relevant code to a new standalone build() method
that is called in metrics() but also in latex().

2 years agoFindAdv: Added possibility to search also in deactvated branches
Kornel Benko [Thu, 10 Mar 2022 09:51:02 +0000 (10:51 +0100)]
FindAdv: Added possibility to search also in deactvated branches

To include content of deactivated branches to the searched region
one has to use the lyx-funcion
search-ignore non-output-content true

2 years agoCorrect fix for search-ignore docs.
Pavel Sanda [Tue, 8 Mar 2022 20:50:48 +0000 (21:50 +0100)]
Correct fix for search-ignore docs.

2 years agolyx2lyx: prefix warning messages with "lyx2lyx"
Scott Kostyshak [Tue, 8 Mar 2022 16:53:10 +0000 (11:53 -0500)]
lyx2lyx: prefix warning messages with "lyx2lyx"

Both lyx2lyx and LyX write output to the terminal, and it's helpful
to know which messages are coming from lyx2lyx. For example, before
this commit if we opened a document in LyX that has a newer file format than
lyx2lyx can deal with, we see the following output in the terminal:

  Warning: 619: Format not supported.
  Warning: Quitting.
  Error: Document format failure

The first two lines (the warnings) are output from lyx2lyx, and the
third is output by LyX. This output was particularly confusing
because I first thought "LyX tries to quit if the document is too
new?", but in fact LyX still stays open; it just doesn't open the
document. After this change, the output is now the following:

  lyx2lyx warning: 619: Format not supported.
  lyx2lyx warning: Quitting.
  Error: Document format failure

2 years agoupdateBuffer needs an undo group
Jean-Marc Lasgouttes [Tue, 8 Mar 2022 15:16:50 +0000 (16:16 +0100)]
updateBuffer needs an undo group

Otherwise warning messages appear when loading a file that contains
missing modules, for example (which may require to adjust depths in
document).

2 years agoAmend 3f9e21b8
Enrico Forestieri [Sun, 6 Mar 2022 22:01:56 +0000 (23:01 +0100)]
Amend 3f9e21b8

This avoids a compile error on cygwin.

2 years agoDo not try to access user_defined_bullet with nesting > 3
Juergen Spitzmueller [Sun, 6 Mar 2022 16:27:28 +0000 (17:27 +0100)]
Do not try to access user_defined_bullet with nesting > 3

We only have 4 nesting labels available.

In the workarea, display a fallback label with deeper nesting.

2 years agoctests: uninvert 2 LuaTeX tests fixed on TL21
Scott Kostyshak [Sun, 6 Mar 2022 14:15:16 +0000 (09:15 -0500)]
ctests: uninvert 2 LuaTeX tests fixed on TL21

These exports now pass, and a quick check of the output looks good.

These might have been fixed (although it is just a guess) due to the
following entry in the changelog of luaotfload v3.19:

  A new algorithm for selecting fonts based on font family names
  allows to more reliably load fonts based on their family name.

This commit reverts 2a665dcc.

2 years agoRevert "Don't asssert on (too) deeply nested items"
Juergen Spitzmueller [Sun, 6 Mar 2022 08:48:39 +0000 (09:48 +0100)]
Revert "Don't asssert on (too) deeply nested items"

This reverts commit 44d1756783262ae0af39991e18ec9bcb847fb439.

2 years agoDon't asssert on (too) deeply nested items
Juergen Spitzmueller [Sat, 5 Mar 2022 13:17:37 +0000 (14:17 +0100)]
Don't asssert on (too) deeply nested items

Use a fallback label instead.

2 years agoWhitespace
Juergen Spitzmueller [Sat, 5 Mar 2022 12:45:27 +0000 (13:45 +0100)]
Whitespace

2 years agoUse a more transparent lexic for bullet label functions
Juergen Spitzmueller [Sat, 5 Mar 2022 08:00:47 +0000 (09:00 +0100)]
Use a more transparent lexic for bullet label functions

2 years agoRemove unused function
Juergen Spitzmueller [Sat, 5 Mar 2022 07:51:32 +0000 (08:51 +0100)]
Remove unused function

2 years agoAvoid copies of vectors.
Thibaut Cuvelier [Sat, 5 Mar 2022 02:46:22 +0000 (03:46 +0100)]
Avoid copies of vectors.

2 years agoCompile fix
Enrico Forestieri [Sat, 5 Mar 2022 01:19:38 +0000 (02:19 +0100)]
Compile fix

2 years agoUpdate sk.po
Kornel Benko [Fri, 4 Mar 2022 16:40:36 +0000 (17:40 +0100)]
Update sk.po

2 years agoFormat of description of function search-ignore
Kornel Benko [Fri, 4 Mar 2022 16:29:37 +0000 (17:29 +0100)]
Format of description of function search-ignore

2 years agotex2lyx tests: set the encoding when reading a file, not all OSes default to UTF-8
Thibaut Cuvelier [Thu, 3 Mar 2022 00:57:16 +0000 (01:57 +0100)]
tex2lyx tests: set the encoding when reading a file, not all OSes default to UTF-8

2 years agoEncoding::fromLaTeXCommand: properly record requirements when exiting early
Juergen Spitzmueller [Wed, 2 Mar 2022 11:48:10 +0000 (12:48 +0100)]
Encoding::fromLaTeXCommand: properly record requirements when exiting early

2 years agoRevert "Adapt resulting lyx-file to amend 39c0b322 (changed tex2lyx output)"
Juergen Spitzmueller [Wed, 2 Mar 2022 11:30:16 +0000 (12:30 +0100)]
Revert "Adapt resulting lyx-file to amend 39c0b322 (changed tex2lyx output)"

This reverts commit 5e8969b597ae973a12cfb543ed055e4eb8cd16ec.

2 years agoAdapt resulting lyx-file to amend 39c0b322 (changed tex2lyx output)
Kornel Benko [Wed, 2 Mar 2022 07:48:35 +0000 (08:48 +0100)]
Adapt resulting lyx-file to amend 39c0b322 (changed tex2lyx output)

2 years agoEncodings::fromLaTeXCommand: properly set needsTermination on early exit
Juergen Spitzmueller [Wed, 2 Mar 2022 07:11:34 +0000 (08:11 +0100)]
Encodings::fromLaTeXCommand: properly set needsTermination on early exit

2 years agoFix indentation fix.
Juergen Spitzmueller [Wed, 2 Mar 2022 06:11:27 +0000 (07:11 +0100)]
Fix indentation fix.

2 years agoFix indentation.
Thibaut Cuvelier [Tue, 1 Mar 2022 23:39:53 +0000 (00:39 +0100)]
Fix indentation.

2 years agoRename LATEX debug level to OUTFILE and use it for DocBook, HTML, and XML messages.
Thibaut Cuvelier [Sun, 27 Feb 2022 19:35:58 +0000 (20:35 +0100)]
Rename LATEX debug level to OUTFILE and use it for DocBook, HTML, and XML messages.

2 years agoUse a static method instead of a method call on a global variable.
Thibaut Cuvelier [Tue, 1 Mar 2022 02:10:17 +0000 (03:10 +0100)]
Use a static method instead of a method call on a global variable.

2 years agoFindAdv: Add missed command after 030db93a
Kornel Benko [Mon, 28 Feb 2022 08:53:12 +0000 (09:53 +0100)]
FindAdv: Add missed command after 030db93a

2 years agoStill more indentation fixes.
Juergen Spitzmueller [Mon, 28 Feb 2022 07:04:55 +0000 (08:04 +0100)]
Still more indentation fixes.

2 years agoSlightly simplify code by using for range.
Thibaut Cuvelier [Sun, 27 Feb 2022 19:37:19 +0000 (20:37 +0100)]
Slightly simplify code by using for range.

2 years agoClarify debug message
Juergen Spitzmueller [Sun, 27 Feb 2022 14:12:33 +0000 (15:12 +0100)]
Clarify debug message

2 years agoAnother indentation fix
Juergen Spitzmueller [Sun, 27 Feb 2022 13:53:01 +0000 (14:53 +0100)]
Another indentation fix

2 years agoFix indentation
Juergen Spitzmueller [Sun, 27 Feb 2022 13:45:16 +0000 (14:45 +0100)]
Fix indentation

2 years agoAmend 8a0715d0bdc3
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".

2 years agounicodesymbols: fix problematic entries.
Thibaut Cuvelier [Sun, 27 Feb 2022 03:14:12 +0000 (04:14 +0100)]
unicodesymbols: fix problematic entries.

2 years agoDo not output eps bounding box for unknown/missing graphics (#8899)
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.

2 years agoAmend(2) b5d9bbfe: FindAdv: Added handling of some missing conversions
Kornel Benko [Wed, 23 Feb 2022 17:22:16 +0000 (18:22 +0100)]
Amend(2) b5d9bbfe: FindAdv: Added handling of some missing conversions

2 years agoFootnote LabelString should be "Foot" rather than "foot"
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.

2 years agoEncodings::fromLaTeXCommand: if the command directly maps an entry of unicodesymbols...
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.

2 years agounicodesymbols: add math versions of some symbols according to unicodetex
Thibaut Cuvelier [Mon, 21 Feb 2022 01:10:15 +0000 (02:10 +0100)]
unicodesymbols: add math versions of some symbols according to unicodetex

2 years agounicodesymbols: mark several Greek characters as deprecated (oxia becoming tonos).
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.

2 years agoAmend b5d9bbfe: FindAdv: Added handling of some missing conversions
Kornel Benko [Mon, 21 Feb 2022 13:52:56 +0000 (14:52 +0100)]
Amend b5d9bbfe: FindAdv: Added handling of some missing conversions

2 years agoFindAdv: 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

2 years agoFix language direction switch issue
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

2 years agounicodesymbols: amend fec498d6, there was an O (capital letter O) instead of an 0...
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).

2 years agoDocBook, InsetFloat: avoid a potential nullptr dereference when detecting the type...
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.

2 years agoMake undo action no-ops when the buffer is read-only
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".

2 years agoFixup cc426346: rename curs to bvcur
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.

2 years agoDo not call recordUndo(), lyx::dispatch handles it.
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).

2 years agoinset-forall: clear selection after each action
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.

2 years agoCombine the separation between different layouts (with same depth)
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.

2 years agoAvoid null pointer dereference
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.

2 years agoAvoid null pointer dereference
Jean-Marc Lasgouttes [Sun, 20 Feb 2022 16:09:49 +0000 (17:09 +0100)]
Avoid null pointer dereference

Spotted by coverity.

2 years agoFix unintialized variables 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.

2 years ago#9287 query Standard User Defaults on mac and adjust cursor flash time accordingly
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

2 years ago Update fr.po
jpc [Sun, 20 Feb 2022 09:06:50 +0000 (10:06 +0100)]
         Update fr.po

2 years agoAmend 0dc7f34e: avoid using a C++20 function.
Thibaut Cuvelier [Sun, 20 Feb 2022 01:03:41 +0000 (02:03 +0100)]
Amend 0dc7f34e: avoid using a C++20 function.

2 years agounicodesymbols: add several synonyms.
Thibaut Cuvelier [Sat, 19 Feb 2022 01:37:58 +0000 (02:37 +0100)]
unicodesymbols: add several synonyms.

2 years agounicodesymbols: parse supplementary lines to encode alternative ways to encode symbol...
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.

2 years agoCharInfo: allow to store several commands (both text and math) for each character.
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.

2 years agoconfigure: for EPS to PNG, ask ImageMagick to only consider the first image.
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.

2 years agoProperly show labels from broken references in Cross-references dialog
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.

2 years agoUpdate sk.po
Kornel Benko [Sat, 19 Feb 2022 14:59:52 +0000 (15:59 +0100)]
Update sk.po

2 years agode.po
Juergen Spitzmueller [Sat, 19 Feb 2022 13:32:04 +0000 (14:32 +0100)]
de.po