Commit Graph

46352 Commits

Author SHA1 Message Date
Stephan Witt
c93c94fd22 Correct moc compiler version extractor regex for patch level greater 9. 2021-07-16 18:12:33 +02:00
Stephan Witt
4716b1f91a Use a central typedef for vectors of WordLangTuple. 2021-07-16 16:39:05 +02:00
Stephan Witt
39caab265d Care for included hunspell library. 2021-07-16 16:35:30 +02:00
Jean-Marc Lasgouttes
f3396ae011 Whitespace 2021-07-13 11:15:13 +02:00
Jean-Marc Lasgouttes
1c200e0d99 Revert "Add a move constructor to Inset"
It does not compile :-p

This reverts commit 874928f4a4.
2021-07-12 12:38:16 +02:00
Jean-Marc Lasgouttes
874928f4a4 Add a move constructor to Inset
Does not change much, but Coverity complains about it. Let's see if
this allows Inset's child classes to grow their own move constructor.

Also some whitespace.
2021-07-12 11:59:40 +02:00
Pavel Sanda
4fc7e9697e * lib/RELEASE-NOTES 2021-07-11 18:16:42 +02:00
Pavel Sanda
cd5d1be8f8 Properly distribute metainfo. 2021-07-11 18:09:10 +02:00
Pavel Sanda
837791c5ef Update metainfo to newer format.
Used appstream form:
https://www.freedesktop.org/software/appstream/metainfocreator/#/guiapp
2021-07-11 18:09:10 +02:00
Jean-Marc Lasgouttes
da57154f94 Rework display of numbers in margins of hull insets
This requires the introduction of the booleans selected_left and
selected_right in PainterInfo. These tell whether the selection
continues at the left/right of the inset.

This information allows to

1/ paint equation number in the right color: either current text color
   or selection text color.

2/ before that, paint a small background rectangle of the correct color.

This allows to avoid painting a large rectangle of an arbitrary color
that was the cause of the bug.

Fixes bug #12319.
2021-07-09 23:46:16 +02:00
Pavel Sanda
5dd96345ab Reformat mangled filenames for (xhtml) export to have them sorted. 2021-07-09 14:35:01 +02:00
jpc
27092c2af0 Add hint about the need of Acrobat DC 2021-07-06 18:52:58 +02:00
Jean-Marc Lasgouttes
008a0825e8 Always remove selection after cursor up/down
When the cursor cannot move on cursor up/down, at least the selection
should be cleared (when not selecting).

To detect this, the method Cursor::upDownInText has been modified to
return true when cursor is at top/bottom of inset, but there is some
room above/below.

Moreover, introduce the functions LFUN_FINISHED_UP/DOWN, which is
dispatched at upper cursor level as long as no local movement is
possible. This allows to handle differently the original char moving
action and its consequences.

