]> git.lyx.org Git - lyx.git/log
lyx.git
3 months agofixup 97cf2b6a: avoid leak
Jean-Marc Lasgouttes [Tue, 27 Feb 2024 17:37:07 +0000 (18:37 +0100)]
fixup 97cf2b6a: avoid leak

3 months agoAvoid crash when inserting macro template in tabular inset
Jean-Marc Lasgouttes [Tue, 27 Feb 2024 17:09:42 +0000 (18:09 +0100)]
Avoid crash when inserting macro template in tabular inset

The issue here is that macro templates are forbidden in InsetTabular
(why? I do not know) and Text::getStatus does not enforce that
properly. Text::insertInset is called and does nothing (because
insertion is forbidden) and yet the cursor is changed to point into
this non existent inset.

Solution:

1/ block insertion of macro templates when not allowed

2/ (additional safety) when insertion of a math macro inset failed, do
   not try to set cursor inside the non-existing inset.

Additionally clarify comments.

3 months agoUpdate of de/Math
Juergen Spitzmueller [Tue, 27 Feb 2024 06:17:47 +0000 (07:17 +0100)]
Update of de/Math

3 months agoMath.lyx: some formatting fixes
Juergen Spitzmueller [Tue, 27 Feb 2024 06:17:31 +0000 (07:17 +0100)]
Math.lyx: some formatting fixes

3 months agoConsider bookauthor in preview
Juergen Spitzmueller [Tue, 27 Feb 2024 04:40:57 +0000 (05:40 +0100)]
Consider bookauthor in preview

Hence, also support the inbook type

3 months agoAmend 8e0bc01d
Thibaut Cuvelier [Mon, 26 Feb 2024 23:45:10 +0000 (00:45 +0100)]
Amend 8e0bc01d

std::set::find only appeared in C++20. Rather use std::set::find for compatibility.

3 months agoctests: invert a utf8x test failing on TL23
Scott Kostyshak [Mon, 26 Feb 2024 16:12:20 +0000 (11:12 -0500)]
ctests: invert a utf8x test failing on TL23

It seems that utf8x is not supported, or needed, on updated TL. From
David Carlisle:

  utf8x by default does nothing now, but as a compromise
  compatibility for some specific existing documents if you
  explicitly load ucs then it and utf8x work as before, but that
  over writes all of latex's default unicode handling and things
  will go wrong. There really isn't much that can be said other than
  don't load the package. The alternative would be to make ucs do
  nothing as well, but that would stop some documents working that
  currently work.

3 months agoDocBook: in a table, fix a typo in a condition.
Thibaut Cuvelier [Mon, 26 Feb 2024 15:09:26 +0000 (16:09 +0100)]
DocBook: in a table, fix a typo in a condition.

Before this patch, all table cells had a semicolon at the beginning of their style:

<td style='; border-bottom:

This unwanted behaviour is only due to a typo in a condition when concatenating two styles: the previous code was checking the second part of the style once the first was output, instead of the first one.

3 months agoDocBook: when a similar tag is present multiple times in the bibliography entry,...
Thibaut Cuvelier [Mon, 26 Feb 2024 15:04:22 +0000 (16:04 +0100)]
DocBook: when a similar tag is present multiple times in the bibliography entry, output it only once.

Other copies have an error message.

3 months agoDocBook: in bibliographies, fix support for editors.
Thibaut Cuvelier [Mon, 26 Feb 2024 14:50:12 +0000 (15:50 +0100)]
DocBook: in bibliographies, fix support for editors.

Also, add TODOs for similar problems lurking around.

3 months agoUse C++11 string literals to make code easier to read.
Thibaut Cuvelier [Mon, 26 Feb 2024 14:24:36 +0000 (15:24 +0100)]
Use C++11 string literals to make code easier to read.

3 months agoDocBook: restore index ranges.
Thibaut Cuvelier [Mon, 26 Feb 2024 14:15:32 +0000 (15:15 +0100)]
DocBook: restore index ranges.

3 months agoDocBook: simplify building an error message.
Thibaut Cuvelier [Mon, 26 Feb 2024 14:09:10 +0000 (15:09 +0100)]
DocBook: simplify building an error message.

3 months agoDocBook: update bibliography handling for 337f9534260.
Thibaut Cuvelier [Mon, 26 Feb 2024 13:36:01 +0000 (14:36 +0100)]
DocBook: update bibliography handling for 337f9534260.

3 months agoUpdate sk.po
Kornel Benko [Mon, 26 Feb 2024 09:46:30 +0000 (10:46 +0100)]
Update sk.po

Wrong shortcut case

