Commit Graph

46074 Commits

Author SHA1 Message Date
Scott Kostyshak
bf241165dd ctest: invert es/Intro_docbook5
This fails after recent changes to the document.
2023-09-27 13:42:40 -04:00
Pavel Sanda
26866d36b3 * es/Intro,Shortcuts updates from Dan. 2023-09-26 22:36:48 +02:00
Pavel Sanda
921cce8cfc * ca/Intro,Shortcuts updates from Dan.
All changes accepted.
2023-09-26 22:33:15 +02:00
Scott Kostyshak
beec7b669f ctests: update inverted list after DocBook fix
Thanks to the fix at ff9dfa96, we can uninvert a test.

Also invert a couple of other tests and organize into the correct
location.
2023-09-25 10:58:50 -04:00
Scott Kostyshak
ff9dfa96f2 DocBook: fix case with emphasis at end of footnote
For ML discussion, see here:

  https://www.mail-archive.com/search?l=mid&q=CAK0LPyiusCMu-X7KpgO0d1-rh4e3%3DRwR5ooXE_fdb7UVuB0VUA%40mail.gmail.com

Patch from Thibaut Cuvelier.
2023-09-25 10:41:21 -04:00
Jean-Marc Lasgouttes
549969a563 Improve comments 2023-09-25 12:51:33 +02:00
Jean-Marc Lasgouttes
71d9f6e90d Avoid row breaking at inconvenient places.
When it turns out that breaking a STRING row element was not
sufficient in Row::shortenIfNeeded, we still remember the shortest
width that one can obtain. Later, when we try to split a previous
element of the row, we have a better idea of how much of the row
remains after it.

To this end, change the signature of Element::splitAt to use an enum:
FIT (was: force=false), FORCE (was: force= true) and BEST_EFFORT
(split at max_width, but do not return an error if the string is too
large).

Fixes bug #12660.
2023-09-25 12:46:54 +02:00
Jean-Marc Lasgouttes
1ca43e1938 Revert "Avoid row breaking at inconvenient places."
The solution did create new issues.

Fixes bug #12899.
Unfixes bug #12660.

This reverts commit f7de345f85.
2023-09-25 12:28:51 +02:00
Jean-Marc Lasgouttes
9156712895 Make sure that caret width is not null in mathed
The same test exists in texted.

Fixes bug #12904.
2023-09-24 13:07:55 +02:00
Scott Kostyshak
fa67f70992 Fix compilation of es/Letter standard class
The problem, described by Udi, was the following:

  See section 1.10 of babel's manual, on page 12 under
  "TROUBLESHOOTING". There cannot be
  a closing curly brace after a shorthand, and in babel-spanish ">" is a
  shorthand.

Patch from Dan.

For more discussion, see the following ML thread:

  https://www.mail-archive.com/search?l=mid&q=rwwvyyvwmx5wwvwhqdaioil32hblkzi7ghokzgekksrf66ww3f%40u6nj3guoayay
2023-09-23 20:38:10 -04:00
Scott Kostyshak
c6317b123e ctests: invert another ca docbook test
Perhaps similar to eb920502.
2023-09-23 12:44:04 -04:00
Enrico Forestieri
7b6fe3555d Update it.po 2023-09-23 17:50:25 +02:00
Enrico Forestieri
ddf81b4e19 Amend 12e3d46b
Also account for alerts regarding documents that are explicitly
allowed to execute external commands through the settings.
2023-09-23 16:18:28 +02:00
Enrico Forestieri
12e3d46b5b Do not change font in html text without gui
As reported here:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg220399.html
if an alert is displayed when the gui is not available Qt6 crashes
when the text contains html directives and the font is changed.
2023-09-23 13:48:01 +02:00
Jean-Marc Lasgouttes
94c6d45b74 When drawing macro names, enforce LtR direction
Add a Direction parameter to the Painter::text methods that take a
FontInfo parameter.

In drawStrRed and drawStrBlack, force the direction to LtR.

Fixes bug #12905.
2023-09-22 12:41:44 +02:00
Jürgen Spitzmüller
fcbbb138a2 Adapt listings label color for darkmode
Do not use semantic foreground color here, as label button color does
not change in dark mode.
2023-09-21 07:11:07 +02:00
Pavel Sanda
153a16777e Whitespace 2023-09-19 23:52:13 +02:00
Pavel Sanda
a624e52c95 + es/Letter standard class (from Dan) 2023-09-19 23:48:31 +02:00
Pavel Sanda
24ed90b853 + ca/Letter standard class (from Dan) 2023-09-19 23:41:52 +02:00
Yuriy Skalko
fe8d1209a2 Typo 2023-09-19 01:10:57 +02:00
Yuriy Skalko
07ab0da26f Update ru docs 2023-09-19 01:05:40 +02:00
Scott Kostyshak
91d5a262cb ctests: invert test due to acmart issue
The upstream bug report is here:

  https://github.com/borisveytsman/acmart/issues/505
