]> git.lyx.org Git - lyx.git/log
lyx.git
3 years agoDo not reset font in preview inset
Juergen Spitzmueller [Wed, 2 Dec 2020 14:03:21 +0000 (15:03 +0100)]
Do not reset font in preview inset

3 years agoCapitalization fixes
Juergen Spitzmueller [Wed, 2 Dec 2020 13:52:51 +0000 (14:52 +0100)]
Capitalization fixes

3 years agode.po
Juergen Spitzmueller [Wed, 2 Dec 2020 13:52:24 +0000 (14:52 +0100)]
de.po

3 years agoAssure \par is output when needed with fontswitch
Juergen Spitzmueller [Wed, 2 Dec 2020 13:32:05 +0000 (14:32 +0100)]
Assure \par is output when needed with fontswitch

3 years agoExclude insets without output from fontswitch_insets
Juergen Spitzmueller [Wed, 2 Dec 2020 13:31:26 +0000 (14:31 +0100)]
Exclude insets without output from fontswitch_insets

3 years agoReduce top/bottom margin for Adv F&R workareas
Jean-Marc Lasgouttes [Tue, 1 Dec 2020 11:01:20 +0000 (12:01 +0100)]
Reduce top/bottom margin for Adv F&R workareas

3 years agoSimplify GuiWorkarea::Private constructor
Jean-Marc Lasgouttes [Tue, 1 Dec 2020 10:26:01 +0000 (11:26 +0100)]
Simplify GuiWorkarea::Private constructor

Also use the newly introduced platformName() for Qt4.

3 years agoBetter naming for enums
Yuriy Skalko [Mon, 30 Nov 2020 22:00:40 +0000 (00:00 +0200)]
Better naming for enums

3 years agoRefactor KernelDocType enum
Yuriy Skalko [Mon, 30 Nov 2020 20:46:46 +0000 (22:46 +0200)]
Refactor KernelDocType enum

3 years agoRefactor InsetQuotes.h enums
Yuriy Skalko [Mon, 30 Nov 2020 20:34:16 +0000 (22:34 +0200)]
Refactor InsetQuotes.h enums

3 years agoRemove useless breaks
Yuriy Skalko [Mon, 30 Nov 2020 16:06:12 +0000 (18:06 +0200)]
Remove useless breaks

3 years agoFix compilation on older gccs.
Pavel Sanda [Mon, 30 Nov 2020 11:21:56 +0000 (12:21 +0100)]
Fix compilation on older gccs.

3 years agoMove Inset.h include from .h to .cpp
Yuriy Skalko [Mon, 30 Nov 2020 09:21:53 +0000 (11:21 +0200)]
Move Inset.h include from .h to .cpp

3 years agoRefactor OutputParams
Yuriy Skalko [Sun, 29 Nov 2020 23:03:35 +0000 (01:03 +0200)]
Refactor OutputParams

Now all Inset hierarchy uses OutputParams.h included in Inset.h.
Forward declare some enums to reduce header dependencies.

3 years agoSimplify DocIterator
Yuriy Skalko [Fri, 27 Nov 2020 23:14:32 +0000 (01:14 +0200)]
Simplify DocIterator

3 years agoCleanup included headers
Yuriy Skalko [Fri, 27 Nov 2020 23:13:36 +0000 (01:13 +0200)]
Cleanup included headers

3 years agoFix compilation on cygwin
Enrico Forestieri [Mon, 30 Nov 2020 10:32:35 +0000 (11:32 +0100)]
Fix compilation on cygwin

3 years agoRevert "Amend 3093789e for cmake build"
Kornel Benko [Mon, 30 Nov 2020 09:17:40 +0000 (10:17 +0100)]
Revert "Amend 3093789e for cmake build"

This reverts commit b3d43404f4649e1a5539f1a819a07f8ae16fad7f.

3 years agoSimplify KeyModifier
Yuriy Skalko [Sun, 29 Nov 2020 08:19:58 +0000 (10:19 +0200)]
Simplify KeyModifier

