Commit Graph

47053 Commits

Author SHA1 Message Date
Kornel Benko
cb59ce9f9e Amend(3) of c0ee28a7 2024-10-07 22:41:52 +02:00
Kornel Benko
96c294591c Amend(2) of c0ee28a7 2024-10-07 16:51:45 +02:00
Kornel Benko
43221b4d61 Amend(1) of c0ee28a7 2024-10-07 14:14:36 +02:00
Kornel Benko
341410a512 Small modifications
Continued changes for commit 3f48486a
2024-10-07 12:35:10 +02:00
Kornel Benko
c0ee28a7c9 Corrected some used URL's in our lyx files
Thanks Jean-Pierre, Pavel, Scott
2024-10-07 12:22:45 +02:00
Jean-Marc Lasgouttes
65a014821e Remove unused #include 2024-10-06 20:56:02 +02:00
Kornel Benko
3f48486a5c Cmake build tests: check urls optimized
The original test took about ~50 minutes. Making the checks in parallel,
now it takes about 150 seconds.
2024-10-06 18:04:00 +02:00
Juergen Spitzmueller
a16e4b206a Protect \inputencoding in i18npreamble
as it might end up in a moving argument (\lstlistlistingname in book
classes).

See https://marc.info/?l=lyx-devel&m=172812937932740
2024-10-06 16:23:05 +02:00
Juergen Spitzmueller
f048b2eeed Fix group box width in Document > Settings > Float Settings
Also fix typo in widget name
2024-10-06 15:49:24 +02:00
Jean-Marc Lasgouttes
4d89b2903b Fix up 6c20e5db: let PARAGRAPH_GOTO use SCROLL_TOP again
As said, this was an experiment. It did not seem to stick.
2024-10-05 15:30:22 +02:00
Jean-Marc Lasgouttes
02beaa0a7b Remove configure test for std::call_once
It was not needed anymore since 193cda6e.
2024-10-05 15:18:19 +02:00
Jean-Marc Lasgouttes
09684899d6 Clean up after removal of strfwd.h
Remove autoconf tests for whether std::string uses COW, since this is
forbidden by C++11 standard.

Forbid the use of gcc 4.9 (which still uses COW).

Remove code in debug.h that added forward declarations for LLVM's
libc++, since we do not do forward declarations anymore.

Remove configure test for libc++.
2024-10-05 15:15:21 +02:00
Juergen Spitzmueller
1f7e8d3ffe Adhere to semantic background color with default branches
This fixes color mismatched when "use system colors" is checked

See https://marc.info/?l=lyx-users&m=172797086718347
2024-10-05 14:15:19 +02:00
Pavel Sanda
2facf6eecc Merged compilation does not exist anymore. 2024-10-04 20:53:26 +02:00
Pavel Sanda
854b53bff5 Document gcc 5 dependency.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg223072.html
2024-10-04 20:51:51 +02:00
Pavel Sanda
b8f1f113f3 Remove trivstring.
Needed in times when std:string was not thread-safe,
but should be ok nowadays.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21334
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg223068.html
2024-10-04 20:49:55 +02:00
Pavel Sanda
9ccda98e6e Remove strfwd.h.
Will break cygwin due to trivstring header.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg223056.html
2024-10-04 20:49:33 +02:00
Kornel Benko
82005736e4 Update sk.po 2024-10-03 19:40:32 +02:00
Jean-Marc Lasgouttes
69d8435a7f Avoid copying vector needlessly
The getLabel method will not consider more than 10 citation keys.
Instead of removing elements from the keys vector, this commit adapts
the for loop to skip unwanted elements.

This allows to pass the keys vector by const reference.

Spotted by Coverity scan.
2024-10-03 10:18:24 +02:00
jpc
4af7cb045c Url errors 37 & 38 correction 2024-10-01 18:31:54 +02:00
Jean-Marc Lasgouttes
bc624cc780 Do not pass a vector by value to getArgInset
Instead of passing the vector by value so that stuff can be added to
it in the function, add required elements of arguments to a second vector.

While we are at it, simplify the code a bit by using a range-for and
auto keyword.