Fixes part of bug #12310.
2021-06-30 16:51:58 +02:00
Jean-Marc Lasgouttes
8d90bb9991 Always remove selection after cursor left/right
Example: when a selection is set, a `Left' cursor movement would not
reset selection when the cursor was at the beginning of buffer.

To fix this, it is necessary, when cursor is in top-level text, to
avoid the mechnanism (undispatched cursor) that sends the action to the
upper level (necessary when the cursor leaves an inset).

The change is mechanical and is done for : char-backward,
char-forward, char-left, char-right, word-left, word-right, word-left,
word-right. It might be possible to factor this code a bit, but there
is no evident solution.

char-up/down are *not* handled at this point.

Fixes part of bug #12310.
2021-06-30 16:41:18 +02:00
jpc
ab5e5e41a2 Update French translation of Linguistics manual 2021-06-28 11:01:30 +02:00
jpc
bc6344147a Update fr.po 2021-06-28 11:00:11 +02:00
jpc
63a79ee2d5 Update fr.po 2021-06-26 18:24:56 +02:00
Scott Kostyshak
76a40d2af5 Fix reference to subequation documentation, #12316
The example file was incorporated into the Math manual at 3aa01442.
2021-06-22 21:20:46 -04:00
Juergen Spitzmueller
eb43ae931a Update Credits entry 2021-06-22 07:48:15 +02:00
Scott Kostyshak
2dd9e1a338 ctests-costs-benefits: add a "benefit" row
The "benefit" row gives the amount of days in-between when an issue
is found because of the ctests and when an issue is reported by
someone not using the ctests. In the example of the ps2pdf flag, the
issue was reported just a couple of weeks after we found it with the
ctests, indicating that the ctests were not that helpful in this
case.
2021-06-21 12:57:38 -04:00
Scott Kostyshak
ef05c951ca ctests: log a reported issue (the ps2pdf flag)
We are still not sure how to fix things to make them more easy for
the user.
2021-06-21 12:56:37 -04:00
Scott Kostyshak
37bce91a8b ctests: log a fixed LaTeX package issue (noweb) 2021-06-20 00:05:42 -04:00
Eugene Chornyi
e9d5fc0190 prevent Qt6 from defining UNICODE (Qt6.1.1 and upwards) 2021-06-19 10:48:49 +02:00
Eugene Chornyi
b9334a046c Use specialized WINAPI functions for specialized arguments 2021-06-19 10:48:15 +02:00
Stephan Witt
15d1f2c76d #12305 Correct typo in library name QtDBus - fatal error with case sensitive file systems 2021-06-16 07:45:44 +02:00
Enrico Forestieri
f60b23cbc1 Fix configure with Qt 6.1
Since Qt 6.1 the moc, rcc, and uic compilers are not installed
in the bin dir anymore. We ask qmake for their location and
record them with full path so that it is not necessary thinkering
with the PATH variable.
2021-06-15 11:40:27 +02:00
Jean-Marc Lasgouttes
a9c6fb0c19 Improve test in Geometry::covers
Horizontally, the old code would count an extra pixel on the right.

The vertical test is not changed, and should be eventually audited.

Fixes bug #10468.
2021-06-14 18:01:35 +02:00
Jean-Marc Lasgouttes
22cb573cac Allow line inset to draw a vertical line.
Qpainter::drawline cannot draw a line which is thicker than it is long.
Draw a rectangle instead.

Fix bug #12307.
2021-06-14 15:45:35 +02:00
jpc
5b0b3f053e Remove spurious parentheses due to \thanks code
The LyX foonote inset was exported as a broken \thanks command
         Replaced by a LyX note
2021-06-14 15:33:33 +02:00
Kornel Benko
38e83fc6f8 Cmake tests: Correct BATCH_compare-test test.
Change due to recent addition of docbook settings in lyx-files.
2021-06-13 19:45:37 +02:00
Kornel Benko
cedf5db7b4 Cmake tests: Correct BATCH_outline-beamer test
(Because the created tex-file got extra line)
2021-06-13 16:32:59 +02:00
Scott Kostyshak
20d0decf29 Powerdot.lyx: note the TL21 required ps2pdf flag
See 70b89e70 and #12303.
2021-06-12 23:08:56 -04:00
Scott Kostyshak
3e78fd4139 Powerdot.lyx: update format for next commit 2021-06-12 23:08:56 -04:00
Jean-Marc Lasgouttes
ca2706e30e Cleanup: fix comments, move declarations around 2021-06-09 16:26:48 +02:00
Jean-Marc Lasgouttes
e309a5599e Fixup f3a0e8ff: forgot to test in main dispatch
I would probably have seen this missing bit if not for the bug fixed
since then at c9146e5b.

Fixes (again) bug #12074
2021-06-08 16:15:28 +02:00
Yuriy Skalko
9c1cacaf18 Update Russian documentation 2021-06-08 15:14:01 +03:00
jpc
6553c4ae47 Fix LyX version number and translation info 2021-06-05 18:15:19 +02:00
jpc
ee57e9960d Fix LyX version number 2021-06-05 18:13:07 +02:00
jpc
2634421cb4 Fix inputencoding in French manuals 2021-06-04 15:25:12 +02:00
Kornel Benko
8f4ed83f9a FindAdv: Added handling of Thai characters 2021-06-04 14:49:46 +02:00
jpc
4b7ce0e079 Update French EmbeddedObjects manual for 2.4.0 2021-06-04 13:34:33 +02:00
jpc
5f076b82e6 Minor fixes and a couple of enhancements for EmbeddedObjects manual 2021-06-04 13:33:18 +02:00
Kornel Benko
3c6632f3b0 Amend 357bc257, Typo: correct reference of script 2021-06-04 10:51:48 +02:00
Scott Kostyshak
f8679a931a pt_BR.po: fix escaping of \alpha 2021-06-03 23:35:00 -04:00
Scott Kostyshak
357bc2576c Noweb.lyx: correct reference of script
Thanks to Kornel.
2021-06-03 12:41:49 -04:00
Pavel Sanda
6c42feb137 Update lib/doc/LFUNs.lyx 2021-06-03 15:08:29 +02:00
Pavel Sanda
0c8cf33ed6 Revert part of 3f03f0a447, whitespace on eolns is necessary. 2021-06-03 15:06:43 +02:00
Scott Kostyshak
8c5b58a3f8 Noweb.lyx: fix a few mistakes from old lyx2lyx
In fb034884 I made some manual changes to documents that weren't
correctly converted by lyx2lyx (from ERT to Chunk insets) but I left
a "@" inside a chunk, which ended it prematurely and caused
incorrect output.

This current commit also cleans up a few other things in the
document.

Thanks to Kornel for catching this.
2021-06-02 20:09:58 -04:00
Scott Kostyshak
f5d02bc7c6 Noweb.lyx: update format for subsequent changes 2021-06-02 20:09:58 -04:00
Juergen Spitzmueller
7af089b92b pt_BR.po: update from Georger 2021-06-02 17:49:48 +02:00