]>
git.lyx.org Git - lyx.git/log
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
Yuriy Skalko [Thu, 19 Nov 2020 12:03:26 +0000 (14:03 +0200)]
Use range-based loops
Jean-Marc Lasgouttes [Sat, 21 Nov 2020 18:13:29 +0000 (19:13 +0100)]
Typo and reformatting
Pavel Sanda [Sat, 21 Nov 2020 14:34:26 +0000 (15:34 +0100)]
Erase white frame in fullscreen mode.
Since Qt 5.9.4 one can't set negative margins unless explicitely
allowed by a new flag. This brought back the white frame in
fullscreen mode.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg214002.html
Yuriy Skalko [Thu, 19 Nov 2020 13:53:33 +0000 (15:53 +0200)]
Simplify Length
Yuriy Skalko [Thu, 19 Nov 2020 13:40:14 +0000 (15:40 +0200)]
Add more `override` specifiers
Yuriy Skalko [Thu, 19 Nov 2020 12:51:00 +0000 (14:51 +0200)]
Remove unused header
Thibaut Cuvelier [Fri, 20 Nov 2020 20:59:22 +0000 (21:59 +0100)]
amend
2c6537ff for C++11 compatibility
Thibaut Cuvelier [Wed, 18 Nov 2020 04:54:08 +0000 (05:54 +0100)]
DocBook: make InsetText respect tag types.
Thibaut Cuvelier [Wed, 18 Nov 2020 04:38:25 +0000 (05:38 +0100)]
XML: move higher-level tag-opening and closing functions to xml namespace.
Thibaut Cuvelier [Wed, 18 Nov 2020 04:29:26 +0000 (05:29 +0100)]
XML: add tag-type information in XML tags. It is not yet used.
Thibaut Cuvelier [Wed, 18 Nov 2020 03:34:58 +0000 (04:34 +0100)]
DocBook: InsetText supports items and wrappers.
Thibaut Cuvelier [Wed, 18 Nov 2020 00:51:05 +0000 (01:51 +0100)]
DocBook: ensure that <info>-related insets in the abstract are not generated in the abstract.
This helps generate more conformant DocBook files.
Also implement wrapper tags for InsetText.
Kornel Benko [Fri, 20 Nov 2020 15:32:51 +0000 (16:32 +0100)]
Missing '{'
Jean-Marc Lasgouttes [Fri, 20 Nov 2020 14:04:59 +0000 (15:04 +0100)]
Use range-based loops in GuiView
Yuriy Skalko [Tue, 17 Nov 2020 18:03:04 +0000 (20:03 +0200)]
Typo
Yuriy Skalko [Thu, 19 Nov 2020 11:24:04 +0000 (13:24 +0200)]
Simplify constructors
Jean-Marc Lasgouttes [Fri, 20 Nov 2020 13:38:06 +0000 (14:38 +0100)]
Revert "Limit the -Wall flag to C++ compiler"
Something is fishy, it breaks compilation.
This reverts commit
cbc9a901afd1783a30b4d76663208b0c13530a30 .
Jean-Marc Lasgouttes [Wed, 21 Oct 2020 16:08:39 +0000 (18:08 +0200)]
Do not set language from keyboard in passthru setting
Jean-Marc Lasgouttes [Fri, 20 Nov 2020 12:41:45 +0000 (13:41 +0100)]
Limit the -Wall flag to C++ compiler
This avoids tons of warning when compiling code, like libiconv, which is
not prepared to this kind of scrutiny of its code quality...
Jean-Marc Lasgouttes [Thu, 19 Nov 2020 12:40:26 +0000 (13:40 +0100)]
Fix compilation of included libiconv with autoconf
Jean-Marc Lasgouttes [Wed, 18 Nov 2020 15:41:19 +0000 (16:41 +0100)]
Do nothing if hunspell support is disabled
Eugene Chornyi [Wed, 18 Nov 2020 18:17:44 +0000 (19:17 +0100)]
CMake fix but where Perl not found on Windows
Jean-Marc Lasgouttes [Wed, 18 Nov 2020 09:15:05 +0000 (10:15 +0100)]
Fix screen display of parts and chapters in default classes
This has been done by reading the LaTeX sources (classes.dtx) to try
to get things right
* fix font sizes of chapters and parts. Note that the labels have
smaller size as the title itself.
* fix alignment of Part and put label on top
* add spacing between label and title.
Kornel Benko [Tue, 17 Nov 2020 22:07:01 +0000 (23:07 +0100)]
Automake build: We are using 3rdparty iconv with version 1.15
Jean-Marc Lasgouttes [Tue, 17 Nov 2020 16:47:22 +0000 (17:47 +0100)]
Take right margin into account for text inset width
This is particularly important for contents in RtL languages, where
the right margin may contain the paragraph indentation, or
itemize/enumeration symbols.
Fixes bug #12030.
Thibaut Cuvelier [Tue, 17 Nov 2020 02:58:39 +0000 (03:58 +0100)]
DocBook: fix indentation.
Scott Kostyshak [Mon, 16 Nov 2020 23:23:47 +0000 (18:23 -0500)]
ctests: uninvert an export that passes now
The export inputenc-luatex-utf8_pdf5_texF has been succeeding for a
while and was likely fixed by a TeX Live update. Compiling manually
and looking at the output looks good.
Thibaut Cuvelier [Mon, 16 Nov 2020 19:15:34 +0000 (20:15 +0100)]
DocBook: implement svglobal.
Yuriy Skalko [Mon, 16 Nov 2020 17:35:54 +0000 (19:35 +0200)]
Bump minimal GCC version to 4.9
Yuriy Skalko [Sun, 15 Nov 2020 20:22:47 +0000 (22:22 +0200)]
Remove old duplicated files, newer are in autotests/mathmacros
Kornel Benko [Mon, 16 Nov 2020 11:40:35 +0000 (12:40 +0100)]
Typo in message
Kornel Benko [Mon, 16 Nov 2020 11:22:33 +0000 (12:22 +0100)]
Cmake export tests: Use the temporary directory for checked results
This amends also
dbb72a37 (fix race condition for parallel testing)
Thanks Scott to pointing this out.
Thibaut Cuvelier [Mon, 16 Nov 2020 05:09:03 +0000 (06:09 +0100)]
DocBook: implement Elsevier.
Thibaut Cuvelier [Sun, 15 Nov 2020 23:08:11 +0000 (00:08 +0100)]
DocBook: do a little something for variable-width minipages.
Thibaut Cuvelier [Sun, 15 Nov 2020 22:54:23 +0000 (23:54 +0100)]
DocBook: do a little something for Sweave & co.
Scott Kostyshak [Sun, 15 Nov 2020 22:40:02 +0000 (17:40 -0500)]
ctests: fix race condition for parallel testing
The unicode tests would often fail when tested in parallel because
we were not exporting to unique file names. From what I understand,
a variant similar to the following race condition occurred:
1. Thread A exports to file blah.pdf.
2. Thread B exports to file blah.pdf.
3. Thread A confirms file blah.pdf exists.
4. Thread A deletes exported file blah.pdf to clean up.
5. Thread B fails to find file blah.pdf and reports a failure.
Thibaut Cuvelier [Sun, 15 Nov 2020 20:45:52 +0000 (21:45 +0100)]
DocBook: some features are not yet in the DocBook schema.
Yuriy Skalko [Sun, 15 Nov 2020 20:36:22 +0000 (22:36 +0200)]
Amend
9b1dc338b2 . Fix compilation in GCC 4.9
Thibaut Cuvelier [Sun, 15 Nov 2020 18:29:57 +0000 (19:29 +0100)]
DocBook: implement fancy color box.
Thibaut Cuvelier [Sun, 15 Nov 2020 18:04:21 +0000 (19:04 +0100)]
DocBook: specific fix for Localization_Test.lyx.
In one paragraph, there was both a float and a list of floats in a paragraph: the list of floats has no DocBook output, so that there should be no surrounding <para>.
Thibaut Cuvelier [Sun, 15 Nov 2020 17:43:14 +0000 (18:43 +0100)]
DocBook: fix for nomenclature xml:id and glossary paragraphs.
Previously, the xml:id's were not consistent among <glossterm> in the text and <glossentry> in the glossary.
Pavel Sanda [Sun, 15 Nov 2020 09:43:04 +0000 (10:43 +0100)]
Add Sam Crawley to credits.
Sam Crawley [Fri, 13 Nov 2020 07:58:20 +0000 (20:58 +1300)]
Added test for nested insets bug (#9395)
Sam Crawley [Fri, 13 Nov 2020 07:58:20 +0000 (20:58 +1300)]
Added tests for compare function
Runs the compare via the command line, and then compares the output to the
expected result. Required adding a script to do the comparison, so that
the timestamps on changes in the lyx file are ignored.
Sam Crawley [Fri, 13 Nov 2020 07:58:20 +0000 (20:58 +1300)]
Fix issue in running compare from the command line
Because Compare uses threads, we need to make sure it is finished when a
compare is executed from the command line. This was a problem for command
sequences, because the next command would start running before the compare
was done, and the buffer with differences was available.
So this commit adds the "run-blocking" parameter when using
LFUN_DIALOG_SHOW to run a Compare. When calling Compare with run-sync, the
LFUN will wait for the compare worker thread to finish before returning and
possibly running the next command.
Pavel Sanda [Sun, 15 Nov 2020 09:10:12 +0000 (10:10 +0100)]
Add Phil to credits
Scott Kostyshak [Sun, 15 Nov 2020 04:34:18 +0000 (23:34 -0500)]
Fix a comment
Without the comment prefix, these lines would be treated as regular
expressions.
Scott Kostyshak [Sun, 15 Nov 2020 04:20:53 +0000 (23:20 -0500)]
ctests: invert JSS tests which fail with new cls
The new JSS cls has been failing on an updated TeX Live 2020 for a
while, both with the template they provide and with LyX's template.
I expect this will be fixed eventually but for now it's best to
invert it as a "texissue".