]> git.lyx.org Git - lyx.git/log
lyx.git
4 days agoFix Spanish ModernCV example
Juergen Spitzmueller [Sun, 15 Sep 2024 11:53:41 +0000 (13:53 +0200)]
Fix Spanish ModernCV example

4 days agoSet appropriate system fonts for Chinese docs
Juergen Spitzmueller [Sun, 15 Sep 2024 11:32:10 +0000 (13:32 +0200)]
Set appropriate system fonts for Chinese docs

5 days agoMore places where DocumentClassPtr should not be copied
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.

5 days agoPass sigPtr object as const reference too
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.

5 days agoPass SocketCallback object as const reference
Jean-Marc Lasgouttes [Sat, 14 Sep 2024 18:19:34 +0000 (20:19 +0200)]
Pass SocketCallback object as const reference

Spotted by Coverity scan.

5 days agoSet appropriate tt font that supports CJK
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

5 days agoFixup some more Japanese templates
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

5 days agoFixup Japanese Article template
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

5 days agoFixup Japanese Feynman example
Juergen Spitzmueller [Sat, 14 Sep 2024 12:36:18 +0000 (14:36 +0200)]
Fixup Japanese Feynman example

Polyglossia is loaded after the user preamble

5 days agoFixup Japanese Article example
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

5 days agoFixup test file for texF tests
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)

5 days agoRevert "use std::move() instead of copying when value is no longer used"
Juergen Spitzmueller [Sat, 14 Sep 2024 08:59:13 +0000 (10:59 +0200)]
Revert "use std::move() instead of copying when value is no longer used"

This reverts commit e685d31f5aadadd9c84c80a604818d49f5853dbf.

5 days agoRevert "Fix compiler warning"
Juergen Spitzmueller [Sat, 14 Sep 2024 08:59:08 +0000 (10:59 +0200)]
Revert "Fix compiler warning"

This reverts commit 0a7585403832c114fd2d084363aee98c3234058e.

6 days agoTransform CoordCache::check/checkDim in ASSERT_DIM/POS macros
Jean-Marc Lasgouttes [Fri, 13 Sep 2024 13:41:53 +0000 (15:41 +0200)]
Transform CoordCache::check/checkDim in ASSERT_DIM/POS macros

This makes it more obvious to the reader that these are actually
assertions, and should help Coverity scan too.

6 days agoPass shared_ptr<> arguments by const reference
Jean-Marc Lasgouttes [Fri, 13 Sep 2024 12:54:43 +0000 (14:54 +0200)]
Pass shared_ptr<> arguments by const reference

These arguments are not expensive to copy. However, it makes sense to
pass such pointers by const reference when they are just intended for
reading.

Some reading about this issue is here:
https://www.internalpointers.com/post/move-smart-pointers-and-out-functions-modern-c

Fixes some Coverity scan defects.

6 days agoPass DocumentClassConstPtr arguments by const reference
Jean-Marc Lasgouttes [Fri, 13 Sep 2024 12:16:21 +0000 (14:16 +0200)]
Pass DocumentClassConstPtr arguments by const reference

This arguments are shared_ptr objects, so they are not expensive to
copy. However, it makes sense to pass such pointers by const reference
when they are just intended for reading.

Some reading about this issue is here:
https://www.internalpointers.com/post/move-smart-pointers-and-out-functions-modern-c

Fixes some Coverity scan defects.

6 days agoMake two parameters const references
Jean-Marc Lasgouttes [Fri, 13 Sep 2024 09:27:00 +0000 (11:27 +0200)]
Make two parameters const references

6 days agoFix uninitialized variable
Jean-Marc Lasgouttes [Fri, 13 Sep 2024 09:21:19 +0000 (11:21 +0200)]
Fix uninitialized variable

Spotted by Coverity scan.

6 days agoDo not use rand() to set a BranchList id
Jean-Marc Lasgouttes [Fri, 13 Sep 2024 09:07:05 +0000 (11:07 +0200)]
Do not use rand() to set a BranchList id

