Commit Graph

43820 Commits

Author SHA1 Message Date
Thibaut Cuvelier
14ed5b2050 DocBook: start implementing LilyPond.
All the changes that can be achieved without C++ code changes.
2021-09-21 01:21:25 +02:00
Kornel Benko
687ccdbb32 Complete the FontTag typeinfo 2021-09-20 11:52:16 +02:00
Thibaut Cuvelier
8b6e3d3749 DocBook: add more flexibility for floats.
Intended to fix #12371.
2021-09-20 00:06:20 +02:00
Thibaut Cuvelier
bde9b7afa0 Kill warning for uncovered code path. 2021-09-19 20:10:51 +02:00
Stephan Witt
c5262f04a2 #12247 disable Qt5 modifier hack for Qt-5.12 version or newer
Initially Qt5 modifier handling was broken. Therefore a workaround was introduced.
This workaround broke the LyX modifier handling with swap of Command-Control-key disabled.
The change disables the hack to get the correct behavior in LyX.
2021-08-23 14:44:36 +02:00
Kornel Benko
874ae71f95 Update sk.po 2021-08-21 21:29:25 +02:00
Juergen Spitzmueller
5af2107aa1 de.po 2021-08-21 15:28:16 +02:00
Juergen Spitzmueller
489549c9b4 Fix debug output 2021-08-21 15:19:30 +02:00
Juergen Spitzmueller
e8bf83e42b Correct tooltip
as advised by Scott
2021-08-21 15:19:07 +02:00
Juergen Spitzmueller
3f2510991d Recheck whole buffer after word has been added to/removed from document dic. 2021-08-21 15:18:30 +02:00
Pavel Sanda
5a9c6ce69b xhtml Toc rendering seems bit too dense now. 2021-08-02 15:25:36 +02:00
Kornel Benko
6d3a221863 Update sk.po 2021-07-22 17:04:25 +02:00
Pavel Sanda
20cee15937 Give the user visible feedback when reconfiguring. 2021-07-22 14:30:08 +02:00
Jean-Marc Lasgouttes
b0a74fa410 Count the width of pilcrows indicating changed end-of-par
This is related to #10357. The case of real end-of-par markers is
taken into account, but not "change" markers, which have been
introduced in 2.4.
2021-07-21 11:29:16 +02:00
Jean-Marc Lasgouttes
5920ddb567 Standard proof layout does not have an end label
Most proof environment have a qed box at the end, but not this one.
This only changes screen rendering.
2021-07-19 12:36:34 +02:00
Scott Kostyshak
bea7ef04e7 find: auto-wrap by default
For ML discussion on this change of default, see here:

  https://www.mail-archive.com/search?l=mid&q=20210602042644.g3s42nbeevdujzb5%40tallinn
2021-07-16 15:50:30 -04:00
Scott Kostyshak
47b0c33820 find: give status message when auto-wrapping
When auto-wrap is enabled, it is sometimes informative to know
when the search wraps.

A status message is consistent with LibreOffice and Vim.
2021-07-16 15:50:30 -04:00
Scott Kostyshak
abc65d4700 refactor: keep meaning of a variable consistent
We now use a new variable, "wrap", to track if a wrap should be
done, which is true either if "auto_wrap" is true or if the user
chooses to wrap in the dialog.

This preserves the meaning of the "auto_wrap" variable and also
removes the confusion of why the previous code of

  if (!auto_wrap) {
    ...
  }
  if (auto_wrap) {

did not use an "else" instead of the second "if".

No change in functionality.
2021-07-16 15:50:30 -04:00
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