]> git.lyx.org Git - lyx.git/log
lyx.git
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.

10 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.

10 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.

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

10 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/

10 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

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

10 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

10 months agoFix detection of private Qt6 headers
Enrico Forestieri [Mon, 28 Aug 2023 09:03:23 +0000 (11:03 +0200)]
Fix detection of private Qt6 headers

The gui-private is a separate module. Private Qt6 GUI headers
are currently used only with the Windows backend. However they
are needed to port to Qt6 all functionality that was depending
on the -extras modules. For example, all code guarded by the
macro HAVE_QT5_X11_EXTRAS has to be audited and properly replaced
by Qt6 code. See for example 771f30e9 and 17b24cf4.

10 months agoFix detection of xcb during configure
Enrico Forestieri [Mon, 28 Aug 2023 08:52:08 +0000 (10:52 +0200)]
Fix detection of xcb during configure

The QT_FEATURE_xcb macro is not in the private headers anymore.
They keep changing APIs...

10 months ago* ec/ca Shortcuts.lyx (en CT on, ca CT accepted)
Pavel Sanda [Sun, 27 Aug 2023 19:51:33 +0000 (21:51 +0200)]
* ec/ca Shortcuts.lyx (en CT on, ca CT accepted)

10 months ago* Shortcuts.lyx - small changes from Daniel, now in CT
Pavel Sanda [Sun, 27 Aug 2023 19:44:01 +0000 (21:44 +0200)]
* Shortcuts.lyx - small changes from Daniel, now in CT

10 months ago Update French Intro.Lyx
jpc [Sun, 27 Aug 2023 09:21:56 +0000 (11:21 +0200)]
     Update French Intro.Lyx

10 months agoUpdate sk.po
Kornel Benko [Sat, 26 Aug 2023 13:23:13 +0000 (15:23 +0200)]
Update sk.po

10 months agolibrary > system, pt. II.
Juergen Spitzmueller [Sat, 26 Aug 2023 10:45:41 +0000 (12:45 +0200)]
library > system, pt. II.

10 months agode.po
Juergen Spitzmueller [Sat, 26 Aug 2023 10:07:33 +0000 (12:07 +0200)]
de.po

