]>
git.lyx.org Git - lyx.git/log
Richard Kimberly Heck [Mon, 16 Oct 2023 01:48:11 +0000 (21:48 -0400)]
Fix documentation on hyphenation points
Juergen Spitzmueller [Sun, 15 Oct 2023 09:20:49 +0000 (11:20 +0200)]
Only apply ui_style if it has changed
Juergen Spitzmueller [Sun, 15 Oct 2023 09:16:25 +0000 (11:16 +0200)]
de.po
Juergen Spitzmueller [Sun, 15 Oct 2023 09:02:45 +0000 (11:02 +0200)]
Warn user that uistyle reset to default requires restart
Juergen Spitzmueller [Sun, 15 Oct 2023 09:02:35 +0000 (11:02 +0200)]
Simplify
Juergen Spitzmueller [Sun, 15 Oct 2023 07:41:22 +0000 (09:41 +0200)]
Update German User Guide
Juergen Spitzmueller [Sun, 15 Oct 2023 07:40:58 +0000 (09:40 +0200)]
Make new gui element translatable
Juergen Spitzmueller [Sun, 15 Oct 2023 07:19:37 +0000 (09:19 +0200)]
de.po
Juergen Spitzmueller [Sun, 15 Oct 2023 07:17:31 +0000 (09:17 +0200)]
complement tooltip
Eugene Chornyi [Sun, 15 Oct 2023 06:46:12 +0000 (08:46 +0200)]
Implement ui style selection dialog 12832 attempt 2
Daniel Ramoeller [Thu, 6 Jan 2022 06:47:49 +0000 (07:47 +0100)]
Correctly update Outliner icon size
Fix for #12453
jpc [Fri, 13 Oct 2023 09:25:24 +0000 (11:25 +0200)]
Update fr.po
Daniel Ramoeller [Fri, 13 Oct 2023 07:17:39 +0000 (09:17 +0200)]
Add separator between depth and inset stuff
Adds a separator that is missing between depth increase/decrease and inset stuff in the Edit menu
Fix for bug #12931.
Jean-Marc Lasgouttes [Thu, 12 Oct 2023 09:28:44 +0000 (11:28 +0200)]
Do not use Color_selectionmath when selection is gone
It might happen that the selection goes away without recomputing
metrics (for example with char-forward). The added test is a bit of a
band-aid for this situation. A better solution would be to understand
better when metrics computation is triggered in mathed.
Jean-Marc Lasgouttes [Thu, 12 Oct 2023 09:09:46 +0000 (11:09 +0200)]
Use Color_selectionmath as needed for multi-cell selection in math
This is complementary to partial selection implemented at
65cb9fa4 .
Eugene Chornyi [Wed, 11 Oct 2023 21:20:37 +0000 (23:20 +0200)]
Eugene Chornyi [Wed, 11 Oct 2023 20:03:29 +0000 (22:03 +0200)]
Pavel Sanda [Wed, 11 Oct 2023 19:07:12 +0000 (21:07 +0200)]
Add space padding around word count forgotten part of (#12625).
Again from Daniel.
Pavel Sanda [Wed, 11 Oct 2023 19:01:56 +0000 (21:01 +0200)]
Remove ugly frame around word count (#12625).
Requested and tested by Daniel.
Thibaut Cuvelier [Sun, 8 Oct 2023 00:12:35 +0000 (02:12 +0200)]
MathML: don't output delimiters in InsetMathBinom and InsetMathDelim if the delimiter is a space.
Eugene Chornyi [Wed, 11 Oct 2023 18:06:52 +0000 (20:06 +0200)]
Implement ui style selection dialog 12832
Scott Kostyshak [Tue, 10 Oct 2023 14:35:53 +0000 (10:35 -0400)]
ctests: uninvert DocBook test due to recent fix
Scott Kostyshak [Tue, 10 Oct 2023 14:07:23 +0000 (10:07 -0400)]
Fix three sign-compare compiler warning
Fixes three similar warnings. One of them is the following:
src/insets/InsetInfo.cpp:1583:20: error: comparison of integers of different signs: 'int' and 'std::basic_string<wchar_t>::size_type' (aka 'unsigned long') [-Werror,-Wsign-compare]
for (int i = 0; i < sequence.length(); ++i) {
~ ^ ~~~~~~~~~~~~~~~~~
Thibaut Cuvelier [Sun, 8 Oct 2023 20:09:59 +0000 (22:09 +0200)]
XHTML: implement InsetInfo.
Thibaut Cuvelier [Sun, 8 Oct 2023 19:11:17 +0000 (21:11 +0200)]
DocBook: fix a crash in docbookSimpleAllParagraphs.
When having the code preview pane open with examples/Language_Support/Mixing_Japanese_with_other_Languages_(with_CJKutf8), clicking at random on paragraphs sometimes yielded a crash: *par when par is the end of the iterator. LyX could output the whole document as DocBook without this patch and still generates the same output with it (i.e. no text is missing).
Thibaut Cuvelier [Sun, 8 Oct 2023 19:06:46 +0000 (21:06 +0200)]
DocBook: in InsetInfo, ensure that no db:date is inserted within a db:date.
Thibaut Cuvelier [Sat, 7 Oct 2023 23:39:45 +0000 (01:39 +0200)]
DocBook: fix closing formatting after deleted text.
Previously, when closing font tags, only the previous character's font was used. However, if that character is deleted, it had no change of having the right font tags opened/closed. Hence, look further to compare the font of the current character to output with the font of the previously output character.
Thibaut Cuvelier [Sat, 7 Oct 2023 23:38:27 +0000 (01:38 +0200)]
DocBook: fix formatting of TODOs.
The lines were very long; this commit truncates them to 120 characters.
Thibaut Cuvelier [Sat, 7 Oct 2023 23:20:14 +0000 (01:20 +0200)]
DocBook: add support for InsetInfo.
A similar patch would be required for LyXHTML, but it will come later. The main impact is that some text isn't output in XHTML (like DocBook before this patch).
The code isn't as clean as it could be. I avoided touching anything not related to DocBook, as the release of 2.4 is nearing, while leaving comments for parts to improve for the next release cycle. Given that the code compiles, there are no risks for TeX or XHTML outputs; for DocBook, less content is skipped, which is a net improvement for users.
Juergen Spitzmueller [Tue, 10 Oct 2023 06:53:50 +0000 (08:53 +0200)]
de.po
Pavel Sanda [Mon, 9 Oct 2023 18:41:57 +0000 (20:41 +0200)]
Few string fixes from Dan.
Kornel Benko [Mon, 9 Oct 2023 16:05:51 +0000 (18:05 +0200)]
Add missed file "org.lyx.LyX.metainfo.xml" to cmake build
Scott Kostyshak [Sat, 7 Oct 2023 18:57:30 +0000 (14:57 -0400)]
ctests: add test cases for DocBook
Patch from Thibaut Cuvelier.
Kornel Benko [Fri, 6 Oct 2023 09:18:59 +0000 (11:18 +0200)]
Update sk.po
Pavel Sanda [Wed, 4 Oct 2023 12:53:07 +0000 (14:53 +0200)]
* cs.po
Pavel Sanda [Wed, 4 Oct 2023 12:43:50 +0000 (14:43 +0200)]
remerge cs.po
Juergen Spitzmueller [Wed, 4 Oct 2023 11:49:34 +0000 (13:49 +0200)]
Amend
3f0bb8aa43af
Account for the paragraph marker
Juergen Spitzmueller [Wed, 4 Oct 2023 11:40:38 +0000 (13:40 +0200)]
Fix assertion on paste with empty pars
Juergen Spitzmueller [Wed, 4 Oct 2023 11:29:06 +0000 (13:29 +0200)]
document selectionmath color
Juergen Spitzmueller [Wed, 4 Oct 2023 11:22:27 +0000 (13:22 +0200)]
de.po
Juergen Spitzmueller [Wed, 4 Oct 2023 11:10:07 +0000 (13:10 +0200)]
Introduce color_selectionmath
To have a distinctive color for selected math which works in both modes
Also, link color_selectionmath with QPalette::HighlightedText, so we
won't need to special-case on lyxrc.use_system_colors any longer
Jean-Marc Lasgouttes [Tue, 3 Oct 2023 09:38:40 +0000 (11:38 +0200)]
Use Color_selectiontext as needed for partial selection in math
Currently, selected math hull insets use Color_selectiontext when
system colors are in use. This commit implements the same behavior
for partial selection.
This is done by introducing two element types (BEGIN_SEL and END_SEL)
to MathRow.
Kornel Benko [Sun, 1 Oct 2023 18:15:07 +0000 (20:15 +0200)]
Update sk.po
Juergen Spitzmueller [Sun, 1 Oct 2023 10:20:40 +0000 (12:20 +0200)]
Revert the logic of
343a9749abe4f3
It might be better to be explicit also with black, after all.
Juergen Spitzmueller [Sun, 1 Oct 2023 09:38:10 +0000 (11:38 +0200)]
Simplify
Juergen Spitzmueller [Sun, 1 Oct 2023 09:08:11 +0000 (11:08 +0200)]
When box background is "none", frame color != black and page color has been set
then use the page color as box background, not white
Juergen Spitzmueller [Sun, 1 Oct 2023 08:12:52 +0000 (10:12 +0200)]
No need to use \fcolorbox with explicit black frame and no background
White background, however, is always treated explicit (think non-white
page background)
Juergen Spitzmueller [Sun, 1 Oct 2023 07:34:50 +0000 (09:34 +0200)]
Require xcolor whenever we use an \fcolorbox
Juergen Spitzmueller [Sun, 1 Oct 2023 07:26:26 +0000 (09:26 +0200)]
Scott Kostyshak [Sun, 1 Oct 2023 00:43:10 +0000 (20:43 -0400)]
ctests: uninvert couple of suspended tests
Due to recent changes, 'xcolor' is now loaded in the corresponding
document export, which somehow fixes the compilation error that was
occurring.
Scott Kostyshak [Sun, 1 Oct 2023 00:21:22 +0000 (20:21 -0400)]
Amend
087f6bce
Explanation from Udi:
There is a missing validation for the requirement of xcolor in
InsetBox::validate, the case we use Boxed with non-default color.
Patch from Udi.
Scott Kostyshak [Sun, 1 Oct 2023 00:20:03 +0000 (20:20 -0400)]
Amend
04bfbc0f
Patch from Udi.
jpc [Sat, 30 Sep 2023 16:20:47 +0000 (18:20 +0200)]
Uodate fr.po
Udi-Fogiel [Wed, 27 Sep 2023 11:45:43 +0000 (14:45 +0300)]
proper unicode support for hebrew in 8bit engines
Juergen Spitzmueller [Sat, 30 Sep 2023 14:59:37 +0000 (16:59 +0200)]
Limit RTL hack to classic engines (#12919)
It breaks with LuaTeX, is definitely not needed with XeTeX, and it is
doubted whether it is needed at all (but this needs further testing).
Juergen Spitzmueller [Sat, 30 Sep 2023 11:58:57 +0000 (13:58 +0200)]
Style
Udi Fogiel [Tue, 26 Sep 2023 22:32:55 +0000 (01:32 +0300)]
fix nested uwave
Juergen Spitzmueller [Sat, 30 Sep 2023 11:07:00 +0000 (13:07 +0200)]
Fix escape string (reported by José)
Juergen Spitzmueller [Sat, 30 Sep 2023 11:01:20 +0000 (13:01 +0200)]
Prevent access to null local_font
Juergen Spitzmueller [Sat, 30 Sep 2023 07:59:36 +0000 (09:59 +0200)]
Update tex2lyx tests after recent format change
Juergen Spitzmueller [Sat, 30 Sep 2023 07:56:27 +0000 (09:56 +0200)]
Introduce default box frame color (#12921)
This better aligns with dark mode
Scott Kostyshak [Fri, 29 Sep 2023 14:31:19 +0000 (10:31 -0400)]
Merge branch 'fix-spanish-quoting'
This branch reverts a document-specific fix and introduces a more
general fix.
The following tests still all pass:
ctest -R "es/Letter"
Scott Kostyshak [Fri, 29 Sep 2023 14:25:46 +0000 (10:25 -0400)]
Fix babel quoting for Spanish
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.
Thanks to Udi and Jürgen for the patch.
This is a more general fix than the (now reverted) fix at
fa67f709 .
For ML discussion, see here:
https://www.mail-archive.com/search?l=mid&q=rwwvyyvwmx5wwvwhqdaioil32hblkzi7ghokzgekksrf66ww3f%40u6nj3guoayay
Scott Kostyshak [Fri, 29 Sep 2023 14:23:26 +0000 (10:23 -0400)]
Revert "Fix compilation of es/Letter standard class"
This fix hardcoded a language package and was specific to this
document.
The next commit will introduce a better fix, thanks to Udi and
Jürgen.
This reverts commit
fa67f70992da5f7c6cb0958d557993d6c0750534 .
Juergen Spitzmueller [Fri, 29 Sep 2023 11:09:20 +0000 (13:09 +0200)]
Fix quote menu item, from Dan
Current language is relevant here, not main language
Pavel Sanda [Wed, 27 Sep 2023 22:35:07 +0000 (00:35 +0200)]
pdfcolmk is an empty stub for many years now (bug #12920).
Patch from Udi.
Scott Kostyshak [Wed, 27 Sep 2023 17:42:40 +0000 (13:42 -0400)]
ctest: invert es/Intro_docbook5
This fails after recent changes to the document.
Pavel Sanda [Tue, 26 Sep 2023 20:36:48 +0000 (22:36 +0200)]
* es/Intro,Shortcuts updates from Dan.
Pavel Sanda [Tue, 26 Sep 2023 20:33:15 +0000 (22:33 +0200)]
* ca/Intro,Shortcuts updates from Dan.
All changes accepted.
Scott Kostyshak [Mon, 25 Sep 2023 14:58:50 +0000 (10:58 -0400)]
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.
Scott Kostyshak [Mon, 25 Sep 2023 14:41:21 +0000 (10:41 -0400)]
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.
Jean-Marc Lasgouttes [Mon, 25 Sep 2023 10:46:16 +0000 (12:46 +0200)]
Improve comments
Jean-Marc Lasgouttes [Mon, 25 Sep 2023 10:35:40 +0000 (12:35 +0200)]
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.
Jean-Marc Lasgouttes [Mon, 25 Sep 2023 10:28:01 +0000 (12:28 +0200)]
Revert "Avoid row breaking at inconvenient places."
The solution did create new issues.
Fixes bug #12899.
Unfixes bug #12660.
This reverts commit
f7de345f85b4a34346fc52b60a9e754b466d24f0 .
Jean-Marc Lasgouttes [Fri, 22 Sep 2023 15:44:12 +0000 (17:44 +0200)]
Make sure that caret width is not null in mathed
The same test exists in texted.
Fixes bug #12904.
Scott Kostyshak [Sun, 24 Sep 2023 00:35:36 +0000 (20:35 -0400)]
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
Scott Kostyshak [Sat, 23 Sep 2023 16:43:31 +0000 (12:43 -0400)]
ctests: invert another ca docbook test
Perhaps similar to
eb920502 .
Enrico Forestieri [Sat, 23 Sep 2023 15:50:25 +0000 (17:50 +0200)]
Update it.po
Enrico Forestieri [Sat, 23 Sep 2023 14:18:28 +0000 (16:18 +0200)]
Amend
12e3d46b
Also account for alerts regarding documents that are explicitly
allowed to execute external commands through the settings.
Enrico Forestieri [Sat, 23 Sep 2023 11:41:26 +0000 (13:41 +0200)]
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.
Jean-Marc Lasgouttes [Fri, 22 Sep 2023 10:41:44 +0000 (12:41 +0200)]
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.
Jürgen Spitzmüller [Thu, 21 Sep 2023 05:11:07 +0000 (07:11 +0200)]
Adapt listings label color for darkmode
Do not use semantic foreground color here, as label button color does
not change in dark mode.
Pavel Sanda [Tue, 19 Sep 2023 21:52:13 +0000 (23:52 +0200)]
Whitespace
Pavel Sanda [Tue, 19 Sep 2023 21:47:58 +0000 (23:47 +0200)]
+ es/Letter standard class (from Dan)
Pavel Sanda [Tue, 19 Sep 2023 21:41:52 +0000 (23:41 +0200)]
+ ca/Letter standard class (from Dan)
Yuriy Skalko [Mon, 18 Sep 2023 23:10:57 +0000 (01:10 +0200)]
Typo
Yuriy Skalko [Mon, 18 Sep 2023 23:05:40 +0000 (01:05 +0200)]
Update ru docs
Scott Kostyshak [Mon, 18 Sep 2023 20:25:29 +0000 (16:25 -0400)]
ctests: invert test due to acmart issue
The upstream bug report is here:
https://github.com/borisveytsman/acmart/issues/505
Juergen Spitzmueller [Mon, 18 Sep 2023 09:36:16 +0000 (11:36 +0200)]
Remove unneeded method
which is also not available in Qt < 5.13, as it turns out.
Juergen Spitzmueller [Mon, 18 Sep 2023 08:02:34 +0000 (10:02 +0200)]
Prefer following, not previous, item in selection manager after deletion (#12871)
Juergen Spitzmueller [Mon, 18 Sep 2023 07:27:38 +0000 (09:27 +0200)]
Amend
ac275a66b5
Set depth correctly in the active branch
Juergen Spitzmueller [Mon, 18 Sep 2023 06:13:23 +0000 (08:13 +0200)]
Bit refactoring
Juergen Spitzmueller [Mon, 18 Sep 2023 05:29:02 +0000 (07:29 +0200)]
Set Box label color to static black.
Foreground in dark mode does not have enough contrast against the label
background
Juergen Spitzmueller [Sun, 17 Sep 2023 17:17:12 +0000 (19:17 +0200)]
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.
Juergen Spitzmueller [Sun, 17 Sep 2023 14:45:19 +0000 (16:45 +0200)]
Fix double-click expansion of outliner
Juergen Spitzmueller [Sun, 17 Sep 2023 12:31:36 +0000 (14:31 +0200)]
Fix readability
here, "custom" was exactly the opposite (non-custom, i.e., default
margins)
Juergen Spitzmueller [Sun, 17 Sep 2023 12:17:05 +0000 (14:17 +0200)]
Juergen Spitzmueller [Sat, 16 Sep 2023 11:31:00 +0000 (13:31 +0200)]
Fix change tracking glitch (#12912)
Juergen Spitzmueller [Sat, 16 Sep 2023 09:00:10 +0000 (11:00 +0200)]
Fix display of disabled page margins (#12887)
while preserving input values on geometry toggle
Juergen Spitzmueller [Sat, 16 Sep 2023 06:53:19 +0000 (08:53 +0200)]
Update links