]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoUpdate Additional.lyx manual
Yuriy Skalko [Tue, 27 Oct 2020 19:39:30 +0000 (21:39 +0200)]
Update Additional.lyx manual

3 years agoSimplify DispatchResult ctors
Yuriy Skalko [Tue, 27 Oct 2020 12:16:07 +0000 (14:16 +0200)]
Simplify DispatchResult ctors

3 years agoUse nullptr
Yuriy Skalko [Tue, 27 Oct 2020 09:20:27 +0000 (11:20 +0200)]
Use nullptr

3 years agoMove HullType functions declared in InsetMath.h into InsetMath.cpp
Yuriy Skalko [Mon, 26 Oct 2020 18:16:28 +0000 (20:16 +0200)]
Move HullType functions declared in InsetMath.h into InsetMath.cpp

3 years agoUpdate Russian localization
Yuriy Skalko [Thu, 29 Oct 2020 08:14:04 +0000 (10:14 +0200)]
Update Russian localization

3 years agoRussian translation of Additional manual by Henry Chern
Yuriy Skalko [Mon, 26 Oct 2020 22:34:13 +0000 (00:34 +0200)]
Russian translation of Additional manual by Henry Chern

3 years agoCmake build: Fine tuning
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

3 years agoctests: invert unicode failures from menukeys pack
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

3 years agoctests: ignore zh_CN dvi3_systemF tests
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

3 years agoNo need to specify qt5
Richard Kimberly Heck [Mon, 26 Oct 2020 19:29:11 +0000 (15:29 -0400)]
No need to specify qt5

3 years agoAmend(3) 0ef96e4d: Use correct path for config.h
Kornel Benko [Mon, 26 Oct 2020 01:07:10 +0000 (02:07 +0100)]
Amend(3) 0ef96e4d: Use correct path for config.h

3 years agoAmend(2) 2dbf3515:
Kornel Benko [Sun, 25 Oct 2020 21:44:30 +0000 (22:44 +0100)]
Amend(2) 2dbf3515:

3 years agoMove Windows-specific stuff into os_win32.h
Yuriy Skalko [Sun, 25 Oct 2020 06:54:27 +0000 (08:54 +0200)]
Move Windows-specific stuff into os_win32.h

3 years agoMove include of own header to the top. Fix dependencies
Yuriy Skalko [Sat, 24 Oct 2020 21:47:13 +0000 (00:47 +0300)]
Move include of own header to the top. Fix dependencies

3 years agoAmend(1) 2dbf3515:
Kornel Benko [Sun, 25 Oct 2020 16:31:41 +0000 (17:31 +0100)]
Amend(1) 2dbf3515:

3 years agoUpdate build script again
Richard Kimberly Heck [Sun, 25 Oct 2020 15:54:37 +0000 (11:54 -0400)]
Update build script again

3 years agoUpdate layouts
Richard Kimberly Heck [Sun, 25 Oct 2020 15:43:32 +0000 (11:43 -0400)]
Update layouts

3 years agoDistribution: Added some missing files
Kornel Benko [Sun, 25 Oct 2020 15:38:00 +0000 (16:38 +0100)]
Distribution: Added some missing files

3 years agoDo not honor stdlib-debug when c++library is not gcc's libstdc++
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.

3 years agoUpdate Russian localization
Yuriy Skalko [Fri, 23 Oct 2020 08:17:44 +0000 (11:17 +0300)]
Update Russian localization

3 years agoFix obsoleted Qt values
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.

3 years agoSmall refactorings
Yuriy Skalko [Wed, 21 Oct 2020 07:23:43 +0000 (10:23 +0300)]
Small refactorings

3 years agoConstify
Yuriy Skalko [Wed, 21 Oct 2020 08:35:40 +0000 (11:35 +0300)]
Constify

3 years agotypo
Richard Kimberly Heck [Sun, 25 Oct 2020 03:24:28 +0000 (23:24 -0400)]
typo

3 years agoUpdate lyx-build script
Richard Kimberly Heck [Sun, 25 Oct 2020 03:23:56 +0000 (23:23 -0400)]
Update lyx-build script

3 years agoUpdate GMO files lyx-2.4.0dev-acb2ca7b
Richard Kimberly Heck [Sun, 25 Oct 2020 03:05:33 +0000 (23:05 -0400)]
Update GMO files

3 years agoctests: add test from #9043 which is fixedinmaster
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).

3 years agoReplace QFontMetrics::width() by horizontalAdvance() in Qt>=5.11
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.