3 years agoWininstaller2: small cosmetic bugfix
Eugene Chornyi [Mon, 30 Nov 2020 06:02:46 +0000 (07:02 +0100)]
Wininstaller2: small cosmetic bugfix

3 years agoDocBook: fix new-line behaviour of URLs.
Thibaut Cuvelier [Sun, 29 Nov 2020 00:44:13 +0000 (01:44 +0100)]
DocBook: fix new-line behaviour of URLs.

3 years agoDocBook: implement SciPoster.
Thibaut Cuvelier [Sun, 29 Nov 2020 00:15:37 +0000 (01:15 +0100)]
DocBook: implement SciPoster.

3 years agoDocBook: add layout parameters to control the special case and argument positioning.
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.

3 years agoDocBook: clean the special-case code.
Thibaut Cuvelier [Sat, 28 Nov 2020 19:48:43 +0000 (20:48 +0100)]
DocBook: clean the special-case code.

3 years agoautotools: use system boost by default
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.

3 years agoSmall fixes to extract.sh
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.

3 years agoctests: invert Econometrica + LuaTeX + TeX fonts
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.

3 years agoremove some useless things from 3rdparty/boost
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.

3 years agoRevert "Remove boost traces from configure.ac"
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.

3 years agoRevert "Remove 3rdparty/boost/Makefile.am"
Jean-Marc Lasgouttes [Sun, 29 Nov 2020 18:14:40 +0000 (19:14 +0100)]
Revert "Remove 3rdparty/boost/Makefile.am"

This reverts commit 125ed160d625368520074f2898c0487d30d46b98.

3 years agoRevert "Amend 125ed160, removing 3rdparty/boost/Makefile.am"
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.

3 years agoRemove boost traces from configure.ac
Kornel Benko [Sun, 29 Nov 2020 17:27:47 +0000 (18:27 +0100)]
Remove boost traces from configure.ac

3 years agoInclude standard <regex>
Yuriy Skalko [Sat, 28 Nov 2020 23:05:24 +0000 (01:05 +0200)]
Include standard <regex>

3 years agoAmend 125ed160, removing 3rdparty/boost/Makefile.am
Kornel Benko [Sun, 29 Nov 2020 09:43:35 +0000 (10:43 +0100)]
Amend 125ed160, removing 3rdparty/boost/Makefile.am

3 years agoRemove 3rdparty/boost/Makefile.am
Kornel Benko [Sun, 29 Nov 2020 09:22:16 +0000 (10:22 +0100)]
Remove 3rdparty/boost/Makefile.am

3 years agoAmend 3093789e for cmake build
Kornel Benko [Sun, 29 Nov 2020 09:04:54 +0000 (10:04 +0100)]
Amend 3093789e for cmake build

3 years agoUse correct std header
Yuriy Skalko [Sun, 29 Nov 2020 08:48:06 +0000 (10:48 +0200)]
Use correct std header

3 years agoCmake docbook5 tests: Use absolute path-hints for 'bibfiles' entries in lyx-file
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

3 years agoFix make dist
Jean-Marc Lasgouttes [Sat, 28 Nov 2020 22:43:06 +0000 (23:43 +0100)]
Fix make dist

3 years agoRemove unused Counters::copy
Yuriy Skalko [Fri, 27 Nov 2020 21:41:06 +0000 (23:41 +0200)]
Remove unused Counters::copy

3 years agoFix buffer over-read on last Unicode code points
Yuriy Skalko [Fri, 27 Nov 2020 21:22:35 +0000 (23:22 +0200)]
Fix buffer over-read on last Unicode code points

3 years agoMake InsetIterator compatible with range-based loops
Yuriy Skalko [Fri, 27 Nov 2020 18:10:52 +0000 (20:10 +0200)]
Make InsetIterator compatible with range-based loops

3 years agoCleanup included headers
Yuriy Skalko [Fri, 27 Nov 2020 18:00:29 +0000 (20:00 +0200)]
Cleanup included headers

3 years agoUse range-based loops
Yuriy Skalko [Fri, 27 Nov 2020 09:09:16 +0000 (11:09 +0200)]
Use range-based loops