10 months agoChange "library directory" to "system directory" (#12709)
Juergen Spitzmueller [Sat, 26 Aug 2023 10:03:20 +0000 (12:03 +0200)]
Change "library directory" to "system directory" (#12709)

10 months agoAdd accelerator
Juergen Spitzmueller [Sat, 26 Aug 2023 09:44:00 +0000 (11:44 +0200)]
Add accelerator

10 months agode.po
Juergen Spitzmueller [Sat, 26 Aug 2023 09:43:29 +0000 (11:43 +0200)]
de.po

10 months agoFix formatting
Juergen Spitzmueller [Sat, 26 Aug 2023 09:29:03 +0000 (11:29 +0200)]
Fix formatting

We use sans serif for widget labels in the docs

10 months agode/UserGuide: update
Juergen Spitzmueller [Sat, 26 Aug 2023 09:28:37 +0000 (11:28 +0200)]
de/UserGuide: update

10 months ago* cs.po
Pavel Sanda [Fri, 25 Aug 2023 20:04:39 +0000 (22:04 +0200)]
* cs.po

10 months agoRemerge cs.po
Pavel Sanda [Fri, 25 Aug 2023 20:02:44 +0000 (22:02 +0200)]
Remerge cs.po

10 months agoPolish formatted reference patch, and add documentation.
Richard Kimberly Heck [Fri, 25 Aug 2023 19:23:43 +0000 (15:23 -0400)]
Polish formatted reference patch, and add documentation.

10 months ago* Intro.lyx from Dan.
Pavel Sanda [Fri, 25 Aug 2023 18:55:21 +0000 (20:55 +0200)]
* Intro.lyx from Dan.

10 months agoFix layouttranslation ES notes
Pavel Sanda [Fri, 25 Aug 2023 16:53:53 +0000 (18:53 +0200)]
Fix layouttranslation ES notes

https://www.mail-archive.com/lyx-docs@lists.lyx.org/msg10124.html

10 months agoRevert UI fix for two digit numbers. It actually does not work.
Pavel Sanda [Fri, 25 Aug 2023 16:52:27 +0000 (18:52 +0200)]
Revert UI fix for two digit numbers. It actually does not work.

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

10 months agoDo not use superscript display for now.
Jean-Marc Lasgouttes [Fri, 25 Aug 2023 15:50:14 +0000 (11:50 -0400)]
Do not use superscript display for now.

There are font issues on some platforms.

10 months agoPolish
Richard Kimberly Heck [Sun, 30 Jul 2023 17:46:20 +0000 (13:46 -0400)]
Polish

10 months agoPut use_formatted_reference code in addToToc instead of updateBuffer
Alexander Dunlap [Sun, 30 Jul 2023 17:32:48 +0000 (13:32 -0400)]
Put use_formatted_reference code in addToToc instead of updateBuffer
to handle forward references.

10 months agoPreview formatted references in the work area.
Richard Kimberly Heck [Sat, 29 Jul 2023 18:07:28 +0000 (14:07 -0400)]
Preview formatted references in the work area.

Patch from Daniel Ramoeller <d.lyx@web.de>, fixed up by RKH.

10 months agoAssign equation numbers in updateBuffer instead of
Alexander Dunlap [Fri, 25 Aug 2023 01:14:53 +0000 (21:14 -0400)]
Assign equation numbers in updateBuffer instead of
addToToc so that they can be used in updateToc to
assign label cross-refs

10 months agoFix bug #12797.
Richard Kimberly Heck [Thu, 27 Jul 2023 23:31:11 +0000 (19:31 -0400)]
Fix bug #12797.

Use plaintext to give some display of equations in TOC.

10 months agoAmend 101363352c111
Juergen Spitzmueller [Thu, 24 Aug 2023 07:56:09 +0000 (09:56 +0200)]
Amend 101363352c111

Instead of just disabling MOUSE_MOTION on inset buttons, we now register
the coordinates where the latest mouse press happens, and if that's on
the inset button we are on when releasing, we toggle the inset.

Thus, minimal unintentional mouse movements don't lead to the button not
to respond.

10 months ago#11921 change default roman (serif) screen font
Stephan Witt [Wed, 23 Aug 2023 19:36:10 +0000 (21:36 +0200)]
#11921 change default roman (serif) screen font

The hard coded LyX default font (Times) doesn't work well on macOS.
The text seems to be shifted slightly upwards.

10 months agoAlow two digit number of remembered files in ui.
Pavel Sanda [Tue, 22 Aug 2023 19:42:50 +0000 (21:42 +0200)]
Alow two digit number of remembered files in ui.

Reported by Dan.

10 months ago* ca/es Welcome.lyx updates by Dan.
Pavel Sanda [Tue, 22 Aug 2023 19:55:48 +0000 (21:55 +0200)]
* ca/es Welcome.lyx updates by Dan.

I accepted all changes as there is no one else to check.

10 months ago* Welcome.lyx - few small fixes by Dan.
Pavel Sanda [Tue, 22 Aug 2023 19:50:46 +0000 (21:50 +0200)]
* Welcome.lyx - few small fixes by Dan.

I agree with the fixes, but let them in CT, so translators can track it.
Before 2.4 we should accept those changes.

10 months agoRevert part of unintended changes in layouttranslations. Still needs review.
Pavel Sanda [Mon, 21 Aug 2023 21:44:21 +0000 (23:44 +0200)]
Revert part of unintended changes in layouttranslations. Still needs review.

10 months agolayouttranslations.review - update the current status
Pavel Sanda [Mon, 21 Aug 2023 21:41:25 +0000 (23:41 +0200)]
layouttranslations.review - update the current status

10 months agoAdd Daniel to credits.
Pavel Sanda [Mon, 21 Aug 2023 20:54:39 +0000 (22:54 +0200)]
Add Daniel to credits.

10 months agoMake Acknowledg(e)ment translations identical.
Pavel Sanda [Mon, 21 Aug 2023 20:49:21 +0000 (22:49 +0200)]
Make Acknowledg(e)ment translations identical.

The Acknowledgement can be probably deleted from layouttranslations altogether now.

10 months agoRegenerate layouttranslations with es/ca updates
Pavel Sanda [Mon, 21 Aug 2023 20:47:48 +0000 (22:47 +0200)]
Regenerate layouttranslations with es/ca updates

10 months ago* ca.po & es.po updates for layouttranslations.
Pavel Sanda [Mon, 21 Aug 2023 20:40:25 +0000 (22:40 +0200)]
* ca.po & es.po updates for layouttranslations.

Reviewed by Daniel Fernandez.

https://www.mail-archive.com/lyx-docs@lists.lyx.org/msg10115.html