Commit Graph

46325 Commits

Author SHA1 Message Date
Enrico Forestieri
070270fdc7 Avoid deprecation warnings
In Qt 5.15 many deprecation warnings are issued, presumably for
helping the port to Qt 6. They are really a load but can be
shuten up by using -DQT_NO_DEPRECATED_WARNINGS, except for the ones
about MidButton, AdjustToMinimumContentsLength, and DefaultLocaleLongDate.

This change should not affect compilation with Qt 4, as all changes are
backward compatible (only Qt versions prior 4.5 could be affected).
2021-01-29 13:12:29 +01:00
Enrico Forestieri
11c1a32733 Update it.po 2021-01-29 12:29:36 +01:00
Juergen Spitzmueller
52196d6c48 Set proper multirow size in X table columns 2021-01-29 10:15:36 +01:00
Scott Kostyshak
e581e35be3 ctests: unignore tests thanks to lyx2lyx feature
The lyx2lyx roundtrip feature added at 364532a7 fixed the
convergence of some tests so we remove them from the ignored list.
2021-01-28 13:39:23 -05:00
Scott Kostyshak
ca6051d148 ctests: log found regression and fix 2021-01-28 13:38:17 -05:00
Jean-Marc Lasgouttes
f3a0e8ff9a Run updateBuffer when adding/merging changes
Following 4a4ded22, the enabling of some change-related functions is
handled in updateBuffer. However, this method is not ran at every
document change for performance reasons.