3 months ago French Math manual: last update before 2.4.0
jpc [Mon, 26 Feb 2024 09:01:57 +0000 (10:01 +0100)]
      French Math manual: last update before 2.4.0

3 months agoUpdate comment: a function was renamed.
Thibaut Cuvelier [Mon, 26 Feb 2024 01:17:48 +0000 (02:17 +0100)]
Update comment: a function was renamed.

3 months agoConsider biblatex author -> bookauthor mapping in preview
Juergen Spitzmueller [Sun, 25 Feb 2024 07:10:23 +0000 (08:10 +0100)]
Consider biblatex author -> bookauthor mapping in preview

3 months agoupdate tex2lyx tests
Juergen Spitzmueller [Sun, 25 Feb 2024 06:03:06 +0000 (07:03 +0100)]
update tex2lyx tests

in all these cases, though, typographic rather than plain quotes should
be used.

3 months ago French EmbeddedObjects manual: final upadte before 2.4.0
jpc [Sat, 24 Feb 2024 15:10:39 +0000 (16:10 +0100)]
   French EmbeddedObjects manual: final upadte before 2.4.0

3 months agoConsider biblatex subtitles in bibliography preview
Juergen Spitzmueller [Sat, 24 Feb 2024 15:09:47 +0000 (16:09 +0100)]
Consider biblatex subtitles in bibliography preview

3 months agoProperly parse biblatex crossref'ed book titles
Juergen Spitzmueller [Sat, 24 Feb 2024 14:51:35 +0000 (15:51 +0100)]
Properly parse biblatex crossref'ed book titles

3 months agoFix name type parsing
Juergen Spitzmueller [Sat, 24 Feb 2024 14:27:56 +0000 (15:27 +0100)]
Fix name type parsing

3 months agoProperly resolve crossref'ed data in BiblioInfo
Juergen Spitzmueller [Sat, 24 Feb 2024 14:26:41 +0000 (15:26 +0100)]
Properly resolve crossref'ed data in BiblioInfo

This needs to take the mappings into account as well, not just
plain fields.

3 months agotex2lyx: simplify babel shorthands detection
Juergen Spitzmueller [Sat, 24 Feb 2024 09:48:34 +0000 (10:48 +0100)]
tex2lyx: simplify babel shorthands detection

3 months agofix column default of IEEEtran layout
Juergen Spitzmueller [Sat, 24 Feb 2024 07:57:14 +0000 (08:57 +0100)]
fix column default of IEEEtran layout

3 months agotex2lyx: properly import \tikzset
Juergen Spitzmueller [Sat, 24 Feb 2024 07:28:40 +0000 (08:28 +0100)]
tex2lyx: properly import \tikzset

3 months agotex2lyx: consider recently added babel shorthands
Juergen Spitzmueller [Sat, 24 Feb 2024 07:15:40 +0000 (08:15 +0100)]
tex2lyx: consider recently added babel shorthands

3 months ago* ANNOUNCE
Pavel Sanda [Wed, 21 Feb 2024 22:12:12 +0000 (23:12 +0100)]
* ANNOUNCE

3 months ago French UserGuide : final update before 2.4.0
jpc [Wed, 21 Feb 2024 15:51:08 +0000 (16:51 +0100)]
      French UserGuide : final update before 2.4.0

3 months agoctests: categorize #12708 test file as resolved
Scott Kostyshak [Tue, 20 Feb 2024 15:56:04 +0000 (10:56 -0500)]
ctests: categorize #12708 test file as resolved

From Jürgen:

  the bug was fixed in the recent refstyle release:
  https://ctan.org/ctan-ann/id/mailman.6197.1706904970.3764.ctan-ann@ctan.org

4 months agoAdd missing language markup
Juergen Spitzmueller [Sat, 17 Feb 2024 10:17:45 +0000 (11:17 +0100)]
Add missing language markup

4 months agoUpdate it.po
Enrico Forestieri [Sat, 17 Feb 2024 10:05:04 +0000 (11:05 +0100)]
Update it.po

4 months agoUpdate ja.po
Koji Yokota [Thu, 15 Feb 2024 08:56:12 +0000 (17:56 +0900)]
Update ja.po

4 months ago Document accerss to LyX repo in Intro.lyx
jpc [Tue, 13 Feb 2024 15:43:51 +0000 (16:43 +0100)]
     Document accerss to LyX repo in Intro.lyx

4 months ago Update web reference to lyxgit
jpc [Mon, 12 Feb 2024 10:32:00 +0000 (11:32 +0100)]
   Update web reference to lyxgit

