]>
git.lyx.org Git - lyx.git/log
Juergen Spitzmueller [Tue, 8 Oct 2024 12:04:34 +0000 (14:04 +0200)]
Fix (biblatex) file encoding handling in GuiBibtex (#13109)
Kornel Benko [Tue, 8 Oct 2024 11:36:45 +0000 (13:36 +0200)]
Kornel Benko [Tue, 8 Oct 2024 09:45:23 +0000 (11:45 +0200)]
Amend(3) of
c0ee28a7
There are more for sure, selected only url's which were (sometime) making trouble
Kornel Benko [Tue, 8 Oct 2024 09:36:25 +0000 (11:36 +0200)]
Amend
341410a5 : Change log-output to better parse urls
Scott Kostyshak [Tue, 8 Oct 2024 07:43:57 +0000 (09:43 +0200)]
ctests: invert an xhtml test
From Jürgen:
ampersands in the bibliography (as in "Hartley & Marks" here)
need to be transferred to & in DocBook.
Kornel Benko [Mon, 7 Oct 2024 20:41:52 +0000 (22:41 +0200)]
Kornel Benko [Mon, 7 Oct 2024 14:51:45 +0000 (16:51 +0200)]
Kornel Benko [Mon, 7 Oct 2024 12:14:36 +0000 (14:14 +0200)]
Kornel Benko [Mon, 7 Oct 2024 10:35:10 +0000 (12:35 +0200)]
Small modifications
Continued changes for commit
3f48486a
Kornel Benko [Mon, 7 Oct 2024 10:19:28 +0000 (12:19 +0200)]
Corrected some used URL's in our lyx files
Thanks Jean-Pierre, Pavel, Scott
Jean-Marc Lasgouttes [Sat, 5 Oct 2024 17:15:09 +0000 (19:15 +0200)]
Remove unused #include
Kornel Benko [Sun, 6 Oct 2024 16:04:00 +0000 (18:04 +0200)]
Cmake build tests: check urls optimized
The original test took about ~50 minutes. Making the checks in parallel,
now it takes about 150 seconds.
Juergen Spitzmueller [Sun, 6 Oct 2024 14:23:05 +0000 (16:23 +0200)]
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
Juergen Spitzmueller [Sun, 6 Oct 2024 13:49:24 +0000 (15:49 +0200)]
Fix group box width in Document > Settings > Float Settings
Also fix typo in widget name
Jean-Marc Lasgouttes [Sat, 5 Oct 2024 13:30:22 +0000 (15:30 +0200)]
Fix up
6c20e5db : let PARAGRAPH_GOTO use SCROLL_TOP again
As said, this was an experiment. It did not seem to stick.
Jean-Marc Lasgouttes [Sat, 5 Oct 2024 13:17:37 +0000 (15:17 +0200)]
Remove configure test for std::call_once
It was not needed anymore since
193cda6e .
Jean-Marc Lasgouttes [Sat, 5 Oct 2024 13:04:51 +0000 (15:04 +0200)]
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++.
Juergen Spitzmueller [Sat, 5 Oct 2024 12:15:19 +0000 (14:15 +0200)]
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
Pavel Sanda [Fri, 4 Oct 2024 18:53:26 +0000 (20:53 +0200)]
Merged compilation does not exist anymore.
Pavel Sanda [Fri, 4 Oct 2024 18:51:51 +0000 (20:51 +0200)]
Document gcc 5 dependency.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg223072.html
Pavel Sanda [Fri, 4 Oct 2024 18:49:55 +0000 (20:49 +0200)]
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
Pavel Sanda [Fri, 4 Oct 2024 18:42:29 +0000 (20:42 +0200)]
Remove strfwd.h.
Will break cygwin due to trivstring header.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg223056.html
Kornel Benko [Thu, 3 Oct 2024 11:46:16 +0000 (13:46 +0200)]
Update sk.po
Jean-Marc Lasgouttes [Wed, 2 Oct 2024 08:14:26 +0000 (10:14 +0200)]
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.
jpc [Tue, 1 Oct 2024 16:31:54 +0000 (18:31 +0200)]
Url errors 37 & 38 correction
Jean-Marc Lasgouttes [Tue, 1 Oct 2024 09:45:36 +0000 (11:45 +0200)]
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
Jean-Marc Lasgouttes [Tue, 1 Oct 2024 09:12:14 +0000 (11:12 +0200)]
Pass parameters as const reference
Spotted by Coverity scan.
Pavel Sanda [Mon, 30 Sep 2024 18:11:23 +0000 (20:11 +0200)]
Not needed anymore.
Pavel Sanda [Mon, 30 Sep 2024 18:06:38 +0000 (20:06 +0200)]
PDF options: reflect in UI mutually exclusive colorlinks and frames.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg222961.html
Pavel Sanda [Mon, 30 Sep 2024 18:02:01 +0000 (20:02 +0200)]
UG: typo
Jean-Marc Lasgouttes [Sun, 29 Sep 2024 19:45:08 +0000 (21:45 +0200)]
Modify string list in place instead of copying it
Spotted by Coverity scan.
Koji Yokota [Mon, 30 Sep 2024 00:00:56 +0000 (09:00 +0900)]
Fix IM window position for a new window (#13094)
Pavel Sanda [Sun, 29 Sep 2024 20:23:40 +0000 (22:23 +0200)]
UG: add comment about underlined links in pdf from ##13105.
Thibaut Cuvelier [Sat, 28 Sep 2024 14:49:46 +0000 (16:49 +0200)]
MathML: use Core for XHTML, 3 for DocBook.
In a near future, this should rather be controlled by a user-visible parameter.
Thibaut Cuvelier [Sat, 28 Sep 2024 14:47:58 +0000 (16:47 +0200)]
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.
Thibaut Cuvelier [Sat, 28 Sep 2024 14:41:55 +0000 (16:41 +0200)]
amend
Thibaut Cuvelier [Sat, 28 Sep 2024 14:40:36 +0000 (16:40 +0200)]
Fix switch indentation.
Thibaut Cuvelier [Sat, 28 Sep 2024 14:39:13 +0000 (16:39 +0200)]
MathML: add a version enum.
Juergen Spitzmueller [Sat, 28 Sep 2024 11:11:46 +0000 (13:11 +0200)]
Amend
770362da97d28
preview needs proper --lily-output-dir
Juergen Spitzmueller [Fri, 27 Sep 2024 07:27:32 +0000 (09:27 +0200)]
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
Jean-Marc Lasgouttes [Fri, 13 Sep 2024 15:10:58 +0000 (17:10 +0200)]
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 ;)
Kornel Benko [Thu, 26 Sep 2024 09:58:22 +0000 (11:58 +0200)]
Amend
3add2204 :
Missed 1 default export case
Pavel Sanda [Wed, 25 Sep 2024 20:55:10 +0000 (22:55 +0200)]
Update eu.po from Inaki
Scott Kostyshak [Wed, 25 Sep 2024 15:18:02 +0000 (17:18 +0200)]
ctests: invert more Astronomy_%26_Astrophysics
These have been failing since before.
Juergen Spitzmueller [Wed, 25 Sep 2024 12:31:56 +0000 (14:31 +0200)]
Work around bug in aa.cls
Juergen Spitzmueller [Wed, 25 Sep 2024 09:44:32 +0000 (11:44 +0200)]
Work around bug in aa.cls
Juergen Spitzmueller [Wed, 25 Sep 2024 08:22:36 +0000 (10:22 +0200)]
Factor out (signed) glueLenghValidator
Juergen Spitzmueller [Wed, 25 Sep 2024 07:53:00 +0000 (09:53 +0200)]
Allow negative offset in GuiLine (#13102)
Pavel Sanda [Tue, 24 Sep 2024 18:15:00 +0000 (20:15 +0200)]
UG: document hyperref borders/colors interaction.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg222962.html
Juergen Spitzmueller [Tue, 24 Sep 2024 06:47:55 +0000 (08:47 +0200)]
Re-focus workarea after some outline context-menu actions (see #1624)
Thanks Pavel for the main idea
Jean-Marc Lasgouttes [Mon, 23 Sep 2024 17:15:20 +0000 (19:15 +0200)]
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.
Jean-Marc Lasgouttes [Mon, 23 Sep 2024 17:42:29 +0000 (19:42 +0200)]
Do not use big characters for some unicode points
This modifies LOGICAL AND, LOGICAL OR, INTERSECTION and UNION.
Fixes bug #13099.
Juergen Spitzmueller [Sun, 22 Sep 2024 15:16:54 +0000 (17:16 +0200)]
Better fix for Spanish Tufte problem
The option "nohyper" causes the issue
Juergen Spitzmueller [Sun, 22 Sep 2024 15:15:46 +0000 (17:15 +0200)]
Revert "Work around fragility problem in Spanish Tufte Handout"
This reverts commit
829845457753c1348f9b0399238b999c527a7d60 .
Juergen Spitzmueller [Sun, 22 Sep 2024 09:48:44 +0000 (11:48 +0200)]
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)
Kornel Benko [Sun, 22 Sep 2024 09:40:28 +0000 (11:40 +0200)]
Cmake tests: Amend
6e05409d
Use with a slightly better thought out selection of possible exports to tex-source.
Kornel Benko [Sat, 21 Sep 2024 19:54:49 +0000 (21:54 +0200)]
Update sk.po
Kornel Benko [Sat, 21 Sep 2024 19:52:21 +0000 (21:52 +0200)]
Cmake build: Omit "PRE_BUILD" in add_custom_command()
According to cmake warning output while configuring:
CMake Error (dev) at po/CMakeLists.txt:72 (ADD_CUSTOM_COMMAND):
The following keywords are not supported when using
add_custom_command(OUTPUT): PRE_BUILD.
Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
Call Stack (most recent call first):
po/CMakeLists.txt:106 (add_gettext_python)
This error is for project developers. Use -Wno-error=dev to suppress it.
Scott Kostyshak [Fri, 20 Sep 2024 09:04:16 +0000 (11:04 +0200)]
ctests: invert chess lyx2lyx tests
In export.cmake, if the detected output format is pdf3, we try to
export to "platex", which usually makes sense, but for this file we
would need to export to "latex". This file is very particular, and
also old, so I do not know if it is worth the time to handle this
case.
This commit inverts the following tests:
export/examples/Articles/Chess/Game_1_lyx16 (Failed)
export/examples/Articles/Chess/Game_1_lyx20 (Failed)
export/examples/Articles/Chess/Game_1_lyx21 (Failed)
export/examples/Articles/Chess/Game_1_lyx22 (Failed)
export/examples/Articles/Chess/Game_1_lyx23 (Failed)
Juergen Spitzmueller [Sat, 21 Sep 2024 10:46:45 +0000 (12:46 +0200)]
de.po
Juergen Spitzmueller [Sat, 21 Sep 2024 09:30:08 +0000 (11:30 +0200)]
Only \protect labels in \thanks notes
See https://marc.info/?l=lyx-users&m=
136394387505489
Juergen Spitzmueller [Sat, 21 Sep 2024 05:30:55 +0000 (07:30 +0200)]
GuiBibTeX: introduce way to toggle between absolute and relative local paths (#13097)
Pavel Sanda [Fri, 20 Sep 2024 19:33:41 +0000 (21:33 +0200)]
Header not needed anymore
Jean-Marc Lasgouttes [Thu, 19 Sep 2024 21:17:48 +0000 (23:17 +0200)]
Move assertion at the right position
It would wrongly trigger when doing a multi-cell selection.
Scott Kostyshak [Thu, 19 Sep 2024 20:38:49 +0000 (22:38 +0200)]
ctests: invert lyx2lyx tests that fail TeX export
These fail when exporting to TeX, but since they have to do with old
formats, it's not clear it's worth the time to investigate.
These started failing once we check the exit code of LyX's TeX
export (at
c7be9780 ).
Scott Kostyshak [Tue, 17 Sep 2024 19:49:48 +0000 (21:49 +0200)]
ctests: exit with error if export to .tex fails
Now that we detect and export to the correct TeX format (instead of
assuming pdflatex), we can make the check more strict by giving an
error if LyX exits with error from the export.
Scott Kostyshak [Thu, 19 Sep 2024 20:00:23 +0000 (22:00 +0200)]
ctests: default for Japanese + systemF is pdf4
This fixes the following tests:
export/examples/ja/Modules/Rnw_%28knitr%29_lyx22
export/examples/ja/Modules/Rnw_%28knitr%29_lyx23
export/examples/ja/Modules/Sweave_lyx22
export/examples/ja/Modules/Sweave_lyx23
Juergen Spitzmueller [Thu, 19 Sep 2024 08:00:39 +0000 (10:00 +0200)]
Fix outliner tree depth (#13098)
Pavel Sanda [Wed, 18 Sep 2024 19:25:18 +0000 (21:25 +0200)]
Move header where needed.
Scott Kostyshak [Wed, 18 Sep 2024 12:19:10 +0000 (14:19 +0200)]
ctests: comment the inverted ja Math systemF tests
Comments from Jürgen about why it is complicated to fix the exports.
Scott Kostyshak [Tue, 17 Sep 2024 19:41:48 +0000 (21:41 +0200)]
Pavel Sanda [Tue, 17 Sep 2024 17:51:35 +0000 (19:51 +0200)]
Header not needed anymore
Kornel Benko [Tue, 17 Sep 2024 16:42:46 +0000 (18:42 +0200)]
Cmake lyx2lyx export tests: Try to use output format from the lyx-source
Juergen Spitzmueller [Tue, 17 Sep 2024 13:53:18 +0000 (15:53 +0200)]
Do not output empty statement in lyx2lyx reversion
Scott Kostyshak [Tue, 17 Sep 2024 09:12:10 +0000 (11:12 +0200)]
Uninvert ja UserGuide systemF tests
These exports pass thanks to Jürgen's recent fixes, including
working around a language nesting issue.
Juergen Spitzmueller [Tue, 17 Sep 2024 07:51:29 +0000 (09:51 +0200)]
ja/UserGuide: work around language nesting issue
Scott Kostyshak [Mon, 16 Sep 2024 15:53:38 +0000 (17:53 +0200)]
Uninvert the ja Additional systemF tests
These exports now succeed thanks to Jürgen's recent fixes.
Juergen Spitzmueller [Mon, 16 Sep 2024 15:05:12 +0000 (17:05 +0200)]
Add missing ("false") condition
Kornel Benko [Mon, 16 Sep 2024 13:30:33 +0000 (15:30 +0200)]
Update sk.po
Juergen Spitzmueller [Mon, 16 Sep 2024 13:12:42 +0000 (15:12 +0200)]
amend
8e49c9a704b941fe5
we might not be using babel, after all
Juergen Spitzmueller [Mon, 16 Sep 2024 12:54:30 +0000 (14:54 +0200)]
Fix es/ModernCV on older versions that do not have language options
Juergen Spitzmueller [Mon, 16 Sep 2024 12:30:16 +0000 (14:30 +0200)]
Fix most math problems with Xe/LuaTeX
One NULL character issue left
Juergen Spitzmueller [Mon, 16 Sep 2024 11:36:48 +0000 (13:36 +0200)]
Fixup ja/Additional for Xe/LuaTeX
Juergen Spitzmueller [Mon, 16 Sep 2024 11:36:03 +0000 (13:36 +0200)]
Fixup ja/UserGuide for XeTeX
The system fonts do not cover Western quotation marks
Juergen Spitzmueller [Mon, 16 Sep 2024 06:48:28 +0000 (08:48 +0200)]
Fix font def
Juergen Spitzmueller [Sun, 15 Sep 2024 16:36:23 +0000 (18:36 +0200)]
A&A does not work with polyglossia
(babel is hardcoded in the class)
Juergen Spitzmueller [Sun, 15 Sep 2024 15:34:28 +0000 (17:34 +0200)]
Uee a more accesible JP mono font
Juergen Spitzmueller [Sun, 15 Sep 2024 13:21:46 +0000 (15:21 +0200)]
Fixup polyglossia-languages test file
* Workaround for churchslavonic
Juergen Spitzmueller [Sun, 15 Sep 2024 13:09:08 +0000 (15:09 +0200)]
Fixup polyglossia-languages test file
* Branch Kazakh as it is now babel-only
* Setup fonts for Chinese via fontspec
* Setup proper fonts for Japanese
* Use proper Japanese language variant
Juergen Spitzmueller [Sun, 15 Sep 2024 11:53:41 +0000 (13:53 +0200)]
Fix Spanish ModernCV example
Juergen Spitzmueller [Sun, 15 Sep 2024 11:32:10 +0000 (13:32 +0200)]
Set appropriate system fonts for Chinese docs
Jean-Marc Lasgouttes [Sat, 14 Sep 2024 18:40:53 +0000 (20:40 +0200)]
More places where DocumentClassPtr should not be copied
Spotted by COverity scan.
Jean-Marc Lasgouttes [Sat, 14 Sep 2024 18:36:04 +0000 (20:36 +0200)]
Pass sigPtr object as const reference too
Spotted by Coverity scan.
Jean-Marc Lasgouttes [Sat, 14 Sep 2024 18:19:34 +0000 (20:19 +0200)]
Pass SocketCallback object as const reference
Spotted by Coverity scan.
Juergen Spitzmueller [Sat, 14 Sep 2024 12:46:29 +0000 (14:46 +0200)]
Set appropriate tt font that supports CJK
The actual font should be discussed. This one is OSS and works well:
https://github.com/adobe-fonts/source-han-code-jp
Juergen Spitzmueller [Sat, 14 Sep 2024 12:43:43 +0000 (14:43 +0200)]
Fixup some more Japanese templates
All of these rely on non-polyglossia language support
Juergen Spitzmueller [Sat, 14 Sep 2024 12:38:47 +0000 (14:38 +0200)]
Fixup Japanese Article template
This one relies on its own language support
Juergen Spitzmueller [Sat, 14 Sep 2024 12:36:18 +0000 (14:36 +0200)]
Fixup Japanese Feynman example
Polyglossia is loaded after the user preamble
Juergen Spitzmueller [Sat, 14 Sep 2024 12:29:31 +0000 (14:29 +0200)]
Fixup Japanese Article example
This one relies on its own language support
Juergen Spitzmueller [Sat, 14 Sep 2024 10:48:57 +0000 (12:48 +0200)]
Fixup test file for texF tests
Use proper fonts basically (the rest is format conversion)