Commit Graph

41214 Commits

Author SHA1 Message Date
Juergen Spitzmueller
38ca174819 Fix crash 2019-12-26 16:36:25 +01:00
Juergen Spitzmueller
6ed3eb6833 Signify added/deleted apr break in ct output
Fixes #3159
2019-12-26 15:43:00 +01:00
Juergen Spitzmueller
dc174db6c1 Correctly handle deleted environments in ct
Fixes #10252
2019-12-26 15:24:48 +01:00
Juergen Spitzmueller
afb442c76c Correctly show merged paragraphs with change tracking
Fixes #3136
2019-12-26 13:47:50 +01:00
Juergen Spitzmueller
54e10dc1ad Fix assertion 2019-12-26 12:32:50 +01:00
Juergen Spitzmueller
d644ba0087 Do not output empty \item's or \commands with change tracking
unless "show in output" is selected.

Fixes #2861
2019-12-26 12:26:32 +01:00
Juergen Spitzmueller
90ae998287 Show modified text in merge changes dialog as far as possible
Fixes #1362
2019-12-26 11:17:09 +01:00
Juergen Spitzmueller
d914142969 Improve info in changes dialog 2019-12-26 08:01:37 +01:00
Juergen Spitzmueller
e5a9d09870 Mark deleted graphics in output
Fixes #11687
2019-12-26 07:15:37 +01:00
Juergen Spitzmueller
efa381f3d4 typo 2019-12-26 05:28:50 +01:00
Juergen Spitzmueller
a37301bb43 de.po 2019-12-26 05:28:50 +01:00
Kornel Benko
4a6efea9f3 Update sk.po 2019-12-25 11:57:19 +01:00
Juergen Spitzmueller
2d4948e107 Forgot this 2019-12-25 09:38:47 +01:00
Juergen Spitzmueller
0dbc3f759a Disable changebar checkbox if show changes in output is off 2019-12-24 18:43:22 +01:00
Juergen Spitzmueller
dc4823e759 Add native changebars
Fixes #10750
2019-12-24 18:12:22 +01:00
Juergen Spitzmueller
bab184e49e Merge branch 'master' of git.lyx.org:lyx 2019-12-24 18:09:34 +01:00
Juergen Spitzmueller
a08cbf41cf Provide way to add (optional) user initials
This makes it easier to hook the changes package into LyX's ct markup.
2019-12-24 14:31:08 +01:00
Kornel Benko
fc46e450c1 Update sk.po 2019-12-24 11:35:38 +01:00
Juergen Spitzmueller
c21139aefe de.po 2019-12-24 11:23:20 +01:00
Juergen Spitzmueller
0139bcf48f Clarify change text color descriptors
Addresses #11704
2019-12-24 08:37:27 +01:00
Kornel Benko
a5a8c6731c Make EmbeddedObjects.lyx compilable with lualatex/xelatex again
Comment from Jürgen Spitzmüller:
	As we didn't report makeindex errors until my commit yesterday(17 Dec 2019), this
	problem got unnoted (and the respective index entry was simply omitted).
2019-12-23 14:29:42 +01:00
Juergen Spitzmueller
00985cf2fa Don't hide qualified citation list individual pre- and posttexts on single.item references
See #11697
2019-12-22 14:02:21 +01:00
Günter Milde
81bcb04131 ctests: Babel-Belarus conflicts also with Macedonian.
The Belarus language support from Babel has some problematic definitions
that prevent its use together with Russian or Macedonean in one document.
2019-12-19 13:57:02 +01:00
Kornel Benko
3a29ba795d Cmake build: Select use of interprocedural optimization
New cmake-option to explicit select/deselect the IPO
2019-12-17 13:59:52 +01:00
Kornel Benko
86ba7409a4 Corrected comment (missed at a48eefad) 2019-12-16 12:12:19 +01:00
Kornel Benko
a48eefadc7 Cmake export tests: Suspend some Foils compilations with system fonts 2019-12-16 11:59:02 +01:00
Juergen Spitzmueller
f4472d6ab9 Plain xindy works for us only wirh the texindy module 2019-12-16 11:50:11 +01:00
Juergen Spitzmueller
b879821897 Pass proper input markup option to xindy with xetex/luatex
plain xindy also needs the latex input markup specified
2019-12-16 11:50:11 +01:00
Scott Kostyshak
79787c2274 Correct typo in method name getDescendants()
When used as an adjective, both variants "descendent" and
"descendant" are acceptable, but when used as a noun only
"descendant" should be used.