Use a simple counting instead, beecause Coverity complains that rand()
is not safe, and counting is siimpler anyway.

6 days agoMake string parameter a const reference
Jean-Marc Lasgouttes [Fri, 13 Sep 2024 08:27:24 +0000 (10:27 +0200)]
Make string parameter a const reference

Spotted by Coverity scan.

7 days agoAvoid a couple of copies.
Jean-Marc Lasgouttes [Thu, 12 Sep 2024 16:33:45 +0000 (18:33 +0200)]
Avoid a couple of copies.

Spotted by Coverity scan.

7 days agoMake docstring parameters const references
Jean-Marc Lasgouttes [Thu, 12 Sep 2024 16:28:26 +0000 (18:28 +0200)]
Make docstring parameters const references

Spotted by Coverity scan.

7 days agoGraph::getReachable(): pass a parameter by const reference
Jean-Marc Lasgouttes [Thu, 12 Sep 2024 16:20:43 +0000 (18:20 +0200)]
Graph::getReachable(): pass a parameter by const reference

Spotted by coverity.

7 days agoAvoid a copy
Jean-Marc Lasgouttes [Thu, 12 Sep 2024 16:05:50 +0000 (18:05 +0200)]
Avoid a copy

Spotted by Coverity scan.

7 days agoAvoid a couple of copies
Jean-Marc Lasgouttes [Thu, 12 Sep 2024 15:59:41 +0000 (17:59 +0200)]
Avoid a couple of copies

Spotted by Coverity scan.

7 days agoGuiWorkArea: pass KeySymbol parameters as const references
Jean-Marc Lasgouttes [Thu, 12 Sep 2024 15:52:57 +0000 (17:52 +0200)]
GuiWorkArea: pass KeySymbol parameters as const references

Spotted by Coverity scan.

7 days agoAvoid a couple copies in Trans::addDeadKeys().
Jean-Marc Lasgouttes [Thu, 12 Sep 2024 15:24:32 +0000 (17:24 +0200)]
Avoid a couple copies in Trans::addDeadKeys().

Spotted by Coverity scan.

7 days agoTransState::addkey() pass parameter by const reference
Jean-Marc Lasgouttes [Thu, 12 Sep 2024 14:54:02 +0000 (16:54 +0200)]
TransState::addkey() pass parameter by const reference

Spotted by Coverity scan.

8 days agoPass three string parameters by address
Jean-Marc Lasgouttes [Wed, 11 Sep 2024 15:33:52 +0000 (17:33 +0200)]
Pass three string parameters by address

Spoted by Coverity scan.

8 days agoPass a docstring parameter by address
Jean-Marc Lasgouttes [Wed, 11 Sep 2024 15:30:33 +0000 (17:30 +0200)]
Pass a docstring parameter by address

Spotted by Coverity scan.

8 days agoPass a pair of docstring arguments by address
Jean-Marc Lasgouttes [Wed, 11 Sep 2024 15:25:03 +0000 (17:25 +0200)]
Pass a pair of docstring arguments by address

Spotted by Coverity scan.

8 days agoAvoid an unnecessary string copy
Jean-Marc Lasgouttes [Wed, 11 Sep 2024 15:08:45 +0000 (17:08 +0200)]
Avoid an unnecessary string copy

Spotted by Coverity scan.

8 days agoPass arguments by address in convert() templates
Jean-Marc Lasgouttes [Wed, 11 Sep 2024 14:43:26 +0000 (16:43 +0200)]
Pass arguments by address in convert() templates

The situation of the convert<>() template was a mess: the header
announced that template specializations passed strings by address (my
doing long ago), but the code would just define versions that upass
strings by value.

The solution is to pass all values by address. This works very well,
_except_ when the value is a string litteral.

Defining the templates thus requires a bit of work.

Spotted by Coverity scan.

8 days agoFix linking of test programs in support/.
Jean-Marc Lasgouttes [Wed, 11 Sep 2024 14:42:41 +0000 (16:42 +0200)]
Fix linking of test programs in support/.