3 years agoremove most traces of boost::regex
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).

3 years agoWininstaller2: refresh PATH before running configure
Eugene Chornyi [Sat, 28 Nov 2020 14:28:25 +0000 (15:28 +0100)]
Wininstaller2: refresh PATH before running configure

The script should find imagemagick

3 years agoWininstaller2: amend 9521834e
Eugene Chornyi [Sat, 28 Nov 2020 09:37:29 +0000 (10:37 +0100)]
Wininstaller2: amend 9521834e

3 years agoTypo.
Thibaut Cuvelier [Sat, 28 Nov 2020 04:31:23 +0000 (05:31 +0100)]
Typo.

3 years agoDocBook: ignore fonts in ERT.
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).

3 years agoDocBook: implement iopart.
Thibaut Cuvelier [Sat, 28 Nov 2020 04:08:58 +0000 (05:08 +0100)]
DocBook: implement iopart.

3 years agoDocBook: implement IEEEtran.
Thibaut Cuvelier [Sat, 28 Nov 2020 01:15:27 +0000 (02:15 +0100)]
DocBook: implement IEEEtran.

3 years agoDocBook: slightly change the Copernicus template to be valid DocBook.
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.

3 years agoDocBook: implement ectaart.
Thibaut Cuvelier [Sat, 28 Nov 2020 00:32:48 +0000 (01:32 +0100)]
DocBook: implement ectaart.

3 years agoDocBook: implement Copernicus.
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.

3 years agoDocBook: implement AEA and APA.
Thibaut Cuvelier [Fri, 27 Nov 2020 23:51:27 +0000 (00:51 +0100)]
DocBook: implement AEA and APA.

3 years agoDocBook: fix regression in floats.
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.

3 years agoDocBook: improve naming of test files.
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.

3 years agoamend bd9dce374976ef8d8f9be0140217c2d92b950c66
Thibaut Cuvelier [Fri, 27 Nov 2020 16:59:35 +0000 (17:59 +0100)]
amend bd9dce374976ef8d8f9be0140217c2d92b950c66

Fix warning, add a comment while I'm there

3 years agoAlways use std::regex
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.

3 years agoUpdate CMake for minimum GCC version: 4.9
Yuriy Skalko [Tue, 24 Nov 2020 22:00:28 +0000 (00:00 +0200)]
Update CMake for minimum GCC version: 4.9

3 years agoFix signed integer overflow on x = 0, detected by GCC sanitizer
Yuriy Skalko [Thu, 26 Nov 2020 21:01:18 +0000 (23:01 +0200)]
Fix signed integer overflow on x = 0, detected by GCC sanitizer

3 years agoReplace ;;
Yuriy Skalko [Thu, 26 Nov 2020 20:14:43 +0000 (22:14 +0200)]
Replace ;;

3 years agoUse iround function, amend c0ce79452f
Yuriy Skalko [Thu, 26 Nov 2020 20:10:45 +0000 (22:10 +0200)]
Use iround function, amend c0ce79452f

3 years agoConstify
Yuriy Skalko [Wed, 25 Nov 2020 23:11:07 +0000 (01:11 +0200)]
Constify

3 years agoUse to_string function
Yuriy Skalko [Wed, 25 Nov 2020 22:17:29 +0000 (00:17 +0200)]
Use to_string function

3 years agoMove several common types to support/types.h
Yuriy Skalko [Fri, 20 Nov 2020 22:06:05 +0000 (00:06 +0200)]
Move several common types to support/types.h

3 years agoRemove deprecated enum value with Qt5
Jean-Marc Lasgouttes [Thu, 26 Nov 2020 19:17:57 +0000 (20:17 +0100)]
Remove deprecated enum value with Qt5

3 years agoDocBook: bug fixes for JASA.
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).

3 years agoDocBook: AASTeX is still too complicated to be fully supported.
Thibaut Cuvelier [Fri, 27 Nov 2020 04:20:51 +0000 (05:20 +0100)]
DocBook: AASTeX is still too complicated to be fully supported.

3 years agoDocBook: for empty figures, output a message.
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.