3 years agoUpdate it.po
Enrico Forestieri [Sat, 24 Oct 2020 16:42:15 +0000 (18:42 +0200)]
Update it.po

3 years agoAmend 12557b09: Checking po-files (shortcut handling)
Kornel Benko [Sat, 24 Oct 2020 16:40:15 +0000 (18:40 +0200)]
Amend 12557b09: Checking po-files (shortcut handling)

3 years agoFix isSpace for docstring
Yuriy Skalko [Sat, 24 Oct 2020 08:03:36 +0000 (11:03 +0300)]
Fix isSpace for docstring

3 years agoChecking po-files (shortcut handling)
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)

3 years agoRevert da8b5de97 because of MSVC 2017.
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>.

3 years agoCMake: comment out c++20 for now
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.

3 years agoFix compilation on cygwin
Enrico Forestieri [Fri, 23 Oct 2020 12:59:54 +0000 (14:59 +0200)]
Fix compilation on cygwin

3 years agoAmend 39996524: Satisfy older cmake versions
Kornel Benko [Fri, 23 Oct 2020 11:25:49 +0000 (13:25 +0200)]
Amend 39996524: Satisfy older cmake versions

3 years agoUpdate sk.po
Kornel Benko [Fri, 23 Oct 2020 10:17:14 +0000 (12:17 +0200)]
Update sk.po

3 years agoUnify naming of menu items
Yuriy Skalko [Fri, 23 Oct 2020 06:24:53 +0000 (09:24 +0300)]
Unify naming of menu items

3 years agoAmend d954a6b0: use cxx-standard supported by cmake
Kornel Benko [Thu, 22 Oct 2020 16:53:53 +0000 (18:53 +0200)]
Amend d954a6b0: use cxx-standard supported by cmake

3 years agoCmake build: Next try to use of '--std=c++17' for gnu compiler"
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

3 years agoRevert "cmake build: Allow use of '--std=c++17' for gnu compiler"
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.

3 years agoUpdate ru.po
Yuriy Skalko [Thu, 22 Oct 2020 09:03:51 +0000 (12:03 +0300)]
Update ru.po

3 years agoRevert "Do not set language from keyboard in passthru setting"
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.

3 years agoRevert "Fix compilation mess in d94bd0726"
Jean-Marc Lasgouttes [Wed, 21 Oct 2020 16:50:10 +0000 (18:50 +0200)]
Revert "Fix compilation mess in d94bd0726"

This reverts commit abaf2e9bda86b74c4b29b6ead106026665f02a1b.

3 years agoFix compilation mess in d94bd0726
Jean-Marc Lasgouttes [Wed, 21 Oct 2020 16:37:00 +0000 (18:37 +0200)]
Fix compilation mess in d94bd0726

3 years agocmake build: Allow use of '--std=c++17' for gnu compiler
Kornel Benko [Wed, 21 Oct 2020 16:27:23 +0000 (18:27 +0200)]
cmake build: Allow use of '--std=c++17' for gnu compiler

3 years agoDo not set language from keyboard in passthru setting
Jean-Marc Lasgouttes [Wed, 21 Oct 2020 16:08:39 +0000 (18:08 +0200)]
Do not set language from keyboard in passthru setting

3 years agoMake master compilable again with older gcc.
Pavel Sanda [Tue, 20 Oct 2020 22:01:03 +0000 (00:01 +0200)]
Make master compilable again with older gcc.

3 years agoCMake deb: support "python2 | python3" dependency
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".

3 years agoClean includes using the output of iwyu tool
Yuriy Skalko [Tue, 20 Oct 2020 08:36:59 +0000 (11:36 +0300)]
Clean includes using the output of iwyu tool

3 years agoDocBook: Springer, complete test case without inclusion.
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.

3 years agoDocBook: Springer, more features implemented.
Thibaut Cuvelier [Mon, 19 Oct 2020 13:53:45 +0000 (15:53 +0200)]
DocBook: Springer, more features implemented.

3 years agoDocBook: fix file inclusion.
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).

3 years agoCMake deb: update python2 requirement
Scott Kostyshak [Mon, 19 Oct 2020 19:06:04 +0000 (15:06 -0400)]
CMake deb: update python2 requirement

Synchronize with README: >= 2.7.

3 years agoReduce includes in header files (2)
Yuriy Skalko [Mon, 19 Oct 2020 14:15:45 +0000 (17:15 +0300)]
Reduce includes in header files (2)

