]>
git.lyx.org Git - features.git/log
Yuriy Skalko [Sun, 1 Nov 2020 11:05:14 +0000 (13:05 +0200)]
Use bool literals
Yuriy Skalko [Sun, 1 Nov 2020 10:57:14 +0000 (12:57 +0200)]
Constify InsetQuotesParams
Yuriy Skalko [Sat, 31 Oct 2020 17:18:51 +0000 (19:18 +0200)]
Match header/source function argument naming
Yuriy Skalko [Sat, 31 Oct 2020 13:09:46 +0000 (15:09 +0200)]
Use const references
Yuriy Skalko [Fri, 30 Oct 2020 21:27:44 +0000 (23:27 +0200)]
Use default member initialization in InsetLayout
Yuriy Skalko [Sat, 31 Oct 2020 15:13:52 +0000 (17:13 +0200)]
Simplify with std::map::insert
Scott Kostyshak [Sun, 1 Nov 2020 18:27:43 +0000 (13:27 -0500)]
Powerdot examples: work around undefined ref
The hook that defines the "lastslide" label is interfered with for
some reason on an updated TeX Live 2020. We thus avoid referencing
the label and instead show only the current slide number on each
slide. We leave instructions in the preamble for how to get back the
previous behavior if desired.
Scott Kostyshak [Sun, 1 Nov 2020 18:26:03 +0000 (13:26 -0500)]
ctests: uninvert some unicode ctests
Thanks to an update of the "menukey" package, these exports now
succeed. For more information, see
33228178 .
Thibaut Cuvelier [Sun, 1 Nov 2020 02:58:25 +0000 (03:58 +0100)]
DocBook: implement other letter classes (frletter, standard letter, KOMA-Script).
I gave up on G-Brief, it's too far from the other classes.
Thibaut Cuvelier [Sun, 1 Nov 2020 02:03:38 +0000 (03:03 +0100)]
DocBook: implement French letter.
Thibaut Cuvelier [Sun, 1 Nov 2020 01:52:42 +0000 (02:52 +0100)]
DocBook: mark more presentations as expected failures.
Thibaut Cuvelier [Sun, 1 Nov 2020 01:51:49 +0000 (02:51 +0100)]
DocBook: implement Hollywood layout.
Eugene Chornyi [Sat, 31 Oct 2020 10:14:53 +0000 (11:14 +0100)]
Wininstaller2: Imagemagick should be able to find ghostscript binaries
Scott Kostyshak [Sat, 31 Oct 2020 00:22:00 +0000 (20:22 -0400)]
Foils: set default output to PDF (ps2pdf)
We currently specify that dvips be used. This could potentially
change in the future. One issue is that with system fonts XeTeX and
LuaTeX do not correctly rotate pages.
Scott Kostyshak [Fri, 30 Oct 2020 21:37:23 +0000 (17:37 -0400)]
ctests: invert JASA tests, consistent with Seminar
These tests are failing for the same reason as the Seminar tests.
See
1aa4987b .
José Matos [Fri, 30 Oct 2020 18:46:13 +0000 (18:46 +0000)]
Make all exectuable python scripts use python3
This is only relevant on linux/unix if running the scripts from a shell.
These two were the last where the call still used an unversioned python.
This has no reflex on the way that lyx calls the scripts or the python
version used since the #! "shebang line" is ignored.
Richard Kimberly Heck [Fri, 30 Oct 2020 17:34:36 +0000 (13:34 -0400)]
Change the logic of the indentation setting.
The option here is to NOT indent the paragraph, so make that clear.
As it was, we would set "Indent" to false in the case of paragraphs
that do not permit indentation and then write that, uselessly, to the
LyX file if we wrote any other option (and then keep writing it, even
if other options were removed). Now, we will write it only if it's been
explicitly set.
Richard Kimberly Heck [Fri, 30 Oct 2020 17:25:15 +0000 (13:25 -0400)]
Fix warning
Richard Kimberly Heck [Fri, 30 Oct 2020 16:16:42 +0000 (12:16 -0400)]
Whitespace
Scott Kostyshak [Fri, 30 Oct 2020 03:09:59 +0000 (23:09 -0400)]
Address failures of Seminar examples on new TL20
Compilation of our Seminar example file fails on updated TL20. The
maintainer of "Seminar" is not planning to fix the core issue and
states the following (in a private email with permission to quote):
it is a problem with the new hook management of the current latex.ltx
seminar is a quite old package and there is no reason to use it with a
new LaTeX format. It won't be fixed, so the usual way is to use the
package latexrealease to get the old hook management.
This commit adds a note to the example files explaining the
workaround of exporting to a .tex file and prepending the following
line:
\RequirePackage[2020-02-02]{latexrelease}
We now invert the relevant tests.
Thibaut Cuvelier [Mon, 26 Oct 2020 23:49:26 +0000 (00:49 +0100)]
DocBook: use the same normalisation for biblio IDs and their references.
Thibaut Cuvelier [Mon, 26 Oct 2020 04:11:59 +0000 (05:11 +0100)]
DocBook: more robust list implementation.
Thibaut Cuvelier [Mon, 26 Oct 2020 04:03:22 +0000 (05:03 +0100)]
DocBook: ensure to have paragraphs in <sidebar>.
Thibaut Cuvelier [Mon, 26 Oct 2020 03:19:11 +0000 (04:19 +0100)]
DocBook: fix an issue where parts of list in abstract were duplicated.
Excerpt from export/latex/lyxbugs-resolved/9633-languagenesting_enumerate_and_lyxcode.
Thibaut Cuvelier [Mon, 26 Oct 2020 03:13:32 +0000 (04:13 +0100)]
DocBook: update test suite.
Still an unexplained failure: for basic, in the test suite, the .bib file is not found; with the GUI, it is found.
Thibaut Cuvelier [Mon, 26 Oct 2020 02:55:25 +0000 (03:55 +0100)]
DocBook: support for <info> tags in inner sections.
Previously, this code only worked correctly for the root tag.
Thibaut Cuvelier [Sun, 25 Oct 2020 14:38:08 +0000 (15:38 +0100)]
DocBook: implement algorithm floats.
Now that https://github.com/docbook/docbook/pull/185 has been merged into DocBook 5.2.
Thibaut Cuvelier [Thu, 22 Oct 2020 04:28:46 +0000 (06:28 +0200)]
DocBook: generate chapter metadata in <info>, for Springer mono.
Thibaut Cuvelier [Thu, 22 Oct 2020 03:24:55 +0000 (05:24 +0200)]
DocBook: don't consider sectioning items that shouldn't be in TOC for anything section-related.
Thibaut Cuvelier [Wed, 21 Oct 2020 12:54:25 +0000 (14:54 +0200)]
DocBook: add DocBookSection parameter for styles that define new sections and implement argument parameters; improve Springer support.
For elements that should behave like sections (for now, mostly prefaces).
A second paragraph of PartBacktext can only wreak havok: it should start a section, and nothing else (otherwise, it's a real nightmare to implement).
Richard Kimberly Heck [Thu, 29 Oct 2020 22:25:25 +0000 (18:25 -0400)]
Const
Scott Kostyshak [Thu, 29 Oct 2020 20:07:55 +0000 (16:07 -0400)]
ctests: Invert some tests for new ru Additional
These inversions are consistent with ru Math manual tests.
Yuriy Skalko [Tue, 27 Oct 2020 19:39:30 +0000 (21:39 +0200)]
Update Additional.lyx manual
Yuriy Skalko [Tue, 27 Oct 2020 12:16:07 +0000 (14:16 +0200)]
Simplify DispatchResult ctors
Yuriy Skalko [Tue, 27 Oct 2020 09:20:27 +0000 (11:20 +0200)]
Use nullptr
Yuriy Skalko [Mon, 26 Oct 2020 18:16:28 +0000 (20:16 +0200)]
Move HullType functions declared in InsetMath.h into InsetMath.cpp
Yuriy Skalko [Thu, 29 Oct 2020 08:14:04 +0000 (10:14 +0200)]
Update Russian localization
Yuriy Skalko [Mon, 26 Oct 2020 22:34:13 +0000 (00:34 +0200)]
Russian translation of Additional manual by Henry Chern
Kornel Benko [Wed, 28 Oct 2020 22:12:03 +0000 (23:12 +0100)]
Cmake build: Fine tuning
1.) If building with external iconv, remove remnants of libiconv data
created if previousy used internal iconv
2.) Remove the variable HELP from cache to enable subsequent builds.
(Different variable-handling on new cmake (version >= 3.18))
3.) New macro to extract cmake-known-cxx-sts features
4.) Check for CXX11-features only for a subset of possibilities
known by the used cmake
Scott Kostyshak [Wed, 28 Oct 2020 20:35:51 +0000 (16:35 -0400)]
ctests: invert unicode failures from menukeys pack
The issue is already reported and it seems a fix could be released
soon (in which case we will uninvert the tests):
https://github.com/tweh/menukeys/issues/59
Scott Kostyshak [Wed, 28 Oct 2020 03:05:33 +0000 (23:05 -0400)]
ctests: ignore zh_CN dvi3_systemF tests
These exports had wrong output before, and now (on updated TL20)
they fail with the following error message:
DVI output is not supported in LuaTeX-ja
Richard Kimberly Heck [Mon, 26 Oct 2020 19:29:11 +0000 (15:29 -0400)]
No need to specify qt5
Kornel Benko [Mon, 26 Oct 2020 01:07:10 +0000 (02:07 +0100)]
Amend(3)
0ef96e4d : Use correct path for config.h
Kornel Benko [Sun, 25 Oct 2020 21:44:30 +0000 (22:44 +0100)]
Yuriy Skalko [Sun, 25 Oct 2020 06:54:27 +0000 (08:54 +0200)]
Move Windows-specific stuff into os_win32.h
Yuriy Skalko [Sat, 24 Oct 2020 21:47:13 +0000 (00:47 +0300)]
Move include of own header to the top. Fix dependencies
Kornel Benko [Sun, 25 Oct 2020 16:31:41 +0000 (17:31 +0100)]
Richard Kimberly Heck [Sun, 25 Oct 2020 15:54:37 +0000 (11:54 -0400)]
Update build script again
Richard Kimberly Heck [Sun, 25 Oct 2020 15:43:32 +0000 (11:43 -0400)]
Update layouts
Kornel Benko [Sun, 25 Oct 2020 15:38:00 +0000 (16:38 +0100)]
Distribution: Added some missing files
Jean-Marc Lasgouttes [Sat, 24 Oct 2020 16:00:55 +0000 (18:00 +0200)]
Do not honor stdlib-debug when c++library is not gcc's libstdc++
Actually the real difference is that it does not complain about system
boost any more when LLVM's libc++ is used.
Yuriy Skalko [Fri, 23 Oct 2020 08:17:44 +0000 (11:17 +0300)]
Update Russian localization
Yuriy Skalko [Fri, 23 Oct 2020 10:40:41 +0000 (13:40 +0300)]
Fix obsoleted Qt values
All new values exist in Qt 4.8.7.
Yuriy Skalko [Wed, 21 Oct 2020 07:23:43 +0000 (10:23 +0300)]
Small refactorings
Yuriy Skalko [Wed, 21 Oct 2020 08:35:40 +0000 (11:35 +0300)]
Constify
Richard Kimberly Heck [Sun, 25 Oct 2020 03:24:28 +0000 (23:24 -0400)]
typo
Richard Kimberly Heck [Sun, 25 Oct 2020 03:23:56 +0000 (23:23 -0400)]
Update lyx-build script
Richard Kimberly Heck [Sun, 25 Oct 2020 03:05:33 +0000 (23:05 -0400)]
Update GMO files
Scott Kostyshak [Sat, 24 Oct 2020 19:54:03 +0000 (15:54 -0400)]
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).
Jean-Marc Lasgouttes [Sat, 24 Oct 2020 17:29:34 +0000 (19:29 +0200)]
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.
Enrico Forestieri [Sat, 24 Oct 2020 16:42:15 +0000 (18:42 +0200)]
Update it.po
Kornel Benko [Sat, 24 Oct 2020 16:40:15 +0000 (18:40 +0200)]
Amend
12557b09 : Checking po-files (shortcut handling)
Yuriy Skalko [Sat, 24 Oct 2020 08:03:36 +0000 (11:03 +0300)]
Fix isSpace for docstring
Kornel Benko [Sat, 24 Oct 2020 12:05:19 +0000 (14:05 +0200)]
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)
Pavel Sanda [Sat, 24 Oct 2020 10:06:17 +0000 (12:06 +0200)]
Revert
da8b5de97 because of MSVC 2017.
In GCC `min` is defined via including <vector>.
Scott Kostyshak [Fri, 23 Oct 2020 21:12:02 +0000 (17:12 -0400)]
CMake: comment out c++20 for now
We currently get errors with internal boost and also from LyX code.
Enrico Forestieri [Fri, 23 Oct 2020 12:59:54 +0000 (14:59 +0200)]
Fix compilation on cygwin
Kornel Benko [Fri, 23 Oct 2020 11:25:49 +0000 (13:25 +0200)]
Amend
39996524 : Satisfy older cmake versions
Kornel Benko [Fri, 23 Oct 2020 10:17:14 +0000 (12:17 +0200)]
Update sk.po
Yuriy Skalko [Fri, 23 Oct 2020 06:24:53 +0000 (09:24 +0300)]
Unify naming of menu items
Kornel Benko [Thu, 22 Oct 2020 16:53:53 +0000 (18:53 +0200)]
Amend
d954a6b0 : use cxx-standard supported by cmake
Kornel Benko [Thu, 22 Oct 2020 11:46:29 +0000 (13:46 +0200)]
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
Kornel Benko [Thu, 22 Oct 2020 10:04:41 +0000 (12:04 +0200)]
Revert "cmake build: Allow use of '--std=c++17' for gnu compiler"
This reverts commit
a906676c8971fe4e5eb893937e8cba80cfe2cc12 .
Yuriy Skalko [Thu, 22 Oct 2020 09:03:51 +0000 (12:03 +0300)]
Update ru.po
Jean-Marc Lasgouttes [Wed, 21 Oct 2020 16:50:31 +0000 (18:50 +0200)]
Revert "Do not set language from keyboard in passthru setting"
This reverts commit
d94bd072647fca813df464c6ef14d84445c603ca .
Jean-Marc Lasgouttes [Wed, 21 Oct 2020 16:50:10 +0000 (18:50 +0200)]
Revert "Fix compilation mess in
d94bd0726 "
This reverts commit
abaf2e9bda86b74c4b29b6ead106026665f02a1b .
Jean-Marc Lasgouttes [Wed, 21 Oct 2020 16:37:00 +0000 (18:37 +0200)]
Fix compilation mess in
d94bd0726
Kornel Benko [Wed, 21 Oct 2020 16:27:23 +0000 (18:27 +0200)]
cmake build: Allow use of '--std=c++17' for gnu compiler
Jean-Marc Lasgouttes [Wed, 21 Oct 2020 16:08:39 +0000 (18:08 +0200)]
Do not set language from keyboard in passthru setting
Pavel Sanda [Tue, 20 Oct 2020 22:01:03 +0000 (00:01 +0200)]
Make master compilable again with older gcc.
Scott Kostyshak [Mon, 19 Oct 2020 18:59:17 +0000 (14:59 -0400)]
CMake deb: support "python2 | python3" dependency
The latest debian-based distributions have moved away from
the "python" package dependency to "python2" and "python3".
Yuriy Skalko [Tue, 20 Oct 2020 08:36:59 +0000 (11:36 +0300)]
Clean includes using the output of iwyu tool
Thibaut Cuvelier [Mon, 19 Oct 2020 14:05:58 +0000 (16:05 +0200)]
DocBook: Springer, complete test case without inclusion.
This only ought to test the layout, not the inclusion mechanisms used in the template.
Thibaut Cuvelier [Mon, 19 Oct 2020 13:53:45 +0000 (15:53 +0200)]
DocBook: Springer, more features implemented.
Thibaut Cuvelier [Sun, 18 Oct 2020 07:05:49 +0000 (09:05 +0200)]
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).
Scott Kostyshak [Mon, 19 Oct 2020 19:06:04 +0000 (15:06 -0400)]
CMake deb: update python2 requirement
Synchronize with README: >= 2.7.
Yuriy Skalko [Mon, 19 Oct 2020 14:15:45 +0000 (17:15 +0300)]
Reduce includes in header files (2)
Yuriy Skalko [Mon, 12 Oct 2020 12:30:07 +0000 (15:30 +0300)]
Remove duplicate and unused header includes in .cpp files
Yuriy Skalko [Mon, 19 Oct 2020 08:51:00 +0000 (11:51 +0300)]
Reduce includes in header files
Yuriy Skalko [Fri, 16 Oct 2020 07:19:34 +0000 (10:19 +0300)]
Remove redundant `const &` for primitive types
Kornel Benko [Sun, 18 Oct 2020 08:10:46 +0000 (10:10 +0200)]
Amend
3a452a24 : DocBook: disable an inverted test for a LyX bug.
The disabled test has to appear before the regex for enabled tests
Thibaut Cuvelier [Sun, 18 Oct 2020 07:00:01 +0000 (09:00 +0200)]
DocBook: implement svjour (still partial).
Thibaut Cuvelier [Sun, 18 Oct 2020 06:22:40 +0000 (08:22 +0200)]
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).
Thibaut Cuvelier [Sun, 18 Oct 2020 06:15:54 +0000 (08:15 +0200)]
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
};
Thibaut Cuvelier [Sun, 18 Oct 2020 05:59:54 +0000 (07:59 +0200)]
DocBook: disable an inverted test for a LyX bug.
Thibaut Cuvelier [Sat, 17 Oct 2020 04:09:43 +0000 (06:09 +0200)]
DocBook: dummy documents from the docs are not complete.
Jean-Marc Lasgouttes [Sat, 17 Oct 2020 18:29:16 +0000 (20:29 +0200)]
Reset caret size when inserting text over a selection
Kornel Benko [Sat, 17 Oct 2020 10:58:30 +0000 (12:58 +0200)]
Amend
31ad4d6e : DocBook: move tests to inverted instead of ignored.
Allow inverted tests without explicit language setting in testname
Thibaut Cuvelier [Sat, 17 Oct 2020 03:55:05 +0000 (05:55 +0200)]
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).
Thibaut Cuvelier [Sat, 17 Oct 2020 03:43:12 +0000 (05:43 +0200)]
Typo in CMakeLists