]> git.lyx.org Git - lyx.git/log
lyx.git
8 months agoFix compilation of es/Letter standard class
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

8 months agoctests: invert another ca docbook test
Scott Kostyshak [Sat, 23 Sep 2023 16:43:31 +0000 (12:43 -0400)]
ctests: invert another ca docbook test

Perhaps similar to eb920502.

8 months agoUpdate it.po
Enrico Forestieri [Sat, 23 Sep 2023 15:50:25 +0000 (17:50 +0200)]
Update it.po

8 months agoAmend 12e3d46b
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.

8 months agoDo not change font in html text without gui
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.

8 months agoWhen drawing macro names, enforce LtR direction
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.

8 months agoAdapt listings label color for darkmode
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.

8 months agoWhitespace
Pavel Sanda [Tue, 19 Sep 2023 21:52:13 +0000 (23:52 +0200)]
Whitespace

8 months ago+ es/Letter standard class (from Dan)
Pavel Sanda [Tue, 19 Sep 2023 21:47:58 +0000 (23:47 +0200)]
+ es/Letter standard class (from Dan)

8 months ago+ ca/Letter standard class (from Dan)
Pavel Sanda [Tue, 19 Sep 2023 21:41:52 +0000 (23:41 +0200)]
+ ca/Letter standard class (from Dan)

8 months agoTypo
Yuriy Skalko [Mon, 18 Sep 2023 23:10:57 +0000 (01:10 +0200)]
Typo

8 months agoUpdate ru docs
Yuriy Skalko [Mon, 18 Sep 2023 23:05:40 +0000 (01:05 +0200)]
Update ru docs

8 months agoctests: invert test due to acmart issue
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

9 months agoRemove unneeded method
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.

