]>
git.lyx.org Git - lyx.git/log
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
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.
Yuriy Skalko [Fri, 16 Oct 2020 06:55:42 +0000 (09:55 +0300)]
Remove unused headers in output_xhtml.h
Yuriy Skalko [Thu, 15 Oct 2020 09:00:48 +0000 (12:00 +0300)]
Clean math headers
Thibaut Cuvelier [Fri, 16 Oct 2020 17:12:37 +0000 (19:12 +0200)]
DocBook: implement APA.
Thibaut Cuvelier [Fri, 16 Oct 2020 16:59:23 +0000 (18:59 +0200)]
DocBook: mark test as not working.
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.
Thibaut Cuvelier [Fri, 16 Oct 2020 15:02:06 +0000 (17:02 +0200)]
DocBook: fix an assertion/crash.
Yuriy Skalko [Fri, 16 Oct 2020 05:17:12 +0000 (08:17 +0300)]
Revert "Enable to build with MinGW-W64"
This reverts commit
ae5a8de6eaa0faf4b250b1ee99f7d5ac58197a0e .
Yuriy Skalko [Fri, 16 Oct 2020 05:17:04 +0000 (08:17 +0300)]
Revert "Enable optimizations"
This reverts commit
b4cd7e9d320708187097ae701aaf1755b5a8b523 .
Yuriy Skalko [Fri, 5 Jun 2020 10:35:28 +0000 (13:35 +0300)]
Enable optimizations
Yuriy Skalko [Wed, 27 May 2020 12:09:58 +0000 (15:09 +0300)]
Enable to build with MinGW-W64
Yuriy Skalko [Thu, 15 Oct 2020 19:27:52 +0000 (22:27 +0300)]
Move Author.h, Format.h from BufferParams.h
Yuriy Skalko [Thu, 15 Oct 2020 19:15:21 +0000 (22:15 +0300)]
Const refactor
Yuriy Skalko [Thu, 15 Oct 2020 18:09:21 +0000 (21:09 +0300)]
Move Cursor.h from TocWidget.h
Yuriy Skalko [Thu, 15 Oct 2020 06:59:01 +0000 (09:59 +0300)]
Move Cursor.h from Clipboard.h
Yuriy Skalko [Wed, 14 Oct 2020 21:51:07 +0000 (00:51 +0300)]
Clean output_latex
Yuriy Skalko [Wed, 14 Oct 2020 21:45:04 +0000 (00:45 +0300)]
Clean Cursor and CursorSlice
Yuriy Skalko [Wed, 14 Oct 2020 21:25:55 +0000 (00:25 +0300)]
Remove CutAndPaste.h from Trans.cpp
Yuriy Skalko [Wed, 14 Oct 2020 21:17:45 +0000 (00:17 +0300)]
Clean includes in TextMetrics.cpp
Yuriy Skalko [Wed, 14 Oct 2020 20:56:14 +0000 (23:56 +0300)]
Clean includes in buffer_funcs.cpp
Thibaut Cuvelier [Fri, 16 Oct 2020 02:30:05 +0000 (04:30 +0200)]
DocBook: MissingEndLayoutBetweenTables can't pass.
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.
Yuriy Skalko [Thu, 15 Oct 2020 07:04:32 +0000 (10:04 +0300)]
Move Dimension.h from InsetIPA.h
Yuriy Skalko [Wed, 14 Oct 2020 20:40:05 +0000 (23:40 +0300)]
Move BufferParams.h from Language.h
Yuriy Skalko [Wed, 14 Oct 2020 13:43:44 +0000 (16:43 +0300)]
Remove BufferParams.h from BiblioInfo.h
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'
Daniel Ramoeller [Sun, 11 Oct 2020 14:03:39 +0000 (16:03 +0200)]
Cleanup CutAndPaste.cpp
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.
Pavel Sanda [Wed, 14 Oct 2020 20:24:13 +0000 (22:24 +0200)]
UG: add nopagebreak section
Pavel Sanda [Wed, 14 Oct 2020 13:12:48 +0000 (15:12 +0200)]
Move <fstream> from support/gzstream.h
Pavel Sanda [Wed, 14 Oct 2020 13:06:12 +0000 (15:06 +0200)]
Move docstream.h from output_xhtml.h
Pavel Sanda [Wed, 14 Oct 2020 12:58:18 +0000 (14:58 +0200)]
Move MetricsInfo.h from InsetMathSize.h
Pavel Sanda [Wed, 14 Oct 2020 12:48:41 +0000 (14:48 +0200)]
Move <QTimer> from TocWidget.h
Pavel Sanda [Wed, 14 Oct 2020 12:37:38 +0000 (14:37 +0200)]
Move <QTimer> from GuiViewSource.h
Pavel Sanda [Wed, 14 Oct 2020 12:35:29 +0000 (14:35 +0200)]
Move <QKeyEvent> from DockView.h
Pavel Sanda [Wed, 14 Oct 2020 12:28:47 +0000 (14:28 +0200)]
Move GuiView.h from DockView.h
Pavel Sanda [Wed, 14 Oct 2020 11:57:30 +0000 (13:57 +0200)]
<QCloseEvent> DialogView.h -> DialogView.cpp
Pavel Sanda [Wed, 14 Oct 2020 11:53:40 +0000 (13:53 +0200)]
include "GuiView.h": DialogView.h -> DialogView.cpp
Pavel Sanda [Wed, 14 Oct 2020 11:14:58 +0000 (13:14 +0200)]
<map> ParagraphMetrics.h -> TextMetrics.h
Pavel Sanda [Wed, 14 Oct 2020 11:01:30 +0000 (13:01 +0200)]
Move <algorithm> from DocIterator.h
Richard Kimberly Heck [Tue, 13 Oct 2020 23:51:10 +0000 (19:51 -0400)]
Fix bug #12002.
Patch from Daniel.
Richard Kimberly Heck [Tue, 13 Oct 2020 22:26:13 +0000 (18:26 -0400)]
Whitespace
Richard Kimberly Heck [Tue, 13 Oct 2020 21:24:36 +0000 (17:24 -0400)]
Fix signed-ness warnings
Pavel Sanda [Tue, 13 Oct 2020 20:10:04 +0000 (22:10 +0200)]
Remove obsolete script
Richard Kimberly Heck [Tue, 13 Oct 2020 21:18:00 +0000 (17:18 -0400)]
Fixed date
Richard Kimberly Heck [Mon, 12 Oct 2020 22:14:40 +0000 (18:14 -0400)]
Fix counter docs
Thibaut Cuvelier [Tue, 13 Oct 2020 01:20:24 +0000 (03:20 +0200)]
Fix filterXml4Sax.pl to work under Windows
Pavel Sanda [Tue, 13 Oct 2020 17:13:59 +0000 (19:13 +0200)]
Add inset for \nopagebreak.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg213388.html
Jean-Marc Lasgouttes [Tue, 13 Oct 2020 16:26:34 +0000 (18:26 +0200)]
Use -Wno-deprecated-copy only when supported by compiler
This is better than depending on compiler version. In particular,
Apple clang versions do not match regular clang versions.
Note that -Wno-deprecated-copy will always be used with g++, since
this compiler allows to suppress warnings it does not know about
(-Wno-zorg is valid, even though -Wzorg triggers an error).
Jean-Marc Lasgouttes [Thu, 1 Oct 2020 12:24:21 +0000 (14:24 +0200)]
Make cursor width depend on current font
This makes the cursor more visible wrt current font.
Moreover make the cursor width scalable by default.
Jean-Marc Lasgouttes [Tue, 13 Oct 2020 15:09:33 +0000 (17:09 +0200)]
Fix display of caret completion indicator
The zooming algorithm based on caret width was deeply flawed. It is
not replaced with a formula based on caret height.
Fixes bug #12000.
Kornel Benko [Tue, 13 Oct 2020 13:42:29 +0000 (15:42 +0200)]
Cmake tests: Amend
667c0647 : Use jing to test only docbook5 exports
Yuriy Skalko [Tue, 13 Oct 2020 06:40:24 +0000 (09:40 +0300)]
Remove unused forward declarations
Thibaut Cuvelier [Mon, 12 Oct 2020 22:33:05 +0000 (00:33 +0200)]
Fix typos in filetools.cpp.
Thibaut Cuvelier [Mon, 12 Oct 2020 17:26:37 +0000 (19:26 +0200)]
DocBook: documents must have a title.
Thibaut Cuvelier [Mon, 12 Oct 2020 17:21:58 +0000 (19:21 +0200)]
Fix compilation on Visual C++.
Without this patch, there would be errors like these (warnings turned into errors):
D:\LyX\lyx-unstable\src\frontends\qt\GuiView.cpp(2413): error C4101: 'e': unreferenced local variable
D:\LyX\lyx-unstable\src\frontends\qt\GuiView.cpp(4879): error C4101: 'ex': unreferenced local variable
Yuriy Skalko [Fri, 9 Oct 2020 20:27:50 +0000 (23:27 +0300)]
Add `override` in VCBackend
Yuriy Skalko [Fri, 9 Oct 2020 17:42:51 +0000 (20:42 +0300)]
Right exception rethrowing
Yuriy Skalko [Fri, 9 Oct 2020 15:50:24 +0000 (18:50 +0300)]
Constify
Richard Kimberly Heck [Sat, 10 Oct 2020 21:12:43 +0000 (17:12 -0400)]
Const
Richard Kimberly Heck [Sat, 10 Oct 2020 14:00:16 +0000 (10:00 -0400)]
Fix warning
Thibaut Cuvelier [Sat, 10 Oct 2020 20:18:16 +0000 (22:18 +0200)]
Amend
667c0647a564a18360f40299a2a1ddc0da0d2043
Consistent indentation, use of the latest schema everywhere, typo.
Kornel Benko [Sat, 10 Oct 2020 10:43:17 +0000 (12:43 +0200)]
Cmake docbook tests: Add jing.jar to test created docbook files
Usefull only if tested with data from repository.
This means: The file 'jing.jar' is not part of the distribution.
Yuriy Skalko [Wed, 7 Oct 2020 08:04:01 +0000 (11:04 +0300)]
Update Russian localization
Yuriy Skalko [Fri, 9 Oct 2020 06:04:20 +0000 (09:04 +0300)]
Loop refactoring
Richard Kimberly Heck [Fri, 9 Oct 2020 02:02:06 +0000 (22:02 -0400)]
Bind new template dialog to template shortcut (bug 11996).
From Daniel.
Richard Kimberly Heck [Wed, 7 Oct 2020 15:05:54 +0000 (11:05 -0400)]
Use 'delete' for unimplemented constructors.
Thanks Yuriy!
Kornel Benko [Wed, 7 Oct 2020 10:44:20 +0000 (12:44 +0200)]
distribute db_*.inc files
Missed if using docbook5 export
Thibaut Cuvelier [Wed, 7 Oct 2020 04:05:22 +0000 (06:05 +0200)]
DocBook: add DocBookInnerTag and family.
This allows old DocBook documents to be valid when output.
Thibaut Cuvelier [Wed, 7 Oct 2020 03:33:56 +0000 (05:33 +0200)]
DocBook: restore the old DocBook support.
Thibaut Cuvelier [Wed, 7 Oct 2020 03:03:24 +0000 (05:03 +0200)]
DocBook: update test cases.