4 months ago* cs.po
Pavel Sanda [Mon, 12 Feb 2024 20:23:15 +0000 (21:23 +0100)]
* cs.po

4 months agoUpdate ru.po
Yuriy Skalko [Mon, 12 Feb 2024 18:11:00 +0000 (19:11 +0100)]
Update ru.po

4 months agoRemerge strings.
Richard Kimberly Heck [Mon, 12 Feb 2024 16:11:02 +0000 (11:11 -0500)]
Remerge strings.

4 months ago Document 2.4.0 review
jpc [Mon, 12 Feb 2024 10:17:28 +0000 (11:17 +0100)]
    Document 2.4.0 review

4 months ago Restore alphabetical order in commands
jpc [Mon, 12 Feb 2024 09:53:45 +0000 (10:53 +0100)]
      Restore alphabetical order in commands

4 months agoUpdate GMO files
Richard Kimberly Heck [Sun, 11 Feb 2024 19:20:09 +0000 (14:20 -0500)]
Update GMO files

4 months agoNew Ukranian translation from Yuri.
Richard Kimberly Heck [Sun, 11 Feb 2024 19:19:54 +0000 (14:19 -0500)]
New Ukranian translation from Yuri.

4 months ago Update fr.po
jpc [Sun, 11 Feb 2024 15:57:48 +0000 (16:57 +0100)]
         Update fr.po

4 months ago Update of Customization for 2.4.0
jpc [Sun, 11 Feb 2024 10:10:53 +0000 (11:10 +0100)]
       Update of Customization for 2.4.0

4 months agoMinor cleanup: one import per line
José Matos [Sat, 10 Feb 2024 22:02:13 +0000 (22:02 +0000)]
Minor cleanup: one import per line

4 months agoRemove extra whitespace at the end of line
José Matos [Sat, 10 Feb 2024 22:01:01 +0000 (22:01 +0000)]
Remove extra whitespace at the end of line

4 months agoUpdate sk.po
Kornel Benko [Sat, 10 Feb 2024 09:46:16 +0000 (10:46 +0100)]
Update sk.po

4 months agode.po
Juergen Spitzmueller [Sat, 10 Feb 2024 08:44:50 +0000 (09:44 +0100)]
de.po

4 months agoFix return value. Committed wrong version.
Richard Kimberly Heck [Sat, 10 Feb 2024 01:40:56 +0000 (20:40 -0500)]
Fix return value. Committed wrong version.

4 months agoDo not error out if -geometry is used with QPA_XCB defined.
Richard Kimberly Heck [Sat, 10 Feb 2024 01:33:18 +0000 (20:33 -0500)]
Do not error out if -geometry is used with QPA_XCB defined.

4 months agoBack to devel again
Richard Kimberly Heck [Sat, 10 Feb 2024 01:34:03 +0000 (20:34 -0500)]
Back to devel again

4 months agoRC3 2.4.0-RC3
Richard Kimberly Heck [Sat, 10 Feb 2024 00:57:05 +0000 (19:57 -0500)]
RC3

4 months agoFix display of counters for included listings.
Richard Kimberly Heck [Sat, 10 Feb 2024 00:53:55 +0000 (19:53 -0500)]
Fix display of counters for included listings.

4 months agoAdapt lyxpak.py to work with Python 3 on Windows
Enrico Forestieri [Fri, 9 Feb 2024 21:46:05 +0000 (22:46 +0100)]
Adapt lyxpak.py to work with Python 3 on Windows

Seemingly, the elements of argv on Windows are a different type
with respect to Linux. A patched version of getopt.py has to be
used on Windows in order to match variable types.

4 months ago* ANNOUNCE
Pavel Sanda [Fri, 9 Feb 2024 17:51:12 +0000 (18:51 +0100)]
* ANNOUNCE

4 months agoAmend ad6aa8ba4b9525
Juergen Spitzmueller [Thu, 8 Feb 2024 08:00:57 +0000 (09:00 +0100)]
Amend ad6aa8ba4b9525

Apparently, the cell is not queried in all cases.

4 months agoBack to devel
Richard Kimberly Heck [Mon, 5 Feb 2024 20:45:53 +0000 (15:45 -0500)]
Back to devel

4 months agoRemerge strings.
Richard Kimberly Heck [Mon, 5 Feb 2024 03:02:26 +0000 (22:02 -0500)]
Remerge strings.

4 months agoPrepare for RC2
Richard Kimberly Heck [Mon, 5 Feb 2024 03:01:46 +0000 (22:01 -0500)]
Prepare for RC2

4 months agoDo not error out with too new autoconf/automake
Jean-Marc Lasgouttes [Fri, 2 Feb 2024 07:34:51 +0000 (08:34 +0100)]
Do not error out with too new autoconf/automake