9 months agoPrefer following, not previous, item in selection manager after deletion (#12871)
Juergen Spitzmueller [Mon, 18 Sep 2023 08:02:34 +0000 (10:02 +0200)]
Prefer following, not previous, item in selection manager after deletion (#12871)

9 months agoAmend ac275a66b5
Juergen Spitzmueller [Mon, 18 Sep 2023 07:27:38 +0000 (09:27 +0200)]
Amend ac275a66b5

Set depth correctly in the active branch

9 months agoBit refactoring
Juergen Spitzmueller [Mon, 18 Sep 2023 06:13:23 +0000 (08:13 +0200)]
Bit refactoring

9 months agoSet Box label color to static black.
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

9 months agoGet rid of unnecessary flickering when clicking in outliner
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.

9 months agoFix double-click expansion of outliner
Juergen Spitzmueller [Sun, 17 Sep 2023 14:45:19 +0000 (16:45 +0200)]
Fix double-click expansion of outliner

9 months agoFix readability
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)

9 months agoAmend c8d4b99559ce8
Juergen Spitzmueller [Sun, 17 Sep 2023 12:17:05 +0000 (14:17 +0200)]
Amend c8d4b99559ce8

9 months agoFix change tracking glitch (#12912)
Juergen Spitzmueller [Sat, 16 Sep 2023 11:31:00 +0000 (13:31 +0200)]
Fix change tracking glitch (#12912)

9 months agoFix display of disabled page margins (#12887)
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

9 months agoUpdate links
Juergen Spitzmueller [Sat, 16 Sep 2023 06:53:19 +0000 (08:53 +0200)]
Update links

9 months agoFix brokenBiblio() and fixBiblio() with change tracking (#12909)
Juergen Spitzmueller [Sat, 16 Sep 2023 06:34:43 +0000 (08:34 +0200)]
Fix brokenBiblio() and fixBiblio() with change tracking (#12909)

9 months agoca/es Shortcuts.lyx update from Dan.
Pavel Sanda [Fri, 15 Sep 2023 20:22:12 +0000 (22:22 +0200)]
ca/es Shortcuts.lyx update from Dan.

(ca changes accepted)

9 months ago* Shortcuts.lyx from Dan
Pavel Sanda [Fri, 15 Sep 2023 20:19:17 +0000 (22:19 +0200)]
* Shortcuts.lyx from Dan

9 months agoFix nomencl launching
Juergen Spitzmueller [Fri, 15 Sep 2023 16:04:55 +0000 (18:04 +0200)]
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.

9 months agoOnly split view rather than split and move
Daniel Ramoeller [Wed, 6 Sep 2023 15:47:27 +0000 (17:47 +0200)]
Only split view rather than split and move

Fix for #12893

9 months agoRename shortenIfNeeded first parameter to `max_width'
Jean-Marc Lasgouttes [Tue, 12 Sep 2023 12:17:22 +0000 (14:17 +0200)]
Rename shortenIfNeeded first parameter to `max_width'

The short name `w' was not meaningful.

9 months agoDo not paste deleted text with CT on (#12900)
Juergen Spitzmueller [Thu, 14 Sep 2023 17:26:20 +0000 (19:26 +0200)]
Do not paste deleted text with CT on (#12900)

9 months agoUpdate sk.po
Kornel Benko [Thu, 14 Sep 2023 07:38:33 +0000 (09:38 +0200)]
Update sk.po

9 months agoctests: invert ca/Intro_docbook5
Scott Kostyshak [Thu, 14 Sep 2023 00:33:41 +0000 (20:33 -0400)]
ctests: invert ca/Intro_docbook5

The document was recently added and the underlying DocBook issue has
not been diagnosed yet.

9 months agoRegenerate LFUNs.lyx
Pavel Sanda [Wed, 13 Sep 2023 18:53:47 +0000 (20:53 +0200)]
Regenerate LFUNs.lyx

9 months agoAdd brenyhp to credits
Pavel Sanda [Wed, 13 Sep 2023 18:41:43 +0000 (20:41 +0200)]
Add brenyhp to credits

9 months agoFix result of deleteSpaces()
Juergen Spitzmueller [Wed, 13 Sep 2023 11:31:55 +0000 (13:31 +0200)]
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)

9 months agowhitespace
Juergen Spitzmueller [Wed, 13 Sep 2023 11:21:37 +0000 (13:21 +0200)]
whitespace

9 months agoFix indentation
Juergen Spitzmueller [Tue, 12 Sep 2023 14:39:23 +0000 (16:39 +0200)]
Fix indentation

9 months agoSmall updates to painting analysis document
Jean-Marc Lasgouttes [Sun, 10 Sep 2023 18:24:39 +0000 (20:24 +0200)]
Small updates to painting analysis document

9 months agoFix nullpointer (#12898)
Juergen Spitzmueller [Sun, 10 Sep 2023 12:47:59 +0000 (14:47 +0200)]
Fix nullpointer (#12898)

Also, quit method early if file does not exist

9 months agoHandle bibtex location field syntax file1;file2
Juergen Spitzmueller [Sat, 9 Sep 2023 10:57:51 +0000 (12:57 +0200)]
Handle bibtex location field syntax file1;file2

This is used, for instance, by zotero with the "betterbibtex" exporter

See #12896

9 months agoExample updates for ca and es from Daniel
Juergen Spitzmueller [Sat, 9 Sep 2023 09:01:37 +0000 (11:01 +0200)]
Example updates for ca and es from Daniel

9 months agoOnly create a new view for lyxfiles-open if no view is open (#12894)
Juergen Spitzmueller [Fri, 8 Sep 2023 15:47:47 +0000 (17:47 +0200)]
Only create a new view for lyxfiles-open if no view is open (#12894)

9 months agoRevert "No need (any longer?) to create a new view for lyxfiles-open"
Juergen Spitzmueller [Fri, 8 Sep 2023 14:37:06 +0000 (16:37 +0200)]
Revert "No need (any longer?) to create a new view for lyxfiles-open"

This reverts commit 9f238ca201ef640b47bd413f2d98671404aa173a.

9 months agoNo need (any longer?) to create a new view for lyxfiles-open
Juergen Spitzmueller [Fri, 8 Sep 2023 14:16:01 +0000 (16:16 +0200)]
No need (any longer?) to create a new view for lyxfiles-open

9 months agoHandle multiple files in file and localfile BibTeX field (#12896)
Juergen Spitzmueller [Fri, 8 Sep 2023 12:02:23 +0000 (14:02 +0200)]
Handle multiple files in file and localfile BibTeX field (#12896)

9 months agode.po
Juergen Spitzmueller [Fri, 8 Sep 2023 09:56:29 +0000 (11:56 +0200)]
de.po

9 months agoImprove Open External Target dialog text
Daniel Ramoeller [Fri, 8 Sep 2023 04:35:20 +0000 (06:35 +0200)]
Improve Open External Target dialog text

Fix for #12897

9 months agoFix bug #11497
Daniel Ramoeller [Thu, 7 Sep 2023 02:52:42 +0000 (22:52 -0400)]
Fix bug #11497

9 months agoFix lyx2lyx issue reported on ML
Scott Kostyshak [Wed, 6 Sep 2023 17:05:07 +0000 (13:05 -0400)]
Fix lyx2lyx issue reported on ML

The issue was reported on lyx-users by Chris Menzel [1].

Patch is from José Matos [2].

[1] https://www.mail-archive.com/search?l=mid&q=BD744D7E-54B4-4E95-A4E3-6B28F4987DE1%40gmail.com
[2] https://www.mail-archive.com/search?l=mid&q=c2ac54c2322d24051f171558ad8487ea4f7078ed.camel%40gmail.com

9 months agoUpdate tex2lyx tests
Juergen Spitzmueller [Wed, 6 Sep 2023 06:42:22 +0000 (08:42 +0200)]
Update tex2lyx tests

9 months agoAdd forgotten file formatted change (from 2ad57dcb6b9b5)
Juergen Spitzmueller [Wed, 6 Sep 2023 06:37:43 +0000 (08:37 +0200)]
Add forgotten file formatted change (from 2ad57dcb6b9b5)

This means that lyx2lyx reversion in beta5 is essentially broken
as it ends in a document containing an unknown header

9 months agoTypo fix from Jose
Pavel Sanda [Tue, 5 Sep 2023 18:48:17 +0000 (20:48 +0200)]
Typo fix from Jose

9 months agoWhen splitting a bufferview, keep the scrollbar position
Jean-Marc Lasgouttes [Mon, 4 Sep 2023 09:26:55 +0000 (11:26 +0200)]
When splitting a bufferview, keep the scrollbar position

This is actually better thean making sure that the cursor is visible.

Fixes bug #12689.

9 months agoMore style polishing
Juergen Spitzmueller [Tue, 5 Sep 2023 10:07:05 +0000 (12:07 +0200)]
More style polishing

9 months agoWith Qt6 on linux, we need to catch StyleChange here
Juergen Spitzmueller [Tue, 5 Sep 2023 10:01:17 +0000 (12:01 +0200)]
With Qt6 on linux, we need to catch StyleChange here

9 months agoAlso change pdf module highlighting on the fly on mode change
Juergen Spitzmueller [Tue, 5 Sep 2023 09:48:53 +0000 (11:48 +0200)]
Also change pdf module highlighting on the fly on mode change

9 months agoUpdate highlighting colors in runtime (dark/light) mode change
Juergen Spitzmueller [Tue, 5 Sep 2023 09:14:59 +0000 (11:14 +0200)]
Update highlighting colors in runtime (dark/light) mode change

Until now, this required a restart.

9 months agoStyle only
Juergen Spitzmueller [Tue, 5 Sep 2023 09:13:58 +0000 (11:13 +0200)]
Style only

9 months ago* es/Intro from Dan.
Pavel Sanda [Mon, 4 Sep 2023 21:11:38 +0000 (23:11 +0200)]
* es/Intro from Dan.

9 months agoUpdate footnote.png (foot->Foot)
Pavel Sanda [Mon, 4 Sep 2023 21:07:59 +0000 (23:07 +0200)]
Update footnote.png (foot->Foot)

Patch from Dan.

9 months agoIrrelevant part of #12882 amending 9e8901f997f0b27.
Pavel Sanda [Mon, 4 Sep 2023 20:05:21 +0000 (22:05 +0200)]
Irrelevant part of #12882 amending 9e8901f997f0b27.

Patch from Udi.

9 months agoOutput python version in About dialog.
Pavel Sanda [Mon, 4 Sep 2023 19:50:51 +0000 (21:50 +0200)]
Output python version in About dialog.

Patch from Jose.

9 months ago* Intro.lyx from Dan
Pavel Sanda [Mon, 4 Sep 2023 19:31:35 +0000 (21:31 +0200)]
* Intro.lyx from Dan

9 months agoPut comment where it belongs
Jean-Marc Lasgouttes [Mon, 4 Sep 2023 09:07:34 +0000 (11:07 +0200)]
Put comment where it belongs

9 months agoGuiLyXFiles: make sure language selector is disabled when dialog is reopened
Juergen Spitzmueller [Mon, 4 Sep 2023 05:58:59 +0000 (07:58 +0200)]
GuiLyXFiles: make sure language selector is disabled when dialog is reopened

9 months ago* es/Shortcuts.lyx from Dan.
Pavel Sanda [Sun, 3 Sep 2023 19:07:56 +0000 (21:07 +0200)]
* es/Shortcuts.lyx  from Dan.

9 months agoReview of pt layouttranslation by Jose
Pavel Sanda [Sun, 3 Sep 2023 18:47:36 +0000 (20:47 +0200)]
Review of pt layouttranslation by Jose

9 months agoGuiLyXFiles: fix button controller handling
Juergen Spitzmueller [Sun, 3 Sep 2023 13:09:13 +0000 (15:09 +0200)]
GuiLyXFiles: fix button controller handling

9 months ago Update fr.po
jpc [Sun, 3 Sep 2023 12:56:19 +0000 (14:56 +0200)]
      Update fr.po

9 months agoFix assertion when canceling file dialog
Enrico Forestieri [Sat, 2 Sep 2023 16:13:31 +0000 (18:13 +0200)]
Fix assertion when canceling file dialog

Without this patch, when a file has to be loaded (for example,
after "Document->Settings->Local Class" or "Insert->Graphics")
and the file dialog is canceled, both Qt5 and Qt6 assert:
ASSERT failure in QList::at: "index out of range"

9 months agoCheck whether MathRow exists when computing caret metrics
Jean-Marc Lasgouttes [Sat, 2 Sep 2023 15:15:20 +0000 (17:15 +0200)]
Check whether MathRow exists when computing caret metrics

Fixes bug #12888.

9 months agoImprove caret position when splitting a view
Jean-Marc Lasgouttes [Fri, 1 Sep 2023 17:36:45 +0000 (19:36 +0200)]
Improve caret position when splitting a view

The old code only worked for toplevel cursors and did not show current cursor.
Note that the two windows do not have exactly the same offset.

Fixes bug #12689.

9 months agoUpdate sk.po
Kornel Benko [Sat, 2 Sep 2023 13:48:26 +0000 (15:48 +0200)]
Update sk.po

9 months agoUpdate it.po
Enrico Forestieri [Sat, 2 Sep 2023 13:42:44 +0000 (15:42 +0200)]
Update it.po

9 months agode.po
Juergen Spitzmueller [Sat, 2 Sep 2023 13:23:26 +0000 (15:23 +0200)]
de.po

9 months agoUpdate it.po
Enrico Forestieri [Sat, 2 Sep 2023 13:13:48 +0000 (15:13 +0200)]
Update it.po

9 months agoRemove redundant code and clarify strings
Juergen Spitzmueller [Sat, 2 Sep 2023 12:28:33 +0000 (14:28 +0200)]
Remove redundant code and clarify strings

9 months ago* es Welcome.lyx from Daniel
Pavel Sanda [Fri, 1 Sep 2023 18:51:27 +0000 (20:51 +0200)]
* es Welcome.lyx from Daniel

9 months ago* ca/Intro.lyx from Daniel
Pavel Sanda [Fri, 1 Sep 2023 18:47:25 +0000 (20:47 +0200)]
* ca/Intro.lyx from Daniel

9 months ago* doc/Intro.lyx from Daniel
Pavel Sanda [Fri, 1 Sep 2023 18:42:28 +0000 (20:42 +0200)]
*  doc/Intro.lyx from Daniel

9 months agoForgot to add ca/Shortcuts.lyx into distribution
Pavel Sanda [Fri, 1 Sep 2023 18:34:56 +0000 (20:34 +0200)]
Forgot to add ca/Shortcuts.lyx into distribution

9 months ago* cs.po
Pavel Sanda [Fri, 1 Sep 2023 18:33:01 +0000 (20:33 +0200)]
* cs.po

9 months agoremerge cs.po
Pavel Sanda [Fri, 1 Sep 2023 16:29:00 +0000 (18:29 +0200)]
remerge cs.po

9 months agoremerge he.po
Pavel Sanda [Fri, 1 Sep 2023 16:25:30 +0000 (18:25 +0200)]
remerge he.po

9 months agoAdd _v_() debug helper maco
Jean-Marc Lasgouttes [Thu, 31 Aug 2023 10:54:53 +0000 (12:54 +0200)]
Add _v_() debug helper maco

This can be used with streams.
  LYXERR0(_v_(var))
leads to the message
 "var=<value of var>"

9 months agoUpdate sk.po
Kornel Benko [Wed, 30 Aug 2023 19:45:06 +0000 (21:45 +0200)]
Update sk.po

9 months ago Update fr.po
jpc [Wed, 30 Aug 2023 16:16:51 +0000 (18:16 +0200)]
      Update fr.po

9 months agode.po
Juergen Spitzmueller [Wed, 30 Aug 2023 13:49:47 +0000 (15:49 +0200)]
de.po

9 months agoDoc additions by Pavel
Juergen Spitzmueller [Wed, 30 Aug 2023 13:40:16 +0000 (15:40 +0200)]
Doc additions by Pavel

9 months agoImprove CITATION_OPEN
Juergen Spitzmueller [Wed, 30 Aug 2023 13:30:29 +0000 (15:30 +0200)]
Improve CITATION_OPEN

* The lyxpaperview script now only provides the paths and let us do the opening
* We use our own viewers for local files rather than QDesktopServices

Plus several minor improvements and code cleanup

9 months agoUpdate caret if needed when changing depth
Jean-Marc Lasgouttes [Wed, 30 Aug 2023 11:45:00 +0000 (13:45 +0200)]
Update caret if needed when changing depth

Fixes bug #12856.

9 months agoUse correct cursor when creating undo group
Jean-Marc Lasgouttes [Tue, 29 Aug 2023 15:23:22 +0000 (17:23 +0200)]
Use correct cursor when creating undo group

This affects where cursor will be after undo. In this case, we want
obviously the 'old' cursor.

Fixes bug #12874.

9 months agoAdd message dialog to LFUN_CITATION_OPEN chain
Juergen Spitzmueller [Tue, 29 Aug 2023 12:43:59 +0000 (14:43 +0200)]
Add message dialog to LFUN_CITATION_OPEN chain

This addresses security concerns.

9 months agoRemove absolute path
Juergen Spitzmueller [Tue, 29 Aug 2023 08:45:23 +0000 (10:45 +0200)]
Remove absolute path

9 months agode/Shortcuts: sync with the changes in en/
Juergen Spitzmueller [Tue, 29 Aug 2023 08:41:16 +0000 (10:41 +0200)]
de/Shortcuts: sync with the changes in en/

9 months agoBack to development, hopefully with RC1 next
Richard Kimberly Heck [Tue, 29 Aug 2023 00:57:46 +0000 (20:57 -0400)]
Back to development, hopefully with RC1 next

9 months agoBeta 4
Richard Kimberly Heck [Thu, 24 Aug 2023 14:57:18 +0000 (10:57 -0400)]
Beta 4

9 months ago* ca/Shortcuts.lyx - remove notes
Pavel Sanda [Mon, 28 Aug 2023 19:17:53 +0000 (21:17 +0200)]
* ca/Shortcuts.lyx - remove notes