]>
git.lyx.org Git - lyx.git/log
Yuriy Skalko [Sun, 29 Nov 2020 08:19:58 +0000 (10:19 +0200)]
Simplify KeyModifier
Eugene Chornyi [Mon, 30 Nov 2020 06:02:46 +0000 (07:02 +0100)]
Wininstaller2: small cosmetic bugfix
Thibaut Cuvelier [Sun, 29 Nov 2020 00:44:13 +0000 (01:44 +0100)]
DocBook: fix new-line behaviour of URLs.
Thibaut Cuvelier [Sun, 29 Nov 2020 00:15:37 +0000 (01:15 +0100)]
DocBook: implement SciPoster.
Thibaut Cuvelier [Sat, 28 Nov 2020 21:43:00 +0000 (22:43 +0100)]
DocBook: add layout parameters to control the special case and argument positioning.
Only for flex insets.
Also add similar checks in InsetText to avoid bibliographies in paragraphs.
Thibaut Cuvelier [Sat, 28 Nov 2020 19:48:43 +0000 (20:48 +0100)]
DocBook: clean the special-case code.
Jean-Marc Lasgouttes [Sun, 29 Nov 2020 21:07:26 +0000 (22:07 +0100)]
autotools: use system boost by default
What is missing is a test to use bundled boost automatically when
system boost is missing. I am not sure this is required, though.
Jean-Marc Lasgouttes [Sun, 29 Nov 2020 20:40:22 +0000 (21:40 +0100)]
Small fixes to extract.sh
The libs/ directory is not relevant anymore.
Scott Kostyshak [Sun, 29 Nov 2020 19:19:29 +0000 (14:19 -0500)]
ctests: invert Econometrica + LuaTeX + TeX fonts
These exports are failing on an updated TeX Live 2020. It is not
high priority to look into the underlying cause of these two
failures since TeX fonts are not commonly used with LuaTeX and the
ectaart class is not in TeX Live.
Jean-Marc Lasgouttes [Sun, 29 Nov 2020 18:20:55 +0000 (19:20 +0100)]
remove some useless things from 3rdparty/boost
Remove
1/ the libs/ directory
2/ the CMakeList.txt file, since it only mentions this directory
3/ the cstdint.hpp file in extract.sh, since we do not use this header
file directly (should not make a difference, boost uses it in other
places).
Update boost/Makefile.am accordingly.
Jean-Marc Lasgouttes [Sun, 29 Nov 2020 18:20:58 +0000 (19:20 +0100)]
Revert "Remove boost traces from configure.ac"
This reverts commit
f899dee382712b67a30448a3a8334d3d9bcab411 .
Jean-Marc Lasgouttes [Sun, 29 Nov 2020 18:14:40 +0000 (19:14 +0100)]
Revert "Remove 3rdparty/boost/Makefile.am"
This reverts commit
125ed160d625368520074f2898c0487d30d46b98 .
Jean-Marc Lasgouttes [Sun, 29 Nov 2020 18:13:14 +0000 (19:13 +0100)]
Revert "Amend
125ed160 , removing 3rdparty/boost/Makefile.am"
This reverts commit
54ccd275f1c115da5ea279652421b018564f5c56 .
Kornel Benko [Sun, 29 Nov 2020 17:27:47 +0000 (18:27 +0100)]
Remove boost traces from configure.ac
Yuriy Skalko [Sat, 28 Nov 2020 23:05:24 +0000 (01:05 +0200)]
Include standard <regex>
Kornel Benko [Sun, 29 Nov 2020 09:43:35 +0000 (10:43 +0100)]
Amend
125ed160 , removing 3rdparty/boost/Makefile.am
Kornel Benko [Sun, 29 Nov 2020 09:22:16 +0000 (10:22 +0100)]
Remove 3rdparty/boost/Makefile.am
Kornel Benko [Sun, 29 Nov 2020 09:04:54 +0000 (10:04 +0100)]
Amend
3093789e for cmake build
Yuriy Skalko [Sun, 29 Nov 2020 08:48:06 +0000 (10:48 +0200)]
Use correct std header
Kornel Benko [Sun, 29 Nov 2020 07:48:16 +0000 (08:48 +0100)]
Cmake docbook5 tests: Use absolute path-hints for 'bibfiles' entries in lyx-file
Jean-Marc Lasgouttes [Sat, 28 Nov 2020 22:43:06 +0000 (23:43 +0100)]
Fix make dist
Yuriy Skalko [Fri, 27 Nov 2020 21:41:06 +0000 (23:41 +0200)]
Remove unused Counters::copy
Yuriy Skalko [Fri, 27 Nov 2020 21:22:35 +0000 (23:22 +0200)]
Fix buffer over-read on last Unicode code points
Yuriy Skalko [Fri, 27 Nov 2020 18:10:52 +0000 (20:10 +0200)]
Make InsetIterator compatible with range-based loops
Yuriy Skalko [Fri, 27 Nov 2020 18:00:29 +0000 (20:00 +0200)]
Cleanup included headers
Yuriy Skalko [Fri, 27 Nov 2020 09:09:16 +0000 (11:09 +0200)]
Use range-based loops
Jean-Marc Lasgouttes [Sat, 28 Nov 2020 17:26:56 +0000 (18:26 +0100)]
remove most traces of boost::regex
1/ remove boost regex code from 3rdparty/boost. Only the cmake stuff remains.
2/ remove traces of BOOST_LIB since there is no need anymore to
compile boost stuff.
3/ remove traces of boost regexp in config/lyxinclude.m4 and INSTALL
4/ require gcc 4.9 as minimal version in autoconf.
Unfortunately, the net gain is only 10% of included boost size (now 21M).
Eugene Chornyi [Sat, 28 Nov 2020 14:28:25 +0000 (15:28 +0100)]
Wininstaller2: refresh PATH before running configure
The script should find imagemagick
Eugene Chornyi [Sat, 28 Nov 2020 09:37:29 +0000 (10:37 +0100)]
Wininstaller2: amend
9521834e
Thibaut Cuvelier [Sat, 28 Nov 2020 04:31:23 +0000 (05:31 +0100)]
Typo.
Thibaut Cuvelier [Sat, 28 Nov 2020 04:15:34 +0000 (05:15 +0100)]
DocBook: ignore fonts in ERT.
Also, mark a Slides test as passing, because it is valid DocBook (but not really useful).
Thibaut Cuvelier [Sat, 28 Nov 2020 04:08:58 +0000 (05:08 +0100)]
DocBook: implement iopart.
Thibaut Cuvelier [Sat, 28 Nov 2020 01:15:27 +0000 (02:15 +0100)]
DocBook: implement IEEEtran.
Thibaut Cuvelier [Sat, 28 Nov 2020 01:13:19 +0000 (02:13 +0100)]
DocBook: slightly change the Copernicus template to be valid DocBook.
This is just adding an author instead of leaving the field blank.
Thibaut Cuvelier [Sat, 28 Nov 2020 00:32:48 +0000 (01:32 +0100)]
DocBook: implement ectaart.
Thibaut Cuvelier [Sat, 28 Nov 2020 00:23:22 +0000 (01:23 +0100)]
DocBook: implement Copernicus.
Includes a fix when wrappers are used with empty paragraphs. The logic is probably wrong if two legit wrapped paragraphs have one empty paragraph in the middle. This is only for slightly convoluted cases... Wrapping decisions should rather be taken for a series of paragraphs at once, but it would be more complex to implement and would only solve very peculiar cases like these ones.
Thibaut Cuvelier [Fri, 27 Nov 2020 23:51:27 +0000 (00:51 +0100)]
DocBook: implement AEA and APA.
Thibaut Cuvelier [Fri, 27 Nov 2020 22:44:48 +0000 (23:44 +0100)]
DocBook: fix regression in floats.
Also implement a valid filler for tables.
Thibaut Cuvelier [Fri, 27 Nov 2020 19:24:09 +0000 (20:24 +0100)]
DocBook: improve naming of test files.
First, the kind of issue that the file tests for. Then, its source, if it's been extracted from the rest of the test suite.
Thibaut Cuvelier [Fri, 27 Nov 2020 16:59:35 +0000 (17:59 +0100)]
amend
bd9dce374976ef8d8f9be0140217c2d92b950c66
Fix warning, add a comment while I'm there
Yuriy Skalko [Sat, 21 Nov 2020 18:11:23 +0000 (20:11 +0200)]
Always use std::regex
Since now minimum supported GCC is 4.9.
Yuriy Skalko [Tue, 24 Nov 2020 22:00:28 +0000 (00:00 +0200)]
Update CMake for minimum GCC version: 4.9
Yuriy Skalko [Thu, 26 Nov 2020 21:01:18 +0000 (23:01 +0200)]
Fix signed integer overflow on x = 0, detected by GCC sanitizer
Yuriy Skalko [Thu, 26 Nov 2020 20:14:43 +0000 (22:14 +0200)]
Replace ;;
Yuriy Skalko [Thu, 26 Nov 2020 20:10:45 +0000 (22:10 +0200)]
Use iround function, amend
c0ce79452f
Yuriy Skalko [Wed, 25 Nov 2020 23:11:07 +0000 (01:11 +0200)]
Constify
Yuriy Skalko [Wed, 25 Nov 2020 22:17:29 +0000 (00:17 +0200)]
Use to_string function
Yuriy Skalko [Fri, 20 Nov 2020 22:06:05 +0000 (00:06 +0200)]
Move several common types to support/types.h
Jean-Marc Lasgouttes [Thu, 26 Nov 2020 19:17:57 +0000 (20:17 +0100)]
Remove deprecated enum value with Qt5
Thibaut Cuvelier [Fri, 27 Nov 2020 04:53:46 +0000 (05:53 +0100)]
DocBook: bug fixes for JASA.
Includes more consistent behaviour for bibliographies in appendix (do the same as LyX shows the user, i.e. bibliography in appendix).
Thibaut Cuvelier [Fri, 27 Nov 2020 04:20:51 +0000 (05:20 +0100)]
DocBook: AASTeX is still too complicated to be fully supported.
Thibaut Cuvelier [Fri, 27 Nov 2020 04:19:27 +0000 (05:19 +0100)]
DocBook: for empty figures, output a message.
This ensures that this part of the DocBook file is valid.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:52:39 +0000 (04:52 +0100)]
DocBook: in aa, fix acknowledgements.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:40:16 +0000 (04:40 +0100)]
DocBook: implement author for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:35:54 +0000 (04:35 +0100)]
DocBook: implement subtitle for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:34:33 +0000 (04:34 +0100)]
DocBook: implement title for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:29:40 +0000 (04:29 +0100)]
DocBook: implement standard for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:26:31 +0000 (04:26 +0100)]
DocBook: implement keywords for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:16:48 +0000 (04:16 +0100)]
DocBook: implement IJMP C/D.
Thibaut Cuvelier [Fri, 27 Nov 2020 01:50:03 +0000 (02:50 +0100)]
DocBook: fix appendices.
Thibaut Cuvelier [Fri, 27 Nov 2020 01:49:48 +0000 (02:49 +0100)]
DocBook: implement iucr.
Thibaut Cuvelier [Fri, 27 Nov 2020 00:56:14 +0000 (01:56 +0100)]
DocBook: deploy fix for acknowledgements.
Thibaut Cuvelier [Fri, 27 Nov 2020 00:54:00 +0000 (01:54 +0100)]
DocBook: implement Mathematical Monthly.
Kornel Benko [Thu, 26 Nov 2020 23:49:03 +0000 (00:49 +0100)]
Cmake tests: Save the number of ignored tests in file for later review
Thibaut Cuvelier [Thu, 26 Nov 2020 22:32:44 +0000 (23:32 +0100)]
Scott Kostyshak [Thu, 26 Nov 2020 18:48:42 +0000 (13:48 -0500)]
Fix Clang warning about struct/class mismatch
CaretGeometry is defined as a struct, but was forward-declared as a
class. Now we forward-declare as a struct. This addresses the
following Clang warning (that does not appear with GCC):
src/frontends/CaretGeometry.h:27:1: warning: 'CaretGeometry' defined
as a struct here but previously declared as a class; this is valid,
but may result in linker errors under the Microsoft C++ ABI
[-Wmismatched-tags]
Scott Kostyshak [Thu, 26 Nov 2020 16:50:50 +0000 (11:50 -0500)]
ctests: invert Greek LuaTeX texF tests
These tests fail on TeX Live 2020 after a babel-greek update.
Jean-Marc Lasgouttes [Thu, 26 Nov 2020 10:04:33 +0000 (11:04 +0100)]
Improve some debug messages
The current code did not give much information.
I am not sure why the <<FontInfo operator is not defined in
FontInfo.h, but I figured that it was not necessary to understand that
now.
Kornel Benko [Thu, 26 Nov 2020 10:04:48 +0000 (11:04 +0100)]
Cmake build: Use the same warning flags at in automake
Thibaut Cuvelier [Thu, 26 Nov 2020 05:52:21 +0000 (06:52 +0100)]
DocBook: make empty bibliographies empty.
Even though this means that there is no output tag.
Thibaut Cuvelier [Thu, 26 Nov 2020 05:49:53 +0000 (06:49 +0100)]
DocBook: implement JASA.
Thibaut Cuvelier [Thu, 26 Nov 2020 05:40:39 +0000 (06:40 +0100)]
DocBook: implement Kluwer.
Includes an assertion fix that only occurred with this example.
Thibaut Cuvelier [Thu, 26 Nov 2020 05:22:27 +0000 (06:22 +0100)]
DocBook: implement REVTeX.
Improvements to abstract detection: it can now contain lists or anything with a higher depth.
Implement video floats.
Yuriy Skalko [Sun, 22 Nov 2020 19:43:15 +0000 (21:43 +0200)]
Update ru/UserGuide.lyx
Yuriy Skalko [Wed, 25 Nov 2020 18:27:35 +0000 (20:27 +0200)]
Fix warnings regarding switches on enum values
Yuriy Skalko [Wed, 25 Nov 2020 18:24:36 +0000 (20:24 +0200)]
Fix loop variable, amend
d8e8a93a58
Yuriy Skalko [Wed, 25 Nov 2020 00:12:04 +0000 (02:12 +0200)]
Better PNG detection in guessFormatFromContents
Eugene Chornyi [Wed, 25 Nov 2020 21:00:34 +0000 (22:00 +0100)]
Wininstaller2: auto select downloading dictionary of the same language as the UI of users Windows
include Russian and Portuguese languages by default
Scott Kostyshak [Wed, 25 Nov 2020 20:34:07 +0000 (15:34 -0500)]
Catch exception if LaTeX fails for child preview
The exception is raised when an included file fails to export
because e.g. it is from a newer version of LyX or because an
intermediate command such as knitr fails.
The exception was introduced at
1a374a93 so that the export of a
document exits with error if an included document exports with
error.
This commit catches the exception when the LaTeX is asked for in
order to generate a preview of the included file.
Juergen Spitzmueller [Wed, 25 Nov 2020 12:10:04 +0000 (13:10 +0100)]
Fix tex4ht odt converter
Private message by Michal Hoftich (tex4ht head developer):
oolatex is not recommended way to use Tex4ht for the ODT conversion.
It is better to use
make4ht -f odt mwe.tex
make4ht fixes some issues in ODT files
This is candidate for stable.
Yuriy Skalko [Tue, 24 Nov 2020 20:42:06 +0000 (22:42 +0200)]
Simplify InsetQuotes constructors
Yuriy Skalko [Tue, 24 Nov 2020 18:46:49 +0000 (20:46 +0200)]
Add default TransformID enum value
Yuriy Skalko [Tue, 24 Nov 2020 17:58:24 +0000 (19:58 +0200)]
Fix memory leak
Yuriy Skalko [Sun, 22 Nov 2020 22:23:39 +0000 (00:23 +0200)]
Cleanup headers
Richard Kimberly Heck [Tue, 24 Nov 2020 21:57:12 +0000 (16:57 -0500)]
Only set buffer if it is not null.
Yuriy found these specific problems. They do not cause a crash, but
they are not good.
Richard Kimberly Heck [Tue, 24 Nov 2020 21:58:07 +0000 (16:58 -0500)]
nullptr
Jean-Marc Lasgouttes [Tue, 24 Nov 2020 20:20:25 +0000 (21:20 +0100)]
Forgot this.
Jean-Marc Lasgouttes [Tue, 24 Nov 2020 17:35:25 +0000 (18:35 +0100)]
Rewrite (again!) the code for caret drawing
The caret geometry is now computed in BufferView as a list of shapes
(caret, horizontal l-shape if needed, completion triangle if needed)
kept in a variable of type CaretGeometry.
The code in WorkArea.cpp only has to draw these shapes. The
CaretWidget (which never was a widget) in GuiWorkArea.cpp is gone
now.
As a consequence, the bounding box for the cursor is known precisely
and therefore rows should be repainted correctly now. This avoids
caret droppings.
Fixes bug #12024.
Juergen Spitzmueller [Tue, 24 Nov 2020 14:19:56 +0000 (15:19 +0100)]
Do not \cprotect \textcolor
Fixes #12034
Kornel Benko [Mon, 23 Nov 2020 20:55:13 +0000 (21:55 +0100)]
Adv-Find: Add handling for \cdot (at least if using format-search
Scott Kostyshak [Mon, 23 Nov 2020 04:50:41 +0000 (23:50 -0500)]
ctests: ignore the new lt pdf4 texF test
This document is not meant to be used to test XeTeX with TeX fonts.
Günter Milde [Thu, 19 Nov 2020 23:14:05 +0000 (00:14 +0100)]
Fix lithuanian default font encoding and Xindy name.
FontEncoding L7x required for hyphenation but no longer set
by Babel (since 2017-12-06).
The PostBabelPreamble now sets L7x for Lithuanian, if it is defined
and restores the previous font encodng on exit.
Günter Milde [Thu, 19 Nov 2020 19:43:04 +0000 (20:43 +0100)]
ctests: some compilation errors fixed with last TeXLive update.
Change tag to "unreliable.varying_versions".
Yuriy Skalko [Sun, 22 Nov 2020 18:39:29 +0000 (20:39 +0200)]
Update links to spellchecking/thesaurus dictionaries in UserGuide
Jean-Marc Lasgouttes [Sat, 21 Nov 2020 19:00:26 +0000 (20:00 +0100)]
(almost) Proper fix for caret droppings
Try to find the most inner row that is overwritten by the caret. This
allows to replace the hack in TextMetrics::draw, which did not really
work.
Note that there are still issues with emphasized caret at the
beginning of inset, which will require some code reorganisation.
Fixes current recipe of bug #12024.
Jean-Marc Lasgouttes [Sat, 21 Nov 2020 18:42:23 +0000 (19:42 +0100)]
Compilation fix
Jean-Marc Lasgouttes [Sat, 21 Nov 2020 18:37:22 +0000 (19:37 +0100)]
Correct caret position from the start
Yuriy Skalko [Sat, 21 Nov 2020 14:27:13 +0000 (16:27 +0200)]
Use `std::any` when compiler supports C++17 or later
Yuriy Skalko [Sat, 21 Nov 2020 13:40:31 +0000 (15:40 +0200)]
Refactor checksum calculation
Yuriy Skalko [Sat, 21 Nov 2020 12:14:38 +0000 (14:14 +0200)]
Remove unused headers