8 days agoPass parameters of constructor by address
Jean-Marc Lasgouttes [Wed, 11 Sep 2024 14:25:45 +0000 (16:25 +0200)]
Pass parameters of constructor by address

Spotted by Coverity scan.

8 days agoFixup 716e20ae: revert useless part
Jean-Marc Lasgouttes [Wed, 11 Sep 2024 11:37:32 +0000 (13:37 +0200)]
Fixup 716e20ae: revert useless part

8 days agoLimit the number of iterations for some tabular features in math
Jean-Marc Lasgouttes [Wed, 11 Sep 2024 11:29:20 +0000 (13:29 +0200)]
Limit the number of iterations for some tabular features in math

Try to please Coverity scan.

9 days agoMake some code that handle authors more readable
Jean-Marc Lasgouttes [Tue, 10 Sep 2024 13:29:36 +0000 (15:29 +0200)]
Make some code that handle authors more readable

Create accssors authodmap() in BufferParams.

Use [] operator instead of find().

Hopefully this will avoid to confuse Coverity scan.

9 days agoupdate test
Udi Fogiel [Tue, 10 Sep 2024 12:44:42 +0000 (15:44 +0300)]
update test

9 days agoWhitespace
Scott Kostyshak [Tue, 10 Sep 2024 12:23:37 +0000 (14:23 +0200)]
Whitespace

9 days agofix jlreq abstract layout and adapt Chinese docs for unicode engines
Udi Fogiel [Tue, 10 Sep 2024 12:17:07 +0000 (15:17 +0300)]
fix jlreq abstract layout and adapt Chinese docs for unicode engines

jlreq layout defined the abstract environment to be boxed
in the preamble. Doing any kind of typesetting before
all the setup has finished is error prone and may lead to
wrong output (wrong fonts for example). The correct
place to put the abstract code is right before \maketitle.

The Chinese docs loaded the ctex package in case system fonts
were used. Now, with the new support for languages with babel
and polyglossia it is no longer necessary and creates collisions.

9 days agoDo not push options to \babelprovide which do not make sense there
Jürgen Spitzmüller [Tue, 10 Sep 2024 11:58:33 +0000 (13:58 +0200)]
Do not push options to \babelprovide which do not make sense there

Should fix a couple of tests

10 days agoAdd a comment for Python binary names.
Thibaut Cuvelier [Mon, 9 Sep 2024 21:31:53 +0000 (23:31 +0200)]
Add a comment for Python binary names.

10 days agoImprove coverity modeling
Jean-Marc Lasgouttes [Mon, 9 Sep 2024 15:50:01 +0000 (17:50 +0200)]
Improve coverity modeling

This tells coverity that these functions terminate the program.

10 days agoDo not forget to reset stream after std::hex
Jean-Marc Lasgouttes [Mon, 9 Sep 2024 15:49:20 +0000 (17:49 +0200)]
Do not forget to reset stream after std::hex

Spotted by Coverity scan.

10 days agoDo not handle special case where buffer == NULL
Jean-Marc Lasgouttes [Mon, 9 Sep 2024 13:52:01 +0000 (15:52 +0200)]
Do not handle special case where buffer == NULL

If it is so, we have already crashed in isBranchSelected() above.

(and hopefully, buffer_ is never null these days).

Spotted by Coverity scan.

10 days agoDo not access current_view_ if it is NULL
Jean-Marc Lasgouttes [Mon, 9 Sep 2024 13:35:57 +0000 (15:35 +0200)]
Do not access current_view_ if it is NULL

Spotted by Coverity scan.

10 days agoInitialize client's name in main()
Jean-Marc Lasgouttes [Mon, 9 Sep 2024 13:29:39 +0000 (15:29 +0200)]
Initialize client's name in main()

Initializing clientName at declaration time is not a good idea.

Spotted by Coverity scan.

10 days agoFixup b8cdfd1e1db: fix thinko
Jean-Marc Lasgouttes [Mon, 9 Sep 2024 13:19:25 +0000 (15:19 +0200)]
Fixup b8cdfd1e1db: fix thinko

Spotted by Coverity.

