Commit Graph

99 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
e57ccede18 Fix faulty undo recording
The recordUndo() call is very wrong, since we may be inserting over a
selection covering several paragraphs (undo itself works at paragraph
granularity).

recordUndoSelection() is the right operation in this case. It is
equivalent to recordUndo() when there is no selection.

(cherry picked from commit 82f387dabc)
2024-07-18 23:40:39 +02:00
Pavel Sanda
de2970a7d0 * status.24x 2024-07-17 16:06:47 +02:00
Juergen Spitzmueller
f8949079ef Fix crash when attempting to search in selection that contains only math
(cherry picked from commit cca68d0614)
2024-07-15 18:22:13 +02:00
Jean-Marc Lasgouttes
2882bed1ab Add explicit check for EGREP in configure.ac
It is used in lib/Makefile.am and we were relying some autoconf macros
to define it as a side-effect. This is not the case anymore as of
autoconf 2.72.

(cherry picked from commit 31cde72476)
2024-07-15 17:46:07 +02:00
Juergen Spitzmueller
d15f4fe5ec GuiTabular: add missing connections
(cherry picked from commit 2bf3124f25)
2024-07-14 19:09:21 +02:00
Juergen Spitzmueller
070a71a603 document performance fixes 2024-07-05 18:56:59 +02:00
Richard Kimberly Heck
46d1d6e0d3 Remove setBuffer call in Cursor::push.
This is potentially slow. It also should be unnecessary after
some of JMarc's recent commits. See bug #13050.

(cherry picked from commit 66cfc6af3c)
2024-07-05 12:28:40 +02:00
Enrico Forestieri
3581286f12 Update format in lyxrc.dist
(cherry picked from commit 1dd0bf3253)
2024-07-03 21:09:21 +02:00
Enrico Forestieri
94004da71f Avoid bogus warnings when configuring for Qt6
Recent versions of qmake complain loudly when the locale
does not explicitly specify the utf8 codeset. Specifically,
the configure script exports LC_ALL=C and that implies the
ascii codeset. Previously, this was silently changed to utf8,
whereas now we get a warning for each qmake invocation.
So, explicitly set utf8 before calling qmake.
2024-07-03 21:02:51 +02:00
Juergen Spitzmueller
e6a0bfb43d Document fix of #12954 2024-07-03 09:56:25 +02:00
Richard Kimberly Heck
78a26c7954 Begin 2.4.2 development. 2024-07-02 15:38:49 -04:00
Enrico Forestieri
f9692776fb Update it.po 2024-06-28 22:45:02 +02:00
Pavel Sanda
96606d9294 * typo 2024-06-27 20:16:04 +02:00
Richard Kimberly Heck
ef32b6421c Status 2024-06-27 12:41:44 -04:00
Richard Kimberly Heck
7d9a8b00f9 Revert "Add temporary directory to About LyX dialog"
This introduced a new string, which is not for 2.4.1.

This reverts commit 5b51bab39b.
2024-06-25 13:38:58 -04:00
Richard Kimberly Heck
5b51bab39b Add temporary directory to About LyX dialog
(cherry picked from commit e7af6afb01)
2024-06-25 11:33:28 -04:00
Richard Kimberly Heck
ef2bd091d7 More translation status 2024-06-25 10:54:41 -04:00
Richard Kimberly Heck
c88a08ad42 Transation status 2024-06-24 17:10:47 -04:00
Pavel Sanda
5c6672ac15 Add status comment 2024-06-24 22:43:17 +02:00
Juergen Spitzmueller
59648b5d35 \cprotect amendment
\cprotect'ed insets do not need forced local font switch; in fact files
with this break in compilation. E.g. a caption with an URL containing
the char '#' and caption text set to a secondary language.

(cherry picked from commit 8659924abd)
2024-06-22 20:03:56 +02:00
Juergen Spitzmueller
234dc0b6b2 Correct status entry 2024-06-15 19:33:26 +02:00
Richard Kimberly Heck
0c8988f4dd Add status 2024-06-15 13:32:17 -04:00
Juergen Spitzmueller
6b3782e07b Prevent division by zero
Fixes crash reported at
https://marc.info/?l=lyx-users&m=171842978728676

