Commit Graph

44206 Commits

Author SHA1 Message Date
Richard Kimberly Heck
904d960d6a typo 2020-10-24 23:24:28 -04:00
Richard Kimberly Heck
c4620152ce Update lyx-build script 2020-10-24 23:23:56 -04:00
Richard Kimberly Heck
acb2ca7b4c Update GMO files 2020-10-24 23:05:33 -04:00
Scott Kostyshak
f2622e1488 ctests: add test from #9043 which is fixedinmaster
This file succeeds on master, but not in 2.3.0 or 2.3.x (I have not
checked which commit fixed it).
2020-10-24 15:58:21 -04:00
Jean-Marc Lasgouttes
21422dd652 Replace QFontMetrics::width() by horizontalAdvance() in Qt>=5.11
The method horizontalAdvance() replaces width() starting with Qt 5.11.
To handle this, all direct calls to QFontMetrics::width() are replaced
by calls to GuiFontMetrics::width(), and the code for
GuiFontMetrics::width(QChar) uses horizontalAdvance on newer Qt
versions.
2020-10-24 19:52:18 +02:00
Enrico Forestieri
6bf0578e6e Update it.po 2020-10-24 18:42:34 +02:00
Kornel Benko
47146ab8a3 Amend 12557b09: Checking po-files (shortcut handling) 2020-10-24 18:40:15 +02:00
Yuriy Skalko
69f838bbf3 Fix isSpace for docstring 2020-10-24 18:55:05 +03:00
Kornel Benko
12557b094c Checking po-files (shortcut handling)
1.) Allow ' ' as a menu shortcut (corrected for missing/unexpected spaces at message end)
2.) Adapt for utf-8 shortcuts (corrected chacking for missing/unexpected shortcuts)
2020-10-24 14:05:19 +02:00
Pavel Sanda
8af747c9d9 Revert da8b5de97 because of MSVC 2017.
In GCC `min` is defined via including <vector>.
2020-10-24 12:06:54 +02:00
Scott Kostyshak
2c1753a526 CMake: comment out c++20 for now
We currently get errors with internal boost and also from LyX code.
2020-10-23 17:13:25 -04:00
Enrico Forestieri
d2d33a6a1f Fix compilation on cygwin 2020-10-23 15:00:23 +02:00
Kornel Benko
6869c3adff Amend 39996524: Satisfy older cmake versions 2020-10-23 13:25:49 +02:00
Kornel Benko
afdda7c9e1 Update sk.po 2020-10-23 12:17:14 +02:00
Yuriy Skalko
c928714b0b Unify naming of menu items 2020-10-23 10:23:01 +03:00
Kornel Benko
3999652406 Amend d954a6b0: use cxx-standard supported by cmake 2020-10-22 18:53:53 +02:00
Kornel Benko
d954a6b09c Cmake build: Next try to use of '--std=c++17' for gnu compiler"
Setting CMAKE_CXX_STANDARD explicitly, so that cmake can use
correct cxx-flags
2020-10-22 13:46:29 +02:00
Kornel Benko
d3c16d0496 Revert "cmake build: Allow use of '--std=c++17' for gnu compiler"
This reverts commit a906676c89.
2020-10-22 12:04:41 +02:00
Yuriy Skalko
3adc1b8d6e Update ru.po 2020-10-22 12:06:58 +03:00
Jean-Marc Lasgouttes
2395522aa7 Revert "Do not set language from keyboard in passthru setting"
This reverts commit d94bd07264.
2020-10-21 18:50:31 +02:00
Jean-Marc Lasgouttes
526b4b0d79 Revert "Fix compilation mess in d94bd0726"
This reverts commit abaf2e9bda.
2020-10-21 18:50:10 +02:00
Jean-Marc Lasgouttes
abaf2e9bda Fix compilation mess in d94bd0726 2020-10-21 18:37:22 +02:00
Kornel Benko
a906676c89 cmake build: Allow use of '--std=c++17' for gnu compiler 2020-10-21 18:27:23 +02:00
Jean-Marc Lasgouttes
d94bd07264 Do not set language from keyboard in passthru setting 2020-10-21 18:09:31 +02:00
Pavel Sanda
5d0b1b640b Make master compilable again with older gcc. 2020-10-21 00:01:03 +02:00
Scott Kostyshak
fe1cbc06c3 CMake deb: support "python2 | python3" dependency
The latest debian-based distributions have moved away from
the "python" package dependency to "python2" and "python3".
2020-10-20 13:04:41 -04:00
Yuriy Skalko
196d9caeb0 Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Thibaut Cuvelier
af26f7a238 DocBook: Springer, complete test case without inclusion.
This only ought to test the layout, not the inclusion mechanisms used in the template.
2020-10-20 02:34:02 +02:00
Thibaut Cuvelier
957ac2f0c6 DocBook: Springer, more features implemented. 2020-10-20 02:34:02 +02:00
Thibaut Cuvelier
d1b9af3b1d DocBook: fix file inclusion.
Previously, nothing was output. Special care was needed for when new paragraphs should be open (this work is probably not finished yet).
2020-10-20 02:34:02 +02:00
Scott Kostyshak
334552ade5 CMake deb: update python2 requirement
Synchronize with README: >= 2.7.
2020-10-19 15:08:31 -04:00
Yuriy Skalko
af29f02dd8 Reduce includes in header files (2) 2020-10-19 18:01:17 +03:00
Yuriy Skalko
d25c10ed81 Remove duplicate and unused header includes in .cpp files 2020-10-19 18:01:11 +03:00
Yuriy Skalko
fa6ac23e1c Reduce includes in header files 2020-10-19 17:33:51 +03:00
Yuriy Skalko
65c88f0a0a Remove redundant const & for primitive types 2020-10-19 12:50:07 +03:00
Kornel Benko
26f3dfe45d Amend 3a452a24: DocBook: disable an inverted test for a LyX bug.
The disabled test has to appear before the regex for enabled tests
2020-10-18 10:10:46 +02:00
Thibaut Cuvelier
c896bf19c9 DocBook: implement svjour (still partial). 2020-10-18 09:00:01 +02:00
Thibaut Cuvelier
7be7026386 DocBook: generalise detection of "special cases" to check all insets of a paragraph.
This will catch cases where there are multiple listings in a single paragraph, for instance.