10 days agoDo not use lyxerr in from_ascii(char const *)
Jean-Marc Lasgouttes [Mon, 9 Sep 2024 10:08:23 +0000 (12:08 +0200)]
Do not use lyxerr in from_ascii(char const *)

This function is used a lot to initialize static docstrings. This is
an issue in theory because lyxerr may not have been initialized in
time.

In practice of course, lyxerr will only be used when there is a
non-ascii character in the parameter, which is really not supposed to
happen.

This gets rid of 75 coverity reports.

10 days agoadapt tex2lyx to 0beb790a6a194
Juergen Spitzmueller [Mon, 9 Sep 2024 06:29:24 +0000 (08:29 +0200)]
adapt tex2lyx to 0beb790a6a194

11 days agoHandle space issue with refstyle more downstream
Juergen Spitzmueller [Sun, 8 Sep 2024 17:07:44 +0000 (19:07 +0200)]
Handle space issue with refstyle more downstream

It is not necessarily, and infers with some usages, to generally escape
spaces in labels and references

11 days agoFix indentation
Juergen Spitzmueller [Sun, 8 Sep 2024 14:00:36 +0000 (16:00 +0200)]
Fix indentation

12 days agoFix compiler warning
Scott Kostyshak [Sat, 7 Sep 2024 21:45:51 +0000 (23:45 +0200)]
Fix compiler warning

Fixes the following warning:

  warning unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call]

12 days agoinitialize boolean (reported by coverity)
Juergen Spitzmueller [Sat, 7 Sep 2024 10:55:10 +0000 (12:55 +0200)]
initialize boolean (reported by coverity)

12 days agouse std::move() instead of copying when value is no longer used
Juergen Spitzmueller [Sat, 7 Sep 2024 10:50:27 +0000 (12:50 +0200)]
use std::move() instead of copying when value is no longer used

This is mainly to shut down coverity which nowadays nags on this.
I am not sure whether we really gain something in these cases.

12 days agoFix cut and past error (reported by coverity)
Juergen Spitzmueller [Sat, 7 Sep 2024 10:39:45 +0000 (12:39 +0200)]
Fix cut and past error (reported by coverity)

12 days agofix potential null pointer (reported by coverity)
Juergen Spitzmueller [Sat, 7 Sep 2024 10:36:23 +0000 (12:36 +0200)]
fix potential null pointer (reported by coverity)

13 days ago* postats.py
Pavel Sanda [Fri, 6 Sep 2024 21:06:52 +0000 (23:06 +0200)]
* postats.py

13 days agoRemove handling of dispatched() property in BufferView::dispatch
Jean-Marc Lasgouttes [Fri, 6 Sep 2024 14:21:47 +0000 (16:21 +0200)]
Remove handling of dispatched() property in BufferView::dispatch

As indicated in DispatchResult.h, this is only needed in insets'
doDispatch() methods, where lfuns can be delegated to a higher lever.

13 days agoAdd ScrollType BOTTOM and TOGGLE for BufferView::scrollToCursor()
Jean-Marc Lasgouttes [Thu, 5 Sep 2024 20:05:38 +0000 (22:05 +0200)]
Add ScrollType BOTTOM and TOGGLE for BufferView::scrollToCursor()

BOTTOM shows the paragraph containing the cursor at the bottom of the
work area.

TOGGLE does CENTER, then TOP, BOTTOM and finally cycles to CENTER.
This is a feature copied from emacs's C-l binding.

Add new argument "caret" to lfun "scroll" that can be used like
  scroll caret center

Change the keys (either C-l, M-l or F5) bound to screen-recenter to
"scroll caret toggle".

As an experiment, change paragraph-goto to use this scrolling method.
This can be tested when going to a heading in the outline pane.

2 weeks agoCleanup Page Up/Down code
Jean-Marc Lasgouttes [Wed, 4 Sep 2024 13:48:38 +0000 (15:48 +0200)]
Cleanup Page Up/Down code

Since BufferView::scroll() does not correct scrolling amount at
top/bottom anymore, remove its return value and add a new one to
BufferView::updateMetrics(bool) that returns this correction.