2023-09-18 16:25:29 -04:00
Juergen Spitzmueller
cd5a88029c Remove unneeded method
which is also not available in Qt < 5.13, as it turns out.
2023-09-18 11:36:16 +02:00
Juergen Spitzmueller
b13685d9bb Prefer following, not previous, item in selection manager after deletion (#12871) 2023-09-18 10:02:34 +02:00
Juergen Spitzmueller
d3102380bc Amend ac275a66b5
Set depth correctly in the active branch
2023-09-18 09:27:38 +02:00
Juergen Spitzmueller
63b99beedd Bit refactoring 2023-09-18 08:13:23 +02:00
Juergen Spitzmueller
9119671ee6 Set Box label color to static black.
Foreground in dark mode does not have enough contrast against the label
background
2023-09-18 07:29:02 +02:00
Juergen Spitzmueller
ac275a66b5 Get rid of unnecessary flickering when clicking in outliner
No need to collapse and re-expand the node where the currently selected
item is in.
2023-09-17 19:17:12 +02:00
Juergen Spitzmueller
610e2f501b Fix double-click expansion of outliner 2023-09-17 16:45:19 +02:00
Juergen Spitzmueller
013d52ed2b Fix readability
here, "custom" was exactly the opposite (non-custom, i.e., default
margins)
2023-09-17 14:31:36 +02:00
Juergen Spitzmueller
d99a13da18 Amend c8d4b99559 2023-09-17 14:17:05 +02:00
Juergen Spitzmueller
d9af7a0fff Fix change tracking glitch (#12912) 2023-09-16 13:31:00 +02:00
Juergen Spitzmueller
c8d4b99559 Fix display of disabled page margins (#12887)
while preserving input values on geometry toggle
2023-09-16 11:00:10 +02:00
Juergen Spitzmueller
9110759ec4 Update links 2023-09-16 08:53:19 +02:00
Juergen Spitzmueller
e08bbc89bc Fix brokenBiblio() and fixBiblio() with change tracking (#12909) 2023-09-16 08:34:43 +02:00
Pavel Sanda
090a6d2cf1 ca/es Shortcuts.lyx update from Dan.
(ca changes accepted)
2023-09-15 22:22:12 +02:00
Pavel Sanda
5e483c2b8a * Shortcuts.lyx from Dan 2023-09-15 22:19:17 +02:00
Juergen Spitzmueller
1812c946fc Fix nomencl launching
The problem here was that we checked depfile changes too late.
After all these subsequent LaTeX runs, the files's checksums
did not change any longer.
2023-09-15 18:08:10 +02:00
Daniel Ramoeller
ceb1a4c393 Only split view rather than split and move
Fix for #12893
2023-09-15 14:05:33 +02:00
Jean-Marc Lasgouttes
68ba1b57b4 Rename shortenIfNeeded first parameter to `max_width'
The short name `w' was not meaningful.
2023-09-15 14:05:33 +02:00
Juergen Spitzmueller
ed9e7d41f5 Do not paste deleted text with CT on (#12900) 2023-09-14 19:26:20 +02:00
Kornel Benko
68556fab3c Update sk.po 2023-09-14 09:38:33 +02:00
Scott Kostyshak
eb920502db ctests: invert ca/Intro_docbook5
The document was recently added and the underlying DocBook issue has
not been diagnosed yet.
2023-09-13 20:33:41 -04:00
Pavel Sanda
441de0a434 Regenerate LFUNs.lyx 2023-09-13 20:53:47 +02:00
Pavel Sanda
39b6e49117 Add brenyhp to credits 2023-09-13 20:41:43 +02:00
Juergen Spitzmueller
91186013ba Fix result of deleteSpaces()
With change tracking on, spaces that are marked as ADDED are really
removed (and not marked deleted) if the changeAuthor is the current
author; see Paragraph::eraseChar().

The function tried to account for that but had the logic upside down.

Consequently actually deleted spaces haven't been counted and the
result was off.

This fixes an assertion when pasting in CT parts with deleted stuff
(#12901)
2023-09-13 13:50:40 +02:00
Juergen Spitzmueller
81dc79e6d6 whitespace 2023-09-13 13:21:37 +02:00
Juergen Spitzmueller
43ddd3b037 Fix indentation 2023-09-12 16:39:23 +02:00
Jean-Marc Lasgouttes
9c49e72f7e Small updates to painting analysis document 2023-09-10 20:24:39 +02:00
Juergen Spitzmueller
be1bf5c05c Fix nullpointer (#12898)
Also, quit method early if file does not exist
2023-09-10 14:47:59 +02:00