(cherry picked from commit 0fc8ee5ace)
2024-06-15 12:05:48 -04:00
Udi Fogiel
d527a07731 fix a typo 2024-06-10 02:20:25 +03:00
Udi Fogiel
0681b32093 document recent fixes 2024-06-10 02:18:02 +03:00
Richard Kimberly Heck
3c909daeea Merge branch '2.4.x' into 2.4.1-devel 2024-06-09 13:13:12 -04:00
Richard Kimberly Heck
e01397f1db Status 2024-06-07 15:59:38 -04:00
Juergen Spitzmueller
d4bd0f9b1e Strip quotes from PackageOptions. Amends a77c84a0b4
(cherry picked from commit 1449fbf9ae)
2024-06-06 19:00:34 +02:00
Jean-Marc Lasgouttes
13a6be1f9c Do not draw appendix lines below en of document
This bug is pretty old, but it was not visible because the grey area
below the document would overwrite it.

It would be better to close the frame at the end of the document, but
this is for later.

(cherry picked from commit 7acfbe0fcc)
(cherry picked from commit c96d3a0340)
2024-06-06 18:18:02 +02:00
Juergen Spitzmueller
c0df9e193c Show full inset context-menu when clicking on text part of collapsible (#10370)
Re-fix this since #12907 has been resolved

(cherry picked from commit 7a85b1b7ca)
2024-06-03 17:58:09 +02:00
Richard Kimberly Heck
1d7c8325f2 Put new citation after selected item rather than at end of list.
Fixes bug #12940.

Patch from Daniel.

(cherry picked from commit 40ae8644f9)
2024-06-02 20:54:46 -04:00
Richard Kimberly Heck
bf412b1797 One more 2024-06-01 20:24:15 -04:00
Richard Kimberly Heck
bb8989ac77 Status for last few commits 2024-06-01 20:23:08 -04:00
Jean-Marc Lasgouttes
342a0f5438 Fix display of math hull inset in RTL context
The inversion of margin was done in the wrong way for RTL support.

(cherry picked from commit b469c142ad)
2024-06-01 21:47:53 +02:00
Jean-Marc Lasgouttes
2699a58cd7 Set buffer when creating a MathData from parts of another one
This is triggered by selecting part of an equation under Xcb platform
(x11). Indeed, the current selection has to be sent to the X11 server
and BufferView::requestSelection() is called. Eventually
cap::grabSelection() is the function that creates this partial
MathData object.

Fixes ticket #12947.

(cherry picked from commit ed2f3cb9cf)
2024-06-01 18:45:43 +02:00
Juergen Spitzmueller
91e90a7c1c Reset require_fresh_start_ after buffer has been viewed/exported
The LFUN buffer-reset-export states to start afresh the export for the
next run, but in fact, the boolean was never reset, so that this was
done for all subsequent runs unless the buffer had been closed and
reopened.

Now the lfun does what it states and only acts on the next pass.

(cherry picked from commit e1cb15ee5d)
2024-06-01 11:39:04 -04:00
Richard Kimberly Heck
e80fdf38e4 New status file, and status for last commit 2024-05-29 10:49:58 -04:00
Juergen Spitzmueller
091b8a93a8 Update status 2024-05-20 18:01:33 +02:00
Juergen Spitzmueller
fe2e5dcf35 Document NeedCProtect -1 InsetLayout option 2024-05-15 13:58:28 +02:00
Richard Kimberly Heck
965661f07c Status 2024-05-11 13:03:54 -04:00
Jean-Marc Lasgouttes
13a34d6cd1 Set buffer_ correctly when inseting a math macro over a selection
The code that handles this special macro insertion (in
Cursor::mathMacroClose())) is very weird: it inserts the contents of
the macro _after_ the macro and later, since the macro is 'greedy', it
will eat this contents and put it in its first macro cell.

Does it make sense to you? It does not ake sense to me either. Anyway,
this is the point where one should make sure that the buffer is set.

Fixes ticket #12682.

(cherry picked from commit b45a957929)
2024-04-25 20:27:36 +02:00
Jean-Marc Lasgouttes
9b4b05e64e Document biginset branch 2024-04-21 22:26:41 +02:00
Richard Kimberly Heck
e83f91252c Status 2024-04-21 15:56:00 -04:00
Juergen Spitzmueller
64393c7c6e Status update 2024-04-21 09:34:35 +02:00
Juergen Spitzmueller
d21042299f Set cursor font after pasting to PassThru inset (#12592)
(cherry picked from commit 09c72d7c8d)
2024-04-14 08:09:56 +02:00
Juergen Spitzmueller
276a80fccb Document 76dbb9dc4 2024-04-13 07:16:21 +02:00
Pavel Sanda
6dc68a632e * status.24x 2024-04-05 23:15:53 +02:00
Pavel Sanda
a11a4db8b2 * status.24x 2024-04-05 19:45:09 +02:00
Juergen Spitzmueller
3034a150f2 Add status file 2024-04-03 09:35:12 +02:00