Rely on updateMetrics(false) to set the metrics straight after moving
the anchor y position.

Use assert_in_view = false when calling TextMetrics::editXY() because
this parameter does not work as advertised: if an inset not totally
visible, the code will not try to go inside it to look for a smaller
row that is totally visible.

Two small (hopfully useful) modifications:
- take into account the cursor X target instead of its screen position
- adapt the cursor position depending on
  lyxrc.mac_like_cursor_movement when hitting start or end of
  document.

2 weeks agoGet rid of BufferView::scrollUp/Down
Jean-Marc Lasgouttes [Tue, 3 Sep 2024 16:13:02 +0000 (18:13 +0200)]
Get rid of BufferView::scrollUp/Down

LFUN_SCROLL was the last user, change it to use only scroll(). Take
this opportunity to improve a bit this dispatch code.

Also improve somewhat the methods documentation.

2 weeks agoStreamline BufferView::scrollToCursor
Jean-Marc Lasgouttes [Tue, 3 Sep 2024 14:21:32 +0000 (16:21 +0200)]
Streamline BufferView::scrollToCursor

There are two parts in this patch :

1/ in the part where the cursor is already visible, replace calls to
scroll/scrollUp/scrollDown by direct manipulation of the anchor
vertical position. Reasoning in terms of new position rather than
amount of pixels to scroll makes work easier.

2/ in the part where the cursor is set to a new TOP or CENTER
position, move the code around in order to prepare for new ScrollType
enums.

No change intended, except that CENTER now relies on the contents
dimension of the row that holds the iterator, that is without spacing
and labels.

2 weeks agoSimplify greatly Buffer::scroll/Up/Down methods
Jean-Marc Lasgouttes [Tue, 3 Sep 2024 13:55:34 +0000 (15:55 +0200)]
Simplify greatly Buffer::scroll/Up/Down methods

The code there that checks whether we scroll beyond the top/bottom of
document is not needed anymore, this is handled later by
BufferView::update(bool).

Note that this methods may disappear with time.

No change intended.

2 weeks agoFix update of cursor in tab-delete when there is a selection
Jean-Marc Lasgouttes [Fri, 30 Aug 2024 14:56:16 +0000 (16:56 +0200)]
Fix update of cursor in tab-delete when there is a selection

The position of the cursor should not be decreased if it is already at
the start of the paragraph. This can lead to a crash when trying to
display the caret.

2 weeks agoFixup 999fb37e: fix thinko
Jean-Marc Lasgouttes [Fri, 30 Aug 2024 13:07:03 +0000 (15:07 +0200)]
Fixup 999fb37e: fix thinko

The current buffer is part of allRelatives(), contrary to what I
thought. Therefore updateId() increased the buffer id by two.

2 weeks agoupdate comments
Jean-Marc Lasgouttes [Fri, 30 Aug 2024 12:53:07 +0000 (14:53 +0200)]
update comments

2 weeks agoRemove legacy code to compute geometry
Jean-Marc Lasgouttes [Fri, 30 Aug 2024 12:31:47 +0000 (14:31 +0200)]
Remove legacy code to compute geometry

This code is not necessary anymore after the fix to #13069.

Remove the first QString argument to createView(). Set the autoShow
parameter to false by default and rename createView(id) to
createAndShowView(id) to avoid member function overloading issues.

Remove optional <GEOMETRY> argument of window-new lfun.
Document the removal of the argument in release notes.

2 weeks agoAmend 18c310a8 for cmake build: Get rid of QPA_XCB define
Kornel Benko [Fri, 30 Aug 2024 12:08:05 +0000 (14:08 +0200)]
Amend 18c310a8 for cmake build: Get rid of QPA_XCB define

2 weeks agoGet rid of QPA_XCB define
Jean-Marc Lasgouttes [Thu, 29 Aug 2024 09:15:26 +0000 (11:15 +0200)]
Get rid of QPA_XCB define

