]> git.lyx.org Git - lyx.git/log
lyx.git
2 months agode.po
Juergen Spitzmueller [Mon, 3 Jun 2024 16:11:41 +0000 (18:11 +0200)]
de.po

2 months agoRevert "Update layouts"
Scott Kostyshak [Mon, 3 Jun 2024 14:37:02 +0000 (10:37 -0400)]
Revert "Update layouts"

This reverts commit 7c041af6425001d7779f5e44d72918d8591ea37d.

We will hold this back until we fix the issue discussed here:

  https://marc.info/?l=lyx-devel&m=171733833610242&w=2

2 months agoShow full inset context-menu when clicking on text part of collapsible (#10370)
Juergen Spitzmueller [Mon, 3 Jun 2024 14:10:17 +0000 (16:10 +0200)]
Show full inset context-menu when clicking on text part of collapsible (#10370)

Re-fix this since #12907 has been resolved

2 months agoUpdate sk.po
Kornel Benko [Mon, 3 Jun 2024 07:00:44 +0000 (09:00 +0200)]
Update sk.po

2 months agoAdv. F&R: strange dialog text
Kornel Benko [Mon, 3 Jun 2024 06:13:28 +0000 (08:13 +0200)]
Adv. F&R: strange dialog text

Fixes #12997
Added 'Scope' to better indicate the searched area.

2 months agoFix bug #13066
Richard Kimberly Heck [Mon, 3 Jun 2024 03:06:11 +0000 (23:06 -0400)]
Fix bug #13066

Patch from Lorenzo

2 months agoFix table crash reported on Windows.
Richard Kimberly Heck [Sun, 2 Jun 2024 18:12:23 +0000 (14:12 -0400)]
Fix table crash reported on Windows.

2 months agoUpdate layouts
Scott Kostyshak [Mon, 3 Jun 2024 02:52:37 +0000 (22:52 -0400)]
Update layouts

2 months agoWhitespace
Scott Kostyshak [Mon, 3 Jun 2024 02:52:18 +0000 (22:52 -0400)]
Whitespace

2 months agoSupport half und full line parskip class options (#12946)
Juergen Spitzmueller [Sun, 2 Jun 2024 09:41:54 +0000 (11:41 +0200)]
Support half und full line parskip class options (#12946)

Currently only employed by the KOMA classes.

Layout format change.

2 months agoPut new citation after selected item rather than at end of list.
Richard Kimberly Heck [Sun, 2 Jun 2024 00:25:20 +0000 (20:25 -0400)]
Put new citation after selected item rather than at end of list.

Fixes bug #12940.

Patch from Daniel.

2 months agoExtend tab context menu features
Daniel Ramoeller [Sat, 27 Feb 2021 06:05:54 +0000 (07:05 +0100)]
Extend tab context menu features

Add

- Close Other Tabs
- Close Tabs to Left/Right
- Move Tab to Start/End
- Show Enclosing Folder

to the tabs context menus.

Fix for bug #11963

2 months agoFix bug #12934
Richard Kimberly Heck [Sat, 1 Jun 2024 17:05:12 +0000 (13:05 -0400)]
Fix bug #12934

2 months agoFix bug #11796.
Richard Kimberly Heck [Sat, 1 Jun 2024 16:43:56 +0000 (12:43 -0400)]
Fix bug #11796.

Toolbars are now locked by default. Unlocked state should be saved
by Qt as a session variable.

Patch from Daniel.

2 months agoFix bug #8856.
Richard Kimberly Heck [Sat, 1 Jun 2024 16:36:00 +0000 (12:36 -0400)]
Fix bug #8856.

Show values of cross-references in tooltips.

2 months agoRemove setBuffer call in Cursor::push.
Richard Kimberly Heck [Sat, 1 Jun 2024 16:06:13 +0000 (12:06 -0400)]
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.

2 months agoFix bug #12981
Richard Kimberly Heck [Sat, 1 Jun 2024 15:52:05 +0000 (11:52 -0400)]
Fix bug #12981

2 months agoFix bug #12981
Richard Kimberly Heck [Tue, 28 Nov 2023 02:49:43 +0000 (21:49 -0500)]
Fix bug #12981

2 months agoupdate tex2lyx tests
Juergen Spitzmueller [Sat, 1 Jun 2024 11:50:41 +0000 (13:50 +0200)]
update tex2lyx tests

2 months agoAdd support for glue length in parskip (#12867)
Juergen Spitzmueller [Sat, 1 Jun 2024 11:47:39 +0000 (13:47 +0200)]
Add support for glue length in parskip (#12867)

2 months agoReset require_fresh_start_ after buffer has been viewed/exported
Juergen Spitzmueller [Sat, 1 Jun 2024 07:06:44 +0000 (09:06 +0200)]
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.

2 months agoAmend 6c3447c8: FindAdv: sometimes a space is added on some math symbols
Kornel Benko [Fri, 31 May 2024 07:15:59 +0000 (09:15 +0200)]
Amend 6c3447c8: FindAdv: sometimes a space is added on some math symbols

Restrict the removing to math insets

2 months agoFindAdv: sometimes a space is added on some math symbols
Kornel Benko [Wed, 29 May 2024 12:09:20 +0000 (14:09 +0200)]
FindAdv: sometimes a space is added on some math symbols

For example '\int '.
Should fix regression #13070
Spotted  by Alexander Dunlap

(cherry picked from commit 4730ec78f544b6fd51defd063e52955554b14e89)

2 months agoWininstaller Qt6.7 changed file name
Eugene Chornyi [Sun, 26 May 2024 07:35:10 +0000 (09:35 +0200)]
Wininstaller Qt6.7 changed file name

2 months agoCmake build: Initialize variable 'CMAKE_INSTALL_PREFIX' before use
Kornel Benko [Fri, 24 May 2024 18:26:04 +0000 (20:26 +0200)]
Cmake build: Initialize variable 'CMAKE_INSTALL_PREFIX' before use

Spotted by Eugene Chornyi <yu_jin@lyx.org>

(cherry picked from commit ea74574d8f02481732b591306410e3c49faae87d)

2 months agoInsetNote: pass on inset-modify lfuns addressed at other insets (#13068)
Juergen Spitzmueller [Fri, 24 May 2024 12:19:18 +0000 (14:19 +0200)]
InsetNote: pass on inset-modify lfuns addressed at other insets (#13068)

2 months agoXHTML: in InsetGraphics, use the bounding box that LyX computes for each image instea...
Thibaut Cuvelier [Mon, 20 May 2024 14:59:46 +0000 (16:59 +0200)]
XHTML: in InsetGraphics, use the bounding box that LyX computes for each image instead of using the scale.

2 months agoctests: keep a DocBook test inverted for test file
Scott Kostyshak [Mon, 20 May 2024 14:19:15 +0000 (10:19 -0400)]
ctests: keep a DocBook test inverted for test file

DocBook is not currently expected to work with Beamer.

2 months agoctests: mark a fixed export test as fixed
Scott Kostyshak [Mon, 20 May 2024 14:01:30 +0000 (10:01 -0400)]
ctests: mark a fixed export test as fixed

The ed62816e test file was fixed at 6ef18c35.

2 months agoUpdate aastex63.layout according to https://journals.aas.org/aastexguide/#acknowledgments
Juergen Spitzmueller [Mon, 20 May 2024 14:10:23 +0000 (16:10 +0200)]
Update aastex63.layout according to https://journals.aas.org/aastexguide/#acknowledgments

2 months agoAddress Qt 6.7 deprecation warning
Juergen Spitzmueller [Mon, 20 May 2024 07:49:10 +0000 (09:49 +0200)]
Address Qt 6.7 deprecation warning

2 months agoInitialize is_long_tabular before updateIndexes() (which employs it)
Juergen Spitzmueller [Mon, 20 May 2024 06:50:39 +0000 (08:50 +0200)]
Initialize is_long_tabular before updateIndexes() (which employs it)

2 months agoLimit the nopassthurchars case in beamer to URL
Juergen Spitzmueller [Mon, 20 May 2024 06:26:03 +0000 (08:26 +0200)]
Limit the nopassthurchars case in beamer to URL

and also generally extend to classes that provide hyperref

2 months agoXHTML: export paragraph IDs also for list items, but not for the opening tag of the...
Thibaut Cuvelier [Mon, 20 May 2024 01:21:00 +0000 (03:21 +0200)]
XHTML: export paragraph IDs also for list items, but not for the opening tag of the list.

The IDs are used to link to specific elements (for instance, the User's guide nomenclature).

The beginning of the list (<ul> or <ol>) has the same magic ID as the first item of the list.

2 months agoXHTML: fix typo in comment.
Thibaut Cuvelier [Mon, 20 May 2024 01:11:41 +0000 (03:11 +0200)]
XHTML: fix typo in comment.

2 months agoInsetGraphics: use the `scale` CSS property instead of `width` with percentages.
Thibaut Cuvelier [Sun, 19 May 2024 23:09:43 +0000 (01:09 +0200)]
InsetGraphics: use the `scale` CSS property instead of `width` with percentages.

The effect is closer to what LyX offers. Previously, the percentage was of the HTML container (often, the whole page), meaning that images were oversized. Now, the scale is respected in the same way as LyX, but its bounding box is off. Overall, the result is better, but not what users expect.

2 months agoReturn a reference, not a copy.
Richard Kimberly Heck [Sun, 19 May 2024 20:55:48 +0000 (16:55 -0400)]
Return a reference, not a copy.

Stupid mistake from 2009. Thanks to Scott and JMarc for tracking
it down.

2 months agoctests: automatically invert more lyxbugs files
Scott Kostyshak [Sun, 19 May 2024 16:23:25 +0000 (12:23 -0400)]
ctests: automatically invert more lyxbugs files

Only files in the directory with a trac number prefixed were
inverted.

Now files with a Git short hash (length 7 or 8) are additionally
inverted.

2 months agoTest file with knitr chunk in beamer
Scott Kostyshak [Sun, 19 May 2024 15:27:11 +0000 (11:27 -0400)]
Test file with knitr chunk in beamer

This file fails to compile starting with ed62816e.

2 months agoInsetInfo: no need to output + explicitly in a shortcut, it is already contained...
Thibaut Cuvelier [Sat, 18 May 2024 17:41:44 +0000 (19:41 +0200)]
InsetInfo: no need to output + explicitly in a shortcut, it is already contained in the sequence.

2 months agoMake comment clearer.
Thibaut Cuvelier [Sat, 18 May 2024 17:38:52 +0000 (19:38 +0200)]
Make comment clearer.

2 months agoCmake build: Set LYX_DATA_SUBDIR in cache unconditionaly
Kornel Benko [Sat, 18 May 2024 08:27:54 +0000 (10:27 +0200)]
Cmake build: Set LYX_DATA_SUBDIR in cache unconditionaly

The value is wrong if CMakeCache.txt already exists and the version is
changed inside configure.ac in AC_INIT()

2 months agoComment typo
Scott Kostyshak [Fri, 17 May 2024 16:18:09 +0000 (12:18 -0400)]
Comment typo

2 months agoFix up a4d9315b: handle metrics of not visible paragraphs
Jean-Marc Lasgouttes [Fri, 17 May 2024 13:42:08 +0000 (15:42 +0200)]
Fix up a4d9315b: handle metrics of not visible paragraphs

The code is not ready for situations where some paragraphs that are
not visible have metrics available. This has been made visible by
a4d9315b, which removes a couple of full metrics updates: the screen
was not correctly scrolled after a scrollToCursor() call.

In PararagraphMetrics, some methods are added to be able to handle the
fact that paragraphs have or do not have a position.

In TextMetrics, a new method returns the first visible paragraph.

Finally, in BufferView::updateMetrics, the paragraphs' positions are
reset (in the case where everything is not cleared) and some care is
taken to skip the ones that are not relevant.

The assumption outside of this method is that all the paragraphs that
are in the TextMetrics are visible (we are talking about top-level
TextMetrics here). This could be changed (in order to avoid
recomputing paragraph metrics), but the cost is high in terms of
complexity and it is not clear that the gain in terms of performance
would be important.

2 months agoUpdate sk.po
Kornel Benko [Fri, 17 May 2024 10:09:37 +0000 (12:09 +0200)]
Update sk.po

2 months agoFix display of math hull inset in RTL context
Jean-Marc Lasgouttes [Thu, 16 May 2024 12:56:28 +0000 (14:56 +0200)]
Fix display of math hull inset in RTL context

The inversion of margin was done in the wrong way for RTL support.

2 months agoAmend 207eaeee9071cb
Juergen Spitzmueller [Thu, 16 May 2024 05:33:29 +0000 (07:33 +0200)]
Amend 207eaeee9071cb

The upstream encoding needs to be updated after this routine
(see comment in OutputParams.h:183ff.)

3 months agomumble
Juergen Spitzmueller [Wed, 15 May 2024 16:36:47 +0000 (18:36 +0200)]
mumble

3 months ago# and % need to be escaped in hyperref URL as well
Juergen Spitzmueller [Wed, 15 May 2024 11:15:08 +0000 (13:15 +0200)]
# and % need to be escaped in hyperref URL as well

Also fix some lyx2lyx glitches

This hopefully fixes the test issues.

3 months agoUpdate tex2lyx tests
Scott Kostyshak [Wed, 15 May 2024 04:27:27 +0000 (00:27 -0400)]
Update tex2lyx tests

Needed after the file format change.

3 months agoAmend a716fb96b53447
Juergen Spitzmueller [Tue, 14 May 2024 11:54:00 +0000 (13:54 +0200)]
Amend a716fb96b53447

3 months agoDocument a716fb96b53447
Juergen Spitzmueller [Tue, 14 May 2024 11:38:16 +0000 (13:38 +0200)]
Document a716fb96b53447

3 months agoNeedCProtect -1 also for InsetLayouts
Juergen Spitzmueller [Tue, 14 May 2024 11:37:29 +0000 (13:37 +0200)]
NeedCProtect -1 also for InsetLayouts

3 months agoRevert false chunk
Juergen Spitzmueller [Tue, 14 May 2024 11:21:55 +0000 (13:21 +0200)]
Revert false chunk

3 months agoWhitespace
Juergen Spitzmueller [Tue, 14 May 2024 11:18:05 +0000 (13:18 +0200)]
Whitespace

3 months agoFix comment
Juergen Spitzmueller [Mon, 13 May 2024 08:26:45 +0000 (10:26 +0200)]
Fix comment

3 months agoProperly escape backslash in URLs with hyperref (#13012)
Juergen Spitzmueller [Mon, 13 May 2024 07:17:30 +0000 (09:17 +0200)]
Properly escape backslash in URLs with hyperref (#13012)

3 months agoHandle URL escaping in beamer frames
Juergen Spitzmueller [Mon, 13 May 2024 05:26:41 +0000 (07:26 +0200)]
Handle URL escaping in beamer frames

File format change -- this introduces the first LyX 2.5 format and
hence sets up the lyx2lyx machinery

3 months agoAmend 207eaeee9071cb
Juergen Spitzmueller [Sun, 12 May 2024 06:52:09 +0000 (08:52 +0200)]
Amend 207eaeee9071cb

FragileFrame, as opposed to normal frame, supports cprotect (and needs
it in the usual circumstances)

3 months agoDocument 207eaeee9071cb
Juergen Spitzmueller [Sun, 12 May 2024 05:54:04 +0000 (07:54 +0200)]
Document 207eaeee9071cb

3 months agoIntroduce NeedCProtect -1 layout option
Juergen Spitzmueller [Sun, 12 May 2024 05:52:16 +0000 (07:52 +0200)]
Introduce NeedCProtect -1 layout option

It turns out beamer frame does not allow \cprotect and errors if it is
used. Hence we need to prevent it in this context entirely.

3 months agoConsider CT in dash mechanism (#13062)
Juergen Spitzmueller [Sat, 11 May 2024 11:07:32 +0000 (13:07 +0200)]
Consider CT in dash mechanism (#13062)

3 months agoone less place where metrics have to be recomputed
Jean-Marc Lasgouttes [Thu, 9 May 2024 09:50:18 +0000 (11:50 +0200)]
one less place where metrics have to be recomputed

3 months agotypo
Jean-Marc Lasgouttes [Thu, 9 May 2024 09:45:55 +0000 (11:45 +0200)]
typo

3 months agoFixup 527984ed: fix initial screen size when using backing store
Jean-Marc Lasgouttes [Tue, 7 May 2024 10:01:34 +0000 (12:01 +0200)]
Fixup 527984ed: fix initial screen size when using backing store

When using a back store, it is obviously important to resize it
whenever the buffer view is resized. The new code path added in
527984ed skipped this part, so that the window was wrong when creating
a new window.

3 months agoFix up 5577e877: remove logic error
Jean-Marc Lasgouttes [Fri, 3 May 2024 12:28:30 +0000 (14:28 +0200)]
Fix up 5577e877: remove logic error

Commit 5577e877 introduces forceUpdateBuffer() to delay actual
updatBuffer() calls to a central place.

In Cursor::upDownInText, the updateNeeded flag (which triggers
Update::Force update flag) is set to true when Cursor::checkDepm
returns true. This is fine, except that checkDepm also leads to a
forceBufferUpdate() call.

The logic in the method was such that, when updateNeeded is already
true when entering, forceBufferUpdate() will be called even though
checkDepm did not request it.

Fixes a slight delay with selecting in MergedManual (the manual of
manuals).

3 months agoFixup 2660df9b99b80: missing stuff after moving Lexer to support/
Jean-Marc Lasgouttes [Wed, 1 May 2024 14:54:10 +0000 (16:54 +0200)]
Fixup 2660df9b99b80: missing stuff after moving Lexer to support/

3 months agoAvoid full metrics computation with Update:FitCursor
Jean-Marc Lasgouttes [Tue, 30 Apr 2024 13:02:16 +0000 (15:02 +0200)]
Avoid full metrics computation with Update:FitCursor

The handling of Update::FitCursor traditionnally recomputes all
metrics once or twice. Now that updateMetrics(false) ensures that all
paragraphs that require it have a metrics, we might as well use that.

Take this occasion to move handling of Update::SinglePar earlier,
before the check for Update::ForceDraw.

3 months agoFix up 'Reduce metrics updates from 4 to 1 when loading file'
Jean-Marc Lasgouttes [Mon, 29 Apr 2024 12:22:57 +0000 (14:22 +0200)]
Fix up 'Reduce metrics updates from 4 to 1 when loading file'

The missing metrics computation meant that, when loading a file, the
workarea would not be scrolled correctly to show the cursor.

The resizeBufferView does not create an additional metrics
computation, it just triggers it earlier.

3 months agoCMake: adapt to new location of Lexer
Scott Kostyshak [Sun, 28 Apr 2024 13:13:55 +0000 (09:13 -0400)]
CMake: adapt to new location of Lexer

Lexer is now in support/. See 2660df9b.

3 months agoRemove unused #include
Jean-Marc Lasgouttes [Sun, 28 Apr 2024 10:33:33 +0000 (12:33 +0200)]
Remove unused #include

3 months agoMove Lexer to support/ directory (and lyx::support namespace)
Jean-Marc Lasgouttes [Sat, 27 Apr 2024 22:24:46 +0000 (00:24 +0200)]
Move Lexer to support/ directory (and lyx::support namespace)

This requires quite a bit of trivial code shuffling.

3 months agoSet buffer when creating a MathData from parts of another one
Jean-Marc Lasgouttes [Thu, 25 Apr 2024 15:13:15 +0000 (17:13 +0200)]
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.

3 months agoSet buffer_ correctly when inseting a math macro over a selection
Jean-Marc Lasgouttes [Thu, 25 Apr 2024 12:28:10 +0000 (14:28 +0200)]
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.

3 months agotypo
Jean-Marc Lasgouttes [Thu, 25 Apr 2024 12:27:22 +0000 (14:27 +0200)]
typo

3 months agoAutotools: optimize with -Og when debugging
Jean-Marc Lasgouttes [Thu, 25 Apr 2024 10:30:48 +0000 (12:30 +0200)]
Autotools: optimize with -Og when debugging

When debug (-g) is enabled (default when compiling a development
version), the existing -O optimization level is not correct, since
many variables are optimized out when debugging.

Use -Og instead, and condition not on compiling a development version,
but on --enable-debug. This is the same by default, but it more
precise in our case.

3 months agoForce a Buffer * argument to math insets constructor
Jean-Marc Lasgouttes [Wed, 24 Apr 2024 13:07:15 +0000 (15:07 +0200)]
Force a Buffer * argument to math insets constructor

Make sure that math insets have a proper buffer. To this end, make the
Buffer* parameter of InsetMath mandatory and fix the compilation
errors that ensue.

3 months agoForce a Buffer * argument to MathData constructor
Jean-Marc Lasgouttes [Wed, 24 Apr 2024 10:04:23 +0000 (12:04 +0200)]
Force a Buffer * argument to MathData constructor

In order to ensure that MathData objects have a valid buffer, the
default MathData() constructor is deleted. This means that a buffer
shall be specified for each MathData object created.

This is fairly mechanical, actually. In particular, in most
InsetMathXxx cases, in MathData and in MathParser, the available
buffer_ member is used.

More specific cases:
- lyxfind.cpp takes the buffer from the Cursor

- calls to vector<MathData>::resize take an additional
  MathData(buffer_) parameter. There are cases where resize actually
  remove cells, and in this case clear() or even erase() have been
  used.

- in InsetMathMacroTemplate, the optional parameters of the
  constructors cannot be allowed anymore (a default value cannot
  depend on another parameter). Therefore there a now two constructors
  instead.

- in MathAutoCorrect.cpp, the MathData objects are not bound to a
  buffer, so that std::nullptr is used instead.

- in MathExtern, use a buffer when one is specified, std::nulptr
  instead.

3 months agoTry to make sure that math insets have a properly set buffer_ member
Jean-Marc Lasgouttes [Fri, 14 Oct 2022 20:42:21 +0000 (22:42 +0200)]
Try to make sure that math insets have a properly set buffer_ member

Set the buffer of contents that is added to a MathData object through
MathData::insert() (both versions)
MathData::push_back()
asArray()

Also in math macros, initialize look_ with the relevant buffer.

This reduces the number of insets hat do not have a proper buffer.

See #13050 for discussion of this issue.

3 months ago* metainfo.xml - homepage missing
Pavel Sanda [Sun, 21 Apr 2024 01:49:12 +0000 (03:49 +0200)]
* metainfo.xml - homepage missing

3 months agoWhitespace
Scott Kostyshak [Sat, 20 Apr 2024 18:22:07 +0000 (14:22 -0400)]
Whitespace

3 months agoUpdate sk.po
Kornel Benko [Sat, 20 Apr 2024 18:06:27 +0000 (20:06 +0200)]
Update sk.po

3 months agoCmake install: Forgotten to install tabletemplates.
Kornel Benko [Sat, 20 Apr 2024 17:33:25 +0000 (19:33 +0200)]
Cmake install: Forgotten to install tabletemplates.

3 months agode.po
Juergen Spitzmueller [Sat, 20 Apr 2024 15:06:00 +0000 (17:06 +0200)]
de.po

3 months agode.po
Juergen Spitzmueller [Sat, 20 Apr 2024 14:59:17 +0000 (16:59 +0200)]
de.po

3 months agoHandle the case of outdated chkconfig.ltx in user directory
Juergen Spitzmueller [Sat, 20 Apr 2024 12:57:12 +0000 (14:57 +0200)]
Handle the case of outdated chkconfig.ltx in user directory

3 months ago*UG - Add hint from users list
Pavel Sanda [Fri, 19 Apr 2024 22:24:44 +0000 (00:24 +0200)]
*UG - Add hint from users list

3 months agoSmall change
Jean-Marc Lasgouttes [Fri, 19 Apr 2024 16:21:26 +0000 (18:21 +0200)]
Small change

3 months agoSmall change
Jeân-Marc Lâsgöuttes [Fri, 19 Apr 2024 15:51:29 +0000 (17:51 +0200)]
Small change

3 months agosmall change
Jean-Marc Lasgouttes [Fri, 19 Apr 2024 15:24:10 +0000 (17:24 +0200)]
small change

3 months agosmall change
Jean-Marc Lasgouttes [Fri, 19 Apr 2024 15:16:00 +0000 (17:16 +0200)]
small change

3 months agoSet Buffer for MathData when creating macro view
Richard Kimberly Heck [Thu, 18 Apr 2024 22:22:52 +0000 (18:22 -0400)]
Set Buffer for MathData when creating macro view

3 months agoLittle bit more debug info for unset Buffer members.
Richard Kimberly Heck [Thu, 18 Apr 2024 20:03:14 +0000 (16:03 -0400)]
Little bit more debug info for unset Buffer members.

3 months ago* zh_CN.po (update from 2.4.x)
Pavel Sanda [Thu, 18 Apr 2024 22:20:02 +0000 (00:20 +0200)]
* zh_CN.po (update from 2.4.x)

3 months agoAlways repaint the gray area below main inset
Jean-Marc Lasgouttes [Tue, 16 Apr 2024 21:55:24 +0000 (23:55 +0200)]
Always repaint the gray area below main inset

Now that SingleParUpdate does not always lead to a full screen update
when the height of the paragraph changes (see new behavior of
updateMatrics(bool)), it is necessary to make sure that the grey area
below the main page is always repainted.

3 months agoSanitize cursors after a buffer has been reloaded
Jean-Marc Lasgouttes [Tue, 16 Apr 2024 09:45:09 +0000 (11:45 +0200)]
Sanitize cursors after a buffer has been reloaded

When a buffer is reloaded, its content may remain the same, but the
memory allocation is new, so that the inset pointers in cursors are
now wrong. This requires to sanitize the cursors held by the buffer
views.

Before the biginset branch, some full metrics computation call that is
now removed probably did that as a side effect. Now we have to be more
precise.

To this effect, introduce WorkAreaManager::sanitizeCursors() and use
it in Buffer::reload().

3 months agog-brief loads babel internally. So don't load it ourselves.
Juergen Spitzmueller [Tue, 16 Apr 2024 16:25:38 +0000 (18:25 +0200)]
g-brief loads babel internally. So don't load it ourselves.

This makes the class fully functional with non-TeX fonts (it uses
\babelfont for the purpose). Before, docs were compiling but the
output was wrong.

3 months agoDefer construction of temporary cursor.
Richard Kimberly Heck [Tue, 16 Apr 2024 16:15:50 +0000 (12:15 -0400)]
Defer construction of temporary cursor.

We were doing this on every mouse movement. I.e., for every single
pixel the mouse traverses. It can be expensive if there are a lot
of math insets.

4 months agoConvert $${python} placeholder for graphic conversions
José Matos [Sun, 14 Apr 2024 20:30:02 +0000 (21:30 +0100)]
Convert $${python} placeholder for graphic conversions

4 months agoSet cursor font after pasting to PassThru inset (#12592)
Juergen Spitzmueller [Sat, 13 Apr 2024 09:36:10 +0000 (11:36 +0200)]
Set cursor font after pasting to PassThru inset (#12592)