3 years agoRemove duplicate and unused header includes in .cpp files
Yuriy Skalko [Mon, 12 Oct 2020 12:30:07 +0000 (15:30 +0300)]
Remove duplicate and unused header includes in .cpp files

3 years agoReduce includes in header files
Yuriy Skalko [Mon, 19 Oct 2020 08:51:00 +0000 (11:51 +0300)]
Reduce includes in header files

3 years agoRemove redundant `const &` for primitive types
Yuriy Skalko [Fri, 16 Oct 2020 07:19:34 +0000 (10:19 +0300)]
Remove redundant `const &` for primitive types

3 years agoAmend 3a452a24: DocBook: disable an inverted test for a LyX bug.
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

3 years agoDocBook: implement svjour (still partial).
Thibaut Cuvelier [Sun, 18 Oct 2020 07:00:01 +0000 (09:00 +0200)]
DocBook: implement svjour (still partial).

3 years agoDocBook: generalise detection of "special cases" to check all insets of a paragraph.
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).

3 years agoDocBook: output inline equations in their own paragraph if they are the only inset...
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
};

3 years agoDocBook: disable an inverted test for a LyX bug.
Thibaut Cuvelier [Sun, 18 Oct 2020 05:59:54 +0000 (07:59 +0200)]
DocBook: disable an inverted test for a LyX bug.

3 years agoDocBook: dummy documents from the docs are not complete.
Thibaut Cuvelier [Sat, 17 Oct 2020 04:09:43 +0000 (06:09 +0200)]
DocBook: dummy documents from the docs are not complete.

3 years agoReset caret size when inserting text over a selection
Jean-Marc Lasgouttes [Sat, 17 Oct 2020 18:29:16 +0000 (20:29 +0200)]
Reset caret size when inserting text over a selection

3 years agoAmend 31ad4d6e: DocBook: move tests to inverted instead of ignored.
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

3 years agoDocBook: move tests to inverted instead of ignored.
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).

3 years agoTypo in CMakeLists
Thibaut Cuvelier [Sat, 17 Oct 2020 03:43:12 +0000 (05:43 +0200)]
Typo in CMakeLists

3 years agoUpdate tex2lyx tests after the format change
Scott Kostyshak [Sat, 17 Oct 2020 02:51:39 +0000 (22:51 -0400)]
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.

3 years agoRemove unused headers in output_xhtml.h
Yuriy Skalko [Fri, 16 Oct 2020 06:55:42 +0000 (09:55 +0300)]
Remove unused headers in output_xhtml.h

3 years agoClean math headers
Yuriy Skalko [Thu, 15 Oct 2020 09:00:48 +0000 (12:00 +0300)]
Clean math headers

3 years agoDocBook: implement APA.
Thibaut Cuvelier [Fri, 16 Oct 2020 17:12:37 +0000 (19:12 +0200)]
DocBook: implement APA.

3 years agoDocBook: mark test as not working.
Thibaut Cuvelier [Fri, 16 Oct 2020 16:59:23 +0000 (18:59 +0200)]
DocBook: mark test as not working.

3 years agoDocBook: make report output a book.
Thibaut Cuvelier [Fri, 16 Oct 2020 16:40:07 +0000 (18:40 +0200)]
DocBook: make report output a book.

Reports are allowed to have chapters, which implies that this must be a DocBook book.

3 years agoDocBook: fix an assertion/crash.
Thibaut Cuvelier [Fri, 16 Oct 2020 15:02:06 +0000 (17:02 +0200)]
DocBook: fix an assertion/crash.

3 years agoRevert "Enable to build with MinGW-W64"
Yuriy Skalko [Fri, 16 Oct 2020 05:17:12 +0000 (08:17 +0300)]
Revert "Enable to build with MinGW-W64"

This reverts commit ae5a8de6eaa0faf4b250b1ee99f7d5ac58197a0e.

3 years agoRevert "Enable optimizations"
Yuriy Skalko [Fri, 16 Oct 2020 05:17:04 +0000 (08:17 +0300)]
Revert "Enable optimizations"

This reverts commit b4cd7e9d320708187097ae701aaf1755b5a8b523.

3 years agoEnable optimizations
Yuriy Skalko [Fri, 5 Jun 2020 10:35:28 +0000 (13:35 +0300)]
Enable optimizations

3 years agoEnable to build with MinGW-W64
Yuriy Skalko [Wed, 27 May 2020 12:09:58 +0000 (15:09 +0300)]
Enable to build with MinGW-W64

3 years agoMove Author.h, Format.h from BufferParams.h
Yuriy Skalko [Thu, 15 Oct 2020 19:27:52 +0000 (22:27 +0300)]
Move Author.h, Format.h from BufferParams.h