Since the platform is selected at run time (e.g. xcb vs. Wayland), it
is not a good idea to decide at compile time what code is run. Another
example is on macOS, where having xcb libraries available will lead to
lauching the Xquartz whenever LyX is running.

With this patch, things are separated:
- the code is run when run-time platform is "xcb".
- the support code is compiled in when xcb header and libraries are
  available.

Fixes ticket #13086.

2 weeks agoStreamline -geometry command-line option support
Jean-Marc Lasgouttes [Thu, 29 Aug 2024 09:10:31 +0000 (11:10 +0200)]
Streamline -geometry command-line option support

Instead of baking our own support for -geometry command line option on
Windows (Qt only does that for Xcb), use the fact that Qt 5 provides
the equivalent -qwindowgeometry flag.

All we need to do is to replace the -geometry option with -qwindowgeometry.

This is part of the effort in ticket #13086 to get rid of the
compile-time QPA_XCB define.

3 weeks agoAmend f1fddd86
Kornel Benko [Thu, 29 Aug 2024 12:13:12 +0000 (14:13 +0200)]
Amend f1fddd86

Add defines for HAVE_XCB_XCB_H and HAVE_LIBXCB to cmake build

3 weeks agoCmake build: Add defines for HAVE_XCB_XCB_H and HAVE_LIBXCB
Kornel Benko [Thu, 29 Aug 2024 12:08:39 +0000 (14:08 +0200)]
Cmake build: Add defines for HAVE_XCB_XCB_H and HAVE_LIBXCB

3 weeks agoAdd missing Spanish modifier
Jürgen Spitzmüller [Wed, 28 Aug 2024 07:23:35 +0000 (09:23 +0200)]
Add missing Spanish modifier

3 weeks agoForce a metrics update of buffer after reload
Jean-Marc Lasgouttes [Mon, 26 Aug 2024 22:09:04 +0000 (00:09 +0200)]
Force a metrics update of buffer after reload

It makes reload more robust and is in any case good enough to avoid
crash in #139091.

Fixes bug #13091.

3 weeks agoUpdate it.po
Enrico Forestieri [Mon, 26 Aug 2024 12:29:15 +0000 (14:29 +0200)]
Update it.po

3 weeks agoUpdate sk.po
Kornel Benko [Mon, 26 Aug 2024 10:10:28 +0000 (12:10 +0200)]
Update sk.po

3 weeks agoReset lang_options before reading headers
Juergen Spitzmueller [Mon, 26 Aug 2024 05:35:34 +0000 (07:35 +0200)]
Reset lang_options before reading headers

3 weeks agooutput babel options via \babelprovide in all cases needed
Juergen Spitzmueller [Mon, 26 Aug 2024 05:20:58 +0000 (07:20 +0200)]
output babel options via \babelprovide in all cases needed

3 weeks agoAmend fc605cf138c
Juergen Spitzmueller [Sun, 25 Aug 2024 16:01:26 +0000 (18:01 +0200)]
Amend fc605cf138c

Use proper option if main and a secondary language have BabelProvide 2

3 weeks agoAnother language GUI string improvement
Juergen Spitzmueller [Sun, 25 Aug 2024 14:20:42 +0000 (16:20 +0200)]
Another language GUI string improvement

3 weeks agode.po
Juergen Spitzmueller [Sun, 25 Aug 2024 13:50:30 +0000 (15:50 +0200)]
de.po

3 weeks agoClarify usablity of language support variants in GUI string
Juergen Spitzmueller [Sun, 25 Aug 2024 13:45:18 +0000 (15:45 +0200)]
Clarify usablity of language support variants in GUI string

3 weeks agoFarsi and Arabic need BabelProvide 2, too
Juergen Spitzmueller [Sun, 25 Aug 2024 13:31:14 +0000 (15:31 +0200)]
Farsi and Arabic need BabelProvide 2, too