This patch adds code to every place that modifies
Paragraph::Private::changes_ that checks whether the `changedness' of
the paragraph, err... changes.

To this end, a new helper struct is introduced that remembers
paragraph state at contruction time, and compares it to new state in
the destructor.

New forceUpdate/needUpdate methods are added to Buffer class, since
the cursor is in general not available in the places where these
changes are made.

Fixes bug #12074.
2021-01-28 11:30:05 +01:00
Juergen Spitzmueller
e6bc78d9e8 de.po 2021-01-28 10:34:06 +01:00
Juergen Spitzmueller
aa781a4891 Update tex2lyx tests 2021-01-28 10:28:57 +01:00
Juergen Spitzmueller
b42c5dd7d6 Add frontispiece layout to KOMA classes 2021-01-28 10:24:28 +01:00
Juergen Spitzmueller
ab1d418f36 Consider cell language 2021-01-28 09:25:20 +01:00
Juergen Spitzmueller
364532a724 Improve lyx2lyx roundtrip with cellvarwidth 2021-01-28 08:44:21 +01:00
Scott Kostyshak
9d3dcdc1f7 ctests: add found regression and fix 2021-01-28 00:27:45 -05:00
Scott Kostyshak
a660ed24dc ctests-costs-benefits: define false positive
A false positive could either be "not a bug" or a bug that is not
worth the time or complexity to fix. For the purpose of evaluating
the tests, the distinction is not important.
2021-01-28 00:27:45 -05:00
Scott Kostyshak
157f2d02c8 ctests: ignore lyx2lyx fails due to no convergence
These exports knowingly do not pass the convergence tests because
of ERT export.
2021-01-27 20:32:44 -05:00
Thibaut Cuvelier
b3e3404f06 Fix dependencies downloading on Windows. 2021-01-27 20:13:42 +01:00
Yuriy Skalko
83a4384b27 Update Russian localization 2021-01-27 14:28:01 +02:00
Kornel Benko
72da904ba6 Update sk.po 2021-01-27 10:49:20 +01:00
Jean-Marc Lasgouttes
15f3e6a10b Provide translation of caption label for fr and he.
Part of bug #10531.
2021-01-27 10:32:18 +01:00
Jean-Marc Lasgouttes
e2d2078275 Remerge strings 2021-01-27 10:32:18 +01:00
Jean-Marc Lasgouttes
48e7b1d01e Make InsetCaption label localizable
Part of bug #10531.
2021-01-27 10:32:18 +01:00
Juergen Spitzmueller
92f8612ace count_pars_in_inset: check nested insets 2021-01-27 08:24:17 +01:00
Scott Kostyshak
a3f591d61e ctests: log cost of recent false positive 2021-01-26 13:29:23 -05:00
Scott Kostyshak
d3065ceeb3 Start a log file to track benefit/costs of ctests
The ctests are not convenient tests. In this file we can attempt to
log the benefits and costs to using them so we can periodically
evaluate which tests we should keep and which we should get rid of.
2021-01-26 13:21:08 -05:00
Jean-Marc Lasgouttes
bb8278e6ce Fix InsetCaption in RTL environment.
This requires to add a new mutable member, rtl_, to remember this context.

Part of bug #10531.
2021-01-26 17:58:11 +01:00
Juergen Spitzmueller
81f757f364 de.po 2021-01-26 16:44:49 +01:00
Juergen Spitzmueller
c5e5dda0ef Some minor polishment 2021-01-26 14:50:14 +01:00
Juergen Spitzmueller
27e7eb4b14 Fix copy-paste error (#12092) 2021-01-26 14:48:12 +01:00
Enrico Forestieri
30241d6299 Update it.po 2021-01-26 11:12:18 +01:00
Jean-Marc Lasgouttes
cb3db8b4cf InsetCaption: move intialization to declaration 2021-01-26 10:18:31 +01:00
Juergen Spitzmueller
76eae4572e Introduce InputGlobal (#12087)
This is a variant of Input for layout files that only searches build
and system directories and thus allows "InputGlobal name.inc" in a user
file name.inc that attempts to modify its global counterpart.
2021-01-26 08:42:39 +01:00
Richard Kimberly Heck
10c7954ffb Const 2021-01-25 14:35:37 -05:00
Juergen Spitzmueller
82a8ed4d55 Allow to move multiple (selected) columns/rows (#9045) 2021-01-25 19:00:50 +01:00
Jean-Marc Lasgouttes
6bf8a0ade8 Disable respectOSkbd checkbox
This is not ready yet. See discussion in #6450.
2021-01-25 18:35:41 +01:00
Jean-Marc Lasgouttes
ea0049aec8 Do not disable DEPM paragraph deleting when FreeSpacing is true.
This is an old issue that never got fixed.

Fixes bug #10413.
2021-01-25 17:41:20 +01:00
Kornel Benko
9163c1198c Update sk.po 2021-01-25 12:18:35 +01:00
Juergen Spitzmueller
9ff51f7149 Fixup revert_vcolumns2 routine 2021-01-25 12:04:45 +01:00
Juergen Spitzmueller
b90c3fdfa1 GuiTabular: only apply changed features (#10450) 2021-01-25 11:00:06 +01:00
Kornel Benko
205c258e4e Aupdate sk.po 2021-01-25 10:59:28 +01:00
Kornel Benko
5d8cacf3ec FindAdv: Select search for language-format depending on document language.
In case of search with format:
If the pattern contains language spec different to the document language
then do not ignore language setting.

Also renamed 'matchstart' in FindAndReplaceOptions to 'matchAtStart'
2021-01-25 10:52:14 +01:00
Juergen Spitzmueller
a05c7b3555 Fix alignment missetting with multirows (#10826) 2021-01-25 09:09:07 +01:00
Juergen Spitzmueller
4029680413 Fix on-screen vertical alignment in some table cells (#7757) 2021-01-24 15:28:37 +01:00
Juergen Spitzmueller
e2a66df3b8 LFUN_FILE_OPEN: Strip quotes from argument (#12091) 2021-01-24 14:48:55 +01:00
Juergen Spitzmueller
bf813db992 de.po 2021-01-23 15:54:24 +01:00
Juergen Spitzmueller
f84007bd53 Fixup tex2lyx parse_cell_content method 2021-01-23 15:50:39 +01:00
Juergen Spitzmueller
7f78050957 Fix metrics of varwidth cells (#12089) 2021-01-23 15:22:09 +01:00
Juergen Spitzmueller
8d09fb5bf0 Support non-default styles in multirow 2021-01-23 14:53:51 +01:00
Juergen Spitzmueller
5979a01b1d Allow paragraph and line breaks in multirow (#12083) 2021-01-23 14:24:54 +01:00
Juergen Spitzmueller
526d2841df tex2lyx: support extended varwidth table cells 2021-01-23 09:33:52 +01:00
Juergen Spitzmueller
af550b4589 update tex2lyx tests 2021-01-23 08:19:21 +01:00
Juergen Spitzmueller
7bd072e750 Fix status of tabular function 2021-01-23 08:10:55 +01:00