3 years agoDocBook: in aa, fix acknowledgements.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:52:39 +0000 (04:52 +0100)]
DocBook: in aa, fix acknowledgements.

3 years agoDocBook: implement author for layouts that previously missed it.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:40:16 +0000 (04:40 +0100)]
DocBook: implement author for layouts that previously missed it.

3 years agoDocBook: implement subtitle 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.

3 years agoDocBook: implement title 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.

3 years agoDocBook: implement standard 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.

3 years agoDocBook: implement keywords 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.

3 years agoDocBook: implement IJMP C/D.
Thibaut Cuvelier [Fri, 27 Nov 2020 03:16:48 +0000 (04:16 +0100)]
DocBook: implement IJMP C/D.

3 years agoDocBook: fix appendices.
Thibaut Cuvelier [Fri, 27 Nov 2020 01:50:03 +0000 (02:50 +0100)]
DocBook: fix appendices.

3 years agoDocBook: implement iucr.
Thibaut Cuvelier [Fri, 27 Nov 2020 01:49:48 +0000 (02:49 +0100)]
DocBook: implement iucr.

3 years agoDocBook: deploy fix for acknowledgements.
Thibaut Cuvelier [Fri, 27 Nov 2020 00:56:14 +0000 (01:56 +0100)]
DocBook: deploy fix for acknowledgements.

3 years agoDocBook: implement Mathematical Monthly.
Thibaut Cuvelier [Fri, 27 Nov 2020 00:54:00 +0000 (01:54 +0100)]
DocBook: implement Mathematical Monthly.

3 years agoCmake tests: Save the number of ignored tests in file for later review
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

3 years agoamend dae064043682ea7dcf03899abaca067ee2245655
Thibaut Cuvelier [Thu, 26 Nov 2020 22:32:44 +0000 (23:32 +0100)]
amend dae064043682ea7dcf03899abaca067ee2245655

Fix a warning in the code.

3 years agoFix Clang warning about struct/class mismatch
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]

3 years agoctests: invert Greek LuaTeX texF tests
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.

3 years agoImprove some debug messages
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.

3 years agoCmake build: Use the same warning flags at in automake
Kornel Benko [Thu, 26 Nov 2020 10:04:48 +0000 (11:04 +0100)]
Cmake build: Use the same warning flags at in automake

3 years agoDocBook: make empty bibliographies empty.
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.

3 years agoDocBook: implement JASA.
Thibaut Cuvelier [Thu, 26 Nov 2020 05:49:53 +0000 (06:49 +0100)]
DocBook: implement JASA.

3 years agoDocBook: implement Kluwer.
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.

3 years agoDocBook: implement REVTeX.
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.

3 years agoUpdate ru/UserGuide.lyx
Yuriy Skalko [Sun, 22 Nov 2020 19:43:15 +0000 (21:43 +0200)]
Update ru/UserGuide.lyx

3 years agoFix warnings regarding switches on enum values
Yuriy Skalko [Wed, 25 Nov 2020 18:27:35 +0000 (20:27 +0200)]
Fix warnings regarding switches on enum values

3 years agoFix loop variable, amend d8e8a93a58
Yuriy Skalko [Wed, 25 Nov 2020 18:24:36 +0000 (20:24 +0200)]
Fix loop variable, amend d8e8a93a58

3 years agoBetter PNG detection in guessFormatFromContents
Yuriy Skalko [Wed, 25 Nov 2020 00:12:04 +0000 (02:12 +0200)]
Better PNG detection in guessFormatFromContents

3 years agoWininstaller2: auto select downloading dictionary of the same language as the UI...
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

3 years agoCatch exception if LaTeX fails for child preview
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.

3 years agoFix tex4ht odt converter
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.

3 years agoSimplify InsetQuotes constructors
Yuriy Skalko [Tue, 24 Nov 2020 20:42:06 +0000 (22:42 +0200)]
Simplify InsetQuotes constructors

3 years agoAdd default TransformID enum value
Yuriy Skalko [Tue, 24 Nov 2020 18:46:49 +0000 (20:46 +0200)]
Add default TransformID enum value