3 weeks agoProperly set the babel bidi option (#12862)
Juergen Spitzmueller [Sun, 25 Aug 2024 13:21:56 +0000 (15:21 +0200)]
Properly set the babel bidi option (#12862)

3 weeks agoAdd proper support for BabelProvide 2
Juergen Spitzmueller [Sun, 25 Aug 2024 12:56:05 +0000 (14:56 +0200)]
Add proper support for BabelProvide 2

We need to instruct babel not to load an existing ldf in this case

3 weeks agoFix typo
Juergen Spitzmueller [Sun, 25 Aug 2024 12:08:33 +0000 (14:08 +0200)]
Fix typo

3 weeks agode.po
Juergen Spitzmueller [Sun, 25 Aug 2024 12:06:54 +0000 (14:06 +0200)]
de.po

3 weeks agoFix GUI string
Juergen Spitzmueller [Sun, 25 Aug 2024 12:00:44 +0000 (14:00 +0200)]
Fix GUI string

3 weeks agoFix typo in UI file
Juergen Spitzmueller [Sun, 25 Aug 2024 11:39:18 +0000 (13:39 +0200)]
Fix typo in UI file

3 weeks agoUpdate tex2lyx tests
Juergen Spitzmueller [Sun, 25 Aug 2024 11:26:06 +0000 (13:26 +0200)]
Update tex2lyx tests

3 weeks agoAvoid empty option in babelCall
Juergen Spitzmueller [Sun, 25 Aug 2024 11:23:57 +0000 (13:23 +0200)]
Avoid empty option in babelCall

3 weeks agoAdd support for the following languages
Juergen Spitzmueller [Sun, 25 Aug 2024 11:22:07 +0000 (13:22 +0200)]
Add support for the following languages

Polyglossia:
Chinese (Simplified), Chinese (Traditional), Japanese, Kurdish (Sorani),
Latin (Classic), Latin (Ecclesiastic), Latin (Medieval), N'ko, Odia,
Punjabi, and Uyghur

Babel:
Amharic, Armenian, Asturian, Bengali, Church Slavonic, Coptic, Divehi,
Kannada, Kazakh, Khmer, Kurdish (Sorani), Lao, Latin (Classic),
Latin (Ecclesiastic), Latin (Medieval), Malayalam, Marathi, N'ko,
Occitan, Odia, Punjabi, Russian (Petrine orthography), Sanskrit, Syriac,
Tamil, Telugu, Tibetan, Urdu, and Uyghur

3 weeks agoPython 3.13 removed the pipes module from the standard library
José Matos [Sun, 25 Aug 2024 09:14:18 +0000 (10:14 +0100)]
Python 3.13 removed the pipes module from the standard library

That module was a wrapper over the popen module and it was scheduled to
be removed in Python 3.11.

This code is also compatible with Python 2.

3 weeks agoUpdate sk.po
Kornel Benko [Sun, 25 Aug 2024 09:15:01 +0000 (11:15 +0200)]
Update sk.po

3 weeks agoAssure OK/Apply button is initially disabled in InsetParamsDialogs (#8927)
Juergen Spitzmueller [Sun, 25 Aug 2024 08:18:38 +0000 (10:18 +0200)]
Assure OK/Apply button is initially disabled in InsetParamsDialogs (#8927)

3 weeks agoSome more language TODOs
Juergen Spitzmueller [Sun, 25 Aug 2024 08:06:56 +0000 (10:06 +0200)]
Some more language TODOs

Obviously, we can support all languages that have so far only been
provided via polyglossia with babel(provide)

3 weeks agoLoad Ancient Greek and Mexican Spanish via \babelprovide
Juergen Spitzmueller [Sun, 25 Aug 2024 07:48:04 +0000 (09:48 +0200)]
Load Ancient Greek and Mexican Spanish via \babelprovide

In classic babel, these varieties are only available via modifiers
or attributes, which means that they could only be used instead rather
than in addition to the default variety

3 weeks agoBasic support for \babelprovide
Juergen Spitzmueller [Sun, 25 Aug 2024 07:46:29 +0000 (09:46 +0200)]
Basic support for \babelprovide

This is the new(er) babel mechanism to load languages via babel *.ini
files.

Some languages (or varieties) are only supported this way, some work
better with unicode engines this way (for the latter case, we have
BabelProvide 2)