Spotted by Coverity scan
2024-10-01 13:06:37 +02:00
Jean-Marc Lasgouttes
54b6846941 Pass parameters as const reference
Spotted by Coverity scan.
2024-10-01 11:12:14 +02:00
Pavel Sanda
b39cc9ed89 Not needed anymore. 2024-09-30 20:11:23 +02:00
Pavel Sanda
601abfe929 PDF options: reflect in UI mutually exclusive colorlinks and frames.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg222961.html
2024-09-30 20:09:35 +02:00
Pavel Sanda
63dbd54e62 UG: typo 2024-09-30 20:02:01 +02:00
Jean-Marc Lasgouttes
1d64dbf543 Modify string list in place instead of copying it
Spotted by Coverity scan.
2024-09-30 11:20:48 +02:00
Koji Yokota
a086804eb4 Fix IM window position for a new window (#13094) 2024-09-30 09:00:56 +09:00
Pavel Sanda
475d8e6433 UG: add comment about underlined links in pdf from ##13105. 2024-09-29 22:23:40 +02:00
Thibaut Cuvelier
75f467fa13 MathML: use Core for XHTML, 3 for DocBook.
In a near future, this should rather be controlled by a user-visible parameter.
2024-09-28 16:50:29 +02:00
Thibaut Cuvelier
790c153737 Use proper minus sign character in MathML Core.
Fixes bug https://www.lyx.org/trac/ticket/13067.

Based on the patch in the ticket above by Jean-Marc Lasgouttes.
2024-09-28 16:50:29 +02:00
Thibaut Cuvelier
ca5d5a0b1a amend 2024-09-28 16:50:29 +02:00
Thibaut Cuvelier
a06528ee2a Fix switch indentation. 2024-09-28 16:50:29 +02:00
Thibaut Cuvelier
cb88a362ea MathML: add a version enum. 2024-09-28 16:50:29 +02:00
Juergen Spitzmueller
135889c634 Amend 770362da97
preview needs proper --lily-output-dir
2024-09-28 13:11:46 +02:00
Juergen Spitzmueller
770362da97 Fix preview of lilypond (book) snippets (#13103)
1. The --safe option has been removed with lilypond 2.24 and causes
   the program to error out
2. We default to PDF output (and pdflatex) if no program is explicitly
   given, since latex generates *.eps snippets which fail to convert
   on many recent systems due to security measures
2024-09-27 09:27:32 +02:00
Jean-Marc Lasgouttes
9fc19badab Streamline use of map<col-type, bool>
Typically, to check whether an element is present and set to true, instead of
  foo.find(c) != foo.end() && foo.find(c)->second
one uses
  foo[c]

The map<> code creates elements automatically when they do not exist
and zero-initializes them.

This avoids puzzlement of Coverity scan when seeing that find() result
is dereferenced without checking that it is not equal to end().
Moreover, this makes the code much much clearer. I still do not
understand it, though ;)
2024-09-26 15:31:28 +02:00
Kornel Benko
fe19855116 Amend 3add2204:
Missed 1 default export case
2024-09-26 11:58:22 +02:00
Pavel Sanda
9fbac63a31 Update eu.po from Inaki 2024-09-25 22:55:10 +02:00
Scott Kostyshak
72de15eb77 ctests: invert more Astronomy_%26_Astrophysics
These have been failing since before.
2024-09-25 17:18:02 +02:00
Juergen Spitzmueller
c56bad8a6e Work around bug in aa.cls 2024-09-25 14:31:56 +02:00
Juergen Spitzmueller
67d3c6f8b3 Work around bug in aa.cls 2024-09-25 11:44:32 +02:00
Juergen Spitzmueller
112c2c3d0e Factor out (signed) glueLenghValidator 2024-09-25 10:22:36 +02:00
Juergen Spitzmueller
2244ac3dee Allow negative offset in GuiLine (#13102) 2024-09-25 09:53:00 +02:00
Pavel Sanda
766f666cbb UG: document hyperref borders/colors interaction.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg222962.html
2024-09-24 20:15:00 +02:00
Juergen Spitzmueller
126cbec5e7 Re-focus workarea after some outline context-menu actions (see #1624)
Thanks Pavel for the main idea
2024-09-24 08:47:55 +02:00
Jean-Marc Lasgouttes
194b53ef9d QFontMetrics::xHeight() is not always the ascent of 'x'
Use the real ascent of glyph 'x' as LyX 2.3.x did.
It can make a difference at least on Windows with many fonts.

Fixes bug #13100.
2024-09-23 21:11:49 +02:00
Jean-Marc Lasgouttes
edf56d644d Do not use big characters for some unicode points
This modifies LOGICAL AND, LOGICAL OR, INTERSECTION and UNION.

Fixes bug #13099.
2024-09-23 19:42:29 +02:00
Juergen Spitzmueller
8d724b23a6 Better fix for Spanish Tufte problem
The option "nohyper" causes the issue
2024-09-22 17:16:54 +02:00
Juergen Spitzmueller
4df40706b4 Revert "Work around fragility problem in Spanish Tufte Handout"
This reverts commit 8298454577.
2024-09-22 17:15:46 +02:00
Juergen Spitzmueller
8298454577 Work around fragility problem in Spanish Tufte Handout
It is unclear what the actual problem is; it only shows up in this
document (not the other l7ns)
2024-09-22 11:50:40 +02:00