The tests are not useful, since the configure.ac file checks for
minimal version anyway.

4 months ago Update French Customization (step 1) and Customization (typo)
jpc [Thu, 1 Feb 2024 21:17:56 +0000 (22:17 +0100)]
      Update French Customization (step 1) and Customization (typo)

4 months agoAvoid call of lilypond-book as python script if not on Windows
Stephan Witt [Mon, 29 Jan 2024 06:59:48 +0000 (07:59 +0100)]
Avoid call of lilypond-book as python script if not on Windows

4 months agoRestrict caption insertion in tables to where it makes sense (#13037)
Juergen Spitzmueller [Sun, 28 Jan 2024 11:13:27 +0000 (12:13 +0100)]
Restrict caption insertion in tables to where it makes sense (#13037)

This requires to move insetAllowed() to the cell level, as only cells
in the caption row of a longtable actually can take a caption.

4 months ago* configure - pdftoppm is broken on windows.
Pavel Sanda [Sat, 27 Jan 2024 17:30:04 +0000 (18:30 +0100)]
* configure - pdftoppm is broken on windows.

From now we will use it only in case IM coders are really
banned (so for windows we are back at 2.3 conversion chain).

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg221022.html

4 months agoru/UserGuide: adjust for alphadin to alpha change
Yuriy Skalko [Sat, 27 Jan 2024 09:52:20 +0000 (10:52 +0100)]
ru/UserGuide: adjust for alphadin to alpha change

4 months agoAmend previous commit
Scott Kostyshak [Fri, 26 Jan 2024 15:34:06 +0000 (10:34 -0500)]
Amend previous commit

Set the default document output format to PDF (pdflatex), because
the test file fails to export with LuaTeX (in both 2.3.x and master).

This commit amends 6094a56b.

4 months agoAdd export test for #13036
Scott Kostyshak [Fri, 26 Jan 2024 15:18:05 +0000 (10:18 -0500)]
Add export test for #13036

4 months agoAdd export test for #13022
Scott Kostyshak [Fri, 26 Jan 2024 15:13:27 +0000 (10:13 -0500)]
Add export test for #13022

4 months agofixup convert_lineno (#13036)
Juergen Spitzmueller [Fri, 26 Jan 2024 09:30:31 +0000 (10:30 +0100)]
fixup convert_lineno (#13036)

This routine assumed \linenumbers to be preceded by \usepackage{lineno}
and that by a lyx2lyx comment.

Of course, this is not the case if users loaded lineno manually.

4 months agoAmend 37dce940862d40
Juergen Spitzmueller [Fri, 26 Jan 2024 09:16:13 +0000 (10:16 +0100)]
Amend 37dce940862d40

PassThruChars should also be considered

4 months agoAlways use utf-8 in scripts with Python3
Enrico Forestieri [Thu, 25 Jan 2024 09:17:23 +0000 (10:17 +0100)]
Always use utf-8 in scripts with Python3

In order to perform a conversion of graphic format LyX generates
a python script containing the path of the original file to convert.
While Python2 needs the file in the native encoding of the OS, in
Python3 the encoding has to strictly be how announced by the first
line of a script, in our case utf-8.

4 months ago* layouttranslations - he update
Pavel Sanda [Tue, 23 Jan 2024 19:58:47 +0000 (20:58 +0100)]
* layouttranslations - he update

4 months agoInitialize members correctly.
Jean-Marc Lasgouttes [Mon, 22 Jan 2024 10:20:06 +0000 (11:20 +0100)]
Initialize members correctly.

Spotted by coverity.

4 months agoAmend c2fc40ec0
Juergen Spitzmueller [Sun, 21 Jan 2024 14:44:24 +0000 (15:44 +0100)]
Amend c2fc40ec0

4 months agoLyXDocs.bib: a couple of fixes
Juergen Spitzmueller [Sun, 21 Jan 2024 14:22:19 +0000 (15:22 +0100)]
LyXDocs.bib: a couple of fixes

4 months agoQt4 last bits
Pavel Sanda [Sun, 21 Jan 2024 10:37:07 +0000 (11:37 +0100)]
Qt4 last bits

4 months ago* ANNOUNCE
Pavel Sanda [Sat, 20 Jan 2024 20:16:15 +0000 (21:16 +0100)]
* ANNOUNCE

4 months agoDitch alphadin from the distribution
Juergen Spitzmueller [Sat, 20 Jan 2024 14:47:56 +0000 (15:47 +0100)]
Ditch alphadin from the distribution

4 months agoDiscard QT4 from INSTALL.cmake
Kornel Benko [Fri, 19 Jan 2024 10:45:39 +0000 (11:45 +0100)]
Discard QT4 from INSTALL.cmake

4 months agoRestore parent after buffer reload (#13031)
Juergen Spitzmueller [Fri, 19 Jan 2024 08:09:28 +0000 (09:09 +0100)]
Restore parent after buffer reload (#13031)

4 months ago* NEWS
Pavel Sanda [Thu, 18 Jan 2024 20:30:25 +0000 (21:30 +0100)]
* NEWS

4 months ago* RELEASE-NOTES
Pavel Sanda [Thu, 18 Jan 2024 20:29:41 +0000 (21:29 +0100)]
* RELEASE-NOTES

5 months agoFix reference format for propositions.
Richard Kimberly Heck [Wed, 17 Jan 2024 22:21:49 +0000 (17:21 -0500)]
Fix reference format for propositions.

Reported by Andrew Parsloe.

5 months agoOnly strip outer braces in listings options
Juergen Spitzmueller [Wed, 17 Jan 2024 13:45:09 +0000 (14:45 +0100)]
Only strip outer braces in listings options

trim stripped also multiple subsequent braces

5 months agoPrevent crash with statistics while view is busy (#12935)
Juergen Spitzmueller [Tue, 16 Jan 2024 13:14:04 +0000 (14:14 +0100)]
Prevent crash with statistics while view is busy (#12935)

5 months agonl layouttranslation reviewed by Kees.
Pavel Sanda [Sun, 14 Jan 2024 13:18:39 +0000 (14:18 +0100)]
nl layouttranslation reviewed by Kees.

5 months agoFix from Kees.
Pavel Sanda [Sun, 14 Jan 2024 13:17:41 +0000 (14:17 +0100)]
Fix from Kees.

5 months agoRestrict Adv. Search pane to sides and floating (#12982)
Juergen Spitzmueller [Sun, 14 Jan 2024 10:34:05 +0000 (11:34 +0100)]
Restrict Adv. Search pane to sides and floating (#12982)

The horizontal reordering for bottom and top is too broken.

This needs some major investigation (probably for 2.5).

5 months agoAdvFind: fix alignment of checkboxes (#13020)
Juergen Spitzmueller [Sat, 13 Jan 2024 11:20:18 +0000 (12:20 +0100)]
AdvFind: fix alignment of checkboxes (#13020)

5 months agoOnly fix simple search height if there are no other widgets in the dock area (#13005)
Juergen Spitzmueller [Sat, 13 Jan 2024 10:58:35 +0000 (11:58 +0100)]
Only fix simple search height if there are no other widgets in the dock area (#13005)

5 months agoCmake build: Amend 1b5f8f27
Kornel Benko [Sat, 13 Jan 2024 09:49:14 +0000 (10:49 +0100)]
Cmake build: Amend 1b5f8f27

5 months agoFix missing names in contrib
Pavel Sanda [Fri, 12 Jan 2024 22:53:52 +0000 (23:53 +0100)]
Fix missing names in contrib

5 months ago* NEWS
Pavel Sanda [Fri, 12 Jan 2024 22:53:30 +0000 (23:53 +0100)]
* NEWS

5 months ago* ANNOUNCE
Pavel Sanda [Fri, 12 Jan 2024 22:53:10 +0000 (23:53 +0100)]
* ANNOUNCE

5 months agoBack to devel
Richard Kimberly Heck [Fri, 12 Jan 2024 19:23:59 +0000 (14:23 -0500)]
Back to devel

5 months agoctests: move fixed bug test to regression tests
Scott Kostyshak [Fri, 12 Jan 2024 18:03:52 +0000 (13:03 -0500)]
ctests: move fixed bug test to regression tests

The export has been fixed as of 37dce940.

5 months agoDon't add \text<script> wrapper in pass-thru context (#13022)
Juergen Spitzmueller [Fri, 12 Jan 2024 15:27:24 +0000 (16:27 +0100)]
Don't add \text<script> wrapper in pass-thru context (#13022)

5 months agoPass two string parameters as reference
Jean-Marc Lasgouttes [Fri, 12 Jan 2024 15:02:36 +0000 (16:02 +0100)]
Pass two string parameters as reference

Spotted by coverity

5 months agoPass a two parameters parameter by reference
Jean-Marc Lasgouttes [Fri, 12 Jan 2024 14:28:39 +0000 (15:28 +0100)]
Pass a two parameters parameter by reference

Note that there is also a vector parameter that is passed by value.
However it is modified as a local copy and I do not want to change
this now.

Spotted by coverity.