3 years agoConst refactor
Yuriy Skalko [Thu, 15 Oct 2020 19:15:21 +0000 (22:15 +0300)]
Const refactor

3 years agoMove Cursor.h from TocWidget.h
Yuriy Skalko [Thu, 15 Oct 2020 18:09:21 +0000 (21:09 +0300)]
Move Cursor.h from TocWidget.h

3 years agoMove Cursor.h from Clipboard.h
Yuriy Skalko [Thu, 15 Oct 2020 06:59:01 +0000 (09:59 +0300)]
Move Cursor.h from Clipboard.h

3 years agoClean output_latex
Yuriy Skalko [Wed, 14 Oct 2020 21:51:07 +0000 (00:51 +0300)]
Clean output_latex

3 years agoClean Cursor and CursorSlice
Yuriy Skalko [Wed, 14 Oct 2020 21:45:04 +0000 (00:45 +0300)]
Clean Cursor and CursorSlice

3 years agoRemove CutAndPaste.h from Trans.cpp
Yuriy Skalko [Wed, 14 Oct 2020 21:25:55 +0000 (00:25 +0300)]
Remove CutAndPaste.h from Trans.cpp

3 years agoClean includes in TextMetrics.cpp
Yuriy Skalko [Wed, 14 Oct 2020 21:17:45 +0000 (00:17 +0300)]
Clean includes in TextMetrics.cpp

3 years agoClean includes in buffer_funcs.cpp
Yuriy Skalko [Wed, 14 Oct 2020 20:56:14 +0000 (23:56 +0300)]
Clean includes in buffer_funcs.cpp

3 years agoDocBook: MissingEndLayoutBetweenTables can't pass.
Thibaut Cuvelier [Fri, 16 Oct 2020 02:30:05 +0000 (04:30 +0200)]
DocBook: MissingEndLayoutBetweenTables can't pass.

3 years agoAmend 82ea3d6
Thibaut Cuvelier [Fri, 16 Oct 2020 02:29:50 +0000 (04:29 +0200)]
Amend 82ea3d6

Test was done on the wrong data structure: the title is almost the only element ending up in shouldBeInInfo, it is never inmustBeInInfo.

3 years agoMove Dimension.h from InsetIPA.h
Yuriy Skalko [Thu, 15 Oct 2020 07:04:32 +0000 (10:04 +0300)]
Move Dimension.h from InsetIPA.h

3 years agoMove BufferParams.h from Language.h
Yuriy Skalko [Wed, 14 Oct 2020 20:40:05 +0000 (23:40 +0300)]
Move BufferParams.h from Language.h

3 years agoRemove BufferParams.h from BiblioInfo.h
Yuriy Skalko [Wed, 14 Oct 2020 13:43:44 +0000 (16:43 +0300)]
Remove BufferParams.h from BiblioInfo.h

3 years agoAmend 0536193c: Remove requirement of revsymb4-1.sty.
Kornel Benko [Thu, 15 Oct 2020 10:16:30 +0000 (12:16 +0200)]
Amend 0536193c: Remove requirement of revsymb4-1.sty.

Fixes #12005, reported and indicated a fix by 'ert'

3 years agoCleanup CutAndPaste.cpp
Daniel Ramoeller [Sun, 11 Oct 2020 14:03:39 +0000 (16:03 +0200)]
Cleanup CutAndPaste.cpp

3 years agoFix linking problem by adding convert from string to unsigned long long.
Richard Kimberly Heck [Thu, 15 Oct 2020 02:28:10 +0000 (22:28 -0400)]
Fix linking problem by adding convert from string to unsigned long long.

3 years agoUG: add nopagebreak section
Pavel Sanda [Wed, 14 Oct 2020 20:24:13 +0000 (22:24 +0200)]
UG: add nopagebreak section

3 years agoMove <fstream> from support/gzstream.h
Pavel Sanda [Wed, 14 Oct 2020 13:12:48 +0000 (15:12 +0200)]
Move <fstream> from support/gzstream.h

3 years agoMove docstream.h from output_xhtml.h
Pavel Sanda [Wed, 14 Oct 2020 13:06:12 +0000 (15:06 +0200)]
Move docstream.h from output_xhtml.h

3 years agoMove MetricsInfo.h from InsetMathSize.h
Pavel Sanda [Wed, 14 Oct 2020 12:58:18 +0000 (14:58 +0200)]
Move MetricsInfo.h from InsetMathSize.h