The new code is also less brittle (checks on lyxCode instead of generated LaTeX or names).
2020-10-18 08:23:37 +02:00
Thibaut Cuvelier
739735ab73 DocBook: output inline equations in their own paragraph if they are the only inset of the paragraph.
It's invalid to have an <inlineequation> outside a paragraph. Another solution would have been to change InsetMathHull::docbook to generate an <informalequation>, but that function would have required more knowledge about its context than now.

Need more tests to determine if <inlineequation> should only be output for hullSimple or in more cases like:

		const static std::set<HullType> inlineHulls = {
				hullUnknown,
				hullNone,
				hullSimple,
				hullEquation,
				hullMultline,
				hullGather,
				hullRegexp
		};
2020-10-18 08:23:36 +02:00
Thibaut Cuvelier
3a452a240b DocBook: disable an inverted test for a LyX bug. 2020-10-18 08:23:36 +02:00
Thibaut Cuvelier
f3c22f3b95 DocBook: dummy documents from the docs are not complete. 2020-10-18 08:23:36 +02:00
Jean-Marc Lasgouttes
c286cad565 Reset caret size when inserting text over a selection 2020-10-17 20:29:16 +02:00
Kornel Benko
b940a81520 Amend 31ad4d6e: DocBook: move tests to inverted instead of ignored.
Allow inverted tests without explicit language setting in testname
2020-10-17 12:58:30 +02:00
Thibaut Cuvelier
31ad4d6e21 DocBook: move tests to inverted instead of ignored.
LyX should still avoid crashing on those, and if they start to pass, then something is wrong (most likely, a very large part of the files is being ignored).
2020-10-17 05:55:16 +02:00
Thibaut Cuvelier
0adc234a22 Typo in CMakeLists 2020-10-17 05:55:16 +02:00
Scott Kostyshak
1e3ef3c6e2 Update tex2lyx tests after the format change
The diff consists of only the format number, which is expected since
there is no instance of "\nopagebreak" in the .tex files.
2020-10-16 23:06:15 -04:00
Yuriy Skalko
b5cb23a92a Remove unused headers in output_xhtml.h 2020-10-16 23:05:54 +03:00
Yuriy Skalko
a3eeb8a4b5 Clean math headers 2020-10-16 23:05:46 +03:00
Thibaut Cuvelier
d5319e1689 DocBook: implement APA. 2020-10-16 19:12:37 +02:00
Thibaut Cuvelier
3100ab0c7d DocBook: mark test as not working. 2020-10-16 18:59:23 +02:00