For a reference, see here:

https://en.wiktionary.org/wiki/descendent#Noun
2019-12-15 23:36:17 -05:00
Scott Kostyshak
989a49f377 Remove execute permission from two source files 2019-12-15 23:32:29 -05:00
Juergen Spitzmueller
51df967dbe de.po 2019-12-15 18:56:33 +01:00
Kornel Benko
f75d61cf0a Update sk.po 2019-12-15 14:06:51 +01:00
Kornel Benko
7b44280da4 Cmake tests: Make foreach() command robust
Cmake's foreach command includes forms
  foreach(<loop_var> IN LISTS <lists>)
  foreach(<loop_var> IN ITEMS <items>)
  foreach(<loop_var> RANGE ...)
We get the lines to be parsed by
  file(STRINGS "${filepath}" lines)
If in the parsed lyx-file there is a line
containing only the single word 'IN',  or 'RANGE', then
the command
  foreach(_l ${lines})
can create a syntax error (at least with cmake1.16)

In fact, in file pl_Additional.lyx:12913 happens to have
such a beast.
2019-12-15 13:59:33 +01:00
Juergen Spitzmueller
239dee34af Report makeindex/xindy errors
Fixes #2569
2019-12-15 13:48:21 +01:00
Juergen Spitzmueller
aa141bc293 Enhance support for Xindy
This adds the proper language module and codepage for languages supported
by Xindy
2019-12-15 12:01:59 +01:00
Juergen Spitzmueller
7ddec2affc Fix index entry 2019-12-14 17:12:39 +01:00
Kornel Benko
6259060dd3 If using GNU Global, ignore the created database 2019-12-14 13:42:06 +01:00
Juergen Spitzmueller
cb25603ae1 Set makeindex as index processor in the docs
Prevent that another processor (such as xindy) is used when set in prefs.

xindy does not play well with hyperref.

Fixes #11708
2019-12-14 09:48:33 +01:00
Kornel Benko
6c291b262a ctest: Change the check-sequence for a test
Really ignore test of export/export/latex/lyxbugs/wrong_output_3059-rtl-tables-xetex_pdf4_texF
before allowing all other pdf4_texF tests
2019-12-13 14:58:24 +01:00
Juergen Spitzmueller
4779d013ad fr/Modules/Braille: make this work with polyglossia
The usage of English here was a bad hack anyway.
2019-12-13 11:58:12 +01:00
Juergen Spitzmueller
7f21cfc24a Setup proper Arabic fonts in testfiles 2019-12-12 13:53:13 +01:00
Scott Kostyshak
f1accdebf3 Refresh previews on branch toggle
We only referesh previews if the branch that is toggled exists in a
descendant. This code could be further optimized, as noted in the
comments.

For relevant discussion, see the following ML thread:

https://www.mail-archive.com/search?l=mid&q=20191209022030.d6gyy3abdectr3yz%40tallinn
2019-12-11 11:48:56 -05:00
Scott Kostyshak
c61472303e Fix crash due to encoding issues with child doc
This crash occurred starting with 553bebc3, and can be triggered
when preview is enabled both in preferences and in a child document
inset. For a minimal example, see the following ML thread:

  https://www.mail-archive.com/search?l=mid&q=20191209002609.6fao3dljtf3ohl25%40tallinn

This fix restores behavior to before that commit for the case when
oldEnc is 0.
2019-12-10 09:17:49 -05:00
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