Jean-Marc Lasgouttes
2e784b2f06
Fixup e1be71da
: do not enforce plain layout when dissolving
...
Instead of checking whether the dissolved inset enforces plain layout,
it is better to check whether is uses plain layout.
Fixes #10369 .
2019-12-06 10:23:03 +01:00
Jean-Marc Lasgouttes
5ac3b88007
Disable inset-dissolve in table cells
...
This is better than making sure that the inset has exactly one cell.
In the future, inset-dissolve could be extended to dissolve all the
cells contents in the enclosing text.
Note that this check does not appear in mathed, and using dissolve in
e.g. fraction inset may lead to data loss (only current cell contents
is preserved).
2019-12-06 09:54:43 +01:00
Kornel Benko
9d0548e877
Cmake build: Try to find hunspell.hxx for linunx _and_ for OSX
2019-12-04 20:23:27 +01:00
Kornel Benko
201acf0279
Cmake build: Correct configuration if set LYX_BUNDLE=ON
...
Patch by Patrick (pdvisschere@edpnet.be )
Citing:
With some changes I could get it to work (patch included). One will also
have to define the locations of the Qt5-plugins and Qt5-libs folders
(`QT5_PLUGINS_DIR` and `QT5_LIBRARY_DIRS`).
Maybe not all plugins/imageformats are used/needed by lyx, but they are
all copied now, except for `_debug` versions which are excluded.
Starting with Qt-5.12 it seems not possible anymore (or at least not
easy) to link to the `_debug` versions of the qt5-frameworks (with
cmake). And installing them into the bundle also does not work. So right
now this is not a big loss.
2019-11-30 11:19:10 +01:00
Kornel Benko
8181c88c28
Cmake build: Copy & paste error
2019-11-29 14:47:27 +01:00
Kornel Benko
350a9daf56
Cmake build: Add LINK_LIBRARIES to check for HUNSPELL CXX ABI. Needed by XCode
...
The trick with faking the link command does not work with XCode
see: https://cmake.org/pipermail/cmake/2010-May/037132.html
Spotted by Patrick (pdvisschere@edpnet.be )
2019-11-29 13:49:02 +01:00
Kornel Benko
5e436ce9e5
Cmake build: Consider for cmake versions <= 3.12 while searching for python
...
This partially reverts d17dfe6f
2019-11-28 21:51:47 +01:00
Kornel Benko
d17dfe6fb2
Cmake build: Replace use of deprecated module PythonInterp
...
Use find_package(Pytnon2 ..) and find_package(Python3 ...) instead
Patch from Patrick (pdvisschere@edpnet.be )
2019-11-28 15:09:11 +01:00
Kornel Benko
9de4b9ab34
Cmake build: Remove unneeded hunspell path from configure test
...
Spotted by Patrick (pdvisschere@edpnet.be )
2019-11-28 14:31:26 +01:00
Kornel Benko
58ed976dd3
Cmake build: Install executables as programms
...
Patch from Patrick (pdvisschere@edpnet.be )
2019-11-27 15:05:44 +01:00
Pavel Sanda
88ff1686bc
typo
2019-11-21 17:13:47 +01:00
Pavel Sanda
ae16abf57a
Reduce number of strings (the same one in buffer).
2019-11-21 17:11:09 +01:00
Pavel Sanda
eb6cf2788e
Previous header change breaks postats script for web.
2019-11-21 15:35:42 +01:00
Juergen Spitzmueller
ed44bc9b12
Fix crash with polyglossia and intitle commands when lang_auto_end is false
2019-11-21 08:38:21 +01:00
Juergen Spitzmueller
772f2a2841
GuiSelectionManager: fix getSelectedIndex for availableLV
2019-11-20 14:07:05 +01:00
Juergen Spitzmueller
a426b33067
Fix issues with tilde in inputpath
...
Fixes #11699
2019-11-20 11:57:32 +01:00
Juergen Spitzmueller
e75fa6f3ac
Re-fix #11146 with recent LaTeX
2019-11-20 11:48:18 +01:00
Juergen Spitzmueller
a37c003448
Beamer loads amsmath
2019-11-20 09:38:16 +01:00
Juergen Spitzmueller
5d45c10fc7
Fix crash in selection manager
...
Patch by Patrick De Visschere
2019-11-19 13:47:32 +01:00
Juergen Spitzmueller
18dd597feb
Update text file
...
Use float alignment rather than par alignment
2019-11-19 13:45:35 +01:00
Juergen Spitzmueller
1a1adbc821
Handle paragraph direction switch in captions (with polyglossia/bidi)
2019-11-19 13:45:35 +01:00
Günter Milde
70bdbd3a57
ctest update.
...
Debian stable ships now TL18, we don't need to care for older TL versions.
Make CJK-ko documentation more robust (failed with non-TeX fonts and XeTeX,
if LatinModern is not installed system-wide).
The test sample for LyX bug 3059 triggers an error only with
"fontencoding auto-legacy" and can be safely ignored with non-TeX fonts.
2019-11-18 22:24:55 +01:00
Juergen Spitzmueller
967158c054
Always use local font switches in table cells.
2019-11-17 11:07:18 +01:00
Juergen Spitzmueller
34b629cc29
These languages are now also supported by polyglossia
...
Afrikaans, Belarusian, Bosnian, and Georgian
2019-11-17 08:08:33 +01:00
Jean-Marc Lasgouttes
49ed5b4626
Add a setBuffer method to InsetArgumentProxy
...
This is needed to set the buffer of default values of optional arguments.
Fixes bug #11695 .
2019-11-15 20:43:00 +01:00
Juergen Spitzmueller
400706ad05
Consider shorthand in biblatex cite display
...
Fixes #11696
2019-11-12 13:52:05 +01:00
Kornel Benko
c9c86b4966
Cmake build: Remove warnings about deprecated policy CMP0069
...
Deprecated since cmake version 3.16
(Now explicitly enable/disable interprocedural optimization
if supported and not debugging)
2019-11-09 16:56:16 +01:00
Kornel Benko
2f44d9b4fa
ctests: update supported-languages tests.
...
polyglossia changes in TL19 makes some tests
pass with lualatex again
2019-11-08 10:57:42 +01:00
Pavel Sanda
d6b108d8c3
Support C++98 again (gcc 4.8).
2019-11-06 15:54:27 +01:00
Jean-Marc Lasgouttes
2a2019d77e
Constify and un-constify
2019-11-06 10:36:21 +01:00
José Matos
668aa17ad7
Fix typo (thanks to Salvatore Falco for the fix).
2019-11-04 12:12:23 +00:00
Enrico Forestieri
fe0a926fd1
it.po: resolve shortcuts conflict
2019-11-02 18:19:02 +01:00
Enrico Forestieri
2d6c46cd33
Update it.po
2019-11-02 16:21:15 +01:00
Juergen Spitzmueller
6e810d9811
Another comment to languages
2019-11-01 11:58:58 +01:00
Juergen Spitzmueller
89257a33ab
Comments on soon-to-be supported polyglossia languages
2019-11-01 09:23:58 +01:00
Juergen Spitzmueller
f814d690e2
Some languages supported by polyglossia nowadays
2019-11-01 07:04:04 +01:00
Juergen Spitzmueller
e26f7b3732
he.po: update from Guy
2019-10-30 09:22:49 +01:00
Kornel Benko
3e5ef7f45f
Update sk.po
2019-10-27 10:04:27 +01:00
Jean-Marc Lasgouttes
69fca0df1a
Amend 464d6262
: Forgot these
2019-10-27 00:17:27 +02:00
Jean-Marc Lasgouttes
d9edf32b67
Remove some useless expressions
...
Spotted by cppcheck
2019-10-27 00:09:05 +02:00
Jean-Marc Lasgouttes
464d6262b1
Simplify boolean expressions
...
Spottd by cppcheck.
2019-10-27 00:08:02 +02:00
Jean-Marc Lasgouttes
c73d397d32
Do not use same name for members and arguments
...
Spotted by cppcheck.
2019-10-27 00:06:54 +02:00
Jean-Marc Lasgouttes
68c88bc427
Use unsigned values for enum
...
Otherwise 1 << 31 overflows.
Spotted by cppcheck.
2019-10-27 00:05:41 +02:00
Scott Kostyshak
75bbe37495
Improve tooltip of "Save as Document Defaults"
...
The new message is shorter and also specifies that these defaults
are for new documents.
2019-10-26 14:46:33 -04:00
Kornel Benko
cce9dfd5cd
Update sk.po
2019-10-26 11:17:57 +02:00
Juergen Spitzmueller
e3e407dde7
de.po
2019-10-26 09:26:05 +02:00
Juergen Spitzmueller
3c0e0f8a29
Polish warning
2019-10-26 09:10:40 +02:00
Juergen Spitzmueller
1c0572f1ab
Validate if graphics path is encodable
...
Fixes #11688
2019-10-26 08:33:51 +02:00
Jean-Marc Lasgouttes
067d6dc759
Mark insets with invalid buffer() in red in devel-mode.
...
We tend to have insets which buffer() member is invalid. To help
debugging, this commit paints their background in red when devel-mode
is on.
To this end, a new method develMode() is added to the Painter class.
With this commit, it is easy to see that macro template do not have a
proper buffer set!
2019-10-21 17:24:24 +02:00
Jean-Marc Lasgouttes
44816adce6
Be careful before using buffer parameters in colAlign
...
Make InsetGrid::colAlign a normal method and make it check whether
buffer is valid before using it. This avoids crashes as we have seen
in 2.3.3 (see e.g. #11686 ).
There is still an assertion so that failure is noticeable before release.
2019-10-21 17:02:39 +02:00