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
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
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
Juergen Spitzmueller
0139bcf48f
Clarify change text color descriptors
...
Addresses #11704
2019-12-24 08:37:27 +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
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
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
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
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
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
5d45c10fc7
Fix crash in selection manager
...
Patch by Patrick De Visschere
2019-11-19 13:47:32 +01:00
Juergen Spitzmueller
1a1adbc821
Handle paragraph direction switch in captions (with polyglossia/bidi)
2019-11-19 13:45:35 +01:00
Juergen Spitzmueller
967158c054
Always use local font switches in table cells.
2019-11-17 11:07:18 +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
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
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
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
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
Jean-Marc Lasgouttes
19abf29ea0
Set buffer when expanding macro
...
This avoids a crash in InsetMathSplit which uses the buffer() value.
Fixes bug #11686 .
2019-10-20 12:54:59 +02:00
Jean-Marc Lasgouttes
58d22e0c6e
Keep last file positions in last-use ordering
...
Using a map would sort the elements in alphabetic ordering, which
means that when the number of elements is larger than 100, the wrong
elements get pruned.
This commit uses a list instead. Searching an item needs linear time,
but this should not be a problem for a list with less than 100
elements.
Fixes bug #10310 .
2019-10-20 12:37:27 +02:00